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
a509c91628525b14a37716f0cf73ab9e8913c9cd4a089d0dbec6ea87450bd8ef
/* Copyright (c) 2012, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the 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
drivers/video/msm/mipi_NT35510_cmd_wvga_pt.c
nquest/kernel_dns_s4502m
gpl-2.0
2,898
102
codeparrot/github-code
87f0d7164700fb353967164bf7e23a5b386c3e8b8a489a71715a2179b885a9bf
/* * NWNeXalt - Empty File * (c) 2007 Doug Swarin (zac@intertex.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 lat...
C
include/structs/CCombatInformation.h
jd28/nwnx2-linux
gpl-2.0
2,719
76
codeparrot/github-code
5d3c89e6e8053e2cf689a2595b870064170d5b8de0e5ce32fef68ecaca8a13d4
/*************************************************************************** msnd_pinnacle_mixer.c - description ------------------- begin : Fre Jun 7 2002 copyright : (C) 2002 by karsten wiese email : annabellesgarden@yahoo.de ******************************************************...
C
sound/isa/msnd/msnd_pinnacle_mixer.c
Jackeagle/android_kernel_sony_c2305
gpl-2.0
10,607
345
codeparrot/github-code
a6864b7fedba4e7b50477c94665aff07b83095973864895796b00713628c1b65
/* * File : gpio.c * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2015, RT-Thread Development Team * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rt-thread.org/license/LICENSE * * Change Logs: * Date Author ...
C
BSP/src/gpio.c
uincore/FreeModbus_Slave-Master-RTT-STM32
gpl-2.0
3,592
163
codeparrot/github-code
271b93f1d8b800b44984c682b3d3fe46acbd7cf48b71fa98009a46ef91c3ebb5
#ifndef __CONTENT_MEMORY_IO_HPP__ #define __CONTENT_MEMORY_IO_HPP__ #include "ContentIO.hpp" namespace ExifAdapter { class ContentMemoryIO : public ContentIO { public: ContentMemoryIO(libecap::size_type expected_size); ~ContentMemoryIO(); libecap::size_type Write(const libecap::Area& data); void...
C++
src/ContentMemoryIO.hpp
maxpmaxp/ecap-exif
gpl-2.0
706
35
codeparrot/github-code
e7a7660fda0c6f6951394bb76999c48ade322f043249b72582c849d38f1b04bc
<div class="box_inner cat_box recent_bd" > <div class="news_box"> <h3 class="news_box_title4"><?php _e('Related posts', 'bd'); ?></h3> <ul class="<?php echo bdayh_get_option('related_style'); ?>"> <?php if (bdayh_get_option('related_type') == 'tags' ) { ?> <?php g...
PHP
wp-content/themes/cherry/templates/related.php
hunghoang179/sitenews
gpl-2.0
7,643
135
codeparrot/github-code
71878650114fd8415354205c3d1d7d43ab04a7a6c3ed0e798e3b548bbeaffdff
<?php /** * @version $Id: install.php 800 2012-09-06 02:33:01Z jeffchannell $ * @package JCalPro * @subpackage com_jcalpro ********************************************** JCal Pro Copyright (c) 2006-2012 Anything-Digital.com ********************************************** JCalPro is a native Joomla! calendar compon...
PHP
administrator/components/com_jcalpro/models/install.php
GBayerl/IndoorCycle
gpl-2.0
28,108
746
codeparrot/github-code
b55493e8d9776cceb55b51ce8db71bea6096e201656bd0ea6d4fbd1af86c3bdc
/** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ define([ 'jquery', 'mage/tabs' ], function ($, tabs) { 'use strict'; $.widget('mage.accordion', tabs, { options: { active: [0], multipleCollapsible: false, open...
JavaScript
lib/web/mage/accordion.js
kunj1988/Magento2
gpl-2.0
3,080
101
codeparrot/github-code
207210a54636d32853429ac7bcceecbaf16d16784ddc07e12219aba13ccb8ff1
<div class="container" id="mainContent"> <div id="topOfPage"> </div> <h1> student1 In Course1&lt;/td&gt;&lt;/div&gt;'"'s Records <small class="muted"> - FSQTT.idOfTypicalCourse1 </small> </h1> <br> <div id="statusMessagesToUser" style="display: none;"> </div> <div class="container-flui...
HTML
src/test/resources/pages/instructorStudentRecordsPageMixedQuestionType.html
shaharyarshamshi/teammates
gpl-2.0
85,651
1,824
codeparrot/github-code
86e4a338e0b6f1e3c22dd946b0699a2ce38f91534e70e84901c8c0306c4a3086
<div class="announce instapaper_body md" data-path="README.md" id="readme"><article class="markdown-body entry-content" itemprop="mainContentOfPage"><h1> <a name="user-content-githug" class="anchor" href="#githug" aria-hidden="true"><span class="octicon octicon-link"></span></a>Githug</h1> <p>Git Your Game On <a href=...
HTML
readme_files/ruby/83-readme.html
lalo/readme-fads
gpl-2.0
8,513
130
codeparrot/github-code
b214a8898188e6e20c88f45fc0d27a0f7fbc4b6d23d181e9af8fed70fd984cb7
/** * $Id$ * Copyright (C) 2008 - 2014 Nils Asmussen * * 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...
C
source/kernel/include/mem/shfiles.h
Nils-TUD/Escape
gpl-2.0
1,733
63
codeparrot/github-code
385319fc67dc5286db004a2b193c7c1f4f8d14d73aed459d8488185b07a28cb8
/* * Broadcom Dongle Host Driver (DHD), Linux-specific network interface * Basically selected code segments from usb-cdc.c and usb-rndis.c * * Copyright (C) 1999-2010, Broadcom Corporation * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software, th...
C
drivers/net/wireless/bcm4329/dhd_linux.c
CML/GP0-2.6.35-Kernel
gpl-2.0
83,021
3,409
codeparrot/github-code
4b53c628f41a1c99218de74b04507aec15c743c95024ce7d670e0a51e8303d9f
/* * sysctl.h: General linux system control interface * * Begun 24 March 1995, Stephen Tweedie * **************************************************************** **************************************************************** ** ** WARNING: ** The values in this file are exported to user space via ** the...
C
include/uapi/linux/sysctl.h
evolver56k/xpenology
gpl-2.0
26,065
927
codeparrot/github-code
8754745d32c46a490bd68ebc201d82b8658cb635cb3ec4f99e6a8454c3e1b244
<?php /* Plugin Name: Arch Builder Plugin URI: https://github.com/m-e-h/arch-builder Description: Flexible WP archive pages. Version: 0.7.5 Author: Marty Helmick License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: arch-builder Domain Path: /languages GitHub...
PHP
arch-builder.php
m-e-h/arch-builder
gpl-2.0
6,133
255
codeparrot/github-code
b8bc63f64ef4922eaafc4c917e27a882d449dfbe22a9e23f46711b918d1eb68e
/* * Copyright (C) 2008-2017 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 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 ...
C++
src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_gehennas.cpp
Keldo/TrinityCore
gpl-2.0
3,520
111
codeparrot/github-code
34583c48190fd86ff255dcdd127995a1db5afda6836a5af6086b9fcc83978db7
<?php namespace App\Console\Commands\Lib; use Phragile\Domain\Transaction; use Phragile\TransactionRawDataProcessor; class SnapshotTransactionDataConverter { public function convert(array $transactionData) { if (!$this->transactionDataIsInPhabricatorFormat($transactionData)) { return $transactionData; } ...
PHP
app/Console/Commands/Lib/SnapshotTransactionDataConverter.php
wmde/phragile
gpl-2.0
3,468
124
codeparrot/github-code
292e86ce6244900f6c747141cbae700af44d5f979d1206c27798229661a7b03e
<?php // Copyright (C) 2017 Lukasz Bacik <mail@luka.sh> // // 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. // // Thi...
PHP
src/SenderSOAP.php
lbacik/rummager-service
gpl-2.0
1,882
71
codeparrot/github-code
6a102ddf2bfc5b5235197fd9970e681041e03556a13969d8193640900bd87c64
#ifndef __U_ETHER_H #define __U_ETHER_H #include <linux/err.h> #include <linux/if_ether.h> #include <linux/usb/composite.h> #include <linux/usb/cdc.h> #include "gadget_chips.h" struct gether { struct usb_function func; struct eth_dev *ioport; struct usb_ep *in_ep; struct usb_ep *out_ep; stru...
C
drivers/usb/gadget/u_ether.h
leemgs/OptimusOneKernel-KandroidCommunity
gpl-2.0
1,729
94
codeparrot/github-code
63d98c987692556fed5e020cbae8f44eee71c28520ae14e0ea61da3f99eac8e0
<?php get_header(); ?> <div id="content" class="grid_8 <?php echo of_get_option('blog_sidebar_pos') ?>"> <h1>Search for: <span>"<?php the_search_query(); ?>"</span></h1> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <article id="post-<?php the_ID(); ?>" <?php post_class('post-holder'); ?>>...
PHP
public_blog/wp-content/themes/theme1667/search.php
webcainternet/triburguer
gpl-2.0
4,198
95
codeparrot/github-code
10498e9f6f1ef84f9cc20b33e4b70c80ffc2daf32697b5ca8fbea3ada6bfaf49
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright (c) 2010-2014, ITU/ISO/IEC * All rights reser...
C++
source/Lib/TLibDecoder/TDecSbac.cpp
zhuzhiqing/hm-15.0
gpl-2.0
47,936
1,505
codeparrot/github-code
e5002d8320cc71b7d0d0ed3e28f9117c8cb1cac08e1d8b0236b426601c5e552f
package de.umg.mi.idrt.ioe.commands.OntologyEditor; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.TreeSet; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.log4j.Logger; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.comman...
Java
de.umg.mi.idrt.ioe/src/de/umg/mi/idrt/ioe/commands/OntologyEditor/CombineNodesCommand.java
tmfev/IDRT-Import-and-Mapping-Tool
gpl-2.0
14,868
401
codeparrot/github-code
d32455da1a29388b2d27c8de4d381b15886c40d101c03f7bc7ff3ce4d6f79e89
/* * Palm T|T3 flash support * * $Id$ * * Written by Vladimir "Farcaller" Pouzanov <farcaller@gmail.com> * * original code and (C) by * Jungjun Kim <jungjun.kim@hynix.com> * Thomas Gleixner <tglx@linutronix.de> */ #include <linux/module.h> #include <linux/types.h> #include <linux/kernel.h> #include <linux/...
C
drivers/mtd/maps/palmt3-flash.c
hackndev/linux-hnd
gpl-2.0
3,197
142
codeparrot/github-code
cf746c2aec5a65313a3f21d6c3d9df4660388825935fe84c59182fdbf585312d
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using Windows.System; using Windows.UI.Core; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace XMLexample.Common { /// <s...
C#
XMLexample/Common/NavigationHelper.cs
pawdro13/interfejsu1
gpl-2.0
17,778
413
codeparrot/github-code
a8a483539f6a72b2d4264e341f4b442ef6e2b83951213a10b022d76119965cd4
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="ru"> <head> <title>org.apache.poi.xssf.model (POI API Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> </head> <body...
HTML
lib/docs/apidocs/org/apache/poi/xssf/model/package-summary.html
setu9760/Jade_project_repo
gpl-2.0
7,629
189
codeparrot/github-code
a3f406cf46e645ed329e2920c8fa23c3873b52ecd6e212a7681b108b7eb024b4
/* Copyright (C) 2004 by Matthias Braun <matze@braunis.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 dis...
C++
src/Lib/Network/SocketBase.cpp
cipriancraciun/netpanzer
gpl-2.0
8,041
307
codeparrot/github-code
fd19f3dac678da920f66039f849286e6015f200de03566022da0ee0acd41b38f
# xorn.geda.netlist - gEDA Netlist Extraction and Generation # Copyright (C) 1998-2010 Ales Hvezda # Copyright (C) 1998-2010 gEDA Contributors (see ChangeLog for details) # Copyright (C) 2013-2017 Roland Lutz # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Genera...
Python
xorn/src/python/geda/netlist/pp_hierarchy.py
bert/geda-gaf
gpl-2.0
6,338
156
codeparrot/github-code
988ad2f9b4e30755ed4db51df98c34e307ceef81508ae9e7bc057283d10754a8
/* Copyright 2009 Hao Xu ertranne@hotmail.com This file is part of EriLex. EriLex 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. EriLex i...
Java
src/main/java/erilex/codegen/ex/TypingLanguageMain.java
xu-hao/erilex
gpl-2.0
2,384
64
codeparrot/github-code
4e985d6e75b97e9bce21332802f3a0d2a36914438648a1329b8edcdb82360009
<?php /* Plugin Name: Employee Scheduler Plugin URI: https://employee-scheduler.co Description: Manage your employees' schedules, let employees view their schedule online, generate timesheets and payroll reports Version: 1.8.5 Author: Morgan Kay Author URI: http://wpalchemists.com Text Domain: wpaesm */ /* ...
PHP
wp-content/plugins/employee-scheduler/employee-scheduler.php
jorgehjr84/LAVEmployeePortal
gpl-2.0
46,246
1,371
codeparrot/github-code
d125f3198071c91c142a85ee03620c6253acbec99299e17ef7e2ecdb02f1b760
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * * 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 Foundatio...
C++
src/lte/model/lte-enb-phy.cc
hanyassasa87/ns3-802.11ad
gpl-2.0
35,276
1,182
codeparrot/github-code
d0017918d939e505d0752851ae82a9bac90d002cea6bdf9c90feb1991eac5be5
/* inih -- simple .INI file parser The "inih" library is distributed under the New BSD license: Copyright (c) 2009, Brush Technology All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistribution...
C
editorconfig/src/ini.h
hishamhm/dit
gpl-2.0
3,629
94
codeparrot/github-code
cb66df82853eb480c8a58f48f2f91854334b705d9e139ffcdd818821968156bc
<?php // No direct access to this file defined('_JEXEC') or die('Restricted access'); // import Joomla view library jimport('joomla.application.component.view'); /** * HTML Event listing class for the SWG Events component */ class SWG_EventsViewEventListing extends JViewLegacy { // Overwriting JViewLe...
PHP
components/com_swg_events/views/eventlisting/view.json.php
SheffieldWalkingGroup/swgwebsite
gpl-2.0
1,829
60
codeparrot/github-code
b0a5bcc582669e5d6ae6735075cc3f4aed6ebf790289ce4d0bd5c56cf831cd4e
/* * Copyright (C) 2008-2019 TrinityCore <https://www.trinitycore.org/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later v...
C++
src/server/scripts/Spells/spell_druid.cpp
123xlex/TrinityCore
gpl-2.0
63,130
1,912
codeparrot/github-code
7e891da0f6b9bd7865023ebac1be2e8499d1922d9a531ccca9ad471ab6af5423
/* * BSS client mode implementation * Copyright 2003-2008, Jouni Malinen <j@w1.fi> * Copyright 2004, Instant802 Networks, Inc. * Copyright 2005, Devicescape Software, Inc. * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> * Copyright 2007, Michael Wu <flamingice@sourmilk.net> * * This program is free software; yo...
C
net/mac80211/mlme.c
Evervolv/android_kernel_htc_leo
gpl-2.0
71,025
2,590
codeparrot/github-code
b98c5cb623aafb984146eb6fb32ea95b85a34bced179c88919fc7e3628e338b4
/* GStreamer * * Copyright (C) 2016 Igalia * * Authors: * Víctor Manuel Jáquez Leal <vjaquez@igalia.com> * Javier Martin <javiermartin@by.com.es> * * 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...
C
sys/kms/gstkmsutils.c
scott-d-phillips/gst-plugins-bad
gpl-2.0
4,777
180
codeparrot/github-code
e32996eeed46d88bba3b3b707358330d5b9c8ed3ca4f69766fba855ffed4bb4e
/* * QLogic Fibre Channel HBA Driver * Copyright (c) 2003-2011 QLogic Corporation * * See LICENSE.qla2xxx for copyright and licensing details. */ #ifndef __QLA_FW_H #define __QLA_FW_H #define MBS_CHECKSUM_ERROR 0x4010 #define MBS_INVALID_PRODUCT_KEY 0x4020 /* * Firmware Options. */ #define FO1_ENABLE_PUREX BI...
C
vmkdrivers/src_9/drivers/scsi/qla2xxx/qla_fw.h
wanahmadzainie/vmkdrivers-ixgbe-wfs
gpl-2.0
49,821
1,870
codeparrot/github-code
a7c848595e78b17cf68c5a66ac7b263de5d4fab195a4cde9d08d93ed997fae21
--弓神レライエ function c49922726.initial_effect(c) --ATK UP local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(49922726,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c49922726.atktg) e1:SetOperation(c49922726.atko...
Lua
c49922726.lua
Fluorohydride/ygopro-scripts
gpl-2.0
2,735
77
codeparrot/github-code
c655d30efc6954191ed240ea18c9e4145046402cf8fbb72bbee7448b77142a7d
// ********************************************************************** // // Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. // // ********************************************************************** import Demo.*; public class HelloI extends _HelloDisp { public HelloI(WorkQueue workQueue) ...
Java
java/Ice/async/HelloI.java
qiuxs/ice-demos
gpl-2.0
919
44
codeparrot/github-code
ccc7d6742779cc23ae1e5708f3b3add54b9aba702d7cb974ec458dffe5c54525
package main import ( "fmt" "html/template" "net/http" "strings" "log" ) func sayHelloName(w http.ResponseWriter, r *http.Request) { r.ParseForm() fmt.Println("---------------------------") fmt.Println("Form", r.Form) fmt.Println("path", r.URL.Path) fmt.Println("scheme", r.URL....
GO
l/go/book/build-web-app-with-go/web.go
gensmusic/test
gpl-2.0
1,031
44
codeparrot/github-code
ef7a5c36d37c3a6fefca0bfc829656e5718bdec9234565c2f26175277401d6a8
import shutil import os, errno import hashlib import tempfile import math import urllib import urllib2 from django.http import HttpResponse, HttpResponseRedirect, HttpResponseBadRequest, QueryDict from django.shortcuts import render_to_response, get_object_or_404, redirect, render from django.template import Context, ...
Python
net/views/album.py
blackball/an-test6
gpl-2.0
4,432
127
codeparrot/github-code
67b9813c87932b0650a54c06c156ed739cf03b78f10cb8dcb3d337195a2c01e8
package tudu.web.ws.springws.endpoint.dom4j; import org.dom4j.Document; import org.dom4j.Element; import org.springframework.ws.server.endpoint.AbstractDom4jPayloadEndpoint; import tudu.domain.model.TodoList; import tudu.domain.model.User; import tudu.service.UserManager; import tudu.web.ws.springws.util.dom4j...
Java
tudu-ws/tudu-springws/src/main/java/tudu/web/ws/springws/endpoint/dom4j/TuduListEndpoint.java
jygueret/tudulist
gpl-2.0
1,165
46
codeparrot/github-code
1b1e559aa218f014365a12414abf24f69dda88b9fddd2e742439222f5502ee27
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <meta name="categories" content="advanced_tasks"> <meta name="product" content="MacroModel"> <title>Substructure Tab</title> <link rel="stylesheet" type="text/css" href=...
HTML
Schrodinger/Schrodinger_2012_docs/maestro/help_BioLuminate/macromodel/substructure.html
platinhom/ManualHom
gpl-2.0
10,658
252
codeparrot/github-code
d1ce9b84b7955dace1e88b3049ed57f5a5c4c8dded85a15b7fb0dbd2107b34ab
/***************************************************************************** * services_discovery.c : Services discovery using lua scripts ***************************************************************************** * Copyright (C) 2010 VideoLAN and AUTHORS * * Authors: Fabio Ritrovato <sephiroth87 at videolan ...
C
vlc/modules/lua/services_discovery.c
pddthinh/android-vlc
gpl-2.0
15,207
483
codeparrot/github-code
db7190d352c89c3443e94438c91134d8cd72d5a922bcea881daf1672685b3573
/* * s2mps11.c * * Copyright (c) 2011 Samsung Electronics Co., Ltd * http://www.samsung.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...
C
drivers/regulator/s2mps11.c
elixirflash/dm-keepfast
gpl-2.0
18,936
793
codeparrot/github-code
8283d775a75739d4632bbdcc3a87e817bcfb12882bdb7093efe37cc65530cbe7
#include <linux/module.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/stddef.h> #include <linux/fs.h> #include <linux/types.h> #include <linux/uaccess.h> #include <linux/kernel.h> #include <linux/kdev_t.h> #include <linux/cdev.h> #include <linux/slab.h> #include <linux/interrupt.h> #include "chron...
C
chronometre.c
miiicmueller/CSEL_LaboChrono
gpl-2.0
3,420
138
codeparrot/github-code
bdc76e05153a7e6e47dd40d3af2b3111f93383150b7055cb6b6606e33e2ff34e
<?php /** * @package Joomla.Plugin * @subpackage Editors.tinymce * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Document\HtmlDocument; use Joomla\CMS\Facto...
PHP
layouts/plugins/editors/tinymce/field/tinymcebuilder.php
bembelimen/joomla-cms
gpl-2.0
7,801
196
codeparrot/github-code
04ba53862cc43a9d73d5306d087b42dcecf5fee682b115dc5bddc2acf4a83690
<?php /** * --------------------------------------------------------------------- * GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2015-2018 Teclib' and contributors. * * http://glpi-project.org * * based on GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2003-2014 by the INDEPNET...
PHP
inc/project.class.php
btry/glpi
gpl-2.0
53,519
1,546
codeparrot/github-code
b9d1f03406d65bebdc0e0f70021dc12ce70640d3bf1797bf48fa4b09d3ab412b
/******************************************************************************* Intel 10 Gigabit PCI Express Linux driver Copyright(c) 1999 - 2010 Intel Corporation. This program is free software; you can redistribute it and/or modify it under the terms and conditions of the GNU General Public License, ver...
C
drivers/net/ixgbe/ixgbe_82599.c
spotify/linux
gpl-2.0
66,804
2,110
codeparrot/github-code
2d9de8baa3eb4fad63308d30a511060095b361c52a71c51d47a4af8c3b4c7494
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="stylesheet" href="libs/Zebra_Pagination-master/public/css/zebra_pagination.css" /> <link rel="stylesheet" href="../bootstrap-3.3.4/css/b...
PHP
sistema/modulos/inventario/Nueva carpeta/mantenedores/Software.php
empowdered/sisgen
gpl-2.0
15,264
393
codeparrot/github-code
9875064e9f2648106b43c6548da6dbc593dc80e2e6ca3298ef392761c49f7f0d
/* * Copyright (C) 2021-2022 Colin Ian King * * 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 i...
C
stress-syncload.c
ColinIanKing/stress-ng
gpl-2.0
6,674
284
codeparrot/github-code
dd4e54b636ab75152367f360f6ea7f1f68ba0170fc92711def76bf2942ee0198
/* * Network socket related functionality for wicked. * No user serviceable parts inside. * * Copyright (C) 2009-2014 Olaf Kirch <okir@suse.de> */ #ifndef __WICKED_SOCKET_H__ #define __WICKED_SOCKET_H__ #include <stdio.h> #include <dborb/types.h> #include <sys/types.h> typedef struct ni_timeout_param { int ...
C
include/dborb/socket.h
okirch/testbus
gpl-2.0
3,116
74
codeparrot/github-code
1ef9721f3b96399b33d8bd68b896b33e39220cf72c6eff8fb7aa8e0ef0ca3874
<?php namespace DigitalUnited\ResponsiveImages\Markup; use DigitalUnited\ResponsiveImages\ImageSource; use HtmlGenerator\HtmlTag; class DivWithBgImage { private $settings; function __construct(Array $settings) { $this->settings = $settings; } public function render() { $wrapp...
PHP
src/ResponsiveImages/Markup/DivWithBgImage.php
digitalunited/du-responsive-images
gpl-2.0
1,526
62
codeparrot/github-code
5fec524ee0fe27fc560b0b54c3f77a202345ed32b14118374833bd35525fe066
/* This file is a part of Angry IP Scanner source code, see http://www.angryip.org/ for more information. Licensed under GPLv2. */ package net.azib.ipscan.gui.actions; import net.azib.ipscan.config.FavoritesConfig; import net.azib.ipscan.config.Labels; import net.azib.ipscan.config.Version; import net.azib.ipsc...
Java
src/net/azib/ipscan/gui/actions/FavoritesMenuActions.java
angryip/ipscan
gpl-2.0
4,319
130
codeparrot/github-code
c71bca78d3901a732006b80a816e835569973dad4efefacc8488f57587d9c10f
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Msrp\Observer\Frontend\Quote; use Magento\Framework\Event\ObserverInterface; /** * Class SetCanApplyMsrp */ class SetCanApplyMsrpObserver implements ObserverInterface { /** * @var \Mage...
PHP
app/code/Magento/Msrp/Observer/Frontend/Quote/SetCanApplyMsrpObserver.php
kunj1988/Magento2
gpl-2.0
1,799
68
codeparrot/github-code
8b2370ade773aa2854aa2da0357b5f0b67129c9e58b3fa1c81e560d257721638
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 1996-2002 * Sleepycat Software. All rights reserved. */ #include "db_config.h" #ifndef lint static const char revid[] = "$Id: bt_upgrade.c,v 11.25 2002/08/06 06:11:13 bostic Exp $"; #endif /* not lint */ #ifndef NO_SYSTEM_INCLUDES #inc...
C
bdb/btree/bt_upgrade.c
pieter/mysql-server
gpl-2.0
3,600
163
codeparrot/github-code
b6e91754687ea8db751084c95fc9760979acaa5da9764c1e4283b09de2e490d3
/* * ======== string literals ======== */ static const char test57_SetFuncRefOnHost__s__fileName[] = "SetFuncRefOnHost.p"; static const char test57_SetFuncRefOnHost__s__0[] = "SetFuncRefOnHost"; /* * ======== code injections ======== */ #include <stdio.h> /* * ======== function definitions ======== */ voi...
C
test57_out/test57/SetFuncRefOnHost/SetFuncRefOnHost.c
amaret/pollen.test
gpl-2.0
2,766
93
codeparrot/github-code
c68472af3c900f7fb96f5b0d6fa4cc8007fe035b1011826f2b89fd82e70b2539
#include <panda/document/InteractiveDocument.h> #include <panda/object/ObjectFactory.h> #include <panda/types/Rect.h> #include "MouseEventsReceiver.h" namespace panda { using types::Point; using types::Rect; class UserInteraction_MoveDisk : public PandaObject, public MouseEventsReceiver { public: PAN...
C++
modules/UserInteraction/MoveShape.cpp
cguebert/Panda
gpl-2.0
5,296
229
codeparrot/github-code
e4168ca331d15db697310ea0753dcbcc42fa64652d91bba1b461cc60ad38c2ff
package org.das2.components.propertyeditor; import java.beans.IndexedPropertyDescriptor; import java.lang.reflect.Array; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.*; class IndexedPropertyTreeNode extends PropertyTreeNode { private IndexedPropertyDesc...
Java
dasCore/src/org/das2/components/propertyeditor/IndexedPropertyTreeNode.java
autoplot/app
gpl-2.0
3,580
107
codeparrot/github-code
8a73b078c424ad16977fd6c9f72aad1bfedc721f704a5cae171485f43d8aa8b2
<?php /** * Created by PhpStorm. * User: Tracker * Date: 20.11.2014 * Time: 23:20 */ namespace classes; /** * Class View * * @package classes */ class View extends CallClass{ /** * @var array */ protected $data; /** * @var character */ protected $content; /** * ...
PHP
wp-content/themes/beatsbydre/classes/View.php
chumachkin/beatsbydre
gpl-2.0
1,498
67
codeparrot/github-code
d11653be8c5e71fd2b43a4ae11c3358b50c5358cc27abd8be1b120a8167dd87a
/* * Copyright (c) 2003, Intel Corporation. All rights reserved. * Created by: majid.awad REMOVE-THIS AT intel 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. * * * strftime shall return the number of b...
C
testcases/open_posix_testsuite/conformance/interfaces/strftime/3-1.c
shubmit/shub-ltp
gpl-2.0
822
37
codeparrot/github-code
6f6deaa40975c311eafe97d0968725fb31176660dd9d8c44ef2d6ed9ff77a2a2
! ! Copyright (C) 2001 PWSCF group ! This file is distributed under the terms of the ! GNU General Public License. See the file `License' ! in the root directory of the present distribution, ! or http://www.gnu.org/copyleft/gpl.txt . ! ! !----------------------------------------------------------------------- subroutin...
FORTRAN
PW/src/n_plane_waves.f90
fthoele/espresso-5.4.0
gpl-2.0
1,835
60
codeparrot/github-code
4254bafe03555e9c95e1c079382a963f94612f235a04eb29bbcca55daa8e7d9d
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2021 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
C++
src/Dialogs/Settings/dlgBasicSettings.cpp
XCSoar/XCSoar
gpl-2.0
11,464
380
codeparrot/github-code
ccdcf96e3a3b1fc03235ed673282bda2b7a71f4c033f47b761dff3e8632c539f
<?php /** * @package Awesome Support/Admin/Reply * @author AwesomeSupport <contact@getawesomesupport.com> * @license GPL-2.0+ * @link https://getawesomesupport.com * @copyright 2014-2017 AwesomeSupport */ // If this file is called directly, abort. if ( ! defined( 'WPINC' ) ) { die; } add_filter( '...
PHP
includes/admin/metaboxes/replies-form.php
Awesome-Support/Awesome-Support
gpl-2.0
4,567
152
codeparrot/github-code
74ffe73507dbad12745f233a116a82b5298d7303678b01e7e5b4077b9ca728e3
/* * The ManaPlus Client * Copyright (C) 2009 The Mana World Development Team * Copyright (C) 2009-2010 The Mana Developers * Copyright (C) 2011-2013 The ManaPlus Developers * * This file is part of The ManaPlus Client. * * This program is free software; you can redistribute it and/or modify * it und...
C
src/net/playerhandler.h
koo5/manaplus
gpl-2.0
2,541
85
codeparrot/github-code
60018937edb53a7311723bed401ca0e3b8ea008f4cbc1de960b130ea63b001b1
<!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/2006/05/04/rock-update-bearhawk/index.html
joesepi/bedev
gpl-2.0
8,108
194
codeparrot/github-code
2743b22fa5cfc53ca19d82cdd9f2b2538ad0dc273a997575ced40d03b39ac329
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- nautilus-search-directory.h: Subclass of NautilusDirectory to implement a virtual directory consisting of the search directory and the search icons Copyright (C) 2005 Novell, Inc This program is free software; you can redistri...
C
libnautilus-private/nautilus-search-directory.h
linuxdeepin/deepin-nautilus-properties
gpl-2.0
3,335
74
codeparrot/github-code
97f23fc3e154ec7f4debd08644a4fc0246c9084d19306d6e40e182a0c26ff868
import java.util.ArrayList; import java.util.List; /** * Created by indenml on 21.06.15. */ public class ShortestRemainingTime extends SchedulingAlgorithm{ public ShortestRemainingTime(List<Process> inputProcesses){ super(inputProcesses); } public Schedule generateProcessSchedule() { ...
Java
src/ShortestRemainingTime.java
minden/SchedulingProcesses
gpl-2.0
3,661
95
codeparrot/github-code
db4dede637c5188bd58dab9dcb20ae30082ba60ad1c2ae3639cec2c3d14b7ec5
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ #define CHROME_COMMON_CHROME_SWITCHES_H_ #include "build/build_config.h" #include "base/base_switches.h" #...
C
external/chromium_org/chrome/common/chrome_switches.h
qtekfun/htcDesire820Kernel
gpl-2.0
19,053
479
codeparrot/github-code
b83df412a8d7c747bb68b3300c3482880fb1131fb7d8862b49cfcd62e97203b0
#include<stdio.h> #include<string.h> char* fun1(char* p){ printf("%s\n",p); return p; } char* fun2(char* p){ printf("%s\n",p); return p; } char* fun3(char* p){ printf("%s\n",p); return p; } //º¯ÊýÖ¸ÕëÊý×éµÄÖ¸Õë void main(){ //ÕâÀïa²¢·ÇÖ¸Õ룬¶øÊÇÒ»¸öÊý×éÃû char*(*a[3])(char*p); //ÕâÀïpfÊÇÖ¸Õ룬ָÏòÒ»¸ö°üº¬3...
C
chen/04/4.18.c
lixiangbest/algorithm
gpl-2.0
668
41
codeparrot/github-code
b1ce2525f4796a8ecdf3002465802c62e5d9e229a95e3d9a2202f97c0f14dad7
/***** * * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 PreludeIDS Technologies. All Rights Reserved. * Author: Yoann Vandoorselaere <yoannv@gmail.com> * * This file is part of the Requiem-Logeater program. * * This program is free software; you can redistribute it and/or modify * it under the ter...
C
plugins/pcre/rule-regex.c
requiem-forasiem/requiem-logeater
gpl-2.0
17,458
587
codeparrot/github-code
cc066806df1ab22ec8b53f204ed8fac54c03a39ccf9ca7d1c7cd49a3d57b100f
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
experimental/tomcat/apache-tomcat-8.0.15-src/java/org/apache/catalina/manager/ManagerServlet.java
nrgaway/qubes-tools
gpl-2.0
59,768
1,647
codeparrot/github-code
0e2ac63e448138118546b7f28a5561f3ed4515767c265e857a95ba856a09999b
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distributed in the hope that it will be us...
C++
src/bayes/model/bayes.cc
danielet/ns3Bayes
gpl-2.0
17,189
514
codeparrot/github-code
36da5efbe0a9f9da1500ec6c5d79473d6282678d2f08ce8f324b07b38e56c9e1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/transitional.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <META NAME="description" CONTENT="SparForte language documentation"> <meta name="viewport" content="wi...
HTML
doc/pkg_memcache_highread.html
kburtch/SparForte
gpl-2.0
44,482
989
codeparrot/github-code
e9e82dc19be36e0bd86b0d5f0f58c14e6034ca9aec62a2fd091d954e5a007477
#include <stdio.h> #include <stdlib.h> #include <math.h> #define BUF_SIZE 4096 int main(int argc, char *argv[]) { if(argc<=1) { fprintf(stderr,"%s {char|short|int|float|double} < input > output\n",argv[0]); fprintf(stderr,"Compute the absolute value\n"); return 1; } if(argv[1][0]=='c') { char ...
C
abs.c
vicente-gonzalez-ruiz/scalar-tools
gpl-2.0
1,893
98
codeparrot/github-code
222c3c6ada9c4b3632c6e0ecd2ff90d3857b080ff62b973715d6998954db12be
package org.jalgo.module.app.core.dataType.booleanType; import java.util.List; import org.jalgo.module.app.core.dataType.*; /** * The binary operation <code>Conjunction</code> (or Boolean And), which can * be executed on <code>BooleanType</code>. * */ public class Conjunction extends Operation { private stati...
Java
src/org/jalgo/module/app/core/dataType/booleanType/Conjunction.java
jurkov/j-algo-mod
gpl-2.0
1,889
105
codeparrot/github-code
99bd0129db790eafae830bcf0d4381a019a696bff3bac3290c4763e374b4ee86
/***************************************************************************** * thread.c : Playlist management functions ***************************************************************************** * Copyright © 1999-2008 VLC authors and VideoLAN * $Id: c41ea19220936d596c482960b61bb1cfa79bcd7f $ * * Authors: Sa...
C
src/playlist/thread.c
sunqueen/vlc-2.2.0-rc2.32-2013
gpl-2.0
18,152
545
codeparrot/github-code
e0b065d5c7645a4dcf61c846f6c5a34658c2e111c55dee5acea298b60dc229d3
/* Definitions for describing one tree-ssa optimization pass. Copyright (C) 2004 Free Software Foundation, Inc. Contributed by Richard Henderson <rth@redhat.com> This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publishe...
C
gcc/tree-pass.h
aosm/gcc_40
gpl-2.0
6,857
185
codeparrot/github-code
bd8487702b124a3e8068075f8fe4da8634fc1eb37a8056a29c31933bee66fa1b
/* Simplified Steiner tree backtrack code. Warren D. Smith Jan 1989 * Program contains about 341 C instructions. See main() for I/O details; for an * input & output example, see table 1 of the text. */ #include <math.h> #include <stdlib.h> #include <stdio.h> #include <time.h> #define REAL double #define SQROOT(a) sq...
C
experiments/Correctness/estein20_details/wds_org.c
DIKU-Steiner/MPC15
gpl-2.0
12,860
387
codeparrot/github-code
897295d7623309dd6b66eb9573ca04511178d8fd126bd5852bc0090e49e291d3
/* * Copyright (c) 2010, Swedish Institute of Computer Science. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright notice, *...
Java
Contiki/contiki/tools/cooja/java/se/sics/cooja/dialogs/UpdateAggregator.java
CaptFrank/Contiki-Sensor-Node
gpl-2.0
4,180
138
codeparrot/github-code
baf159736c43e0f5215b3d7e2d1497299bd81649391f113d122c9bb6f4dfe69a
class Solution { public: int threeSumClosest(vector<int> &num, int target) { // IMPORTANT: Please reset any member data you declared, as // the same Solution instance will be reused for each test case. std::sort(num.begin(), num.end()); int diff_min = INT_MAX; int diff...
C++
solutions/3sum-closest.cpp
foremire/leetcode
gpl-2.0
1,480
52
codeparrot/github-code
308f17ae7d146238860aae32be1f1ab9a4574fe84e865e6092c4d23172733604
/************************************************************************** ALGLIB 3.10.0 (source code generated 2015-08-19) Copyright (c) Sergey Bochkanov (ALGLIB project). >>> SOURCE LICENSE >>> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
C
Source/Components/Science/Math/Nequeo.Math.Analysis/Nequeo.Math.Analysis.python/variancetests.c
drazenzadravec/nequeo
gpl-2.0
6,906
248
codeparrot/github-code
83bb0496ee5ca9ff66f149d352197ed25ff7832aba696b50bc44834f5e8ec8d4
#pragma once #include "Emu/Cell/PPCThread.h" #include "Emu/SysCalls/SysCalls.h" #include "rpcs3.h" #include <cmath> enum { XER_SO = 0x80000000, XER_OV = 0x40000000, XER_CA = 0x20000000, }; enum { CR_LT = 0x8, CR_GT = 0x4, CR_EQ = 0x2, CR_SO = 0x1, }; enum { PPU_THREAD_STATUS_IDLE = (1 << 0), PPU_THREAD_ST...
C
rpcs3/Emu/Cell/PPUThread.h
xuxcerberus/rpcs3
gpl-2.0
21,657
855
codeparrot/github-code
c4dc869160418b9f63c2a7438c218ca104766b126ce4170c315579174796ca2d
<?php /** * @file * Default theme implementation to display the basic html structure of a single * Drupal page. * * Variables: * - $css: An array of CSS files for the current page. * - $language: (object) The language the site is being displayed in. * $language->language contains its textual representation. ...
PHP
sites/all/themes/newhaven/html.tpl.php
TakenCdosG/INH
gpl-2.0
4,542
104
codeparrot/github-code
9f32e402e5ba07236332b25966836ab13edb3b52b37e9b0cf44897dca8d129d6
/* * Maximus Version 3.02 * Copyright 1989, 2002 by Lanius Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at y...
C
util/cvtusr.c
sdudley/maximus
gpl-2.0
19,751
938
codeparrot/github-code
281148830e0ef36443ba8a30ded7da17d2d0f0756dd01e44704bb757caf0d9a3
<?php /** * @version 1.0 $Id: archive.php 217 2009-06-06 20:04:26Z julien $ * @package Joomla * @subpackage redEVENT * @copyright redEVENT (C) 2008 redCOMPONENT.com / EventList (C) 2005 - 2008 Christoph Lukes * @license GNU/GPL, see LICENSE.php * redEVENT is based on EventList made by Christoph Lukes from schlu.n...
PHP
administrator/components/com_redevent/models/log.php
jaanusnurmoja/redjoomla
gpl-2.0
2,063
82
codeparrot/github-code
9ba81f647da0ccfb0bced8a755b71ce8d2c3bb619ceadb3e9b5d0887e925535d
<?php /* core/themes/seven/templates/page.html.twig */ class __TwigTemplate_9b42b4321ea274be6372f88daa6d0874903737e6b9b6e4335e125d25766f863b extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = a...
PHP
sites/default/files/php/twig/967bf732_page.html.twig_93835361e54ffe721bf4ec3e53b44d70e36bbde4e3b2cce0daafe7ea0527e2f9/00057a072fa44cfc18076ccf7600c7904a7e7da2cfa2645d969a797f40ad1abf.php
zakaria340/restaurants
gpl-2.0
6,637
167
codeparrot/github-code
ff8b3043f84ea9e16525da142472e077fa8c84dcc643e54aab0314fbc47db41e
/* * To change this template, choose Tools | Templates and open the template in * the editor. */ package org.netbeans.modules.php.drupaldevel.ui.customizer; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import javax.swing.JOptionPane; import javax.swing.event.D...
Java
src/org/netbeans/modules/php/drupaldevel/ui/customizer/DrupalCustomizerPanel.java
AndBicScadMedia/NBDrupalDevel
gpl-2.0
12,850
280
codeparrot/github-code
6456ec3e1bc2d12edb495183325a44cd52bf4069309153578140f67880c9a337
/* $Id$ */ /* * This file is part of OpenTTD. * OpenTTD 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. * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
C++
src/autoreplace_cmd.cpp
koreapyj/openttd-yacd
gpl-2.0
29,571
751
codeparrot/github-code
8addab54863c717b1a9feab4367ad3d39047fc335f5a0ba4b6be4dc717e53e5a
package app import "github.com/revel/revel" func init() { // Filters is the default set of global filters. revel.Filters = []revel.Filter{ revel.PanicFilter, // Recover from panics and display an error page instead. revel.RouterFilter, // Use the routing table to select ...
GO
cs309/project/app/init.go
dndx/bored_games
gpl-2.0
1,788
39
codeparrot/github-code
142ed95674485bebbcd704770bb7605288b1292c0e2fab642318e4a34029e274
/* * Generic process-grouping system. * * Based originally on the cpuset system, extracted by Paul Menage * Copyright (C) 2006 Google, Inc * * Notifications support * Copyright (C) 2009 Nokia Corporation * Author: Kirill A. Shutemov * * Copyright notices from the original cpuset code: * -------------...
C
kernel/cgroup.c
showp1984/bricked-ville-3.4
gpl-2.0
88,453
4,062
codeparrot/github-code
40803697d33c32b0a3b2aae17b498f7eb1d0e55cfc2842c24cf462a1439720f2
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
Java
luni/src/test/java/libcore/java/net/URLTest.java
debian-pkg-android-tools/android-platform-libcore
gpl-2.0
32,742
790
codeparrot/github-code
04fd334beb8ab3f1dc8eeeeaee3c43c9fe2e4889c54d5a261ef97c1712b36332
namespace CentralisedOutlookSignature.Service { partial class CentralisedOutlookSignatureService { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources ...
C#
CentralisedOutlookSignature.Service/CentralisedOutlookSignatureService.Designer.cs
nefarius/CentralisedOutlookSignature
gpl-2.0
1,158
42
codeparrot/github-code
3711cb2c6dbc08cd23065e2bcdd293d67f8e5b13448cc620a61cfbfc817e89ed
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
C
drivers/media/platform/msm/vidc/msm_venc.c
Caio99BR/android_kernel_sony_falconss
gpl-2.0
77,104
2,764
codeparrot/github-code
ba54892481ee2c8364d7c97ac6dfabc0b10d3d8ff11fd8c19daee684c3435f18
function enableInfoKeybordShortcut(key) { $("#"+key+" .key").addClass("badge-info"); $("#"+key+" .info").addClass("text-info"); } /* * HIGHLIGHT LINES IN RAINBOW */ if( window.Rainbow ) { function highlightLinesInRainbow() { var startend = location.hash.substr(1).split(','); var startLine = pa...
JavaScript
src/com/redhat/ceylon/ceylondoc/resources/ceylondoc.js
jvasileff/ceylon-compiler
gpl-2.0
18,208
648
codeparrot/github-code
bdb49322e40fa5035ecdb005ef5db12332cb477094d1886adec3db57a8ff0997
/* * Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The Universal Permissive License (UPL), Version 1.0 * * Subject to the condition set forth below, permission is hereby granted to any * person obtaining a copy of ...
Java
truffle/src/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/parser/TypeSystemParser.java
smarr/Truffle
gpl-2.0
10,453
235
codeparrot/github-code
5830bcc954bdd2c34b3371393f065c72469c62a34d410d57bd8d28fde8b00a74
<?php /** * * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Api; use Magento\Framework\Api\Data\ImageContentInterface; use Magento\Framework\Exception\InputException; use Magento\Framework\Phrase; /** * Class for Image content validation */...
PHP
lib/internal/Magento/Framework/Api/ImageContentValidator.php
kunj1988/Magento2
gpl-2.0
2,590
96
codeparrot/github-code
d33b194ecc2fa6239206ad24a02f72fedf75d398965a70e4cf4697b00c58d8c3
package com.vk.libs.appcommontest.gankio.mvp.login; import android.content.Context; import android.graphics.Bitmap; import android.support.annotation.NonNull; import android.support.v4.util.Pair; import android.telephony.TelephonyManager; import android.text.TextUtils; import android.util.Base64; import android.util.L...
Java
app/src/main/java/com/vk/libs/appcommontest/gankio/mvp/login/LoginPresenter.java
VK2012/AppCommonFrame
gpl-2.0
8,445
252
codeparrot/github-code
ebcfc841f943fc99f43843c7a643548a6699f8e92d108493b2036428941ae0d0
package fr.djx.snake.ws; import javax.inject.Inject; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import org.springframework.stereotype.Co...
Java
s/ws/src/main/java/fr/djx/snake/ws/SnakeContextListener.java
alexandrehebert/sinaps
gpl-2.0
945
39
codeparrot/github-code
228a6dba29029adb01935e99aef00d1b3fb0ec138e7d62467e9c90387caeea96
/* * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc. * All Rights Reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it woul...
C
fs/xfs/xfs_error.c
Core2idiot/Kernel-Samsung-3.0...-
gpl-2.0
6,321
277
codeparrot/github-code
092c2091a28b58103577916de022c46d85b1b6e8c5f3dd2a0176d6b6e4d1fa28
<!DOCTYPE html> <html> <!-- Mirrored from www.w3schools.com/php/showphp.asp?filename=demo_func_string_str_word_count by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:20:23 GMT --> <head> <title>Tryit Editor v2.1 - Show PHP</title> <link rel="stylesheet" href="../trycss.css"> <!--[if lt IE 8]> <style> ...
HTML
Coding/W3School/W3Schools_Offline_2015/www.w3schools.com/php/showphp2eda.html
platinhom/ManualHom
gpl-2.0
3,093
88
codeparrot/github-code
914f3b2145424d28b3c8ac5f37b0638fe8a4f7a2640e4bf81b46742ff4c3a76f
/* * Copyright (C) 2002,2003,2004,2005,2006 Daniel Heck * Copyright (C) 2006,2007,2008,2009,2010 Ronald Lamprecht * * 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 t...
C++
src/gui/LevelMenu.cc
dheck/Enigma
gpl-2.0
20,990
536
codeparrot/github-code