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 |
|---|---|---|---|---|---|---|---|---|
21329a59ed1aec0bf6f9e16bf423dec735a79e53acb3507824b094348061a5ff | package org.allmyinfo.opmeta.nodes.core;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import org.allmyinfo.nodes.NodeKey;
import org.allmyinfo.operation.BaseOperation;
import org.allmyinfo.operation.MethodDefinition;
import org.allmyinfo.operation.Operation;
import org.allmyinfo.opera... | Java | org.allmyinfo.opmeta.nodes.core/src/org/allmyinfo/opmeta/nodes/core/GetNodeByKeyDescriptor.java | sschafer/atomic | epl-1.0 | 3,959 | 123 | codeparrot/github-code |
d4d007d23c5b4cde16cb6831e8e677d01065397c67462ca7f758bc5642e06474 | /*******************************************************************************
* Copyright (c) 2016 Google, 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 avail... | Java | org.eclipse.jdt.core/src/org/eclipse/jdt/internal/core/nd/java/NdMethodParameter.java | elucash/eclipse-oxygen | epl-1.0 | 3,536 | 109 | codeparrot/github-code |
662638cd0e3ede9234de4b697e1d648a6412350808c31129ceb79084872d5001 | /*******************************************************************************
* Copyright (c) 2017 Google, 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 avail... | Java | org.eclipse.jdt.core/src/org/eclipse/jdt/internal/core/nd/indexer/WorkspaceSnapshot.java | elucash/eclipse-oxygen | epl-1.0 | 8,427 | 261 | codeparrot/github-code |
c3cb149d792eaf2e23bbc0f6702b235c3717fed827e6983adf5830994eb91a86 | /**
* Copyright (c) 2015 Bosch Software Innovations GmbH 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
... | Java | hawkbit-repository/hawkbit-repository-jpa/src/test/java/org/eclipse/hawkbit/repository/jpa/rsql/RSQLActionFieldsTest.java | stormc/hawkbit | epl-1.0 | 4,085 | 97 | codeparrot/github-code |
1938583cb4f5e10ac07bd5a10bc18f536c1bffed8d8747e3d137855b8acbbce1 | package ui.purchaseui;
import java.awt.Image;
import javax.swing.JFrame;
import javax.swing.JPanel;
import ui.util.CommodityTablePane;
import ui.util.MyButton;
import ui.util.MyComboBox;
import ui.util.MyLabel;
import ui.util.MySpecialTextField;
import ui.util.MyTextArea;
import config.PanelConfig;
@SuppressWarning... | Java | src/ui/purchaseui/PurchaseDocumentPanel.java | vboar/ERPClient | epl-1.0 | 1,069 | 51 | codeparrot/github-code |
02f8926872e6d6e7a4bde9641a30078c6602aefb7736fdf3f64e3467c76b318a | /*******************************************************************************
* Copyright (c) 2014 OSSMETER Partners.
* 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 ... | Java | platform-extensions/org.ossmeter.platform.metricmanager.rascal/src/org/ossmeter/metricprovider/rascal/trans/model/DatetimeMeasurement.java | ossmeter/ossmeter | epl-1.0 | 2,552 | 66 | codeparrot/github-code |
6bf8f0fb4285481e899ef15e79dfb84523e68c7943aea484fcd314e0ecc80e42 | /**
* Copyright (c) 2015 Bosch Software Innovations GmbH 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
... | Java | hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/layouts/CreateUpdateTypeLayout.java | stormc/hawkbit | epl-1.0 | 10,191 | 260 | codeparrot/github-code |
f84503f73f0e3c371668f2b497f7c07232078f303786634f45467640804b4071 | /*
* Copyright (c) 2015 CableLabs 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.pcmm.gate... | Java | packetcable-driver/src/main/java/org/pcmm/gates/impl/GateState.java | opendaylight/packetcable | epl-1.0 | 2,490 | 93 | codeparrot/github-code |
9e42953336d398fa58a8c31f2a857ddd8657f68487ef8a3a76af25053e2d862d | var GBYViewController = {};
GBYViewController.performSegueWithIdentifier = function() {};
GBYViewController.dismissViewControllerAnimated = function() {};
GBYViewController.interfaceOrientation = function() {};
GBYViewController.animateWithDurationAnimationsCompletion = function() {};
var GBYButton = {};
GBYButton.ena... | JavaScript | ClojureScript/src/externs.js | mfikes/goby | epl-1.0 | 4,225 | 113 | codeparrot/github-code |
4e3ca135d7bc19bff4204e32b7ac1796a45230f8348378a5c142a5329d1fe1cf | /**
*
*/
package com.eclipsesource.gerrit.plugins.fileattachment.api.entities.converter;
import com.eclipsesource.gerrit.plugins.fileattachment.api.AttachmentTarget;
import com.eclipsesource.gerrit.plugins.fileattachment.api.ContentType;
import com.eclipsesource.gerrit.plugins.fileattachment.api.File;
import com.ecl... | Java | src/main/java/com/eclipsesource/gerrit/plugins/fileattachment/api/entities/converter/BaseFileEntityConverter.java | theArchonius/gerrit-attachments | epl-1.0 | 4,106 | 116 | codeparrot/github-code |
2c9745e7fc0beac2b41f38d0d259f166c54dd7a6d1264d02ad60e35c1e0cd446 | /*******************************************************************************
* Copyright (c) 2012-2015 Codenvy, S.A.
* 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 ... | Java | plugin-git/che-plugin-git-ext-git/src/main/java/org/eclipse/che/ide/ext/git/server/nativegit/SshKeysManager.java | sunix/che-plugins | epl-1.0 | 6,978 | 191 | codeparrot/github-code |
c2e2085fa7f09cb66f011a930c7e770437950a3e629a2e3d5b25792779041e0f | package eu.netide.core.logpub;
import java.util.LinkedList;
import eu.netide.core.api.Constants;
import eu.netide.core.api.MessageHandlingResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.zeromq.ZFrame;
import org.zeromq.ZMQ;
import org.zeromq.ZMQException;
import org.zeromq.ZMsg;
import eu... | Java | core/core.logpub/src/main/java/eu/netide/core/logpub/LogPub.java | fp7-netide/Engine | epl-1.0 | 7,421 | 264 | codeparrot/github-code |
2ce49e4b34d315c45a31e38b6b62e0bfd24876a127cf84243008cc8fb55fb215 | <?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-AF643AFD-E2B5-31DB-BBDC-74228402F1F0.html | warlordh/fork_Symbian | epl-1.0 | 11,821 | 476 | codeparrot/github-code |
a3db77ced636e1a3e6a172d38035448432e13bae4ec8ba97c1ad98576b5b73f4 | <?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-0821D583-1D5B-3B9C-983C-4EADD532D331.html | warlordh/fork_Symbian | epl-1.0 | 11,663 | 422 | codeparrot/github-code |
5523f5cb022c29354ff5448b4a7ba43d949dbb69f52404dc198d408225542c38 | /**
* DB Systel GmbH / i.S.A. Dresden GmbH & Co. KG (c) 2010
*/
package org.flowr.ant.tasks;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.PropertyHelper;
/**
* Ant task evaluating the text part after a specified separator.
*<p>usage:</p>
* <pre>
* <leadString property="<i>result.pr... | Java | commons/ant/org.flowr.ant.tasks/src/main/java/org/flowr/ant/tasks/LeadStringTask.java | krasv/flowr | epl-1.0 | 1,532 | 59 | codeparrot/github-code |
07195b01bc1e07a49c1eabc34c2e8446c82e2eb69aef0acc245cd8fd4dbf3719 | /*******************************************************************************
* Copyright (c) 1998, 2012 Oracle 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 and Eclipse Distribution License v. 1... | Java | moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/jaxb/xmlschema/attributeformdefault/unqualified/AttributeFormDefaultUnqualifiedTestCases.java | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | epl-1.0 | 2,794 | 70 | codeparrot/github-code |
5a3b2852da9873e18b5181840cd4ffcc5b5aad736aa04006b0914e1484a0b014 | /*******************************************************************************
* Copyright (C) 2008, Shawn O. Pearce <spearce@spearce.org>
*
* 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 distribu... | Java | org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GenerateHistoryJob.java | rickard-von-essen/egit | epl-1.0 | 4,164 | 134 | codeparrot/github-code |
bb9246f2275187cf5daec11bc7696650d9bb72d84d6b9136e4e3d3612e04ecb4 | /*
* Copyright 2012 PRODYNA AG
*
* Licensed under the Eclipse Public License (EPL), Version 1.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/eclipse-1.0.php or
* http://www.nabucco.org/License... | Java | org.nabucco.testautomation.script.ui.rcp/src/main/man/org/nabucco/testautomation/script/ui/rcp/multipage/metadata/masterdetail/MetadataMaintenanceMasterDetailBlock.java | NABUCCO/org.nabucco.testautomation.script | epl-1.0 | 8,978 | 167 | codeparrot/github-code |
90d5f6778d25648097c85529077c2e131484d5267707ebb4b7460eef77faa712 | /*
* Copyright (c) 2014 Actuate Corporation
*/
package com.actuate.aces.idapi;
import com.actuate.aces.idapi.control.ActuateException;
import com.actuate.schemas.*;
import org.apache.axis.attachments.AttachmentPart;
import org.w3c.dom.Document;
import org.xml.sax.SAXException;
import javax.xml.parsers.DocumentBuil... | Java | idapi-wrapper/src/com/actuate/aces/idapi/InformationObjectExecuter.java | puckpuck/idapi-wrapper | epl-1.0 | 5,575 | 175 | codeparrot/github-code |
56ef57d210aaa9e01e0863212915c6a4c10390d35e56c8de43244a8b7e296efb | /**
* Copyright (c) 2015-2017 Obeo, Inria
* 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
*
* Contributors:
* - Will... | Java | plugins/org.eclipse.cmf.occi.multicloud.aws.ec2/src-gen/org/eclipse/cmf/occi/multicloud/aws/ec2/impl/X1_32xlargeImpl.java | occiware/Multi-Cloud-Studio | epl-1.0 | 10,365 | 335 | codeparrot/github-code |
833e74b1e8dc44f48668f4f1e9d966f18199612b79932f9d44148f39be3e87e6 | /*******************************************************************************
* Copyright (c) 2000, 2011 IBM Corporation 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, an... | Java | org.eclipse.jdt.ui/src/org/eclipse/jdt/internal/ui/filters/FilterDescriptor.java | elucash/eclipse-oxygen | epl-1.0 | 9,298 | 293 | codeparrot/github-code |
aca58f22223aaa05d693ca3fe25b48ad95c9014942f57142ca8145aff6f7cde2 | /**
* <copyright>
* </copyright>
*
*
*/
package gbind.resource.gbind.ui;
/**
* A class for RGB-based color objects.
*/
public class GbindColorManager {
protected java.util.Map<org.eclipse.swt.graphics.RGB, org.eclipse.swt.graphics.Color> fColorTable = new java.util.LinkedHashMap<org.eclipse.swt.graphics.RGB... | Java | plugins/genericity.language.gbind.resource.ui/src-gen/gbind/resource/gbind/ui/GbindColorManager.java | jesusc/bento | epl-1.0 | 1,081 | 42 | codeparrot/github-code |
cff7b272890dc9f60b90a7dd7e20e807abaad9f3cfde2f023a0b529e2d9e6902 | package com.odcgroup.t24.server.external.model.internal;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Properties;
import java.util.StringTokenizer;
import com.odcgroup.t24.server.external.model.IExternalObject;
import com.odcgroup.t24.server.external.model.LocalRefApp... | Java | designstudio/components/t24server/core/com.odcgroup.t24.server.external/src/main/java/com/odcgroup/t24/server/external/model/internal/LocalRefApplicationLoader.java | debabratahazra/DS | epl-1.0 | 3,065 | 84 | codeparrot/github-code |
211d7668664749e424d190e06aeda376f2c98e5371d17ce35f9e983565d9b0fe | #ifndef ARRO_DATABASE_DB_H
#define ARRO_DATABASE_DB_H
#include <stdexcept>
#include <thread>
#include <google/protobuf/message.h>
#include <list>
#include <condition_variable>
#include <memory>
#include <functional>
#include "INodeDefinition.h"
#include "INodeContext.h"
#include "Trace.h"
namespace Arro
{
class D... | C | Runtime/Database.h | GerardT/Arro | epl-1.0 | 3,404 | 140 | codeparrot/github-code |
deb682827b644007c7d7776ed47a80d08f35a93246076e3bd8e4c65a94e8080b | <?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-A9589354-60FD-3295-969C-54C432871D82.html | warlordh/fork_Symbian | epl-1.0 | 27,210 | 1,077 | codeparrot/github-code |
91b60f00f63bec54fc22a7df94440d3b9b793d46d1a2bad5208217b156c8973c | /*
* Copyright (c) 2020 Ericsson India Global Services Pvt Ltd. 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.h... | Java | hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepDisconnectCliCmd.java | opendaylight/ovsdb | epl-1.0 | 3,257 | 64 | codeparrot/github-code |
4db61cec1f19a6ee63cee5c9a183bbaa1822bb559230c8a20543a50756f04cba | <?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) Copyrigh... | HTML | pdk/GUID-76A117E2-70C8-3E2F-9D4D-C0C3FB2E22BB.html | warlordh/fork_Symbian | epl-1.0 | 4,808 | 91 | codeparrot/github-code |
d6d42efb9d832f9b50b70ccee20879c44a2e72ef67fbc92d9d283183921c9fe1 | <?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-D12E51C2-8E1D-3967-9FB5-FC06317CF757.html | warlordh/fork_Symbian | epl-1.0 | 11,861 | 494 | codeparrot/github-code |
f260d03ed8b20aaca925d73f3eba1a95fe6f8e86b70bbcf8f618c4df501e32e4 | /**
*
*/
package it.xsemantics.runtime;
/**
* The result of a rule invocation
*
* @author Lorenzo Bettini
*
*/
public class ResultWithFailure {
private RuleFailedException ruleFailedException;
public ResultWithFailure() {
}
public ResultWithFailure(RuleFailedException ruleFailedException) {
super();... | Java | plugins/it.xsemantics.runtime/src/it/xsemantics/runtime/ResultWithFailure.java | szarnekow/xsemantics | epl-1.0 | 534 | 32 | codeparrot/github-code |
d3614563ce78713efb65d8e797a5c434a9995d37516b3ab9fdbe9e314cea7aec | /**
* Copyright (c) 2012 Concurrency and Mobility Group.
* Universita' di Firenze
*
* 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... | Java | examples/org.cmg.examples.pingpong/src/org/cmg/jresp/examples/pingpong/VirtualPingPong.java | michele-loreti/jResp | epl-1.0 | 2,416 | 99 | codeparrot/github-code |
1e9afc6ead4e6a2f7c4b1ce664dbc5da8f980f1f5a39548821a11ea628f7bcb9 | /* ******************************************************************************
* Copyright (c) 2006-2012 XMind Ltd. and others.
*
* This file is a part of XMind 3. XMind releases 3 and
* above are dual-licensed under the Eclipse Public License (EPL),
* which is available at http://www.eclipse.org/legal/ep... | Java | bundles/org.xmind.ui.mindmap/src/org/xmind/ui/commands/CreateTopicCommand.java | nickmain/xmind | epl-1.0 | 1,356 | 44 | codeparrot/github-code |
46bedf906b825e4072f1eb47db0c7897b08343db6d67f55c9b23103ee93a2c16 | // This library is distributed in the hope that it will be useful but without
// any warranty; without even the implied warranty of merchantability or
// fitness for a particular purpose.
// The use and distribution terms for this software are covered by the Eclipse
// Public License 1.0 (http://opensource.org/... | C++ | src/main/cpp/pong/p/Ende.cpp | llnek/fusilli | epl-1.0 | 1,734 | 63 | codeparrot/github-code |
e80947cdf1893e6f4aa1762704621fedf1e7734f59b900e16f04cd2afab265b3 | /**
* Copyright (c) 2014-2016 by Wen Yu.
* 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
*
* Any modifications to this... | Java | pixymeta-lib/src/main/java/pixy/io/ReadStrategyMM.java | k3b/pixymeta-android | epl-1.0 | 4,621 | 161 | codeparrot/github-code |
3b267c2328466d04c7c6e12e287534550af2dbd7673dec499a8057fa1d044374 | #include "u.h"
#include "../port/lib.h"
#include "mem.h"
#include "dat.h"
#include "fns.h"
#include "../port/error.h"
#include "io.h"
enum {
Qdir = 0,
Qbase,
Qmax = 16,
};
typedef long Rdwrfn(Chan*, void*, long, vlong);
static Rdwrfn *readfn[Qmax];
static Rdwrfn *writefn[Qmax];
static Dirtab archdir[Qmax] = {
... | C | sys/src/9/loongson/devarch.c | 0intro/plan9-mips | epl-1.0 | 4,218 | 241 | codeparrot/github-code |
5fb473eb5b8897eda0d3a7978d576295f0c36559b0c2032bd69320b17ad4921b | package org.sonar.PogoDsl.lexer;
import static com.sonar.sslr.impl.channel.RegexpChannelBuilder.ANY_CHAR;
import static com.sonar.sslr.impl.channel.RegexpChannelBuilder.and;
import static com.sonar.sslr.impl.channel.RegexpChannelBuilder.commentRegexp;
import static com.sonar.sslr.impl.channel.RegexpChannelBuilder.o2n;... | Java | evaluation-scenarios/sonar-PogoDsl/PogoDsl-squid/src/main/java/org/sonar/PogoDsl/lexer/PogoDslLexer.java | TatyPerson/Xtext2Sonar | epl-1.0 | 3,633 | 86 | codeparrot/github-code |
9d64fcc8cb689ef051370fcc9b6a319bf86cbc0786c3609dbb6d7dab18019f9f | package org.gemoc.scenario.xdsml.functionscenario.adapters.functionscenariomt.capellacommon;
import fr.inria.diverse.melange.adapters.EObjectAdapter;
import java.util.Collection;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.gemoc.scenario.xdsml.functionscenario.adapters.fun... | Java | Semantic/Scenario/org.gemoc.scenario.xdsml/src-gen/org/gemoc/scenario/xdsml/functionscenario/adapters/functionscenariomt/capellacommon/GenericTraceAdapter.java | smadelenat/CapellaModeAutomata | epl-1.0 | 25,983 | 518 | codeparrot/github-code |
4854bcc9b86d4477a1555a41542e897f8e68b542f5983e82f315a6e08883da90 | /**
# @License EPL-1.0 <http://spdx.org/licenses/EPL-1.0>
##############################################################################
# Copyright (c) 2016 The Linux Foundation and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public L... | JavaScript | web/src/server/routes.js | opendaylight/spectrometer | epl-1.0 | 1,352 | 40 | codeparrot/github-code |
607bc989849823cf5a379dafe9aeaa4e741c997dd0f978169742a7046737f17a | /*
* Copyright (c) [2012] - [2017] Red Hat, Inc.
* 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
*
* Contributors:
* ... | Java | wsagent/wsagent-codenvy/src/main/java/com/codenvy/api/agent/CodenvyProjectServiceLinksInjector.java | codenvy/codenvy | epl-1.0 | 1,156 | 38 | codeparrot/github-code |
d702ef9c085eee18657e8c4bfa63efda0cd74121f49606cdeddef853e1244e8b | /**
* Copyright 2011 Intuit Inc. All Rights Reserved
*/
package com.intuit.tank.vm.vmManager;
/*
* #%L
* Intuit Tank Api
* %%
* Copyright (C) 2011 - 2015 Intuit Inc.
* %%
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
... | Java | api/src/main/java/com/intuit/tank/vm/vmManager/JobUtil.java | rkadle/Tank | epl-1.0 | 1,554 | 70 | codeparrot/github-code |
7a73374f426649cdaaf7acb442bec9fd8804451bb7ce7a4b00e8d1737b7d227b | <?php
/**
* Plugin Name: Hybrid Hook
* Plugin URI: http://themehybrid.com/themes/hybrid/hybrid-hook
* Description: Gives you easy access to the Hybrid theme's hooks straight from your WordPress admin. You can add <acronym title="Hypertext Markup Language">HTML</acronym>, shortcodes, <acronym title="Hypertext P... | PHP | hybrid-hook.php | wp-plugins/hybrid-hook | gpl-2.0 | 4,244 | 126 | codeparrot/github-code |
f67187582b0b93919a612d4c40a5ec8b602ea3c6f2fabe68f9c070907a906fbc | #ifndef _MINICLASSES_HEADER
#define _MINICLASSES_HEADER
namespace java {
namespace lang {
class Object;
class Comparable;
class String;
class System;
class Throwable;
class Exception;
class OutOfMemoryError;
class ArrayIndexOutOfBoundsException;
class RuntimeException;
class NullPointerException;
class Uns... | C | soot/polyglot-1.3.5/src/polyglot/ext/jl/cppsupport/miniclasses/miniclasses.h | BuddhaLabs/DeD-OSX | gpl-2.0 | 1,378 | 74 | codeparrot/github-code |
6719d576c02a2975062105bc1c448ecf64a43c5ec8991d72eb8565ae35ca3759 | <?php
/**
* @version $Id: database.php,v 1.3 2005/07/22 03:36:09 eddieajau Exp $
* @package PHP-Syslog-NG
* @subpackage Database
* @copyright (C) 2000 - 2005 Miro International Pty Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* PHP-Syslog-NG is Free Software
*/
/** ensure this file is being included by ... | PHP | html/includes/database.php | jeroenrnl/php-syslog-ng | gpl-2.0 | 35,286 | 1,090 | codeparrot/github-code |
2b94053280705cd63379dcfeef46b36af7a84f5cf4759a37be89fb09344e821d | from __future__ import absolute_import
from Screens.Screen import Screen
from Components.ConfigList import ConfigListScreen
from Components.config import ConfigSubsection, ConfigSelection, getConfigListEntry
from Components.SystemInfo import SystemInfo
from Components.Task import job_manager
from Screens.InfoBarGeneric... | Python | lib/python/Screens/TaskView.py | atvcaptain/enigma2 | gpl-2.0 | 5,728 | 156 | codeparrot/github-code |
2e15db687c515002a738dd6cee61e09783f04c06ddb6e9d0ada93a9fc00c77b1 | /******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
... | Java | de.metas.adempiere.adempiere/base/src/main/java-legacy/org/compiere/print/layout/ImageElement.java | klst-com/metasfresh | gpl-2.0 | 11,006 | 382 | codeparrot/github-code |
f048e172fae8df1bccea3cf853099ee3e2a354c9f785fafe68f015d26f63d06d | /*
* Copyright 2007 Sun Microsystems, Inc.
*
* This file is part of jVoiceBridge.
*
* jVoiceBridge is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation and distributed hereunder
* to you.
*
* ... | Java | voicelib/src/com/sun/mpk20/voicelib/impl/service/voice/BridgeConnection.java | damirkusar/jvoicebridge | gpl-2.0 | 36,037 | 1,312 | codeparrot/github-code |
8b632b0ecc5e2593e1709391d995876c90cb08b62b0919c2ba9ac218ad72805e | # -*- coding: utf-8 -*-
#############################################################################
# File : ConfigCheck.py
# Package : rpmlint
# Author : Frederic Lepied
# Created on : Sun Oct 3 21:48:20 1999
# Purpose :
################################################################... | Python | ConfigCheck.py | aborrero/pkg-rpmlint | gpl-2.0 | 1,798 | 57 | codeparrot/github-code |
675d0765efbf02380b840f782c95f3d5da9ad32edb9a3bb7ab2f205434f1f5fe | <?php
/**
* File containing rest router
*
* @copyright Copyright (C) 1999-2012 eZ Systems AS. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
* @version 2012.12
* @package kernel
*/
class ezpRestRouter extends ezcMvcRouter
{
const ROUTE_CACHE_ID = 'ezpRe... | PHP | ezpublish_legacy/kernel/private/rest/classes/router.php | medbenhenda/migration-ez5 | gpl-2.0 | 3,153 | 97 | codeparrot/github-code |
cf66b0af6cc8ece9803f94b40b8c92c6cb2df6c414054ecceafd4c94dddeb53d | /*
* Copyright (C) 2005-2012 Team XBMC
* http://www.xbmc.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 version 2, or (at your option)
* any later version.
*
... | C++ | xbmc/utils/Weather.cpp | koying/xbmc-pivos | gpl-2.0 | 15,046 | 481 | codeparrot/github-code |
823f4d5dda07c87c04832bd677f2635a662babfadf08b9d507b02be30312d98d | /*
* Copyright (C) 2013-2020 Canonical, Ltd.
*
* 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 ... | C | stress-tsearch.c | fuchsia-mirror/stress-ng | gpl-2.0 | 4,024 | 153 | codeparrot/github-code |
ac65184427b93cd5842671905910da7f05c132a09a2cf942fac18d9495f31f7d | <!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" >
<head>
<title>TestSilverlightApplication</title>
<style type="text/css">
html, body {
height: 100%;
overflow: auto;
}
bod... | HTML | Third Party Libraries/White-0.12.0/src/TestApplications/TestSilverlightApplication.Web/TestSilverlightApplicationTestPage.html | JacobD10/ASAR | gpl-2.0 | 2,825 | 74 | codeparrot/github-code |
e44eec1f13334e561e28a2894fb1cce403aad49a1cf4f2622efae1fcf96cc8c5 | function CarHelper(car) {
if (!(this instanceof arguments.callee)) {
return new CarHelper(car);
}
var backtrack = [];
car.helper = {
getElement: function (x, y) {
return car.table.children[y].children[x];
},
canMove: function (x, y) {
return /[w... | JavaScript | js/car.helper.js | ChristfriedBalizou/rgb-solver | gpl-2.0 | 4,322 | 143 | codeparrot/github-code |
4d8316abe7c6b3d711d2b53a56bebc7242ddac0a5d8d3215ba7f11c49d4a6ec3 | /* This file is part of KDevelop
Copyright 2006 Roberto Raggi <roberto@kdevelop.org>
Copyright 2006-2008 Hamish Rodda <rodda@kde.org>
Copyright 2007-2008 David Nolden <david.nolden.kdevelop@art-master.de>
This library is free software; you can redistribute it and/or
modify it under the terms of the G... | C++ | language/duchain/types/delayedtype.cpp | mali/kdevplatform | gpl-2.0 | 2,785 | 113 | codeparrot/github-code |
4e9f786e0f57586d984e5edb8408293474bea7d991cd0ed69094a2205e40de7f | /*************************************************************************
> File Name: test.c
> Author: hobson
> Mail: song1919@163.com
> Created Time: 2015年01月14日 星期三 12时26分22秒
************************************************************************/
#include <stdio.h>
#include <pthread.h>
#include <unistd.h>
... | C | linux/test.c | thecraft/first | gpl-2.0 | 1,343 | 72 | codeparrot/github-code |
787b2a4e71abd35b6d593141b164dd9e02830ffa25affc9b3ded02b12c685359 | /*
* DAWN OF LIGHT - The first free open source DAoC server emulator
*
* 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# | GameServer/packets/Server/PacketLib1104.cs | dudemanvox/Dawn-of-Light-Server | gpl-2.0 | 12,265 | 342 | codeparrot/github-code |
2f12dfe7da9d890d413cf2247389456f864ae9c05a22dc7cff0f03c36d150844 | /*
* PPC64 (POWER4) Huge TLB Page Support for Kernel.
*
* Copyright (C) 2003 David Gibson, IBM Corporation.
*
* Based on the IA-32 version:
* Copyright (C) 2002, Rohit Seth <rohit.seth@intel.com>
*/
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/hugetlb.h>
#include <linux/pa... | C | arch/powerpc/mm/hugetlbpage.c | xoox/linux-2.6.18_pro500 | gpl-2.0 | 27,302 | 1,062 | codeparrot/github-code |
986c28ef712654b71ab273027a40d88b11665cfea7033028b6169cd45f1a3f14 | #include <tv/configtv.h>
#include <tv.h>
#ifdef TVOSf_BBOS10
#include <SDL_console.h>
#include <tv/qnx/screen.h>
#include <tv/qnx/mouse.h>
void THWMouseQNX::GetEvent(MouseEventType &me) {
me.where.x = SDL_console_get_mouse_x();
me.where.y = SDL_console_get_mouse_y();
unsigned char buttonState = SDL_conso... | C++ | classes/qnx/qnxmouse.cc | idispatch/tvision | gpl-2.0 | 881 | 45 | codeparrot/github-code |
a9d3685d371f6e1f18e5ed010b786d950ceb84ac7714e4cdb3adad011624abc6 |
//
// Speak To The Farmers ( 101 )
//
var log = require('../class.log'),
realmConfig = require('../../config.realm').config,
quest = require('../class.quest'),
questCondition = require('../class.questCondition').condition;
exports.questObject = function( args )
{
var self = this;
thi... | JavaScript | includes/classes/class.quest.js_files/quest.101.js | victoralex/gameleon | gpl-2.0 | 2,092 | 85 | codeparrot/github-code |
08feef324b82821c06bfd498e5b4558295a1dcfab3d8df0fdc985a0d32b594e4 | /*
* se.h -- definitions for the char module
*
* Copyright (C) 2001 Alessandro Rubini and Jonathan Corbet
* Copyright (C) 2001 O'Reilly & Associates
*
* The source code in this file can be freely used, adapted,
* and redistributed in source or binary form, so long as an
* acknowledgment appears in derived sourc... | C | drivers/video/se_user_level.h | xtreamerdev/linux-xtr | gpl-2.0 | 1,401 | 66 | codeparrot/github-code |
3e16a9e20b93559d61625a59be3e7c680dff0cca6f9225f594c9ae2531858b37 | /* Copyright (c) 2011, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope... | C | arch/arm/mach-msm/sdio_al_dloader.c | evnit/android_kernel_samsung_msm8660-common | gpl-2.0 | 71,599 | 2,580 | codeparrot/github-code |
32bf7422b820b86184d7c2bbefa021dfd89e9b68c65291d5bc12149f49d6c7c8 |
#include <linux/fs.h>
#include <linux/vfs.h>
#include <linux/xattr.h>
#include "squashfs_fs.h"
#include "squashfs_fs_sb.h"
#include "squashfs_fs_i.h"
#include "squashfs.h"
#include "xattr.h"
static int squashfs_new_inode(struct super_block *sb, struct inode *inode,
struct squashfs_base_inode *sqsh_ino)
{
int ... | C | kernel/fs/squashfs/inode.c | luckasfb/OT_903D-kernel-2.6.35.7 | gpl-2.0 | 10,736 | 380 | codeparrot/github-code |
7caea49eb9f97afe32c192e5b55acdc052a7c0f269544f1de25f3c12e17f1c59 | <!DOCTYPE HTML>
<!--
Directive by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Custom PCs</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]><scri... | HTML | index.html | custompc-nc/custompc-nc.github.io | gpl-2.0 | 3,448 | 80 | codeparrot/github-code |
c880a38f2db1b573d65ecb41d2647ecb5bae7f9301e79e18cb9b7e5b8153c63b | /* packet-iwarp-ddp-rdmap.c
* Routines for Direct Data Placement (DDP) and
* Remote Direct Memory Access Protocol (RDMAP) dissection
* According to IETF RFC 5041 and RFC 5040
* Copyright 2008, Yves Geissbuehler <yves.geissbuehler@gmx.net>
* Copyright 2008, Philip Frey <frey.philip@gmail.com>
*
* $Id: packet-iwar... | C | epan/dissectors/packet-iwarp-ddp-rdmap.c | Abhi9k/wireshark-dissector | gpl-2.0 | 29,290 | 893 | codeparrot/github-code |
0610944cbfc2a6af8044a86dba79f970f801f720d24909f726b2e072f31e065c | /* myri_sbus.h: MyriCOM MyriNET SBUS card driver.
*
* Copyright (C) 1996, 1999 David S. Miller (davem@redhat.com)
*/
static char version[] =
"myri_sbus.c:v1.9 12/Sep/99 David S. Miller (davem@redhat.com)\n";
#include <linux/module.h>
#include <linux/config.h>
#include <linux/errno.h>
#include <linux/kernel... | C | kernel/linux/drivers/net/myri_sbus.c | z3bu/AH4222 | gpl-2.0 | 32,161 | 1,176 | codeparrot/github-code |
471327e32c250c08010128e6bdb15a500eb1b036a79224e32726435feaec78c4 | #include<iostream>
#include<cstdio>
#include<cstring>
//#include<vector>
#include<algorithm>
#define U_DEBUG
#define L_JUDGE
#ifdef L_JUDGE
#pragma warning(disable:4996)
#endif
using namespace std;
typedef long long int LL;
const int MAXN=6e6;
const int MODU=1e8+7;
bool isPrime[MODU];
int primeList[MAXN];
int pcnt;... | C++ | 1_Algorithm/SphereOnlineJudge/20170704_a_num_divide_1ton/1.cpp | fangtanchen/Learning | gpl-2.0 | 1,081 | 66 | codeparrot/github-code |
3f1f8d1006878174e7f5ee09bdb666d5c730f691baafc4cc8e4c0841a078424a | /* WMix 3.0 -- a mixer using the OSS mixer API.
* Copyright (C) 2000, 2001
* Daniel Richard G. <skunk@mit.edu>,
* timecop <timecop@japan.co.jp>
*
* 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 Found... | C | misc.c | Jolmberg/wmix | gpl-2.0 | 3,044 | 130 | codeparrot/github-code |
5ba39578941b299b7377234d0f9bee45c46ca0b60c706b4b28829480176c6675 | # Jagan+
# OEM_RPC_PROC_TAR_FILE = $(obj)/oem_rpc_version_check
# OEM_RPC_PROC_RPC_CHECH_H = $(obj)/oem_rpc_version_check.h
# OEM_RPC_OEM_RAPI_EVENTS_H = oem_rapi_events.h
# OEM_RPC_PC_OEM_CMD_H = smem_pc_oem_cmd.h
# Jagan-
obj-y += io.o dma.o memory.o
obj-y += clock.o clock-voter.o
obj-y += modem_notifier.o
obj-$(CO... | Makefile | arch/arm/mach-msm/Makefile | dsc-team/dsc-team-kernel-project | gpl-2.0 | 9,397 | 254 | codeparrot/github-code |
f2b80032d1443296c6cf49017d6b3619f444e140ea70bbf7158d5f3ac80a6b8d | # configobj.py
# A config file reader/writer that supports nested sections in config files.
# Copyright (C) 2005-2014:
# (name) : (email)
# Michael Foord: fuzzyman AT voidspace DOT org DOT uk
# Nicola Larosa: nico AT tekNico DOT net
# Rob Dennis: rdennis AT gmail DOT com
# Eli Courtwright: eli AT courtwright DOT org
#... | Python | lib/configobj/configobj.py | theguardian/JIRA-APPy | gpl-2.0 | 89,640 | 2,484 | codeparrot/github-code |
df01c241ec23f766e62be8f511d2fc8096aa56df9214f0b30f5a08e720c1b3d2 | var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var partials = require('express-partials');
var methodOverride = require('method-override');
var se... | JavaScript | app.js | tmas0/nodejs_m6 | gpl-2.0 | 2,725 | 103 | codeparrot/github-code |
918b142d3f2d90e080d7ba8077f47bd34c2632691dc432f28bc18490cef5a44c | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* 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 la... | C | plugins/mm-modem-moto-c-gsm.c | miurahr/ModemManager | gpl-2.0 | 3,932 | 130 | codeparrot/github-code |
4f396e7c864f1187968fba83e2fa45430272998f15bb517b175dbd96255532b2 | <?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) 2000-2015 LOCKON CO.,LTD. All Rights Reserved.
*
* http://www.lockon.co.jp/
*
* 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; ei... | PHP | src/Eccube/Service/ViewService.php | Yammy/ec-cube | gpl-2.0 | 1,500 | 52 | codeparrot/github-code |
44074a14454500be33190755a7a6df2eaa4b2a8937412a159ecac1f88eb82671 | <?php
# Lifter001: TEST
# Lifter002: TODO
# Lifter007: TODO
# Lifter003: TODO
# Lifter010: TODO
/*
themen_ablaufplan.php: GUI for default-view of the theme managment
Copyright (C) 2005-2007 Till Glöggler <tgloeggl@uos.de>
This program is free software; you can redistribute it and/or
modify it under the terms of the GN... | PHP | lib/raumzeit/themen_ablaufplan.php | japhigu/stup.ID | gpl-2.0 | 12,714 | 314 | codeparrot/github-code |
9cc46340e3cf3901f904a945dbe2cd2b99284ed5fe04f0f5cffa17d9c94d2bee | /* ChecksumEncoder -- rsync protocol checksum encoder.
$Id: ChecksumEncoder.java,v 1.1 2003/07/18 23:22:13 rsdio Exp $
Copyright (C) 2003 Casey Marshall <rsdio@metastatic.org>
This file is a part of Jarsync.
Jarsync is free software; you can redistribute it and/or modify it
under the terms of the GNU General Pub... | Java | source/org/metastatic/rsync/v2/ChecksumEncoder.java | Tongbupan/Jarsync | gpl-2.0 | 1,818 | 69 | codeparrot/github-code |
da4610e3c213280acd72fc769b3c6707774da7dc5165263b53758499bb95d6a7 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--Converted with LaTeX2HTML 2002-2-1 (1.71)
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilc... | HTML | doc/tex/asterisk/node125.html | nicwolff/asterisk-agi-mp3 | gpl-2.0 | 2,733 | 91 | codeparrot/github-code |
88d3151707ea7c1b9a2744eb89e9a1ab4e1fb86ae9b8c19a7b728dd3445c81e5 | /*==============================================================*/
/* DBMS name: MySQL 5.0 */
/* Created on: 21/03/2015 2:05:30 */
/*==============================================================*/
drop table if exists BERITA;
drop table if exists... | SQL | Kendo_DB/crebas.sql | ardhinata/MPPL_SI_Kendo | gpl-2.0 | 4,189 | 120 | codeparrot/github-code |
1f18f4a46f7b0c6286887a51ae106f65cc5b7fd814364c00361d29734ed48fac | <?php
if (!function_exists( 'themo_ot_default_setup')) {
function themo_ot_default_setup() { // IMPORT DEFAULTS FUNCTION
$themo_ot_set_defaults = get_option( 'themo_ot_set_defaults', 0 );
if ($themo_ot_set_defaults == 0){ // IF ACTIVATION HAS NOT BE RUN BEFORE
$your_default_settings = THEMEO_OT_D... | PHP | wp-content/themes/stratus/option-tree/theme-options-defaults.php | tyleryoungblood/resimplifi-site-wp | gpl-2.0 | 1,668 | 55 | codeparrot/github-code |
2180f2c3b2949e65cf1667836654c1db6b4298c848cc5e355e7a5933b713dbc4 | /*
* 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; version 2 of the License.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the ... | C++ | src/daemon/dl/plugin_container.cpp | tvhung83/downloaddaemon | gpl-2.0 | 5,890 | 218 | codeparrot/github-code |
ed097e5281fdec3f9760e89335c2fd6641f4cfc1e39e3ec20386fc5c56c7bb34 | <?php
namespace cupidphp\common\Util;
use cupidphp\common\Debug;
use cupidphp\common\Util;
use DateTime;
use function cupidphp\main\debug;
use function cupidphp\main\dump;
use function cupidphp\main\xdiff_string_merge3;
use function cupidphp\main\array_walk_recursive;
class ArrayHelper
{
private static $_masks = a... | PHP | common/Util/ArrayHelper.php | lsalomon/cupidphp | gpl-2.0 | 9,326 | 486 | codeparrot/github-code |
e3158c5ef04fa1fca69d805270db69868d9f4f71c785b8708c230e83daa91d66 | <?php
if ( !class_exists( 'Inbound_Email_Template_Shortcodes' ) ) {
class Inbound_Email_Template_Shortcodes {
public function __construct() {
self::load_hooks();
}
public function load_hooks() {
/* Shortcode for lead conversion data table - used in new lead notification email template */
add_shortcode( '... | PHP | shared/classes/class.shortcodes.email-template.php | julsquintanilla/landing-pages | gpl-2.0 | 4,838 | 144 | codeparrot/github-code |
7acc82df602b30cffe8dfd91e976e113121f882691c72bcf1ab0c37f61ae4ebe | // -\*- C\+\+ -\*-
/*
Copyright 2005 Manuel Baptista
This file is part of cat++
cat++ 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++ | cat/array/arrayclass.C | mbaptist/cat | gpl-2.0 | 18,882 | 721 | codeparrot/github-code |
62f0c839641784fff94913562ed243fd35ee7da36a2a4b9cc1a2a2cb625849db | // Test for method java.lang.InterruptedException.getClass().getName()
// Copyright (C) 2012 Pavel Tisnovsky <ptisnovs@redhat.com>
// This file is part of Mauve.
// Mauve 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 Softwa... | Java | src/main/java/gnu/testlet/java/lang/InterruptedException/classInfo/getName.java | niloc132/mauve-gwt | gpl-2.0 | 1,628 | 54 | codeparrot/github-code |
035a6572fcfec1d9617a2db47a9fa276791b34405b0167e29bb04d188bca871f | <?php
// GET ALL THE CONFIG ITEMS FOR ELIGIBILITY
$eligibility_config = ProgramConfig( 'eligibility' );
foreach ( (array) $eligibility_config as $value )
{
${$value[1]['TITLE']} = $value[1]['VALUE'];
}
switch (date('D'))
{
case 'Mon':
$today = 1;
break;
case 'Tue':
$today = 2;
break;
case 'Wed':
$today = 3;
... | PHP | modules/Eligibility/EnterEligibility.php | vanyog/rosariosis | gpl-2.0 | 8,685 | 166 | codeparrot/github-code |
4bba112f08a316a8dacdc5c7bf805b48dacbdbea0ed040c625e3fc397173c411 | //
// Created by 孙启龙 on 2017/7/31.
//
#include<cstdio>
#include<cstring>
#include<algorithm>
#define maxn 500010
#define mod 1000000007
using namespace std;
struct p {
int n;
long long pos, ra;
p(long long pos = 0, long long ra = 0) : pos(pos), ra(ra) {}
}pp[maxn];
long long pos[maxn], lpos[maxn], rpos[m... | C++ | acm clion/LOJ 2255/LOJ 2255.cpp | sunmoyi/ACM | gpl-2.0 | 2,821 | 136 | codeparrot/github-code |
554b11454dc00057e665dcbf7d028ca5983ef1161f5e1851d0ea69b184f5a2c7 | <?php
class SwiftPageBuilderShortcode_testimonial_carousel extends SwiftPageBuilderShortcode {
public function content( $atts, $content = null ) {
$title = $order = $page_link = $items = $item_class = $el_class = $width = $el_position = '';
extract(shortcode_atts(array(
'title' => '',
... | PHP | wp-content/themes/neighborhood/includes/swift-framework/page-builder/builder/shortcodes/testimonial-carousel.php | candelom/21stGarden | gpl-2.0 | 8,060 | 212 | codeparrot/github-code |
d810b931a90e7156ed085b19aa1802354a24dd5792b16c6a9efe4e3fa8bdb87e | <?php
// NOU-RAU - Copyright (C) 2002 Instituto Vale do Futuro
// This program is free software; see COPYING for details.
/*-------------- includes --------------*/
require_once BASE . 'include/page.php';
require_once BASE . 'include/util.php';
require_once BASE . 'include/util_t.php';
/*-------------- access cont... | PHP | www/include/control.php | rafaelperazzo/nourau5 | gpl-2.0 | 1,613 | 74 | codeparrot/github-code |
8437ac8cf996c2d56f3ae3a02b99513b8f9e73e39125a87289209b69f1d209ad | <?php
/*
+-------------------------------------------------------------------------+
| Copyright (C) 2013-2019 The facileManager Team |
| |
| This program is free software; you can redistribute it and/or |
| ... | PHP | server/fm-modules/fmWifi/pages/config-servers.php | WillyXJ/facileManager | gpl-2.0 | 3,616 | 93 | codeparrot/github-code |
08828699e82e0ec6f20cc6ab2edc54b506af4d1af2656c04ef087e8fb9e6e6c7 | #ifndef FASTREAD_COLLECTORDATETIME_H_
#define FASTREAD_COLLECTORDATETIME_H_
#include <Rcpp.h>
#include "Collector.h"
#include "DateTime.h"
#include "DateTimeParser.h"
#include "DateTimeLocale.h"
std::string formatStandard(const std::string& format) {
std::string out;
out.resize(100);
// Standard time used by g... | C | src/CollectorDateTime.h | antoine-lizee/readr | gpl-2.0 | 2,233 | 101 | codeparrot/github-code |
5d83d7eb5b30f1883c2fbb14aa59d34b9a073188b621ffef58fe27c4668331e2 | /*******************************************************************************
Copyright 2010 Whole Foods Co-op
This file is part of IT CORE.
IT CORE 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 Fo... | C# | pos/is4c-nf/scale-drivers/drivers/NewMagellan/SPH_Magellan_Scale.cs | joelbrock/HARVEST_CORE | gpl-2.0 | 6,892 | 223 | codeparrot/github-code |
c1b34da794f413fd3ce5a8260caa9a68a71f2196cbae47994c9157b1d21f0bc0 | /***************************************************************************
* Copyright (C) 2006 by Jan Mayer *
* jan.mayer@mathematik.uni-karlsruhe.de *
* *
* This pr... | C | lib/arrays_implementation.h | CognitionGuidedSurgery/ILUpp | gpl-2.0 | 14,302 | 426 | codeparrot/github-code |
32974e6ee75acdd898c83e11f2c6f2951b25f4a05237be073e263b772e864a13 | /**********************************************************************
*
* sstDxf02Lib - sst dxf library
* Hosted on github
*
* Copyright (C) 2016 Uli Rehr
*
* This file may be distributed and/or modified under the terms of the
* GNU General Public License version 2 as published by the Free Software
... | C++ | sstDxf02Base.cpp | UliRehr15/sst_dxf02_lib | gpl-2.0 | 11,566 | 334 | codeparrot/github-code |
dd27a748f1be3f53213da87a8856784ec6dcfc3acdd9de8d034092a05cf15d18 | package net.j7.commons.streams;
import java.io.*;
import java.nio.charset.Charset;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import net.j7.commons.base.CommonUtils;
import net.j7.commons.base.NotNull;
public class Streams {
/** The technical logger to use. */
private static final Logger logg... | Java | commontools/commons-j7/src/main/java/net/j7/commons/streams/Streams.java | delafer/j7project | gpl-2.0 | 3,188 | 115 | codeparrot/github-code |
1644971becaae1320824a82671fe4c0fc54ed2c2e00d96d1c6fea56d8e526ad8 | #ifdef DECAF_VULKAN
#include "vulkan_driver.h"
namespace vulkan
{
// TODO: We should consolidate the management of all 3 types of
// buffers that we create (memory cache, staging and stream out
// counters). This will allow us to share the logic for the
// management of those buffers.
static inline void
_barrierStr... | C++ | src/libgpu/src/vulkan/vulkan_streamout.cpp | exjam/wiiu-emu | gpl-2.0 | 8,538 | 232 | codeparrot/github-code |
bd903ed5746aa23da2b83e4f3e894887195a8eb2e5a7fd32070dd5d66d831f97 | package garble.android;
public class Record
extends android.app.Activity
implements
mono.android.IGCUserPeer
{
static final String __md_methods;
static {
__md_methods =
"n_onCreate:(Landroid/os/Bundle;)V:GetOnCreate_Landroid_os_Bundle_Handler\n" +
"";
mono.android.Runtime.register ("Garble.Android.Re... | Java | Garble.Android/Garble.Android/obj/Debug/android/src/garble/android/Record.java | z0isch/garble | gpl-2.0 | 1,107 | 47 | codeparrot/github-code |
53212aee0bf647712500c18c18b31518f2d9b4118715197bac133bddc73dff90 | <?php
/**
* @version $Id: paginator.php 2771 2010-12-19 04:08:36Z johanjanssens $
* @category Koowa
* @package Koowa_Template
* @subpackage Helper
* @copyright Copyright (C) 2007 - 2010 Johan Janssens. All rights reserved.
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
* @link http://www.noo... | PHP | libraries/koowa/template/helper/paginator.php | srajib/share2learn | gpl-2.0 | 3,796 | 144 | codeparrot/github-code |
392189c498d0fc8763e2acbc6ed4afec995065c337ced2b73edf32f7536c3ba2 | /*
* Copyright (C) 2010 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | C | modules/web/src/main/native/Source/WebCore/rendering/RenderIFrame.h | teamfx/openjfx-8u-dev-rt | gpl-2.0 | 2,383 | 70 | codeparrot/github-code |
a7aafe005b62b8552f62b9dcce68879169868ee42e3f4aa0ae9c38886f9c129b | <?php
/**
***********************************************************************************************
* Remove HTML & PHP-Code and escape all quotes from all request parameters.
* If debug is on and change is made, log it.
*
* @copyright 2004-2022 The Admidio Team
* @see https://www.admidio.org/
* @license h... | PHP | adm_program/system/bootstrap/global_request_params.php | Admidio/admidio | gpl-2.0 | 2,136 | 62 | codeparrot/github-code |
3e233ef20da8a56d0e133d17640442a0fad3de1982797ba26a9c1e19351ef081 | // Copyright (C) 2008 Andrey Gruber (aka lamer)
// 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 pro... | C | spelling.c | mju-oss-13-a/team5-NoteMaster | gpl-2.0 | 26,282 | 840 | codeparrot/github-code |
69364d285ab152ff01f2e000fa0d0a5927aa49daf8b5b6c8d9197f116eeaead6 | package org.eevolution.api.impl;
/*
* #%L
* de.metas.adempiere.adempiere.base
* %%
* Copyright (C) 2015 metas GmbH
* %%
* 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 ... | Java | de.metas.adempiere.adempiere/base/src/main/java/org/eevolution/api/impl/ProductBOMBL.java | klst-com/metasfresh | gpl-2.0 | 3,184 | 117 | codeparrot/github-code |
6fcdace2017266de1d8ec045058999af4865d1bb590a70d0dd8634f709e0caec | /* C H M O D . C
*
* Usage: chmod asciimode|octalmode file(s)
* Where:
* asciimode: the mode to set, use [ugoa][-+][rwx] to:
* apply to (u)ser, (g)roup, (o)ther or (a)ll [default: u]
* remove(-) or set(+) bits [required],
* apply to the (r)ead, (w)rite, e(x)ec bits
* octalmode: mode as an octal numbe... | C++ | SIMPLE/CHMOD.C | marioaugustorama/uzix-apps | gpl-2.0 | 2,755 | 110 | codeparrot/github-code |
920afeecab715de43eae426fd4cc79d1a498a3caa74faf3eb4d077d9eeed13e4 | package C4::Koha;
# Copyright 2000-2002 Katipo Communications
# Parts Copyright 2010 Nelsonville Public Library
# Parts copyright 2010 BibLibre
#
# This file is part of Koha.
#
# Koha 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... | Perl | C4/Koha.pm | sopac/sopac-koha | gpl-2.0 | 37,381 | 1,338 | codeparrot/github-code |
33787d94a3a814924d96736f2bab64be3f9667defc64e104bbb47995f013ac2a | package utfx.framework;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.StringReader;
import java.lang.reflect.InvocationTargetException;
import java.net.URISyntaxException;
import javax.xml.parsers.P... | Java | src/java/utfx/framework/XSLTTransformTestCase.java | bwagner/utf-x-framework-svn-trunk | gpl-2.0 | 22,260 | 654 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.