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
c9be08b29438e991c2222710f9173ef45b6a0e2bb63bd1299428d705ca808665
#if defined(LISP) || defined(JAVA) /***************************************************************************** * PROJECT: New Millennium * * (c) Copyright 1996 Reid Simmons. All rights reserved. * * FILE: ipcLisp.c * * ABSTRACT: Functions needed specifically for LISP version of IPC. * The idea is...
C
src/lib/core/ipc/ipcLisp.c
kralf/carmen
gpl-2.0
22,867
899
codeparrot/github-code
5d99b482462e8bac836b98373ea0b302ed4e590281c48275eec786bfbfe67611
/* * main.cpp * * Created on: 25 mar 2014 * Author: Mike */ // Inclusions #include "main.h" // Functions void welcome(){ std::cout << "Project Euler v" << GLOBAL_CONST_VERSION; } // Main function int main(int argc, char *argv[]){ if(argc <= 1){ if(argc == 1){ welcome(); } ...
C++
src/main.cpp
anhility/project-euler
gpl-2.0
1,037
52
codeparrot/github-code
2205af572c83845b19e3e1df24d6d871a7f91ec08a66c345dbe79334e7535737
/** * @file * Provides functions that enable the selection of elements on a webpage, which can then be manipulated. * * HTML elements on the webpage that have a class containing '.selectable' */ // JavaScript should be made compatible with libraries other than jQuery by // wrapping it with an "anonymous closure...
JavaScript
sites/all/modules/custom/selection/scripts/selection.js
Droces/casabio
gpl-2.0
15,831
602
codeparrot/github-code
323c056ca1d5f9b8c46e861bc6621b6acfd10c81b17c34c65bec26ab94c42524
<?php namespace buildr\ServiceProvider; use buildr\Application\Application; /** * Service Provider. This class can handle all sort of service registration. * This class job is to register services and handle loading of optional services. * * BuildR PHP Framework * * @author Zoltán Borsos <zolli07@gmail.com> * ...
PHP
src/ServiceProvider/ServiceProvider.php
Zolli/BuildR
gpl-2.0
4,773
151
codeparrot/github-code
986610bac9812eb79776a02d3beedf9c134b5812d88e6e0f4bd7c55b19ccadd7
'use strict'; import BaseContentService from './BaseContentService.js'; import {Question} from 'common/models.js'; import {Injector} from 'kusema.js'; var I = new Injector('$http', '$q'); var QuestionService = function() { BaseContentService.call(this, true); I.init(); this.urlStem = 'api/questions'; } Ques...
JavaScript
Client/lib/common/services/QuestionService.js
akdor1154/kusema
gpl-2.0
1,296
39
codeparrot/github-code
3d1d76f8983e2c974298452e0c40005b0fd564638c47aa72f941d32435e4b21f
// ********************************************************************** // // Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ***************************************************...
Java
java/src/IceInternal/OutgoingConnectionFactory.java
joshmoore/zeroc-ice
gpl-2.0
37,163
1,205
codeparrot/github-code
eeaa21cecc5ad7585649a79df041ee4e0fa8f983fe472f7bb9e2bdf00daac783
/** @file Main file for DrvCfg shell Driver1 function. Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of th...
C
src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellDriver1CommandsLib/DrvCfg.c
miguelinux/vbox
gpl-2.0
46,459
1,395
codeparrot/github-code
5fceec94c348f764eb6425a05b225054421d70c8a5805a6a05ed6b6f10217d5d
<?php declare(strict_types=1); namespace PoPCMSSchema\Users\ConditionalOnComponent\CustomPosts\ConditionalOnComponent\API\ModuleProcessors; use PoP\Root\App; use PoPAPI\API\ModuleProcessors\AbstractRelationalFieldDataloadModuleProcessor; use PoP\ComponentModel\QueryInputOutputHandlers\ListQueryInputOutputHandler; us...
PHP
layers/CMSSchema/packages/users/src/ConditionalOnComponent/CustomPosts/ConditionalOnComponent/API/ModuleProcessors/FieldDataloadModuleProcessor.php
leoloso/PoP
gpl-2.0
3,656
91
codeparrot/github-code
0a9667439538511d100fc08b60b9fe563f3aa2e0331729dd1ba608cc49e0868b
/** A modal view for handling user logins @class LoginView @extends Discourse.ModalBodyView @namespace Discourse @module Discourse **/ Discourse.LoginView = Discourse.ModalBodyView.extend({ templateName: 'modal/login', siteBinding: 'Discourse.site', title: Em.String.i18n('login.title'), authenticate:...
JavaScript
app/assets/javascripts/discourse/views/modal/login_view.js
SuperSonicDesignINC/FXDD
gpl-2.0
4,631
159
codeparrot/github-code
c4e2a6995d678adfc392088328d19f9b56422d6596c82d4c47d8ecf21a630e0d
<?php $wl_theme_options = weblizar_get_options(); ?> <div class="block ui-tabs-panel active" id="option-general" > <form method="post" id="weblizar_theme_options_general"> <div id="heading"> <table style="width:100%;"><tr> <td cols=2 ><h2><?php _e('General Settings','weblizar');?></h2></td> <td style="wi...
PHP
wp-content/themes/weblizar/core/theme-options/option-settings.php
eq0rip/Hamroreview.com
gpl-2.0
68,175
1,304
codeparrot/github-code
766f873b0b04c3b6c1833fe15ea7b381c5a51a1ab4bcec130b7b9501b1cc3093
/* * Copyright 2003-2005 Red Hat, Inc. All rights reserved. * Copyright 2003-2005 Jeff Garzik * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your optio...
C
include/linux/libata.h
akennedy-adtran/linux_mmc_2.6.32.9
gpl-2.0
56,099
1,700
codeparrot/github-code
1fce68c001257d9cb7dde1ef2827d1b4150b765c79374aaf0a470b2bbdae2b0a
<?php /** * File containing the eZURLAlias class. * * @copyright Copyright (C) 1999-2012 eZ Systems AS. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2 * @version 2012.2 * @package kernel */ /*! \class eZURLAliasML ezurlaliasml.php \brief Handles URL al...
PHP
kernel/classes/ezurlaliasml.php
jim835/qscene_ez
gpl-2.0
89,920
2,304
codeparrot/github-code
31c8454a943a6a1d0023297e705b66f72c46b054129750214f8b3240db3debaa
/* * botmsg.c -- handles: * formatting of messages to be sent on the botnet * sending different messages to different versioned bots * * by Darrin Smith (beldin@light.iinet.net.au) */ /* * Copyright (C) 1997 Robey Pointer * Copyright (C) 1999 - 2022 Eggheads Development Team * * This program is free softw...
C
src/botmsg.c
eggheads/eggdrop
gpl-2.0
24,581
942
codeparrot/github-code
c7e0dd3671c09588d0980461139942a09150f273199eccdd26f6642365b549ed
/** * (C) 2010-2011 Alibaba Group Holding Limited. * * 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. * * Version: $Id$ * * ob_packet_queue_thread.h for ... * * Authors: * ...
C
src/common/ob_packet_queue_thread.h
mrunix/streambase
gpl-2.0
1,507
69
codeparrot/github-code
118698cb1c12f04ca5767551c8474fcb1c2ac9a547d4c9aca1ba2e86bf7e6b68
/* AArch64-specific backend routines. Copyright 2009-2013 Free Software Foundation, Inc. Contributed by ARM Ltd. This file is part of BFD, the Binary File Descriptor library. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as pu...
C
bfd/cgcxx-aarch64.h
CyberGrandChallenge/binutils
gpl-2.0
1,723
48
codeparrot/github-code
bec2b5e380ce52d360c292d07f8cece6835d5b5a5eb82e69a779897e2da3245e
#!/usr/bin/env perl use strict; use warnings; # Copyright Verena M. Link <vlink@ucsd.edu> # # This file is part of MMARGE # # MMARGE 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 Li...
Perl
MMARGE_v1.0/bin/count_mutations_per_strain.pl
vlink/marge
gpl-2.0
12,240
288
codeparrot/github-code
8c9f5c8919d3c89cf68c39284577cbf22c42cb49832fac86dce1ded08918b1c3
/* Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the h...
C++
storage/perfschema/table_threads.cc
mmplayer/MySQL
gpl-2.0
10,137
357
codeparrot/github-code
f1561056cae1698f52f9fad978a1deff5212546674a93225ef2a18faf69aad6e
/* * Modern effects for a modern Streamer * Copyright (C) 2017 Michael Fabian Dirks * * 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...
C++
source/obs/gs/gs-indexbuffer.cpp
Xaymar/obs-stream-effects
gpl-2.0
2,065
64
codeparrot/github-code
e36c8dee0bc40f5cd5ecf128d490809ae6d0f4f6c1e1cf484c45eaeb9ea46d97
/* GLIB - Library of useful routines for C programming * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald * * 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; e...
C
src/mediadevices/ipod/include/glib/glist.h
exic/last.fm-dbus
gpl-2.0
4,961
117
codeparrot/github-code
a89df7c97ac2db52b25fafb11d0a4de861df67f99f2f39687b3bfb8f10b46f50
/* * File: el_string.c * Copyright: (c)2015 Gerrard de Jonge <development.gdj@netvisit.nl> * License: GPLv2 (see file COPYING) * */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <ctype.h> #include "el_defs.h" #include "el_string.h" /// /// /// /// void clearMarker(char * s, ch...
C
src/el_string.c
gerrarddejonge/el-calc
gpl-2.0
2,995
203
codeparrot/github-code
c2c80db80bbe74662b38ffa0b9ac49c9a5de823e60b2f3176330c570d328f0ba
/* * ---------------------------------------------------------------------------- * Copyright (c) 2012-2013, xSky <guozhw at gmail dot com> * All rights reserved. * Distributed under GPL license. * ---------------------------------------------------------------------------- */ #include <event.h> #inclu...
C++
xBlog.cpp
caibaibai/xblog
gpl-2.0
9,864
349
codeparrot/github-code
05af7c1ba4a239875a6fc404bd700c837ebadfa34e0fe17b7d2f0c86dd7e434a
/** * <p>Title: ClipboardListener.java</p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2005</p> * <p>Company: NASA Ames Research Center</p> * @author Ronald Mak & Luca Severini <lucaseverini@mac.com> * @version 2.0 */ package rope1401; import java.awt.*; import java.awt.datatransfer.*; public cla...
Java
src/rope1401/ClipboardListener.java
lucaseverini/ROPE
gpl-2.0
1,713
85
codeparrot/github-code
758085c940b80817b89e800f00ce83d89f11bee943050270e5878d4859e82e8e
/** * Copyright (C) 2007-2016 52North Initiative for Geospatial Open Source * Software GmbH * * 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. * * If the program is linked with ...
Java
src/main/java/org/n52/v3d/triturus/gisimplm/GmSimpleElevationGrid.java
52North/triturus
gpl-2.0
17,502
568
codeparrot/github-code
55bfa0823cedefbefe88d02329de91967113e47c33ad610ec3a9b0a4cd94fb97
#include "rstp.h" #include "swsock.h" #include "switch.h" #include <sys/time.h> pthread_t mgmt_thread; pthread_t recv_thread; pthread_t sig_thread; LIST_HEAD(registered_interfaces); pthread_mutex_t list_lock; extern char rstp_queue_name[32]; extern unsigned int checkGlobalConditions(struct rstp_interface *); stru...
C
userspace/rstp/rstpd.c
lisa-project/lisa-user
gpl-2.0
8,422
317
codeparrot/github-code
823de0034ee18e532147ab3a2cee38c774e971a87bab7bae74a64ef4846c378a
/* WZPlayer, GUI front-end for mplayer and MPV. Parts copyright (C) 2006-2015 Ricardo Villalba <rvm@users.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 vers...
C++
src/settings/filesettingsbase.cpp
wilbert2000/smplayer
gpl-2.0
1,100
32
codeparrot/github-code
f793478a28c66a44812f8f39e4f62ba794dec8f188f5f9cc4d250778341f91ec
/** @file Color3uint8.h @maintainer Morgan McGuire, graphics3d.com @created 2003-04-07 @edited 2006-06-24 Copyright 2000-2006, Morgan McGuire. All rights reserved. */ #ifndef G3D_COLOR3UINT8_H #define G3D_COLOR3UINT8_H #include "G3D/platform.h" #include "G3D/g3dmath.h" namespace G3D { /* Repres...
C
dep/include/g3dlite/G3D/Color3uint8.h
adrimat007/Beta-Mop-ADrimat
gpl-2.0
2,672
111
codeparrot/github-code
7864ca7e937b09134019e3b4abf30f4faf8f1aa6dbfd6498fa2ceb49ed319dc0
/* * ACPI PCI HotPlug PCI configuration space management * * Copyright (c) 1995,2001 Compaq Computer Corporation * Copyright (c) 2001 Greg Kroah-Hartman (greg@kroah.com) * Copyright (c) 2001,2002 IBM Corp. * Copyright (c) 2002 Takayoshi Kochi (t-kochi@bq.jp.nec.com) * Copyright (c) 2002 Hiroshi Aono (h-aono@ap.j...
C
drivers/hotplug/acpiphp_pci.c
nslu2/linux-2.4.x
gpl-2.0
17,606
704
codeparrot/github-code
d7bd022cab2eac4a16f339f727578f2e04126066b117b3961871f8eaec8e834f
/* The oSIP library implements the Session Initiation Protocol (SIP -rfc3261-) Copyright (C) 2001,2002,2003 Aymeric MOIZARD jack@atosc.org 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 Foun...
C
userapps/opensource/siproxd/libosip2/src/osipparser2/osip_port.c
z3bu/AH4222
gpl-2.0
15,818
710
codeparrot/github-code
fc9035b66007d9d852c7fd87df09492d0bea46e0d22da2a10a49e85f105425c5
; $Id: bs3-bootsector.asm $ ;; @file ; Generic bootsector for BS3. ; ; This sets up stack at %fff0 and loads the next sectors from the floppy at ; %10000 (1000:0000 in real mode), then starts executing at cs:ip=1000:0000. ; ; ; Copyright (C) 2007-2016 Oracle Corporation ; ; This file is part of VirtualBox Open Source ...
Assembly
src/VBox/ValidationKit/bootsectors/bs3kit/bs3-bootsector.asm
miguelinux/vbox
gpl-2.0
11,436
397
codeparrot/github-code
7e63917d2dd6e6b59b45d81a4d74bf8371151f7e1ce0573978878d28cf83e5cf
/* ZynAddSubFX - a software synthesizer Alienwah.C - "AlienWah" effect Copyright (C) 2002-2005 Nasca Octavian Paul Author: Nasca Octavian Paul Modified for rakarrack by Josep Andreu This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General P...
C++
src/Alienwah.C
Stazed/rakarrack
gpl-2.0
6,852
321
codeparrot/github-code
2d661cc0051c8a72e4d82da2019650cc2a50110ce42e57819bdd3ac3f344416a
<?php /** * * Types Marketing Class * * $HeadURL: https://www.onthegosystems.com/misc_svn/cck/tags/1.6.6.5/classes/class.wpcf-marketing-messages.php $ * $LastChangedDate: 2015-03-19 17:22:58 +0000 (Thu, 19 Mar 2015) $ * $LastChangedRevision: 32503 $ * $LastChangedBy: juan $ * */ include_once dirname(__FILE__)...
PHP
wp-content/plugins/types/classes/class.wpcf-marketing-messages.php
juliusmiranda/wordpress
gpl-2.0
11,944
365
codeparrot/github-code
7cf91b1ac7de715f551d184ea53a3ba0bf47e12251b27b3d94f5f88dcb576acf
/**************************************************************************\ * * FILE: Int16Record.cpp * * This source file is part of DIME. * Copyright (C) 1998-1999 by Systems In Motion. All rights reserved. * * This library is free software; you can redistribute it and/or modify it * under the terms o...
C++
src/records/Int16Record.cpp
h4ck3rm1k3/TwoNickels
gpl-2.0
2,623
121
codeparrot/github-code
8908b67e6ffa8e6e178f9e20c554d85bf9980f3fbea1b6cc3d4ffca04b355f0e
#include <linux/module.h> #include <linux/video_output.h> #include <linux/slab.h> #include <linux/err.h> #include <linux/ctype.h> MODULE_DESCRIPTION("Display Output Switcher Lowlevel Control Abstraction"); MODULE_LICENSE("GPL"); MODULE_AUTHOR("Luming Yu <luming.yu@intel.com>"); static ssize_t video_output_show_stat...
C
kernel/drivers/video/output.c
luckasfb/OT_903D-kernel-2.6.35.7
gpl-2.0
2,551
112
codeparrot/github-code
63ae2c3e9b75000668b20fd1be99a0b1c0791756b1a06e419ce258941146c6d3
<?php namespace Album\Model; /** * * @author Rogerio Lamarques * */ use Zend\Db\TableGateway\TableGateway; class AlbumTable { protected $tableGateway; public function __construct(TableGateway $tableGateway) { $this->tableGateway = $tableGateway; } public function fetchAll() ...
PHP
module/Album/src/Album/Model/AlbumTable.php
lamarques/Zend-studies
gpl-2.0
1,418
69
codeparrot/github-code
e7fbd95f5a07c27e247390f1995182e284c4b51640e611dcd41be8b007720d17
<?php /* core/themes/classy/templates/navigation/breadcrumb.html.twig */ class __TwigTemplate_409f5f562164b0f9049b70e0b01c2edc7c70d123e0f9fa1f2378198c8de96bdf extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; ...
PHP
sites/default/files/php/twig/5b08fe9a00394_breadcrumb.html.twig_bpT9qXxQz_4B9K3QemSggcJmT/IVc0q79j4Y19Uv2OOMsPaLuNWKUUGGyreYxX9ChfHYA.php
sachinsuryavanshi/sachlife-xampp
gpl-2.0
4,970
117
codeparrot/github-code
ba1b07595cab909014ee9ab5a10a931c50d592df96453fc16be7aef584c9ceb2
/******************************************************************************* JimmLangFileTool - Simple Java GUI for editing/comparing Jimm language files Copyright (C) 2005 Jimm Project This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License a...
Java
util/jlft2/src/jimmLangFileTool/LGFileSubset.java
fin-nick/fj
gpl-2.0
2,216
107
codeparrot/github-code
0f1d71332c70f166fecb6d999792c70299450cb7da8aba993c4210b382589a72
// // Created by 孙启龙 on 2017/8/18. // #include<cstdio> #include<iostream> #include<cstring> #include<algorithm> #include<cmath> #include<vector> #include<queue> #include<map> #include<set> #include<ctime> using namespace std; typedef long long ll; #define INF 0x3f3f3f3f #define maxn 1111 char c[] = {'A', 'H', 'I', 'M...
C++
acm clion/Secure but True 2/Secure but True .cpp
sunmoyi/ACM
gpl-2.0
1,326
73
codeparrot/github-code
84a27dd172f7a376e79b1354c7450595edc8c77444f946e8778c2d6fd59b7302
/* This file is part of the OdinMS Maple Story Server Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc> Matthias Butz <matze@odinms.de> Jan Christian Meyer <vimes@odinms.de> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero Genera...
Java
src/server/expeditions/MapleExpeditionType.java
xstory61/server
gpl-2.0
2,190
77
codeparrot/github-code
3ffd2dc02506d9c90f542562caf7cf3d289f59f89316c5834842e60d14d97d10
package com.byhealth.wechat.mysdk.process.in.executor; import com.byhealth.wechat.base.admin.entity.RespMsgActionEntity; import com.byhealth.wechat.config.MsgTemplateConstants; import com.byhealth.wechat.mysdk.constants.WechatReqMsgtypeConstants; import com.byhealth.wechat.mysdk.context.WechatContext; import com.byhea...
Java
src/com/byhealth/wechat/mysdk/process/in/executor/InWechatTextMsgExecutor.java
huangyaoming/wxtest
gpl-2.0
1,686
46
codeparrot/github-code
40417467fb7ba5395e0250800c88fa70288c07b5c3e0785a2ea7bb5c666e5631
/* * MultiSelect v0.9.8 * Copyright (c) 2012 Louis Cuny * * This program is free software. It comes without any warranty, to * the extent permitted by applicable law. You can redistribute it * and/or modify it under the terms of the Do What The Fuck You Want * To Public License, Version 2, as published by Sam Hocevar. ...
JavaScript
wp-content/plugins/codespacing-progress-map/js/jquery.multi-select.js
jvvlimme/www.zenstore.dev
gpl-2.0
17,428
486
codeparrot/github-code
389f7dcbc98943905b1a64f2438094547c9cbe52dd1a71e1f57ebd65b70aeed4
#include "person.h" Person::Person() { hunger=0; toilet=0; WaitForDo=0; } void Person::AddToDo(Deal todo, float time) { ToDoList.append(qMakePair(todo,time)); if (WaitForDo==0) WaitForDo=time; } void Person::CheckDeal() { WaitForDo-=1; if (WaitForDo<0) { if (!ToDoList.isEmpt...
C++
town/person.cpp
SteeveRan/town
gpl-2.0
895
59
codeparrot/github-code
5ff7f20ed3f5c35b5a25013c7939957ec6d5cd5b406e340d248ae9ee729ffb94
<?php // We are adding thumbnail support for forums add_action('init', 'firmasite_social_bbpress_init'); function firmasite_social_bbpress_init() { add_post_type_support( 'forum', 'thumbnail' ); } // We are adding bbpress support for theme special systems add_action('firmasite_pre_get_posts_ekle', 'firmasit...
PHP
wp-content/themes/firmasite/functions/bbpress.php
simonkim/wp-weirdmeetup
gpl-2.0
10,073
307
codeparrot/github-code
b262ff4c692170fd13588692cb5baf748837a6916792479bce898dbd4cf97b06
/* * linux/include/linux/mmc/card.h * * 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. * * Card driver specific definitions. */ #ifndef LINUX_MMC_CARD_H #define LINUX_MMC_CARD...
C
include/linux/mmc/card.h
mbadarkhe/davinci-next
gpl-2.0
17,007
532
codeparrot/github-code
1eb3e1ace7bee6bd4d268e7f81e5110b330cfd3e87da716f997c53d80d02ab95
/* * SELinux NetLabel Support * * This file provides the necessary glue to tie NetLabel into the SELinux * subsystem. * * Author: Paul Moore <paul.moore@hp.com> * */ /* * (c) Copyright Hewlett-Packard Development Company, L.P., 2007, 2008 * * This program is free software; you can redistribute it and/or mo...
C
security/selinux/netlabel.c
Core2idiot/Kernel-Samsung-3.0...-
gpl-2.0
12,634
475
codeparrot/github-code
7940cae0d174127152d5256ebeb778c519842dd6c20e2192eb38938fc0b6e477
#include <linux/module.h> #include <linux/timex.h> #include <linux/capability.h> #include <linux/clocksource.h> #include <linux/errno.h> #include <linux/syscalls.h> #include <linux/security.h> #include <linux/fs.h> #include <linux/math64.h> #include <linux/ptrace.h> #include <asm/uaccess.h> #include <asm/unistd.h> ...
C
kernel/kernel/time.c
luckasfb/OT_903D-kernel-2.6.35.7
gpl-2.0
11,972
531
codeparrot/github-code
f1ed3b244fda876b50d1b897bb555f0191a7f1a7af62506157b851a436c6e0d0
<!DOCTYPE html> <!-- Copyright (c) 2012-2014 Adobe Systems Incorporated. All rights reserved. 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. ...
HTML
quest10.html
michaelstarlight/superbibletrivia
gpl-2.0
3,048
92
codeparrot/github-code
eb21dce13bd13bd33f963750443f1d40d6d8678167aa1e8038807cc6806e63dd
#include "openbios/config.h" #include "openbios/bindings.h" #include "asm/types.h" /* program counter */ extern ucell PC; extern unsigned char *dict; extern cell dicthead; extern ucell *last; struct eregs { uint32_t eax, ecx, edx, ebx, esp, ebp, esi, edi; uint32_t vector; ...
C
arch/x86/exception.c
tycho/openbios
gpl-2.0
2,010
93
codeparrot/github-code
b86374718d2fde0b6c85cbc85e84522c7949729d9b9f7f4d0252360111d20696
/* * This file is part of the coreboot project. * * Copyright (C) 2012 Advanced Micro Devices, 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; version 2 of the License. * * This ...
C
src/mainboard/amd/olivehill/BiosCallOuts.c
kakaroto/coreboot
gpl-2.0
7,500
183
codeparrot/github-code
83f609df4ddafb17c4f21bdd1d493a690887ce091fbbc064c9be5f5c22ede081
/* * Copyright 2005-2013 Freescale Semiconductor, Inc. All Rights Reserved. */ /* * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License * Version 2 or later at the following locations: * * http://www.opensource.org/licenses/gpl-li...
C
drivers/media/video/mxc/capture/adv7180.c
bluechiptechnology/Rx3_linux_3.0.35_4.0.0
gpl-2.0
37,027
1,323
codeparrot/github-code
c8cd8eb92a93491b4487ae8fb5f8ccb7501c607040b3dd2d6b9a78e1875149f4
/* * Dummy LL interface for the Gigaset driver * * Copyright (c) 2009 by Tilman Schmidt <tilman@imap.cc>. * * ===================================================================== * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License ...
C
drivers/isdn/gigaset/dummyll.c
Jackeagle/android_kernel_sony_c2305
gpl-2.0
1,582
78
codeparrot/github-code
f0a8550a52ae0272fb9b425e6fee93bd4fe4352469222722699135daef63f56b
/********************************************************************** Audacity: A Digital Audio Editor Envelope.cpp Dominic Mazzoni (original author) Dr William Bland (integration - the Calculus kind) Monty (xiphmont) (important bug fixes) ****************************************************************...
C++
src/Envelope.cpp
ThomasFeher/audacity
gpl-2.0
49,441
1,578
codeparrot/github-code
6709e11af63af9ce79b68d7b84df7f7723bd0a15a450c9d6f773f0036c4d4ce0
/*------------------------------------------------------------------------ * Step length estimation by parabolic line search for the AC case * * D. Koehn * Kiel, 12.06.2017 * ----------------------------------------------------------------------*/ #include "fd.h" float step_length_est_ac(struct waveAC *waveAC,...
C
src/AC/step_length_est_ac.c
daniel-koehn/DENISE-Black-Edition
gpl-2.0
5,896
185
codeparrot/github-code
81687f62e2143fe92c4b506fd9608fe8b8a32f9515a914cda73de0c65830b69a
/* Copyright (C) 2009 The Android Open Source Project ** ** This software is licensed under the terms of the GNU General Public ** License version 2, as published by the Free Software Foundation, and ** may be copied, distributed, and modified under those terms. ** ** This program is distributed in the hope that it wil...
C
android/utils/assert.h
tmurakam/aosp-external-qemu
gpl-2.0
6,299
175
codeparrot/github-code
f176f0285d931aac74bd6be51b1e0579dbbff8493d7be38763d5c1c39941ab2e
<?php /** * @package Joomla.Plugin * @subpackage Editors-xtd.fields * * @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Component\ComponentHelper; ...
PHP
plugins/editors-xtd/fields/fields.php
twister65/joomla-cms
gpl-2.0
2,629
87
codeparrot/github-code
e4f3506c695d0adceca46103a8a110d17d5c3f869a16161b35b7e513c1161dea
#include "renderer.h" #include "controller.h" #include "renderableobject.h" #include <QtQuick/qquickwindow.h> #include <QtGui/QOpenGLShaderProgram> #include <QtGui/QOpenGLContext> #include <QGLFormat> #include <QOpenGLContext> #include <iostream> #include <cmath> #include <QOpenGLFramebufferObjectFormat> using namespa...
C++
renderer.cpp
andeplane/SimpleVisualizer
gpl-2.0
2,012
83
codeparrot/github-code
2ea6d3c78e833305a853126f5d4fe24b1f07fbf33474eb1e883a97dc5efe115c
/*************************************************************************** * This file is part of KDevelop * * Copyright 2007 Andreas Pakulat <apaku@gmx.de> * * * * This pr...
C
plugins/subversion/svnlogjob.h
blackjack/kdevplatform
gpl-2.0
2,242
57
codeparrot/github-code
11b9b44cc3cfbd5970e378a99f543e03e9fa1f9b0b6aeb1015004afe932d16fc
#ifndef VOLUME_RENDERER_H #define VOLUME_RENDERER_H #include "GL/glew.h" #include "volume_renderer_global.h" #include <QWidget> class TransferFunction1DWidget; class VolumeRenderWidget; class QSlider; class VOLUMERENDERER_EXPORT VolumeRenderer : public QWidget { Q_OBJECT public: VolumeRenderer(); ~Volum...
C
VolumeRenderer/volume_renderer.h
Edgar324/ScatterPointGlyph
gpl-2.0
848
38
codeparrot/github-code
b94e7ab3435583ede86a5b718100cea0565f6884ac13bf885548c85ab92b417c
// // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005-2014 Simon Howard // // 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...
C
src/doom/f_wipe.c
WarlockD/crispy-doom
gpl-2.0
5,197
295
codeparrot/github-code
39b2f4ae3d30452e76703ac72c6ff97038a2c7963e9ea87cefe094feb4bb2ab5
/* * #%L * VisBio application for visualization of multidimensional biological * image data. * %% * Copyright (C) 2002 - 2014 Board of Regents of the University of * Wisconsin-Madison. * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public Lic...
Java
src/main/java/loci/visbio/VisBio.java
uw-loci/visbio
gpl-2.0
4,536
143
codeparrot/github-code
a9455045201d178aeb184e4d275b2e7f25d9114098eb3d6ad86e6ededc6b7eee
<?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); /** * The configuration file for VirtueMart * * @package VirtueMart * @subpackage core * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * VirtueMart is free software. Th...
PHP
administrator/components/com_virtuemart/virtuemart.cfg.php
kuwox/wwwfranar
gpl-2.0
6,790
163
codeparrot/github-code
90033ae25cfb992bdacc8bfd2f3bffdf9f7828af8a9b35aa1e5b12b4500009f0
<?php defined( 'ABSPATH' ) or die( 'You cannot access this script directly' ); // Hook importer into admin init add_action( 'admin_init', 'hb_importer' ); function hb_importer() { global $wpdb; if ( current_user_can( 'manage_options' ) && isset( $_GET['import_content_data'] ) ) { if ( !defined('WP_LOAD_IMPORTERS')...
PHP
wp-content/themes/HighendWP/includes/plugins/importer/importer.php
czucker/genco
gpl-2.0
33,687
717
codeparrot/github-code
e4542b9f63d44628b76c915aaeaa9a04cffbe437e024cbb02a77b0db539ca32f
/* * TODO: license */ package ca.mbabic.headphonecontroller.statemachine; import java.lang.Thread.State; import java.util.concurrent.Semaphore; import android.util.Log; import ca.mbabic.headphonecontroller.services.MediaButtonListenerService; /** * State machine keeping track of the state of the but...
Java
src/ca/mbabic/headphonecontroller/statemachine/HCStateMachine.java
mbabic/HeadphoneController
gpl-2.0
4,900
204
codeparrot/github-code
81278f0d2a46069089ce626b0a22cc68cae9bff5c7ff8b969f3a3df411404c7a
/* * Copyright (C) 2014-2017 StormCore * * 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 dis...
C++
src/server/scripts/World/boss_emerald_dragons.cpp
Ragebones/StormCore
gpl-2.0
24,419
814
codeparrot/github-code
8d416ca4f040d14e1934d3bf0746165c9fd51d71b71e5a9249e724bd93eb2240
/* * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
Java
graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewArrayStub.java
mcberg2016/graal-core
gpl-2.0
7,960
143
codeparrot/github-code
5a39391fdb1eda3be2fc4a73904bbef579470f45ce90254683105c3395fdcf1b
//****************************************************************************** // // libCZI is a reader for the CZI fileformat written in C++ // Copyright (C) 2017 Zeiss Microscopy GmbH // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public Licens...
C
src/CZIlib/CZI/libCZI_Helpers.h
Washington-University/workbench
gpl-2.0
8,825
224
codeparrot/github-code
da3cb9ca01fd25fa323e63adb3fabedcc02262e1f6b0e3ae35a4c1e89236ed85
// Copyright (C) 2009 Nexell Co., All Rights Reserved // Nexell Co. Proprietary & Confidential // // NEXELL INFORMS THAT THIS CODE AND INFORMATION IS PROVIDED "AS IS" BASE // AND WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING // BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND...
C
arch/arm/mach-nxp2120/nx_timer.c
byungbok/webcon-kernel
gpl-2.0
42,587
1,097
codeparrot/github-code
12b6593c8ccbb5677ede953e4aa44f0b1549ef21de8be297639185231ed14d48
#region License /* * This file is part of uEssentials project. * https://uessentials.github.io/ * * Copyright (C) 2015-2018 leonardosnt * * 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 F...
C#
src/Commands/CommandRefuelVehicle.cs
uEssentials/uEssentials
gpl-2.0
2,730
81
codeparrot/github-code
e46c17e3dc4ff165e2ebc3d1efdf7b05db860564c860989e69ed26326c8e3ba2
""" Stateful module base class and interface description. All stateful Python modules - Get Skype4Py Skype instance on init - have full control over Skype and thus are not limited to !command handlers - Reside in the some modules/ folder as UNIX script modules - Have .py extension and be ...
Python
unused-modules/stateful.py
mikemike/SkypeBot
gpl-2.0
2,755
100
codeparrot/github-code
e4f2b6f9379d0f3ca1b4b2daf677f8c9ef1577b0c4b8264b9065517b7d0f5974
<?php /** * Template Name: WDM Search Page */ include(WP_PLUGIN_DIR.'/wdm-search/wdm-query.php'); global $wp_query, $product_page_width, $product_sidebar, $product_sidebar_width; $product_sidebar = false; if (prima_get_option('themelayout') == 'boxed') { $product_page_width = 665; } else { $product_page_width...
PHP
wp-content/themes/yourflexishop/b4ksearchpage.php
GiorgioNatili/windmaniacs
gpl-2.0
2,699
77
codeparrot/github-code
116d50e27f463eee6c0ff27b2016dd79184ee826310391953d9a581052060b6c
/* Copyright (C) 2005 Wolfgang Becker <uafr@gmx.de> 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 distribute...
C++
src/lincity-ng/GameView.cpp
javiercantero/lincity-ng
gpl-2.0
69,238
1,774
codeparrot/github-code
8cf7063ef99189f4bfd39e8a36b1a10689d0bd52e1df075168262c5b43b9ae2b
/*************************************************************************** * Copyright (C) 2010 by Kai Dombrowe <just89@gmx.de> * * * * This program is free software; you can redistribute it and/or modify * * it unde...
C++
src/upload/videopage.cpp
hippich/recorditnow
gpl-2.0
3,534
124
codeparrot/github-code
14c7cd6670044d6905e2caec0782d5a888f24a3a1854a9095b4d8ccde579145a
/* * panel-context-menu.c: context menu for the panels * * Copyright (C) 2004 Vincent Untz * * 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 you...
C
mate-panel/panel-context-menu.c
fanpenggogo/mate-panel-new
gpl-2.0
10,975
357
codeparrot/github-code
86ac1140cbb540f5b4bd72499c60c3a264b9a4b91cc4716fe53e668a6c2d00eb
using System; using System.Text.RegularExpressions; using SelfMediaDatabase.Core.Operations.Prune; using System.Collections.Generic; namespace SelfMediaDatabase.Core.Operations { public static class FileFilterProvider { private static readonly Regex _tagFileRegex; private static readonly Regex _pruneHisto...
C#
SelfMediaDatabase.Core/Operations/FileFilterProvider.cs
crabouif/Self-Media-Database
gpl-2.0
1,600
57
codeparrot/github-code
d17ca6c862206bcb1b6bbcea09abddbf7d4b7e7d1394a31004bc38f12259878f
/** * 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/BenchmarkTest12371.java
iammyr/Benchmark
gpl-2.0
3,211
78
codeparrot/github-code
b5e38e7e44808d5ae2f8676674dcff424a4857fe58af84ffd3af58d50280bead
/* * blenderWindow.h * * Created on: Oct 31, 2013 * Author: arnaud */ #ifndef BLENDERWINDOW_H_ #define BLENDERWINDOW_H_ #include "ofxMSAInteractiveObject.h" class blenderWindow: public ofxMSAInteractiveObject { public: blenderWindow(); virtual ~blenderWindow(); void setup(); void update(); void dra...
C
blenderWindows_01/src/blenderWindow.h
sphaero/FocusFollowsGaze
gpl-2.0
1,164
54
codeparrot/github-code
5fb7a23784c7e085ccec25050ac3dfb3ac4b160f396b9d878029d42770174c34
package layout; import java.awt.BorderLayout; import java.awt.GridLayout; import javax.swing.JButton; import javax.swing.JComponent; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import swing.Sample; @SuppressWarnings("serial") public ...
Java
src/layout/SignUpPanel.java
guodongxiaren/JFC
gpl-2.0
1,255
53
codeparrot/github-code
0d622915104b9b8add422e2bee3f9119144b9bc024a01e33c96b4e0cc7290b73
using System.Collections.Generic; using System.IO; using System.Linq; using Microsoft.Win32; using Sdl.Community.XLIFF.Manager.Common; using Sdl.Community.XLIFF.Manager.Interfaces; namespace Sdl.Community.XLIFF.Manager.Service { public class DialogService : IDialogService { public List<string> ShowFileDialog(stri...
C#
XLIFF.Manager/XLIFF.Manager/Service/DialogService.cs
sdl/Sdl-Community
gpl-2.0
1,166
52
codeparrot/github-code
5486714609d84e2ac437ca8c8fa2989a89703e3529e6665e39f7c720456e1049
<?php /** * Created by PhpStorm. * User: Firdavs Murodov * Date: 4/20/15 * Time: 8:59 AM */ require 'config.php'; // $_user_ = 'test'; // $_password_ = 'test'; session_start(); $url_action = (empty($_REQUEST['action'])) ? 'logIn' : $_REQUEST['action']; $auth_realm = (isset($auth_realm)) ? $auth_realm : ''; if (...
PHP
auth.php
firdavsich/dashboard
gpl-2.0
2,309
86
codeparrot/github-code
a5428addd2b10021306c8e65692e2fd6d53735b32430afc4e6beb4aaa0e00095
<!doctype html> <!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> <!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]--> <!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<!...
HTML
_site/innnodb.html
yangqiju/yangqiju.github.com
gpl-2.0
26,818
807
codeparrot/github-code
2c22df62f5705b94678293af2ee58e1578738b883e62c474f5c13d598829ea20
/*************************************************************************** qgsvertextool.cpp -------------------------------------- Date : February 2017 Copyright : (C) 2017 by Martin Dobias Email : wonder dot sk at gmail dot com ***********************************...
C++
src/app/vertextool/qgsvertextool.cpp
dgoedkoop/QGIS
gpl-2.0
72,948
2,247
codeparrot/github-code
437adcea91b137a9cf39a206f8bead858db626ea2654bafa41a95281af848f5f
/* * Copyright (C) Johan Engelen 2007-2008 <j.b.c.engelen@utwente.nl> * Abhishek Sharma * * Released under GNU GPL, read the file 'COPYING' for more information */ #include "live_effects/lpeobject.h" #include "live_effects/effect.h" #include "xml/repr.h" #include "xml/node-event-vector.h" #include "sp-object....
C++
src/live_effects/lpeobject.cpp
danieljabailey/inkscape_experiments
gpl-2.0
5,686
202
codeparrot/github-code
196565b086aea1f15070e7cee0c7f330171a20756b6df116a10d52799a3f52d1
class SectionsController < ApplicationController authorize_resource def index flash.keep redirect_to courses_path end def new @section = Section.new @section.course = Course.find(params[:course_id]) end def create @section = Section.new(section_params) @section.course = Course.fin...
Ruby
app/controllers/sections_controller.rb
epicodus/textbook
gpl-2.0
1,356
58
codeparrot/github-code
a62eba89bde54707bf29cabd5b92b26904d7c4f0877dd8047c5e843f72fb77cb
package com.rarnu.tools.neo.activity; import android.Manifest; import android.app.AlertDialog; import android.app.Fragment; import android.content.pm.PackageManager; import android.os.Build; import android.os.Bundle; import com.rarnu.tools.neo.R; import com.rarnu.tools.neo.api.NativeAPI; import com.rarnu.tools.neo.bas...
Java
RootTools2/src/main/java/com/rarnu/tools/neo/activity/MainActivity.java
baijian/root-tools
gpl-2.0
3,185
95
codeparrot/github-code
ec3792e3b6b96cf59767d6604b58f5d0ef9d2f3b692ab70cf383f926db692205
package xzd.mobile.android.common; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.sql.Timestamp; import java.text.SimpleDateFormat; imp...
Java
src/xzd/mobile/android/common/ImageUtils.java
zhanglei920802/ypgl
gpl-2.0
17,289
687
codeparrot/github-code
a96c3406d535d608ea2892c6b27ea07c51e6d1fed2c0e66b669f3b3469eefa89
package org.uppermodel.translog; import java.util.LinkedList; import java.util.List; import org.uppermodel.translog.v0v1v0.Event; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import javax.xml.xpath.XPath; import javax.xml.xpath.XPathConstants; import ...
Java
src/org/uppermodel/translog/TranslogDocument_0_1_0.java
DanielCoutoVale/TranslogToolset
gpl-2.0
4,379
159
codeparrot/github-code
70e7c3ea55f4681cbdbfa3708f8f3cc6460013868680b6e9d22e49d409f2d4c6
package com.catglo.dashplaygroundfree; import java.util.LinkedList; import android.app.Activity; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Paint; import android.gr...
Java
PlaygroundFree/src/com/catglo/dashplaygroundfree/MenuExecutor.java
marchold/DashAndDittosPlayground
gpl-2.0
973
48
codeparrot/github-code
e2898a4bae1ff26c1b3282bb444c012d3ec7e166ff699639fa55ce7ba3d2979c
#if !defined(AFX_ADDMODULE_H__1CBFA526_190C_11D3_9504_0000C01DBEF9__INCLUDED_) #define AFX_ADDMODULE_H__1CBFA526_190C_11D3_9504_0000C01DBEF9__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // AddModule.h : header file // ///////////////////////////////////////////////////////////////////////////...
C
gui-mfc/AddModule.h
a1k0n/gsynth
gpl-2.0
1,220
50
codeparrot/github-code
3c80499b46c39b1210d30ac4eaf268334e082c45cf645d26d28c7ee019fe2e41
<?php /** * Loads the correct file using the get_template_part function * * @package Total * @author Alexander Clarke * @copyright Copyright (c) 2014, Symple Workz LLC * @link http://www.wpexplorer.com * @since Total 1.40 */ if ( ! function_exists( 'wpex_get_template_part' ) ) { function wpex_get_template_par...
PHP
wp-content/themes/Total/framework/template-parts.php
poppalex/VLAA_dev
gpl-2.0
1,184
55
codeparrot/github-code
c3df05b883089ba0c66805298595616594d61f15af1a9db330ddb0101dfa74d4
/* * Copyright (C) 2009 PANTECH, Co. Ltd. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distributed in the hope that it will be...
C
arch/arm/mach-msm/pantech_debug.c
lolhi/No.5-Kernel
gpl-2.0
6,654
246
codeparrot/github-code
dbafb417fe780127f42bbe0396bb45087d19d6e6925cc24b0549f8e61aa2203c
/* * 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
mpokwsths/hammerhead_kernel
gpl-2.0
48,750
1,583
codeparrot/github-code
bd1a202818d3ef0b0aeab966053911cf70935806cdc6d3e3fecaf0706bbe05ca
/* Copyright (C) 2013 Rainmeter Project Developers * * This Source Code Form is subject to the terms of the GNU General Public * License; either version 2 of the License, or (at your option) any later * version. If a copy of the GPL was not distributed with this file, You can * obtain one at <https://www.gnu....
C++
Common/Gfx/CanvasD2D.cpp
tomkort/rainmeter
gpl-2.0
16,684
572
codeparrot/github-code
d396c35591b5c378cac2f9fa6676ac4a63510f7350ea70c76ea9a178d334b8de
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.IO; using System.Xml.Serialization; using System.Text; using System.Windows.Forms; using LJH.GeneralLibrary.Core.DAL; using LJH.GeneralLibrary....
C#
Source/LJH.Inventory.UI/Forms/FrmMasterBaseEX.cs
ljh198275823/500-SteelRoll-Inventory
gpl-2.0
26,961
770
codeparrot/github-code
8ff679d253a4450ab53f1818e01c4aa6dde1d20c93dc63f9cc0d92717d0cd929
#ifndef lint // static char rcsid[] = "$ StrToPmap.c <thoth>, what a hack $"; #endif /* lint */ /* This resource converter assumes the default visual. You can change this by setting the integer variable Xfwf_StringToPixmap_AssumeDefaultVisual to 0. This will activate code that exercises a bug in the A...
C
lib/StrToPmap.c
xtforever/xtcw
gpl-2.0
9,839
396
codeparrot/github-code
da92f744a31e45aefcdcc132056b3501e5a66ef203b2376f466a5b1c479a792d
--- layout: default --- <div style="height:51px;"></div> <div class="home"> <div class="content-col-wrapper"> <div class="content-col content-col-1"> <div style="color: #505050; font-family: 'Roboto', sans-serif; font-weight:400; font-size:21px; letter-spacing: -1px;"> Blog </...
HTML
index.html
SchuermannEu/schuermanneu.github.io
gpl-2.0
3,319
86
codeparrot/github-code
0d2f0315c7f45c8ac86d0fdf68d01e61c38a2ec18d197580429b19dd324a66ee
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
C
Player/lib/rbcodec/codecs/wmavoice.c
renolui/RenoStudio
gpl-2.0
6,718
200
codeparrot/github-code
0f3bba6d6ee3ff7ea23762168d59f1f8333df222e54a2894231098ec41038bd0
<?php /* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */ namespace Icinga\Module\Monitoring\Backend\Ido\Query; class StatehistoryQuery extends IdoQuery { protected $types = array( 'soft_state' => 0, 'hard_state' => 1 ); protected $columnMap = array( 'statehistory'...
PHP
modules/monitoring/library/Monitoring/Backend/Ido/Query/StatehistoryQuery.php
tunghoang/snmp-ts-stt-icingaweb2
gpl-2.0
2,524
61
codeparrot/github-code
275f507932381b186749cf3d8070fd3c857e8bb532f60da3a1765f52dd68e279
/* * Rvzware based in CAPAWARE 3D * * Rvzware 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.1 of the License, or (at your option) * any later version. * * Rvzware is distribu...
C++
src/iosg/gui/OsgWidget.cpp
BackupTheBerlios/rvzware
gpl-2.0
8,564
335
codeparrot/github-code
28a014678342f63c90080c6790f3764a2378c09bf8af71c8e71b59460fc8c824
/* Copyright (c) 2011, 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 the hope th...
C
arch/arm/mach-msm/subsystem_restart.c
dagnarf/i957kernel
gpl-2.0
13,570
550
codeparrot/github-code
10b7a26233314b62c6200c62b2cb0dc26f3f0c6bdd75012ea464c9b1c6be018f
package freenet.node; import java.util.List; import java.util.Vector; import freenet.io.comm.Peer; public interface PacketFormat { boolean handleReceivedPacket(byte[] buf, int offset, int length, long now, Peer replyTo); /** * Maybe send something. A SINGLE PACKET. Don't send everything at once, for two reason...
Java
src/freenet/node/PacketFormat.java
wnoisephx/fred-official
gpl-2.0
1,733
49
codeparrot/github-code
f2015b168f698e6522c965ed53495847859a292fab61ddbd23b2fed820b69932
#include <stdlib.h> #include <stdio.h> #include <stdbool.h> int squaresumdigits (int number) { int sum = 0; int input = number; while (input) { int digit = input % 10; sum += digit * digit; input /= 10; } //printf("%d\n",sum); return sum; } bool isHappy (int n) { int...
C
happyNumber.c
dliul/myleetcode
gpl-2.0
779
69
codeparrot/github-code