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
768318cb8effb326426e942ac3d201076ad708cd922a7afcb36abb3901ae1bb1
using System.Diagnostics; using System.Drawing; using System.Runtime.CompilerServices; using System.Threading.Tasks; using XIOTCore.Contract; using XIOTCore.Contract.Enum; using XIOTCore.Contract.Interface; using XIOTCore.Contract.Interface.Basics; using XIOTCore.Contract.Interface.GPIO; using XIOTCore.FTDI.Contract; ...
C#
XamlingIOTCore/XIOTCore_Samples_Console/GPIO/GPIOExamples_FTDI.cs
jakkaj/xIOT
mit
1,290
52
codeparrot/github-code
fba6bb9d7a4cca763aac272bbe11b71c2a08f3faef8579a1c657df26f465b0ae
// Copyright (c) 2015 The Hivemind Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <QApplication> #include <QClipboard> #include <QGridLayout> #include <QHBoxLayout> #include <QItemSelection> #include <Q...
C++
src/qt/ballotballotwindow.cpp
bitcoin-hivemind/hivemind
mit
4,887
147
codeparrot/github-code
e7a983bd9aa8d4ce828b921f0610973c69455cd9e3240041e9278e49aabd31ae
/***************************************************/ /*! \class ModalBar \brief STK resonant bar instrument class. This class implements a number of different struck bar instruments. It inherits from the Modal class. Control Change Numbers: - Stick Hardness = 2 - Stick Position = 4...
C++
Sources/STK/ModalBar.cpp
audiokit/AudioKit
mit
5,551
179
codeparrot/github-code
ca603e3aa6229dc3db3b68ff07af9d0c928ea4be17a7b6667c0b9d1be23422a4
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
src/vs/platform/terminal/test/common/terminalProfiles.test.ts
microsoft/vscode
mit
2,290
70
codeparrot/github-code
839fc565422a52151966147a2034a7b2d33bf7b951fca09142a9ad37b415a5a6
# Copyright 2003 by Bartek Wilczynski. All rights reserved. # This code is part of the Biopython distribution and governed by its # license. Please see the LICENSE file that should have been included # as part of this package. """Parsing AlignACE files: AlignAceParser """ from Bio.Motif import Motif from Bio.Alphab...
Python
genescript/Bio/Motif/Parsers/AlignAce.py
bryback/quickseq
mit
1,718
56
codeparrot/github-code
46b3fff7a2d28d82935ee5c69282ae52b653c109294bd6fdaef1949b4e4299c6
<?php namespace ParkBundle\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\T...
PHP
src/ParkBundle/Controller/PersonController.php
GegrLmtte/symfonySession2
mit
6,573
248
codeparrot/github-code
bb11a16e1c4392147fdae9e3219f374d5566fba8d02ced904f9842ff7c947ae1
from django.conf.urls import include, url from django.contrib import admin from django.conf import settings import socketio.sdjango from fabric_bolt.core import views socketio.sdjango.autodiscover() admin.autodiscover() urlpatterns = [ url(r'^grappelli/', include('grappelli.urls')), url(r'^admin/', include(...
Python
fabric_bolt/core/urls.py
paperreduction/fabric-bolt
mit
1,071
31
codeparrot/github-code
99b57c5463a44985b64e5bf2445e5078f3c2c7c0980d04d99bff26c20f8a170d
import invariant from 'invariant'; import isArray from 'lodash/isArray'; import isObject from 'lodash/isObject'; import matchesType from '../utils/matchesType'; export const BEGIN_DRAG = 'dnd-core/BEGIN_DRAG'; export const PUBLISH_DRAG_SOURCE = 'dnd-core/PUBLISH_DRAG_SOURCE'; export const HOVER = 'dnd-core/HOVER'; exp...
JavaScript
src/actions/dragDrop.js
gaearon/dnd-core
mit
4,872
188
codeparrot/github-code
49fa3a0877bd677910e0ca3573588a2b5aeee01eb9caf949766ee30cc8725749
<!DOCTYPE html> <html dir="ltr" lang="en-US"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="author" content="SemiColonWeb" /> <!-- Stylesheets ============================================= --> <link href="http://fonts.googleapis.com/css?family=Lato:300,400,400italic,600...
HTML
reference/HTML/rs-demo-slider-photography.html
darrylivan/marcojscalise.com
mit
91,520
1,882
codeparrot/github-code
1cd221b7df2c5d9c1458b89df7544b03330c9f454eeac13f738236c9164d63f0
/* * OSS volume plugin. Will works with ALSA since it usually * emulates OSS layer. */ #include "misc.h" #include "../meter/meter.h" #include <sys/ioctl.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #if defined __linux__ #include <linux/soundcard.h> #endif //#define DEBUGPRN #include "dbg.h" ...
C
plugins/volume/volume.c
yardenac/forkpanel
mit
8,079
306
codeparrot/github-code
13b82cac300f878b16f58c0dcc3b3f9a32501cf86ccf082b6e2102e878539cad
'use strict'; const path = require('path'); const fs = require('fs'); const noop = () => {}; before('initialization', function () { this.timeout(0); // Remove timeout limitation process.on('unhandledRejection', err => { // I'd throw the err, but we have a heisenbug on our hands and I'd // rather not have it sc...
JavaScript
test/main.js
jumbowhales/Pokemon-Showdown
mit
1,473
52
codeparrot/github-code
82937aabc3b4f4133ded19d8db9121753497ba578ac9aac366b33a3bf0a9bfe6
/// <reference path="../lib/angular.1.2.1.js" /> // Directive that creates a searchable dropdown list. // Associated attributes:- // ac-model - use instead of ng-model // ac-options - use instead of ng-options. // Example:- <select class="ac-select" ac-model="colour" ac-options="c.name for c in colours"></select> ...
JavaScript
www/libs/acute.select.js
oilwer/LMS
mit
44,243
1,092
codeparrot/github-code
922940786dc9ebb5b4c3d3293e3c184776c5610046c4f933e940e219cc91454b
# -*- encoding: UTF-8 -*- import sys import motion import almath from naoqi import ALProxy def StiffnessOn(proxy): # We use the "Body" name to signify the collection of all joints pNames = "Body" pStiffnessLists = 1.0 pTimeLists = 1.0 proxy.stiffnessInterpolation(pNames, pStiffnessLists, pTimeLi...
Python
python/aldebaran/hana/hana/motion/cartesian/motion_hulaHoop.py
KellyChan/python-examples
mit
2,824
87
codeparrot/github-code
dc716736ee6feb3a2210cdeb4af507241d7b3e286e9b877359a8b47a766e54eb
/* * CtrlMsgListener.java * * This file is part of the IHMC ACI Library * Copyright (c) IHMC. All Rights Reserved. * * Usage restricted to not-for-profit use only. * Contact IHMC for other types of licenses. */ package us.ihmc.aci.dspro2; /** * * @author Giacomo Benincasa (gbenincasa@ihmc.us) */ public...
Java
src/java/dissemination/us/ihmc/aci/dspro2/CtrlMsgListener.java
DSG-UniFE/spf
mit
1,408
32
codeparrot/github-code
9e2a1174d5019b411b64720c22d97ef8b5cb79ec80cbbd7769f32f1c8aef724d
#include "AppClass.h" //Keyboard void SDLApp::ProcessKeyboard(SDL_Event a_event) { float fSpeed = 1.0f; #pragma region Camera Positioning if (a_event.key.keysym.sym == SDLK_w) m_pCameraMngr->MoveForward(fSpeed); if (a_event.key.keysym.sym == SDLK_s) m_pCameraMngr->MoveForward(-fSpeed); if (a_event.key.keysym....
C++
SDL_Application/AppClassControls.cpp
Creative-Self/DSA2
mit
1,087
46
codeparrot/github-code
73e82dd8505f94a51c9795e20d29566a6620985ecc007aaec612bc75c1cb52b2
using System; using BenchmarkDotNet.Attributes; using CodeJam.PerfTests.Metrics; using JetBrains.Annotations; using static CodeJam.PerfTests.Metrics.MetricRange; namespace CodeJam.PerfTests { /// <summary>Attribute for competition benchmark.</summary> /// <seealso cref="BenchmarkAttribute"/> // DONTTOUCH: DO N...
C#
PerfTests[WIP]/src/[L1_CompetitionApi]/[Attributes]/CompetitionBenchmarkAttribute.cs
rsdn/CodeJam
mit
4,457
107
codeparrot/github-code
88db5fb204a9b834ef662a86a383aa7d0d72747cd62d811b81a0d40e23dd6cf9
/* * Copyright (C) 2010-2019 The Project Lombok Authors. * * 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, ...
Java
src/core/lombok/javac/apt/InterceptingJavaFileManager.java
Lekanich/lombok
mit
2,222
50
codeparrot/github-code
7521527c645994f8d8db911c96433a10964406f8c87cd3b3deb65cba09f041c4
import {Utils as _} from '../utils'; export class BorderLayout { private eNorthWrapper: any; private eSouthWrapper: any; private eEastWrapper: any; private eWestWrapper: any; private eCenterWrapper: any; private eOverlayWrapper: any; private eCenterRow: any; private eNorthChildLayout:...
TypeScript
src/ts/layout/borderLayout.ts
sasivarnan/ag-grid
mit
9,888
305
codeparrot/github-code
e56ad76a8e2bf8f8769bbb872d1fe18fd586233df4e716893eb62c0eef4e7817
import React from 'react'; import extractProps, { propsAndStyles } from '../lib/extract/extractProps'; import { extractFont } from '../lib/extract/extractText'; import extractTransform from '../lib/extract/extractTransform'; import { TransformProps } from '../lib/extract/types'; import Shape from './Shape'; import { RN...
TypeScript
src/elements/G.tsx
react-native-community/react-native-svg
mit
1,167
46
codeparrot/github-code
23e2c89c032744826e5ea56897efe609e87aa67fdb8cd52bead7fe51e0c0da89
import { AppConfig } from '../../core/definitions/app-config'; import { Permission } from 'app/core/core-services/operator.service'; import { CategoryRepositoryService } from 'app/core/repositories/motions/category-repository.service'; import { ChangeRecommendationRepositoryService } from 'app/core/repositories/motions...
TypeScript
client/src/app/site/motions/motions.config.ts
FinnStutzenstein/OpenSlides
mit
4,771
98
codeparrot/github-code
c6c57cb4a1f06abf19a52defee4d1279d5e7f9a5c191de82f155957757829500
# -*- coding: utf-8 -*- #above helps to declare what encoding we want to use in the module #note this is copied from the first json lab #above is used to set the encoding for this module, (unfortunately didn't help that much) #used for seeing our data in nicest string format possible import pprint #again idiom for ...
Python
instructors/course-2015/functions_gens_and_ducks/examples/in_class/parsetext_trade_2015.py
razzius/PyClassLessons
mit
2,835
98
codeparrot/github-code
d03af1ca5ffc7cf80d011cc160048e0769185fe60e9d2f8f622a669671183ce5
# -*- coding:utf-8 -*- import sys reload(sys) sys.setdefaultencoding('utf-8') import time import scrapy from Global_function import get_localtime, print_new_number, save_messages now_time = get_localtime(time.strftime("%Y-%m-%d", time.localtime())) # now_time = 20170420 class USTC005_Spider(scrapy.Spider): name = ...
Python
report_spider/report_spider/spiders/USTC005.py
hbtech-ai/ARPS
mit
3,541
88
codeparrot/github-code
edd57a1780f8cbdd911ee080805492b612458c63a5cf6a27ac90605aa4480ec4
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef _BITCOINRPC_H_ #define _BITCOINRPC_H_ 1 #include <string> #include <list> #inc...
C
src/bitcoinrpc.h
Globalcreditsdev/Globalcredits
mit
10,819
205
codeparrot/github-code
eab879546aab63207a02864966d7108bb049675862f12dbfa501719c359504b1
/*- * BSD LICENSE * * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. * Copyright(c) 2016 6WIND S.A. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * ...
C
libmoon/deps/dpdk/lib/librte_mempool/rte_mempool.c
gallenmu/MoonGen
mit
33,976
1,295
codeparrot/github-code
2121075e558fd01e3e6dbdfb46ef02cfbc8200594c803b7ebf37d384c139f93c
// // AdvancedTakePhoto.h // EOSFramework // // Created by JimFu on 12-4-18. // Copyright (c) 2014年 __MyCompanyName__. All rights reserved. // #import <Foundation/Foundation.h> #import "ImageProcessController.h" #import "LuaImage.h" @class PageSandbox; @class AdvancedTakePhoto; @protocol AdvancedTakePhotoDelega...
C
Stable/EOS.framework/Headers/AdvancedTakePhoto.h
HydraFramework/release-ios
mit
920
36
codeparrot/github-code
fa83417bb4b94468924f2c76954dcb5ec161b958e3e7cb530854267750493e66
<?php namespace Addons\Card\Controller; use Addons\Card\Controller\BaseController; class NoticeController extends BaseController { var $model; function _initialize() { $this->model = $this->getModel ( 'card_notice' ); parent::_initialize (); } // 通用插件的列表模型 public function lists() { $map ['token'] = get_to...
PHP
Sources/weiphp2.0.1202/Addons/Card/Controller/NoticeController.class.php
furongsoft/weiphp2.0.1202
mit
861
43
codeparrot/github-code
ed16705ecaa6a35a3ca49d6e150cdfd6ee221b0a3ec1c101f659ce584c455856
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
Java
src/main/java/org/spongepowered/common/data/manipulator/mutable/entity/SpongeFallingBlockData.java
Grinch/SpongeCommon
mit
9,417
214
codeparrot/github-code
f0ab92a78c43f0a95bbf7bef4179719a000b9e7f08604a5d8707c60b2c608106
#include <stdio.h> #include <stdint.h> #include <string.h> void Blake2PrepareMidstate2(void *midstate, unsigned char *input); //midstate: 256 bytes of buffer for output midstate, aligned by 32 //input: 140 bytes header, preferably aligned by 8 void Blake2Run2(unsigned char *hashout, void *midstate, uint32_t indexctr)...
C
cpu_xenoncat/Linux/blake2b/example_avx1.c
mposch/nheqminer
mit
2,066
52
codeparrot/github-code
0a6d46b9ac3afb0c065601a95d23063b79a899bad4e725bc72234a34baab81ad
var sizeOf = require('image-size'), Promise = require('bluebird'), _ = require('lodash'), path = require('path'), config = require('../../config'), common = require('../common'), urlUtils = require('../../lib/url-utils'), settingsCache = require('../../services/settings/cache'), storageU...
JavaScript
versions/3.3.0/core/server/lib/image/blog-icon.js
dingotiles/ghost-for-cloudfoundry
mit
4,250
127
codeparrot/github-code
9614d7f09c4966797c2a1b2ab9c210b61de88ad345402e4ffa35f1af7c85f4c3
""" ucript to manually bin alignments against position. The idea is to manually look for mutations that freebayes might miss because of the low probability of the events that we are dealing with. """ import os import sys # Setup Django environment. sys.path.append( os.path.join(os.path.dirname(os.path.realpat...
Python
genome_designer/debug/2014_07_11_dep_mpileup_analysis.py
woodymit/millstone_accidental_source
mit
2,582
76
codeparrot/github-code
2ffdbf32dc2277b067972784392cda76c0dfcba594107ec836fcf42c60f7d774
/* * 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
tomcat_files/8.0.22/PersistentValve.java
plumer/codana
mit
7,922
201
codeparrot/github-code
ff6881cca6452ca728e259db159629684c30d2a3d3fecfb4b0d724dc9ae5ebef
// Converts an ArrayBuffer directly to base64, without any intermediate 'convert to string then // use window.btoa' step. According to my tests, this appears to be a faster approach: // http://jsperf.com/encoding-xhr-image-data/5 function base64ArrayBuffer(arrayBuffer) { var base64 = '' var encodings = 'ABCDEFG...
JavaScript
lib/base64ArrayBuffer.js
scottcheng/renren-album-downloader
mit
1,954
56
codeparrot/github-code
01d8c9110582d1dea80de616697e630fadde454f84be12bc2c5fdbd790cab992
import { Coordinate } from '../coordinate'; import { EventsKey } from '../events'; import { Condition } from '../events/condition'; import BaseEvent from '../events/Event'; import Polygon from '../geom/Polygon'; import MapBrowserEvent from '../MapBrowserEvent'; import { ObjectEvent } from '../Object'; import { Pixel } ...
TypeScript
types/ol/interaction/DragBox.d.ts
georgemarshall/DefinitelyTyped
mit
4,089
87
codeparrot/github-code
f2eaf22a42757253f942472d059c28461ad49f443773c17eaedea81f3c8eb378
from string import ascii_lowercase from time import time import random class Cipher(object): def __init__(self, key=None): if not key: random.seed(time()) key = ''.join(random.choice(ascii_lowercase) for i in range(100)) elif not key.isalpha() or not key.islower(): ...
Python
exercises/simple-cipher/example.py
mweb/python
mit
935
32
codeparrot/github-code
81c18305eec91fa3cecab9dffa33f1f5afff09a33efb0c40bb0b1b6fc8b3309f
var nodeunit = require('nodeunit'); var micropipe = require('../micro-pipe'); module.exports = nodeunit.testCase({ 'args': function(t) { var cnt = 0; micropipe(function(next) { cnt++, next() }, function(next) { cnt++, next() }, function(next) { t.equal(cnt, 2), t.done() }); },...
JavaScript
test/basic.js
ystskm/doping-js
mit
849
40
codeparrot/github-code
a5448fb8ebeae3ec4d5e65ada99b4c600e72bbec570e665689267e149cffe0d7
// Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "signverifymessagedialog.h" #include "ui_signverifymessagedialog.h" #include "addressbookpage.h" #include "base58.h"...
C++
src/qt/signverifymessagedialog.cpp
novaexchange/EAC
mit
8,990
279
codeparrot/github-code
ce3cb7b53cec89ff02a684d6692627318d9565e4bb03dd03ed3f14b5728fadcf
// // __ __ ____ _ _ // \ \/ / /\_/\ /___ \ _ _ (_) ___ | | __ // \ / \_ _/ // / / | | | | | | / __| | |/ / // / \ / \ / \_/ / | |_| | | | | (__ | < // /_/\_\ \_/ \___,_\ \__,_| |_| \___| |_|\_\ // // Copyright (C) Heaven. // // https://github.com/uxyheave...
C
XYQuick/core/extension/NSObject+XY.h
HelloZhu/XYQuick
mit
6,077
140
codeparrot/github-code
83cc3c4f45eb08e39fd31758eb68a675733e2cec0bf89f83d3097e7a25681e30
<?php /* * This file is part of the symfony package. * (c) Fabien Potencier <fabien.potencier@symfony-project.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * sfYamlInline implements a YAML parser/dumper for the YAML in...
PHP
yaml/sfYamlInline.class.php
evaisse/php-raml-generator
mit
11,515
442
codeparrot/github-code
917f74bda9df153da0c6f9ceed6a12593f5b0bd6084e1b768c56088a726153c2
import Ember from 'ember'; export const declaredStrongAttrsKey = 'declaredStrongAttrs'; export function declareAttr(target, attrName, attrType, isRequired) { ensureDeclaredStrongAttrs(target); target[declaredStrongAttrsKey].push({ name: attrName, type: attrType, required: isRequired }); } export f...
JavaScript
addon/core.js
kategengler/ember-strong-attrs
mit
2,053
77
codeparrot/github-code
2c2bc2719edd405a0dfcf8d88ed731a85b4569da558b5e66994e5b892337fc41
<?php /** * File * * @package Kirby CMS * @author Bastian Allgeier <bastian@getkirby.com> * @link http://getkirby.com * @copyright Bastian Allgeier * @license http://getkirby.com/license */ abstract class FileAbstract extends Media { public $kirby; public $site; public $page; public $files...
PHP
www.luigibifulco.it/blog/kirby.2.0.0/core/file.php
muten84/luigibifulco.it
cc0-1.0
4,197
217
codeparrot/github-code
c0c84bae3939c9fca90dafa2e519cd75c654e9f818c3595de009e9c1b7d75474
/** * Created by mgungoren on 25.6.2016. */ /* sample variables var variables=[{ broadcastFunction = "detailedVerse" data: data } ] */ angular.module('ionicApp').factory("navigationManager", function ($rootScope, $timeout) { var factory = {}; var modalHistory = []; factory.op...
JavaScript
ionic/qurantools/www/assets/js/navigation/navigation_manager.js
qurantools/kurancalis-mobile
cc0-1.0
1,253
51
codeparrot/github-code
7690298f224948a3ef799fc9aeac89486f1d402bdc11ab7dbc32759adc14ce2a
/** * Copyright (c) 2011, 2014 Eurotech and/or its affiliates * * 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 * ...
Java
kura/org.eclipse.kura.api/src/main/java/org/eclipse/kura/net/firewall/FirewallOpenPortConfigIP4.java
prm-svm/kura
epl-1.0
1,138
33
codeparrot/github-code
9fa7585b6add7942fa40c9a3e642f910122de22453cbcff07d9e9470f0ac9c3b
/** * Copyright (c) 2010-2018 by the respective copyright holders. * * 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 */...
Java
addons/binding/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/internal/messages/RFXComUndecodedRFMessage.java
Jamstah/openhab2-addons
epl-1.0
4,897
169
codeparrot/github-code
4964f22bb051cc205050329936f480218bc83b24f1b374f7beaa6ba9084fdf5e
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. * 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 availabl...
Java
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/metadata/validators/PositiveFloatValidator.java
Charling-Huang/birt
epl-1.0
1,554
46
codeparrot/github-code
51b3c4bfcae9c365993e7491b6c7e5557a443d9f13b9982eba67949d5d538328
/* * Copyright (c) 2012-2018 Red Hat, Inc. * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 * * Contributors: * Red Hat, Inc. - initial API a...
Java
infrastructures/docker/docker-client/src/main/java/org/eclipse/che/infrastructure/docker/client/json/network/NewIpamConfig.java
akervern/che
epl-1.0
1,855
80
codeparrot/github-code
a617f68ce71918e1a6ac9d0c6753011323cd1bf4cbeda427ccee3a5bca6cdee7
/******************************************************************************* * Copyright (c) 2017, 2020 Eurotech and/or its affiliates and others * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.o...
Java
kura/test/org.eclipse.kura.core.net.test/src/test/java/org/eclipse/kura/net/dhcp/DhcpServerConfigIP4Test.java
ctron/kura
epl-1.0
6,402
147
codeparrot/github-code
0cf191acd925a598c350b353e1e923250d5834be78af8560bbfd6a88ce8187b2
/* * tvp5150 - Texas Instruments TVP5150A/AM1 video decoder driver * * Copyright (c) 2005,2006 Mauro Carvalho Chehab (mchehab@infradead.org) * This code is placed under the terms of the GNU General Public License v2 */ #include <linux/i2c.h> #include <linux/slab.h> #include <linux/videodev2.h> #include <linux/del...
C
drivers/media/i2c/tvp5150.c
kmalekinasab/wireless-network
gpl-2.0
32,915
1,227
codeparrot/github-code
9b0974c7f866d4dd248370412e46b607a89e51fc89a7e86a3301eeb95160fecd
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1"> <LINK REL="Start" HREF="index.html"> <LINK REL="Contents" HREF="toc.html"> <LINK REL="Prev" HREF="815Usingbackgroundimages...
HTML
po/jpgraph/docs/html/816Usingabackgroundgradient.html
Paty-A/New
gpl-2.0
3,078
70
codeparrot/github-code
0841ada167170adca58eac29bc71e9ea518ff9289c3bab3df4019726ff993550
/*************************************************************************** qgsdxfexportdialog.cpp ---------------------- begin : September 2013 copyright : (C) 2013 by Marco Hugentobler email : marco at sourcepole d...
C++
src/app/qgsdxfexportdialog.cpp
herow/planning_qgis
gpl-2.0
15,637
554
codeparrot/github-code
336a25f7975e96a62d8f08bb31559de85f53da19712e8c2c0ef7e2dd8c438d45
/* * This file is part of the coreboot project. * * Copyright (C) 2015 Advanced Micro Devices, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This ...
C
src/mainboard/amd/bettong/OemCustomize.c
jackun/coreboot
gpl-2.0
4,089
135
codeparrot/github-code
4d48fb370565a5f5cf2398893a5ef38a4ee00ebf090d82c7904d43f1b620eb80
<?php /** * WARNING: API IN FLUX. DO NOT USE DIRECTLY. * * Use the elgg_* versions instead. * * @access private * * @package Elgg.Core * @subpackage Actions * @since 1.9.0 */ class Elgg_ActionsService { /** * Registered actions storage * @var array */ private $actions = array(); /** *...
PHP
engine/classes/Elgg/ActionsService.php
brettp/Elgg
gpl-2.0
9,137
348
codeparrot/github-code
72640ced886bd00b1e547cb158e7c36c5fc5fcd4168bd3f47bf6289352628eb1
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2010 - Maxim Levitsky * * mtd_probe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any l...
C
src/udev/mtd_probe/probe_smartmedia.c
Mic92/systemd
gpl-2.0
2,802
98
codeparrot/github-code
95860acc71ed58bc192a230ffe11ad51145f3b3ee9643991738960ff6e3df8f4
#include "Common/ArmEmitter.h" #include "Core/MIPS/ARM/ArmRegCacheFPU.h" #include "Core/MIPS/ARM/ArmJit.h" #include "Core/MIPS/JitCommon/JitState.h" #include "Core/MIPS/MIPSVFPUUtils.h" #include "ext/disarm.h" #include "UnitTest.h" static bool CheckLast(ArmGen::ARMXEmitter &emit, const char *comp) { u32 instr; memc...
C++
unittest/TestArmEmitter.cpp
xsacha/ppsspp
gpl-2.0
8,496
246
codeparrot/github-code
c3652e770095a3330985dc15f000450a05446d8da6c40887e3f9e75e31824057
/* * Block driver for media (i.e., flash cards) * * Copyright 2002 Hewlett-Packard Company * Copyright 2005-2008 Pierre Ossman * * Use consistent with the GNU GPL is permitted, * provided that this copyright notice is * preserved in its entirety in all copies and derived works. * * HEWLETT-PACKARD COMPANY MAK...
C
drivers/mmc/card/block.c
lvchaqiu/meizu-mx-kernel
gpl-2.0
61,715
2,354
codeparrot/github-code
c37c5cd43766b119e59652ed4a311a3b7c31e4f77b3de30e58a7fbd468936216
/* * Created on 27-Apr-2004 * Created by Paul Gardner * Copyright (C) 2004, 2005, 2006 Aelitis, 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 * ...
Java
vuze/org/gudy/azureus2/pluginsimpl/update/sf/SFPluginDetails.java
AcademicTorrents/AcademicTorrents-Downloader
gpl-2.0
1,796
95
codeparrot/github-code
341779a02883e2260acd348a9e11b7f8d07d72723ef98f18a588c9bfaed50beb
/* exported HtmlImports */ 'use strict'; /** * This file is included when we encounter lazy loaded nodes * in DEBUG mode. */ var HtmlImports = { /** * Populates all custom component nodes * Populates nodes with comments, which are then * parsed by lazy_loader */ populate: function(callback) { va...
JavaScript
www/css/gaia/shared/js/html_imports.js
o-schneider/firedav
gpl-2.0
1,928
63
codeparrot/github-code
e87b9ed94508d21a0d63ef224a6f83464788f504753369cb035b3964ea1d47b8
/* tc-mmix.h -- Header file for tc-mmix.c. Copyright (C) 2001-2020 Free Software Foundation, Inc. Written by Hans-Peter Nilsson (hp@bitrange.com). This file is part of GAS, the GNU Assembler. GAS is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licens...
C
gas/config/tc-mmix.h
mattstock/binutils-bexkat1
gpl-2.0
8,190
234
codeparrot/github-code
17e667871c3892f38d5dfdf72ea1a7b8cbdcf3350f7eb9b95f2b03e0e5d6499f
/* 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) 2005-2008 Jarosław Staniek <staniek@kde.org> This library is free software; you can redistribute it and/or modify it under the terms...
C
libs/koproperty/editors/pixmapedit.h
yxl/emscripten-calligra-mobile
gpl-2.0
2,772
91
codeparrot/github-code
268679b0f517be2ce7b2f6d6a0a2f0b16d84cfe7913ec1416f61f73367a8e493
<?php /** * @copyright Copyright (C) 2008 redCOMPONENT.com. All rights reserved. * @license GNU/GPL, see LICENSE.php * redFORM can be downloaded from www.redcomponent.com * redFORM is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License 2 * as published by ...
PHP
administrator/components/com_redform/tables/values.php
haanhredweb/Redgadgets
gpl-2.0
1,563
52
codeparrot/github-code
a5b5ba983fd81dd8e68c7de45a28b8a503ebf8f5b11f22d7def70b5c26bbef54
/* Print and select stack frames for GDB, the GNU debugger. Copyright (C) 1986-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 Found...
C
gdb/stack.c
habemus-papadum/binutils-gdb
gpl-2.0
80,015
2,717
codeparrot/github-code
130074aeec89222ea27cf55abc116c5f7de8915071e1d8bca2ea59a875df4982
/***************************************************************************** * name: be_interface.c // bk010221 - FIXME - DEAD code elimination * * desc: bot library interface * * $Archive: /MissionPack/code/botlib/be_interface.c $ * $Author: Zaphod $ * $Revision: 16 $ * $Modtime: 5/16/01 2:36p $ * $Date:...
C++
src/botlib/be_interface.cpp
mvdevs/jk2mv
gpl-2.0
29,279
883
codeparrot/github-code
c9959310cfe519b0fabdae0679821c8e8b5b21ab4d1ba5e401fae09766b7b7eb
/* * dns.c -- part of dns.mod * domain lookup glue code for eggdrop * * Written by Fabian Knittel <fknittel@gmx.de> * * $Id: dns.c,v 1.43 2011/08/08 22:37:02 pseudo Exp $ */ /* * Copyright (C) 1999 - 2011 Eggheads Development Team * * This program is free software; you can redistribute it and/or * modify i...
C
src/mod/dns.mod/dns.c
shaggytwodope/nix-e-mon
gpl-2.0
7,755
309
codeparrot/github-code
3f972ba9e5fae62e3cac4cc8ca34d445d78a145261a321f2a95a697c0404aa0b
#!/usr/bin/python -tt __author__ = 'mricon' import logging import os import sys import anyjson import totpcgi import totpcgi.backends import totpcgi.backends.file import totpcgi.utils import datetime import dateutil import dateutil.parser import dateutil.tz from string import Template import syslog #-------------...
Python
contrib/gitolite/command.py
n054/totp-cgi
gpl-2.0
22,349
651
codeparrot/github-code
a68fa7d9c0ccf9e7744d05b5cbb31a5f2da60b1ec22e14f4815066727b35dad2
// -*- mode: cpp; mode: fold -*- // Description /*{{{*/ /* ###################################################################### Global Error Class - Global error mechanism We use a simple STL vector to store each error record. A PendingFlag is kept which indicates when the vector contains a Sever er...
C++
apt-pkg/contrib/error.cc
nrclark/apt
gpl-2.0
7,494
270
codeparrot/github-code
7305b5e9eb15049f14c875c8993391b03828687fd87de627d8caf4b7e33d6ea7
/*- * Finger Sensing Pad PS/2 mouse driver. * * Copyright (C) 2005-2007 Asia Vital Components Co., Ltd. * Copyright (C) 2005-2012 Tai-hwa Liang, Sentelic Corporation. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as publis...
C
drivers/input/mouse/sentelic.c
Unlegacy-Android/android_kernel_omap4_common
gpl-2.0
25,555
1,051
codeparrot/github-code
b3f8435772d19a839af8a5207db1f785adb550b3c917f79a5d0558c9599af22a
package Interface::Wx::StatView; use strict; use base 'Wx::Panel'; use Wx ':everything'; use Wx::Event qw/EVT_BUTTON/; use Utils qw/formatNumber/; use constant { BORDER => 2, }; sub new { my ($class, $parent, $id, $stats) = @_; my $self = $class->SUPER::new ($parent, $id); my ($vsizer, $hsiz...
Perl
src/Interface/Wx/StatView.pm
jmr2704/betakore-alien
gpl-2.0
7,727
212
codeparrot/github-code
c7ae0fb0bd4dfaa38ee9ee14c5e13dfb1a543202855b94b2b630cbc1aaa02ed0
/* * Copyright (c) 2015, Dmitri Tikhonov * * This source code is released for free distribution under the terms of the * GNU General Public License version 2 or (at your option) any later version. * * selectors.h */ #ifndef CTAGS_MAIN_SELECTORS_H #define CTAGS_MAIN_SELECTORS_H #include <stdio.h> const char * ...
C
main/selectors.h
oridb/ctags
gpl-2.0
643
36
codeparrot/github-code
e469f02d386dce75083e9e60f434253a6d1d15ddf78b9b92a49e70374ca610a8
/* * Hisilicon K3 soc camera ISP driver source file * * CopyRight (C) Hisilicon Co., Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at yo...
C
drivers/media/video/hik3/capture/isp/k3_ispv1_tune_ops.c
asyan4ik/hwp6s-kernel
gpl-2.0
77,384
2,610
codeparrot/github-code
9e29538a0b8f7144cde081b71c9af6d840546f01e0d82e60398e9196ab56c68f
/* $Id: xml.c 369517 2012-07-01 17:28:57Z file $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publishe...
C
res/pjproject/pjlib-util/src/pjlib-util/xml.c
fluentstream/asterisk-p2p
gpl-2.0
12,492
521
codeparrot/github-code
c9322de2ad83956629981de6ade926515d237c28e517da21117d1227a9b67797
/* * mx2_fb.c - lcd driver helper for m040 board * * Copyright (C) 2012 Meizu Technology Co.Ltd, Zhuhai, China * * * 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
arch/arm/mach-exynos/mx2_fb.c
meizuosc/m040
gpl-2.0
7,871
330
codeparrot/github-code
732fbd5b7596bfc1270f7a4c5915bf7d59941e79d01d458fc5c85d3003118ba9
/* * QEMU m68k Macintosh VIA device support * * Copyright (c) 2011-2018 Laurent Vivier * Copyright (c) 2018 Mark Cave-Ayland * * Some parts from hw/misc/macio/cuda.c * * Copyright (c) 2004-2007 Fabrice Bellard * Copyright (c) 2007 Jocelyn Mayer * * some parts from linux-2.6.29, arch/m68k/include/asm/mac_via....
C
hw/misc/mac_via.c
dslutz/qemu
gpl-2.0
43,120
1,271
codeparrot/github-code
598262b7aecf6b60fb16f3586d423e2d3fe5a234e54f1248280990aea7730d2c
// // RtfWriter.cs // // Author: // Mike Krüger <mkrueger@xamarin.com> // // Copyright (c) 2012 Xamarin Inc. (http://xamarin.com) // // 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 Softw...
C#
lib/Mono.Texteditor/Mono.TextEditor.Utils/RtfWriter.cs
SamiDidier/NClass
gpl-2.0
5,174
154
codeparrot/github-code
145310c616aaf55af057147c71ed7cab9dd758f05ceddb6360dd31dca09ef2e3
<?php namespace Drupal\webform; use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\Core\Entity\EntityTypeRepositoryInterface; use Drupal\Core\EventSubscriber\AjaxResponseSubscriber; use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\Routing\RouteProviderInt...
PHP
modules/webform/src/WebformRequest.php
rudranil29/practice
gpl-2.0
10,227
344
codeparrot/github-code
0f9f4282d7b6b5e4622d44d222ba772fc0dfe13b9a9b457620fe0484481372a4
/****************************************************************************** °æÈ¨ËùÓÐ (C), 2001-2011, »ªÎª¼¼ÊõÓÐÏÞ¹«Ë¾ ****************************************************************************** ÎÄ ¼þ Ãû : RnicCtx.h °æ ±¾ ºÅ : ³õ¸å ×÷ Õß : ·¶¾§ Éú³ÉÈÕÆÚ : 2011Äê12ÔÂ...
C
drivers/hisi/modem/taf/comm/src/acore/RNIC/Inc/RnicCtx.h
asyan4ik/hwp6s-kernel
gpl-2.0
19,405
456
codeparrot/github-code
a34c952a227b2b6474cf9d26739f4186f939ae88429fcf7eadceae1ade87c897
/* __mips, and related defines, guarantee that certain assembly instructions can be used. Check a few examples. */ /* { dg-do run { target mips*-*-* } } */ extern void abort (void); extern void exit (int); typedef int int32 __attribute__ ((mode (SI))); typedef int int64 __attribute__ ((mode (DI))); int foo (float...
C
gcc/testsuite/gcc.dg/mips-args-3.c
unofficial-opensource-apple/gcc_40
gpl-2.0
914
39
codeparrot/github-code
646711c3a27d56b4655cab2979a2169e34fb1ba49272ef3d66d1c7baf33eb1e7
/* * Copyright (c) 2012, 2014, Oracle and/or its affiliates. * All rights reserved. Use is subject to license terms. * * This file is available and licensed under the following license: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followin...
Java
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/util/PrefixedValue.java
loveyoupeng/rt
gpl-2.0
14,525
401
codeparrot/github-code
7e1bcc905ee5edb48b4812c739c3285fb660b4903b5dcf0e5851769a8f71a421
# Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2001-2007 Donald N. Allingham # Copyright (C) 2008 Gary Burton # Copyright (C) 2011 Tim G L Lyons # Copyright (C) 2017 Alois Poettker # # This program is free software; you can redistribute it and/or modify # it under the terms of the ...
Python
gramps/plugins/view/eventview.py
Nick-Hall/gramps
gpl-2.0
19,458
533
codeparrot/github-code
d2beaa287f31a773120d812c823840b341d6b2869560198176052c2ec0b0a341
<?php /* Plugin Name: Category Posts Widget Plugin URI: https://wordpress.org/plugins/category-posts/ Description: Adds a widget that shows the most recent posts from a single category. Author: Mrinal Kanti Roy Version: 4.0 Author URI: http://profiles.wordpress.org/mkrdip/ */ // Don't call the file directly if ( !defi...
PHP
wp-content/plugins/category-posts/cat-posts.php
DesssTeamPHP/123Consulting
gpl-2.0
10,617
317
codeparrot/github-code
f474f60c3e0258f3356e01f58861a2e36fec6714c076ab00cb44be035df2ba6c
# Copyright (C) 2013-2014 Zentyal S.L. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2, as # published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANT...
Perl
main/samba/src/EBox/Samba/Model/GPOScripts.pm
claudm/zentyal
gpl-2.0
5,741
214
codeparrot/github-code
c2b3e23e82f081a06d878a924447c98bbdf1214b05df140918de2577df4e4585
--マシンナーズ・フォース function c58054262.initial_effect(c) c:EnableReviveLimit() --cannot special summon local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) c:RegisterEffect(e1) --attack cost local e2=Eff...
Lua
c58054262.lua
Lsty/ygopro-scripts
gpl-2.0
2,488
65
codeparrot/github-code
6ba07ed5d671786af1bf3d8740a451ac03d8e3b0b7a10a33fb551559ad292b46
/** * This file is part of Aion-Lightning <aion-lightning.org>. * * Aion-Lightning is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any lat...
Java
AC-Game/data/scripts/system/handlers/quest/kromedes_trial/_28604RecoveringRotan.java
GiGatR00n/Aion-Core-v4.7.5
gpl-2.0
4,114
111
codeparrot/github-code
010a411fa9e6f8c7adcd9f7ac911dc54100d4fad9d0ddb6cd78660d3951085a2
///////////////////////////////////////////////////////////////////////////// // Name: wx/dc.h // Purpose: wxDC class // Author: Vadim Zeitlin // Modified by: // Created: 05/25/99 // RCS-ID: $Id: dc.h 55927 2008-09-28 09:12:16Z VS $ // Copyright: (c) wxWidgets team // Licence: wxWindows l...
C
src/windows/wx/include/wx/dc.h
Ronmi/desmume-debianlized
gpl-2.0
35,091
1,004
codeparrot/github-code
85cf63a907a4993d11f1352a3818fc0bb11476652b4c918d417a1c3ec9fee67f
// ********************************************************************** // // Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ***************************************************...
Java
java/src/Ice/src/main/java/IceInternal/ProxyOutgoingAsyncBase.java
buildhappy/ice
gpl-2.0
10,041
319
codeparrot/github-code
631013489a117a6d211d23a6ef2ebd15fc813971a467c661a2918f82f4400438
/* gEDA - GPL Electronic Design Automation * gschem - gEDA Schematic Capture * Copyright (C) 1998-2010 Ales Hvezda * Copyright (C) 1998-2011 gEDA Contributors (see ChangeLog for details) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License...
C
gschem/src/o_delete.c
eivindkv/geda-gaf
gpl-2.0
2,857
88
codeparrot/github-code
abc790a55f4a799aa8779e230621795755c698983522faf324b1837d84d1b1ca
/*************************************************************************** difftextwindow.cpp - description ------------------- begin : Mon Apr 8 2002 copyright : (C) 2002-2007 by Joachim Eibl email : joachim...
C++
src-QT4/difftextwindow.cpp
NullVoxPopuli/kdiff3
gpl-2.0
66,667
2,145
codeparrot/github-code
a4760ae460589a4bfcf3f98a878b6d9d4db623867cac8e32f5ceeea9a45f2a6b
/* * QLogic qlcnic NIC Driver * Copyright (c) 2009-2013 QLogic Corporation * * See LICENSE.qlcnic for copyright and licensing details. */ #include <linux/types.h> #include <linux/delay.h> #include <linux/pci.h> #include <linux/io.h> #include <linux/netdevice.h> #include <linux/ethtool.h> #include "qlcnic.h" str...
C
drivers/net/qlcnic/qlcnic_ethtool.c
kofemann/linux-redpatch
gpl-2.0
55,258
2,019
codeparrot/github-code
bbcfba93fb0896aa19e76aaad43f39028012d2207611c3e0a2458f506b8b1353
<?php /** * WordPress Comment Administration API. * * @package WordPress * @subpackage Administration */ /** * Determine if a comment exists based on author and date. * * @since 2.0.0 * @uses $wpdb * * @param string $comment_author Author of the comment * @param string $comment_date Date of the comment * ...
PHP
wp-admin/includes/comment.php
git-mirror/wordpress
gpl-2.0
4,570
158
codeparrot/github-code
4b7ac47c83be58a0a62a3e9d5a057776e70803118a7dbdf60fb0de051505b15c
/* chronyd/chronyc - Programs for keeping computer clocks accurate. ********************************************************************** * Copyright (C) Miroslav Lichvar 2015 * * This program is free software; you can redistribute it and/or modify * it under the terms of version 2 of the GNU General Public ...
C
smooth.h
teto/chrony
gpl-2.0
1,502
49
codeparrot/github-code
2251611231e5dae9f2507998401ec79ccc79beb2fc77295eaa3c17ce87a50de4
/* -----------------------------------------------------------------*-C-*- libffi 3.2.1 - Copyright (c) 2011, 2014 Anthony Green - Copyright (c) 1996-2003, 2007, 2008 Red Hat, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated ...
C
modules/media/src/main/native/gstreamer/3rd_party/libffi/include/x86/ffi.h
teamfx/openjfx-8u-dev-rt
gpl-2.0
13,711
488
codeparrot/github-code
23e2f40e8eae7caffab000581177043895308492c3d02cde6b5142a24d0c32b1
/* * Copyright (C) 2008-2011 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 la...
C++
src/server/scripts/Northrend/IcecrownCitadel/boss_festergut.cpp
InkVisible/Jzy-Blizzlike
gpl-2.0
17,977
482
codeparrot/github-code
2c080393d9430941b6ee26009e1810fd0a2f879171ed6887a711da75238659c8
#include <string.h> #include <netinet/ip6.h> #include "dhcp6.h" #include "l2tpns.h" #include "plugin.h" /* fudge up session rx speed if not set */ int plugin_api_version = PLUGIN_API_VERSION; static struct pluginfuncs *f = 0; int plugin_post_auth(struct param_post_auth *data) { if (!data->auth_allowed) retu...
C
setrxspeed.c
divereigh/l2tpns
gpl-2.0
734
42
codeparrot/github-code
e7eca6d45a72eec4af4f375e295d456906d1656269f997ec317c9052243fdac2
/* * HT Editor * ia64dis.cc * * Copyright (C) 1999-2002 Sebastian Biallas (sb@biallas.net) * * 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 i...
C++
asm/ia64dis.cc
tecknicaltom/HT-Editor
gpl-2.0
20,447
642
codeparrot/github-code
e507033bd387e50f06584aeee9380fee71d6e8777985126cb02e0f3a4f58c2a6
/* * Unix SMB/CIFS implementation. * RPC Pipe client / server routines * Copyright (C) Luke Kenneth Casson Leighton 1997-2001. * * 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; e...
C
user/samba/source/libsmb/nterr.c
ipwndev/DSLinux-Mirror
gpl-2.0
44,008
750
codeparrot/github-code
a6be7532ae7bbd55021296635abbe395075575c5f1361f6777ee6b36bd4d5372
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Version from mach-generic modified to support PowerTV port * Portions Copyright (C) 2009 Cisco Systems, Inc. * Copyright (C) 2006 Ralf ...
C
git_home/linux.git/arch/mips/include/asm/mach-powertv/dma-coherence.h
SVoxel/R9000
gpl-2.0
2,560
108
codeparrot/github-code
a4be63649fa85018ba5aab768757be9c0fd1e53984b8271d25bc1221f56b069d
/** * Regexp.java * * Version information : * * Date:Jan 13, 2010 * * Copyright notice : */ package cn.org.tools.utils.regexp; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Set; import java.util.TreeSet; /** * 正则表达式工具类. * @author Terry * @version * @since JD...
Java
base_plugins/heartsome.java.tools.plugin/src/cn/org/tools/utils/regexp/Regexp.java
heartsome/translationstudio8
gpl-2.0
6,329
197
codeparrot/github-code
c028abdcee1e782e9f08bcce9c7abdd145e191ff1d85c9619e74b0841f838558
/* * linux/include/linux/mmc/host.h * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Host driver specific definitions. */ #ifndef LINUX_MMC_HOST_H #define LINUX_MMC_HOST...
C
include/linux/mmc/host.h
iJo09/Hybridmax_Kernel_I9505_Lollipop-1
gpl-2.0
18,242
548
codeparrot/github-code
f4053aa40b60b8995e2b23e852e86fe5ab286987c031c33872be66d8764e3399
<?php /* Copyright (C) NAVER <http://www.navercorp.com> */ /** * @class DisplayHandler * @author NAVER (developers@xpressengine.com) * DisplayHandler is responsible for displaying the execution result. \n * Depending on the request type, it can display either HTML or XML content.\n * Xml content is simple xml ...
PHP
xe/classes/display/DisplayHandler.class.php
yjkim/toolbe
gpl-2.0
12,814
371
codeparrot/github-code
c71d53da876fe2ad59741aaea084a40dc52c72a844904c25e48e02f290a3a1c1
/* * Vulcan Build Manager * Copyright (C) 2005-2012 Chris Eldredge * * 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 vers...
Java
vulcan-core/source/test/java/net/sourceforge/vulcan/core/support/MetricsSelectorTest.java
majianxiong/vulcan
gpl-2.0
2,055
60
codeparrot/github-code
030ef60b2bc29c61ef10be0437ec9bbba26deb51b2093c8ae8f48a5367f2d57a
/* * Copyright (c) 2015, 2018, 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
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.common/src/org/graalvm/compiler/core/common/util/FrequencyEncoder.java
md-5/jdk10
gpl-2.0
4,549
140
codeparrot/github-code
160fe6a7f17a387fee146f38bd0a9e180185a88d39c8b2ba1deaa4687d5511a3
# Copyright (C) 1997-2008, 2011 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the ...
Makefile
iconvdata/Makefile
pexip/os-eglibc
gpl-2.0
17,699
402
codeparrot/github-code