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
c87b73d324943fc62fffa75afebc54ba507c3386ffeeec6d2d22e6807116b493
package com.intuit.tank.project; /* * #%L * JSF Support Beans * %% * 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 * which accompanies this distribution, and is available at ...
Java
web/web_support/src/test/java/com/intuit/tank/project/DataFileBrowserTest.java
kevinmcgoldrick/Tank
epl-1.0
24,714
665
codeparrot/github-code
3d49fbbaad47c3b9d721f1ae11d1d954724cc74d0b0246e3d4ebe073f36eb658
package org.birenheide.bf.debug.core; import org.birenheide.bf.InterpreterState; import org.eclipse.debug.core.DebugException; import org.eclipse.debug.core.model.IMemoryBlock; public class BfMemoryBlock extends BfDebugElement implements IMemoryBlock { private final InterpreterState state; private final long star...
Java
org.birenheide.bf.debug/src/org/birenheide/bf/debug/core/BfMemoryBlock.java
RichardBirenheide/brainfuck
epl-1.0
2,404
106
codeparrot/github-code
8f667180dcf047c241e1d5269dbaa7e05ed9529629cfd004b696f8302d8f4f57
<html><head><link type='text/css' rel='stylesheet' href='styles/javadoc.css'><link type='text/css' rel='stylesheet' href='styles/default.css'><!--<h1 class="page-title">Class: Math</h1>--> <section> <header> <h2> <span class="ancestors"><a href="Phaser.html">Phaser</a>.</span> Math </h2> </header> <article> ...
HTML
source/phasereditor/phasereditor.help.phaser/html/phaser-doc/Phaser.Math.html
boniatillo-com/PhaserEditor
epl-1.0
99,837
2,877
codeparrot/github-code
28cdf89fdd80920324398cd29776ceb643f400c7b9af0dd1033d724cd4fd9a43
/** * Copyright (c) 2015 FENECON GmbH & Co. KG. * 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.openhab.b...
Java
addons/binding/org.openhab.binding.fems/src/main/java/org/openhab/binding/fems/internal/types/IODigitalInput.java
fenecon/fenecon-openhab
epl-1.0
1,021
41
codeparrot/github-code
78d894666377dccfeca0dff0a738ff8406fd0d62d1509a02cbc12109734a75f2
package com.odcgroup.page.ui.edit; import org.eclipse.draw2d.IFigure; import org.eclipse.draw2d.geometry.Point; import org.eclipse.draw2d.geometry.Rectangle; import org.eclipse.gef.DragTracker; import org.eclipse.gef.Request; import org.eclipse.gef.requests.SelectionRequest; import com.odcgroup.page.ui.figure.scroll....
Java
designstudio/components/page/ui/com.odcgroup.page.ui/src/main/java/com/odcgroup/page/ui/edit/ScrollableWidgetEditPart.java
debabratahazra/DS
epl-1.0
3,822
130
codeparrot/github-code
d2f25a3a2e08b325b4adda1f093963dc779f56a28dd2d2587f37418db4053c71
//////////////////////////////////////////////////////////// // // // This file is part of the VRPH software package for // // generating solutions to vehicle routing problems. // // VRPH was developed by Chris Groer (cgroer@gmail.com). // // ...
C
inc/VRPNode.h
snoopyxu/vrph
epl-1.0
1,545
58
codeparrot/github-code
4e4e8350249b61a86cbbecd2b13dc17f1fcd7c42fe30e095631a5f6978ce4407
/******************************************************************************* * Copyright (c) 2004, 2005 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
bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/chtml/HedIMG.java
ttimbul/eclipse.wst
epl-1.0
2,893
88
codeparrot/github-code
44cf73face985b3323933fc9b210c1522690643c4be1329d09d5b884e0089e02
# vi: ts=4 expandtab syntax=python ############################################################################## # Copyright (c) 2008 IBM Corporation # 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 distr...
Python
py/ovf/OvfPlatform.py
Awingu/open-ovf
epl-1.0
2,476
84
codeparrot/github-code
f82133adb1f246de20c11df354cd2740ba68a7922f01c6c11051b92cdf8253f0
/* * 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.framework.generator.compiler/src/main/org/nabucco/framework/generator/compiler/transformation/java/view/NabuccoToJavaRcpViewVisitorSupportUtil.java
NABUCCO/org.nabucco.framework.generator
epl-1.0
9,473
190
codeparrot/github-code
82fe0f5c2702ea4d594b8aa6bdcb027b952fa121c80ababcd640c0d7c59ff616
/* @(#)draw.c 1.1 */ #include <stdio.h> #include <math.h> #include <stdlib.h> #include "motion.h" #include "ext.h" #define PI 3.141592654 extern int size; extern int pstab[]; extern int DX; /* step size in x */ extern int DY; /* step size in y */ extern int drawdot; /* character to use when drawing */ exter...
C
laserjet/dpcl/draw.c
n-t-roff/DWB3.3
epl-1.0
8,551
442
codeparrot/github-code
c7c4c0acd691a96ca21fecb853c3b61079c9f41c750a29fd7c839f6b756799e8
package com.ge.research.sadl.ui.preferences; import org.eclipse.jface.preference.BooleanFieldEditor; import org.eclipse.jface.preference.RadioGroupFieldEditor; import org.eclipse.jface.preference.StringFieldEditor; import org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage; import org.eclipse.xtext.ui.e...
Java
sadl3/com.ge.research.sadl.parent/com.ge.research.sadl.ui/src/com/ge/research/sadl/ui/preferences/SadlRootPreferencePage.java
brfeddersen/sadlos2
epl-1.0
2,875
39
codeparrot/github-code
39f0b3033c86bcc0ed173f4eedb4919e821df87e62fb951b87da34b9ac042690
/** * Copyright (c) 2014-2017 by the respective copyright holders. * 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 */ pa...
Java
bundles/core/org.eclipse.smarthome.core.voice/src/main/java/org/eclipse/smarthome/core/voice/text/ExpressionSequence.java
AchimHentschel/smarthome
epl-1.0
2,583
84
codeparrot/github-code
0c2628d609ec5491f8ee55111f96e8683f9416780cd8b9437f9292556c741f8d
<?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-A15A9D74-8627-3BE6-ADA5-9EE2BEEB9847.html
warlordh/fork_Symbian
epl-1.0
25,583
1,110
codeparrot/github-code
abff44959e33d7ab01d1d8662426782f2eb12a549434a70af2d944ed3e9ab3e9
/* * Sonatype Nexus (TM) Open Source Version * Copyright (c) 2008-present Sonatype, Inc. * All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions. * * This program and the accompanying materials are made available under the terms of the Eclipse Public...
Java
components/nexus-orient/src/main/java/org/sonatype/nexus/orient/DatabaseCheckpointSupport.java
sonatype/nexus-public
epl-1.0
3,928
115
codeparrot/github-code
8df756582332d8f31ccfb95939d13985f72b5c156e8bae2a50e80a09f2a76a75
<?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-5A2A7569-D44D-374F-AD38-9EFFDE871B4A.html
warlordh/fork_Symbian
epl-1.0
8,349
331
codeparrot/github-code
54bd0b811d4f68f057feb2eda6ba81b3b188cab6b2a004184a3605d16575a878
#region CPL License /* Nuclex Framework Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as published by the IBM Corporation; either version 1.0 of the License, or (at your option) any later version...
C#
src/Nuclectic.Geometry/Lines/Ray2.cs
illuminus86/NuclecticFramework
epl-1.0
4,611
124
codeparrot/github-code
7e29b53617f58216176a99c29ad8729d885d1ed993c19835956970e2d3b39152
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) braces deadcode package net.minecraft.src; import java.util.List; import java.util.Random; // Referenced classes of package net.minecraft.src: // ...
Java
moCreatures/server/core/sources/net/minecraft/src/EntityMinecart.java
sehrgut/minecraft-smp-mocreatures
epl-1.0
27,522
869
codeparrot/github-code
a4760c76ea2d74edc3a170309b8b7fe3c151f27edd2aa9f8de3ba4b07e419542
/* * Copyright (c) 2014 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
opendaylight/md-sal/sal-dom-broker/src/test/java/org/opendaylight/controller/md/sal/dom/store/impl/tree/data/ModificationMetadataTreeTest.java
niuqg/controller
epl-1.0
10,395
259
codeparrot/github-code
eaaa169be8ea519e91ce229b218a402a5246f6bbf0aa5674017e4d3a0233e1a1
package net.trajano.ms.engine.test; import io.vertx.core.Vertx; import io.vertx.core.VertxOptions; import io.vertx.core.dns.AddressResolverOptions; import io.vertx.core.http.HttpClient; import io.vertx.core.http.HttpClientOptions; import net.trajano.ms.engine.internal.resteasy.VertxClientEngine; import org.jboss.reste...
Java
ms-engine/src/test/java/net/trajano/ms/engine/test/VertxClientTest.java
trajano/app-ms
epl-1.0
1,822
48
codeparrot/github-code
ed307f359a40bba7bcc9065e8a1edd716a712e06f12ea8d94bf19efc808fd7c0
/******************************************************************************* * Copyright (c) 2014 Bruno Medeiros and other Contributors. * 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 distrib...
Java
plugin_ide.ui/src-lang/melnorme/util/swt/components/AbstractComponent.java
happyspace/goclipse
epl-1.0
3,307
101
codeparrot/github-code
1ab90195226fbbbb666897c434ce43aae9b391f32b796d413c2a1be295f65ddd
/* ****************************************************************************** * Copyright (c) 2014 - 2015 Fabian Prasser. * 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
src/swt/de/linearbits/jhc/GraphicsSWT.java
prasser/jhc
epl-1.0
9,146
330
codeparrot/github-code
b0871f905908e62749724d43ffeb111cd66536c740a29f1f4fee0a97f1cb76a9
var library = require('./library.js'); var check_cond = function(num, div, start) { var n = ''; for(var i = start; i < start + 3; i++) { n = n + num.toString().charAt(i - 1); } if(parseInt(n) % div === 0) { return true; } return false; } var check_all = function(num)...
JavaScript
other-lang/js/solve0043.js
xitkov/projecteuler
epl-1.0
2,372
156
codeparrot/github-code
fea44ff5908f6451473f1a19414450f7632a4dbdb9d32019e97e8bdcfc4f9c78
package org.productivity.java.syslog4j.impl; import java.util.List; import org.productivity.java.syslog4j.SyslogConfigIF; /** * AbstractSyslogConfigIF provides an interface for all Abstract Syslog * configuration implementations. * * <p>Syslog4j is licensed under the Lesser GNU Public License v2.1. A cop...
Java
src/slag/java/org/productivity/java/syslog4j/impl/AbstractSyslogConfigIF.java
kerbyfc/slag
epl-1.0
1,753
57
codeparrot/github-code
30dc7bc7f74445ddafd991d1b6b4c5ea900ca17cce02f5058b7e8c6dbaed63fc
/* * AutoRefactor - Eclipse plugin to automatically refactor Java code bases. * * Copyright (C) 2013 Jean-Noël Rouvignac - initial API and implementation * * 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 Fr...
Java
samples/src/test/java/org/autorefactor/jdt/internal/ui/fix/samples_out/ReduceVariableScopeSample.java
rpau/AutoRefactor
epl-1.0
1,995
67
codeparrot/github-code
bd0f27686d52663e64c2e2b0ec4fc6e5436199c6a892d28fee6fd48ca42c2248
/******************************************************************************* * Copyright (c) 1998, 2013 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. ...
Java
jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/models/jpa/inheritance/Vehicle.java
bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs
epl-1.0
4,050
121
codeparrot/github-code
cbef9cdf6cd174952c1e448d4bfc4da4f2bdcc670a2cbd57629cd7f9f6b4a84e
/******************************************************************************* * 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/rest/TagListWriter.java
sunix/che-plugins
epl-1.0
3,244
84
codeparrot/github-code
915e9baf84b853fdd1bb55f3b0be64f1c651477e0e7a5a3fad9447d892ca8614
/******************************************************************************* * Copyright (c) 2012-2017 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
plugins/plugin-docker/che-plugin-docker-machine/src/main/java/org/eclipse/che/plugin/docker/machine/DockerProcess.java
gazarenkov/che-sketch
epl-1.0
9,181
194
codeparrot/github-code
4578ef0c5f048680cd47c85757c2dcfb6a7303642a2bef30ee289df0cfffcabc
/******************************************************************************* * Copyright (c) 2011, 2016 Eurotech and/or its affiliates 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...
Java
console/src/main/java/org/eclipse/kapua/app/console/client/ui/button/Button.java
cbaerikebc/kapua
epl-1.0
1,547
49
codeparrot/github-code
e2c5fec7d8728b06aeb5e7f16e11ee25efec41d640a696d566d298d954c9e3ec
/* Start of Program */ import javax.swing.*; import java.awt.event.*; import javax.sound.sampled.AudioInputStream; import javax.sound.sampled.AudioSystem; import javax.sound.sampled.Clip; public class RacerStart extends JFrame { public static boolean gameFreaky = false; public static boolean buttonState = fals...
Java
RacerStart.java
boyneg/GitLabLession
epl-1.0
3,698
132
codeparrot/github-code
b982af981f38c855f6c9a6a800a9829b4cbfb9a674fa14cbf755ed79e49f8e1f
\section{Double-counting the evidence} \begin{enumerate} \item we need 5 parameters \item \begin{table}[H] \centering \caption{Values for Y=T} \label{Probabilities} \begin{tabular}{|l|l|l|} \hline \textbf{X1} & \textbf{X2} & \textbf{Y=T} \\ \hline T & T & 0.8*0.5 = 0.4 \\ \hline T & F ...
TeX
Assignment-3/hw3_template/questions/naive_bayes_with_repeated_x_template.tex
arpitpanwar/CIS520_Assignments
epl-1.0
4,199
144
codeparrot/github-code
9741f921e9535723d94388636180d3530dfe61f6a288f8ffdc72855c2ee33e5c
package me.chaopeng.chaosblog.utils.cli_utils; import org.apache.commons.cli.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.HashMap; /** * 命令行参数类 * * @author chao */ public class CliUtils { private static final Logger logger = LoggerFactory.getLogger(CliUtils.class); priva...
Java
src/main/java/me/chaopeng/chaosblog/utils/cli_utils/CliUtils.java
chaopeng/chaosblog
epl-1.0
1,496
52
codeparrot/github-code
71f3ce73b49471b761793808cb1cada7cdc0c71d0fd53d18756fe1d17e649b36
<?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-85216F24-41D0-3269-8B63-778D0C2E035E.html
warlordh/fork_Symbian
epl-1.0
6,682
214
codeparrot/github-code
3bfc8fe392984e9b228e96b595acbd8f6ed82387f78a604f114153f79ba9f5a8
package com.codeaffine.eclipse.ui.progress; import static com.codeaffine.eclipse.ui.progress.ThreadHelper.sleep; import java.util.ArrayList; import java.util.Collection; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.ui.model.IWorkbenchAdapter; import org.eclipse.ui.progress.IDeferredWorkbenchAdapter...
Java
com.codeaffine.eclipse.ui.test/src/com/codeaffine/eclipse/ui/progress/TestItem.java
jbuchberger/xiliary
epl-1.0
1,537
67
codeparrot/github-code
14c5992d5224845088f2d9386809557e1cf520449819997b6ffab65d5f5b3008
/* * Copyright (c) 2014 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
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/config/yang/config/concurrent_data_broker/DomConcurrentDataBrokerModuleFactory.java
qqbbyq/controller
epl-1.0
1,546
33
codeparrot/github-code
619ac3160546567f57c234ba6a8c03e642232aa9cb9a353bbbd00399157690db
/******************************************************************************* * Copyright (c) 1998, 2013 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. ...
Java
jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/models/weaving/SimpleObject.java
bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs
epl-1.0
3,716
146
codeparrot/github-code
67ab35e59af7d5fad6ae4c093596b61eff24f7c313b5adbf64d3da87cabbb019
<?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-5CA44E91-E8EE-3422-8D83-C3C9D6BBB11D.html
warlordh/fork_Symbian
epl-1.0
13,212
540
codeparrot/github-code
1855eb50a59cb4e8a1672fc22209b2d7df2d60cdbcb8d16377f7f951b29c18ff
/** * Copyright (c) 2015 SK holdings Co., Ltd. All rights reserved. * This software is the confidential and proprietary information of SK holdings. * You shall not disclose such confidential information and shall use it only in * accordance with the terms of the license agreement you entered into with SK holdin...
Java
nexcore.tool.uml.ui.analysis/src/java/nexcore/tool/uml/ui/analysis/activitydiagram/command/DeleteActivityPartitionNodeCommand.java
SK-HOLDINGS-CC/NEXCORE-UML-Modeler
epl-1.0
5,522
166
codeparrot/github-code
9fc6db1c2cf399678bfca5adca4578c10b6d0e68db9fcf55279e5fd0fb30a9ca
/** * Copyright (c) 2017 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: * - Faiez Zalil...
Java
plugins/org.eclipse.cmf.occi.core.editor/src-gen/org/eclipse/cmf/occi/core/presentation/OCCIModelWizard.java
occiware/OCCI-Studio
epl-1.0
17,927
637
codeparrot/github-code
6a60139f87a317cb6c8eb7c3f3147b9d041ba29ace49f9237663a5040eec493a
/* * Copyright (c) 2014, 2015 Eike Stepper (Berlin, Germany) 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
plugins/org.eclipse.oomph.setup.edit/src/org/eclipse/oomph/setup/provider/InstallationTaskItemProvider.java
peterkir/org.eclipse.oomph
epl-1.0
5,393
164
codeparrot/github-code
8d93910179bb96cf42779b0fbcdb407a2b2e6f363a73f18ea675a3449ba7077e
/* * (C) Copyright 2015 Netcentric AG. * * 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 biz.netcentric.aem....
Java
accesscontrolvalidator-bundle/src/main/java/biz/netcentric/aem/tools/acvalidator/gui/yaml/model/ConfigurationNode.java
Netcentric/access-control-validator
epl-1.0
2,809
122
codeparrot/github-code
68c3332bb064e7c24c92e80c0905a6b17168e4acb6b3d366978e2959b7b6cf17
package org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.action.pop.mpls.action._case; import java.util.Map; import org.opendaylight.yangtools.yang.binding.Augmentation; import java.util.HashMap; import java.util.List; import com.google.common.collect.Range; import java.util.ArrayList; import...
Java
opendaylight/md-sal/model/model-flow-base/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/urn/opendaylight/action/types/rev131112/action/action/pop/mpls/action/_case/PopMplsActionBuilder.java
niuqg/controller
epl-1.0
7,204
165
codeparrot/github-code
03ff85129401fc7bb12be1c9d759d78a6dc7112796dc83c6621f4d45e91c3a6b
/* * Copyright (c) 2015-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: * Red H...
TypeScript
dashboard/src/components/api/environment/compose-environment-manager.ts
sudaraka94/che
epl-1.0
11,054
379
codeparrot/github-code
3ef2a04fcd9252793a8213118e88ce72d9be392d23ca01e650bc786f8929c30a
package org.hamcrest.collection; import java.util.Arrays; import org.hamcrest.Description; import org.hamcrest.Factory; import org.hamcrest.Matcher; import org.hamcrest.TypeSafeMatcher; /** * Matcher for array whose elements satisfy a sequence of matchers. * The array size must equal the number of element matchers...
Java
lib/hamcrest-1.3/hamcrest-library/src/main/java/org/hamcrest/collection/IsArray.java
jasonCarNormal0101/StockAdviser
epl-1.0
3,007
99
codeparrot/github-code
25e34761b0a4f7dcf6457de44df94dd0ab1d6c47846bcb64a5237f25e7f93941
/******************************************************************************* "FreePastry" Peer-to-Peer Application Development Substrate Copyright 2002-2007, Rice University. Copyright 2006-2007, Max Planck Institute for Software Systems. All rights reserved. Redistribution and use in source and binary forms, ...
Java
core/org.cmg.jresp.pastry/pastry-2.1/src/org/mpisws/p2p/transport/peerreview/replay/playback/ReplaySocket.java
michele-loreti/jResp
epl-1.0
6,880
208
codeparrot/github-code
3abb653fff2a645ca11c5c8c3004216b49d9e111805372f2a1f9b8385873c5cf
/* * Licensed Materials - Property of Cirrus Link Solutions * Copyright (c) 2016 Cirrus Link Solutions LLC - All Rights Reserved * Unauthorized copying of this file, via any medium is strictly prohibited * Proprietary and confidential */ package com.cirruslink.sparkplug.message.model; import java.util.Objects; ...
Java
client_libraries/java/src/main/java/com/cirruslink/sparkplug/message/model/Parameter.java
Cirrus-Link/Sparkplug
epl-1.0
2,232
101
codeparrot/github-code
75347765947d60bc7d04cf40e9d7dedd6fd9a7655f24778ca47c9d5da2812fb5
/* * Copyright (c) 2015-2018 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: * Red H...
TypeScript
dashboard/src/components/interceptor/e-tag-interceptor.ts
sleshchenko/che
epl-1.0
1,660
66
codeparrot/github-code
830d1166cc95bbccb1c1610ab0e71db59dd320bc59844ef98834efbbe440ba5a
package uk.ac.lancs.comp.khatchad.rejuvenatepc.ui.views; import org.eclipse.contribution.xref.internal.ui.utils.XRefUIUtils; import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jface.action.Action; import org.eclipse.jface.viewers.ISelection; import org.eclipse.jface.viewers.IStructuredSelection; import org.e...
Java
uk.ac.lancs.comp.khatchad.rejuvenatepc.ui/src/uk/ac/lancs/comp/khatchad/rejuvenatepc/ui/views/DoubleClickAction.java
khatchad/Rejuvenate-Pointcut
epl-1.0
1,120
39
codeparrot/github-code
174003a51c711f33266f9f514634d552527bcdae270e5c8855dc69459a90d193
/** */ package org.omg.CVLMetamodelMaster.cvl.provider; import java.util.Collection; import java.util.List; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; import org.eclipse.emf.edit.provider.II...
Java
fr.inria.diverse.kcvl.metamodel.edit/src/main/java/org/omg/CVLMetamodelMaster/cvl/provider/ObjectHandleItemProvider.java
diverse-project/kcvl
epl-1.0
3,826
133
codeparrot/github-code
86786284fa7f348248ae8f04c3c6a2710c53a159d36a6222b664bfe94cf7a55d
var gulp = require('gulp'); var sourcemaps = require('gulp-sourcemaps'); var source = require('vinyl-source-stream'); var buffer = require('vinyl-buffer'); var browserify = require('browserify'); var watchify = require('watchify'); var babel = require('babelify'); var jade = require('gulp-jade'); var connect = require(...
JavaScript
gulpfile.js
circuitsim/circuit-simulator
epl-1.0
2,998
125
codeparrot/github-code
f7fd1a03cb7448079de6cad1d35395b07fdf8d539f6dc6a94a8afc9bffd28f6f
/** * Copyright (c) 2014-2015 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
src/cafe/image/jpeg/COMBuilder.java
nagyistoce/icafe
epl-1.0
796
38
codeparrot/github-code
f8a7ac941b7853436f141e58b5996233a637debfe27e6e75c21b1c122bf158d4
/* * Copyright (c) 2020 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
C++
TMessagesProj/jni/voip/webrtc/modules/video_coding/codecs/vp9/libvpx_vp9_encoder.cc
DrKLO/Telegram
gpl-2.0
76,792
1,954
codeparrot/github-code
22bac23acdcd3b2176ebb876cd83e8c19899781d40e3fcb61a4f2b6b82c9c460
#include <iostream> #include <vector> #include <iterator> #include <queue> #include <functional> #include <algorithm> using std::cin; using std::cout; using std::vector; using std::swap; using std::less; using std::endl; using std::cerr; struct TNode { int key; int index[2]; TNode() { index[0...
C++
homework/alg/3/floating_k_statisctic.cpp
abcdw/shad
gpl-2.0
5,671
286
codeparrot/github-code
781e482b45052b50a521614578ef09b58948c0bbbe0f3a2811c630b183d3cb3a
/* Copyright 2009-2011 Jay Conrod * * This file is part of Tungsten. * * Tungsten is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 2 of * the License, or (at your option) any late...
C
llvm/runtime/objects.h
jayconrod/tungsten
gpl-2.0
2,778
84
codeparrot/github-code
7a0b45d83cb4916ce46f9e4042f55deb831aba290203468642b740499520942e
/* * Password Management Servlets (PWM) * http://www.pwm-project.org * * Copyright (c) 2006-2009 Novell, Inc. * Copyright (c) 2009-2016 The PWM Project * * 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 Soft...
Java
src/main/java/password/pwm/util/Helper.java
bonhamcm/pwm
gpl-2.0
21,609
517
codeparrot/github-code
95b31d584e4f6c0e944122eababb7f14be9c9f4dc6244d6937dedf2bfbcb0378
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.myapp.struts; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.apache.struts.action.ActionForm; impor...
Java
src/java/com/myapp/struts/LoginAction.java
kawzar/tdp
gpl-2.0
1,684
50
codeparrot/github-code
f38e21744ae18a056c8e68e5cafbdfccead24aea01c1f3c08d54bb6a61356395
<?php /*The supplier transaction uses the SuppTrans class to hold the information about the invoice or credit note the SuppTrans class contains an array of GRNs objects - containing details of GRNs for invoicing/crediting and also an array of GLCodes objects - only used if the AP - GL link is effective */ include('in...
PHP
SuppTransGLAnalysis.php
fahadhatib/KwaMoja
gpl-2.0
9,263
235
codeparrot/github-code
426182b2f4d6bcc3c9c8941518628b9df03838c05323a81e8508a25650ec7163
/* * Project Danielle (v.1) * Daniel Tixier * Started 3/8/2013. * * Major shell work completed 3/19. * Major GUI work completed 3/29. * Major initial bid/play logic completed 3/31. * Major debugging started 3/31, break took from 4/2 - 4/16. * Worked on displaying card pics, completed 4/21. * Running prototyp...
Java
Danielle_1.java
digitgopher/danielle
gpl-2.0
68,662
1,681
codeparrot/github-code
ca5c56a7192099580ae6c433177880e5625c4574321abd1461f9efaf6c97d6a6
<?php /** * New Social Comments - плагин для социальных комментариев * * Версия: 1.0.7 * Автор: Александр Вереник * Профиль: http://livestreet.ru/profile/Wasja/ * GitHub: https://github.com/wasja1982/livestreet_newsocialcomments * * Основан на плагинах: * 1) "OpenComments" (автор: flexbyte, модификац...
PHP
PluginNewsocialcomments.class.php
wasja1982/livestreet_newsocialcomments
gpl-2.0
7,613
196
codeparrot/github-code
64a9f7de0df15fd7fd7b0163def5af74ac5c26a9f551fa6c0465972e3af47496
/* * Copyright (c) 2012, 2014, Oracle and/or its affiliates. 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 ...
Java
graal/com.oracle.graal.lir.sparc/src/com/oracle/graal/lir/sparc/SPARCBitManipulationOp.java
BunnyWei/truffle-llvmir
gpl-2.0
6,018
153
codeparrot/github-code
43d3beb8a053d7abdaf5b95879cd1c130a3f12249db513e936279732b43ce6b9
<?php /* * Copyright 2004 $ThePhpWikiProgrammingTeam * Copyright 2009-2010 Marc-Etienne Vargenau, Alcatel-Lucent * * This file is part of PhpWiki. * * PhpWiki 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...
PHP
lib/plugin/WikiAdminSetAclSimple.php
bclementcsp/wiki
gpl-2.0
6,659
193
codeparrot/github-code
454f39f601bf5dc7cb3cf289d4afe4bca6986e8e1b604be8cf43e5dc50ca74e5
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>OpenVAS Scan Report</TITLE> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- BODY { BACKGROUND-COLOR: #ffffff } A { TEXT-DECORATION: none } A:visited { COLOR: #0000cf; TE...
HTML
resources/results/project_id_4_2011-03-09_1299692064.46.html
pblondin/phoenorama
gpl-2.0
35,495
707
codeparrot/github-code
35cda8b91cfb3d9fe823d6829077977e79724b3f943f8695ed9e751ee7d33bd4
/* * 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 ver...
C#
GameServer/gameutils/Specialization.cs
dudemanvox/Dawn-of-Light-Server
gpl-2.0
13,792
447
codeparrot/github-code
fcda470548fee57b6239963feb42c3d3e73c36c5695332948a1108e51babb975
<?php /** * @defgroup subscription */ /** * @file classes/subscription/InstitutionalSubscription.inc.php * * Copyright (c) 2013 Simon Fraser University Library * Copyright (c) 2003-2013 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * @class InstitutionalSubsc...
PHP
classes/subscription/InstitutionalSubscription.inc.php
ubiquitypress/OJS-Draft-Editorial
gpl-2.0
2,896
129
codeparrot/github-code
bceb0cfbf249942884d4f66ad1741f73df6393fdd4952d526a2c131d73ebeb07
<?php ################################################## # # Copyright (c) 2004-2021 OIC Group, Inc. # # This file is part of Exponent # # Exponent 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 ver...
PHP
framework/plugins/bootstrap/block.pop.php
exponentcms/exponent-cms
gpl-2.0
3,419
96
codeparrot/github-code
13e34242a7c66badbc715f38664710a0bc101bfe896cf9b538dadfbbf79e0e44
/* * Copyright (C) 2004-2008 Georgia Public Library Service * Copyright (C) 2007-2008 Equinox Software, Inc. * Mike Rylander <miker@esilibrary.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 Softwar...
SQL
Open-ILS/src/sql/Pg/020.schema.functions.sql
kbeswick/evergreen
gpl-2.0
11,379
322
codeparrot/github-code
878d930b1e9e60acb516074e3f7b70bfd2ccf0577736b0450d2c0e43768d9b2d
/* * Copyright (C) 2010. Adam Barth. 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 condi...
C
Source/WebCore/loader/DocumentWriter.h
sloanyang/android_external_webkit
gpl-2.0
3,577
100
codeparrot/github-code
42dfa6143a4c728002e75a82a5314d9614606bda04a81655821f2f8161663046
{-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_HADDOCK show-extensions #-} -- | -- Module : Yi.Keymap.Vim.Ex.Commands.Edit -- License : GPL-2 -- Maintainer : yi-devel@googlegroups.com -- Stability : experimental -- Portability : portable -- -- Implements quit commands. module Yi.Keymap.Vim.Ex.Command...
Haskell
src/library/Yi/Keymap/Vim/Ex/Commands/Edit.hs
atsukotakahashi/wi
gpl-2.0
1,401
46
codeparrot/github-code
33a193da6b9ad771a345c260b8af0f2e18518b94d81cc378de0cf693279edd54
#include "pdns/namespaces.hh" #include <pdns/dns.hh> #include <pdns/dnsbackend.hh> #include <pdns/dnspacket.hh> #include <pdns/ueberbackend.hh> #include <pdns/ahuexception.hh> #include <pdns/logger.hh> #include <pdns/arguments.hh> #include <boost/lexical_cast.hpp> #include <rapidjson/rapidjson.h> #include <rapidjson/do...
C++
modules/remotebackend/test-remotebackend-post.cc
zeha/debian-pdns
gpl-2.0
1,610
74
codeparrot/github-code
a37c88361d5b0f7062630d439992a35d205ff1b1541673492080d2f4086aae23
/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ // vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4: #ident "$Id$" /* COPYING CONDITIONS NOTICE: 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 th...
C++
portability/toku_crash.cc
oscarlab/betrfs
gpl-2.0
7,751
213
codeparrot/github-code
7e8f4343530233c5cf962b837d0d851e5ec31c3b2094438b2c2517fd5e84932d
/* Copyright (c) 2013, 2017, Oracle and/or its affiliates. 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 as published by the Free Software Foundation; version 2 of the License. This program is distributed i...
C
sql/conn_handler/named_pipe_connection.h
gunnarku/mysql-8.0
gpl-2.0
2,144
79
codeparrot/github-code
3d6c12990958dfd549dd3455084ace674a4d92497bc02ff07b1dd4db70309110
#include <unistd.h> #include <string.h> #include <signal.h> #include <sys/wait.h> #include <errno.h> #include <vdr/tools.h> #include <vdr/thread.h> #include "extpipe.h" cExtPipe::cExtPipe(void) { pid = -1; f_stderr = -1; f_stdout= -1; } cExtPipe::~cExtPipe() { int status; Close(status); } bool...
C++
extpipe.cpp
kersten/vdr-plugin-xmltv2vdr
gpl-2.0
3,129
148
codeparrot/github-code
f6cfb02fbda01fd7e95e57a87e103a9cd34903f21b0cb387ef2f2550fe823441
/* * Copyright (c) 2012, 2013, Oracle and/or its affiliates. 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 ...
Java
graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/inlining/InliningTest.java
mur47x111/GraalVM
gpl-2.0
18,211
458
codeparrot/github-code
8497fb5e32adfd51a5f3076139794a2849fc80b283d965f2f4523eb75c790d67
/* * Copyright (c) 2001-2003,2005 Silicon Graphics, Inc. * 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 as * published by the Free Software Foundation. * * This program is distributed in the hope that it woul...
C
src/xfsprogs/io/imap.c
neerajrawat/fusexfs-3.1.4
gpl-2.0
1,868
78
codeparrot/github-code
5b34524b642c7a25933bc90c530e5a42fe905e3822d11cc673af6fa16e74cd66
/* * Freescale QUICC Engine USB Host Controller Driver * * Copyright (c) Freescale Semicondutor, Inc. 2006, 2011. * Shlomi Gridish <gridish@freescale.com> * Jerry Huang <Chang-Ming.Huang@freescale.com> * Copyright (c) Logic Product Development, Inc. 2007 * Peter Barada <...
C
drivers/usb/host/fhci-sched.c
jwhitham/ppc_linux
gpl-2.0
24,381
899
codeparrot/github-code
5ff08e4d649d9ed4e986f0c51510292e22314345efd8f166b1da7b8512627a24
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(rec...
Lua
plugins/admin.lua
pedishield/Persian_King
gpl-2.0
7,164
210
codeparrot/github-code
34beffe690a1cf1632c36caaca7e3a64e3ccf4fa8b442310b2e0cc91448929f7
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Setup\Declaration\Schema\Dto\Factories; use Magento\Framework\ObjectManagerInterface; /** * Text DTO element factory. */ class Text implements FactoryInterface { /** * Default...
PHP
lib/internal/Magento/Framework/Setup/Declaration/Schema/Dto/Factories/Text.php
kunj1988/Magento2
gpl-2.0
1,203
56
codeparrot/github-code
12b12a3f3767ac76f4ad9be0a7260ef6d18690d2450f5471bb5b80be30698d14
<?php /* @var Title $title */ /* @var WikiaGlobalRegistry $wg */ $commentsCounter = wfMessage( 'oasis-comments-header', $wg->Lang->FormatNum( $countCommentsNested ) )->text(); ?> <h3> <?= wfMessage('article-comments-toc-item')->text() ?> <span><?= wfMessage( 'parentheses', $commentsCounter )->text() ?></span> </h3> ...
PHP
extensions/wikia/ArticleComments/modules/templates/ArticleCommentsController_VenusContent.php
felixonmars/app
gpl-2.0
2,976
72
codeparrot/github-code
1fc354783bd2309da98af13c52ce46c53244622a8479bcebad636c829b6dd8c0
/* * Copyright (C) 2013-2015 DeathCore <http://www.noffearrdeathproject.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 of the License, or (at your * option) any l...
C++
src/server/scripts/Kalimdor/LostCityOfTheTolvir/instance_lost_city_of_the_tolvir.cpp
Stenlibg/4.3.4
gpl-2.0
8,766
263
codeparrot/github-code
664c16369901e1f9a597709083513a02c592a3d46d4cc877ed4ff688d73a0804
/* Updates fields based on checkbox changes */ var PRFtoggleEnabled = function(cbox, id, type) { oldval = cbox.checked ? 0 : 1; var dataS = { "action" : "toggleEnabled", "id": id, "type": type, "oldval": oldval, }; data = $.param(dataS); $.ajax({ type: "POST"...
JavaScript
js/toggleEnabled.js
leegarner-glfusion/profile
gpl-2.0
2,241
67
codeparrot/github-code
34917fb8f81365be5b16ab2f6f3cf0dbd463df96f93f0214dbc3b5df8ba10783
<!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> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="pragma" content="no-cache" /> <title>ASH-Crew</ti...
HTML
index.html
aszel/aszel2
gpl-2.0
2,666
89
codeparrot/github-code
30dd071991cde940dc17b1acf388422cfa6abfe9024fdd4e58c72a355d4b48a4
/* $Id: disco_provider_id.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $ * * Lasso - A free implementation of the Liberty Alliance specifications. * * Copyright (C) 2004-2007 Entr'ouvert * http://lasso.entrouvert.org * * Authors: See AUTHORS file in top-level directory. * * This program is free software; you can re...
C
lasso/xml/id-wsf-2.0/disco_provider_id.c
adieu/lasso
gpl-2.0
3,714
127
codeparrot/github-code
39dea6b4ade66bce0d81120ba8d926138cd38333d514edc19c467756aed2e61c
package com.ug.telescopio.fragments; import java.util.ArrayList; import java.util.Arrays; import android.content.Intent; import android.content.res.Configuration; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.view.ContextMenu; import an...
Java
Demo 8 - navigation drawer pasando contenido a fragmentos/src/com/ug/telescopio/fragments/CountriesListFragment.java
ykro/androidmooc-clase2
gpl-2.0
4,216
121
codeparrot/github-code
d919fd33f47b06d8d66559c5072b5cc8b476d9f2affd873a4187b2fbed6d266f
/* * 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
softphone/src/com/sun/mc/softphone/media/alsa/AlsaAudioServiceProvider.java
damirkusar/jvoicebridge
gpl-2.0
2,986
103
codeparrot/github-code
23d008f2d17ee971e900138dadae529d2751b5014ff867bae4df0707b9d0cf6a
#resource, resources, Resources from flask import Blueprint, render_template, request,flash, redirect, url_for from app.{resources}.models import {Resources}, {Resources}Schema {resources} = Blueprint('{resources}', __name__, template_folder='templates') #http://marshmallow.readthedocs.org/en/latest/quickstart.ht...
Python
scaffold/app/views.py
jstacoder/Flask-Scaffold
gpl-2.0
3,123
89
codeparrot/github-code
e13edbb96dcb5ad1328527af0ee573e8f6ff54544e1a3078ecca873bf8c86b0f
# -*- coding: utf-8 -*- """ /*************************************************************************** DsgTools A QGIS plugin Brazilian Army Cartographic Production Tools ------------------- begin : 2019-04-26 git sha ...
Python
core/DSGToolsProcessingAlgs/Algs/LayerManagementAlgs/groupLayersAlgorithm.py
lcoandrade/DsgTools
gpl-2.0
8,547
227
codeparrot/github-code
c93be5d90af8c1964d6ca51d9b893bcda70581c089fcad6a3e366e29ba04b1fa
<?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2014 osCommerce Released under the GNU General Public License */ class cm_paypal_login { var $code; var $group; var $title; var $description; var $sort_order; var $enabled = false; ...
PHP
includes/modules/content/login/cm_paypal_login.php
geraldbullard/osCommerce-v2.3.4-Responsive-Admin
gpl-2.0
31,720
752
codeparrot/github-code
b0a4b6bd1186e74af0f6a81dd4a774efdbc40d91b174f22475bb5b9f8e77c26b
/* * Adium is the legal property of its developers, whose names are listed in the copyright file included * with this source distribution. * * 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; ...
C
Source/AIEditAccountWindowController.h
mosleyjr/Adium
gpl-2.0
2,153
58
codeparrot/github-code
b8017cd3877ab1fe85d0731a6ee8b88e8aae6eb31db45f33b054746cb5405490
<?php /* @var $this CategoryController */ /* @var $model Category */ $this->breadcrumbs = array( 'Categories' => array('index'), 'Manage', ); Yii::app()->clientScript->registerScript('search', " $('.search-button').click(function(){ $('.search-form').toggle(); return false; }); ...
PHP
protected/views/admin/category/admin.php
sonha/camera
gpl-2.0
3,180
88
codeparrot/github-code
50d3123f1d0978ef313ec2d4bbda299d7acf435c2916d1e7cb5e046db7adba98
/* * Copyright 2002-2017 the original author or authors. * * Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
3rdParty_sources/spring/org/springframework/web/servlet/mvc/support/RedirectAttributesModelMap.java
lamsfoundation/lams
gpl-2.0
4,502
174
codeparrot/github-code
1d20675754f071331a14883548d775357f886576eec7e2691ad57cadae2f8fbe
<?php namespace Drupal\contractualisation\Form; use Drupal\Core\Entity\EntityForm; use Drupal\Core\Form\FormStateInterface; /** * Class contractualisationTypeForm. * * @package Drupal\contractualisation\Form */ class contractualisationTypeForm extends EntityForm { /** * {@inheritdoc} */ public functio...
PHP
modules/contractualisation/src/Form/contractualisationTypeForm.php
lrakotoarimino/obsfoncier
gpl-2.0
1,828
68
codeparrot/github-code
41a511a2129cf94b6f6ec8c6a9298cd8eed33c34a347a552c5f91aec1cbbdf23
/* * File : application.c * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2006, RT-Thread Development Team * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rt-thread.org/license/LICENSE * * Change Logs: * Date ...
C
bsp/stm32f407vgt6_RecDrv/applications/application.c
nathanlnw/NXCDMA_default
gpl-2.0
5,670
214
codeparrot/github-code
ee3726442df825c66a6689b1b78904c9969fa1b9de5f1d7d0ef7c0ea7163f794
package auctionsniper.ui; import auctionsniper.SniperSnapshot; import auctionsniper.SniperState; public enum Column { ITEM_IDENTIFIER("Item") { @Override public Object valueIn(SniperSnapshot snapshot) { return snapshot.itemId; } }, LAST_PRICE("Last Price") { @Override public Object va...
Java
src/auctionsniper/ui/Column.java
alevincenzi/goos
gpl-2.0
904
64
codeparrot/github-code
c47cae070d89ff0461442e9183557673bf924fcf5783261f4d1c3a5714cf1029
<?php get_header(); ?> <div id="breadcumb"> <div class="container"> <?php if (function_exists('dimox_breadcrumbs')) dimox_breadcrumbs();?> </div> </div> <div id="inner-page" <?php post_class(); ?>> <div class="container" id="inner-wrapper"> <?php if (get_post_meta($post->ID, 'sidebar_position', true ) =='l...
PHP
wp-content/themes/express_store/single.php
robbiespire/paQui
gpl-2.0
4,515
130
codeparrot/github-code
b9e10bd035418dfba6bab543fea011c1057e3fdf71313f3de84222a32ce7930e
/* * Copyright (c) 1997, 2014, Oracle and/or its affiliates. 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 ...
C++
src/cpu/x86/vm/frame_x86.cpp
smarr/GraalVM
gpl-2.0
24,919
729
codeparrot/github-code
e3cf663e2dadfa7689bc51f4ab927283a93281bf8cb8427c70cfba560fbef320
""" Default configuration values for certmaster items when not specified in config file. Copyright 2008, Red Hat, Inc see AUTHORS This software may be freely redistributed under the terms of the GNU general public license. You should have received a copy of the GNU General Public License along with this program; if ...
Python
certmaster/commonconfig.py
jude/certmaster
gpl-2.0
1,224
39
codeparrot/github-code
1a76e83224ccd2911132160c4eb73a6a2e8111a9d4549424b5e56e4a1f7dcade
<?php //ENGLISH LANGUAGE FILE $lang = array(); global $lang; //Login $lang['anonymous_link'] = 'Click here to view public files anonymously'; $lang['forgotpassword'] = 'Forgot your password?'; $lang['install_folder'] = ''; $lang['signup'] = 'Sign-up for an account'; $lang['welcome'] = 'Welcome to '; $lang['welcome2'...
PHP
includes/language/english.php
ramadhanfebbry/system-app
gpl-2.0
24,009
476
codeparrot/github-code
569be093236888587fd94bec9a3c411a0122f2bad5d8d41b51ec5c3a3b702cd7
#region License /* * Copyright (C) 1999-2015 John Källén. * * 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. * * This program ...
C#
src/Environments/C64/C64Platform.cs
killbug2004/reko
gpl-2.0
2,437
82
codeparrot/github-code
5c43bb4b990b2ea6e44a1eb3da5f19dc85d50b0cf6f91c72ea56f1ea81ab1cca
package nl.itopia.corendon.utils; import javafx.fxml.FXML; import javafx.scene.control.Button; import javafx.scene.control.ChoiceBox; import javafx.scene.control.TextField; import nl.itopia.corendon.data.ChooseItem; /** * * @author Wies Kueter */ public class Validation { @FXML private TextField usernameInput...
Java
src/nl/itopia/corendon/utils/Validation.java
Biodiscus/Corendon
gpl-2.0
1,228
45
codeparrot/github-code
81d967a49999544760c245255a19dac937a883738160acae07c60d2df446e49d
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtXmlPatterns module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:L...
C++
qtopiacore/qt/src/xmlpatterns/expr/qdocumentconstructor.cpp
librelab/qtmoko-test
gpl-2.0
4,150
117
codeparrot/github-code
f808bced8bbd4a80c6906fe6f499552693bd505f48b82d0273c143126e01d338
// vim: bs=2:ts=4:sw=4:tw=80:noexpandtab #ifndef FST_XISTREAM_HPP #define FST_XISTREAM_HPP #include "ex.hpp" #include <string> #include <istream> namespace fst { // class that extend/modify istream methods/behaviors // catch ios_base::failure exceptions and throws io_ex class xistream { public: // ctor // del -...
C++
include/fst/utils/xistream.hpp
luporl/fst
gpl-2.0
1,646
105
codeparrot/github-code