id stringlengths 64 64 | content stringlengths 500 100k | language stringclasses 29
values | path stringlengths 4 333 | repo stringlengths 5 116 | license stringclasses 15
values | size int64 500 100k | lines int64 26 8.06k | source stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|
791158e7fde4c77c6941e256e714c04fbdeea7cfc458b890575326405326bc07 | package mx.com.cinepolis.digital.booking.commons.exception;
/**
* Clase con los códigos de errores para las excepciones
* @author rgarcia
*
*/
public enum DigitalBookingExceptionCode
{
/** Error desconocido */
GENERIC_UNKNOWN_ERROR(0),
/***
* CATALOG NULO
*/
CATALOG_ISNULL(1),
/**
* Paging R... | Java | digital-booking-commons/src/main/java/mx/com/cinepolis/digital/booking/commons/exception/DigitalBookingExceptionCode.java | sidlors/digital-booking | epl-1.0 | 7,190 | 283 | codeparrot/github-code |
6f4629abdca6e2ab721ee3bb99aeed79fa9e8617b50e4b7fb74a36277800188b | /******************************************************************************
* Copyright (c) 2000-2015 Ericsson Telecom AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is avail... | Java | org.eclipse.titan.designer/src/org/eclipse/titan/designer/AST/TTCN3/values/expressions/Hex2OctExpression.java | alovassy/titan.EclipsePlug-ins | epl-1.0 | 6,252 | 218 | codeparrot/github-code |
b99706a61bdf0689a9ec33dd7efa4cf5a9d4ff705ffa18a3af25f136127a1b8f | <?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="copyright" content="(C) Copyrigh... | HTML | sdk/GUID-78FB26E2-AA60-5531-B2FE-4FA6C88F2D47.html | warlordh/fork_Symbian | epl-1.0 | 14,484 | 320 | codeparrot/github-code |
347885dbad7b22c69ad0451df2e29c28da18bc576ac39a93e68bc13b1ec9107b | /*
* Copyright (c) 2013 Red Hat, Inc. and/or its affiliates.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
* ... | Java | windup_0_7/windup-engine/src/main/java/org/jboss/windup/interrogator/impl/XmlInterrogator.java | Maarc/windup-as-a-service | epl-1.0 | 3,422 | 117 | codeparrot/github-code |
a22009b22762614fb243dac917a8e14a497be7175ceb4e5beec199162bd028a9 | package de.uks.beast.editor.util;
public enum Fonts
{
//@formatter:off
HADOOP_MASTER_TITEL ("Arial", 10, true, true),
HADOOP_SLAVE_TITEL ("Arial", 10, true, true),
NETWORK_TITEL ("Arial", 10, true, true),
CONTROL_CENTER_TITEL ("Arial", 10, true, true),
HADOOP_MASTER_PROPERTY ("Arial", 8,... | Java | de.uks.beast.editor/src/de/uks/beast/editor/util/Fonts.java | fujaba/BeAST | epl-1.0 | 1,163 | 73 | codeparrot/github-code |
fa8dff4c79c6e95da193b7a6ded65878b083ff23bda41a387a35cd094df13044 | var page = require('webpage').create();
var url;
if (phantom.args) {
url = phantom.args[0];
} else {
url = require('system').args[1];
}
page.onConsoleMessage = function (message) {
console.log(message);
};
function exit(code) {
setTimeout(function(){ phantom.exit(code); }, 0);
phantom.onError = function(){... | JavaScript | env/test/js/unit-test.js | tmtwd/chess-om | epl-1.0 | 765 | 43 | codeparrot/github-code |
1007d734562bc0615a068a99feb8182de6aac0e701553884d065a66a812b0c8e | #include "genfft.h"
/**
* NAME: cc1fft
*
* DESCRIPTION: complex to complex FFT
*
* USAGE:
* void cc1fft(complex *data, int n, int sign)
*
* INPUT: - *data: complex 1D input vector
* - n: number of samples in input vector data
* - sign: sign of the Fourier kernel
*
* OUTP... | C | FFTlib/cc1fft.c | sun031/Jan | epl-1.0 | 3,110 | 116 | codeparrot/github-code |
25d70671434bcf7ff921d6da8f171736e400178b545c581a45d2898f1e22057d | #include "SimpleGameLogic.h"
#include "GameWorld.h"
#include "MonstersPlace.h"
void SimpleGameLogic::worldLoaded()
{
_physicsWorld = _world->getGameContent()->getPhysicsWorld();
_physicsWorld->setCollisionCallback(this);
_tank = static_cast<Tank*>(_world->getGameContent()->getObjectByName("Player"));
ControllerM... | C++ | Classes/SimpleGameLogic.cpp | cjsbox-xx/tanchiks | epl-1.0 | 3,968 | 145 | codeparrot/github-code |
997b40134aa46e1bbe271495eb6bda64759839d2e1f91809334d53e51582cbd2 | <?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="copyright" content="(C) Co... | HTML | sdk/GUID-52D2FA0B-F2BB-336B-AAA3-53BAAB9CDC7C.html | warlordh/fork_Symbian | epl-1.0 | 23,488 | 1,029 | codeparrot/github-code |
746416835c2438a94a71a34451f2bd1ca5bf8cc55589659bf086b9c3470dfc52 | /*
* Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org... | Java | bgp/linkstate/src/main/java/org/opendaylight/protocol/bgp/linkstate/nlri/TeLspNlriParser.java | inocybe/odl-bgpcep | epl-1.0 | 8,515 | 140 | codeparrot/github-code |
57af09cc9b3f52cd819b33b22cd114443da99d7c498696afc8e65fe25371bc12 | /**
*/
package WTSpec4M.presentation;
import org.eclipse.emf.common.ui.URIEditorInput;
import org.eclipse.emf.common.ui.action.WorkbenchWindowActionDelegate;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.edit.ui.action.LoadResourceAction;
import org.eclipse.emf.edit.ui.util.EditUIUtil;
import org.ec... | Java | MONDO-Collab/org.mondo.wt.cstudy.metamodel.online.editor/src/WTSpec4M/presentation/WTSpec4MEditorAdvisor.java | mondo-project/mondo-demo-wt | epl-1.0 | 14,965 | 468 | codeparrot/github-code |
6f066fcbdfda2b4e0e195ce94314f49f411fc982b8589e3716ffc586986580cc | <?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="copyright" content="(C) Co... | HTML | sdk/GUID-62CBFC38-38A4-3834-8B96-59E616A9FF18.html | warlordh/fork_Symbian | epl-1.0 | 21,326 | 938 | codeparrot/github-code |
3d78230e4fb1aa34c4418fd38105da0ba76ac704a6530943e5dd207f25871d62 | /*******************************************************************************
* Copyright (c) 2009 Andrey Loskutov.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at... | Java | AnyEditTools/src/de/loskutov/anyedit/actions/replace/ReplaceWithAction.java | iloveeclipse/anyedittools | epl-1.0 | 9,434 | 267 | codeparrot/github-code |
9486dc1510c91eede2e5ffa6cb455a04d2aba2782b6b92f5974dcecfbf852b08 | /*
* Copyright 2012 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Eclipse Public License version 1.0, available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.jboss.aesh.complete;
import org.jboss.aesh.console.AeshContext;
import org.jboss.aesh.parser.Parser;
import org.jboss.aesh.ter... | Java | src/main/java/org/jboss/aesh/complete/CompleteOperation.java | aslakknutsen/aesh | epl-1.0 | 7,365 | 254 | codeparrot/github-code |
2d034c9fa5ef815c1894be04d0a23592851d2f3416d1d0a2c8da52d74e3af335 | package mx.com.cinepolis.digital.booking.persistence.dao.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import javax.interceptor.Interceptors;
import javax.persistence.EntityManager;
import javax.persistence.Pe... | Java | digital-booking-persistence/src/main/java/mx/com/cinepolis/digital/booking/persistence/dao/impl/ScreenDAOImpl.java | sidlors/digital-booking | epl-1.0 | 12,054 | 386 | codeparrot/github-code |
751065f969f406255bba8120bbbcd797020f0849efb99bdececa359b8826c022 | /*******************************************************************************
* Copyright (c) 2010, 2012 Tasktop Technologies
* Copyright (c) 2010, 2011 SpringSource, a division of VMware
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Pu... | Java | com.tasktop.c2c.server/com.tasktop.c2c.server.profile.web.ui/src/main/java/com/tasktop/c2c/server/profile/web/ui/client/place/UserAccountPlace.java | Tasktop/code2cloud.server | epl-1.0 | 3,244 | 97 | codeparrot/github-code |
0578ef78f0f9cb6548fc42b537f931951705a2cd00da6a4487f966d73cf8acc2 | package com.openMap1.mapper.converters;
import java.util.Iterator;
import org.eclipse.emf.common.util.EList;
import org.w3c.dom.Attr;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import com.openMap1.mapper.ElementDef;
import com.openMap1.mapper.MappedStructure;
import com.openMap1.mapper.core.... | Java | openmap-mapper-lib/src/main/java/com/openMap1/mapper/converters/FACEWrapper.java | openmapsoftware/mappingtools | epl-1.0 | 11,744 | 322 | codeparrot/github-code |
79804284726f322d4be171cd6402abb5b7de94c0e8f5126d6b80d2aa5cc2682e | import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
public class FileLogger extends MyLoggerImpl {
private String fileName;
public FileLogger(String fileName) {
super();
this.fileName = fileName;
}
@Override
public void log(int level, String message) ... | Java | Candidacy/SimpleLogger/src/FileLogger.java | irin4eto/HackBulgaria_JavaScript | gpl-2.0 | 1,200 | 51 | codeparrot/github-code |
e40567e5aa5aa21ec279d31988dfb1b5e382161db8056125841d2cf37d6b9b23 | /**
* Created by Paul on 24/01/2015.
*/
var install_url = $("#install_url").val();
$("#updateCase").click(function () {
var case_id = $('#case_id').val();
var case_priority = $('#case_priority').val();
var case_status = $('#case_status').val();
var case_type = $('#case_type').val();
var assigne... | JavaScript | src/MyCrm/Modules/LibertaTickets/Js/edit_case.js | paulcoiffier/Mobissime-Liberta | gpl-2.0 | 1,698 | 50 | codeparrot/github-code |
c80b5fb8eb274da81667087bb36332397ee5f0b905f544a4d934a9db8ce56a2a | <?php /* Smarty version 2.6.14, created on 2010-01-28 11:39:35
compiled from CRM/Contact/Form/Search.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'ts', 'CRM/Contact/Form/Search.tpl', 19, false),)), $this); ?>
<?php $_s... | PHP | files/civicrm/templates_c/en_US/%%70^70A^70AFFDD6%%Search.tpl.php | zakiya/Peoples-History | gpl-2.0 | 4,792 | 74 | codeparrot/github-code |
710577c16901a6fda6a899d38cfb00408f91af38f9c363066892b7559f790625 | /**
* 项目名: java-code-tutorials-tools
* 包名: net.fantesy84.common.util
* 文件名: IPUtils.java
* Copy Right © 2015 Andronicus Ge
* 时间: 2015年11月9日
*/
package net.fantesy84.common.util;
import java.net.InetAddress;
import java.net.UnknownHostException;
import javax.servlet.http.HttpServletRequest;
import org.slf4j.Log... | Java | java-code-tutorials-tools/src/main/java/net/fantesy84/common/util/IPUtils.java | fantesy84/java-code-tutorials | gpl-2.0 | 2,693 | 99 | codeparrot/github-code |
91f72d80ff8ac7e08a0d46183ea1ca05df46bf7f05597f2046626feb494b7369 | /*
* This file contains pieces of the Linux TCP/IP stack needed for modular
* TOE support.
*
* Copyright (C) 2006-2009 Chelsio Communications. All rights reserved.
* See the corresponding files in the Linux tree for copyrights of the
* original Linux code a lot of this file is based on.
*
* Written by Dimitris... | C | PF_RING-5.6.2/drivers/PF_RING_aware/chelsio/cxgb3-2.0.0.1/src/t3_tom/module_support/module_support-tom-2.6.23.c | nal-epfl/line-sigcomm14 | gpl-2.0 | 5,114 | 195 | codeparrot/github-code |
7952660703520fcabd4b124dc5f3d48071d49d55a6182589190a1d4d1ad30a14 | /**
Copyright 2011 Red Hat, Inc.
This software is licensed to you under the GNU General Public
License as published by the Free Software Foundation; either version
2 of the License (GPLv2) or (at your option) any later version.
There is NO WARRANTY for this software, express or implied,
including the implied war... | JavaScript | src/public/javascripts/gpg_key.js | iNecas/katello | gpl-2.0 | 5,150 | 169 | codeparrot/github-code |
b78f699c08931d4595dc30d12bbac2c508ac619739e20590f95d9ce73e16499a | /* UnknownTypeException.java -- Thrown by an unknown type.
Copyright (C) 2012 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; ... | Java | javax/lang/model/type/UnknownTypeException.java | penberg/classpath | gpl-2.0 | 3,277 | 106 | codeparrot/github-code |
df68d443d235e2557968b3607b101bb3bf93e38e794a12e35fa102954ba46ac4 | /*
* Synopsys DesignWare I2C adapter driver (master only).
*
* Partly based on code of similar driver from U-Boot:
* Copyright (C) 2009 ST Micoelectronics
*
* and corresponding code from Linux Kernel
* Copyright (C) 2006 Texas Instruments.
* Copyright (C) 2007 MontaVista Software Inc.
* Copyright (... | C | drivers/i2c/busses/i2c-designware.c | masahir0y/barebox-yamada | gpl-2.0 | 15,486 | 620 | codeparrot/github-code |
af1c2e64e721b6b7808b903b4be3acd3bf6cb133914c0fe41dff45c8601df243 | /*---------------------------------------------------------------------------*\
## #### ###### |
## ## ## | Copyright: ICE Stroemungsfoschungs GmbH
## ## #### |
## ## ## | http://www.ice-sf.at
## #### ###### |
------------------------------------------------------... | C++ | Libraries/functionPlugins/swakFvcSchemesFunctionPlugin/fvcSpreadPluginFunction.H | Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder2.0-libraries-swak4Foam | gpl-2.0 | 3,532 | 122 | codeparrot/github-code |
a61c4372bc1639e221a75f6e01ac005e189c186c3c033812334b9cf5132778d8 | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsof... | C# | Shoot 'n Loot/Shoot 'n Loot/Shoot 'n Loot/Game1.cs | ShootnLootProgramerare/Shoot_n_Loot | gpl-2.0 | 3,813 | 112 | codeparrot/github-code |
ab6e26978f6d0e5ad265f37630041fa5c849f2c5610323cad745e842b1be7808 | /* Name: usbdrv.c
* Project: AVR USB driver
* Author: Christian Starkjohann
* Creation Date: 2004-12-29
* Tabsize: 4
* Copyright: (c) 2005 by OBJECTIVE DEVELOPMENT Software GmbH
* License: GNU GPL v2 (see License.txt) or proprietary (CommercialLicense.txt)
* This Revision: $Id: usbdrv.c,v 1.1.1.1 2008-01-22 20:2... | C | usbdrv/usbdrv.c | sambrista/9-buttons-arcade-controller | gpl-2.0 | 23,890 | 561 | codeparrot/github-code |
6d153b7c882270fc0652dd99704f092848d75a15fe888d256154cb13915994d3 | package com.citypark.api.task;
import com.citypark.api.parser.CityParkStartPaymentParser;
import android.content.Context;
import android.os.AsyncTask;
import android.text.format.Time;
public class StopPaymentTask extends AsyncTask<Void, Void, Boolean> {
private Context context;
private String sessionId;
private ... | Java | src/com/citypark/api/task/StopPaymentTask.java | kruzel/citypark-android | gpl-2.0 | 1,144 | 40 | codeparrot/github-code |
e072c721b5ebace1d0211e2e6e36a5e71e7bf3f8d636520251710e77059c36de | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | C++ | backends/platform/tizen/graphics.cpp | nemomobile-apps/scummvm | gpl-2.0 | 6,444 | 238 | codeparrot/github-code |
65a4c4883cad5157c0ab11a455df80631e8f23d8b9aa0ff10b755052848a2339 | # -*- coding: utf-8 -*-
"""
***************************************************************************
SplitRGBBands.py
---------------------
Date : August 2012
Copyright : (C) 2012 by Victor Olaya
Email : volayaf at gmail dot com
*************************... | Python | python/plugins/processing/saga/SplitRGBBands.py | camptocamp/QGIS | gpl-2.0 | 3,715 | 79 | codeparrot/github-code |
41b1e1e040b8e4d417eb937e90c420dc7e62a04d8dbf1e43ff9cd9d0676dca1d | # Copyright (C) 2016-2017 SUSE LLC
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in ... | Perl | lib/OpenQA/WebAPI/Plugin/AMQP.pm | mudler/openQA | gpl-2.0 | 6,591 | 200 | codeparrot/github-code |
87a48a8ba5579aa77a8330789f531f17f2ffb990a4a95c830d62f97254dcf161 | /*
* Copyright (C) 2005-2012 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
... | C | src/game/World.h | Remix99/MaNGOS | gpl-2.0 | 33,187 | 778 | codeparrot/github-code |
aea5da43321c4522b49b0f927a18721cacb16ebbb224705d5eecf19bb210cc81 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta name="categories" content="docking">
<meta name="profile" content="!Elements">
<meta name="product" content="Glide">
<title>Glide — Edit Feature Dialog Box</... | HTML | Schrodinger/Schrodinger_2012_docs/maestro/help_BioLuminate/glide/edit_feature.html | platinhom/ManualHom | gpl-2.0 | 8,573 | 240 | codeparrot/github-code |
fa47ae83fe33a681c77daf9d9fa5adf2986429c9f850126dbf3e59d5c188e64c | /***************************************************************************
FluxIntegral.cpp - Integrates Lx dx
L (x1, x2) = int^x2_x1 dx Lx
-------------------
begin : December 2006
copyright : (C) 2006 by Maurice Leutenegger
email : mauri... | C++ | FluxIntegral.cpp | mauriceleutenegger/windprofile | gpl-2.0 | 3,166 | 99 | codeparrot/github-code |
c55952857996a7ec55240d5a0ee7f275df2e670133281906d2bca6b9d3a9c57c | <?php session_start(); ?>
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
... | PHP | novo/about-us.php | somalitaekwondo/site | gpl-2.0 | 3,667 | 66 | codeparrot/github-code |
4c695bd5cdc5643d2ed3dae88cfc01a13d5336cd79adccc9c21e3213e1670a2d | <!DOCTYPE html>
<html class="">
<head>
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" href="/css/styles.css?0" media="all" />
<link rel="stylesheet" href="/css/demo.css?0" media="all" />
<!-- Begin Pattern Lab (Required for... | HTML | styleguide/patterns/00-elements-buttons-button-secondary-light/00-elements-buttons-button-secondary-light.html | aakb/genlydaarhus | gpl-2.0 | 3,319 | 98 | codeparrot/github-code |
aa3433d69e9cfa7b424f03017c5f106f69710a087c5b72ac3eb037739d72f4af | // _________ __ __
// / _____// |_____________ _/ |______ ____ __ __ ______
// \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
// / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ |
// /_______ /|__| |__| (____ /__| (____ /\___ /|____//... | C++ | src/ui/mainscr.cpp | Stratagus/Stratagus | gpl-2.0 | 33,991 | 1,210 | codeparrot/github-code |
f7b5d34da716af36eaf6285c955629f8e8a4e61e39d00015f6727850ec073aa7 | function isPrime(n) {
if (n === 2) {
return true;
}
if (n % 2 === 0 || n === 1) {
return false;
}
for (var i = 3; i <= Math.sqrt(n); i += 2) {
if (n % i === 0) {
return false;
}
}
return true;
}
function nthPrimeNumber(n) {
if (n <= 0) {
throw new Error('M... | JavaScript | pr7.js | pbjr23/project-euler-js | gpl-2.0 | 536 | 34 | codeparrot/github-code |
bf8539ed9b0ee709019aa7d99bc38a89ebfec98fd09e6d82d741caf439db1d9a | <?php
/**
* glFusion CMS
*
* UTF-8 Language File for Calendar Plugin
*
* @license GNU General Public License version 2 or later
* http://www.opensource.org/licenses/gpl-license.php
*
* Copyright (C) 2008-2018 by the following authors:
* Mark R. Evans mark AT glfusion DOT org
*
* Based on prior work Copyright ... | PHP | private/plugins/calendar/language/finnish_utf-8.php | glFusion/glfusion | gpl-2.0 | 9,137 | 241 | codeparrot/github-code |
53ad44ed612c3b4e344ae3df57da696b085a6b75253616f956d361c4d00f90ab | /*****************************************************************************
* xa.c : xa file demux module for vlc
*****************************************************************************
* Copyright (C) 2005 Rémi Denis-Courmont
* $Id$
*
* Authors: Rémi Denis-Courmont <rem # videolan.org>
*
* This progra... | C | modules/demux/xa.c | r1k/vlc | gpl-2.0 | 7,521 | 222 | codeparrot/github-code |
96a625dc01548d8707d20ba18cb04e49e5cc9d98227c9c51288a0fc0ec2fd9c2 | /*
* Copyright 2001-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... | C++ | openjdk/hotspot/src/share/vm/gc_implementation/g1/sparsePRT.hpp | TheTypoMaster/Scaper | gpl-2.0 | 9,597 | 290 | codeparrot/github-code |
a4df36b1c278d3fe152ceef949ab1f940737975197920abc29b1db4f3fafce5a | <?php
if ( !class_exists( 'RWMB_Field ' ) )
{
class RWMB_Field
{
/**
* Add actions
*
* @return void
*/
static function add_actions() {}
/**
* Enqueue scripts and styles
*
* @return void
*/
static function admin_enqueue_scripts() {}
/**
* Show field HTML
*
* @param array $f... | PHP | public/wp-content/plugins/meta-box-master/inc/field.php | marcosalm/digiwall | gpl-2.0 | 8,037 | 310 | codeparrot/github-code |
1485d8d32bf44707d717c6713bbafef36b763e10bf1df3c7131c403798b58bf8 | /***************************************************************************
ofxdump.cpp
-------------------
copyright : (C) 2002 by Benoit Grégoire
email : bock@step.polymtl.ca
*****************************************************... | C++ | libofx/libofx-0.8.2/ofxdump/ofxdump.cpp | tectronics/cashbox | gpl-2.0 | 18,770 | 443 | codeparrot/github-code |
5cd1e10856815d2ec2f43f2431bb78b8f1919a2b3f01d2cb80287739299ab834 | <?php
namespace Drupal\dct_user\EventSubscriber;
use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\Core\Session\AccountInterface;
use Drupal\Core\Url;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Reque... | PHP | docroot/modules/custom/dct_user/src/EventSubscriber/NotAuthenticatedEventSubscriber.php | drupaltransylvania/drupal-camp | gpl-2.0 | 2,780 | 95 | codeparrot/github-code |
9f83928d4fac3e03de5851cdc6ec5eeb96869d1d1361d68230e777b57615ad13 | using System;
using Server.Engines.Craft;
namespace Server.Items
{
[Alterable(typeof(DefBlacksmithy), typeof(DualShortAxes))]
[FlipableAttribute(0x1443, 0x1442)]
public class TwoHandedAxe : BaseAxe
{
[Constructable]
public TwoHandedAxe()
: base(0x1443)
{
... | C# | Scripts/Items/Equipment/Weapons/TwoHandedAxe.cs | kevin-10/ServUO | gpl-2.0 | 2,045 | 101 | codeparrot/github-code |
b2a97d585f1b61fbf9bc158553bb494114efe48c7da926b7f4e8c378264dac47 | #include <string.h>
#include <stdlib.h>
#include "libterm.h"
#include "cursor.h"
#include "screen.h"
#include "bitarr.h"
int cursor_visibility(int tid, int sid, char visibility) {
if(SCR(tid, sid).curs_invisible != !visibility) {
SCR(tid, sid).curs_invisible = !visibility;
if(!record_update(tid, sid, visibility... | C | src/cursor.c | atrigent/libterm | gpl-2.0 | 3,083 | 135 | codeparrot/github-code |
22b96a719e9c0dd35a363be14b2e50ca581fb38270d473eec7c9792de02853dd | # Find the native LLVM includes and libraries
#
# Defines the following variables
# LLVM_INCLUDE_DIR - where to find llvm include files
# LLVM_LIBRARY_DIR - where to find llvm libs
# LLVM_CFLAGS - llvm compiler flags
# LLVM_LFLAGS - llvm linker flags
# LLVM_MODULE_LIBS - list of llvm libs for working wit... | CMake | cmake/FindLLVM.cmake | nicolas17/my-clang-tools | gpl-2.0 | 4,150 | 110 | codeparrot/github-code |
4a979fb3944fc5eabbc0b251ac5d9afaa3b621114c1380bbefa13c9c0128e5b7 | /*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* Implementation of the Transmission Control Protocol(TCP).
*
* Authors: Ross Biro
* Fred N. van Kempen, <wa... | C | net/ipv4/tcp_output.c | ShogoFujii/PS-MPTCP | gpl-2.0 | 99,138 | 3,356 | codeparrot/github-code |
30a127d144ac0b43df9c861f5a13f9e0ffce1bd282c61154f2b00982a1984d13 | /* Copyright (C) 2005-2006 Jean-Marc Valin
File: fftwrap.c
Wrapper for various FFTs
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above copyright
... | C | src/libuolfone/wengophone-ng/current/wifo/phapi/speex/libspeex/fftwrap.c | gabrieldelsaint/uol-messenger | gpl-2.0 | 7,664 | 316 | codeparrot/github-code |
b959147d1f65ff14c24f971deff27f85c04dbde7f3cbddb24661722946632aa4 | #!/usr/bin/python2.3
# This is the short name of the plugin, used as the menu item
# for the plugin.
# If not specified, the name of the file will be used.
shortname = "Moment Curve layout (Cohen et al. 1995)"
# This is the long name of the plugin, used as the menu note
# for the plugin.
# If not specified, the short ... | Python | plugins/moment_curve.py | ulethHCI/GLuskap | gpl-2.0 | 3,644 | 121 | codeparrot/github-code |
ba4dbb4da5477179acc06d3159aad875e094344cf31032b991575845c92f04c9 | //
// This file is part of Gambit
// Copyright (c) 1994-2016, The Gambit Project (http://www.gambit-project.org)
//
// FILE: src/libgambit/dvector.h
// Doubly-partitioned vector class
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as pu... | C | library/include/gambit/dvector.h | robert-7/gambit | gpl-2.0 | 2,312 | 80 | codeparrot/github-code |
d99355b67b4b74db47938d28a6f3257d707f3e0794a49b7a312b8e32e5424fd1 | /**
********************************************************************************
\file ctrlkcal.h
\brief Definitions for kernel ctrl CAL module
This file contains the definitions for the kernel ctrl CAL module.
*******************************************************************************/
/*---------------... | C | stack/include/kernel/ctrlkcal.h | SylvainLesne/openPOWERLINK_V2 | gpl-2.0 | 3,399 | 80 | codeparrot/github-code |
242d31e0c5c193e27a71456c6952ba1b6225aea5287f4f6a8b541ef13a2e6ab0 | /*
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* Copyright (C) 2008-2010 Trinity <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either vers... | C++ | src/game/SpellAuras.cpp | Muglackh/cejkaz-tc | gpl-2.0 | 65,021 | 1,656 | codeparrot/github-code |
b30b81918a5fd703ba1df75003e60189c4d978767fa0b66c2ccf65fa42916c21 | /* SPDX-License-Identifier: LGPL-2.1-or-later */
#include "errno-util.h"
#include "format-table.h"
#include "hexdecoct.h"
#include "homectl-pkcs11.h"
#include "libcrypt-util.h"
#include "memory-util.h"
#include "openssl-util.h"
#include "pkcs11-util.h"
#include "random-util.h"
#include "strv.h"
struct pkcs11_callback... | C | src/home/homectl-pkcs11.c | endlessm/systemd | gpl-2.0 | 16,567 | 478 | codeparrot/github-code |
59264fac8f5b5189b92a7dcfed1f23afc928507cbd7c4f8a54736193cf9f0663 | using OpenDBDiff.Abstractions.Schema;
using OpenDBDiff.Abstractions.Schema.Model;
using System;
using System.Linq;
namespace OpenDBDiff.SqlServer.Schema.Model
{
public class Columns<T> : SchemaList<Column, T> where T : ISchemaBase
{
public Columns(T parent) : base(parent)
{
}
/... | C# | OpenDBDiff.SqlServer.Schema/Model/Columns.cs | OpenDBDiff/OpenDBDiff | gpl-2.0 | 4,997 | 115 | codeparrot/github-code |
cafc459e1cd1bb554c8ae5d9c167f4b4ea2a7d659a1240b7be6ee4b199bda604 | // license:BSD-3-Clause
// copyright-holders:Curt Coder
/**********************************************************************
Kempston Disk Interface emulation
**********************************************************************/
#include "kempston_di.h"
//*************************************************... | C++ | src/devices/bus/ql/kempston_di.cpp | GiuseppeGorgoglione/mame | gpl-2.0 | 2,486 | 84 | codeparrot/github-code |
93f3461020b510eb5fdbe74beae50c34d60075c4eebcd3555ad95b6e1fa9c242 | ////////////////////////////////////////////////////////////////////////////////
//
// Copyright 2016 RWS Inc, All Rights Reserved
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of version 2 of the GNU General Public License as published by
// the Free Software Foundati... | C++ | fire.cpp | PixelDevLabs/Ezia-Cleaner_Build-934afd57b26a | gpl-2.0 | 29,776 | 912 | codeparrot/github-code |
a09ce18d4d58c10395f7576f123ce8328d4de8b063e96e14de58d44780799c54 | /* $Id: elsa_ser.c,v 1.1.1.1 2011/08/19 02:08:59 ronald Exp $
*
* stuff for the serial modem on ELSA cards
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated herein by reference.
*
*/
#include <linux/serial.h>
#include <linux/serial_reg.h>
#inc... | C | drivers/isdn/hisax/elsa_ser.c | embeddedarm/linux-2.6.35-ts4800 | gpl-2.0 | 17,033 | 660 | codeparrot/github-code |
7e53968bdbce2c1b785b1401bb10d3d77b2aa4b11ed00c9f31aed064f03d0b13 | <?php
namespace Themosis\Core\Console;
use Illuminate\Console\Command;
use Illuminate\Console\ConfirmableTrait;
use Illuminate\Encryption\Encrypter;
class KeyGenerateCommand extends Command
{
use ConfirmableTrait;
/**
* Name and signature of the console command.
*
* @var string
*/
pr... | PHP | src/Core/Console/KeyGenerateCommand.php | themosis/framework | gpl-2.0 | 2,827 | 113 | codeparrot/github-code |
8f180a26d98d30d23a8196879ba001b0fa67f091b3b5c924791754efffe7a37b | #!/bin/sh -e
# Glen Pitt-Pladdy (ISC)
. ./functions.sh
depends_SLES() {
echo >/dev/null
}
depends_RHEL() {
[ -x /usr/bin/expect ] || yum install -y expect
}
trakapacheconf_SLES() {
CONFDIR=/etc/apache2/conf.d
CONF=$CONFDIR/t2016-$TRAKNS.conf
echo $CONF
}
trakapacheconf_RHEL() {
CONFDIR=/etc/httpd/conf.d
CONF=... | Shell | trakautomation/do_TrakVanillaT2015_Install.sh | casep/isc_coding | gpl-2.0 | 4,563 | 146 | codeparrot/github-code |
90ba9a21971edf7b343807625c438c1977cf147e2777500b482fec5d7263993e | /**
* AshtavargaChartData.java
* Created On 2006, Mar 31, 2006 5:12:23 PM
* @author E. Rajasekar
*/
package app.astrosoft.beans;
import java.util.EnumMap;
import app.astrosoft.consts.AshtavargaName;
import app.astrosoft.consts.AstrosoftTableColumn;
import app.astrosoft.consts.Rasi;
import app.astrosoft.core.Asht... | Java | src/app/astrosoft/beans/AshtaVargaChartData.java | erajasekar/Astrosoft | gpl-2.0 | 2,069 | 101 | codeparrot/github-code |
a1686266ebd10b9870bb652cf70a818b95350a876bcb4e7dbce254e45713281b | package org.scada_lts.dao.model.multichangehistory;
import java.util.Objects;
/**
* @author grzegorz.bylica@abilit.eu on 16.10.2019
*/
public class MultiChangeHistoryValues {
private int id;
private int userId;
private String userName;
private String viewAndCmpIdentyfication;
private String in... | Java | src/org/scada_lts/dao/model/multichangehistory/MultiChangeHistoryValues.java | SCADA-LTS/Scada-LTS | gpl-2.0 | 3,725 | 141 | codeparrot/github-code |
c20696aac8682493b8e4b9e10273e6bc33f842abd0dce3978528cc02481b5bcb | <?php
/**
V4.50 6 July 2004 (c) 2000-2004 John Lim (jlim@natsoft.com.my). All rights reserved.
Released under both BSD license and Lesser GPL library license.
Whenever there is any discrepancy between the two licenses,
the BSD license will take precedence.
Set tabs to 4 for best viewing.
*/
// securi... | PHP | lib/acl/adodb/datadict/datadict-ibase.inc.php | freemed/freemed-0.8.x | gpl-2.0 | 1,369 | 67 | codeparrot/github-code |
188639abdf4f4006c8b74a0e658fc642b2304b976af9baecf0bb5063085cf354 | # -*- coding: utf-8 -*-
# ..#######.########.#######.##....#..######..######.########....###...########.#######.########..######.
# .##.....#.##.....#.##......###...#.##....#.##....#.##.....#...##.##..##.....#.##......##.....#.##....##
# .##.....#.##.....#.##......####..#.##......##......##.....#..##...##.##.....#.... | Python | script.module.openscrapers/lib/openscrapers/sources_openscrapers/en/coolmoviezone.py | repotvsupertuga/tvsupertuga.repository | gpl-2.0 | 2,749 | 65 | codeparrot/github-code |
419a179d28e9bcb8f396b7005902d8643a91aab4f5d37f467ff73f1a1a43eedf | /*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License");
* you may not use... | Java | nalb2013/src/org/apache/fontbox/cff/charset/CFFExpertCharset.java | sencko/NALB | gpl-2.0 | 8,359 | 204 | codeparrot/github-code |
1550a08a35a1fae47e6b986a63944c5d2e51311b9720747ace7bae3b08711446 | /*
* Copyright (C) 2014-2017 StormCore
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is dis... | C | src/server/game/Entities/Totem/Totem.h | Ragebones/StormCore | gpl-2.0 | 2,197 | 60 | codeparrot/github-code |
8dc152d87a4040022a16358abdc0b136d7dc7b22737267fdacc2b9d9995d4ef9 | #!/usr/bin/perl -w
#
# This script generates a C header file that maps the target device (as
# indicated via the sdcc generated -Dpic18fxxx macro) to its device
# family and the device families to their respective style of ADC and
# USART programming for use in the SDCC PIC16 I/O library.
#
# Copyright 2010 Raphael Ne... | Perl | support/scripts/pic18fam-h-gen.pl | atsidaev/sdcc-z80-gas | gpl-2.0 | 6,558 | 215 | codeparrot/github-code |
e975243742035fe629f1442c5e5148af04e8d5045386adfa7f334d36755f04e6 | <?php
/**
* ifeelweb.de WordPress Plugin Framework
* For more information see http://www.ifeelweb.de/wp-plugin-framework
*
* Adapter to use ZendFramework as admin application
*
* @author Timo Reith <timo@ifeelweb.de>
* @copyright Copyright (c) ifeelweb.de
* @version $Id: ZendFw.php 911603 2014-05-10 10:58... | PHP | wp-content/plugins/post-status-notifier-lite/lib/IfwPsn/Wp/Plugin/Application/Adapter/ZendFw.php | brasadesign/wpecotemporadas | gpl-2.0 | 6,435 | 226 | codeparrot/github-code |
12cfaa7b3235b134fa1a0f7d1f45ff414f58a840df70a5358076f9c734bac3d8 | /***************************************************************************
* Project TUPITUBE DESK *
* Project Contact: info@maefloresta.com *
* Project Website: http://www.maefloresta.com *
* Project ... | C | src/components/library/tupsoundplayer.h | xtingray/tupitube.desk | gpl-2.0 | 4,307 | 109 | codeparrot/github-code |
1d9011e742ba560a38b9fb662a80fd92c0399c4d8652ed063dc6fe7dcff7fd4d | /*
* arch/arm/mach-tegra/baseband-xmm-power.c
*
* Copyright (C) 2011 NVIDIA Corporation
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program i... | C | arch/arm/mach-tegra/baseband-xmm-power.c | bedalus/hxore | gpl-2.0 | 61,756 | 2,196 | codeparrot/github-code |
2c79279d7100d0073deac6fbcb8c2e65413db87706d2c618d39907da53c83741 | <?php
/**
* @package Mambo
* @author Mambo Foundation Inc see README.php
* @copyright Mambo Foundation Inc.
* See COPYRIGHT.php for copyright notices and details.
* @license GNU/GPL Version 2, see LICENSE.php
* Mambo is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public ... | PHP | includes/agent_browser.php | chanhong/mambo | gpl-2.0 | 9,696 | 363 | codeparrot/github-code |
aa6dfd8c192ea71decb852b1f651109c93a1224dd6b4906c72826eccadb59733 | /*
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Sof... | C++ | src/server/scripts/World/npc_taxi.cpp | madisodr/legacy-core | gpl-2.0 | 16,513 | 313 | codeparrot/github-code |
82aa49076f14689833fef2bbffe7e7d668c79c387845e57f53ef31c33c3c2f1d | /**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2022 UniPro <ugene@unipro.ru>
* http://ugene.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* ... | C++ | src/corelibs/U2Gui/src/util/ScriptEditorWidget.cpp | ugeneunipro/ugene | gpl-2.0 | 2,409 | 76 | codeparrot/github-code |
0c626cbb4ff6df0b4c30430c953afff451c547c965e1b0a9463b6e6eac6cf655 | package agaroyun.view;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.util.ArrayList;
import javax.swing.JPanel;
import agaroyun.Model.GameObject;
import agaroyun.Model.Player;
/**
* draws GameObjects to panel
* @author varyok... | Java | src/agaroyun/view/GamePanel.java | by-waryoq/LYKJava2017Basics | gpl-2.0 | 913 | 46 | codeparrot/github-code |
eb014783c8f796f60e5104d6b1ec0f94d0f866091dcf97eb857321d54b545fae | package net.sf.memoranda.util;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import net.sf.memoranda.ui.AppFrame;
/**
* <p>
* Title:
* </p>
* <p>
* Description:
* </p>
* <p>
* Copyright: Copyright (c) 2002
* </p>
* <p>
* Company:
* </p>
*
* @author unascribed
* @version 1.0... | Java | src/net/sf/memoranda/util/Context.java | cst316/spring16project-Fortran | gpl-2.0 | 845 | 48 | codeparrot/github-code |
5db0396898b8b1cde4133b5c1b0e41e1a72764278b27248875d85e6d680ed41f | #ifndef SPRINGLOBBY_HEADERGUARD_USER_H
#define SPRINGLOBBY_HEADERGUARD_USER_H
#include <wx/string.h>
#include <wx/colour.h>
#include "utils/mixins.hh"
class Server;
const unsigned int SYNC_UNKNOWN = 0;
const unsigned int SYNC_SYNCED = 1;
const unsigned int SYNC_UNSYNCED = 2;
//! @brief Struct used to store a client'... | C | src/user.h | N2maniac/springlobby-join-fork | gpl-2.0 | 6,758 | 227 | codeparrot/github-code |
fa68ffba2fb8037a0d6a3f136ec52ee48b9dba2bb07bdabce51f9b5bc6736545 | <?php
/**
*
*
* Created on Jan 4, 2008
*
* Copyright © 2008 Yuri Astrakhan <Firstname><Lastname>@gmail.com,
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Lic... | PHP | includes/api/ApiWatch.php | ezc/mediawiki | gpl-2.0 | 3,487 | 130 | codeparrot/github-code |
a7c97e2ceba228930fc5cbe0ac5f735b124ac6f0fc173f1231e336cfb73f44bd | /* -*- c -*- */
/* $Id: sha.h 6172 2011-03-27 12:40:30Z cher $ */
#ifndef __SHA_H__
#define __SHA_H__ 1
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, o... | C | sha.h | stden/ejudge | gpl-2.0 | 3,310 | 95 | codeparrot/github-code |
e1b8d6de2e38365dc68bbb4f866ed69549d23158c61be469e6c8505cbf499f9d | /* SET.C - performing :set - command
*
* NOTE: Edit this file with tabstop=4 !
*
* 1996-02-29 created;
* 1998-03-14 V 1.0.1
* 1999-01-14 V 1.1.0
* 1999-03-17 V 1.1.1
* 1999-07-02 V 1.2.0 beta
* 1999-08-14 V 1.2.0 final
* 2000-07-15 V 1.3.0 final
* 2001-10-10 V 1.3.1
* 2003-07-03 V 1.3.2
*
* Copyright 199... | C | set.c | XVilka/bvim | gpl-2.0 | 12,671 | 587 | codeparrot/github-code |
c47ee336250fa2f9f20124369a5e8b643a0a759fbf98f2235ac9dfbb423fe579 | package org.emulinker.kaillera.controller.v086.action;
import java.util.*;
import org.apache.commons.logging.*;
import org.emulinker.kaillera.access.AccessManager;
import org.emulinker.kaillera.controller.messaging.MessageFormatException;
import org.emulinker.kaillera.controller.v086.V086Controller;
import org.emulin... | Java | src/org/emulinker/kaillera/controller/v086/action/GameOwnerCommandAction.java | monospacesoftware/emulinker | gpl-2.0 | 4,749 | 141 | codeparrot/github-code |
3db93713b646a2cfe92083df9971eed235d2b440fb0bf917d89a850f66670aa9 | <?php
/**
* Manages the social plugins.
*
* @copyright 2009-2019 Vanilla Forums Inc.
* @license GPL-2.0-only
* @package Dashboard
* @since 2.1
*/
/**
* Handles /social endpoint, so it must be an extrovert.
*/
class SocialController extends DashboardController {
/** @var array Models to automatically inst... | PHP | applications/dashboard/controllers/class.socialcontroller.php | vanilla/vanilla | gpl-2.0 | 2,628 | 95 | codeparrot/github-code |
6f9715a950f23136ead444a7d5b920256e1f7394ddbdf14abfcf85802857e0ea | <?php
// if( isset( $_POST ) ) {
// echo '<code><pre>';
// var_dump( $_POST );
// echo '</pre></code>';
// }
class SpeoOptions
{
/**
* Holds the values to be used in the fields callbacks
*/
private $options;
/**
* Start up
*/
public function __construct()
{
add_actio... | PHP | speo-options.php | alpipego/speo-exiftool | gpl-2.0 | 4,439 | 167 | codeparrot/github-code |
6fc60a8a746b563831b84931c7f5d519e2931428b9593cbd36b014069f6a874f | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Management;
using ProductMan.Utilities;
using ProductMan.Win32;
using System.Reflection;
namespace ProductMan
{
public class WMIVendor : IDisposable
{
protected static WMIVendor instance;
... | C# | ProductMan/ProductMan/WMIVendor.cs | CecleCW/ProductMan | gpl-2.0 | 4,916 | 154 | codeparrot/github-code |
230b4e53abb4cf0af8f6a8a3f7e4557d4ff93524804f3523f067a5939518b31d | /*
* linux/drivers/mmc/core/core.c
*
* Copyright (C) 2003-2004 Russell King, All Rights Reserved.
* SD support Copyright (C) 2004 Ian Molton, All Rights Reserved.
* Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved.
* MMCv4 support Copyright (C) 2006 Philip Langdale, All Rights Reserved.
*
* This ... | C | drivers/mmc/core/core.c | VilleEvitaCake/android_kernel_htc_msm8960 | gpl-2.0 | 80,989 | 3,260 | codeparrot/github-code |
fd41396a0b0f33c1c8768459337f756c55919113e59469838b2e209c48e8e1b3 | <?php
/*
* @package Joomla.Framework
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*
* @component Phoca Component
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.gnu.org/c... | PHP | administrator/components/com_phocagallery/models/phocagalleryimg.php | LuxitoHD/mmall-chen | gpl-2.0 | 22,198 | 801 | codeparrot/github-code |
4b12872aa73f63380fbe4ea8d3e53253088c19268e1c91b1135351655d60b567 | /*
* Xiphos Bible Study Tool
* sword.cc - glue
*
* Copyright (C) 2000-2020 Xiphos Developer Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* ... | C++ | src/main/sword.cc | crosswire/xiphos | gpl-2.0 | 45,237 | 1,891 | codeparrot/github-code |
2fa468eb55eaf332e09dcd79cfe3ffe947c5dbcbb634849a05caf6fe6a297c33 | <?php
global $PPT,$PPTDesign;
PremiumPress_Header(); ?>
<div id="premiumpress_box1" class="premiumpress_box premiumpress_box-100"><div class="premiumpress_boxin"><div class="header">
<h3><img src="<?php echo $GLOBALS['template_url']; ?>/images/premiumpress/h-ico/GeneralPreferences.png" align="middle"> Display S... | PHP | wp-content/themes/couponpress/admin/_ad_couponpress_1.php | magictortoise/voucheroffer | gpl-2.0 | 22,576 | 555 | codeparrot/github-code |
484b1b48968d4abd4fd9e15ed08f9f4ce2fbce6ff566499c690b832af67143a9 | /*
* linux/arch/arm/kernel/traps.c
*
* Copyright (C) 1995-2009 Russell King
* Fragments that appear the same as linux/arch/i386/kernel/traps.c (C) Linus Torvalds
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* publ... | C | arch/arm/kernel/traps.c | Mazout360/lge-kernel-gb | gpl-2.0 | 19,685 | 777 | codeparrot/github-code |
eafcd43e947d6619ded9e2b22de83ab03005fbb228d199afec48f0a28fb6cd8e | #
#
# (C) Copyright 2001 The Internet (Aust) Pty Ltd
# ACN: 082 081 472 ABN: 83 082 081 472
# All Rights Reserved
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A ... | Python | ZopeProducts/exUserFolder/Plugins.py | denys-duchier/Scolar | gpl-2.0 | 1,784 | 47 | codeparrot/github-code |
515728c6933031b179dc6238e4cd3915689be273de024e4d15feeb6237f6e55b | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/js.cookie.js"></script>
<title>BenchmarkTest00199<... | HTML | src/main/webapp/BenchmarkTest00199.html | thc202/Benchmark | gpl-2.0 | 1,755 | 48 | codeparrot/github-code |
a8d38a9ef445966dbc6ba3c867b4ce13b583d7e4c91d8cdb348c40ea84c521d9 | #!/usr/bin/python
"feed fetcher"
from db import MySQLDatabase
from fetcher import FeedFetcher
def main():
db = MySQLDatabase()
fetcher = FeedFetcher()
feeds = db.get_feeds(offset=0, limit=10)
read_count = 10
while len(feeds) > 0:
for feed in feeds:
fid = feed[0]
ur... | Python | backend/feedfetcher.py | hylom/grrreader | gpl-2.0 | 889 | 32 | codeparrot/github-code |
2c7fffb3e3ae79af37cf6aa5a9e7bbfde01763466d780900273723bc863de886 | INTERFACE:
#include "initcalls.h"
#include "types.h"
class Jdb_symbol_info;
class Jdb_lines_info;
class Jdb_dbinfo
{
};
//---------------------------------------------------------------------------
IMPLEMENTATION:
#include "config.h"
// We have to do this here because Jdb_symbol and Jdb_lines must not depend
// ... | C++ | src/kernel/fiasco/src/jdb/jdb_dbinfo.cpp | MicroTrustRepos/microkernel | gpl-2.0 | 5,858 | 298 | codeparrot/github-code |
dde78f86770f7f895f7189b5a8217976a494e9f4a6059d9800dc0225d7d4325b | <?php echo '<?xml version="1.0" encoding="utf-8"?>'; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-ca">
<head>
<?php $this->RenderAsset('Head'); ?>
<meta property="qc:admins" content="2666562... | PHP | applications/dashboard/views/default.master.php | ttym7993/Garden | gpl-2.0 | 2,898 | 66 | codeparrot/github-code |
044181a507191889ca032dc241d57d03b75761d156d61476b535c01dd5eaf9a6 |
var ModuleManager = (function(){
//Directorio donde se encuentran los modulos
const BASE_PATH = "js/modules/";
//modules
var modules = {
"templateManager":{
"className":"TemplateManager",
"fileName":"templateManagerModule.js",
"order":1,
"lo... | JavaScript | js/managerModule.js | sergio11/teVeo | gpl-2.0 | 6,832 | 216 | codeparrot/github-code |
f478a789d7fa7e49990263a5d27895e21161e16f11c07409c70eaddb441633f5 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>DOM.Node</title>
<meta http-equiv="Content-Type" content="text/html; cha... | HTML | docs/html/khtml/DOM.Node.html | KDE/pykde4 | gpl-2.0 | 56,993 | 1,459 | codeparrot/github-code |
0548e005240d7b192f929f8f5cdb53c99a1498ba1c1c6267c88a4b160a0a2f7e | <?php
/**
* H4PH - HTML4 PHP Helper
* @link https://github.com/Coft/H4PH
*/
class Td
{
/**
* contains all setted attributes
* @var array
*/
private $attrs = array();
/**
* keeps content
* @var string
*/
private $content = null;
/**
* holds markup name
... | PHP | classes/Td.php | Coft/H4PH | gpl-2.0 | 7,819 | 379 | codeparrot/github-code |
f5fc58f362d566d240e7cd20fef9e3227ab7930c30045222b01395a7fd1b7743 | var SPHERE = {
getSphereVertex: function (radius, res) { // Se obtienen los vértices, normales y coordenadas de textura
var vertexData = [], alpha, beta, x, y, z, u, v;
for (var i = 0; i <= res; i++) { // Se recorren las latitudes
alpha = i * Math.PI / res; // Ángulo latitud
... | JavaScript | P2/P2_1/SistemaSolar/js/sphere.js | fblupi/grado_informatica-SG | gpl-2.0 | 2,239 | 50 | codeparrot/github-code |
df779ec552d3ffbbe62e704922f2b37bdf93bdca6936b44eed6825e072905fef | /**
*
*/
package org.sylvani.io.voice.http;
import java.io.IOException;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.eclipse.emf.common.util.EList;
import ... | Java | org.sylvani.io/src/main/java/org/sylvani/io/voice/http/RecognitionRelayServlet.java | hkuhn42/sylvani | gpl-2.0 | 1,853 | 64 | codeparrot/github-code |
316a8e2e2d9e958490e4fcbac225db2e04ae17dde7bb5ef48070e8290ca69329 |
class Class3_Sub28 extends Class3 {
static Class94[] aClass94Array2566 = new Class94[200];
static int anInt2567 = -1;
private static Class94 aClass94_2568 = Class3_Sub4.buildString("Started 3d Library");
long aLong2569;
Class3_Sub28 aClass3_Sub28_2570;
static int anInt2571;
static int an... | Java | src/Class3_Sub28.java | Lmctruck30/RiotScape-Client | gpl-2.0 | 4,615 | 129 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.