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
5d6c3e77d51bd05fe15588541b701328b9464ad6f39867068e7b08487a74532f
// OpenCallback.cpp #include "StdAfx.h" #include "../../../Common/ComTry.h" #include "../../../Common/StringConvert.h" #include "../../../Windows/FileName.h" #include "../../../Windows/PropVariant.h" #include "../../Common/FileStreams.h" #include "../Common/ZipRegistry.h" #include "OpenCallback.h" #include "Passw...
C++
endless/src/7z/CPP/7zip/UI/FileManager/OpenCallback.cpp
endlessm/rufus
gpl-3.0
3,413
130
codeparrot/github-code
4980d52ac8ce920469d8ee324cede2039497178f1800a6cf1681e6b190238678
/* * Copyright (c) 2019 Free Software Foundation, Inc. * * This file is part of GNU Wget. * * GNU Wget 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 3 of the License, or * (at your opt...
C
fuzz/wget_read_hunk_fuzzer.c
ArchiveTeam/wget-lua
gpl-3.0
5,053
205
codeparrot/github-code
3165c546312e5cd23ff9ee35a78b7a467598330d3df87da59dbacc55b373664a
package org.freebus.fts.service.job.device; import java.io.IOException; import java.util.Collection; import java.util.HashSet; import java.util.Set; import java.util.concurrent.TimeoutException; import org.freebus.fts.common.ByteUtils; import org.freebus.fts.common.ObjectDescriptor; import org.freebus.fts.common.addr...
Java
freebus-fts-service/src/main/java/org/freebus/fts/service/job/device/Bcu1ProgrammerJob.java
Paolo-Maffei/freebus-fts
gpl-3.0
13,191
401
codeparrot/github-code
d5075fe873e66d3cdd3df5b470787e9dcc4f9a430b6d96de514e6bbf8315c098
//--------------------------------------------------------------------------------------- // This file is part of the Lomse library. // Lomse is copyrighted work (c) 2010-2019. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the ...
C
lomse/trunk/include/lomse_instrument_engraver.h
lenmus/lenmus
gpl-3.0
10,125
293
codeparrot/github-code
42a6d0fcfe818558da63e79e3dddeff7c6ec6425103d51021637ebac62ac1aa0
/* * Copyright 2011-2012 Con Kolivas * Copyright 2011-2012 Luke Dashjr * Copyright 2010 Jeff Garzik * * 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 3 of the License, or (...
C
driver-opencl.c
aznboy84/X15GPU
gpl-3.0
41,950
1,492
codeparrot/github-code
b58dad436fbc6c1bae343a03b58285982507839160fa4237dfdcce2314062427
package md5b60ffeb829f638581ab2bb9b1a7f4f3f; public abstract class VisualElementRenderer_1 extends com.xamarin.forms.platform.android.FormsViewGroup implements mono.android.IGCUserPeer, android.view.View.OnTouchListener, android.view.View.OnClickListener { /** @hide */ public static final String __md_methods...
Java
LazyRoommate/LazyRoommate.Droid/obj/Release/android/src/md5b60ffeb829f638581ab2bb9b1a7f4f3f/VisualElementRenderer_1.java
georgemakrakis/LazyRoommate
gpl-3.0
3,979
93
codeparrot/github-code
1d936fba6b912224e28dc0cf7b2efe1e7583d94d9b62aa409e2284fe42555e87
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Data.Sql; using MySql.Data.MySqlClient; using System.IO; namespace Automated_Voting_System ...
C#
Automated Voting System/Automated Voting System/Voter_Details.cs
chaitanya1375/Myprojects
gpl-3.0
2,091
74
codeparrot/github-code
7cf16cd3cffe478589122f9e72a481b0d637b67d1804ca216bbbb3dcfe489251
//--- Aura Script ----------------------------------------------------------- // Austeyn //--- Description ----------------------------------------------------------- // Bank Manager //--------------------------------------------------------------------------- public class AusteynScript : NpcScript { public override ...
C#
system/scripts/npcs/dunbarton/austeyn.cs
ClutchMAV/aura-2
gpl-3.0
12,749
280
codeparrot/github-code
f5464b0efc0878db6d58bac4026df81825a0970390546aa0cd62b011d5027934
<?php /** Get e-mail subject and message from database (Adminer Editor) * @link https://www.adminer.org/plugins/#use * @author Jakub Vrana, https://www.vrana.cz/ * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public Lice...
PHP
dev_tools/adminer-4.3.1/plugins/email-table.php
unix4you2/pmydb
gpl-3.0
2,371
54
codeparrot/github-code
f518e0d3626f6ca80b35533a10235166d83298e6492f52cbea4d602637555c80
/* Copyright (C) 2010,2012,2013 The ESPResSo project Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009,2010 Max-Planck-Institute for Polymer Research, Theory Group This file is part of ESPResSo. ESPResSo is free software: you can redistribute it and/or modify it under the terms of the GNU Gener...
C
src/tuning.c
shera/espresso
gpl-3.0
1,708
65
codeparrot/github-code
86f80d82befff0989c98db78f281cb7c916a46aa02e5028f4101c8370cf84aa6
/* Copyright (C) 2013 Statoil ASA, Norway. The file 'state_map.c' is part of ERT - Ensemble based Reservoir Tool. ERT 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 3 of th...
C
libenkf/src/summary_key_set.c
arielalmendral/ert
gpl-3.0
4,858
171
codeparrot/github-code
fb5877c7d134962e70c394e5270de82695c98fd11e6a2fbf3ea7f9dd219b91b6
/* * gvNIX is an open source tool for rapid application development (RAD). * Copyright (C) 2010 Generalitat Valenciana * * 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 3 of...
Java
addon-occ/addon/src/main/java/org/gvnix/occ/roo/addon/addon/OCCChecksumMetadataProvider.java
osroca/gvnix
gpl-3.0
27,512
687
codeparrot/github-code
aa6503f3ad8dd56e6e10e556a8924adc79e5a076b48e9de6267005ad6c71fb62
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals import frappe, erpnext import frappe.defaults from frappe import msgprint, _ from frappe.utils import cstr, flt, cint from erpnext.stock.stock_ledger im...
Python
erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py
patilsangram/erpnext
gpl-3.0
11,573
318
codeparrot/github-code
6fa9d0d151f97490bf08d97f9a3f46f493d7db1a0f25ce38ff3ed51080c00ddd
/* * Copyright (C) 2007 Marco Gerards <marco@gnu.org> * Copyright (C) 2009 David Conrad * Copyright (C) 2011 Jordi Ortiz * * This file is part of FFmpeg. * * FFmpeg 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 S...
C
smt-player/ffmpeg/libavcodec/dirac.c
chenzeyuan/smt
gpl-3.0
15,388
400
codeparrot/github-code
ae5a0047df8b44de097a1f6a5315ec23ecc5c8f0d36036d772b53ba32e263f0e
package de.unirostock.sems.cbarchive.web.provider; /* CombineArchiveWeb - a WebInterface to read/create/write/manipulate/... COMBINE archives Copyright (C) 2014 SEMS Group 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...
Java
src/main/java/de/unirostock/sems/cbarchive/web/provider/ObjectMapperProvider.java
binfalse/CombineArchiveWeb
gpl-3.0
1,468
47
codeparrot/github-code
98288f1854eba2712f3d4c214f84af000871cba531f8b0165874fb3ffded59a8
package org.andengine.util.exception; /** * (c) Zynga 2011 * * @author Nicolas Gramlich <ngramlich@zynga.com> * @since 02:40:26 - 07.08.2011 */ public class AndEngineException extends Exception { // =========================================================== // Constants // =========================...
Java
andEngine/src/main/java/org/andengine/util/exception/AndEngineException.java
erseco/ugr_programacion_ludica
gpl-3.0
1,697
56
codeparrot/github-code
133dc09178dafb4bca08853eaa43cb89d1a7d3d7c905f048cc13ce193247acab
<?php $THEME->name = 'moodlebook'; //////////////////////////////////////////////////// // Name of the theme. Most likely the name of // the directory in which this file resides. //////////////////////////////////////////////////// $THEME->parents = array('canvas','base'); ////////////////////////////////////////...
PHP
theme/moodlebook/config.php
ctestlms/portal
gpl-3.0
6,727
211
codeparrot/github-code
0f7253f63ad863b9cb30e95b21d09db032ff30784df715689dfb17673da04745
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Destructor for SolrClient</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev...
HTML
php/5.5/solrclient.destruct.html
rafaelgou/the-phpjs-local-docs-collection
gpl-3.0
2,720
63
codeparrot/github-code
ba743f304ee6cef3d76dfb05bb157855434bd7d37f9d07fd07a3d7999f499c8d
/*************************************************************************** * * * $Log: V830.h,v $ * Revision 1.1 2007/07/20 17:00:04 daq * Initial revision * * * * O...
C
src/legacy/V830.h
yordan-karadzhov/equipmentlist-mice
gpl-3.0
1,576
51
codeparrot/github-code
74035c1a386022ba667ef73ac444fce76122cd5fe5e915101e6ccb4939a86442
/* LUFA Library Copyright (C) Dean Camera, 2012. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation ...
C
lib/LUFA/Drivers/Board/AVR8/SPARKFUN8U2/LEDs.h
drrk/minimus-weigand
gpl-3.0
3,999
136
codeparrot/github-code
28591a50ee714d8cfd750a8295cc45bf1ea4d4f8b1a1a9f6eb4513bd4ca4a8d5
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 1998,2007 Oracle. All rights reserved. * * $Id: os_handle.c,v 1.5 2007/05/17 15:15:47 bostic Exp $ */ #include "db_config.h" #include "db_int.h" /* * __os_openhandle -- * Open a file, using BREW open flags. */ int __os_openha...
C
db-4.6.21/os_brew/os_handle.c
monkeyiq/libstldb4
gpl-3.0
2,308
103
codeparrot/github-code
5977fefef08164a13b7ff22087cb32cdd2d8fd6778d3ee09e2cf3cb23f6656b8
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package constants; /** * * @author Itzik */ public class JobConstants { public static final boolean enableJobs = true; public static final int jobOrder = 8; public enum LoginJob { RESISTANCE(0, JobFlag.DISABL...
Java
src/constants/JobConstants.java
swordiemen/Mushy
gpl-3.0
1,468
73
codeparrot/github-code
c6506b382f0284a303756eb7edc002ebe758e00ec3b1c775794edf571cf64d0a
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the tools applications of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding va...
C
oss/qt/qt-everywhere-opensource-src-5.9.0/qttools/src/qdoc/node.h
geminy/aidear
gpl-3.0
47,090
1,215
codeparrot/github-code
6476ae32512b9fa2e61ea8d167efe13a481912bcc75de1070238ad2132c3df13
#!/usr/bin/python # # This file is part of Ansible # # Ansible 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 3 of the License, or # (at your option) any later version. # # Ansible is distribut...
Python
lib/ansible/modules/network/eos/eos_config.py
konstruktoid/ansible-upstream
gpl-3.0
19,251
481
codeparrot/github-code
191195aa6d6b6217debb0946e36de0ee012283a4a3e8672d593c5c6063cbd31d
/* Copyright (C) 2014 Kim Lester http://www.dfusion.com.au/ 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 3 of the License, or (at your option) any later vers...
C++
src/programmer/fx2.cpp
kiml/PSOC_programmer
gpl-3.0
2,348
72
codeparrot/github-code
39c8c27b986aad1b86a8bfd466d7c5eb9eaaf9306b8054aa6b053b32040028cf
//============================================================================= //=== Copyright (C) 2001-2007 Food and Agriculture Organization of the //=== United Nations (FAO-UN), United Nations World Food Programme (WFP) //=== and United Nations Environment Programme (UNEP) //=== //=== This program is free software;...
Java
openwis-metadataportal/openwis-portal/src/main/java/org/fao/geonet/services/feedback/Insert.java
OpenWIS/openwis
gpl-3.0
3,323
83
codeparrot/github-code
43a9e38801200306c4ad72ae2777e979dce065a1a3f2dcbb501d5e56a0d64530
/* * 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 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be use...
JavaScript
heron/lib/widgets/search/SearchByBufferPanel.js
heron-mc/heron-mc
gpl-3.0
24,241
668
codeparrot/github-code
c7e58a282fb76ad782996a5f4a0b5bef461a3405fe2fa526563aec53a9624320
package com.github.bordertech.wcomponents.examples.picker; import com.github.bordertech.wcomponents.ActionEvent; import com.github.bordertech.wcomponents.AjaxTarget; import com.github.bordertech.wcomponents.HeadingLevel; import com.github.bordertech.wcomponents.Margin; import com.github.bordertech.wcomponents.Request;...
Java
wcomponents-examples/src/main/java/com/github/bordertech/wcomponents/examples/picker/TreePicker.java
marksreeves/wcomponents
gpl-3.0
6,929
237
codeparrot/github-code
8417f5218e5daf5896487b249a21e32e5c11c771e32a9464b18445ec31b4801e
/*** * * Copyright (c) 1996-2002, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * This source code contains proprietary and confidential information of * Valve L...
C++
dlls/zombie.cpp
RichardRohac/vulkan-halflife
gpl-3.0
10,186
354
codeparrot/github-code
13e50bb88c0d143505845490d715d4d4517782cf381773dbf4876d6eb3b0d5c7
#region License // Copyright (c) 2006-2007, ClearCanvas 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: // // * Redistributions of source code must retain the above copyright...
C#
Ris/Client/Workflow/View/WinForms/PriorReportComponentControl.Designer.cs
chinapacs/ImageViewer
gpl-3.0
8,564
189
codeparrot/github-code
53dca57b7cc0e42de8d083c16863537d99fc8a8425847caa932d9d8d10b8163d
package com.matejdro.pebblenotificationcenter.notifications.actions; import android.content.Intent; import android.os.Parcel; import com.matejdro.pebblenotificationcenter.NCTalkerService; import com.matejdro.pebblenotificationcenter.ProcessedNotification; import com.matejdro.pebblenotificationcenter.appsetting.AppSet...
Java
app/src/main/java/com/matejdro/pebblenotificationcenter/notifications/actions/IntentAction.java
matejdro/PebbleNotificationCenter-Android
gpl-3.0
3,100
94
codeparrot/github-code
f11b5266559fdd932a6e096c24dcf3a483695e88e1f1a0614134013538b4e40a
/* Copyright (C) 2014-2019 de4dot@gmail.com This file is part of dnSpy dnSpy 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 3 of the License, or (at your option) any later...
C#
Extensions/dnSpy.AsmEditor/Commands/NamespaceNodeCreator.cs
manojdjoshi/dnSpy
gpl-3.0
2,001
71
codeparrot/github-code
794602221852b814d6046ad8666243e9765d0623e55e3b8ca266b5f874b7c7b1
/** * ClickScript - ClickScript is a visual programming language. This is a * data flow programming language running entirely in a web browser. * Copyright (C) 2012 Lukas Naef * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as ...
JavaScript
cs/lib/web/browse/init.js
lnaef/ClickScript
gpl-3.0
7,810
314
codeparrot/github-code
5b66cf04efe3987583f02a15d868c308a441f322b317f1ec82658aab10e12edc
// // BAGEL - Brilliantly Advanced General Electronic Structure Library // Filename: sortlist.h // Copyright (C) 2009 Toru Shiozaki // // Author: Toru Shiozaki <shiozaki@northwestern.edu> // Maintainer: Shiozaki group // // This file is part of the BAGEL package. // // This program is free software: you can redistribut...
C
src/integral/sortlist.h
nubakery/bagel
gpl-3.0
18,802
219
codeparrot/github-code
1cd42a2b19fb81e0231935e1227500ef453f386d158c0b866baaec71289ff7e0
package deeloco.android.gastos.Movil.plus; import deeloco.android.gastos.Movil.plus.R; import android.app.TabActivity; import android.content.Intent; import android.content.res.Resources; import android.os.Bundle; import android.widget.TabHost; public class Estadisticas extends TabActivity { private tarifas ts; ...
Java
src/deeloco/android/gastos/Movil/plus/Estadisticas.java
oscarcoresoft/gastosmovil
gpl-3.0
2,495
59
codeparrot/github-code
4ecec5ee7c2279fb31e605da0185d9edc3da27a7f415f58dd48a15f7c6250c93
import os from lutris.util import http from lutris.util import extract from lutris import settings LOCAL_VERSION_PATH = os.path.join(settings.RUNTIME_DIR, "VERSION") def parse_version(version_content): try: version = int(version_content) except ValueError: version = 0 return version def...
Python
lutris/util/runtime.py
malkavi/lutris
gpl-3.0
1,774
54
codeparrot/github-code
a737a052d3df92291a7dc547e015ed1d8a2657b2254482203e3d825f8cadc98f
<?php class ControllerAccountReturn extends Controller { private $error = array(); public function index() { if (!$this->customer->isLogged()) { $this->session->data['redirect'] = $this->url->link('account/return', '', 'SSL'); $this->redirect($this->url->link('account/login', '', 'SSL')); } ...
PHP
upload/catalog/controller/account/return.php
PHPstydu/oneplus
gpl-3.0
24,922
684
codeparrot/github-code
e4c4358c379b3324b2edce1d78da622af77d6de71f5950f12443cde6e4aef3e9
window.AnalysisView = BaseView.extend({ el : $('body'), events: { 'click #help' :'userHelpPage', 'click #logout': 'userLogout', 'click #populateTable': 'footerDisplay', 'click #packetInfo tbody tr': 'rowClick', 'slidechange #slider': 'setPrefetchValue', 'click #navclick': 'loadDash...
JavaScript
src/main/webapp/WEB-INF/js/views/analysis-view.js
prasadtalasila/BITS-Darshini
gpl-3.0
8,973
206
codeparrot/github-code
f843deee576ce4664938961224368fbe2c3f201050220b7c5a981a3c7cf444d1
package org.ariadne.mapping; import java.io.IOException; import java.util.List; import java.util.StringTokenizer; import org.ariadne.oai.Record; import org.ariadne.util.IOUtilsv2; import org.ariadne.util.OaiUtils; import org.jdom.Document; import org.jdom.Element; import org.jdom.JDOMException; import org.jdom.Namespa...
Java
src/org/ariadne/mapping/NSDLMapper.java
ariadne-eu/ariadne-harvester
gpl-3.0
10,384
296
codeparrot/github-code
59caabc4aedafd9040de725b0048b912f57e7a0fe77a29d43a504c30dadd9190
Ext.ns('Openwis.Common.HTMLContent'); Openwis.Common.HTMLContent.Viewport = Ext.extend(Ext.Viewport, { initComponent: function() { Ext.apply(this, { border: false, layout: 'fit', autoScroll: true, listeners : { afterlayout: function() { this.relayoutViewport(true, true); }, scope: ...
JavaScript
openwis-metadataportal/openwis-portal/src/main/webapp/scripts/Openwis/lib/Openwis/Common/HTMLContent/Viewport.js
dimipapadeas/openwis
gpl-3.0
3,757
167
codeparrot/github-code
0f57b28e8e63d77d157a14c69609a81104d4af1d39cda042b60dd6f8cde5397e
package com.encens.khipus.action.finances; import com.encens.khipus.framework.action.QueryDataModel; import com.encens.khipus.model.finances.CashAccountGroup; import org.jboss.seam.ScopeType; import org.jboss.seam.annotations.Create; import org.jboss.seam.annotations.Name; import org.jboss.seam.annotations.Scope; impo...
Java
src/main/com/encens/khipus/action/finances/CashAccountGroupDataModel.java
borboton13/sisk13
gpl-3.0
1,210
43
codeparrot/github-code
c7b10e00383b516a390817829387882127c6132c74cc92d16a446be2caafe798
// udev.hpp -- OO wrapper around bits and pieces of the libudev API // Copyright (C) 2013-2015 SEIKO EPSON CORPORATION // // License: GPL-3.0+ // Author : EPSON AVASYS CORPORATION // // This file is part of the 'Utsushi' package. // This package is free software: you can redistribute it and/or modify // it unde...
C++
lib/udev.hpp
utsushi/imagescan
gpl-3.0
2,758
85
codeparrot/github-code
37c66579ccc959fe94ec4609ec1dae418b63e57337e376018be83fe772ea1c0a
package cn.nukkit.block; import cn.nukkit.Player; import cn.nukkit.Server; import cn.nukkit.event.block.BlockSpreadEvent; import cn.nukkit.item.Item; import cn.nukkit.item.ItemBlock; import cn.nukkit.level.Level; import cn.nukkit.level.generator.object.ObjectTallGrass; import cn.nukkit.math.NukkitRandom; import cn.nuk...
Java
src/main/java/cn/nukkit/block/BlockGrass.java
JupiterDevelopmentTeam/JupiterDevelopmentTeam
gpl-3.0
4,031
130
codeparrot/github-code
1080d0b77bb8d83ea1981b6be7924ac05b141124f35aae5499a2545f77121097
/* Copyright 2009 Eigenlabs Ltd. http://www.eigenlabs.com This file is part of EigenD. EigenD 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 3 of the License, or (at your option) any later...
C
piw/piw_talker.h
barnone/EigenD
gpl-3.0
886
32
codeparrot/github-code
92fdc8c07fcb4d8ce8cd31871a752c9ab3a843def599f157b902cd1407923ed5
<?php /** * Copyright © OXID eSales AG. All rights reserved. * See LICENSE file for license details. */ namespace OxidEsales\EshopCommunity\Core\Model; /** * Defining triggered action type. */ DEFINE('ACTION_NA', 0); DEFINE('ACTION_DELETE', 1); DEFINE('ACTION_INSERT', 2); DEFINE('ACTION_UPDATE', 3); DEFINE('ACT...
PHP
source/Core/Model/BaseModel.php
flow-control/oxideshop_ce
gpl-3.0
52,399
1,663
codeparrot/github-code
87757a261962c3a8142912405b7b2b08175be2c7077627c539161858e8e52c76
/** * Licensed to JumpMind Inc under one or more contributor * license agreements. See the NOTICE file distributed * with this work for additional information regarding * copyright ownership. JumpMind Inc licenses this file * to you under the GNU General Public License, version 3.0 (GPLv3) * (the "License"); yo...
Java
metl-core/src/main/java/org/jumpmind/metl/core/runtime/ExecutionTrackerLogger.java
JumpMind/metl
gpl-3.0
5,124
136
codeparrot/github-code
1b2debae2c4d5b99216d336a7c1d0fc132e80767203b9483f7f5658c6f7562b5
/* * Copyright (C) 2007 Rob Buis <buis@kde.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * Th...
C
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/core/svg/SVGViewSpec.h
geminy/aidear
gpl-3.0
2,751
86
codeparrot/github-code
98ff4aa6e9dd0663d4905db7da9729956c7cabf7e35f3d6c4de87f64fa05f210
/* * eID Identity Provider Project. * Copyright (C) 2010 FedICT. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License version * 3.0 as published by the Free Software Foundation. * * This software is distributed in the hope that it will be...
Java
eid-idp-entity/src/main/java/be/fedict/eid/idp/entity/RPAttributeEntity.java
charwliu/eid-idp
gpl-3.0
3,865
144
codeparrot/github-code
05d7d26b3a6e3251f07bbc96b8b564f0a3db0fdf5b8c19efde1a4b428b0962ce
package net.sf.oreka.test; import java.util.Collection; import java.util.Iterator; import net.sf.oreka.HibernateManager; import net.sf.oreka.persistent.OrkLoginString; import net.sf.oreka.persistent.OrkUser; import org.apache.log4j.PropertyConfigurator; import org.hibernate.Session; import org.hibernate.Transaction;...
Java
orkbasej/java/net/sf/oreka/test/FillDatabaseUser.java
shrhoads/oreka
gpl-3.0
1,923
73
codeparrot/github-code
a7806e837267b433a59b7c073f575c7cd89bbebaf59a10ca8676c6b53dd4bc41
\documentclass[rep10,leqno]{report} \voffset = -1in \evensidemargin 0.1in \oddsidemargin 0.1in \textheight 9in \textwidth 6in \begin{document} \normalsize \baselineskip=12pt \noindent Input = $ \\a\, c - b\, i\\ -1\, c\, a + d\, e\\ -1\, e\, d + f\, g\\ -1\, g\, f + h\, j\\ i\, b - j\, h\\ a\, d\, f\, ...
TeX
NCGB/Testing/OBSOLETE2009/TestCreations/c83.out.tex
mcdeoliveira/NC
gpl-3.0
6,770
647
codeparrot/github-code
8bc33e97a31a5aa336594853110363c6d1b46646eb0dde9c05955413ec3d22d5
::extract all files specified by file paths in a specified file to a specified place =) :: ie. c:> extract badfiles.txt d:\trash :: normally copies but /m parameter will force movement @echo off set kaka= set linz=0 set copi=1 :re1loadParam set sour=BadFiles.txt if "%1" != "" set sour=%1 if "%sour" == "/m" ...
Batchfile
dox/Jobz/7Studios/CygPip/bin/extract.bat
pip/Octology
gpl-3.0
1,494
40
codeparrot/github-code
eb9eed7e92c9f412054d522797b67755fa04aa58fc31c96d4cd7e74021ff4c55
package com.novaviper.tetracraft.common.command.modifers; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.util.text.TextComponentTranslation; import net.minecraft.util.text.TextFormatting; import com.novaviper.cryolib.lib.Strings; import com.novaviper.tetracraft.common.command.CommandAdmin; imp...
Java
src-1.9.4/main/java/com/novaviper/tetracraft/common/command/modifers/PurgeModifier.java
NovaViper/TetraCraft
gpl-3.0
1,994
58
codeparrot/github-code
d6900a95d8e5260baaf06bfa112db117c5fabdc32c1a7ad99b0e8d293795a185
@ECHO OFF REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) set BUILDDIR=_build set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% . set I18NSPHINXOPTS=%SPHINXOPTS% . if NOT "%PAPER%" == "" ( set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS% set I18N...
Batchfile
doc/make.bat
gsagnol/picos
gpl-3.0
5,104
191
codeparrot/github-code
6be59b04e5da09d84e453e5973fac4afbf441e1172720c5d0ada83f6e7c1f89f
/** * 导航栏panel */ Ext.onReady(function() { var layerGuidePanel = Ext.create('Ext.panel.Panel',{ id:'layerGuidePanel', layout:'column', border:0, defaults:{ border:0 }, items:[{ id:'layerGuide_left', columnWidth:0.5, defaults:{ border:0 } },{ id:'layerGuide_right', columnWid...
JavaScript
WebRoot/demo_version2.0/script/widget/scene/layerGuide.js
SuperMap/iClient3D-for-Plugin-Demo
gpl-3.0
5,239
183
codeparrot/github-code
d683866c065b843be8fa99b4d87d13a22c1be4c92115c248693c0c89f8c43efc
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
C++
src/tools/clangbackend/ipcsource/clangexceptions.cpp
Philips14171/qt-creator-opensource-src-4.2.1
gpl-3.0
3,848
105
codeparrot/github-code
1e6e8340e30d665f1cec5472313924297fad15dc21a645129c0d41a59430ef2b
--Dark Android Berserker function c99200174.initial_effect(c) --pendulum summon aux.EnablePendulumAttribute(c) --immune local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(EFFECT_IMMUNE_EFFECT) e2:SetRange(LOCATION_PZONE) e2:SetTargetRange(LOCATION_MZONE,0) e2:SetTarget(aux.TargetBoolFunct...
Lua
script/c99200174.lua
TheOnePharaoh/YGOPro-Custom-Cards
gpl-3.0
1,904
62
codeparrot/github-code
8f4f0cc806f6908bf0d0624c439b0dabd60f8001e41dd9f011744831c105e84e
<?php namespace Base; use \OcCustomerRewardQuery as ChildOcCustomerRewardQuery; use \DateTime; use \Exception; use \PDO; use Map\OcCustomerRewardTableMap; use Propel\Runtime\Propel; use Propel\Runtime\ActiveQuery\Criteria; use Propel\Runtime\ActiveQuery\ModelCriteria; use Propel\Runtime\ActiveRecord\ActiveRecordInter...
PHP
www/cli_utils/model/Base/OcCustomerReward.php
vocxod/cintez
gpl-3.0
47,750
1,455
codeparrot/github-code
e21195c06e6d184d85c95a50c3d0ddccafcca93c39388e77c0909b87c8f0ceac
----------------------------------- -- Area: Zhayolm Remnants (73) -- Mob: Archaic_Gear ----------------------------------- -- require("scripts/zones/Zhayolm_Remnants/MobIDs"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) end; ---------...
Lua
scripts/zones/Zhayolm_Remnants/mobs/Archaic_Gear.lua
Fatalerror66/ffxi-a
gpl-3.0
812
43
codeparrot/github-code
32c7e8d97cea465079a456f7682f6d27260178fb8437feb2f730ca2def4ffdaf
using System.Web.Http; using BaiRong.Core; using BaiRong.Core.Integration; using BaiRong.Core.Model; using BaiRong.Core.Model.Enumerations; using SiteServer.CMS.Controllers.Users; using SiteServer.CMS.Core; namespace SiteServer.API.Controllers.Users { [RoutePrefix("api")] public class UsersActionsSendSmsOrReg...
C#
source/SiteServer.Web/Controllers/Users/UsersActionsSendSmsOrRegisterController.cs
ColgateKas/cms
gpl-3.0
1,783
51
codeparrot/github-code
791d03ea97c5ae1709e8cde9537896602f18f9dd7a81428b6b93d1e553ff2ca8
// Copyright 2011 Juri Glass, Mathias Runge, Nadim El Sayed // DAI-Labor, TU-Berlin // // This file is part of libSML. // // libSML 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 3 of the Lic...
C
sml/src/sml_tree.c
dailab/libsml
gpl-3.0
13,886
564
codeparrot/github-code
3af49d06b06327dd4ddde13a3e460cf0a4d364a279e704bc1a412a3a23c21f76
#include "collection.h" #include <OakSystem/application.h> #include <plist/plist.h> #include <regexp/format_string.h> #include <text/format.h> #include <io/path.h> OAK_DEBUG_VAR(Document_Collection); namespace document { ui_proxy_t*& ui_proxy (); oak::uuid_t const kCollectionAny = oak::uuid_t().generate(); void ...
C++
Frameworks/document/src/collection.cc
windwiny/textmate
gpl-3.0
1,236
53
codeparrot/github-code
29871609674db20cb42e8a4a04c5afb500b8315fa35761e27084db2721401858
define(['./../module', 'underscore'], function (module, _) { module.controller('CarouselAllController', function ($scope, $timeout, $location, $routeParams, Rest, Spinner, localStorageService) { $scope.paginationTotalItems = 0; $scope.paginationCurrentPage = 1; $scope.filterModules = func...
JavaScript
upload/admin/view/journal2/js/controllers/carousel/all.js
zilgrg/opencart
gpl-3.0
4,429
113
codeparrot/github-code
867b910d519ef0974be9e965877237fbfa5946527ebca800fd84c496174748f1
----------------------------------------- -- Spell: Diaga -- Lowers an enemy's defense and gradually deals light elemental damage. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ---------...
Lua
scripts/globals/spells/diaga.lua
HeavensSword/darkstar
gpl-3.0
2,310
71
codeparrot/github-code
4fcd4f545eee2df586ddf2d178372f74ac6c54e101b941dc87e324c3062c726f
//# tTBB_StaticMapping.cc //# Copyright (C) 2012-2013 ASTRON (Netherlands Institute for Radio Astronomy) //# P.O. Box 2, 7990 AA Dwingeloo, The Netherlands //# //# This file is part of the LOFAR software suite. //# The LOFAR software suite is free software: you can redistribute it and/or //# modify it under the terms ...
C++
RTCP/Cobalt/OutputProc/test/tTBB_StaticMapping.cc
kernsuite-debian/lofar
gpl-3.0
2,774
87
codeparrot/github-code
72791e73832f7e03e1bd9d2c296440b3b9023dffff85bd1a227caa93231fb705
package tk.jordynsmediagroup.simpleirc.model; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.LinkedHashMap; import tk.jordynsmediagroup.simpleirc.R; /** * A server as we know it */ public class Server implements Comparable<Server> { private static int id; ...
Java
application/src/main/java/tk/jordynsmediagroup/simpleirc/model/Server.java
jcjordyn130/simpleirc
gpl-3.0
8,967
428
codeparrot/github-code
f6e85d9e15e90a9f0be4ceac3ccfedd01a10123d537556d48a5da92785a8e01d
<!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=utf-8" /> <title>Validation &mdash; Symfony2Docs v2.1.0 2.1.0 docu...
HTML
symfony2/docs-en/v2.1.0/book/validation.html
P3PO/the-phpjs-local-docs-collection
gpl-3.0
70,504
987
codeparrot/github-code
b5bfc93e327ed5e89e5f52d1882776a446a1588ca823d077b67ca37e87449f45
/** * Statement: gehen zum Teufel. * * Describe: The javascript boot file of attachment (account/attachment.student.html). * * Further changes, comments: ~ * * Docs: ~ * * Original Author: Doris. * * Version: 0.1.0 * * Creation Date: 2013.10.29 11:10 ( Doris ). * * Last update: 2013.10.29 11:10 ( ...
JavaScript
ajax/libs/js/instalment_mall/account/attachment.student.main.js
Hengyuan-Finance/resource.fenqimall.com
gpl-3.0
3,844
239
codeparrot/github-code
f0a95b3fcc3ddfcd67bfdb1499eee7f3bde644fa515e872e837751cdbe034736
// Copyright (c) 2016 Sarin Na Wangkanai, All Rights Reserved. // The GNU GPLv3. See License.txt in the project root for license information. using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Moq; using System.ComponentModel.Design; using Wangkanai.Detection; namespace Wangkanai....
C#
test/Wangkanai.Responsive.Test/ResponsiveTestAbstract.cs
wangkanai/Responsiveness
gpl-3.0
1,090
32
codeparrot/github-code
69abba8c811e0a5c2171ce64eab9927abfdb523feba39bc47715b3b897c9f32c
import { Meteor } from "meteor/meteor"; import { check, Match } from "meteor/check"; import { Catalog } from "/lib/api"; import { Inventory } from "/lib/collections"; import { Logger, Reaction } from "/server/api"; /** * inventory/register * @summary check a product and update Inventory collection with inventory doc...
JavaScript
imports/plugins/included/inventory/server/methods/inventory.js
levu48/reaction
gpl-3.0
6,440
176
codeparrot/github-code
528f32ac45aaf2c4f673f42084ce7bb2c0a37079976d22cd0bc1fd3e5e49fb8d
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
C++
src/OpenFOAM/meshes/polyMesh/syncTools/syncTools.C
OpenFOAM/OpenFOAM-dev
gpl-3.0
6,245
243
codeparrot/github-code
c616bb8417c455b07bebc1814dddd59e524c95d0764a50ba8c11a3ca48c6e622
# # Copyright 2015-2016 Free Software Foundation, Inc. # # This file is part of PyBOMBS # # PyBOMBS 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 3, or (at your option) # any later version. # ...
Python
pybombs/packagers/zypper.py
gnuradio/pybombs
gpl-3.0
6,420
174
codeparrot/github-code
0160592821e252946845d26a2c6079ccd9b3217c13a51d0d0875d8e1106a0052
/** -*- c++ -*- * Copyright (C) 2007-2016 Hypertable, Inc. * * This file is part of Hypertable. * * Hypertable 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 3 of the * License, or any later v...
C++
src/cc/Hypertable/Lib/CompressorFactory.cc
hypertable/hypertable
gpl-3.0
2,998
96
codeparrot/github-code
26ff37a0d943b412718b471480264f11c3bbf66786fb527706abd495907992d2
/* Szymon Rusinkiewicz Princeton University diffuse.cc Smoothing of meshes and per-vertex fields */ #include <stdio.h> #include "TriMesh.h" #include "TriMesh_algo.h" #include "timestamp.h" #include <cmath> using namespace std; #define dprintf TriMesh::dprintf // Approximation to Gaussian... Used in filtering stati...
C++
trimesh2/libsrc/diffuse.cc
benardp/ActiveStrokes
gpl-3.0
10,230
389
codeparrot/github-code
d6e287113124bb0f91d9247915c59918bd191559afe765230ba8b3d10437d61b
import isEmpty from 'lodash/isEmpty' import {chain, array, string, notBlank} from '#/main/app/data/types/validators' import {RolesInput} from '#/plugin/planned-notification/data/types/roles/components/input' // todo : should be in core const dataType = { name: 'workspace_roles', validate: (value, options) => ch...
JavaScript
plugin/planned-notification/Resources/modules/data/types/roles/index.js
claroline/Distribution
gpl-3.0
726
36
codeparrot/github-code
1609be3ec8c276400523d4942b479cd0f33b803c0494a34ee6005537623c6712
/* PROJECT: mod_sa LICENSE: See LICENSE in the top level directory COPYRIGHT: Copyright we_sux, FYP mod_sa is available from http://code.google.com/p/m0d-s0beit-sa/ mod_sa 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 S...
C
src/CDetour.h
Arzy/Dancing-Plastic
gpl-3.0
2,348
79
codeparrot/github-code
4dbd59b803130ed0202d8d14a81c1167338a8e73bf88d2c81d82e9a3e569f55b
/* * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. * Copyright (C) 2007 Alp Toker <alp@atoker.com> * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. * Copyright (c) 2012, The Linux Foundation All rights reserved. * Copyright (C) 2011, 2012 Sony Ericsson Mobile Communication...
C++
webkit/Source/WebCore/html/HTMLCanvasElement.cpp
danialbehzadi/Nokia-RM-1013-2.0.0.11
gpl-3.0
21,337
665
codeparrot/github-code
364eb9c19a728a43c7b8a52e3d884beecf5fa4b5e223f229240abb1562eb2434
# This file is part of Indico. # Copyright (C) 2002 - 2015 European Organization for Nuclear Research (CERN). # # Indico 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 3 of the # License, or (a...
Python
indico/MaKaC/webinterface/rh/trackModif.py
XeCycle/indico
gpl-3.0
39,643
996
codeparrot/github-code
63d81dfeeeba33668b6366fa837dd026c5b3ffcc9ca84e39e8df3b8f98df97fb
/* * linux/mm/vmalloc.c * * Copyright (C) 1993 Linus Torvalds * Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999 * SMP-safe vmalloc/vfree/ioremap, Tigran Aivazian <tigran@veritas.com>, May 2000 * Major rework to support vmap/vunmap, Christoph Hellwig, SGI, August 2002 * Numa awareness, Ch...
C
kernel/mm/vmalloc.c
shlyakpavel/s720-KK-kernel
gpl-3.0
67,576
2,652
codeparrot/github-code
8de541911436957537821a155dff5c3b8ea311a7f43596b0a5a25dc61079aca3
/* * Copyright (C) 2005-2013 University of Sydney * * Licensed under the GNU License, Version 3.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.gnu.org/licenses/gpl-3.0.txt * * Unless required by applicable law or agreed to in ...
JavaScript
applications/dictofsyd/js/media.js
thegooglecodearchive/heurist
gpl-3.0
3,018
101
codeparrot/github-code
f0352141e0d34f398eb1f3a3b4f7d0f9c5966cd6dc5b5785321d817b1c2de552
# # BioPerl module for Bio::Map::MappableI # # Please direct questions and support issues to <bioperl-l@bioperl.org> # # Cared for by Sendu Bala <bix@sendu.me.uk> # # Copyright Jason Stajich # # You may distribute this module under the same terms as perl itself # POD documentation - main docs before the code =head1 ...
Perl
Bio/Map/MappableI.pm
pcantalupo/bioperl-live
gpl-3.0
11,903
406
codeparrot/github-code
f01a19e4f1c2f0e242c9f499f47b66117e75cbd4d03210313f4c7c22c90802b0
/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm.h" #include "SkCanvas.h" #include "SkImage.h" #include "SkRandom.h" #include "SkSurface.h" static sk_sp<SkImage> make_image() { const SkImageInfo info = SkIm...
C++
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/skia/gm/mipmap.cpp
geminy/aidear
gpl-3.0
5,189
150
codeparrot/github-code
b8560778adfe2b51ff9c7249da4aa44f51f3d89e85352001711d5b2ab9b67fe2
/* Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Her Majesty the Queen in Right of Canada (Communications Research Center Canada) Copyright (C) 2014 Matthias P. Braendli, matthias.braendli@mpb.li This module adds remote-control capability to some of the dabmod modules. see testremotecontrol/te...
C
src/RemoteControl.h
raspine/ODR-DabMod
gpl-3.0
12,444
394
codeparrot/github-code
01451233b669bbd2e6f526603411b17a77e24e1e54f6c2ab84586d554018b800
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Vanguard_Eye -- Map Position: http://images.wikia.com/ffxi/images/c/cc/Xar.jpg ----------------------------------- require("scripts/globals/status"); require("scripts/globals/dynamis"); ----------------------------------- -- onMobInitia...
Lua
scripts/zones/Dynamis-Xarcabard/mobs/Vanguard_Eye.lua
salamader/ffxi-a
gpl-3.0
3,274
107
codeparrot/github-code
2cccae9fbfdf7f828be9532baeba98d8bf46a71ea45553aea5a2c07db679ce9c
using WowPacketParser.Enums; using WowPacketParser.Hotfix; namespace WowPacketParserModule.V7_0_3_22248.Hotfix { [HotfixStructure(DB2Hash.VehicleSeat, HasIndexInData = false)] public class VehicleSeatEntry { [HotfixArray(3)] public uint[] Flags { get; set; } public float AttachmentO...
C#
WowPacketParserModule.V7_0_3_22248/Hotfix/VehicleSeatEntry.cs
TrinityCore/WowPacketParser
gpl-3.0
3,512
75
codeparrot/github-code
3a892af7d1d4ae80f12dac417f54e6d87f5f3d3b0b2c45336f3bdb6c800b4115
----------------------------------- -- Area: Arrapago Reef -- NPC: Runic Portal -- Arrapago Reef Teleporter Back to Aht Urgan Whitegate -- !pos 15 -7 627 54 ----------------------------------- local ID = require("scripts/zones/Arrapago_Reef/IDs") ----------------------------------- require("scripts/globals/besieged") ...
Lua
scripts/zones/Arrapago_Reef/npcs/Runic_Portal.lua
TeoTwawki/darkstar
gpl-3.0
1,298
41
codeparrot/github-code
5952c1696fd7f2d2e2aa20e0979f4fb95f0f258153482545589021a433cca38d
/* Copyright (c) 2012,2013 Mirco Attocchi This file is part of WebAppCommon. WebAppCommon 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 3 of the License, or (at y...
Java
src/main/java/it/attocchi/jsf2/PageBase.java
mattocchi/webapp-common
gpl-3.0
21,593
836
codeparrot/github-code
811f79ea6d4c8afb3673c6defaec30838e826151ad0e9913b2f87ac964e6487f
# $Id: Statistics.pm,v 1.12.4.1 2006/10/02 23:10:37 sendu Exp $ # # BioPerl module for Bio::Tree::Statistics # # Cared for by Jason Stajich <jason@bioperl.org> # # Copyright Jason Stajich # # You may distribute this module under the same terms as perl itself # POD documentation - main docs before the code =head1 NAME...
Perl
lib/perl/bioperl-1.5.2_102/Bio/Tree/Statistics.pm
vinuesa/get_phylomarkers
gpl-3.0
3,177
136
codeparrot/github-code
2724b313ce6ebd34f7bbdb2e704f985c65b3f38cc9f33748480c24d28ab2a9de
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using Mcdonalds.AM.DataAccess.Constants; using Mcdonalds.AM.DataAccess.Entities; using Mcdonalds.AM.Services.Infrastructure; using FlowCodeRef = Mcdonalds.AM.DataAccess.Constants.FlowCode; using NodeCodeRef = Mcdonalds.AM.Data...
C#
Business/Mcdonalds.AM.DataAccess/Entities/ProjectInfo.cs
XiaoYaTech/Demo
gpl-3.0
26,283
593
codeparrot/github-code
a9ed1cc1ede59e3247bf7fa0385d90b3ffde1667ee2af84fa12c5f66f3a18c73
/* * Copyright (C) 2001-2012 Free Software Foundation, Inc. * * Author: Nikos Mavrogiannopoulos * * This file is part of GnuTLS. * * The GnuTLS 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; e...
C
lib/auth/cert.c
abferm/gnutls28
gpl-3.0
51,951
2,270
codeparrot/github-code
d9f11e15c0d432391c51816d26a3a818d50123a8aa41bcd27ec65148dcd7af02
{-# LANGUAGE DataKinds #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} {-# L...
Haskell
amazonka-directconnect/gen/Network/AWS/DirectConnect/DescribeInterconnects.hs
kim/amazonka
mpl-2.0
4,133
120
codeparrot/github-code
7ca6338cfda77ad19260a8f34dda015df87d5e250c1212ebab5b9d20510885c8
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use cssparser::SourceLocation; use ipc_channel::ipc::IpcSender; use log; use msg::constellation_msg::PipelineId; u...
Rust
components/script_layout_interface/reporter.rs
omakk/servo
mpl-2.0
1,769
46
codeparrot/github-code
e64bacbfcbf8e896624f7d3a40efa66601424dff7bbe54426c7d3a4184ae6f84
/** This file is a part of the FuretUI project Copyright (C) 2017 Jean-Sebastien SUZANNE <jssuzanne@anybox.fr> This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file,You can obtain one at http://mozilla.org/MPL/2.0/. **/ import V...
JavaScript
src/fields/text.js
jssuzanne/furet_ui
mpl-2.0
1,760
53
codeparrot/github-code
b652eedbb8d0aa4228aaea35259556038f7b2c3c7332bbe2076014df93ba36df
// ======================================================================== // // Copyright 2009-2014 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
C
external/embree/kernels/xeonphi/bvh4hair/bvh4hair_builder.h
JianpingCAI/libigl
mpl-2.0
7,503
209
codeparrot/github-code
672d370d4254a10928f0419d70aad2642a378b2b8c78cb6cf35f6539a03ceb9b
import 'bootstrap-grid' const React = require('react') module.exports = React.createClass({ displayName: 'GridCol', propTypes: { xs: React.PropTypes.number, sm: React.PropTypes.number, md: React.PropTypes.number, lg: React.PropTypes.number, offset: React.PropTypes.number, className: React...
JavaScript
src/scenes/mailboxes/src/Components/Grid/Col.js
openWMail/openWMail
mpl-2.0
1,096
50
codeparrot/github-code
50ea112d05445a37bb4ce3343cce1d02e5ab772591330bfea0e759adb10d8a18
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * @Author: JB (jb@codecorsair.com) * @Date: 2016-09-06 16:54:10 * @Last Modified by: JB (jb@codecorsair.com) ...
TypeScript
patcher/src/services/session/routes.ts
jamkoo/Camelot-Unchained
mpl-2.0
1,178
52
codeparrot/github-code
9f5638523923fcc2a67aac0b47530326c9ef0434ce8b2735584a5b27c29b4b57
package policydelete import ( "flag" "fmt" "github.com/hashicorp/consul/command/acl" "github.com/hashicorp/consul/command/flags" "github.com/mitchellh/cli" ) func New(ui cli.Ui) *cmd { c := &cmd{UI: ui} c.init() return c } type cmd struct { UI cli.Ui flags *flag.FlagSet http *flags.HTTPFlags help s...
GO
command/acl/policy/delete/policy_delete.go
youhong316/consul
mpl-2.0
2,244
99
codeparrot/github-code
00c46f28e9f94a7490bc40e55e428dfe3475022fffbbe47fadbfc882d936c445
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0...
C
dom/base/nsIScriptGlobalObject.h
Yukarumya/Yukarum-Redfoxes
mpl-2.0
2,983
90
codeparrot/github-code
3060781d38cd6c74a897aa49a5db9c4d2524c6ad5dee56a2bbd4bd6bb05724b3
/* input: xml generated from docx output: TEI */ "use strict"; var fs=require("fs"); var sourcepath="msword/xml/"; var lst=fs.readFileSync(sourcepath+"files.lst","utf8").split(/\r?\n/); var writeToDisk=true; //lst.length=5; //var validate=require("ksana-master-format/validatexml"); var Kepan=require("./kepan"); var...
JavaScript
genxml.js
yinshun/mpps_lecture
mpl-2.0
8,921
272
codeparrot/github-code
b14d6fb9f1f75239e71a214c931f8c3d9bcbef4d9892608c98a9d6132d9a2969
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
JavaScript
lib/node.js
mralexgray/Nodelike
mpl-2.0
34,902
1,137
codeparrot/github-code
6ab0c1084599cf087d521cfcc2475082e4512fe6a27209a5e6254573b0884a84
import React, { Component, PropTypes } from 'react'; import { connect } from 'react-redux'; import _ from 'lodash'; import { unsavePost, } from '../../actions/voz'; import LazyPost from './LazyPost'; import openNewTab from '../../utils/openNewTab'; import { toClassName } from '../../utils'; class SavedPostSideBarIco...
JavaScript
app/components/SavedPost/SideBarIcon.js
SuperDOgePx/chrome-extension-react
mpl-2.0
3,461
116
codeparrot/github-code