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
08e56283a2877ac8663e6d08761ad797d63fda106f2d647025997f16c7638f3b
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Linq; using Cake.Core; using Cake.Core.IO; namespace Cake.Common.Tools.Chocolatey { ...
C#
src/Cake.Common/Tools/Chocolatey/ChocolateyToolResolver.cs
patriksvensson/cake
mit
3,002
84
codeparrot/github-code
63ff72f7fba07ce1bfac2f014c5197f7f48dc8fcdd0161dade75488d3de34bf2
#region Copyright // // DotNetNuke® - http://www.dnnsoftware.com // Copyright (c) 2002-2018 // by DotNetNuke Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // documentation files (the "Software"), to deal in the Software without restric...
C#
DNN Platform/Modules/DnnExportImportLibrary/Dto/Users/ExportUser.cs
RichardHowells/Dnn.Platform
mit
2,483
56
codeparrot/github-code
57d13d373377ba0d262643da15c370075ece06b923a5cab99dfe59d1fa268a25
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ console.c ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Forrest Yu, 2005 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ /* 回车键: 把光标移到第一列 换行键: 把光标前进到下一行 */ #include "type.h" #i...
C
ver0/reference/chapter7/i/kernel/console.c
RongbinZhuang/simpleOS
mit
1,592
63
codeparrot/github-code
6f6824acea26cb52de831d993e576696d71aced5e840c283b048edbe307e6d96
// // NSDataAES.h // // Created by cheng on 15/12/25. // Copyright © 2015年 cheng. All rights reserved. // #import <Foundation/Foundation.h> extern NSString * kCryptorKey; #pragma mark - @interface NSData (AES128) @interface NSData (AES128) + (NSData *)dataFromBase64String:(NSString *)aString; - (NSString *)base...
C
CTCoreCategoryDemo/Pods/CTCoreCategory/CTCoreCategory/NSString/NSDataAES.h
Excalibur-CT/CTCoreCategory
mit
714
39
codeparrot/github-code
d04e551a43777e8df0f017486534830f941672ee7f55de6de04c9d3f235bd0b9
from io import BytesIO import tempfile import os import time import shutil from contextlib import contextmanager import six import sys from netlib import utils, tcp, http def treader(bytes): """ Construct a tcp.Read object from bytes. """ fp = BytesIO(bytes) return tcp.Reader(fp) @contextma...
Python
netlib/tutils.py
tdickers/mitmproxy
mit
3,536
132
codeparrot/github-code
f777967070684b80ebe1ad8b852d5e3fb401e884a2c506bb16e8fe421f1f4621
/* GWEN Copyright (c) 2010 Facepunch Studios See license in Gwen.h */ #pragma once #ifndef GWEN_CONTROLS_CHECKBOX_H #define GWEN_CONTROLS_CHECKBOX_H #include "Gwen/Controls/Base.h" #include "Gwen/Controls/Button.h" #include "Gwen/Gwen.h" #include "Gwen/Skin.h" #include "Gwen/Controls/Symbol.h" #include "Gwen/Contr...
C
shared/bullet3-2.89/examples/ThirdPartyLibs/Gwen/Controls/CheckBox.h
MadManRises/Madgine
mit
1,720
82
codeparrot/github-code
e26b9b1108646cf39839de3b2b8215b540fe0523f1655656b8343c88ca52fad2
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bundle\WebProfilerBundle\Csp; use Symfony\Component\HttpFoundat...
PHP
src/Symfony/Bundle/WebProfilerBundle/Csp/ContentSecurityPolicyHandler.php
localheinz/symfony
mit
8,478
251
codeparrot/github-code
959db9b582178e284804fced150477179c48166fd8ebc4f61c236d7f167be096
using System; using Ionic.Zlib; using UnityEngine; namespace VoiceChat { public static class VoiceChatUtils { static void ToShortArray(this float[] input, short[] output) { if (output.Length < input.Length) { throw new System.ArgumentException("in: " + i...
C#
TutorClient/Assets/VoiceChat/Scripts/VoiceChatUtils.cs
jonathanrlouie/unity-vr-livestream
mit
7,914
234
codeparrot/github-code
207042bb9c0d152b7502df69f80fe2b69c61b4d8b65df96a75812ef5bcca436f
//= require d3/d3 //= require jquery.qtip.min //= require simple_statistics gfw.ui.model.CountriesEmbedOverview = cdb.core.Model.extend({ defaults: { graph: 'total_loss', years: true, class: null } }); gfw.ui.view.CountriesEmbedOverview = cdb.core.View.extend({ el: document.body, events: { '...
JavaScript
app/assets/javascripts/embed_countries.js
apercas/gfw
mit
43,947
1,473
codeparrot/github-code
d58777d2a084f3b970afcd554ac8fb42297038700da1378354759ce169f5c865
/* * @(#)LayouterSample.java * * Copyright (c) 1996-2010 by the original authors of JHotDraw and all its * contributors. All rights reserved. * * You may not use, copy or modify this file, except in compliance with the * license agreement you entered into with the copyright holders. For details * see accompany...
Java
Umplificator/UmplifiedProjects/jhotdraw7/src/main/java/org/jhotdraw/samples/mini/LayouterSample.java
ahmedvc/umple
mit
2,276
64
codeparrot/github-code
3f10e556012c689d42d404c034b66ad72288a5d10fbaa601ca0a59805d7ed2e7
angular.module('ualib.imageCarousel', ['angular-carousel']) .constant('VIEW_IMAGES_URL', '//wwwdev2.lib.ua.edu/erCarousel/api/slides/active') .factory('imageCarouselFactory', ['$http', 'VIEW_IMAGES_URL', function imageCarouselFactory($http, url){ return { getData: function(){ ...
JavaScript
assets/js/_ualib_imageCarousel.js
8bitsquid/roots-ualib
mit
2,702
80
codeparrot/github-code
609e2c8cfbb1d51050d8df5a008707f936d56a91a5b8df1673a8d75b72c1ec10
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>basic_socket_streambuf::cancel (1 of 2 overloads)</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" ...
HTML
ext/c++/thirdpart/c++/boost/libs/asio/doc/html/boost_asio/reference/basic_socket_streambuf/cancel/overload1.html
yinchunlong/abelkhan-1
mit
6,942
115
codeparrot/github-code
5d7ec1c5d0b298f5f7c72cd06cfbe98580de316b54170a050364e71b5d508ed9
<?php namespace Codeception\Command; use Codeception\Configuration; use Codeception\Lib\Generator\Snapshot as SnapshotGenerator; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\Out...
PHP
src/Codeception/Command/GenerateSnapshot.php
Codeception/base
mit
2,155
73
codeparrot/github-code
9aca015703b14d1cf66c89a944d3e81a941b7f89dd31f9048c1d912616952bb6
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ENTER} from '@angular/cdk/keycodes'; import {CommonModule} from '@angular/common'; import {NgModule} from '@a...
TypeScript
src/material-experimental/mdc-chips/module.ts
josephperrott/material2
mit
1,601
60
codeparrot/github-code
66e50e8c4ea094c1f912c60e1092ac7cff216b579a90622de21b3635af13aff5
#region Copyright // // DotNetNuke® - http://www.dotnetnuke.com // Copyright (c) 2002-2014 // by DotNetNuke Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // documentation files (the "Software"), to deal in the Software without restric...
C#
DNN Platform/DotNetNuke.Web/InternalServices/GettingStartedController.cs
raphael-m/Dnn.Platform
mit
6,013
158
codeparrot/github-code
c129018828e8574de12f8d07719b99c3e1ddc924917f9f2d1de4d19732c5a72a
// Help functions /* * Return a string with all helper functions whose name contains the 'substring'; * if the 'searchDescription' is true, then also search the function description"); */ function getHelp(substring, searchDescription) { return framework.getJavaScriptHelp(".*(?i:" + substring + ").*", searchDesc...
JavaScript
workcraft/WorkcraftCore/res/scripts/core-help.js
workcraft/workcraft
mit
1,523
50
codeparrot/github-code
416cbb0c0c81cb2c75f71687838388ca7f6df5fdef3a9f49deea27ec3cacf433
{% if site.staticman.repository and site.staticman.branch %} <div class="staticman-comments"> <div class="page__comments"> <!-- Start static comments --> <div class="js-comments"> {% if site.data.comments[page.slug] %} <h3 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_t...
HTML
_includes/staticman-comments.html
igordcsouza/igordcsouza.github.io
mit
5,559
84
codeparrot/github-code
dbc66d8b7d7aa311da8d89ebd104bae742cb52d666fd7bd0502546d4840970ce
// Uncomment the following to provide samples for PageResult<T>. Must also add the Microsoft.AspNet.WebApi.OData // package to your project. ////#define Handle_PageResultOfT using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using ...
C#
Single Page Applications/07. AngularJS Workshop/TheBigCatProject/TheBigCatProject.Server/Areas/HelpPage/App_Start/HelpPageConfig.cs
EmilMitev/Telerik-Academy
mit
6,517
113
codeparrot/github-code
4453f44919fbe503ce2bbfc6baea6b8723c7252a9d382d52dd4b91a8b77a9caf
/// <summary> /// This class handles user ID, session ID, time stamp, and sends a user message, optionally including system specs, when the game starts /// </summary> using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using System; using System.Net; #i...
C#
Unity/Assets/GameAnalytics/Plugins/Framework/Scripts/GA_GenericInfo.cs
samoatesgames/Ludumdare30
mit
9,640
328
codeparrot/github-code
d1c69a6519741c24c07ed90510b35f3d665fdb77bcf4df3b0108d920aa92ef03
import {OverlayRef, GlobalPositionStrategy} from '../core'; import {AnimationEvent} from '@angular/animations'; import {DialogPosition} from './dialog-config'; import {Observable} from 'rxjs/Observable'; import {Subject} from 'rxjs/Subject'; import {MdDialogContainer} from './dialog-container'; import 'rxjs/add/operato...
TypeScript
src/lib/dialog/dialog-ref.ts
trik/material2
mit
2,903
96
codeparrot/github-code
4405e90927ceb6c0e42ae0e1385e06345c5c9b314816873f5d9dd76820231c67
/* LUFA Library Copyright (C) Dean Camera, 2015. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* Copyright 2015 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purp...
C
src/LUFA/LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.c
ManCaveMade/QuarkOne-Bootloader
mit
3,057
125
codeparrot/github-code
9de4c0b95060be875672e479df384369a893ce14ccc57dcddf7dd2607b39bf53
using OfficeDevPnP.MSGraphAPIDemo.Components; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Web; using System.Web.Mvc; using OfficeDevPnP.MSGraphAPIDemo.Models; using System.Threading; namespace OfficeDevPnP.MSGraphAPIDemo.Controllers { public ...
C#
Samples/MicrosoftGraph.Office365.Generic/OfficeDevPnP.MSGraphAPIDemo/Controllers/FilesController.cs
comblox/PnP
mit
6,981
192
codeparrot/github-code
c9ca15fd762dc706ca032782ebc5cdd97938f0d4864aff0120af013aa77cc4f3
""" A directive for including a matplotlib plot in a Sphinx document. By default, in HTML output, `plot` will include a .png file with a link to a high-res .png and .pdf. In LaTeX output, it will include a .pdf. The source code for the plot may be included in one of three ways: 1. **A path to a source file** as t...
Python
matplotlib/sphinxext/plot_directive.py
Solid-Mechanics/matplotlib-4-abaqus
mit
27,667
820
codeparrot/github-code
81013847aaa9b47cc094a9728cf24897822db712a6aa48443db9ef37912727d5
#include <stdio.h> #include <string.h> int is_prime(char*); int main() { char input[11]; fgets(input, 11, stdin); printf("%d", is_prime(input)); return 0; } int is_prime(char* input) { int i, length, number = 0; length = input[strlen(input) - 1] == '\n' ? strlen(input) - 1 : strlen(input); for (i = 0; i...
C
2015-2016/A/09/04/task1.c
ivanmilevtues/po-homework
mit
670
47
codeparrot/github-code
301a102ad85ce515cb7f3f726abcf71bed4ae93c78c313f7dff22bb57475b7e0
/** * @author mrdoob / http://mrdoob.com/ * @author bhouston / http://exocortex.com/ */ ( function ( THREE ) { THREE.Raycaster = function ( origin, direction, near, far ) { this.ray = new THREE.Ray( origin, direction ); // normalized ray.direction required for accurate distance calculations if( this.ray.d...
JavaScript
src/core/Raycaster.js
DLar/three.js
mit
5,607
236
codeparrot/github-code
40f5a1b7b03e6d1c2423b923f4ccf10535ed2dff1051b4802934273b6b532e29
/** @babel */ /** @jsx etch.dom **/ import etch from 'etch'; export default class WelcomeView { constructor(props) { this.props = props; etch.initialize(this); this.element.addEventListener('click', event => { const link = event.target.closest('a'); if (link && link.dataset.event) { ...
JavaScript
packages/welcome/lib/welcome-view.js
PKRoma/atom
mit
7,385
171
codeparrot/github-code
ddf11246eeb2b1ff4b1695047ffb12b5d960037c05642aa8f68add80f0d690ca
<?php namespace PragmaRX\Tracker\Data\Repositories; use PragmaRX\Tracker\Support\RefererParser; class Referer extends Repository { /** * @var RefererParser */ private $refererParser; /** * @var */ private $currentUrl; /** * @var */ private $searchTermModel; /** * Crea...
PHP
src/Data/Repositories/Referer.php
ssv445/tracker
mit
1,894
100
codeparrot/github-code
5f1fd509258ca1a62d46faf045114bd386e0a1c88639fd65008d6a857da3366a
'use strict'; angular.module('sw.plugin.split', ['sw.plugins']) .factory('split', function ($q) { return { execute: execute }; function execute (url, swagger) { var deferred = $q.defer(); if (swagger && swagger.swagger && !swagger.tags) { ...
JavaScript
src/plugins/before-parse/split.js
darosh/angular-swagger-ui-material
mit
1,127
41
codeparrot/github-code
a7da0006fcfaf716d46116029d9a8fefc0a12367ab75d7989b3e39d7eae70506
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.Build.Engine.Incrementals { public sealed class ProcessorStepInfo { /// <summary> /// The name of processor step....
C#
src/Microsoft.DocAsCode.Build.Engine/Incrementals/ProcessorStepInfo.cs
DuncanmaMSFT/docfx
mit
1,121
38
codeparrot/github-code
97dca43e5e8bfd5cc358574878c469fa72a43e4e6cbc080618940c336f59c987
/*----------------------------------------------------------------------------------- /* /* Main JS /* -----------------------------------------------------------------------------------*/ (function($) { /*---------------------------------------------------- */ /* Preloader ----------------------------------...
JavaScript
resources/js/main.js
wassapste97/sitomio
mit
8,220
247
codeparrot/github-code
6bd587722b9b8f033615f8dc30b852af78d02818b8e78d14da40400c90a82b5f
/** * @license Highcharts Gantt JS v7.2.0 (2019-09-03) * * CurrentDateIndicator * * (c) 2010-2019 Lars A. V. Cabrera * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { factory['default'] = factory; module.exports...
JavaScript
ajax/libs/highcharts/7.2.0/modules/current-date-indicator.src.js
extend1994/cdnjs
mit
4,598
122
codeparrot/github-code
bd71c61e0178e910675fec71cb8ea8eb705828d87eba3fb1ea62a8003c11f89c
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
C
src/jit/block.h
sjsinju/coreclr
mit
53,937
1,381
codeparrot/github-code
065803bc2b9364060398d528de4b6835098b871f31144703c19079d79a06362a
<?php /** * Copyright (c) 2013 Robin Appelman <icewind@owncloud.com> * This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. */ namespace OC\User; use OC\Hooks\PublicEmitter; use OCP\IUserManager; /** * Class Manager * * Hooks available in scope \...
PHP
owncloud-serv/lib/private/user/manager.php
ACOKing/ArcherSys
mit
7,534
295
codeparrot/github-code
50289b3c4886bf7c5541e40debfe6734366c865ab32e139b82a0ee2a055ae3bb
package org.multibit.hd.ui.views.wizards.appearance_settings; import com.google.common.base.Optional; import org.multibit.hd.ui.views.wizards.AbstractWizard; import org.multibit.hd.ui.views.wizards.AbstractWizardPanelView; import java.util.Map; /** * <p>Wizard to provide the following to UI for "appearance" wizard:...
Java
mbhd-swing/src/main/java/org/multibit/hd/ui/views/wizards/appearance_settings/AppearanceSettingsWizard.java
oscarguindzberg/multibit-hd
mit
984
36
codeparrot/github-code
cae3548525fdd8668419f7328e545241c740bd1827d666a918af5aae9a9b4ab5
/* The MIT License Copyright (c) 2012 by Jorrit Tyberghein Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge...
C
src/aresed/models/modelrepository.h
LaughingSun/ares
mit
3,419
92
codeparrot/github-code
6b4c4388146f4309dd6ea063fe518d73a5bcde1dad4c147afa9b4b0a80147154
/* * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org...
Java
opendaylight/netconf/config-netconf-connector/src/main/java/org/opendaylight/controller/netconf/confignetconfconnector/mapping/attributes/toxml/SimpleUnionAttributeWritingStrategy.java
aryantaheri/controller
epl-1.0
1,436
44
codeparrot/github-code
a64b8878b2b97133a3bac922e405bc632521073db24f96407a50d209f8db5e75
/******************************************************************************* * Copyright (c) 2006, 2009 David A Carlson * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is ava...
Java
hl7/plugins/org.openhealthtools.mdht.emf.hl7.mif2/src/org/openhealthtools/mdht/emf/w3c/xhtml/internal/impl/CodeImpl.java
drbgfc/mdht
epl-1.0
8,990
374
codeparrot/github-code
1922271c50fb9707740dedca392b79f0c82502ed3d78b531f4a3929c9b7d2d7e
/******************************************************************************* * Copyright (c) 2002, 2010 QNX Software Systems and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distributio...
C
native/openpty.c
nikll/pty4j
epl-1.0
1,746
67
codeparrot/github-code
8f2b0ce01a6345065d17fab968cea8ed035da8398b55f7f93cc728f34f982fac
/******************************************************************************* * Copyright (c) 2005-2010 VecTrace (Zingo Andersen) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distrib...
Java
plugin/src/com/vectrace/MercurialEclipse/commands/RootlessHgCommand.java
boa0332/mercurialeclipse
epl-1.0
1,464
52
codeparrot/github-code
c44b950102ce959c8b594c0b8c20b874f34d773c8e3623ad8cdf66c3b5bf110d
#include "parser.h" #include "test.h" int main(int argc, char *argv[]) { BOOL ret; char *fname, *test; int fd; struct stat st; io_struct ps; if (argc < 3) { printf("usage: vluke <structure> <file>\n"); exit(1); } test = argv[1]; fname = argv[2]; fd = open(fname,O_RDONLY); if (fd == -1) { perror(f...
C
user/samba/source/aparser/vluke.c
ipwndev/DSLinux-Mirror
gpl-2.0
851
42
codeparrot/github-code
6e1f7914fc2c449d88748e17b86472ec3471df86c9aad87d853def91a1a67df1
#ifndef TABLEDICT_H #define TABLEDICT_H #include <fcitx-utils/utf8.h> #include <fcitx-config/fcitx-config.h> #include <fcitx-config/hotkey.h> #include <fcitx-utils/memory.h> #define MAX_CODE_LENGTH 30 #define PHRASE_MAX_LENGTH 10 #define FH_MAX_LENGTH 10 #define TABLE_AUTO_SAVE_AFTER 1024 #define AUTO_PHRASE_COUNT ...
C
src/im/table/tabledict.h
tectronics/fcitx
gpl-2.0
5,318
166
codeparrot/github-code
5c4e40096c047fd6f345a372e8f72f6a5af893463f3c6643eac86713e386c10a
<?php /** * @package gantry * @subpackage core * @version 3.2.12 October 30, 2011 * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) 2007 - 2011 RocketTheme, LLC * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only * * Gantry uses the Joomla Framework (http://www....
PHP
libraries/gantry/core/gantrylayout.class.php
worldwideinterweb/joomla-173
gpl-2.0
973
38
codeparrot/github-code
97572c89ff23b6abb2bebe753d303af16972736b47566d921a381459d62c1e39
<?php class WikiLeaksBridge extends BridgeAbstract { const NAME = 'WikiLeaks'; const URI = 'https://wikileaks.org'; const DESCRIPTION = 'Returns the latest news or articles from WikiLeaks'; const MAINTAINER = 'logmanoriginal'; const PARAMETERS = array( array( 'category' => array( 'name' => 'Category', ...
PHP
web/UXsQTutSQY7w7u6s/bridges/WikiLeaksBridge.php
stupiddingo/boisewaldorf
gpl-2.0
3,255
130
codeparrot/github-code
d11f564fa04831e109a52791d50a8d0bf7032537092297edb0ca5b9d62c975db
/* * Copyright (c) 2011 Synaptics Incorporated * Copyright (c) 2011 Unixphere * * 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 ...
C
drivers/input/touchscreen/rmi4/rmi_spi.c
kirilllavrov/android_kernel_huawei_s10101l
gpl-2.0
21,706
897
codeparrot/github-code
cf7faf36b1e5b7eeb6cf3f130f6755d5903978c72b30a12b025c671587d29975
/* * * This source code is part of * * G R O M A C S * * GROningen MAchine for Chemical Simulations * * VERSION 3.2.0 * Written by David van der Spoel, Erik Lindahl, Berk Hess, and others. * Copyright (c) 1991-2000, University of G...
C
src/mdlib/vsite.c
tectronics/force-distribution-analysis.gromacs-4-5-3
gpl-2.0
39,717
1,559
codeparrot/github-code
16144e83f4b624c33648cfec955af05359a1df08ae8ab22023c4d966bdb13d2b
// Copyright 2014 The Chromium Authors. All rights reserved. // Copyright (C) 2016 Apple Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must ret...
C
modules/web/src/main/native/Source/WebCore/css/parser/CSSParserToken.h
teamfx/openjfx-8u-dev-rt
gpl-2.0
5,915
179
codeparrot/github-code
9987cf4544cd94c9997d6652382c2a7819d654acc9c8ffcfe4989f427a13f4ff
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
C
submodules/mswebrtc/webrtc/webrtc/modules/rtp_rtcp/source/fec_receiver_impl.h
raj-bhatia/grooveip-ios-public
gpl-2.0
1,976
54
codeparrot/github-code
761050b8f504acde2140e1cc16fefdc58094eff118c26be0d5ee39d0f4a321b2
/* Copyright (c) 2009-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 ho...
C
drivers/usb/otg/msm72k_otg.c
tenorntex/lhbalanced
gpl-2.0
74,497
2,804
codeparrot/github-code
c3ce1b52f3968646e11485dd01182135818bcc744dab35d733c88f7e93c7de26
/* Copyright (C) 2006 - 2012 ScriptDev2 <http://www.scriptdev2.com/> * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version....
C++
src/bindings/scriptdev2/scripts/outland/hellfire_citadel/hellfire_ramparts/instance_hellfire_ramparts.cpp
Remix99/MaNGOS
gpl-2.0
4,618
155
codeparrot/github-code
480d550e9325d7c80648d257111fd68bdf958a4a190b2515e784cdf4eef0cfc4
// { dg-require-namedlocale "fr_FR.ISO8859-15" } // 2001-07-17 Benjamin Kosnik <bkoz@redhat.com> // Copyright (C) 2001-2021 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU Gene...
C++
libstdc++-v3/testsuite/22_locale/messages/members/char/2.cc
Gurgel100/gcc
gpl-2.0
1,898
61
codeparrot/github-code
c2a9e3e67f04f46b23867d83fb10bfeded0e61c9fb4d9f2923913b3f447dbd49
<?php /* V4.81 3 May 2006 (c) 2000-2006 John Lim. All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Set tabs to 4 for best viewing. Latest version is available at http:/...
PHP
shared/class_folder/adodb/drivers/adodb-sybase.inc.php
omerta/huayra
gpl-2.0
12,524
419
codeparrot/github-code
fff750aeee3f6b7d273387183278d2fd7c1a5e2efc9f9a43b2bf7bdf12651698
/* * Copyright (C) 2008-2014 TrinityCore <http://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 ve...
C++
src/server/scripts/Spells/spell_pet.cpp
mynew6/blabblaba
gpl-2.0
70,765
1,744
codeparrot/github-code
b0dceca0b84f68abfcb5e8b2bd0d7d26eac1d4838705cd6a327d7f74eabb6267
/* * linux/drivers/mmc/core/core.c * * Copyright (C) 2003-2004 Russell King, All Rights Reserved. * SD support Copyright (C) 2004 Ian Molton, All Rights Reserved. * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved. * MMCv4 support Copyright (C) 2006 Philip Langdale, All Rights Reserved. * * This ...
C
drivers/mmc/core/core.c
SmithGitHu/linux
gpl-2.0
69,002
2,778
codeparrot/github-code
07ae39911f2934086bf5b1b3d7be10b1712cd7f63a509788dae312390476ad19
<?php use Ctct\Util\CurlResponse; use Ctct\Services\ListService; use Ctct\Util\RestClient; use Ctct\Components\Contacts\ContactList; class ListServiceUnitTest extends PHPUnit_Framework_TestCase { private $restClient; private $listService; public function setUp() { $this->restClient = $this->g...
PHP
wp-content/plugins/funciones_basicas_gafa1.2/php-sdk-development/test/Services/ListServiceUnitTest.php
rafabrutaldrums/casamacario
gpl-2.0
7,252
168
codeparrot/github-code
36b3224eccbe3db255d7b8d7618c4a19f04a0ee34a1e4bf9dbe54b2605b96df9
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <!-- /home/qt/mkdist-qt-4.4.3-1222864207/qt-embedded-linux-opensource-src-4.4.3/doc/src/tutorials/tutorial.qdoc --> <head>...
HTML
qtopiacore/qt/doc/html/tutorials-tutorial-t12.html
liuyanghejerry/qtextended
gpl-2.0
14,422
220
codeparrot/github-code
997669cb0e52c6aa457d0a52615bdc508c3d6d4e7e77e7c224467ab047effb9e
/* * Jeremy Compostella <jeremy.compostella@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * ...
C++
devices/htcuniversal/src/plugins/qtopiacore/kbddrivers/htckeyboard/htckbdhandler.cpp
Trim/qtmoko
gpl-2.0
3,174
102
codeparrot/github-code
670abc76fbc3e102b541cd9d959da73ba9a3393b8db0cb384040e054d21207b6
// SPDX-License-Identifier: GPL-2.0+ /* * linux/fs/jbd2/commit.c * * Written by Stephen C. Tweedie <sct@redhat.com>, 1998 * * Copyright 1998 Red Hat corp --- All Rights Reserved * * Journal commit routines for the generic filesystem journaling code; * part of the ext2fs journaling system. */ #include <linux/t...
C
fs/jbd2/commit.c
Fe-Pi/linux
gpl-2.0
34,815
1,145
codeparrot/github-code
baf51bd89a57dc43cab206b9c963abcbd84c4481b7b65f48125de2432115b6c5
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /** * CodeIgniter * * An open source application development framework for PHP 4.3.2 or newer * * @package CodeIgniter * @author ExpressionEngine Dev Team * @copyright Copyright (c) 2006, EllisLab, Inc. * @license http://codeigniter.co...
PHP
CodeIgniter_1.6.1/CodeIgniter_1.6.1/system/codeigniter/Common.php
Calico90/codeigniter-version-scanner
gpl-2.0
6,512
298
codeparrot/github-code
b5583e7b8065270caadaccbea99edce4bfe7ea81424c38c8464c3c3d75aa8c1a
/**************************************************************************** ** ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** ...
C
contrib/i586-mingw32msvc/include/qt4/src/gui/math3d/qmatrix4x4.h
repstd/modified_vlc
gpl-2.0
33,082
1,023
codeparrot/github-code
a2e52357a51c81e9229d144b57e96580fa5195c60d3308535a027be6dd79d783
/********************************************************************** * * Copyright (C) Imagination Technologies Ltd. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by...
C
drivers/gpu/pvr/pvr/module.c
nushor/samsung_aries_ics_OLD
gpl-2.0
17,128
771
codeparrot/github-code
f024f3e0f9658481f01f94ddba9a257fc6c3375d078a9fbc5781f437b1f517e3
/* driver/i2c/chip/tap6185.c * * TI rt5501 Speaker Amp * * Copyright (C) 2010 HTC Corporation * * 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 pr...
C
drivers/i2c/chips/rt5501.c
Buckmarble/Lunar_kernel_sense_m7
gpl-2.0
30,535
1,218
codeparrot/github-code
a83b5691c999cab3787229374fa73ed58b2d0e784986443d2ac8efeaa00c7b69
/************************************************************************ * $Id: minibidi.c 6910 2006-11-18 15:10:48Z simon $ * * ------------ * Description: * ------------ * This is an implemention of Unicode's Bidirectional Algorithm * (known as UAX #9). * * http://www.unicode.org/reports/tr9/ * * Author...
C
src/puttyline/putty-0.60/minibidi.c
hackpascal/line-is-not-emulator
gpl-2.0
55,967
1,899
codeparrot/github-code
e9125b1aba81fccfbcb33f8bb69ef216775bdaa83e12ae016966f8cfc9c65c3f
/* This file is part of Jedi Academy. Jedi Academy 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. Jedi Academy is dist...
C
code/RMG/RM_Mission.h
videoP/jaPRO
gpl-2.0
4,633
148
codeparrot/github-code
082718d93629f6823aa5684855fbcce7eb822ad5e5889fe08fdae4a1fba97763
/* * xHCI host controller driver * * Copyright (C) 2008 Intel Corp. * * Author: Sarah Sharp * Some code borrowed from the Linux EHCI driver. * * 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 Soft...
C
drivers/usb/host/xhci-hub.c
olear/R104
gpl-2.0
32,280
1,106
codeparrot/github-code
765cbdc853e45e3ce8529e902be103cf935d004e620259c8e6af3de6cd3e561c
/* * Copyright (C) 2008-2010 TrinityCore <http://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 ve...
C++
src/server/scripts/Northrend/Gundrak/boss_drakkari_colossus.cpp
Archives/ro_core
gpl-2.0
9,756
317
codeparrot/github-code
b0b1441521497b24c80faf926343c14a066d09bc1382440ff8c7a757b1c1d85f
/****************************************************************************** ** $Id$ ** ** Copyright (C) 2006-2007 ascolab GmbH. All Rights Reserved. ** Web: http://www.ascolab.com ** ** This program is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License ** a...
C
plugins/opcua/opcua_application_layer.c
RayHightower/wireshark
gpl-2.0
3,905
119
codeparrot/github-code
9025e19fcb4dfe217b64f605c2d289428a4f637918930551b8f567f9ca6dfd8f
/* Target-dependent code for SPARC. Copyright (C) 2003-2016 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 ...
C
gdb/sparc-tdep.h
habemus-papadum/binutils-gdb
gpl-2.0
7,254
256
codeparrot/github-code
9404cc12b7a949950291263f5bbaa3cf210c877c3875f3fecbebc2c065be34ba
/* * drivers/video/radeonfb.c * framebuffer driver for ATI Radeon chipset video boards * * Copyright 2000 Ani Joshi <ajoshi@kernel.crashing.org> * * * ChangeLog: * 2000-08-03 initial version 0.0.1 * 2000-09-10 more bug fixes, public release 0.0.5 * 2001-02-19 mode bug fixes, 0.0.7 * 2001-07-05 fixed scrollin...
C
drivers/video/radeonfb.c
marcelo-duffles/linux-rat-2.6.10
gpl-2.0
88,606
3,194
codeparrot/github-code
fbb5d838538b89295c6facc3e7a6a44d68c95f969d6e3951645259371c89870b
/* * The Mana Server * Copyright (C) 2006-2010 The Mana World Development Team * * This file is part of The Mana Server. * * The Mana Server 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; eithe...
C++
src/utils/zlib.cpp
mana/manaserv
gpl-2.0
2,951
118
codeparrot/github-code
e342278ac8643451630dcca54b90f4deb0c0630129820f8d655cebb151b85cfe
/* * efs_fs_i.h * * Copyright (c) 1999 Al Smith * * Portions derived from IRIX header files (c) 1988 Silicon Graphics */ #ifndef __EFS_FS_I_H__ #define __EFS_FS_I_H__ typedef int32_t efs_block_t; typedef uint32_t efs_ino_t; #define EFS_DIRECTEXTENTS 12 /* * layout of an extent, in memory and on disk. 8 byte...
C
kernel/linux/include/linux/efs_fs_i.h
z3bu/AH4222
gpl-2.0
1,681
69
codeparrot/github-code
a1210ebc2ae784b59a5dc5e71a9854c356b099955900bb536f58a98c077efa18
import React from "react"; import PropTypes from "prop-types"; import Box from "grommet/components/Box"; import Paragraph from "grommet/components/Paragraph"; import Label from "grommet/components/Label"; import FormLayer from "../components/FormLayer"; class LayerObjectFieldTemplate extends React.Component { cons...
JavaScript
ui/cap-react/src/components/drafts/form/themes/grommet-preview/templates/LayerObjectFieldTemplate.js
pamfilos/data.cern.ch
gpl-2.0
1,677
65
codeparrot/github-code
ed6d1a738143e0fa97e6eb033fdce6a25d2b27fbd5da138ba8b2d4a2a6525e7a
/*************************************************************************** * Copyright (C) 2011 by Broadcom Corporation * * Evan Hunter - ehunter@broadcom.com * * * * This pr...
C
src/rtos/rtos_embkernel_stackings.c
yangshanjin/openOCD
gpl-2.0
2,609
65
codeparrot/github-code
05b1731b1163d2515495b83deaec9bcc4489544aaa17a82300b852a55dc5e289
/* * tkMacMenubutton.c -- * * This file implements the Macintosh specific portion of the * menubutton widget. * * Copyright (c) 1996 by Sun Microsystems, Inc. * * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * * RCS: @(#) $I...
C
tk/mac/tkMacMenubutton.c
AndresGG/sn-8.4
gpl-2.0
9,411
341
codeparrot/github-code
db3fa4fac7c973404f995a76c66aee7c02f4f4bfe2f28941390b7ec1934b5cef
/* Copyright (c) 2011-2013, 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/gpu/msm/kgsl_iommu.c
Nico60/kernel_lge_hammerhead
gpl-2.0
61,701
2,198
codeparrot/github-code
83c9d90b3946df58f555146ef6857aba7801aebce2f679a041d4b7bd282dd641
// 20020717 gdr // Copyright (C) 2002-2021 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library 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 ...
C++
libstdc++-v3/testsuite/26_numerics/slice/1.cc
Gurgel100/gcc
gpl-2.0
1,704
63
codeparrot/github-code
42061a52ea1e0318c3a99342a2f7c4d866955491c4f4b731320afb47456f39cf
<!-- * Asterisk-GUI - an Asterisk configuration interface * * Set Date on the Digium Appliance - AA50 * * Copyright (C) 2007-2008, Digium, Inc. * * Pari Nannapaneni <pari@digium.com> * * See http://www.asterisk.org for more information about * the Asterisk project. Please do not directly contact * any of the...
HTML
config/date.html
wardmundy/asterisk-gui-2.0
gpl-2.0
5,866
177
codeparrot/github-code
44a174a1eb28ccfd188d48e2feb4967c1d26c7ae1b6396c8bf0102ab202ba0b8
<?php /** * This file represents an example of the code that themes would use to register * the required plugins. * * It is expected that theme authors would copy and paste this code into their * functions.php file, and amend to suit. * * @package TGM-Plugin-Activation * @subpackage Example * @version 2....
PHP
wp-content/themes/wpex-fashionista/functions/recommend-plugins.php
ucommerzdev3/activities_lwdwn
gpl-2.0
6,543
108
codeparrot/github-code
ca3c8581e54c6587eb4660a143a7ab2d2fd30aa8d919068ace1b08bb1d436b42
/* * Copyright (c) International Business Machines Corp., 2006 * Copyright (c) Nokia Corporation, 2006, 2007 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Licen...
C
drivers/mtd_bak/ubi/io.c
carlos-wong/l430_kernel
gpl-2.0
38,018
1,270
codeparrot/github-code
57088b077cb3770b57cd662298e5c5ca79931fdfa374e7b8897d422b3418e686
""" This page is in the table of contents. Plugin to home the tool at beginning of each layer. The home manual page is at: http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Home ==Operation== The default 'Activate Home' checkbox is on. When it is on, the functions described below will work, when it is off, not...
Python
skein_engines/skeinforge-47/skeinforge_application/skeinforge_plugins/craft_plugins/home.py
makerbot/ReplicatorG
gpl-2.0
8,040
199
codeparrot/github-code
c50afe1614ef57fe73e2308cc3ffdb2e2f27a01226e1c2a782be78d4450ac927
/* * Copyright (C) 2005-2018 Team Kodi * This file is part of Kodi - https://kodi.tv * * SPDX-License-Identifier: GPL-2.0-or-later * See LICENSES/README.md for more information. */ #pragma once #include "settings/dialogs/GUIDialogSettingsManualBase.h" class CFileItem; namespace PERIPHERALS { class CGUIDia...
C
xbmc/peripherals/dialogs/GUIDialogPeripheralSettings.h
xbmcin/XBMCinTC
gpl-2.0
1,174
46
codeparrot/github-code
2fc5b8ac6a73121792f638de22cd851dda7e8777473cbe6a819920b1a361772f
/* * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your ...
C++
src/server/scripts/EasternKingdoms/Scholomance/boss_jandice_barov.cpp
Exitare/TrinityCore
gpl-2.0
3,997
130
codeparrot/github-code
ae732fb372fe3a65eebfb80b7548694844da267270c452ac3a6b80cf5d491bd1
<?php /** * @package AkeebaBackup * * @license GNU General Public License, version 2 or later * @author Nicholas K. Dionysopoulos * @copyright Copyright 2006-2009 Nicholas K. Dionysopoulos * @since 1.3 */ defined('_JEXEC') or die(); /** * Database Table filter Model class * */ class AkeebaModelDbefs extends ...
PHP
administrator/components/com_akeeba/models/dbefs.php
dannysaban/store
gpl-2.0
9,104
327
codeparrot/github-code
bfdbaa0059595a5258749dedd7f1f80d30b0570156062be8a67add4b6f5a6c0a
#!/usr/bin/env perl # Copyright (c) 2000-2003, 2006, 2007 MySQL AB, 2009 Sun Microsystems, Inc. # Use is subject to license terms. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; versi...
Shell
sql-bench/test-insert.sh
tempesta-tech/mariadb
gpl-2.0
51,085
1,814
codeparrot/github-code
056e7a0099ff95eb4d1ff858fa413c9c68fd347cc5e1e42c5e8b8ac61e415a54
var UserInformation_AccountStore = new Ext.data.Store({ fields:[ {name : 'Name'}, {name : 'ID'}, {name : 'Mail'}, {name : 'Roles'} ], reader : AccountReader }); var UserInformationItem = [ { fieldLabel : 'User ID', name : 'id', readOnly : true }, { fieldLabel : 'User Name...
JavaScript
WebContent/javascript/ezScrumPanel/UserInformationManagementFormPanel.js
chusiang/ezScrum_Ubuntu
gpl-2.0
4,497
145
codeparrot/github-code
33cf50031b1d94095068a1615d0dd1925807ca532666aba66920a109fa8374aa
/* polygon clipping functions. harry eaton implemented the algorithm described in "A Closed Set of Algorithms for Performing Set Operations on Polygonal Regions in the Plane" which the original code did not do. I also modified it for integer coordinates and faster computation. The lic...
C
src/polygon1.c
szdiy/pcb-temorary
gpl-2.0
83,865
3,548
codeparrot/github-code
330d4b94b1aed51b94644a2ab76e4d852abfa0be1cfa072bba70310d95a4e73e
/* * This file is part of JPhotoAlbum. * Copyright 2004 Jari Karjala <jpkware.com> & Tarja Hakala <hakalat.net> * * @version $Id: JPhotoDirectory.java,v 1.1.1.1 2004/05/21 18:24:59 jkarjala Exp $ */ /** Container for a single photo, may not always contain a real photo, but * just text element. * @see JPhotoAlbu...
Java
src/fi/iki/jka/JPhotoDirectory.java
91wzhang/sei-jphotoalbum
gpl-2.0
2,070
82
codeparrot/github-code
be2940fd62af4e3d7e0c4b3d5ebe2ec1cebf3b1bc3488e5b02a3b31bf5d65625
/* This file is part of the KDE project Copyright (C) 2004 Cedric Pasteur <cedric.pasteur@free.fr> Copyright (C) 2004 Alexander Dymo <cloudtemple@mskat.net> Copyright (C) 2012 Friedrich W. H. Kossebau <kossebau@kde.org> This library is free software; you can redistribute it and/or modify it under the ...
C
libs/koproperty/editors/dateedit.h
ddelemeny/calligra
gpl-2.0
2,001
72
codeparrot/github-code
fd78bbeab2f51c000c9b68dc004306245aca453d2e0457eea740a9821a503c13
// Copyright 2013 Dolphin Emulator Project // Licensed under GPLv2 // Refer to the license.txt file included. #pragma once #include <map> #include <string> #include <vector> #include "Common/CommonTypes.h" #include "DiscIO/Volume.h" namespace File { struct FSTEntry; } // // --- this volume type is used for reading...
C
Source/Core/DiscIO/VolumeDirectory.h
Sonicadvance1/dolphin
gpl-2.0
3,411
147
codeparrot/github-code
bba47c712db8a166121ce92a73669ab1edf4445fa3d16e49e45cd9af14819dbc
/* poly/gsl_poly.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Brian Gough * * 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) an...
C
include/gsl/gsl_poly.h
SESA/EbbRT-libgsl
gpl-2.0
2,776
108
codeparrot/github-code
0da21cbbb703b8bf068a58a15aa40f248d272674da7cc6514e330d2ba5dd8921
/* * "$Id: tcpstream.cc,v 1.11 2007-03-01 01:09:39 rmf24 Exp $" * * TCP-on-UDP (tou) network interface for RetroShare. * * Copyright 2004-2006 by Robert Fernie. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License Version 2 as...
C++
libretroshare/src/tcponudp/tcpstream.cc
sehraf/RetroShare
gpl-2.0
64,510
2,798
codeparrot/github-code
4d038add50d3a3deca4f46ed4e60f8f937c1d6443065ef18656d05aaab37095a
/* * PS3 Media Server, for streaming any medias to your PS3. * Copyright (C) 2008 A.Brochard * * 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 only. * * This...
Java
src/main/java/net/pms/encoders/TsMuxeRVideo.java
bigretromike/UniversalMediaServer
gpl-2.0
27,024
817
codeparrot/github-code
aa93880167f7df565b7d2c8d4571d094dc7da6ee37099b2957a0afd838ee2eaa
#include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/device.h> #include <linux/slab.h> #include <linux/i2c.h> #include <linux/pm.h> #include <linux/gpio.h> #include <linux/delay.h> #include <linux/workqueue.h> #include <linux/wakelock.h> /* wake_lock, unlock */ #include <mach...
C
drivers/broadcast/tdmb/t3900/src/broadcast_t3900.c
JellyBeanNitro/kernel-iproj-3.4
gpl-2.0
8,113
408
codeparrot/github-code
db3110950201bb5f5e5a80807e9cb5c310c7ce6202a772b08d9fb424e06af6c6
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; namespace STSdb4.Data { public class DataComparer : IComparer<IData> { public readonly Func<IData, IData, int> compare; public readonly Type Type; ...
C#
STSdb4/Data/DataComparer.cs
Injac/STSdb4
gpl-2.0
2,146
61
codeparrot/github-code
514d8cdcfd5a21bd11e0bc68bae20304242c63a622e7093ad7e8a003c8f60613
/* $Id: macucs.c 5322 2005-02-16 23:30:10Z owen $ */ #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <time.h> #include "putty.h" #include "charset.h" #include "terminal.h" #include "misc.h" #include "mac.h" /* * Mac Unicode-handling routines. * * BJH: * What we _should_ do is to use the Text ...
C
src/puttyline/putty-0.60/mac/macucs.c
supertanglang/line-is-not-emulator
gpl-2.0
3,763
140
codeparrot/github-code
2c2f44f8eecc047a0401c77a8c9aa7766f6a3fae07adf9a8d0d38ad942715936
<?php /** * Webservices component for Joomla! CMS * * @copyright Copyright (C) 2004 - 2015 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later */ namespace Webservices\Controller; use Webservices\Helper; use Webservices\Model\WebserviceModel; /** * Apply ...
PHP
component/admin/Webservices/Controller/ApplyController.php
joomla-projects/webservices
gpl-2.0
1,362
67
codeparrot/github-code
9d977d8a6c334e644170e818b0b63379eb5b2d9808adeb4cc8df9d5c0dd308be
/* * Copyright (c) 2004, 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
test/java/lang/management/ThreadMXBean/ThreadUserTime.java
FauxFaux/jdk9-jdk
gpl-2.0
8,036
239
codeparrot/github-code
2847e8b9b9f62ec3ebbe44c74238edb4894d669725c32a9c27101eb7fb85dc7e
/***************************************************************************** * SearchFragment.java ***************************************************************************** * Copyright © 2014-2015 VLC authors, VideoLAN and VideoLabs * Author: Geoffrey Métais * * This program is free software; you can redist...
Java
vlc-android/src/org/videolan/vlc/gui/tv/SearchFragment.java
hanhailong/VCL-Official
gpl-2.0
4,895
134
codeparrot/github-code
d50cb997b04f68377c6b04052ec217e1ea74c846958d8f6886cf1a1112d8ddf5
/* * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
C++
submodules/mswebrtc/webrtc/webrtc/modules/audio_processing/transient/transient_detector_unittest.cc
raj-bhatia/grooveip-ios-public
gpl-2.0
3,836
106
codeparrot/github-code
9b28694fbbdd9063ee35c5dec22a7e0260334f88e7da6b2b66149097c3d8eda4
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: t -*- # vi: set ft=python sts=4 ts=4 sw=4 noet : # This file is part of Fail2Ban. # # Fail2Ban 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;...
Python
fail2ban/__init__.py
nawawi/fail2ban
gpl-2.0
2,770
89
codeparrot/github-code
ac78cb4c229451e407fcc1b96a7b5a9660f5d2ced487b362b9c39dd5a97072ae
// Locale support -*- C++ -*- // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, // 2006, 2007 // Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Publ...
C
libstdc++-v3/config/os/gnu-linux/ctype_noninline.h
epicsdeb/rtems-gcc-newlib
gpl-2.0
6,176
196
codeparrot/github-code