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
2f85ab5c47f6532e3d5d1f01fe8ae374805d6ad708ec69e40837552469b5aa5a
/* JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine Copyright (C) 2012-2013 Ian Preston 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 progra...
Java
src/main/java/com/github/smeny/jpc/emulator/execution/opcodes/rm/fdiv_ST4_ST4.java
smeny/JPC
gpl-2.0
2,124
66
codeparrot/github-code
9f3e05d94d154c6f59ea7c28d124cbe63fcde6af25239d4e52822ff11b9258d0
/* atarilance.c: Ethernet driver for VME Lance cards on the Atari */ /* Written 1995/96 by Roman Hodek (Roman.Hodek@informatik.uni-erlangen.de) This software may be used and distributed according to the terms of the GNU General Public License, incorporated herein by reference. This drivers was written with the fo...
C
drivers/net/ethernet/amd/atarilance.c
nunogmartins/net-next
gpl-2.0
33,930
1,172
codeparrot/github-code
1ca0c7a027b976b665ebdad7895804ddbcfc58ec12f29530683381477ffcc252
/***************************************************************************** # pmstat.c - Power Management statistic information (Px/Cx/Tx, etc.) # # Copyright (c) 2008, Liu Jinsong <jinsong.liu@intel.com> # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU Gene...
C
xen/drivers/acpi/pmstat.c
funson/rt-xen
gpl-2.0
13,767
507
codeparrot/github-code
36b3e0d62bd60be5e28f1e178f79b37ab4201565d97d8615697ab7d069b89b7c
/* ============================================================================== CESyntaxParser CotEditor http://coteditor.com Created on 2004-12-22 by nakamuxu encoding="UTF-8" ------------------------------------------------------------------------------ © 2004-2007 nakamuxu © 2014-2015 1024jp This...
C
CotEditor/Sources/CESyntaxParser.h
shnuzxw/CotEditor
gpl-2.0
2,314
61
codeparrot/github-code
8198d1107ac1a8d19eb1d6bc9cc73cbdace2e50e54d2976f118a0895eb0b8868
struct MyGimpImage { unsigned int width; unsigned int height; unsigned int bytes_per_pixel; unsigned char pixel_data[]; }; /* load gimp-exported .c image into cairo surface */ static void img2surf (struct MyGimpImage const * img, cairo_surface_t **s, unsigned char **d) { unsigned int x,y; int stride = cai...
C
gui/meterimage.c
x42/meters.lv2
gpl-2.0
18,319
560
codeparrot/github-code
f71ac0e5bd6bad43bcb57d266dcf15914ec1d4cb700af439d0e87c50f5e2896c
#ifndef _ASM_GENERIC_PGTABLE_H #define _ASM_GENERIC_PGTABLE_H #ifndef __ASSEMBLY__ #ifdef CONFIG_MMU #include <linux/mm_types.h> #include <linux/bug.h> #ifndef __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS extern int ptep_set_access_flags(struct vm_area_struct *vma, unsigned long address, pte_t *ptep, pte_t entry, int...
C
include/asm-generic/pgtable.h
jagleeso/goldfish
gpl-2.0
15,068
521
codeparrot/github-code
145368dfdeb5676511ecb03ff8ee9bf00e5c37f237a71a3bf0fb9fee274770af
/*************************************************************************** Copyright (C) 2003-2009 Robby Stephenson <robby@periapsis.org> ***************************************************************************/ /*************************************************************************** * ...
C++
src/translators/bibteximporter.cpp
centic9/tellico-ppa
gpl-2.0
13,426
425
codeparrot/github-code
c3b2962f5e5f082b40d876708c2e01aa3a94c12ccaa1691c2560620a08c64fcf
<?php namespace Drupal\flag\Plugin\Flag; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Session\AccountInterface; /** * Provides a flag type for comments. * * @FlagType( * id = "entity:comment", * title = @Translation("Comment"), * entity_type = "comment", * provider = "comment" * ) */ cla...
PHP
docroot/modules/contrib/flag/src/Plugin/Flag/CommentFlagType.php
psunthar/intapp
gpl-2.0
1,963
72
codeparrot/github-code
2401067ae4e8c43e1f881d14d2a5b7c57bf16cc70be686a5ae7c5e2af4ba87ef
/*===================================================================== threadinfo.h ------------ File created by ClassTemplate on Sun Mar 20 03:22:37 2005 Copyright (C) Nicholas Chapman This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
C
src/profiler/threadinfo.h
dirocco/VerySleepy
gpl-2.0
2,052
72
codeparrot/github-code
e5aa68af8838e0f931683d868e728f2acebef9571c0881e093d27d3ffd4f241e
#!/usr/bin/python # -*- coding: iso-8859-15 -*- """ GraphDataCreator Shell(bash)-to-Pyhton translation from Christian Ramiro code Miguel Angel Fernandez Sanchez """ #TODO Implement -s option (program lauched from a super-script, no questions) import os import sys from time import strftime, gmtime import subprocess i...
Python
GraphDataCreator.py
LibreSoftTeam/R-SNA
gpl-2.0
32,519
872
codeparrot/github-code
45115bef070834d7b1a43c7ef49f26e6f77decbcd6da5dbba6b9a26033237067
package info.jbcs.minecraft.chisel.inventory; import info.jbcs.minecraft.utilities.General; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.IInventory; import net.minecraft.inventory.Slot; import net.minecraft.item.ItemStack; public class SlotChiselSelection extends Slot { public S...
Java
src/main/java/info/jbcs/minecraft/chisel/inventory/SlotChiselSelection.java
EoD/Chisel
gpl-2.0
3,133
87
codeparrot/github-code
638c0392c6e73a183d33456a0481212a456dc90e94e8306332933f7a42eb7512
#!/usr/bin/env python # encoding: utf-8 from yast import import_module import_module('UI') from yast import * class AutoShortcut1Client: def main(self): # (Minimalistic) Demo for automatically generated shortcuts. # # See 'AutoShortcut2.ycp' for a more realistic example. # # Please n...
Python
examples/AutoShortcut1.py
yast/yast-python-bindings
gpl-2.0
1,568
48
codeparrot/github-code
9a74ab45444071083befd92d00dc934f3b967a73a9af1da296d049ce42f1ede6
// // conf.cpp for zia in /home/elthariel/code/zia/src // // Made by Nahlwe // Login <elthariel@epita.fr> // // Started on Sat Feb 24 15:46:20 2007 Nahlwe // Last update Fri Mar 16 03:05:12 2007 Nahlwe // #include <pthread.h> #include <cstdlib> #include <iostream> #include "conf.hpp" using namespace std; using nam...
C++
src/conf.cpp
elthariel/zia84
gpl-2.0
3,151
151
codeparrot/github-code
b7a422166c6c2b04e1b57277fc9489f024e201cdaf5bbaf8c45b43db9fed8355
/** * AccountController * @namespace thinkster.accounts.controllers */ (function () { 'use strict'; angular .module('thinkster.accounts.controllers') .controller('AccountController', AccountController); AccountController.$inject = ['$location', '$routeParams', 'Posts', 'Account', 'Snackbar']; /** *...
JavaScript
static/javascripts/accounts/controllers/account.controller.js
rootAir/rootAir
gpl-2.0
1,782
74
codeparrot/github-code
f46259c654793f7990b16091c006bb8c399c73fb9ebe49014d391337391dc256
<?php if (!defined('SHOW_AUTHORS')) define('SHOW_AUTHORS', 'true'); if (!defined('TEMPLATE_DOMAIN')) define('TEMPLATE_DOMAIN', 'hemingway'); if(function_exists('automatic_feed_links')) { add_theme_support('automatic-feed-links'); } if ( function_exists('register_sidebar') ) { register_sidebar(array( 'befo...
PHP
wp-content/themes/hemingway/functions.php
rjbaniel/upoor
gpl-2.0
22,140
709
codeparrot/github-code
e97e9799b8c05a86d5debbfaff1463c0817d5e171228b58bd2ffe4a3953a050b
<?php /******************************************************************************* Copyright 2009 Whole Foods Co-op This file is part of Fannie. Fannie is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softwar...
PHP
fannie/batches/newbatch.deprecated/forceBatch.php
joelbrock/PFC_CORE
gpl-2.0
6,711
189
codeparrot/github-code
c3d66491f19ddfbaf4fdf51844cb7205b9530335af712e73e5fe55ebec7cebfc
<?php class Shortcodes_Ultimate { /** * Constructor */ function __construct() { add_action( 'plugins_loaded', array( __CLASS__, 'init' ) ); register_activation_hook( SU_PLUGIN_FILE, array( __CLASS__, 'activation' ) ); register_activation_hook( SU_PLUGIN_FILE, array( __CLASS__, 'deactivation' ) )...
PHP
wp-content/plugins/shortcodes-ultimate/inc/core/class.shortcodes-ultimate.php
tu-vu-duy/betterthis
gpl-2.0
6,469
177
codeparrot/github-code
a1651e82b5a18d0892e3a8b9980f8c8435bcc2a7331ef63e6f7b606066b95cfe
// Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // // $Id$ // // Copyright (C) 2006-2020 by The Odamex Team. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as p...
C++
odalpapi/net_utils.cpp
AlexMax/odamex
gpl-2.0
2,389
120
codeparrot/github-code
6436b3f2524cb4f374e1f9c2e10c3cbabda93174d5b0f4820e70980da67a998b
/** https://github.com/ReallyGood/jQuery.duplicate */ jQuery.duplicate = function(){ var body = jQuery('body'); body.off('duplicate'); var templates = {}; var settings = {}; var init = function(){ jQuery('[data-duplicate]').each(function(){ var name = jQuery(this).data('duplicate'); var templ...
JavaScript
wp-content/plugins/Bst_Manufacture/js/multplsrow/jquery.duplicate.js
kanhaiyasharma/Bestswiss
gpl-2.0
2,147
61
codeparrot/github-code
74eb6410486d202490f3f9936579d2fa57c0f274abee758041a8988e06e410e8
/* *** Cell Array *** src/classes/cellarray.cpp Copyright T. Youngs 2012-2018 This file is part of Dissolve. Dissolve 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++
src/classes/cellarray.cpp
trisyoungs/duq
gpl-2.0
15,984
450
codeparrot/github-code
1f56c4092a157bfd596c3bb09ff40a8d2468596239992b048d54b95c25a2a867
<!DOCTYPE html> <html> <head profile="http://dublincore.org/documents/dcq-html/"> <title>jQuery mobile with Google maps basic example</title> <meta name="keywords" content="Google maps, jQuery, plugin, mobile, iphone, ipad, android, HTML5" /> <meta name="description" content="Basic example with jQuery ...
HTML
wp-content/themes/woostore/ui-map/demos/jquery-mobile-example-2.html
rongandat/sallumeh
gpl-2.0
5,838
121
codeparrot/github-code
0a732b0daefb1ca7eed6699d77c03ebe8dcc7ac1bcf82575b7d00ee4ca8f0773
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * Implementation of the Transmission Control Protocol(TCP). * * Authors: Ross Biro * Fred N. van Kempen, <wa...
C
net/ipv4/tcp.c
Yuskey1989/Nexus_5
gpl-2.0
92,168
3,478
codeparrot/github-code
a5458b05fbfc3a776d53f3c3e7d2aba59c0d62a8570c27289a1e7041c03d1365
__author__ = 'Fabrizio' #kivy.require(1.8.0") from kivy.app import App from kivy.lang import Builder from kivy.uix.screenmanager import Screen, ScreenManager, FadeTransition from kivy.uix.widget import Widget from kivy.graphics import Ellipse, Rectangle, Line from kivy.uix import label """ http://robertour.com/2013/0...
Python
A5-Tree/Spike-Code/main.py
ForAP/Advanc3d-Pr0graming
gpl-2.0
2,421
75
codeparrot/github-code
c59d0738ffa33e46bb6ed60ce3cc43d0ce8e0257f39c14e395fdd663affc1e04
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * Definitions for the TCP module. * * Version: @(#)tcp.h 1.0.5 05/23/93 * * Authors: Ross Biro * Fred N. v...
C
include/net/tcp.h
andrewyates/linux-stable
gpl-2.0
60,388
1,897
codeparrot/github-code
9d2190fb522f408d7bf68ae5cbbb440b5f4df466a8bed9d7ae6bc9d26b2911c0
<?php /* * Provides some helpful functions to deal with the transactions */ class SwpmTransactions { static function save_txn_record($ipn_data, $items = array()) { global $wpdb; $current_date = date("Y-m-d"); $custom_var = SwpmTransactions::parse_custom_var($ipn_data['custom'])...
PHP
wp-content/plugins/simple-membership/classes/class.swpm-transactions.php
StefanDerian/ayoajar3
gpl-2.0
1,984
56
codeparrot/github-code
f104cf49ce15e83140df6ac49f81619c04fc0a9bd93fb5680690e1f58a2e871e
/* * Util.java * * Created on November 6, 2007, 10:41 AM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package org.autoplot.datasource; import java.awt.Component; import java.awt.Desktop; import java.io.IOException; import java.io.InputStream; import jav...
Java
DataSource/src/org/autoplot/datasource/DataSourceUtil.java
autoplot/app
gpl-2.0
45,842
1,159
codeparrot/github-code
14537783654e35ecb8fa93253324e5d19a1631f874ac4d47e2222cb1d56adafd
/* ----------------------------------------------------------------------- LAMMPS 2003 (July 31) - Molecular Dynamics Simulator Sandia National Laboratories, www.cs.sandia.gov/~sjplimp/lammps.html Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC0...
C
src/STUBS/mpi.c
timattox/lammps_USER-DPD
gpl-2.0
18,265
674
codeparrot/github-code
e2450e11eb0b959c9a7954b051bae976a6d4b74f49102310696875c527fc5a47
/* * Copyright (C) 1996-2016 The Squid Software Foundation and contributors * * Squid software is distributed under GPLv2+ license and includes * contributions from numerous individuals and organizations. * Please see the COPYING and CONTRIBUTORS files for details. */ /* DEBUG: section 04 Error Generation */ ...
C++
src/errorpage.cc
shio310/squid
gpl-2.0
37,660
1,297
codeparrot/github-code
ad5f376611630f72660b63734593b4787e5cda98cd8766587e7c192fb28565d6
<?php /** * Favorites Model for Favorites Component * * @package Favorites & Wishlist * @subpackage com_wishlist * @license GNU/GPL v2 * @copyright Copyright (C) 2010 MobyJam.net. All rights reserved. * This program is distributed under the terms of the GNU General Public License * */ // Chec...
PHP
components/com_wishlist/models/favoritessh.php
stelmaholeg/mobile
gpl-2.0
4,123
117
codeparrot/github-code
7570fd47f9358d3ad2af39f84a3058135949ce12755a5550fcaab5b2a1e660a6
#ifndef _LINUX_MEMORY_H_ #define _LINUX_MEMORY_H_ #include <linux/sysdev.h> #include <linux/node.h> #include <linux/compiler.h> #include <linux/mutex.h> struct memory_block { unsigned long phys_index; unsigned long state; /* * This serializes all state change requests. It isn't * held during creation because...
C
kernel/include/linux/memory.h
luckasfb/OT_903D-kernel-2.6.35.7
gpl-2.0
3,491
119
codeparrot/github-code
7f19e3cf644fcbe92a7aefbafbaef5aa34035a1ba178fa26eefaa4afc3842525
--魔救の奇石-ラプタイト function c74891384.initial_effect(c) --to decktop1 local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(74891384,0)) e1:SetCategory(CATEGORY_TODECK) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetCountLimit(...
Lua
c74891384.lua
Fluorohydride/ygopro-scripts
gpl-2.0
2,757
69
codeparrot/github-code
7621180a796a53a657ee35c50f9758ccd2dec4fe7adc24b620f71a2ba75b2f3d
<?php class ControllerUserUser extends \Core\Controller { private $error = array(); /** * Get list of user * @see ControllerUserUser::getList */ public function index() { $this->language->load('user/user'); $this->document->setTitle($this->language->get('heading...
PHP
admin/controller/user/user.php
OmniHost/CoreCMS
gpl-2.0
20,528
540
codeparrot/github-code
ab739bf64af66f6d368b93c0b5a77b67c6e26ef1d6cab4b37ec4cfe1857a1cbd
/* dnsmasq is Copyright (c) 2000-2016 Simon Kelley This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991, or (at your option) version 3 dated 29 June, 2007. This...
C
src/lease.c
aa65535/dnsmasq
gpl-2.0
30,073
1,166
codeparrot/github-code
f7a1119a760e47cb224e10f1f694c087340252edf8ef2440151590423a34ac3c
#include "specs.h" /* Test the following: test500() ========= client 1: mkdir dir1 mkdir dir2 client 2: mv dir1 dir2/renamed client 1: ls dir2 stat dir2/renamed Check: CNID must not change Targets: enumerate() test501() ========= client 1: mk...
C
test/T2_Dircache_attack.c
Netatalk/test-suite
gpl-2.0
15,983
606
codeparrot/github-code
0cac578841d5e0ba07395108c390b05aa059b187b08a82f2d43e5005372861e7
using System; using System.Data; using System.Text; using System.Data.SqlClient; using XHD.DBUtility;//Please add references namespace XHD.DAL { /// <summary> /// Êý¾Ý·ÃÎÊÀà:CRM_order_details /// </summary> public partial class CRM_order_details { public CRM_order_details() {} #region Method /// <summa...
C#
DAL/CRM_order_details.cs
chuing/Push114CRM
gpl-2.0
4,971
163
codeparrot/github-code
d69cf64425590c0fbebbb37eef5a2a578e885dbb3b0bc6ab61e657ce45fd76b1
<?php require_once('functions/session/security.php'); ?> <!DOCTYPE html> <html> <head> <title>Gestion des rôles</title> <?php require_once('components/common-html-head-parameters.php'); ?> </head> <body> <?php include('components/header.php'); ?> <ol class="breadcrumb"> <li><a href="/">Accueil</a></li> <li><a hre...
PHP
www/role-list.php
ProtectionCivile/intranet-protection-civile
gpl-2.0
6,087
178
codeparrot/github-code
8c9c3625365743a7583e7529f5b1773826f10f39701972178cb05748a3367cdc
#include "ibm.h" #include "mem.h" /* Compaq Deskpro 386 remaps RAM from 0xA0000-0xFFFFF to 0xFA0000-0xFFFFFF */ static mem_mapping_t compaq_ram_mapping; uint8_t compaq_read_ram(uint32_t addr, void *priv) { addr = (addr & 0x7ffff) + 0x80000; addreadlookup(mem_logical_addr, addr); return ram[ad...
C
src/compaq.c
MoochMcGee/PCem-mooch
gpl-2.0
1,672
52
codeparrot/github-code
9f960cf1242f90e89372a186285844d209c03336ae8db0006d0c0976f13c6fc4
/* * This file is part of wl1271 * * Copyright (C) 2008-2010 Nokia Corporation * * Contact: Luciano Coelho <luciano.coelho@nokia.com> * * 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 Fou...
C
net/compat-wireless/drivers/net/wireless/wl12xx/boot.c
charles1018/android_kernel_bambook_u8500
gpl-2.0
15,391
629
codeparrot/github-code
c1df0f2a5aa7f7b59639b3199b85ebedfbe60ce9763a82d0e0a66a0af662ddfe
/* * Copyright (c) 2013-2014 TRUSTONIC LIMITED * 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 as published by the Free Software Foundation. * * This program is distributed in the hope that it will...
C
drivers/gud/gud-exynos7580/MobiCoreDriver/ops.c
aapav01/android_kernel_samsung_j7elte
gpl-2.0
15,798
599
codeparrot/github-code
e3a0933af5fd19b0849e02233788722f1675bc920d732f6516285c6b8de7d90b
class PanelAlreadyRegistered(Exception): pass class LabProfileRequisitionModelError(Exception): pass class LabProfile: """A container class for panels. Added panels must have a matching requisition_model. """ def __init__(self, name=None, requisition_model=None): self.aliquot_typ...
Python
edc_lab/lab/lab_profile.py
botswana-harvard/edc-lab
gpl-2.0
1,528
49
codeparrot/github-code
ad531be3acdc8539aa4d4a37a35673e6457b43b2d9dc05e1b2247f30fe183e87
jQuery(document).ready(function($){ var show_dropdown = function() { var options; containerWidth = $('#header').width(); marginRight = $('#nav ul.level-1 > li').css('margin-right'); submenuWidth = $(this).find('ul.sub-menu').outerWidth(); ...
JavaScript
wp-content/themes/stendhal/stendhal.free/theme/assets/js/yit/jquery.yit_classic_menu.js
How2ForFree/development
gpl-2.0
3,723
95
codeparrot/github-code
6c1d7a05665d14dfda5b09faa8cc349b557c56feba32104af508079777971610
/* * Redberry: symbolic tensor computations. * * Copyright (c) 2010-2013: * Stanislav Poslavsky <stvlpos@mail.ru> * Bolotin Dmitriy <bolotin.dmitriy@gmail.com> * * This file is part of Redberry. * * Redberry is free software: you can redistribute it and/or modify * it under the terms of the GNU Ge...
Java
src/main/java/cc/redberry/core/tensor/SumBuilder.java
redberry-cas/core
gpl-2.0
2,162
68
codeparrot/github-code
adf7a25c3f46439a209f24a2a7613aef708187dc0d94bbd099e6ced5545e2d4e
/* * This file is part of the CMaNGOS Project. See AUTHORS file for Copyright information * * 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 ...
C
src/game/OutdoorPvP/OutdoorPvP.h
natedahl32/portalclassic
gpl-2.0
4,499
125
codeparrot/github-code
9c09166fa13d47387cbeccd7abe90270c39c0eecfb70249c74d14f6b2c4ad437
<?php /* Copyright (c) 2008, Alex Tingle. 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 the h...
PHP
eventcalendar3/feed-ec3xml.php
Adrien-Topall/EventCalendar3
gpl-2.0
5,925
201
codeparrot/github-code
00cc21ec970f59912c13f3a2de041cfe1714d27f8f763883beb6ac3cf84bae43
<?php /** * @version CVS: 1.0.0 * @package Com_Ditc_product * @author Worrawoot Sawangum <worrawoots@dharmniti.com> * @copyright 2016 Ditc * @license GNU General Public License version 2 or later; see LICENSE.txt */ // No direct access defined('_JEXEC') or die; /** * Product controller class. * ...
PHP
components/com_ditc_product/controllers/product.php
kankan513/leearc
gpl-2.0
4,155
175
codeparrot/github-code
51b92569b72e4557154f63136677d5419a9cb2340c552231ba7b398a86a1a436
package Munin::MySQL::Graph::CacheEfficiency; # Author <mrten+munin@ii.nl> # # This one isnt in mysql-cacti-templates, show the efficiency of some # mysql caches. They're all momentary snapshots, made by having # RRDtool calculate the derive of the graphed variables, and then # dividing up those derives. This prevent...
Perl
contrib/Munin/MySQL/Graph/CacheEfficiency.pm
kjellm/munin-mysql
gpl-2.0
3,724
68
codeparrot/github-code
819299ccd1b6f6fb961dc8812ad9f6cf7d1de857ef0957b029fb679160546a85
<?php /* core/themes/classy/templates/navigation/breadcrumb.html.twig */ class __TwigTemplate_b19ad86c58eb7a8759f566839c9da2e29a40a428766255516836350adf7c4ac1 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; ...
PHP
sites/default/files/php/twig/f85cd099_breadcrumb.html.twig_4ac464e0f0a04d8f6a90215f33898b5b7d537cd9a49a411b661ea0c2fb7eedbc/696abf7fcd3ae7f1d059998e144205c98638d997337a48ce129fbff08187b266.php
vectorclash/vectorplayground
gpl-2.0
4,892
130
codeparrot/github-code
08f56a51b91253a2835a60b304d047778d0b6a00a52f4a797989d6e0b63e7016
/* The industrial I/O core * * Copyright (c) 2008 Jonathan Cameron * * 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. */ #ifndef _INDUSTRIAL_IO_H_ #define _INDUSTRIAL_IO_H_ #in...
C
drivers/staging/iio/iio.h
andi34/kernel_samsung_espresso-cm
gpl-2.0
12,368
423
codeparrot/github-code
556b01cbb8e157cc875c5761a2ebe468c0f3e9d6f2fbeecfdede01df1a92a082
from typing import List import expression as E VAR_DECL = "STM_VAR_DECL" FUN_DECL = "STM_FUN_DECL" BLOCK = "STM_BLOCK" IF = "STM_IF" WHILE = "STM_WHILE" BREAK = "STM_BREAK" RETURN = "STM_RETURN" PRINT = "STM_PRINT" EXP_STM = "STM_EXP_STM" class Stm(object): def __init__(self, kind): ...
Python
src/statement.py
ThatIndividual/midas
gpl-2.0
3,777
154
codeparrot/github-code
affc888d299598be2e6b4c032fc9f45fac526062ac06a41ca098a63f5ed820a3
# record.py # ------------------------- # Fall 2012; Alex Safatli # ------------------------- # Software package for handling # the recording and calculating # of player scores for the Eclipse # board game, along with keeping # track of individual matches. # Imports import os, cPickle, datetime # Match class. Encaps...
Python
record.py
AlexSafatli/EclipseBoardGame
gpl-2.0
2,974
107
codeparrot/github-code
5d0e49d7ce5bc56ce20af3329ab86c35c15f5cd317c449a3377769de4cfa049a
/* ** thread.h for Huffman in /home/leroy_v/Perso/Huffman/thread_pool ** ** Made by vincent leroy ** Login <leroy_v@epitech.eu> ** ** Started on Wed Apr 01 15:06:17 2015 vincent leroy ** Last update Tue Apr 07 17:17:55 2015 vincent leroy */ #ifndef THREAD_H_ # define THREAD_H_ #include <sys/types.h> typedef struct...
C
include/thread_pool/thread.h
Vins54/Huffman
gpl-2.0
780
37
codeparrot/github-code
1b5c007462453c5d3912160c60c0a2d994cbd0041de64a0a33a58746da91aa1a
/********************************************************************** Freeciv - Copyright (C) 2001 - R. Falke 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 ...
C++
client/agents/cma_fec.cc
seggil/warciv
gpl-2.0
13,590
433
codeparrot/github-code
1313ff28f2f422dfade611875ab3e91e29a114ce3139a0067142974672d398f5
/* * Copyright (c) 2004, QUALCOMM Inc. All rights reserved. * Created by: abisain REMOVE-THIS AT qualcomm DOT com * This file is licensed under the GPL license. For the full content * of this license, see the COPYING file at the top level of this * source tree. * Test that when a pthread_mutex_destroy is calle...
C
testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/speculative/4-2.c
anthony-kolesov/arc_ltp
gpl-2.0
1,280
50
codeparrot/github-code
0d4d2a95dbd07b4715fe851c9508a0bc7909b136a814e09cec8aa1c56803a7ec
// Initial software, Aleksey Buzmakov, Copyright (c) National Research University Higher School of Economics, GPL v2 license, 2018, v0.8 #include <fcaps/ComputationProcedureModules/BestPatternFirstComputationProcedure.h> #include <fcaps/OptimisticEstimator.h> #include <fcaps/PatternDescriptor.h> #include <fcaps/Swapp...
C++
FCAPS/src/fcaps/ComputationProcedureModules/BestPatternFirstComputationProcedure.cpp
AlekseyBuzmakov/FCAPS
gpl-2.0
21,902
625
codeparrot/github-code
7f982ed759d48cb540b487b6811e8e2bf4239d6f3a3074339123affc5bd4856c
from resources.lib.externals.hachoir.hachoir_core.field import Field, FieldSet, ParserError, Bytes, MissingField from resources.lib.externals.hachoir.hachoir_core.stream import FragmentedStream class Link(Field): def __init__(self, parent, name, *args, **kw): Field.__init__(self, parent, name, 0, *args, *...
Python
plugin.video.bubbles/resources/lib/externals/hachoir/hachoir_core/field/link.py
azumimuo/family-xbmc-addon
gpl-2.0
3,240
110
codeparrot/github-code
6edd0653ed388c9b67053848ab7586e50a2dbdaf32cfbcee7157a9f312300e4c
/* * Copyright (C) 2014 AChep@xda <artemchep@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 version. * * Th...
Java
project/app/src/main/java/com/achep/acdisplay/services/switches/ScreenOffSwitch.java
AChep/AcDisplay
gpl-2.0
2,453
78
codeparrot/github-code
ab65dd8519381b1440b5b6818e64750955bc7834566bf28eb0d59619d1bde570
<?php use bets\dao\UserManager; use bets\dao\UserSessionManager; use bets\model\User; use bets\model\UserSession; use bets\utils\URL; $app->get(URL::BETS_API_USER_NEW . ':username/:password/:first_name/:last_name/:email', function ($username, $password, $first_name, $last_name, $email) use ($app) { $user = new Us...
PHP
src/api/user.php
grigoriev/bets
gpl-2.0
1,606
44
codeparrot/github-code
ae5c4dc241657dc29df6fe45235ea69654df0fa402fbc2325e11919a8fd20b9a
/* * EffecTV for Android * Copyright (C) 2013 Morihiro Soft * * HolographicTV.cpp : * * 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 opti...
C++
jni/effects/HolographicTV.cpp
MorihiroSoft/EffecTV_for_Android
gpl-2.0
9,538
401
codeparrot/github-code
671786815789b63a98a62ae33728d603fef3314a8b6695672b0383540dae0045
package com.toggle.notifica; import android.app.AlarmManager; import android.app.PendingIntent; import android.appwidget.AppWidgetManager; import android.appwidget.AppWidgetProvider; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.graphics.Color; impo...
Java
android/app/src/main/java/com/toggle/notifica/PeriodWidgetProvider.java
coders-circle/Notifica
gpl-2.0
4,929
119
codeparrot/github-code
09d3b536fd0e9e76fe5997adae562b2bd4173a2e262f01342822d1c6f747532d
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Library for extracting information about system memory and cpu. * Currently supports all Windows and Linux plattforms * * This code is based on the OS Classes from the phpsysinfo project * (http://phpsysinfo.sourceforge.net/) * * @package PhpMyAdmin-sysinfo ...
PHP
libraries/sysinfo.lib.php
A-Man/phpmyadmin
gpl-2.0
8,568
370
codeparrot/github-code
c6cb2bd33453bfd627789b578a9652eb4f2931a515ab9c728dc7605cb04f0e70
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. Copyright (C) 2000-2009 Darklegion Development This file is part of Tremulous. Tremulous is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licen...
C
src/ui/ui_atoms.c
newsource-trem/darkengine_bba
gpl-2.0
5,992
301
codeparrot/github-code
1256adc32d22b510b03ca6985c3eda990718194d5cbdb01cab2083d2421c77b7
/* Copyright (C) 2006 - 2008 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any l...
C++
src/bindings/scripts/scripts/zone/karazhan/boss_moroes.cpp
aedansilver/Proyecto-TBC
gpl-2.0
21,954
816
codeparrot/github-code
715feb2175504740ec040394e6934ac4f5a4f7d99ef4c84a64d68ce4005928ed
using System.Windows; namespace SecretSantaHelper { /// <summary> /// Interaction logic for SendDetails.xaml /// </summary> public partial class SendDetails : Window { private readonly SantaSack santaSack; public SendDetails(ref SantaSack santaSack) { this.sant...
C#
SecretSantaHelper/SendDetails.xaml.cs
BlythMeister/SecretSantaHelper
gpl-2.0
2,388
64
codeparrot/github-code
9f47f9fb817f52fbbd238c645beefefe3ea33cd09628977c4dcd7686ce3b0f64
/* Copyright (C) 1996-1997 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
vid_wgl.c
blha303/darkplaces
gpl-2.0
64,632
2,316
codeparrot/github-code
fdb603fef1c73fac7859f982a4efd9325110c54547eab4563af61cfedefae983
/* * Copyright (c) 1998-2010 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
Java
resin/src/main/java/com/caucho/config/scope/AbstractScopeContext.java
CleverCloud/Quercus
gpl-2.0
3,646
133
codeparrot/github-code
f4ba4d1f7d6d164847f37af43da2dd1ed63a6a883b9064e88e5da98a934ca858
<?php /** * @package Trego * @since Trego 1.0 */ get_header(); if(empty($trego_vars['blog_layout'])){ $trego_vars['blog_layout'] = ""; } ?> <div id="content" class="site-content" role="main"> <div class="breadcrumb-container"><?php the_breadcrumbs(); ?></div> <div class="row-container"> <?p...
PHP
wp-content/themes/trego/author.php
dmaechler/frater
gpl-2.0
1,257
51
codeparrot/github-code
393f862a514a06911475eaea48df462c9c69124b5ed761fdd7c102524bac5183
using System.Collections; using System.Data; using System; using System.Text; using System.Linq; namespace AL.Data { internal partial class DbCommand { public IDbCommand Parameter(string name, object value, DataTypes parameterType = DataTypes.Object, ParameterDirection direction = ParameterDirection.Input, int si...
C#
AL.Data/Command/PartialClasses/Parameters.cs
alexchentao/AL.Web
gpl-2.0
3,287
107
codeparrot/github-code
4e40b6c52a1dff204af714ae57bf0554d4d9644cf64f9654b8240df9cdc37b29
#ifndef __KERN_TRAP_TRAP_H__ #define __KERN_TRAP_TRAP_H__ #include <defs.h> /* Trap Numbers */ /* Processor-defined: */ #define T_DIVIDE 0 // divide error #define T_DEBUG 1 // debug exception #define T_NMI 2 // non-maskable interrupt #define T_BRKPT ...
C
i386/lab1_boot_interrupt/proj4.1.1/kern/trap/trap.h
spinlock/ucore
gpl-2.0
2,914
90
codeparrot/github-code
768284c87cc552c0f64a2f0cb124d5f164bc19b38ccfb09cc436091f021b65ab
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ /* Rosegarden A MIDI and audio sequencer and musical notation editor. Copyright 2000-2018 the Rosegarden development team. Other copyrights also apply to some parts of this work. Please see the AUTHORS file and individu...
C++
gui/rulers/ControlEraser.cpp
bownie/RosegardenW
gpl-2.0
4,994
167
codeparrot/github-code
1e021b6ce2df5dab3f830083a2cce3ecffbe7af5c536ea0f58b97f416eede94a
## IGSuite 4.0.1 ## Procedure: PDFExtract.pm ## Last update: 01/07/2010 ############################################################################# # IGSuite 4.0.1 - Provides an Office Suite by simple web interface # # Copyright (C) 2002 Dante Ortolani [LucaS] # # ...
Perl
IG/PDFExtract.pm
polettix/igsuite-unofficial
gpl-2.0
29,676
819
codeparrot/github-code
bfcde8c7e2354971f0b52be5355ce0c9e68994684e7964bf35d735bac2e389d7
/* * Copyright (C) 2001-2003 FhG Fokus * * This file is part of Kamailio, a free SIP server. * * Kamailio 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 ...
C
main.c
foucse/kamailio
gpl-2.0
70,748
2,614
codeparrot/github-code
59c238af66bf6f8b7a19120b9d21e3531e10f9c1815efb528565d745b6129438
//---------------------------------------------------------------------------------------- // // This file and all other Easy Bridge source files are copyright (C) 2002 by Steven Han. // Use of this file is governed by the GNU General Public License. // See the files COPYING and COPYRIGHT for details. // //------------...
C++
src/engine/bidding/MichaelsCueBidConvention.cpp
Jauhen/EasyBridge
gpl-2.0
31,778
730
codeparrot/github-code
6ec46a3c486083eb57441fcd7dc5c9cc22f918c5e617877286052681bd2bb3f4
/* ================================ Class that handles and feeds the in-game server list ================================ */ #include "stdafx.h" #include "Hooking.h" #include <WinSock2.h> #pragma unmanaged char *Cmd_Argv( int arg ); int Cmd_Argc( void ); typedef void (__cdecl * Cmd_ExecuteString_t)(int a1, int a2, ...
C++
steam_api/aiw_serverlist.cpp
twominutesalad/aIW-Pi
gpl-2.0
40,283
1,835
codeparrot/github-code
94182f211104f661b9898359926af9f15725e1c47d0f960143ea8649e4562f5e
// Copyright (c) 2003,2004,2005,2006 INRIA Sophia-Antipolis (France). // All rights reserved. // // This file is part of CGAL (www.cgal.org). // 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...
C
cgal/include/CGAL/Segment_Delaunay_graph_2/Arrangement_enum.h
wschreyer/PENTrack
gpl-2.0
7,958
208
codeparrot/github-code
4d4704cd4427c47aebf092655ba2ece2b3dcefb13dd8fe45442208c507a6846c
""" # Majic # Copyright (C) 2014 CEH # # 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 pr...
Python
majic/joj/websetup_jules_parameters.py
NERC-CEH/jules-jasmin
gpl-2.0
10,957
259
codeparrot/github-code
9c2f3d6ddb2d091c1d21691e85b3a706f06a753ddc1437e867e6b58108e52fd9
/* * BlizzLikeCore integrates as part of this file: CREDITS.md and LICENSE.md */ #include "ScriptPCH.h" #include "Item.h" #include "Spell.h" #include "ObjectMgr.h" #include "TemporarySummon.h" // Spell summary for ScriptedAI::SelectSpell struct TSpellSummary { uint8 Targets; ...
C++
src/game/ScriptedCreature.cpp
Suwai/SunfireCore
gpl-2.0
22,166
680
codeparrot/github-code
271be899837603cd6a872a07b82979ef4f3f2a63c85b4a2bc9557a3a0083a865
/* This file is part of the KDE project Copyright (C) 2005-2009 Jarosław Staniek <staniek@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 Licen...
C
kexi/plugins/forms/kexidatasourcepage.h
JeremiasE/KFormula
gpl-2.0
4,499
115
codeparrot/github-code
b916e33cea3f85e3c866876d63e7d1150dae1b8e1f83932816fa6817f6b567fb
<!DOCTYPE html> <html xmlns:wb="http://open.weibo.com/wb"> <head> <title>VOL.566 - 「ONE · 一个」</title> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" /> <meta property="wb:webmaster" content="8e339239b6b0dbd3" /> <meta name="format-detection" content="telephone=no" /> <meta nam...
HTML
one-app/article/vol.566.html
wonderflow/bash-script
gpl-2.0
25,798
645
codeparrot/github-code
775a81608724e42368a840219f601af721c9f927a1ee2ca13a6eb1a3f52c3840
#pragma once /* * Copyright (C) 2005-2013 Team XBMC * http://xbmc.org * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later ve...
C
xbmc/Application.h
smspillaz/xbmc
gpl-2.0
13,281
482
codeparrot/github-code
d646d392ece144c4697bda4ef6398a9870dbb5a5e1111c9996d5ef9804934614
# # Copyright 2019 Red Hat, 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...
Python
virtwho/virt/kubevirt/client.py
candlepin/virt-who
gpl-2.0
4,273
143
codeparrot/github-code
41ecb1625c741792645a13c26163847b1085669b36da09d34c3013d9ceb7e07d
document.addEventListener( "DOMContentLoaded", function() { var testCases = []; TestCases.forEach(function (testCase) { if( !Array.isArray( testCase.to[0] ) ) { testCases.push( testCase ); } else { testCase.to.forEach(function (to, index) { var tc = JSON.parse( JSON.stringify( testCa...
JavaScript
src/mod/assets/boulder-dash2/g/test.js
tolokoban/webgl-experiments
gpl-2.0
3,708
157
codeparrot/github-code
600d207c38faa0d5e72e4dd588bac033c28ae0a2e769ba21fdfd1d431e33f855
/**********************************************************************/ /* ____ ____ */ /* / /\/ / */ /* /___/ \ / */ /* \ \ \/ ...
C
S1_AEO/TP2/isim/toplevel2_isim_beh.exe.sim/unisim/a_3870564484_3219970547.c
edgd1er/M1S1_INFO
gpl-2.0
2,069
69
codeparrot/github-code
313a818817b86f3296e8bd44be2995cb724955c8a80a13f390494c321e6decc9
<?php /*************************************************************** * SECURITY : Exit if accessed directly ***************************************************************/ if ( !defined( 'ABSPATH' ) ) { die( 'Direct acces not allowed!' ); } /*************************************************************** * Inse...
PHP
wp-content/plugins/adblock-notify-by-bweb/adblock-notify-functions.php
BrandonThomas84/cos_core
gpl-2.0
11,033
297
codeparrot/github-code
2d9713cb03bf28ed295eee3061d41806a6506f36f3532ef710763ffd5df56860
<!DOCTYPE html> <html class="theme-next pisces use-motion" lang="zh-Hans"> <head> <meta charset="UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> <meta name="theme-color" content="#222"> ...
HTML
archives/2018/page/2/index.html
yuanye3486/yuanye3486.github.io
gpl-2.0
32,995
1,313
codeparrot/github-code
644aeb5223d593d72a14468728065b209e6a89a8cfc9a429b769bb97229483c4
/*************************************************************************/ /*! @File @Title Implementation of PMR functions for Trusted Device firmware code memory @Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved @Description Part of the memory management. This module is res...
C
drivers/gpu/drm/img-rogue/physmem_tdmetacode_linux.c
mtk09422/chromiumos-third_party-kernel-mediatek
gpl-2.0
12,396
398
codeparrot/github-code
0b656e0c2cfe817f3059f720babe30af93e9ba3ef4038ba33024c259f7e3c2e4
<?php if (session_id() == "") session_start(); // Initialize Session data ob_start(); // Turn on output buffering ?> <?php include_once "ewcfg10.php" ?> <?php include_once "adodb5/adodb.inc.php" ?> <?php include_once "phpfn10.php" ?> <?php include_once "tbrdm_journalsinfo.php" ?> <?php include_once "usuarioinfo.php" ?>...
PHP
02 - Prototipação/01 - Fontes/tbrdm_journalsview.php
ismaelmelo/git-zapmetrics
gpl-2.0
33,630
1,086
codeparrot/github-code
f2eebca05290ec46c40484fea092d7614d677e55320153236b8b22272723fc25
/* Dandelion, a Lisp plugin for Eclipse. Copyright (C) 2007 Michael Bohn 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
PluginEnvironmentClispWin32x86/src/de/defmacro/dandelion/env/clisp/win32/x86/Activator.java
Ragnaroek/dandelion
gpl-2.0
1,904
72
codeparrot/github-code
38900a38a558630c0f98f8acd0c30c02f91b702efb6ff8366334af75cbb568ba
#!/bin/bash -eu ## # status <string> # status() { echo -e "\033[36m$1\033[0m" } ## # error <string> # error() { echo -e "\033[91mError: $1\033[0m" 1>&2 } ## # warning <string> # warning() { echo -e "\033[33mWarning: $1\033[0m" 1>&2 } ## # log <command> # # Logs the given commands output to $LOG_FILE # log() { l...
Shell
Dependencies/phases/utility.sh
obeattie/adium
gpl-2.0
9,638
404
codeparrot/github-code
f8d7ae9c2cd6ea2e05a37694230df3cf9d595003d0756ee10b6e180bb45571ff
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.geotools.Converter; import java.io.File; import java.io.IOException; import java.io.Serializable; import java.net.MalformedURLException; import java.util.ArrayList; import java.util.Collections; import java....
Java
src/main/java/org/geotools/Converter/shpMain.java
banmedo/Converter
gpl-2.0
14,378
366
codeparrot/github-code
431e30c0fd2d6a74fe50bad756b56e27b16fae986f1e4060c8530349364c7911
<!DOCTYPE html> <html <?php language_attributes(); ?>> <head profile="http://gmpg.org/xfn/11"> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <title><?php if (is_home () ) { bloginfo('name'); } elseif ( is_category() ) { single_cat_title(); echo " - "; bloginfo('name'); } elseif (is_single() || is_page() ) { sin...
PHP
wp-content/themes/perfct/header.php
kcloze/kcloze-blog
gpl-2.0
2,915
81
codeparrot/github-code
0e4b55f584e4555a181dc123a813f6631e0d0478e8841089f9d101d9d7eb8d67
#include "lolevel.h" #include "platform.h" #include "core.h" #include "dryos31.h" #define offsetof(TYPE, MEMBER) ((int) &((TYPE *)0)->MEMBER) const char * const new_sa = &_end; extern void task_PhySw(); extern void task_CaptSeq(); extern void task_InitFileModules(); extern void task_RotaryEncoder(); extern void task...
C
platform/ixus130_sd1400/sub/100a/boot.c
c10ud/CHDK
gpl-2.0
19,913
645
codeparrot/github-code
fd9263e3919664ea0ca81b92c81eefbcfce314bd306405af33ddda6f3a5dd074
#include <linux/clockchips.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/spinlock.h> #include <asm/gt64120.h> #include <asm/time.h> static DEFINE_RAW_SPINLOCK(gt641xx_timer_lock); static unsigned int gt641xx_base_clock; void gt641xx_set_base_clock(unsigned int clock) { gt641xx_base_clock ...
C
kernel/arch/mips/kernel/cevt-gt641xx.c
luckasfb/OT_903D-kernel-2.6.35.7
gpl-2.0
2,863
123
codeparrot/github-code
f81093c4a086c7c00dd2c1bc220b21ebab31c68d51b4196579587cffdcd30530
# # Fluentd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, so...
Ruby
user/fluentd/lib/fluent/test/base.rb
atmark-techno/atmark-dist
gpl-2.0
2,880
122
codeparrot/github-code
4eaa33240365e73b4ea938e327faf5b810cd9b9e0d515c8d205b76a65bcb5585
/* * drivers/net/phy/phy.c * * Framework for configuring and reading PHY devices * Based on code in sungem_phy.c and gianfar_phy.c * * Author: Andy Fleming * * Copyright (c) 2004 Freescale Semiconductor, Inc. * Copyright (c) 2006, 2007 Maciej W. Rozycki * * This program is free software; you can redistribut...
C
drivers/net/phy/phy.c
scotthartbti/cm_samsung_kernel_dempsey
gpl-2.0
23,332
969
codeparrot/github-code
18acda2497851c92476d86fd81799d11b1d5c2d819d350e60c32782789fee931
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <CL/cl.h> unsigned char *read_buffer(char *file_name, size_t *size_ptr) { FILE *f; unsigned char *buf; size_t size; /* Open file */ f = fopen(file_name, "rb"); if (!f) return NULL; /* ...
C
test/integer/max_charchar/max_charchar_bin.c
xianggong/m2c_unit_test
gpl-2.0
11,283
354
codeparrot/github-code
383103c2d73b5b2550efc9f367ac37848a70e5ed1da7ec21bf0f43f2f4699d25
/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
C++
Sources/Engine/Base/Win32/Win32Synchronization.cpp
ptitSeb/Serious-Engine
gpl-2.0
8,415
323
codeparrot/github-code
30c9890c2e09fb334547a8ed3c2ccee0bbedda2cdf635259c9d27ff3f621b046
/* ///////////////////////////////////////////////////////////////////////// */ /* This file is a part of the BSTools package */ /* written by Przemyslaw Kiciak */ /* ///////////////////////////////////////////////////////////////////////// */...
C
src/raybez/rayboxd.c
radek-p/BSTools
gpl-2.0
3,034
99
codeparrot/github-code
304a7013329210733a44df57ad9df12b616cd822d887662c33a91c21cb42e72f
/* * * QtPcr is a PCR-1000 controls. * * Copyright (C) 2001 * * Teepanis Chachiyo <teepanis@physics.purdue.edu> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2...
C
src/bmtree.h
tiv-source/qtpcr
gpl-2.0
2,192
85
codeparrot/github-code
b024f20ac78cd054c90e36e1027df0ea57c38e9ddf35276b3092e6177fecceb9
/* * This file is part of the coreboot project. * * Copyright 2018 Intel Corp. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This program is distribute...
C
src/mainboard/google/octopus/romstage.c
wolflee/coreboot
gpl-2.0
1,690
61
codeparrot/github-code
58487aab5ab20768b8631ef1e6f6635242fbb45bc1686d81b402a94a64ae000d
<?php // $Id$ /// Library of functions and constants for module glossary /// (replace glossary with the name of your module and delete this line) require_once($CFG->libdir.'/filelib.php'); define("GLOSSARY_SHOW_ALL_CATEGORIES", 0); define("GLOSSARY_SHOW_NOT_CATEGORISED", -1); define("GLOSSARY_NO_VIEW", -1); define...
PHP
mod/glossary/lib.php
XSCE/moodle-xs
gpl-2.0
85,111
2,257
codeparrot/github-code