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
4c68127c54b50e69a3f386632d77da3a5d9f0295a953519b566ff8d7ed632dff
# Copyright (C) 2008-2010 Adam Olsen # # 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 is distributed in the hope that...
Python
xlgui/preferences/plugin.py
genodeftest/exaile
gpl-2.0
11,178
336
codeparrot/github-code
39bcda66bb38cf75c7fdffd0e9b16dc25efec8324d5a7bce608ca4c8d5e01d22
<?php /** * Category Template Tags and API. * * @package WordPress * @subpackage Template */ /** * Retrieve category link URL. * * @since 1.0.0 * @see get_term_link() * * @param int|object $category Category ID or object. * @return string Link on success, empty string if category does not exist. */ functi...
PHP
wp-includes/category-template.php
richardbota/WordPress-Theme-Development-with-Bootstrap
gpl-2.0
52,672
1,553
codeparrot/github-code
fbad1bacf2ce80ab1498259734d274d5a8ae1767d430bc4d80e6a1d60434f8b4
// Copyright (C) 2009,2010,2011,2012 GlavSoft LLC. // All rights reserved. // //------------------------------------------------------------------------- // This file is part of the TightVNC software. Please visit our Web site: // // http://www.tightvnc.com/ // // This program is free sof...
C++
rfb-sconn/RfbClient.cpp
skbkontur/KonturVNC
gpl-2.0
12,364
388
codeparrot/github-code
ccb6b1606dc4d6d919692dfe51a2a04c1304fc8abd6a3bd8fd07ccbf91916097
function Queue(capacity) { this.q = new Array(capacity); this.next = 0; this.size = 0; this.isFull = function() { return this.size >= this.q.length; } this.isEmpty = function() { return this.size <= 0; } this.push = function(elt) { if (this.isFull()) { throw new Error("Can't push on...
JavaScript
queue.js
martyvona/jv-extension
gpl-2.0
876
44
codeparrot/github-code
53c75582f45c21ec1fefe4cf55164d2d9695f86f79914665053b342bfdffd669
/* * drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c * Copyright (c) 2016 Mellanox Technologies. All rights reserved. * Copyright (c) 2016 Jiri Pirko <jiri@mellanox.com> * Copyright (c) 2016 Ido Schimmel <idosch@mellanox.com> * Copyright (c) 2016 Yotam Gigi <yotamg@mellanox.com> * * Redistribution and use ...
C
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
dwindsor/linux-next
gpl-2.0
55,446
2,010
codeparrot/github-code
69d6a51c636499b43e78a32e5c91045529beb40560c9fcfae3a2b0a675928641
# deplate.rb -- support for ActionPack's action_view # @Author: Tom Link (micathom AT gmail com) # @License: GPL (see http://www.gnu.org/licenses/gpl.txt) # @Created: 13-Apr-2006. # @Last Change: 2009-11-09. # @Revision: 0.17 module ActionView module Helpers #:nodoc: module TextHelper ...
Ruby
lib/action_view/helpers/deplate.rb
tomtom/deplate
gpl-2.0
1,860
46
codeparrot/github-code
f0503bb40203fbbed20d70beb0b2615059000f1eece6825c5af50c156432ba04
/* Test1 * * This test uses creates a number of tasks so the capture engine * can show a trace. * * Input parameters: NONE * * Output parameters: NONE * * COPYRIGHT (c) 1989-1997. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may in * the...
C
testsuites/samples/capture/test1.c
t-crest/rtems
gpl-2.0
6,820
273
codeparrot/github-code
8f2462295616ba39e440f150de58228ca9af202ac0ee120a6b51f30836578248
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LJH.GeneralLibrary.Core.DAL { public class DALConfig { #region 静态属性 private static DALConfig _Instance = null; private static object _Locker = new object(); /// <summary> /...
C#
Source/Trunck/GeneralLibrary/DAL/DALConfig.cs
ljh198275823/504-GeneralLibrary
gpl-2.0
985
47
codeparrot/github-code
7a6a7c897a9459137287975dc5fd1f8062265ba286bd423d9b12abb6dcefa2fb
/* * Copyright (c) 2011-2012, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in ...
C
arch/arm/mach-msm/acpuclock-krait.c
flar2/m7wl-ElementalX
gpl-2.0
30,805
1,323
codeparrot/github-code
f88920d1f626edb689f7ce361c5e612616becae1e09a07d80b6668dd2e330d4c
VERSION = 3 PATCHLEVEL = 4 SUBLEVEL = 0 EXTRAVERSION = NAME = Saber-toothed Squirrel # *DOCUMENTATION* # To see a list of typical targets execute "make help" # More info can be located in ./README # Comments in this file are targeted only to the developer, do not # expect to learn how to build the kernel reading this ...
Makefile
Makefile
TeamExodus/kernel_google_msm
gpl-2.0
54,326
1,591
codeparrot/github-code
3866a2885f3519e9467211939e14ba333084de55b69f66f2c11edc91ae5b34af
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
C++
src/MANYBODY/pair_eam.cpp
quang-ha/lammps
gpl-2.0
25,285
911
codeparrot/github-code
8f5d30bad466798bec9075ee34f8172abc9c0e88a016f190e0c9c1da38c7d31c
#include <linux/platform_device.h> #include <linux/mm.h> #include <linux/uaccess.h> #include <mach/dma.h> #include <mach/omapfb.h> #include "lcdc.h" #include "dispc.h" #define MODULE_NAME "omapfb" static unsigned int def_accel; static unsigned long def_vram[OMAPFB_PLANE_NUM]; static unsigned int def_vram_cnt; stat...
C
drivers/video/omap/omapfb_main.c
leemgs/OptimusOneKernel-KandroidCommunity
gpl-2.0
43,068
1,873
codeparrot/github-code
df2fd20d2f5c81cfc3929ba335237c0e2e6df33350de0be41356239d26c78cfe
/* * linux/kernel/irq/handle.c * * Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar * Copyright (C) 2005-2006, Thomas Gleixner, Russell King * Copyright (c) 2012, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the...
C
kernel/irq/handle.c
samm-git/alcatel_ot993D_kernel
gpl-2.0
6,152
222
codeparrot/github-code
964875c4cce34e8a6367a705b2baf1a26e18383f3b1446666f8b35dc3a511a6c
<?php /** * @package EasyBlog * @copyright Copyright (C) 2010 - 2014 Stack Ideas Sdn Bhd. All rights reserved. * @license GNU/GPL, see LICENSE.php * EasyBlog is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works l...
PHP
administrator/components/com_easyblog/includes/easysocial/easysocial.php
quanghung0404/it2tech
gpl-2.0
28,251
1,181
codeparrot/github-code
2e8a8a809eb955e67a6bb0aaf16d7b6fd32aca561946bbdeb3532a39163b2b18
/////////////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2006-2015 Esper Team. All rights reserved. / // http://esper.codehaus.org / // --------------------------------------------------...
C#
tst/NEsper.Regression/suite/epl/contained/EPLContainedEventArray.cs
espertechinc/nesper
gpl-2.0
5,402
126
codeparrot/github-code
516e0d903583d3592853ac29fe12425e118b37eea4263e980ed30e9edcccd190
using System; using System.Collections.Generic; using System.Drawing; using System.Globalization; using System.Linq; using System.Windows.Forms; namespace CrazyKTV_SongMgr { public partial class MainForm : Form { #region --- Cashbox 列表欄位格式 --- private void Cashbox_DataGridView_CellFormatting...
C#
CrazyKTV_SongMgr/CashboxDataGridView.cs
CrazyKTV/SongMgr
gpl-2.0
10,270
237
codeparrot/github-code
b288383dad2e4697bc2951347c94d631dc59f3c75dffa9fb1a71b461ecc8d67b
<?php namespace ArduinoCoilDriver\States\Base; use \Exception; use \PDO; use ArduinoCoilDriver\States\StateBookmark as ChildStateBookmark; use ArduinoCoilDriver\States\StateBookmarkQuery as ChildStateBookmarkQuery; use ArduinoCoilDriver\States\Map\StateBookmarkTableMap; use Propel\Runtime\Propel; use Propel\Runtime\A...
PHP
server/lib/ArduinoCoilDriver/States/Base/StateBookmarkQuery.php
SeanDS/arduino-coil-driver
gpl-2.0
20,470
473
codeparrot/github-code
58f34103bef9f49b7fffe009700cc312aaffefc122ef2daf2537cbd3cd8b4c70
package cz.vsb.cs.sur096.despr.types.renderers; import cz.vsb.cs.sur096.despr.types.Choosable; import cz.vsb.cs.sur096.despr.view.inputparameters.ParameterCellRenderer; import java.awt.Component; import java.awt.Font; import javax.swing.JLabel; import javax.swing.JTable; /** * Renderer hodnoty kterou lze vybrat s ko...
Java
basic-extensions-types/src/cz/vsb/cs/sur096/despr/types/renderers/ChoosableCellRenderer.java
msurkovsky/despr
gpl-2.0
1,447
43
codeparrot/github-code
694aaaf66eeee7ed741ddd8898153b912f4d382597e32417d8995c92c9b7d682
/* $Id: makesalt.c,v 1.2 2005/06/04 18:01:32 hisi Exp $ */ /************************************************************************ * psybnc2.2.2, tools/makesalt.c * Copyright (C) 2001 the most psychoid and * the cool lam3rz IRC Group, IRCnet * http://www.psychoid.lam3rz.de * * This...
C
tools/makesalt.c
nawawi/psybnc
gpl-2.0
3,881
108
codeparrot/github-code
eb632c52ed8b044116c608ce7e99d679bb6228b03fd602917579ba5fd13db2dd
/* * This file is part of the ZoRa project: http://www.photozora.org. * * ZoRa 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 versi...
Java
com.bdaum.zoom.ui/src/com/bdaum/zoom/ui/internal/dialogs/PageProcessor.java
bdaum/zoraPD
gpl-2.0
16,880
428
codeparrot/github-code
0005545005d99849e7a8a90624f74712cb2fd4d1c90df034c54cfe202080d398
/* * ModelCounter.cpp * * Created on: Oct 31, 2016 * Author: baki */ #include "ModelCounter.h" namespace Vlab { namespace Solver { ModelCounter::ModelCounter() : use_signed_integers_{true}, count_bound_exact_{false}, unconstraint_int_vars_ {0}, unconstraint_str_vars_ {0} { } ModelCounter::~ModelCounter()...
C++
src/solver/ModelCounter.cpp
vlab-cs-ucsb/ABC
gpl-2.0
4,095
147
codeparrot/github-code
2288a9e64f1ba2fb7007831be1f8c5759565b06718ff238587d284c3ac1cc490
# Copyright (C) 2013-2014 Fox Wilson, Peter Foley, Srijay Kasturi, Samuel Damashek, James Forcier and Reed Koser # # 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 Licen...
Python
commands/score.py
sckasturi/saltlake
gpl-2.0
3,127
80
codeparrot/github-code
eb0286ed5c9ffc4e6adce6e5e0f074712bb93f8e6d0261a1157398cce325567b
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OpenNos.Core; using OpenNos.Data; using OpenNos.Domain; namespace OpenNos.GameObject.Helpers { public class EquipmentOptionHelper : Singleton<EquipmentOptionHelper> { #region Cello...
C#
OpenNos.GameObject/Helpers/EquipmentOptionHelper.cs
OpenNos/OpenNos
gpl-2.0
20,994
443
codeparrot/github-code
9357fd9fc11d0bbc8f23162d4a3bb403c244da6e5bb124782b1ea5a190943196
// ------------------------------------------------------------------ // CGI program - Control // ------------------------------------------------------------------ // Program that generates the IoT Control webpage // ------------------------------------------------------------------ // Author: nlv10677 // Cop...
C
package/iot_gw_nxp/src/www/cgi-bin/control/cgi_control.c
taidalab/openwrt_widora
gpl-2.0
22,612
675
codeparrot/github-code
ed7f459100e113fc3f39ced8831a7010dfdc870ac4247f092a00caae751fb191
/* Copyright (C) 1997-2001 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in th...
C
game/g_mm.c
ptitSeb/warsow-pandora
gpl-2.0
28,419
1,043
codeparrot/github-code
7f7f37121e037437a14c58c5b6c282cbf68c5c525b3535bd7569e7685b326949
/* * #%L * ImgLib2: a general-purpose, multidimensional image processing library. * %% * Copyright (C) 2009 - 2016 Tobias Pietzsch, Stephan Preibisch, Stephan Saalfeld, * John Bogovic, Albert Cardona, Barry DeZonia, Christian Dietz, Jan Funke, * Aivar Grislis, Jonathan Hale, Grant Harris, Stefan Helfrich, Mark Hi...
Java
src/test/java/net/imglib2/script/TestExtend.java
imglib/imglib2-script
gpl-2.0
2,970
87
codeparrot/github-code
76d403ddd058b7a24964a1201c17f5126721c44cb175afc15875be103ba73fd1
#include "drmP.h" #include "vmwgfx_drv.h" #include "ttm/ttm_placement.h" #include "ttm/ttm_bo_driver.h" #include "ttm/ttm_object.h" #include "ttm/ttm_module.h" #define VMWGFX_DRIVER_NAME "vmwgfx" #define VMWGFX_DRIVER_DESC "Linux drm driver for VMware graphics devices" #define VMWGFX_CHIP_SVGAII 0 #define VMW_FB_RES...
C
kernel/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
luckasfb/OT_903D-kernel-2.6.35.7
gpl-2.0
20,903
752
codeparrot/github-code
bf6e0ff33266045f6563f55c6f0472d7579120b04a86bf2e9e65501cf0f27d1f
<!DOCTYPE html><?php // 内页的头 ?> <html> <head> <!-- Meta --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="renderer" content="webkit"> <title>admin</title> <?php $this->load->view(__ADMIN_TEMPLATE__ . '/header.inc.php'); ?> ...
PHP
application/views/admin/common_header.php
IWSoft/iw_quanxian
gpl-2.0
3,202
65
codeparrot/github-code
e0f1fa465633af87862fe33b21e0be86c7d60f1d88a11deb75093d7477551392
/* * MARS Long Distance Replication Software * * This file is part of MARS project: http://schoebel.github.io/mars/ * * Copyright (C) 2010-2014 Thomas Schoebel-Theuer * Copyright (C) 2011-2014 1&1 Internet AG * * This program is free software; you can redistribute it and/or modify * it under the terms of the G...
C
kernel/mars_sio.h
schoebel/mars
gpl-2.0
1,749
75
codeparrot/github-code
092eb628fb8f170940a174a89c70b54a600e3250d4b2cd1aa1901ab11002b955
/* SCCS - @(#)Console.java 1.5 - 09/01/99 - 00:19:50 */ /* * $Log: Console.java,v $ * Revision 1.1.1.1 1997/03/12 22:52:21 nsl * new dir structure * * Revision 1.1.1.1 1997/02/08 00:40:40 nsl * Imported the Source directory * */ /* * Gary Cornell and Cay S. Horstmann, Core Java (Book/CD-ROM) ...
Java
nslj/src/system/Console.java
salvadormarmol/NSL_3_0_S
gpl-2.0
4,633
169
codeparrot/github-code
49a0b5dfc12a8a1d56157dbc9b1bf659a1d313ab1356158b8b1760e81e7f70d6
<!doctype html public "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"> <html> <head> <title> Overview </title> <link rel ="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script> function asd() { parent.document.title="TinyMCE_Array.class.js Overview"; } </scri...
HTML
modules/tinymce/tinymce/docs/tinymce_api/overview-summary-TinyMCE_Array.class.js.html
ioptics/inneroptics
gpl-2.0
5,592
181
codeparrot/github-code
2f9dc2db253f9862265f01694ab997eb834b9d5293e1d02f902cadcac1535896
/* * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ...
C++
src/game/BattleGroundAV.cpp
winslow/Playerbot
gpl-2.0
3,937
131
codeparrot/github-code
3911c61911405471f366ac99711aff2b7ceeb15f3745c3975846fb4be064cc02
package com.founderdpt.comm.xworld.util.string; import java.beans.PropertyDescriptor; import java.util.HashMap; import java.util.Map; import org.apache.commons.lang.StringUtils; public class StringMatch { public static String translateParamtwo(String expression, char[] openChars, Map map) { int...
Java
XWorld/src/main/java/com/founderdpt/comm/xworld/util/string/StringMatch.java
javaliquan/XWorld
gpl-2.0
5,342
226
codeparrot/github-code
86d7a797e8f356e727775448a9496da0a6bc9aa2a4298414c3b921d28302619c
#include <linux/cpumask.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/of.h> #include <linux/smp.h> #include <linux/sched.h> #include <linux/elf.h> #include <asm/cputhreads.h> #include "bgq.h" static int __init smp_bgq_probe(void) { return num_possible_cpus(); } static int smp_bgq_cpu_bootabl...
C
arch/powerpc/platforms/bgq/smp.c
jimix/linux-bgq
gpl-2.0
1,980
92
codeparrot/github-code
cdcc726d8e9265d7ace351918f68569596010eb6fdaac06e4c5cdfc6e6fdffea
#ifndef _SATOSHI_BLOCK_H_ #define _SATOSHI_BLOCK_H_ #include <stdint.h> #include "satoshi_protocol.h" #ifdef __cplusplus extern "C" { #endif typedef struct block_file_header { uint32_t magic; uint32_t length; }block_file_header_t; typedef struct satoshi_block_header { int32_t version; unsigned char prev_hash[3...
C
examples/tx_parser/satoshi_block.h
chehw/bitcoin_programming_in_c
gpl-2.0
2,024
109
codeparrot/github-code
ada39cdbe46e9baaa269773980f02cfb7405613fc1679c6a4d4d0699dddf5b9e
/* Copyright (c) 2002,2007-2012, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in t...
C
drivers/gpu/msm/adreno_drawctxt.c
rachitrawat/Vengeance-Kernel-MSM7x27-JLO
gpl-2.0
7,866
290
codeparrot/github-code
0a03cc1522d3cdd2aca6d2074d251e306c45b67c5fcbd3a341fe264974340609
/* This file is part of the Calligra libraries Copyright (C) 2001 Werner Trobin <trobin@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 you...
C++
krita/ui/KisFilterVertex.cpp
donniexyz/calligra
gpl-2.0
2,229
96
codeparrot/github-code
572c30c823245f256ff6338e4658e9ebe6df5ea6fdfcba5c80bd1746006f5f03
/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: kernel * PURPOSE: GDI EngCopyBits Function * FILE: win32ss/gdi/eng/copybits.c * PROGRAMER: Jason Filby */ #include <win32k.h> #define NDEBUG #include <debug.h> /* * @implemented */ BOOL APIENTRY EngC...
C
third-party/reactos/win32ss/gdi/eng/copybits.c
GreenteaOS/Kernel
gpl-2.0
5,866
191
codeparrot/github-code
1e0f47897c48ac63f24dcdf6ed46f07b2bd3ea8442bf539f45b40775254d90e0
/* //////////////////////////////////////////////////// */ /* This file is a part of the BSTools procedure package */ /* written by Przemyslaw Kiciak. */ /* //////////////////////////////////////////////////// */ #include <math.h> #include <stdlib.h> #include <string.h> #include <stdio.h> #incl...
C
test/testg1/test5d.c
radek-p/BSTools
gpl-2.0
13,708
506
codeparrot/github-code
67b97d18b42a7f2c459c9f2c75c45e3e096ff5af320e4538895e9431d34b148d
package net.burakince.hackerrank.java_anagrams; import java.util.Arrays; import java.util.Scanner; public class Solution { public static void main(String[] args) { final Scanner sc = new Scanner(System.in); final String s1 = sc.nextLine(); final String s2 = sc.nextLine(); System.out.println(isAnagram(s1, s2...
Java
src/main/java/net/burakince/hackerrank/java_anagrams/Solution.java
burakince/HackerRank
gpl-2.0
733
32
codeparrot/github-code
4d7614f641f2980268db6c39c5bdbc894ca5bfb5d8f7e42e71be36750a1c43a7
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_ #define CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_ #include "base/basictypes.h" class CommandLi...
C
external/chromium_org/chrome/browser/net/proxy_service_factory.h
qtekfun/htcDesire820Kernel
gpl-2.0
1,263
56
codeparrot/github-code
3176215336dc955439056f36d4c3c48059a268100cfa0496e74741bd5659633a
#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdio.h> #include <poll.h> #include <signal.h> #include <sys/types.h> #include <unistd.h> #include <fcntl.h> #include <stdlib.h> #include <string.h> #define KER_RW_R8 0 #define KER_RW_R16 1 #define KER_RW_R32 2 #def...
C
drivers/a_drivers_and_test/26th_debug_regeditor/regeditor.c
cyj1988jyc/jz2440-android-kernel-2.6.27
gpl-2.0
2,292
121
codeparrot/github-code
b57366d738fef14e9915ad8e8225f98b81cf8f7630f75287b48e14414badad40
<?php /* Weaver Shortcodes */ function weaver_show_posts_shortcode($args = '') { /* implement [weaver_get_posts opt1="val1" opt2="value"] shortcode */ /* DOC NOTES: CSS styling: The group of posts will be wrapped with a <div> with a class called .wvr-show-posts. You can add an additional class to that by provid...
PHP
wp-content/themes/weaver/wvr-includes/wvr-shortcodes.php
ulearn/spanishblogwp
gpl-2.0
6,712
175
codeparrot/github-code
eeb9909aa8ab3f2d37b62d313bf1208d867c4fbae4a189f77d940a5b5b364f6a
var AiOS_HELPER = { init: function () { this.prefInterface = Components.interfaces.nsIPrefBranch; this.prefService = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService); this.prefBranch = this.prefService.getBranch(null); this.p...
JavaScript
src/content/_helper.js
FranklinDM/TGS
gpl-2.0
13,062
371
codeparrot/github-code
2f56281f8fe04c0981c7ed3f72f7aab16062eb3b2b7555e64a71697415906bd4
'use strict'; import v1 from './v1' import v2 from './v2' import v3 from './v3' import v4 from './v4' import ugc from './ugc' import bos from './bos' import eus from './eus' import admin from './admin' import payapi from './payapi' import statis from './statis' import member from './member' import shopping from './sho...
JavaScript
routes/index.js
bailicangdu/node-elm
gpl-2.0
795
34
codeparrot/github-code
d74c89a76c0b4de3dba15fe6ac168e67dde769550342c971cd9f4bdddd991ae0
<?php /* *Magazine slider Widget */ add_action('widgets_init', 'csc_Magazine_1_column_slider_widgets'); function csc_Magazine_1_column_slider_widgets() { register_widget('csc_1_Magazine_slider_Widget'); } class csc_1_Magazine_slider_Widget extends WP_Widget { function csc_1_Magazine_slider_Widget() { $widget...
PHP
themes/tappMD/functions/includes/widgets/magazine_slider_post.php
zbv/tappMD-web
gpl-2.0
9,897
260
codeparrot/github-code
d4102931ae938a94abc91924ebb0ff64d508f316b05aab118c7ae2c340c0159c
include MaintenanceHelper include ValidationHelper require 'builder/xchar' class SourceController < ApplicationController include Source::Errors validate_action index: { method: :get, response: :directory } validate_action projectlist: { method: :get, response: :directory } validate_action packagelist: { met...
Ruby
src/api/app/controllers/source_controller.rb
andreas-schwab/open-build-service
gpl-2.0
44,840
1,204
codeparrot/github-code
dfa2dd7746c292d3fc38b010abf57bc41bdca2abb82eaaf1e3f36f7984efe325
namespace GLib { using System; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)] [Serializable] public struct GLocation { public float X; public float Y; public float Z; public float Facing; public GLocation(float _X, fl...
C#
MxBots/Lib/GLocation.cs
Vn0m/XBot
gpl-2.0
1,438
54
codeparrot/github-code
d79e7b32f8b200711a36b7f36e37186ba0a56c9176f944a549a982fdfd2a2028
/* Machine-dependent ELF dynamic relocation inline functions. PA-RISC version. Copyright (C) 1995-2013 Free Software Foundation, Inc. Contributed by David Huggins-Daines <dhd@debian.org> This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it...
C
ports/sysdeps/hppa/dl-machine.h
czankel/xtensa-glibc
gpl-2.0
24,999
780
codeparrot/github-code
1e90ec46037b66a3b0bfcd26b0021e1fbc959d12851addc2c0a563875657adea
// ----------------------------------------------------------------------- // Eros Fratini - eros@recoding.it // jquery.showcase 2.0.1 // // 02/02/2010 - Wow, a fix about 10 minute after release.... // 02/02/2010 - Debugging and demos // 27/12/2009 - Optimized animation, added functions to pause and resume autocycling ...
JavaScript
wp-content/themes/soline/js_old/jquery-showcase.js
pereiracruz2002/bodyclick
gpl-2.0
17,187
415
codeparrot/github-code
6680832bcd3fc2fb8a347a2ec130d0639708d2d5cc49197f16b06c2bfa332a4e
<?php /** * JBZoo App is universal Joomla CCK, application for YooTheme Zoo component * @package jbzoo * @version 2.x Pro * @author JBZoo App http://jbzoo.com * @copyright Copyright (C) JBZoo.com, All rights reserved. * @license http://jbzoo.com/license-pro.php JBZoo Licence * @coder ...
PHP
media/zoo/applications/jbuniversal/cart-elements/shipping/pickup/pickup.php
alexmixaylov/real
gpl-2.0
1,111
45
codeparrot/github-code
9200d10e81de0a88ab560a9e320625de46a0cdc86fadecd5b93d636ebcdf596f
<?php /** * @version 1.8.5 * @author http://www.seblod.com * @copyright Copyright (C) 2011 SEBLOD. All Rights Reserved. * @license GNU General Public License version 2 or later; see _LICENSE.php * @package SEBLOD 1.x (CCK for Joomla!) **/ // No Direct Access defined( '_JEXEC' ) or die( 'Restricted acce...
PHP
administrator/components/com_cckjseblod/views/types/view.html.php
guezaqiezs/WebsiteTest
gpl-2.0
12,386
220
codeparrot/github-code
db429a6df9701e428108c5e48a9b9ceae92ab76c5d1a97de4043a345dc4db733
/*************************************************************************** qgspalettedrasterrenderer.h --------------------------- begin : December 2011 copyright : (C) 2011 by Marco Hugentobler email : marco at sou...
C
src/core/raster/qgspalettedrasterrenderer.h
sourcepole/kadas-albireo
gpl-2.0
3,140
79
codeparrot/github-code
0c21ddd80e7b2eff430846f8e67282b2db69e36aab19c927b235aad502cab709
<?php namespace York\Validator; /** * validator for checking that the given data is a date * date format must be 'Y-m-d H:i:s' * * @package \York\Validator * @version $version$ * @author wolxXx */ class IsDate implements \York\Validator\ValidatorInterface { /** * @inheritdoc */ public function...
PHP
Validator/IsDate.php
wolxXx/york
gpl-2.0
730
32
codeparrot/github-code
ae9e3bd89865c09a2e97c58f9adb1ee3f8a53e1032b743d41b12441b3611c13e
/*************************************************************************** * * * LinuxSampler - modular, streaming capable sampler * * * * Copyrig...
C++
src/drivers/DeviceParameter.cpp
senatoreg/linuxsampler
gpl-2.0
31,310
914
codeparrot/github-code
7a7f981d1ed777def4e0592fed948d000c5613018db646487a10665194d2497e
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>KImageFilePreview</title> <meta http-equiv="Content-Type" content="text/...
HTML
docs/html/kio/KImageFilePreview.html
KDE/pykde4
gpl-2.0
11,381
348
codeparrot/github-code
06eca905e8c3cfab875a5878af52b7fc2e7f85a8ab54d4f65f705f51d5856c01
/* vi:ai:et:ts=8 sw=2 */ /* * * This code implements the MD5 message-digest algorithm. * The algorithm is due to Ron Rivest. This code was * written by Colin Plumb in 1993, no copyright is claimed. * This code is in the public domain; do with it what you wish. * * Equivalent code is available from RSA Data Sec...
C
libwzd-auth/wzd_auth.c
mathgl67/wzdftpd
gpl-2.0
5,745
234
codeparrot/github-code
b41600ca7ab267973fefb14627d0cefa7463bbaf283d13668556cbcbc08ea6b0
package main import ( "fmt" "time" ) func main() { ch1 := make(chan int) go func() { for i := 0; i < 10; i++ { ch1 <- i time.Sleep(1 * time.Second) } }() timeout := time.After(5 * time.Second) overTag := make(chan bool) go func() { for { select { case v1, ok := <-ch1: if !ok { overT...
GO
demo_chan7.go
yekeqiang/mygo
gpl-2.0
501
36
codeparrot/github-code
6d4d69521ef305b99dcb82f49a7553a2784ea981a5e5c5b89a156a161be2b4b3
#include "frame_rate.h" #include <iostream> #include <cmath> #include "../scgraph.h" extern "C" { GUnit *create (size_t index, int special_index) { return (GUnit*) new FrameRate (); } size_t get_num_of_units () { return 1; } const char *get_unit_name (size_t index) { if (index == 0) return "Frame...
C++
src/plugins/frame_rate.cc
scgraph/SCGraph
gpl-2.0
577
44
codeparrot/github-code
684f3a9e2e61056fdb88862d03cc453caffd37d2e2c4f5b8182d8614da6cadb7
/* * Copyright 2011 David Jurgens * * This file is part of the S-Space package and is covered under the terms and * conditions therein. * * The S-Space package 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 F...
Java
src/main/java/edu/ucla/sspace/graph/SimpleTypedEdge.java
fozziethebeat/S-Space
gpl-2.0
2,912
105
codeparrot/github-code
81ef6078e1a2b6e7c7064b88c5709b553ab340beb3bca0bff1ce85a8d3f58fae
/* sync.addressbook.groupdav.js - This file is part of "SOGo Connector", a Thunderbird extension. * * Copyright: Inverse inc., 2006-2014 * Email: support@inverse.ca * URL: http://inverse.ca * * "SOGo Connector" is free software; you can redistribute it and/or modify it * under the terms of the GNU Gene...
JavaScript
chrome/content/sogo-connector/general/sync.addressbook.groupdav.js
tijuca/sogo-connector
gpl-2.0
76,481
1,804
codeparrot/github-code
983bce3e7a1d3d46c489989e6f9fcf2dd88f08865fea98b42c0c0dd53e257f1b
# Makefile for Sphinx documentation # # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = build # User-friendly check for sphinx-build ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) $(error The '$(SPHINXBUILD)' command wa...
Makefile
doc/Makefile
ian1roberts/skillsdb
gpl-2.0
6,779
178
codeparrot/github-code
b7da2b31ca9b011afd17a2415f0c9af272bab507f1c335b0ba6e143aac2352c3
/*Copyright (C) 2011 Gabriel Gregori Manzano This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed...
C++
src/compiler/xml_parser.cc
ggm/vm-for-transfer-cpp
gpl-2.0
10,197
269
codeparrot/github-code
3558b9e0cdbb0894bd35f9bdf2a972ccfef2c534c562ca65125c1d5072c51843
/* * Hisilicon K3 soc camera ISP afae driver header file * * CopyRight (C) Hisilicon Co., Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * ...
C
drivers/media/video/hik3/capture/isp/k3_ispv1_afae.h
yanniks/android_kernel_huawei_g615
gpl-2.0
15,693
549
codeparrot/github-code
19e1d4152bfd4b31f40185f59d7bfbd4641f5899b22c8e9267a5768f7a007b9d
/** * OWASP Benchmark Project v1.1 * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The Benchmark is free software: you can redistribute it and/...
Java
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest08548.java
iammyr/Benchmark
gpl-2.0
3,839
92
codeparrot/github-code
a5836782ff959771b175ffcaafdbfd093c83b9050d86c0a19e4ab9078f96f86a
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.param; import java.sql.PreparedStatement; import java.sql.SQ...
Java
3rdParty_sources/hibernate-core/org/hibernate/param/DynamicFilterParameterSpecification.java
lamsfoundation/lams
gpl-2.0
2,814
89
codeparrot/github-code
cf629bab5df7923865a4f97bc27f7c3e55be4f6ff8ec8d37204621b98f29370a
/* Gobby - GTK-based collaborative text editor * Copyright (C) 2008-2011 Armin Burgmeier <armin@arbur.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 Licen...
C++
code/operations/operation-open.hpp
bb-generation/gobby
gpl-2.0
3,058
109
codeparrot/github-code
618b6d1cf81f3879d4ffe27ee94a3fe669528f1be4a618ff3300e60cfb879411
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use ...
C
platforms/ios/VCam/Classes/MainViewController.h
alfredoBorboa/vcam
gpl-2.0
1,226
41
codeparrot/github-code
9ce309f9dfb11be8ebb78b46c5bb9e26bbbc834af27ef3cdcd3a14f9a1a959c1
/* * Copyright (C) 2009-2018 Slava Semushin <slava.semushin@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later ve...
Java
src/main/java/ru/mystamps/web/controller/interceptor/ByteArrayMultipartFile.java
aarexer/mystamps
gpl-2.0
2,336
87
codeparrot/github-code
65a69d379f5b1422659b882329e449432205705dc422788178d9084cebd75c50
<?php // +----------------------------------------------------------------------+ // | Copyright 2013 GuiForm (email : info@guiform.com) | // +----------------------------------------------------------------------+ // | This program is free software; you can redistribute it and/or modify | // ...
PHP
classes/GuiForm/Render/Forms/Settings.php
wp-plugins/guiform
gpl-2.0
5,535
163
codeparrot/github-code
f5ee537d5a9d0d5f471f90a4a35b692e05ae1f42d628565fced65d37e489406b
/* FLVMeta - FLV Metadata Editor Copyright (C) 2007-2019 Marc Noirot <marc.noirot AT gmail.com> This file is part of FLVMeta. FLVMeta 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; eith...
C
src/dump_json.h
noirotm/flvmeta
gpl-2.0
1,262
41
codeparrot/github-code
18056c81917ba49301db1da1dbd55bd36415d5eeeb0f1e7f93393a55aafb64f7
/* * Memory Migration functionality - linux/mm/migration.c * * Copyright (C) 2006 Silicon Graphics, Inc., Christoph Lameter * * Page migration was first developed in the context of the memory hotplug * project. The main authors of the migration code are: * * IWAMOTO Toshihiro <iwamoto@valinux.co.jp> * Hirokazu...
C
mm/migrate.c
Kali-/tf101-kernel
gpl-2.0
27,264
1,155
codeparrot/github-code
0113a379fefd6b80b9e9aa3880c60f7512ade77f1a642c82174d9e757b5e44c3
/* Copyright (c) 2013, 2014 Montel Laurent <montel@kde.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but ...
C++
libksieve/ksieveui/editor/sieveeditorparsingmissingfeaturewarning.cpp
kolab-groupware/kdepim
gpl-2.0
3,272
105
codeparrot/github-code
fbcee6fc7278d3728975a925d3d59cf8901b9be5310a51567a5c4cd7883b9a37
(function () { 'use strict'; /** * All of the code for your admin-facing JavaScript source * should reside in this file. * * Note: It has been assumed you will write jQuery code here, so the * $ function reference has been prepared for usage within the scope * of this function. ...
JavaScript
admin/js/push-notification-sender-admin.js
bishal-saha/push-notification-sender
gpl-2.0
2,632
85
codeparrot/github-code
a933fc2487a9d84cf41d67dca142b19cbc0b04f8ee89bcdf4b74898c620cd6e8
<?php /** * This file is part of the ApiGen (http://apigen.org) * * For the full copyright and license information, please view * the file license.md that was distributed with this source code. */ namespace App\Console; use ApiGen\Console\Question\ConfirmationQuestion; use Symfony\Component\Console\Helper\Helpe...
PHP
src/App/Console/IO.php
paulcoiffier/Mobissime-Liberta
gpl-2.0
1,712
99
codeparrot/github-code
9cf5d4ffbc098a3ae2e024ba5b2b0a4c95808d95aa43bd93ef1423b90e8bd267
<?php namespace Admin; use Zend\Mvc\MvcEvent; class Module { public function getAutoloaderConfig() { return array( 'Zend\Loader\ClassMapAutoloader' => array( __DIR__ . '/autoload_classmap.php', ), 'Zend\Loader\StandardAutoloader' => array( ...
PHP
module/Admin/Module.php
tenil/blog.local
gpl-2.0
3,132
104
codeparrot/github-code
fbf3e42c09edb6d44dabc55c2d635250ec2a0136ff9e97a98fa28bb9f0afe1f7
using Microsoft.Practices.Unity; using ModelPopulation.Eventing.Handlers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ModelPopulation.Eventing { public class Application2 : IDisposable { private List<HandlerInfo> _handle...
C#
ModelPopulation.Eventing/Application2.cs
paulkrwebs/ModelPopulation.Eventing.Poc
gpl-2.0
8,288
231
codeparrot/github-code
5add4cca92aa9777e0b3128209ef38d3b1d450764b77d240bac7f24fd1ee64dd
<?php require_once 'Libs/Modelo.php'; /** * Modelo Empresa, contiene todo lo referente a el modelado de empresa * Implemente los metodos, como consultas y constructor * * @author Juan Jose Perdomo Forero * @author Andres feliPe Perdomo Forero * * @package modelos */ class Empresa extends Modelo{ function __construc...
PHP
proyectoFinalphp/modelos/Empresa.php
AndresFelipe27/ProyectoFinalPHP
gpl-2.0
861
43
codeparrot/github-code
4b3ae61696915a0b3a4fa90b46dfb1ee4ac38d614f67a68ef68039b80cdf6d6f
// Copyright 2013 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #pragma once #include "VideoCommon/VideoCommon.h" #include "VideoBackends/DX9/D3DUtil.h" namespace DX9 { // "Depalletize" means to remove stuff from a wooden pallet. // "Depalettize" means to convert from...
C
Source/Core/VideoBackends/DX9/Depalettizer.h
Tinob/Ishiiruka
gpl-2.0
1,338
59
codeparrot/github-code
9cc91991ff7833c1ede26bdcde1a1174a613dd04ab27ee52c9520329effa7499
<?php class Opponents extends Controller { function Opponents() { parent::Controller() ; $this->load->helper('url', 'form'); } function index() { $data = array(); $query_get_opponents = $this->db->query(" SELECT * FROM opponents "); foreach ($query_get_opponents->result() as $row) { $data["opponents"]...
PHP
controllers/opponents.php
prabowomurti/mbrodjol
gpl-2.0
1,415
68
codeparrot/github-code
2c13b0aa831009d6b03b35dfa25f2cdd610ac5de72f3b040f9f533b2790b4643
#include <unistd.h> #include <sys/types.h> #include <sys/wait.h> #include <iostream> #include <pwd.h> #include <iomanip> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <fcntl.h> #include <signal.h> #include <dirent.h> #include "rshell.h" using namespace std; const int arg_max=10...
C++
src/rshell.cpp
Laviness/rshell
gpl-2.0
23,511
698
codeparrot/github-code
62c1db367396a2648f2d9c21412e4f023b681ac09f0d1301c6d47ab6e1d8a113
""" This page is in the table of contents. Skeinlayer is an analyze viewer to display each layer of a gcode file. The skeinlayer manual page is at: http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Skeinlayer Skeinlayer is derived from Nophead's preview script. The extruded lines are in the resistor colors red...
Python
skein_engines/skeinforge-50/skeinforge_application/skeinforge_plugins/analyze_plugins/skeinlayer.py
jetty840/ReplicatorG
gpl-2.0
29,441
581
codeparrot/github-code
ed21cea7a5aa49eb40a186031c2ef2dffeb988e59533fef8b1eadbf953dc0752
/* * sd.c Copyright (C) 1992 Drew Eckhardt * Copyright (C) 1993, 1994, 1995, 1999 Eric Youngdale * * Linux scsi disk driver * Initial versions: Drew Eckhardt * Subsequent revisions: Eric Youngdale * Modification history: * - Drew Eckhardt <drew@colorado.edu> o...
C
drivers/scsi/sd.c
sbreen94/Zeus_S4_VZW
gpl-2.0
84,457
3,143
codeparrot/github-code
2bf2d482513b7d11e005ef073bcf8d46b7b71fda66b35d1a645e80c5a74c85c4
/*- * Copyright (c) * * 2015 - Yohanna Lisnichuk * 2015 - Victor Ughelli * * This library 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.1 of the License, or (at your option...
Java
src/helper/clases/Produccion.java
yolile/ASPHelper
gpl-2.0
1,851
85
codeparrot/github-code
f46a7b7491f80ead71e6a6ca474f785b81edff42b8e3245e88dd7962ab232374
/* * Copyright (C) 2005,2006,2007 MaNGOS <http://www.mangosproject.org/> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later ...
C++
src/game/ChatLog.cpp
Khira/la-confrerie-332
gpl-2.0
24,180
855
codeparrot/github-code
4f3a9c56ff14554e70d48df3c9aa1e63c6e79dcbf8860f9d5614c32553839a18
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Darts.UI.View.Generic; using Darts.UI.View.Pages; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using W...
C#
Darts/Darts.UI/MainPage.xaml.cs
alanebro82/Darts
gpl-2.0
2,564
84
codeparrot/github-code
b8b1e916e708ee6a7baa4c1cca35658e1a0bba633724ef577ee1aeb27bb9572c
<?php /** * Template part for displaying posts * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Redy */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header class="entry-header"> <?php // check if the post has a Post Thumbnail assigned ...
PHP
template-parts/content.php
andrerevin/redy
gpl-2.0
1,533
62
codeparrot/github-code
577d61bf878ea244068dfbb66f504599288feacfdd29d0d5189d32de182e8963
# # My first attempt at python # calibrate accelerometer # import re import scipy from scipy import optimize from scipy import linalg from pylab import * # # parse the log # def read_log(ac_id, filename, sensor): f = open(filename, 'r') pattern = re.compile("(\S+) "+ac_id+" IMU_"+sensor+"_RAW (\S+) (\S+) (\S+...
Python
sw/tools/calibration/calib.py
pchickey/paparazzi-linux-release
gpl-2.0
3,989
150
codeparrot/github-code
672b1e76d0828a46b98a784485b86220e84971f015b34e0290076a484d4a2fc6
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright (C) 2015 Simon Stürz <simon.stuerz@guh.guru> * * * * This fil...
C++
plugins/deviceplugins/philipshue/hueremote.cpp
Boernsman/guh
gpl-2.0
2,281
57
codeparrot/github-code
25e96e2983790f37e40b9b9aea4b0be2077c5b58f809bb1004ae5096f90493f8
<?php /* * MODX Revolution * * Copyright 2006-2014 by MODX, LLC. * 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; either version 2 of the License, or (at your opt...
PHP
php/core/model/modx/transport/modpackagebuilder.class.php
wshearn/openshift-quickstart-modx
gpl-2.0
11,563
340
codeparrot/github-code
9a70d233f04f9a6cc29b887fc5ef30e7d6c9669f936c31ba08d547dad7d4e350
#ifndef Renderer_Context_h #define Renderer_Context_h #include "RenderState/RenderStateOperations.h" //#include "../Math/Geometry/GeometryOperations.h" #include "Buffers/BuffersOperations.h" #include "VertexArray/VertexArrayOperations.h" #include "ShaderVertexAttributeCollection.h" namespace Aurora { namespace Rende...
C
Simulator/Simulator/Source Code/Aurora/Renderer/Context.h
lionadi/Simulator
gpl-2.0
1,000
40
codeparrot/github-code
44d5e1e752c89f7bd25a72eddf4060d437075abc69a067d98323d3873374453e
package es.dmoral.tinylist.adapters; import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import android.graphics.Paint; import android.support.v7.widget.CardView; import android.support.v7.widget.RecyclerView; import android.view.ContextMenu; import android.view.Layou...
Java
app/src/main/java/es/dmoral/tinylist/adapters/SavedListsAdapter.java
GrenderG/TinyList
gpl-2.0
8,149
217
codeparrot/github-code
007d14886ec3f6cfaab66960daff95a62e295c3759459a239dff8c4e9bab3d73
<div id = "fb-root" > </div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jss...
PHP
wp-content/themes/teddyshoes-WPFlexiShop/includes/products-single.php
nizaranand/smalls-cc
gpl-2.0
6,035
223
codeparrot/github-code
f369aef4b4eaa68bc749f39988371ee2971d9fd28ea4220284af01af2cb2862e
/* * ReactOS kernel * Copyright (C) 2002, 2004 ReactOS Team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later versio...
C
drivers/filesystems/cdfs/misc.c
rickerliang/reactos-mirror2
gpl-2.0
7,071
229
codeparrot/github-code
ea43b0166d74152b8ec01b6a57bafce119e1ba1042c625676fcb54b04abe0c36
/* * This file is part of the libpayload project. * * Copyright (c) 2012 The Chromium OS Authors. * * 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 copyr...
C
payloads/libpayload/include/endian.h
wolflee/coreboot
gpl-2.0
5,392
199
codeparrot/github-code
05b130b1611632374d896c31836a8cdf994804896d2d4fb3571a0b7776913724
/******************************************************************************* Copyright (C) Marvell International Ltd. and its affiliates This software file (the "File") is owned and distributed by Marvell International Ltd. and/or its affiliates ("Marvell") under the following alternative licensing terms. Once yo...
C
drivers/net/ethernet/marvell/pp3/tm/core/tm_nodes_ctl.c
kmihelich/linux-espressobin
gpl-2.0
10,891
466
codeparrot/github-code
db97188bff2d197abf7ab90cb2e6ba54f5aa7ff9cb3278dcb491ecc092f89b28
<?php /*----------------------------------------------------------------------------------- TABLE OF CONTENTS - Woo Tumblog Output Functions -- woo_tumblog_content() -- woo_tumblog_article_content() -- woo_tumblog_image_content() -- woo_tumblog_audio_content() -- woo_tumblog_video_content() -- woo_tumblo...
PHP
wp-content/themes/canvas/includes/tumblog/theme-tumblog.php
k5o/wpblog
gpl-2.0
22,453
531
codeparrot/github-code
ad442b69d55c8845278f83bd2aba8a21dec614ade345a3a07d4043ab3cb445a2
/* Overgod Copyright (C) 2005 Linley Henzell This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licence as published by the Free Software Foundation; either version 2 of the Licence, or (at your option) any later version. This...
C
pickup.c
ahyangyi/overgod
gpl-2.0
6,820
305
codeparrot/github-code
e60e8e7e8e19b8b76eef7cc3eca1f2c826dab6df49617fd6945d6a09f0d979a8
<?php /** * @author Sandra Rono */ class Tutor_model extends CI_Model { public function __construct() { parent::__construct(); } //list all tutors public function list_tutors() { $query = $this->db->get('tutors'); //$result = array(); $result = $query->result_array(); return $result; } //get spec...
PHP
application/models/tutor_model.php
drizzy123/katepramas
gpl-2.0
1,364
68
codeparrot/github-code
905f50e0132632a7a91533666bf171138bf03ca441471cba60323f2306601309
/** * Created By: cfloersch * Date: 6/2/13 * Copyright 2013 XpertSoftware */ package xpertss.sdp; import xpertss.lang.Integers; import xpertss.lang.Longs; import xpertss.lang.Objects; import xpertss.lang.Strings; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.nio.file.P...
Java
src/main/java/xpertss/sdp/SessionParser.java
cfloersch/sdp
gpl-2.0
26,974
818
codeparrot/github-code