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
d09d4b320e5b34427b5bfd700112ab0ea56fee5c5f9190b46ab96cd2e71805b9
var _ = require('underscore'); var Backbone = require('backbone'); var GRAPHICS = require('../util/constants').GRAPHICS; var VisBase = require('../visuals/visBase').VisBase; var VisEdge = VisBase.extend({ defaults: { tail: null, head: null, animationSpeed: GRAPHICS.defaultAnimationTime, animationEas...
JavaScript
src/js/visuals/visEdge.js
easteregg423/learnGitBranching
mit
4,984
184
codeparrot/github-code
431dbc5b20b87da3802adcb58ecaab753ab633c250c6af1936a7f46731c987a1
/// <reference path="../../src/bobril.d.ts"/> /// <reference path="../../src/bobril.mouse.d.ts"/> module MouseOwnerApp { var button: IBobrilComponent = { init(ctx: any, me: IBobrilNode): void { ctx.backColor = "#f0f0f0"; }, render(ctx: any, me: IBobrilNode): void { m...
TypeScript
examples/mouseowner/app.ts
klesta490/Bobril
mit
1,468
46
codeparrot/github-code
488e2447e150608b31ec8799d6aa7fdfafcca4f4c6edc0bd3e6f2ee00559596f
<?php class FilesController extends Controller { public function upload($id) { $page = $this->page($id); $upload = new Upload($page->root() . DS . '{safeFilename}', array( 'overwrite' => true, 'accept' => function($file) { $callback = kirby()->option('panel.upload.accept'); ...
PHP
panel/app/controllers/api/files.php
aizlewood/2015
mit
3,842
182
codeparrot/github-code
699d6236809ae68906fae9a817e7ffc381f4c2156e861dea7a3ec87dc476a604
--- layout: home --- <div class="home"> <section class="home__main"> {% for event in site.categories.events limit:2 %} <div class="event__desc"> <h2>{{ event.day }}</h2> <h3><a href="{{ event.url }}">{{ event.title }}</a></h3> <p>{{ event.description }}</p> ...
HTML
src/index.html
bowmanmc/daytondv.com
mit
2,777
78
codeparrot/github-code
6b1d3e0ceba005abba2e208cb7bb4c654206f891f6207e66f23c2ffd30b291cc
// Copyright (C) 2006 Tiago de Paula Peixoto <tiago@forked.de> // Copyright (C) 2004,2009 The Trustees of Indiana University. // // Use, modification and distribution is subject to the Boost Software // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) /...
C++
src/deps/boost/libs/graph/src/graphml.cpp
mxrrow/zaicoin
mit
7,850
224
codeparrot/github-code
e479a5f40ed9a74eb1900d7df1d51343c0304ad27fbd07d1696b424c83cac88d
define([ "dojo/_base/declare", "dojo/_base/lang", "dojo/store/Memory", "dojo/query", "dojo/dom-attr", "dijit/_WidgetBase", "dijit/_FocusMixin", "dijit/_TemplatedMixin", "dijit/form/FilteringSelect" ], function(declare, lang, Store, query, domAttr, _WidgetBase, _FocusMixin, _TemplatedMixin, FilteringSelect){ /...
JavaScript
web/js/gridx/support/DropDownPager.js
mbouami/pme
mit
2,919
114
codeparrot/github-code
af60d5443c6bf537bc2bd28244990393cd47796043cf4a1f656a0b1f1a44f986
#!/usr/bin/env python # # __COPYRIGHT__ # # 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, publish, ...
Python
test/QT/empty-env.py
timj/scons
mit
2,252
78
codeparrot/github-code
3c4c228274c34299d53472546496be62754f10b3de4466c11f31ed5d84ded25c
<?php namespace Kendo\UI; class SchedulerMessagesRecurrenceEditorOffsetPositions extends \Kendo\SerializableObject { //>> Properties /** * The text similar to "first" displayed in the scheduler recurrence editor. * @param string $value * @return \Kendo\UI\SchedulerMessagesRecurrenceEditorOffsetPositi...
PHP
wrappers/php/lib/Kendo/UI/SchedulerMessagesRecurrenceEditorOffsetPositions.php
deviffy/laravel-kendo-ui
mit
1,611
57
codeparrot/github-code
401f2fc773a6f5d38c209e1c091abec1cfacad3484302ad44df0ff40396b144d
/* Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. The MySQL Connector/J is licensed under the terms of the GPLv2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors. There are special exceptions to the terms and conditions of the GPLv2 as it is appl...
Java
mysql-connector-java-5.1.37/src/com/mysql/jdbc/LoadBalancedConnection.java
MarAvFe/Footballer
mit
1,420
37
codeparrot/github-code
9f33ad68ef1005777d1ceffc0af690cc977ce76121b48880ee06f9d30e3ac501
/** PeriodLister Class */ function PeriodDeltaChain(params) { this.period_root_id = params.period_root_id; this.date_format = this.set_or_default(params.date_format, ''); this.set_due_date(params.due_date); this.period_class = this.set_or_default(params.period_class, 'period'); } PeriodDeltaChain.prototype.re...
JavaScript
app/assets/javascripts/PeriodDeltaChain/PeriodDeltaChain.js
binuri/Markus
mit
1,839
59
codeparrot/github-code
b6b6430e6d34127918143142b1820cc7f59caf0d8fd5a49b42d7c0d331093f82
// 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. #nullable enable using System.Collections.Generic; using Microsoft.CodeAnalysis.Formatting.Rules; namespace Micro...
C#
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Formatting/Engine/NodeOperations.cs
jmarolf/roslyn
mit
1,734
41
codeparrot/github-code
da4fad122d4a4be0faf00d5d67b78d0b05a1aab84a2c35c313292cd3c02c37a9
using UnityEngine; using System.Collections; using LuaInterface; public class ToLua_UnityEngine_GameObject { public static string SendMessageDefined = @" try { ++LuaException.SendMsgCount; int count = LuaDLL.lua_gettop(L); if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(UnityEngine.Gam...
C#
Assets/ToLua/ToLua/Editor/Extend/ToLua_UnityEngine_GameObject.cs
GarfieldJiang/UGFWithToLua
mit
3,571
97
codeparrot/github-code
450a419206afbd089c19f674a43910c7d343179d5d7c27cbabacd6aa90ebcf4e
/*! @file @author Albert Semenov @date 08/2008 */ #ifndef DEMO_KEEPER_H_ #define DEMO_KEEPER_H_ #include "Base/BaseDemoManager.h" namespace demo { class DemoKeeper : public base::BaseDemoManager { public: DemoKeeper(); virtual void createScene(); virtual void destroyScene(); virtual void setupReso...
C
Demos/Demo_RenderBox/DemoKeeper.h
Anomalous-Software/mygui
mit
552
37
codeparrot/github-code
57dd271777d35cd7e57e8764225c7190c3086f89f9f957a564c6f287a77a4ba8
package canal import ( "bytes" "os" "sync" "time" "github.com/BurntSushi/toml" "github.com/siddontang/go-mysql/mysql" "github.com/siddontang/go/ioutil2" "github.com/siddontang/go/log" ) type masterInfo struct { Addr string `toml:"addr"` Name string `toml:"bin_name"` Position uint32 `toml:"bin_pos"...
GO
Godeps/_workspace/src/github.com/siddontang/go-mysql/canal/master.go
baiyunping333/go-mysql-elasticsearch
mit
1,423
89
codeparrot/github-code
2cc4d8083b7fc81600fe7a472fbaa0c9a5f4a839c5e7d20468e565d6539ef04c
<?php namespace Concrete\Core\Page\Type\Composer\Control\CorePageProperty; use Core; use Concrete\Core\Page\Page; use Concrete\Core\Attribute\FontAwesomeIconFormatter; class DescriptionCorePageProperty extends CorePageProperty { public function __construct() { $this->setCorePagePropertyHandle('descri...
PHP
concrete/src/Page/Type/Composer/Control/CorePageProperty/DescriptionCorePageProperty.php
deek87/concrete5
mit
2,120
71
codeparrot/github-code
3dabe71e79ec19c156c80993233089c3c4386506393c1200f7d4858a7af2e55f
using UnityEngine; using System; using LuaInterface; using SLua; using System.Collections.Generic; public class Lua_UnityEngine_UI_Text : LuaObject { [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static public int constructor(IntPtr l) { return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] ...
C#
Assets/Slua/LuaObject/Lua_UnityEngine_UI_Text.cs
idada/slua
mit
12,978
377
codeparrot/github-code
1feca2ca46949ef221e725fd90a403e4261911b062fffed392b40967581009cf
<?php namespace Modules\Core\Console\Installers\Scripts\UserProviders; use Modules\Core\Console\Installers\SetupScript; class UsherInstaller extends ProviderInstaller implements SetupScript { /** * @var string */ protected $driver = 'Usher'; /** * Check if the user driver is correctly regi...
PHP
Console/Installers/Scripts/UserProviders/UsherInstaller.php
ruscon/Core
mit
3,182
109
codeparrot/github-code
47026095dacc565bc44001b76bfd77e985fcbf5f66e78c168cfe27c8d2535906
const Combinatorics = require('js-combinatorics'); const widths = [null, 20, 60]; const heights = [null, 40, 80]; const horizontalAlignments = [null, 'left', 'right', 'center']; const verticalAlignments = [null, 'bottom', 'top', 'center']; const orients = [null, 'horizontal', 'vertical']; const caps = [null, 10, ...
JavaScript
packages/d3fc-shape/test/data/options.js
chrisprice/d3fc
mit
1,363
55
codeparrot/github-code
89c7e9ab0c700fb6f12c0b9823969735adb15d779edd6ad964532385457821ce
/* Copyright 2005-2014 Intel Corporation. All Rights Reserved. This file is part of Threading Building Blocks. Threading Building Blocks 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 Foundat...
C
libs/tbb/tbb/machine/windows_ia32.h
weshoke/ofxOpenVDB
mit
5,442
153
codeparrot/github-code
eab28fd9532c84eff7552540c7a0fa003ad91ff537f16a17025492dd53abeef0
/******************************************************************************* * Copyright (c) 2000, 2011 IBM Corporation 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, an...
Java
org.eclipse.jdt.ui_3.7.1.r371_v20110824-0800/src/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpProfileVersioner.java
brunyuriy/quick-fix-scout
mit
3,278
94
codeparrot/github-code
20d1cf3084f4cc20c6a0b360bfbd9f3bdcb207f062693de1baaff1e91c22909d
'use strict'; const { Symbol } = primordials; const { kUpdateTimer, onStreamRead, } = require('internal/stream_base_commons'); const { owner_symbol } = require('internal/async_hooks').symbols; const { Readable } = require('stream'); const kHandle = Symbol('kHandle'); class HeapSnapshotStream extends Readable { ...
JavaScript
lts/lib/internal/heap_utils.js
enclose-io/compiler
mit
826
42
codeparrot/github-code
26ff32c0951718bff721186c2c5e5aba9c40d33a5206ba0be2a28c8c4ddff4d5
using System; using System.Collections; using System.IO; namespace Wox.Infrastructure { public class IniParser { private Hashtable keyPairs = new Hashtable(); private String iniFilePath; private struct SectionPair { public String Section; public String ...
C#
Wox.Infrastructure/IniParser.cs
orzFly/Wox
mit
6,978
217
codeparrot/github-code
fd060e7b115f96d47ea270bb0d271ddfb87461347fc73d687315da13ecba6b23
package org.ethereum.core; import org.ethereum.crypto.HashUtil; import org.junit.Assert; import org.junit.Test; import org.spongycastle.util.encoders.Hex; /** * @author Roman Mandeleil * @since 20.11.2014 */ public class BloomTest { @Test /// based on http://bit.ly/1MtXxFg public void test1(){ b...
Java
ethereumj-core/src/test/java/org/ethereum/core/BloomTest.java
gcc2ge/ethereumj
mit
1,992
58
codeparrot/github-code
27fd6de21a0f0d8670cbfb5fce248555bd21484cdfa49887ab8e3563b963c75e
using UnityEngine; using System; using LuaInterface; using SLua; using System.Collections.Generic; public class Lua_UnityEngine_UI_Toggle : LuaObject { [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static public int Rebuild(IntPtr l) { try { UnityEngine.UI.Toggle self=(UnityEngine.UI.Toggle)checkSelf(l)...
C#
luna/Assets/LuaObject/Unity/Lua_UnityEngine_UI_Toggle.cs
LunaFramework/Luna
mit
5,108
192
codeparrot/github-code
c85b50241e4b106b7ac4acc110d046db542954f5cdf515e4642a42a2d4e3ada8
<?php /** * StatusRepository. * * @author Katsuhiro Ogawa <fivestar@nequal.jp> */ class StatusRepository extends DbRepository { public function insert($user_id, $body) { $now = new DateTime(); $sql = " INSERT INTO status(user_id, body, created_at) VALUES(:user_i...
PHP
models/StatusRepository.php
titoro/soccerviewproj
mit
1,853
70
codeparrot/github-code
75a57b18309ba58392c05ba602c52b6e3d3b6207b5ca524171af0fef96906ba2
/* Copyright (C) 2009 Volker Berlin (vberlin@inetsoftware.de) This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, ...
C#
src/Debugger.Core.JDWP/Debugger.Core/JDWP/DebuggerUtils.cs
swi-to-yap/swicli
cc0-1.0
2,325
69
codeparrot/github-code
ab9276272f894f2e0256cb0aa05c72ffaf23a9792ed70408059e6358d8bfe3a1
/** * 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.test/src/test/java/org/openhab/binding/rfxcom/internal/messages/RFXComTemperatureRainMessageTest.java
Mr-Eskildsen/openhab2-addons
epl-1.0
1,633
42
codeparrot/github-code
00bb39a2ec96c9109828f6764a50c45a38004ef84a8d60ec2d47668610fa474b
/* GStreamer * Copyright (C) <2011> Sebastian Dröge <sebastian.droege@collabora.co.uk> * Copyright (C) <2011> Vincent Penquerch <vincent.penquerch@collabora.co.uk> * * 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...
C
gst/playback/gstplaysinkconvertbin.c
jledet/gst-plugins-base
gpl-2.0
20,341
676
codeparrot/github-code
6e1065ddcc39ecbb08c60c6047025dc057a725fca1f66a84fb394895aba6690f
/* Subroutines for insn-output.c for VAX. Copyright (C) 1987, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Li...
C
gcc/config/vax/vax.c
ps3dev/gcc-4.5.2-PS3
gpl-2.0
54,970
2,072
codeparrot/github-code
237004e45aa3dbab83f45b76ee6075059b47a3d153128dda61908bd11b84446e
/* * Copyright (c) 1997, 2016, 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 ...
C++
sources/openjdk8/hotspot/src/share/vm/utilities/debug.cpp
lizhekang/TCJDK
gpl-2.0
22,254
751
codeparrot/github-code
c9724d44af5a90894142113a71971a0d87d99de66b57ffe94eb2ea487cb8a4b0
# -*- coding: utf-8 -*- # ****************************************************************************** # # Copyright (C) 2008-2010 Olivier Tilloy <olivier@tilloy.net> # # This file is part of the pyexiv2 distribution. # # pyexiv2 is free software; you can redistribute it and/or # modify it under the terms of the GNU...
Python
test/rational.py
pridkett/pyexiv2
gpl-2.0
3,750
98
codeparrot/github-code
b1e0bc91f7baa26fc4b3289d0f29d76efb0aab41e7aafe5c961398dccee2061c
/* * Copyright 2011-2015 Samy Al Bahra. * Copyright 2011 David Joseph. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright...
C
third_party/concurrency_kit/ck/regressions/ck_barrier/validate/barrier_mcs.c
olafhering/sysbench
gpl-2.0
3,506
132
codeparrot/github-code
7052148eadb449e9d269f91cb66ec163e546509e827c25df89c1f8bb796acc6a
/* * Copyright (c) 1998-2012 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
Java
modules/resin/src/com/caucho/jsp/java/JspOutput.java
WelcomeHUME/svn-caucho-com-resin
gpl-2.0
5,096
162
codeparrot/github-code
78590b5648741f7b827e557ddac4dbb7b55efc2e56c88a1140c8e44ff8f963dd
/* * Support for HTC Magician PDA phones: * i-mate JAM, O2 Xda mini, Orange SPV M500, Qtek s100, Qtek s110 * and T-Mobile MDA Compact. * * Copyright (c) 2006-2007 Philipp Zabel * * Based on hx4700.c, spitz.c and others. * * This program is free software; you can redistribute it and/or modify * it under the te...
C
arch/arm/mach-pxa/magician.c
jkoelndorfer/android-kernel-msm
gpl-2.0
5,177
219
codeparrot/github-code
faca11cc13c96d2414e8c7aba08a708004d1714d65b3761bc37178385f8af56c
/* * Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 MaNGOS <http://getmangos.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 ver...
C
src/server/game/AI/CoreAI/GuardAI.h
w5860363/wownemesis
gpl-2.0
1,419
54
codeparrot/github-code
9c628d189c2926cc92a142486deed05901075da47a2b46149c87a0455b6adf57
/* * Copyright (C) 2007-2017 Paul Davis <paul@linuxaudiosystems.com> * Copyright (C) 2008-2011 David Robillard <d@drobilla.net> * Copyright (C) 2010 Carl Hetherington <carl@carlh.net> * Copyright (C) 2013-2016 John Emmas <john@creativepost.co.uk> * Copyright (C) 2015-2016 Robin Gareus <robin@gareus.org> * * This...
C++
libs/ardour/resampled_source.cc
Ardour/ardour
gpl-2.0
4,247
154
codeparrot/github-code
697ca0b76dd6d2fbae87162c4278685999480f1547ca59038397a46105dc16c4
/* * lib/bust_spinlocks.c * * Provides a minimal bust_spinlocks for architectures which don't have one of their own. * * bust_spinlocks() clears any spinlocks which would prevent oops, die(), BUG() * and panic() information from reaching the user. */ #include <linux/kernel.h> #include <linux/spinlock.h> #includ...
C
lib/bust_spinlocks.c
poopgiggle/fla-kernel
gpl-2.0
697
35
codeparrot/github-code
1bfb528367c21041ae37d5d8347bfad27a88589991f88b6eb712da56d052e46e
using System; using System.Data.Linq; using System.Data.Linq.Mapping; using System.Data; using System.Collections.Generic; using System.Reflection; using System.Linq; using System.Linq.Expressions; using System.ComponentModel; namespace CmsData.View { [Table(Name="OrganizationsByPerson")] public partial class Organ...
C#
CmsData/Generated/Functions/OrganizationsByPerson.cs
alexserdyuk/bvcms
gpl-2.0
2,523
162
codeparrot/github-code
630ee9a6b9113941875f3a2769f38b8032de3202eeda45cbf9861660f3646750
/* Copyright (C) 2013 Webyog Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distri...
C
include/Verify.h
mlc0202/sqlyog-community
gpl-2.0
980
34
codeparrot/github-code
1363a5de6ca22d94b096e5e2432a462002be18899ec7f86b1eda8f219b5c21c8
/* ----------------------------------------------------------------------------- * input.c * * Copyright (c) 2004, 2005, 2006, Vivek Mohan <vivek@sig9.com> * All rights reserved. See LICENSE * ----------------------------------------------------------------------------- */ #include "extern.h" #include "types.h" #...
C
libudis86/input.c
ineedblood/entmod
gpl-2.0
6,126
214
codeparrot/github-code
fdf00bea90b77cf28005041f02da720f54ea7d7c6b77ecc20c7876ae849164db
/* * Copyright (c) 1998-2012 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
Java
modules/resin/src/com/caucho/db/sql/DoubleNeqExpr.java
mdaniel/svn-caucho-com-resin
gpl-2.0
2,255
93
codeparrot/github-code
862a4cd05fd0d7a52182d5a379b15b1b4f24d5b466cc89361531fb08848a680a
/* em28xx-core.c - driver for Empia EM2800/EM2820/2840 USB video capture devices Copyright (C) 2005 Ludovico Cavedon <cavedon@sssup.it> Markus Rechberger <mrechberger@gmail.com> Mauro Carvalho Chehab <mchehab@infradead.org> Sascha Sommer <saschasommer@freenet.de> This program is free ...
C
drivers/media/video/em28xx/em28xx-core.c
jkoelndorfer/android-kernel-msm
gpl-2.0
22,529
845
codeparrot/github-code
e28d6d88f33994fff2487dc664eaea1735a7e8570bb4593170fb0fa70367d462
<?php namespace Drupal\views_ui; use Drupal\Component\Utility\Html; use Drupal\Component\Utility\Timer; use Drupal\Core\EventSubscriber\AjaxResponseSubscriber; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Link; use Drupal\Core\TempStore\Lock; use Drupal\views\Views; use Drupal\Core\Entity\EntityStorageInt...
PHP
web/core/modules/views_ui/src/ViewUI.php
maskedjellybean/tee-prop
gpl-2.0
41,201
1,419
codeparrot/github-code
8791e8497ef0c4b85491a107e7632d72507f37603be21502ab752298c3d81cff
#!/usr/bin/env python # -*- coding: utf-8 -*- # # || ____ _ __ # +------+ / __ )(_) /_______________ _____ ___ # | 0xBC | / __ / / __/ ___/ ___/ __ `/_ / / _ \ # +------+ / /_/ / / /_/ /__/ / / /_/ / / /_/ __/ # || || /_____/_/\__/\___/_/ \__,_/ /___/\___/ # # Copyright (C) 20...
Python
src/cfclient/utils/input/inputinterfaces/__init__.py
manojngb/Crazyfly_simple_lift
gpl-2.0
3,515
103
codeparrot/github-code
163322f813228b23b5de1a65291df9c33104aa8bf07179d31c3198fb48d7a04a
/* * common.c - C code for kernel entry and exit * Copyright (c) 2015 Andrew Lutomirski * GPL v2 * * Based on asm and ptrace code by many authors. The code here originated * in ptrace.c and signal.c. */ #include <linux/kernel.h> #include <linux/sched.h> #include <linux/mm.h> #include <linux/smp.h> #include <li...
C
arch/x86/entry/common.c
linuxium/ubuntu-xenial
gpl-2.0
13,519
491
codeparrot/github-code
3a4d1d1d9fafb25cc31c75ecca980da04c4433b34a97c19235d32d306b4f5638
<?php namespace Drupal\key\Element; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Render\Element\Select; use Drupal\Core\Url; /** * Provides a select form element that displays available keys. * * Properties: * - #empty_option: The label that will be displayed to denote no selection. * - #empty_value...
PHP
modules/key/src/Element/KeySelect.php
CCI-Studios/ODEN
gpl-2.0
2,274
73
codeparrot/github-code
5f5c4248cfecd5e2ce5484dad7f79efc1c5b8d877622c9807c96db8c9b5c3480
#include "libplatform/impl.h" namespace mp4v2 { namespace platform { namespace io { /////////////////////////////////////////////////////////////////////////////// class StandardFileProvider : public FileProvider { public: StandardFileProvider(); bool open( std::string name, Mode mode ); bool seek( Size...
C++
mp4v2/libplatform/io/File_posix.cpp
opsemanthano/aacgain
gpl-2.0
2,454
110
codeparrot/github-code
5303a382b48cef771a2de38b70cf604a5ee8972693f246f82dda6c65f01f198c
#!/usr/bin/perl # This file is part of Koha. # # Koha 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. # # Koha is distributed in the h...
Perl
tools/cleanborrowers.pl
tomascohen/koha
gpl-2.0
5,818
171
codeparrot/github-code
be80ae5dc1879ed3b27b86af5dc1db5db9d469c2b50c7a323584f2832177ced7
## Domain Registry Interface, .ORG policies ## ## Copyright (c) 2006,2007,2008,2009 Rony Meyer <perl@spot-light.ch>. All rights reserved. ## ## This file is part of Net::DRI ## ## Net::DRI is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## ...
Perl
lib/Net/DRI/DRD/ORG.pm
paullojorgge/Net-DRI-jimmybergman
gpl-2.0
3,000
109
codeparrot/github-code
2a67e3616161243ab834fa9b884b096b92910a5c1fbaa0725f89c6ee9c71ab9f
/* Copyright (C) 1995-2016 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 ...
C
sysdeps/posix/utimes.c
Chilledheart/glibc
gpl-2.0
1,315
43
codeparrot/github-code
5ecda3e403bfad84e3c37a605700d4cf910724af593946590b9f0fb98aa22adb
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2015 Intel Corporation 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 s...
Assembly
lib/isa-l/erasure_code/gf_6vect_dot_prod_avx.asm
marcin-github/sheepdog
gpl-2.0
8,751
316
codeparrot/github-code
51474f5cfcb6c570d3f540d68f9a74fcf2de4993627260a6e9440b0d10b82468
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>GNU GENERAL PUBLIC LICENSE 2.0</title> <meta http-equiv="Content-Type" content="t...
HTML
docs/license.html
betsegaw/bibletime
gpl-2.0
19,710
466
codeparrot/github-code
3efe3d727d6da16b63b45b9ca18940d334c3222f1cc3609d75247d25aaef1914
/* Copyright (c) 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 hope...
C
drivers/media/platform/msm/camera_v2/pproc/cpp/msm_cpp.c
gugu0das/android_kernel_samsung_jactivelteskt
gpl-2.0
67,190
2,306
codeparrot/github-code
6c8d16f8f53ba10e4d59bc5cfbd23cbd3d5cd5efe0866996a1d241f8585605de
<?php /** * s2Member's Tag protection routines *(for current page)*. * * Copyright: © 2009-2011 * {@link http://www.websharks-inc.com/ WebSharks, Inc.} * (coded in the USA) * * Released under the terms of the GNU General Public License. * You should have received a copy of the GNU General Public License, * along with t...
PHP
wp-content/plugins/s2member/includes/classes/ptags.inc.php
vintagemagic/vintagemagic.com
gpl-2.0
4,893
86
codeparrot/github-code
5db9ae873c0b1539eb7e9a4cfa35070d1ad817b8ab1dd983d477e5d60a890a57
<?php /** * Very simple tooltip implementation for admin pages. * * Example usage: * <code> * if (!class_exists('WpmuDev_HelpTooltips')) require_once YOUR_PLUGIN_BASE_DIR . '/lib/external/class_wd_help_tooltips.php'; * $tips = new WpmuDev_HelpTooltips(); * $tips->set_icon_url("URL_TO_YOUR_ICON"); * ech...
PHP
wp-content/plugins/wpmu-dev-facebook/lib/external/class_wd_help_tooltips.php
m-godefroid76/devrestofactory
gpl-2.0
12,505
461
codeparrot/github-code
0e3ebde0c2831f899bf4394eed0c288dc3f02f15d6dfb113fe15c04e257e696d
/* Public domain. * Originally written by Akira Kakuto <kakuto@fuk.kindai.ac.jp> * * WIN32 wrapper program replacing Unix symlinks such as, * e.g., ofm2opl -> omfonts. * * EXEPROG must be defined in the Makefile as, * e.g., -DEXEPROG=\"omfonts.exe\". */ #include <stdio.h> #include <stdlib.h> #include <process....
C
w32_wrapper/callexe.c
simoncozens/dvipdfm-x
gpl-2.0
887
44
codeparrot/github-code
f6f7b40a9656f424cb93a347c80ba7dfd02bc0d0540f1824575ce353b1b267bc
<html lang="en"> <head> <title>Break Commands - Debugging with GDB</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Debugging with GDB"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Breakpoints.htm...
HTML
tools/compilers/arm/sourcery_2010_q1_none_eabi/share/doc/arm-arm-none-eabi/html/gdb/Break-Commands.html
csitarichie/boost_msm_bare_metal
gpl-2.0
5,902
125
codeparrot/github-code
54e335651410cbe214bff1dab9c4c9df89a14359f4c53bccd5eb1a7b3ec4e0f2
/** * ScriptDev2 is an extension for mangos providing enhanced features for * area triggers, creatures, game objects, instances, items, and spells beyond * the default database scripting in mangos. * * Copyright (C) 2006-2013 ScriptDev2 <http://www.scriptdev2.com/> * * This program is free software; you can red...
C++
src/modules/SD2/scripts/kalimdor/teldrassil.cpp
lucasdnd/mangoszero-bots-test
gpl-2.0
3,543
131
codeparrot/github-code
f2bf565ce53d9158f59448a374dc56d1b444f3e39936615b96efabd350847a5e
/* * Copyright (C) 2000, 2001, 2002 Jeff Dike (jdike@karaya.com) * Licensed under the GPL */ #include <stdio.h> #include <unistd.h> #include <signal.h> #include <sched.h> #include <errno.h> #include <stdarg.h> #include <stdlib.h> #include <setjmp.h> #include <sys/time.h> #include <sys/ptrace.h> #include <linux/ptra...
C
linux-2.6.x/arch/um/os-Linux/tt.c
ipwndev/DSLinux-Mirror
gpl-2.0
2,744
128
codeparrot/github-code
3f8109ba8faeb47df2baf594177756b5307c06aa392a0ecd0e8bf6df85ca2f82
/*********************************************************************** GLEXTTextureCubeMap - OpenGL extension class for the GL_EXT_texture_cube_map extension. Copyright (c) 2007 Oliver Kreylos This file is part of the OpenGL Support Library (GLSupport). The OpenGL Support Library is free software; you can redistrib...
C
GL/Extensions/GLEXTTextureCubeMap.h
olearypatrick/Vrui-2.4-003
gpl-2.0
2,840
81
codeparrot/github-code
18574319431064e0173cdf48a083fe130c9826a267f9597d9780a77a2ffd25c2
/* * This file is part of the coreboot project. * * Copyright (C) 2015-2016 Patrick Rudolph * Copyright (C) 2015 Timothy Pearson <tpearson@raptorengineeringinc.com>, Raptor Engineering * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ...
C
src/drivers/lenovo/hybrid_graphics.c
librecore-org/librecore
gpl-2.0
4,138
126
codeparrot/github-code
4e5469111290e8c541a36ed6f939cdbf20ddb0a0748a9dc01e91408b24786d97
/* * Copyright (C) 2009 Vassilis Varveropoulos * Copyright (C) 2010 The Paparazzi Team * * This file is part of paparazzi. * * paparazzi is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2...
C
sw/airborne/modules/sensors/baro_ets.c
Fab7c4/paparazzi
gpl-2.0
5,913
204
codeparrot/github-code
05aefbb69807180ab1f1aa7bd2dcf182fe65f99eafa91155b8816ea1d8725273
/* * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. * * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning <charles@aleph1.co.uk> * * This program is free software; you can redistribute it and/or modify * it unde...
C
software/lpcware_lpc408x/Examples/EMC/Emc_Yaffs/yaffs2/direct/basic-test/yaffs_fileem.c
52osworld/RealBoard4088
gpl-2.0
3,661
218
codeparrot/github-code
d713927998af9e917273e095a6a164338c96b1673351aa4788b0570391a4ae7f
<?php /** * Accepts file uploads from swfupload or other asynchronous upload methods. * * @package WordPress * @subpackage Administration */ define('WP_ADMIN', true); if ( defined('ABSPATH') ) require_once(ABSPATH . 'wp-load.php'); else require_once('../wp-load.php'); // Flash often fails to se...
PHP
wp-admin/async-upload.php
yodanielo/madara
gpl-2.0
2,344
64
codeparrot/github-code
7ec5dbf3bd527fbaf8432a02ded7c6dd405975202a3980cc005271ff51a36243
// Copyright 2014 Dolphin Emulator Project // Licensed under GPLv2 // Refer to the license.txt file included. #include "Common/Arm64Emitter.h" #include "Common/Common.h" #include "Core/Core.h" #include "Core/CoreTiming.h" #include "Core/PowerPC/PowerPC.h" #include "Core/PowerPC/PPCTables.h" #include "Core/PowerPC/Jit...
C++
Source/Core/Core/PowerPC/JitArm64/JitArm64_Integer.cpp
dragonbane0/dolphin
gpl-2.0
15,006
722
codeparrot/github-code
c773f1235caa604f8d77c4f33d3ee2dc685442fd1c7ec13e07dffa8e99f39eba
/* * deref.c * compile command: gcc -g -o deref deref.c * execute command: deref filename.texi > newfile.texi * To: bob@gnu.ai.mit.edu * Subject: another tool * Date: 18 Dec 91 16:03:13 EST (Wed) * From: gatech!skeeve!arnold@eddie.mit.edu (Arnold D. Robbins) * * Here is deref.c. It turns texinfo cross ...
C
texinfo/util/deref.c
aosm/gcc_legacy
gpl-2.0
4,591
239
codeparrot/github-code
e6e115396ca7091c6dfad67d2a7f6fe3b5051dee172f47b0921f579fc426ba14
/*********************************************************************** Label - Class for (text) labels. Copyright (c) 2001-2010 Oliver Kreylos This file is part of the GLMotif Widget Library (GLMotif). The GLMotif Widget Library is free software; you can redistribute it and/or modify it under the terms of the GNU G...
C
src/Vrui-3.1-002/GLMotif/Label.h
museolab/augmented_sandbox
gpl-2.0
3,360
86
codeparrot/github-code
9ac5b459a481be6cf55cf413bf5712bb798f04ae66d7a332001df17606a0c731
/* * Copyright (C) 2010-2011 Carl Hetherington <carl@carlh.net> * Copyright (C) 2010-2017 Paul Davis <paul@linuxaudiosystems.com> * Copyright (C) 2011-2014 David Robillard <d@drobilla.net> * Copyright (C) 2013-2019 Robin Gareus <robin@gareus.org> * Copyright (C) 2014 Ben Loftis <ben@harrisonconsoles.com> * * Thi...
C
libs/ardour/ardour/monitor_processor.h
Ardour/ardour
gpl-2.0
6,878
238
codeparrot/github-code
aeea4b6f305ee315d9e9a894f947a978bc183a137c0a9353395823bd30386727
/* arch/arm/mach-msm/pm2.c * * MSM Power Management Routines * * Copyright (C) 2007 Google, Inc. * Copyright (c) 2008-2010, Code Aurora Forum. All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * ma...
C
arch/arm/mach-msm/pm2.c
GKMADE/P2
gpl-2.0
61,923
2,229
codeparrot/github-code
d8b60ecb2f2a882f900f5f1b7bd9b49ebd711687eecd44610d47d6549213d502
// SPDX-License-Identifier: GPL-2.0-or-later /* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2010 GSyC/LibreSoft, Universidad Rey Juan Carlos. * */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #include <stdbool.h> #include "lib/sdp.h" #include "lib/sdp_lib.h" #include "lib/uuid.h" #in...
C
profiles/health/hdp_manager.c
cktakahasi/bluez
gpl-2.0
1,891
95
codeparrot/github-code
855346911940ed62580480a89abfbbec98253569acc22b582bad114307f731e9
#include <ctype.h> #include "driver.h" #include "sound/samples.h" #include "info.h" #include "datafile.h" /* Output format indentation */ /* Indentation */ #define INDENT "\t" /* Possible output format */ #define OUTPUT_FORMAT_UNFORMATTED 0 #define OUTPUT_FORMAT_ONE_LEVEL 1 #define OUTPUT_FORMAT_TWO_...
C++
stevem/mame4all/src/info.cpp
skeezix/compo4all
gpl-2.0
18,177
673
codeparrot/github-code
556d0d3ef185e102f6390be2fb6a7c6cae4c2337e2b2ef51dd8084dc4cf2b949
/* * Copyright (C) 2017-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 "cores/VideoPlayer/Process/VideoBuffer.h" extern "C" { #include <libavutil/frame.h> #include <libavutil/...
C
xbmc/cores/VideoPlayer/Process/gbm/VideoBufferDRMPRIME.h
anthonyryan1/xbmc
gpl-2.0
2,287
109
codeparrot/github-code
f0f99ae1bbe09219eb40cd322629a710d19878281c315fc76d8449afb30e60ca
/* * Copyright (C) 2004, 2005, 2007, 2009 Apple Inc. All rights reserved. * (C) 2005 Rob Buis <buis@kde.org> * (C) 2006 Alexander Kellett <lypanov@kde.org> * Copyright (C) Research In Motion Limited 2010. All rights reserved. * * Redistribution and use in source and binary forms, with or witho...
C++
modules/web/src/main/native/Source/WebCore/rendering/svg/SVGRenderTreeAsText.cpp
maiklos-mirrors/jfx78
gpl-2.0
27,726
694
codeparrot/github-code
706850cc721183e07c8310205f92c1f04431c1be27e7f1a56d981bdfa473005e
#include "dnsdist.hh" #include "lock.hh" unsigned int Rings::numDistinctRequestors() { std::set<ComboAddress, ComboAddress::addressOnlyLessThan> s; WriteLock wl(&queryLock); for(const auto& q : queryRing) s.insert(q.requestor); return s.size(); } vector<pair<unsigned int,ComboAddress> > Rings::getTopBandw...
C++
pdns/dnsdist-rings.cc
nlyan/pdns
gpl-2.0
1,088
40
codeparrot/github-code
5d1eef937b4bf1638c597d24150e25bcb964635fab0eb9a82fc4fa10ffd28dea
/* -*- c++ -*- ---------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
C
src/KIM/pair_kim.h
ganzenmg/lammps_current
gpl-2.0
7,036
216
codeparrot/github-code
e1b0d8f47766eb40f9037033dc7775c1e1543ad6d34f86ee17c8d192a06a486c
<html lang="en"> <head> <title>Type Traits - Using the GNU Compiler Collection (GCC)</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Using the GNU Compiler Collection (GCC)"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top...
HTML
tools/compilers/arm/sourcery_2010_q1_none_eabi/share/doc/arm-arm-none-eabi/html/gcc/Type-Traits.html
csitarichie/boost_msm_bare_metal
gpl-2.0
8,871
160
codeparrot/github-code
ac1e74a96a86fc911bec704c83d877b50695de8e133abce2a1d06d58ded5d94e
/* Functions specific to running gdb native on IA-64 running GNU/Linux. Copyright (C) 1999-2017 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...
C
gdb/ia64-linux-nat.c
totalspectrum/binutils-propeller
gpl-2.0
24,649
935
codeparrot/github-code
cf48440c5c5372980b8a2b0fe68e6b655a39ee2961f018659c7649a4daf40dc1
<style type="text/css"> <?php if ($css_profile_card_bg) { print ".um-$form_id .um-member { background: $css_profile_card_bg; }"; } if ( isset( $css_card_thickness ) ) { print ".um-$form_id .um-member { border-width: $css_card_thickness; }"; } if ($css_profile_card_text) { print ".um-$form_id .um-member-card *...
PHP
wp-content/plugins/ultimate-member/assets/dynamic_css/dynamic_directory.php
frammawiliansyah/web
gpl-2.0
600
45
codeparrot/github-code
7daa22a7460bd468d09430cc0d472689f5f0ae65edae89341719453d5d02c0cb
/* arch/arm/mach-msm/rpc_server_handset.c * * Copyright (c) 2008-2010, 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...
C
arch/arm/mach-msm_origi/rpc_server_handset.c
wwenigma/cocktail-kernel-msm7x30
gpl-2.0
22,095
823
codeparrot/github-code
9729c3932b8a2c4b7a3cd75c1e36dabd0c6282cf22d7ce0b0a59a5f70f4576c1
namespace APITest { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
C#
tags/ServerPlugin/APIEdit/APITest/Form1.Designer.cs
svn2github/autowikibrowser
gpl-2.0
15,213
338
codeparrot/github-code
8016093564152376011501273c60ee91bf6b566508bfb82fc2af553539e8c8d9
#include <linux/platform_device.h> #include <linux/spi/spi.h> #include <linux/spi/spi_gpio.h> #include <linux/gpio.h> #include <linux/gpio_keys.h> #include <linux/gpio_event.h> #include <plat/devs.h> #include <plat/gpio-cfg.h> #include <linux/i2c.h> #include <linux/i2c-gpio.h> #include <linux/input.h> #include <plat/ud...
C
arch/arm/mach-exynos/sec-switch_max77693.c
civato/SphereEngine-Note8.0
gpl-2.0
18,827
764
codeparrot/github-code
fea77da1a631d18fc6673a8f48dba17b5885139837c5002aa0c7253da06c0f55
/* * Copyright (c) International Business Machines Corp., 2000-2003 * Portions Copyright (c) Christoph Hellwig, 2001-2002 * * 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; eithe...
C
fs/jfs/jfs_logmgr.c
rohankataria/linuxScheduler
gpl-2.0
57,267
2,391
codeparrot/github-code
c695600cb711d3eea476fac9220ab64a0ada150ca6dac4d71a2cac7e01f1570b
/* * Two Levels Segregate Fit memory allocator (TLSF) * Version 2.3.2 * * Written by Miguel Masmano Tello <mimastel@doctor.upv.es> * * Thanks to Ismael Ripoll for his suggestions and reviews * * Copyright (C) 2007, 2006, 2005, 2004 * * This code is released using a dual license strategy: GPL/LGPL * You can c...
C
xen/common/xmalloc_tlsf.c
abligh/xen4.2-minideb
gpl-2.0
16,685
639
codeparrot/github-code
0a811d7feef1e92bf711683fbb2a245a270c03c2416c74523773304ecf4b6a3f
/* * Copyright 2017 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 contributing ...
C++
TMessagesProj/jni/voip/webrtc/sdk/android/src/jni/pc/video.cc
Telegram-FOSS-Team/Telegram-FOSS
gpl-2.0
1,885
56
codeparrot/github-code
139affc8c9b60b2f45f2fb93e4b31c982aba9a15ac989724b021f627881746d0
/* Copyright (C) 2002 Free Software Foundation. Test -minline-all-stringops memset with various combinations of pointer alignments and lengths to make sure builtin optimizations are correct. PR target/6456. Written by Michael Meissner, March 9, 2002. Target by Roger Sayle, April 25, 2002. */ /* { dg...
C
gcc/testsuite/gcc.dg/i386-memset-1.c
unofficial-opensource-apple/gccfast
gpl-2.0
1,849
101
codeparrot/github-code
37a45f01b678d99991d7f88fded317a3e364b3665a225dc082bdddcab8a0f64f
# -*- coding: utf-8 -*- """ /*************************************************************************** Name : DB Manager Description : Database manager plugin for QGIS Date : May 23, 2011 copyright : (C) 2011 by Giuseppe Sucameli email : brush.tyler@...
Python
python/plugins/db_manager/dlg_sql_window.py
jarped/QGIS
gpl-2.0
12,633
356
codeparrot/github-code
37a6c46ced4c013f2f3a9c90d0d7a4b7d71ca5e58987b8903eb3c2e8e6fd36b8
/*************************************************************************** * Copyright (C) 2010~2010 by CSSlayer * * wengxt@gmail.com * * * * This pr...
C
src/module/chttrans/chttrans.c
yuyichao/fcitx
gpl-2.0
16,247
507
codeparrot/github-code
94e2d181ca2ca9d5a9820335d90ecb53d069a2ac6ba9f942c5e15d776ebdcd65
/* * Asterisk -- An open source telephony toolkit. * * The iLBC code is from The IETF code base and is copyright The Internet Society (2004) * * Copyright (C) 1999 - 2005, Digium, Inc. * * Mark Spencer <markster@digium.com> * * See http://www.asterisk.org for more information about * the Asterisk project. Ple...
C
user/asterisk/codecs/codec_ilbc.c
rhuitl/uClinux
gpl-2.0
6,310
245
codeparrot/github-code
90f332483f1e35965354f4e6e2fe4e1d15a52ed477ce3ea478c6e719729876c2
/* Unix SMB/CIFS implementation. Samba KDB plugin for MIT Kerberos Copyright (c) 2010 Simo Sorce <idra@samba.org>. Copyright (c) 2014 Andreas Schneider <asn@samba.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License...
C
source4/kdc/mit-kdb/kdb_samba_principals.c
urisimchoni/samba
gpl-3.0
8,522
350
codeparrot/github-code
9b3583618492b505225a8460170d93dec0ff1403934ea00e64f5fb065360fcd3
from django.contrib.auth import get_user_model User = get_user_model() from rest_framework import serializers from nodeshot.core.base.serializers import ModelValidationSerializer from nodeshot.community.profiles.serializers import ProfileRelationSerializer from .models import Comment, Vote, Rating, NodeRatingCount ...
Python
nodeshot/community/participation/serializers.py
SCORE42/nodeshot
gpl-3.0
2,237
75
codeparrot/github-code
4ceadd4166f92044aa6ae4ba783108913c8204162e6e3f5438df57bcbd6d763e
/* Copyright (c) 2010, Carl Burch. License information is located in the * com.cburch.logisim.Main source code and at www.cburch.com/logisim/. */ package com.cburch.logisim.tools; import java.awt.Color; import java.awt.Cursor; import java.awt.Graphics; import java.awt.event.KeyEvent; import java.awt.event.MouseEvent...
Java
src/main/java/com/cburch/logisim/tools/AddTool.java
lawrancej/logisim
gpl-3.0
18,224
556
codeparrot/github-code
5ae548c21abb89b1e1766a7a5d04d649197db8d3627cbad709cad9da6645b7cf
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- #include "Copter.h" #if POSHOLD_ENABLED == ENABLED /* * control_poshold.pde - init and run calls for PosHold flight mode * PosHold tries to improve upon regular loiter by mixing the pilot input with the loiter controller */ #define...
C++
ArduCopter/control_poshold.cpp
koustubh-dwivedy/ardupilot
gpl-3.0
38,032
665
codeparrot/github-code
e055fc47666aa92f3590ae65e5d4be9308d158bd2d63235292403e7bcebefa3f
// ========================================================================== // SeqAn - The Library for Sequence Analysis // ========================================================================== // Copyright (c) 2006-2010, Knut Reinert, FU Berlin // All rights reserved. // // Redistribution and us...
C
tophat2/src/SeqAn-1.3/seqan/basic/basic_allocator_chunkpool.h
dnanexus/tophat_cufflinks_rnaseq
gpl-3.0
11,649
336
codeparrot/github-code
6903eec132ab55f9ee22d1a83804c26c702c792ce2240433d0b5d8a23e196571
<!DOCTYPE html > <html lang="de" dir="ltr"> <head> <title>stick/middleware/render - Stick API</title> <link rel="shortcut icon" href="http://ringojs.org/favicon.ico" type="image/x-icon" /> <link rel="icon" href="http://ringojs.org/favicon.ico" type="image/x-icon" /> <link rel="stylesheet" href="../../s...
HTML
src/geonode-client/externals/stick/docs/api/middleware/render/index.html
piensa/worldmap
gpl-3.0
6,769
139
codeparrot/github-code
f2ddb5aeb3bf2ba2a23f5d3fad5792c4b8bf9adebdf232774d98d24756956e46
/* * tracker/SamplePlayer.cpp * * Copyright 2009 Peter Barth * * This file is part of Milkytracker. * * Milkytracker 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 Licen...
C++
src/tracker/SamplePlayer.cpp
dwhinham/MilkyTracker
gpl-3.0
2,413
91
codeparrot/github-code
cadd5808b2542333d1a15c4ae93345050b1561136e88b7fcafe2b707d16ae946
# Copyright: (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # Copyright: (c) 2018, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type from ansible import constants as ...
Python
lib/ansible/cli/adhoc.py
gregdek/ansible
gpl-3.0
7,375
184
codeparrot/github-code
3d6fa1eb7ca8f147ea7dc8c8e89d1ba424d1379a905df0dfa434b4bb9aac98ce
--[[ Copyright 2007-2020 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you 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 later vers...
Lua
mods/d2k/maps/harkonnen-06b/harkonnen06b-AI.lua
atlimit8/OpenRA
gpl-3.0
2,696
51
codeparrot/github-code
3d37fc416e81f96ed90908b80e4eea808e9f4db458b78628d33fc698c14bacf8
using System; using System.ComponentModel; using System.Diagnostics; using ResourceManager.Xliff; namespace TranslationApp { [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] public class TranslationItemWithCategory : INotifyPropertyChanged, ICloneable { public TranslationItemWithCategory(...
C#
TranslationApp/TranslationItemWithCategory.cs
PKRoma/gitextensions
gpl-3.0
2,234
89
codeparrot/github-code
5670e6ee014efcc7abe7f462d003cd7df8dd96132c8dd8847b52ddd2e6114197
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <TITLE> Uses of Class org.apache.poi.poifs.storage.DataInputBlock (POI API Documentation) </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="...
HTML
lib/poi-3.17/docs/apidocs/org/apache/poi/poifs/storage/class-use/DataInputBlock.html
TonyClark/ESL
gpl-3.0
11,745
227
codeparrot/github-code
456ecf7e9dc62f4db49a8df27b7627b144cd88da3e3b2dd2acf45fc950ade58e
/******************************************************************** Copyright (c) 2013-2015 - Mogara This file is part of QSanguosha-Hegemony. This game is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software ...
C
src/ui/chatwidget.h
renyaoxiang/QSanguosha-For-Hegemony
gpl-3.0
2,687
101
codeparrot/github-code