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
4d9e435bc6a9be235ae88e62041ce72ad13809e65ee2c4e5cb129be9f1dc2847
#pragma once /* * Copyright (C) 2005-2013 Team XBMC * http://xbmc.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, or (at your option) * any later ve...
C
xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamStack.h
zidootech/zidoo-kodi-15.2
gpl-2.0
1,573
58
codeparrot/github-code
0a571d5687471eb2d7ad730489a4dd95afa3af8fe4cbabeec10eaf2e8840a8ca
// Copyright (c) 2012- PPSSPP Project. // 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.0 or later versions. // This program is distributed in the hope that it will be useful, // b...
C++
Core/MIPS/MIPSInt.cpp
alienity/ppsspp
gpl-2.0
25,035
1,067
codeparrot/github-code
d2d600e0b45f4f3fa9053cfb18a1891cf3951e196b4c532718b54d57396a5831
/* * Copyright (c) 2000, 2014, 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/share/classes/sun/awt/shell/ShellFolder.java
stain/jdk8u
gpl-2.0
19,695
620
codeparrot/github-code
a2866e36275ef486189876b4ab8bb4faba6085e2056cd6b7a324215d847f63cd
/* * Copyright © 2012-2014 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge...
C
drivers/gpu/drm/i915/intel_runtime_pm.c
HarveyHunt/linux
gpl-2.0
97,185
3,277
codeparrot/github-code
96b9bca35502fb8db0b47f1199ed3630c570202e12c7d648a18ebbe44dda5c64
/*************************************************************************** qgsalgorithmcategorizeusingstyle.cpp --------------------- begin : August 2018 copyright : (C) 2018 by Nyall Dawson email : nyall dot dawson...
C++
src/analysis/processing/qgsalgorithmcategorizeusingstyle.cpp
mhugo/QGIS
gpl-2.0
13,229
285
codeparrot/github-code
af4802eb1f389d386d53fdb18af558c24de07f1c2646c042750a0ff9823a090b
/* ---------------------------------------------------------------------- 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/fix_enforce2d.h
ckloss/LIGGGHTS-PUBLIC
gpl-2.0
1,382
57
codeparrot/github-code
5eb5722d3ff286e182436c86dc83bae6b02a31cfeeb6112893a6f4c1a196869d
/* * linux/arch/arm/mach-omap2/io.c * * OMAP2 I/O mapping code * * Copyright (C) 2005 Nokia Corporation * Copyright (C) 2007-2009 Texas Instruments * * Author: * Juha Yrjola <juha.yrjola@nokia.com> * Syed Khasim <x0khasim@ti.com> * * Added OMAP4 support - Santosh Shilimkar <santosh.shilimkar@ti.com> * * T...
C
arch/arm/mach-omap2/io.c
eva-oss/linux
gpl-2.0
17,442
777
codeparrot/github-code
44320b06c59286e7edef492ad1cfa6f350c57b90e69c38587a16e8682c54d2b1
/* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be usefu...
C++
libraries/AP_ICEngine/AP_ICEngine.cpp
davidfsh/ardupilot
gpl-3.0
9,560
290
codeparrot/github-code
3d006acdd187c8fe4b9433933edc5fafcfa98691f752b5f6eecbb606f833402b
#ifndef OSGDB_ZIPARCHIVE #define OSGDB_ZIPARCHIVE 1 #include <osgDB/ReaderWriter> #include <osgDB/FileUtils> #include <osgDB/Archive> #include <OpenThreads/Mutex> #include "unzip.h" class ZipArchive : public osgDB::Archive { public: ZipArchive(); virtual ~ZipArchive(); virtual const ch...
C
src/osgPlugins/zip/ZipArchive.h
stmh/osg
lgpl-2.1
4,495
103
codeparrot/github-code
93262fae3837c553ea613b08a0ddd8d28b4dcff2927026a8c3d5f3a69d4fa2c4
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis.Text; using Roslyn.Test.Utilities; using Xunit; namespace Microsoft.CodeAnalysis.Editor.CSharp.Un...
C#
src/EditorFeatures/CSharpTest2/Recommendations/SealedKeywordRecommenderTests.cs
pdelvo/roslyn
apache-2.0
10,056
347
codeparrot/github-code
f12ef1d52f4d8379d59069635c4496de2fba99064481a96b9ed2720b5fb10bd1
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution...
C#
Python/Product/PythonTools/PythonTools/Project/DefaultPythonLauncherOptions.cs
jkorell/PTVS
apache-2.0
6,206
159
codeparrot/github-code
9a2e5d8229270220c36a691048a315031c311c1d3be281c296923dcc26444dc0
// SPDX-License-Identifier: BSD-3-Clause /*============================================================================ This C source file is part of the SoftFloat IEEE Floating-Point Arithmetic Package, Release 3a, by John R. Hauser. Copyright 2011, 2012, 2013, 2014 The Regents of the University of California. All ...
C
lib/libutils/isoc/arch/arm/softfloat/source/8086/s_commonNaNToF128M.c
pascal-brand-st-dev/optee_os
bsd-2-clause
2,642
58
codeparrot/github-code
e35ad7d55315067cce80c9038ea7e0516a6e2d301a0a4cdbbda00ec21bcff21b
/* * Copyright (c) 2001-2005 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * not...
C++
src/arch/alpha/tlb.cc
samueldotj/TeeRISC-Simulator
bsd-3-clause
18,286
623
codeparrot/github-code
51c65559076e6f736789861c322f92d588d166896410d07dbd95b35f67575d10
require "tempfile" require "tmpdir" require "vagrant/util/platform" require "unit/support/isolated_environment" shared_context "unit" do before(:each) do # State to store the list of registered plugins that we have to # unregister later. @_plugins = [] # Create a thing to store our temporary files...
Ruby
test/unit/support/shared/base_context.rb
kamazee/vagrant
mit
3,952
146
codeparrot/github-code
e117b25c7638c58756e3ae66ba93b5dba14d1733e7c590175dddf859dfcb9300
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v11.0.0 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c ...
JavaScript
ajax/libs/ag-grid/11.0.0/lib/rendering/cellEditorFactory.js
maruilian11/cdnjs
mit
5,187
106
codeparrot/github-code
062f5637ba7bf58aed8e988aa448f95f66e63e29a05f0f302ecb279f3bb22a29
/* * Copyright (c) 2006, 2007, 2008, 2009 QLogic Corporation. All rights reserved. * Copyright (c) 2005, 2006 PathScale, Inc. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL)...
C
qib_srq.c
01org/qib
gpl-2.0
9,331
375
codeparrot/github-code
2224e948950d1d06e3e63172f7bb3950dc69416902717258f46e0672a40deaea
namespace MissionPlanner.GCSViews { partial class SoftwareConfig { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summa...
C#
MissionPlanner/GCSViews/SoftwareConfig.Designer.cs
gigglesninja/senior-design
gpl-2.0
2,319
61
codeparrot/github-code
06e25242329e1b5d1317ef0f48ff5e1aa5451d20296a10d310843f2a47133b32
/* * helper functions for PCI DMA video4linux capture buffers * * The functions expect the hardware being able to scatter gatter * (i.e. the buffers are not linear in physical memory, but fragmented * into PAGE_SIZE chunks). They also assume the driver does not need * to touch the video data. * * (c) 2007 Maur...
C
drivers/media/video/videobuf-dma-sg.c
janrinze/loox7xxport.loox2624
gpl-2.0
18,116
726
codeparrot/github-code
d167af21b5d114d2ae5d1b52d220f0e703d0cee509a780a6829dcadd81a7f554
/* * Copyright (C) 2012 Glencoe Software, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later versi...
Java
components/blitz/test/ome/services/repo/test/ProcessContainerUnitTest.java
ximenesuk/openmicroscopy
gpl-2.0
2,858
99
codeparrot/github-code
70f7594a487ddb5002e9a9b9c87957c03031058cd0745e742b915888804f5f7f
/******************************************************************************* * * Module Name: rsdump - AML debugger support for resource structures. * ******************************************************************************/ /* * Copyright (C) 2000 - 2018, Intel Corp. * All rights reserved. * * Redis...
C
drivers/acpi/acpica/rsdump.c
HarveyHunt/linux
gpl-2.0
15,728
613
codeparrot/github-code
f8806544532fa011c312cf6fa08a3027513836f93bf325005414e062f653dc5f
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. and/or its licensors. * Without the prior written permission of MediaTek inc. and/or ...
C
mediatek/platform/mt6589/kernel/drivers/masp/asf/core/sec_hdr.c
PaoloW8/kernel_ZOPO
gpl-2.0
9,513
331
codeparrot/github-code
d48f769c00b1d259ae6bb3972ea09cfb922991bc336866d52a43361e1a934002
/* * Copyright (c) 2010-2013 NVIDIA Corporation * With help from the mpc8xxx SPI driver * With more help from omap3_spi SPI driver * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <malloc.h> #include <asm/io.h> #include <asm/gpio.h> #include <asm/arch/clock.h> #include <asm/arch/pinmux.h> #i...
C
u-boot/drivers/spi/tegra20_sflash.c
r2t2sdr/r2t2
gpl-3.0
8,777
342
codeparrot/github-code
ba3dff76133b82434d7e17948477e2bc76a2398ae08c8b446476304e163d9e9b
// Copyright 2012, 2013 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package jujuc import ( "fmt" "io" "io/ioutil" "github.com/juju/cmd" "github.com/juju/errors" "github.com/juju/gnuflag" "github.com/juju/utils/keyvalues" goyaml "gopkg.in/yaml.v2" ) const relationSetDoc = ` "re...
GO
worker/uniter/runner/jujuc/relation-set.go
mjs/juju
agpl-3.0
3,687
151
codeparrot/github-code
a1ad054bc0e8d1cf173912b1a1da4dd649d8617b98ea7132bb01b497935b42d6
<?php /*************************************************************************************/ /* This file is part of the Thelia package. */ /* */ /* Copyright (c) OpenStudio ...
PHP
core/lib/Thelia/Core/Template/Loop/Payment.php
adirkuhn/thelia
lgpl-3.0
2,689
68
codeparrot/github-code
5a0d1fbb22b3fc80025b1d569b05b34be1fae857c35b7bc22479f2d74bec5d66
/* * Copyright 2012-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
spring-boot/src/main/java/org/springframework/boot/cloud/CloudPlatform.java
pvorb/spring-boot
apache-2.0
2,453
101
codeparrot/github-code
dca1ed6c51df7df4a80300413f2b1df8c17dfd7b0d1d4f13ce3100e1a4d18262
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
Rust
src/test/compile-fail/method-ambig-one-trait-unknown-int-type.rs
dinfuehr/rust
apache-2.0
1,449
46
codeparrot/github-code
2a1db3346d479ad5274ad5e66e3f32eebdbd18444df2b45c24e18622d5130b74
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
C++
third_party/libc++/trunk/test/containers/sequences/vector/vector.cons/construct_size_value_alloc.pass.cpp
mxOBS/deb-pkg_trusty_chromium-browser
bsd-3-clause
1,121
40
codeparrot/github-code
1f62153c03b3df1589d1f63e43a929ea0146f3e84042035046ae20c5ba5c0e91
// // Copyright (c) 2002-2013 The ANGLE 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. // // Shader.h: Defines the abstract gl::Shader class and its concrete derived // classes VertexShader and FragmentShader. Implements GL ...
C
src/qt/qtbase/src/3rdparty/angle/src/libGLESv2/Shader.h
you21979/phantomjs
bsd-3-clause
4,410
186
codeparrot/github-code
7bc11e0eef0b218a864fbedf4b1d4278ee714ec28d9fe55769f1abb5036d4b21
// Copyright (c) 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
C++
third_party/swiftshader/third_party/SPIRV-Tools/source/opt/ccp_pass.cpp
endlessm/chromium-browser
bsd-3-clause
12,163
330
codeparrot/github-code
05a6d7bb684590496c74a4fd9f16185507112a2154e55d243ab93732b3ae9c05
//===---------------------------- any.cpp ---------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
C++
third_party/llvm/libcxx/src/any.cpp
endlessm/chromium-browser
bsd-3-clause
933
35
codeparrot/github-code
76e4fa917f5eec905e78c52783e4096671fd1c2d0761455586cec59cdff0a3fd
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Component\Shipping\Calculator; use Sylius\Component\Shipping\Model\ShippingSubjectIn...
PHP
src/Sylius/Component/Shipping/Calculator/FlexibleRateCalculator.php
pilot/sylius-authorize-net-sim
mit
2,305
84
codeparrot/github-code
96d33c4a3f5c21d5951e4a39f4541c9d8846eac4736ed933079e5b8c34024dbf
import {RuleFailure} from 'tslint/lib/lint'; import {AbstractRule} from 'tslint/lib/rules'; import {RuleWalker} from 'tslint/lib/language/walker'; import * as ts from 'typescript'; export class Rule extends AbstractRule { public static FAILURE_STRING = "missing type declaration"; public apply(sourceFile: ts.Sourc...
TypeScript
tools/tslint/requireParameterTypeRule.ts
souldreamer/angular
mit
1,519
41
codeparrot/github-code
89329796b239c59b419eb9d9a49398f45da1696e163b50b8c1bb234cfe3e8518
/* * Calxeda Highbank SoC emulation * * Copyright (c) 2010-2012 Calxeda * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2 or later, as published by the Free Software Foundation. * * This program is distrib...
C
qemu_stm32/hw/arm/highbank.c
hevs-isi/especial-backend
mit
12,248
395
codeparrot/github-code
0e8398253fb44592ec14039e63884a9fef83765f5cfddbf12371fd1a17ee1e31
<?php /* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS B...
PHP
vendor_full/doctrine-mongodb/lib/Doctrine/MongoDB/Event/UpdateEventArgs.php
l3l0/BehatExamples
mit
1,792
59
codeparrot/github-code
157c1175ca7488ad19adc92c90a3b062af5b433f4f316172be9f5c739e587855
//////////////////////////////////////////////////////////////////////////// // // Copyright 2014 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/li...
C
swiftChuge/Pods/Realm/include/RLMRealm.h
renxlWin/gege
mit
24,305
603
codeparrot/github-code
fc7e7b2d550646e46f3752e21e122bd672963238b959f897d3b50401c45ac567
// Type definitions for gulp-uglify // Project: https://github.com/terinjokes/gulp-uglify // Definitions by: Christopher Haws <https://github.com/ChristopherHaws/> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference path="../node/node.d.ts"/> /// <reference path="../uglify-js/uglify-js.d....
TypeScript
gulp-uglify/gulp-uglify.d.ts
amanmahajan7/DefinitelyTyped
mit
1,704
43
codeparrot/github-code
b7e7aa735c689b20caff527ea5e38a46e16ae11b0a3344ae946e92bfe1962edc
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>File Uploading Class : CodeIgniter User Guide...
HTML
user_guide/libraries/file_uploading.html
asgpng/song-database
gpl-2.0
15,994
451
codeparrot/github-code
566ea7f04437c1daf941e3f9f52b60af73715ff33a7adeffc4f558809827a6fe
# # Makefile for the input core drivers. # # Each configuration option enables a list of files. obj-$(CONFIG_KEYBOARD_ADP5520) += adp5520-keys.o obj-$(CONFIG_KEYBOARD_ADP5588) += adp5588-keys.o obj-$(CONFIG_KEYBOARD_ADP5589) += adp5589-keys.o obj-$(CONFIG_KEYBOARD_AMIGA) += amikbd.o obj-$(CONFIG_KEYBOARD_ATARI) ...
Makefile
drivers/input/keyboard/Makefile
GenTarkin/SGH-T769-kernel
gpl-2.0
3,292
75
codeparrot/github-code
dced87bf6628fe66c158a43c76eef22127348ef61b5f1719aa68b1b6c9ea960d
/* @(#)w_pow.c 5.2 93/10/01 */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided t...
C
plugins/glibc-2.13-new/math/w_pow.c
jzeng4/pemu
gpl-2.0
1,692
71
codeparrot/github-code
2a07b1d7128d8612a6036a46d0a1d48e409d9b9a27dd7baece4474dbd3f48690
/* interrupt.h */ #ifndef _LINUX_INTERRUPT_H #define _LINUX_INTERRUPT_H #include <linux/kernel.h> #include <linux/linkage.h> #include <linux/bitops.h> #include <linux/preempt.h> #include <linux/cpumask.h> #include <linux/irqreturn.h> #include <linux/irqnr.h> #include <linux/hardirq.h> #include <linux/irqflags.h> #incl...
C
include/linux/interrupt.h
devmapal/linux
gpl-2.0
21,994
735
codeparrot/github-code
51ce6797fe7b2fc84d76b55958912b339104f15d1613af5c185c963cbd7d51b7
<?php /** * @package Joomla.Administrator * @subpackage com_languages * * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * HTML Languages View class for the...
PHP
administrator/components/com_languages/views/languages/view.html.php
IOC/joomla3
gpl-2.0
3,558
137
codeparrot/github-code
5b3826b365478b47e4549c42d781db4f45b8af835aaac656c687727751e64363
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C++
engines/bladerunner/script/scene/ps14.cpp
alexbevi/scummvm
gpl-2.0
4,356
134
codeparrot/github-code
3df6ea5ea35fd6d31ad3ef55cd2dcc55bdebd4913f4acde8fea33797f8dad834
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include <limits.h> #include <signal.h> #include <stdlib.h> #include <pthread.h> #include <unistd.h> #include "config.h" #ifdef HAVE_DL_ITERATE_PHDR #include ...
C
libgo/runtime/proc.c
xdje42/gcc
gpl-2.0
77,456
3,277
codeparrot/github-code
354193ee6162a5c2a528a4857505d8fdba53ad78473368ae507baef752b4a4e2
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (c) 2016 Red Hat, Inc. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} DOCUME...
Python
lib/ansible/modules/cloud/ovirt/ovirt_host_info.py
Dhivyap/ansible
gpl-3.0
4,875
145
codeparrot/github-code
c3f4c96d559c380916e5870a085f3e94d260cba4a81acdc7c2d0cffe02a5c137
/* Copyright (C) 1996-2014 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
usr/include/x86_64-linux-gnu/sys/vm86.h
ruibarreira/linuxtrail
gpl-3.0
1,198
39
codeparrot/github-code
885bb7e75c3e116f9608d854eb93b0b7894e739f7d0055288d91cb486beeb002
# Text::Aligner - Align text in columns package Text::Aligner; use strict; use warnings; BEGIN { use Exporter (); use vars qw ($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); $VERSION = 0.03; @ISA = qw (Exporter); #Give a hoot don't pollute, do not export more than needed by default...
Perl
rboinc/monitoring/Text/Aligner.pm
justinlynn/boinc-v2
gpl-3.0
13,724
427
codeparrot/github-code
f01e341db7626bd44d79593748c93118b6748e7150a0dae150a40522207b2932
/* Copyright (c) 2001-2009, The HSQL Development Group * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this * list...
Java
src/hsqldb19b3/org/hsqldb_voltpatches/util/FontDialogSwing.java
kumarrus/voltdb
agpl-3.0
12,613
328
codeparrot/github-code
9c1afd90ee3b6ed1df7c8006bde5a7a6dc1ccc032070cd014c243cb03de7f275
/* * 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 ...
Java
flink-runtime/src/test/java/org/apache/flink/runtime/blob/BlobServerGetTest.java
hequn8128/flink
apache-2.0
16,582
474
codeparrot/github-code
f70dc86160468889a4be852579021e1bc64ffc9196df69bd1a8760441ea33dbe
// Copyright 2017 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
Java
src/main/java/com/google/devtools/common/options/processor/ProcessorUtils.java
dslomov/bazel
apache-2.0
4,188
99
codeparrot/github-code
b7e00e73afd655cfb0b8eef35f6ac5a116ad872aaf7b336fa3d1b2b604827fc5
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed...
Java
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/cmd/DisableCaseExecutionCmd.java
nagyistoce/camunda-bpm-platform
apache-2.0
1,601
44
codeparrot/github-code
f79c6ec6f34b91f8fdd321294aec78fc4696161c384976a6d83fb24c78bcc436
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
C#
src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHdInsightJobManagementClient.cs
nemanja88/azure-powershell
apache-2.0
6,424
157
codeparrot/github-code
1b97c0a5116bbec40d8f85f8f3e6368a10f9d274df125bbc35a7186c7c401c88
/** * 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...
Java
hbase-server/src/main/java/org/apache/hadoop/hbase/backup/example/TableHFileArchiveTracker.java
Jackygq1982/hbase_src
apache-2.0
10,228
268
codeparrot/github-code
84626a9bdca45f1e900be5c0969aae29fd2682c6e7eed5cdf1adc953dd58e507
/* * //****************************************************************** * // * // Copyright 2016 Samsung Electronics All Rights Reserved. * // * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= * // * // Licensed under the Apache License, Version 2.0 (the "License"); * // you may not use thi...
Java
external/iotivity/iotivity_1.2-rel/cloud/interface/src/main/java/org/iotivity/cloud/ciserver/resources/proxy/account/AclInvite.java
JunhwanPark/TizenRT
apache-2.0
3,145
90
codeparrot/github-code
fed079062892125f96ddbf4d4e7431836e315dfa9e6b22034c53907fb3011e6e
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
server/src/test/java/org/elasticsearch/index/query/functionscore/FunctionScoreQueryBuilderTests.java
qwerty4030/elasticsearch
apache-2.0
41,999
827
codeparrot/github-code
17d14ceaf34ee59782b1e721c727db6ac04d31445858c4fe320d8352c934a0a0
/* * Copyright (c) 1997, 2012, 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
testing/openjdk2/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/JaxmURI.java
rokn/Count_Words_2015
mit
44,563
1,381
codeparrot/github-code
b122ad83b390fed4909f1bf7600291534fe4d89f2db4be96a597e8e123a24f62
# # -*- coding: utf-8 -*- # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) """ The eos lldp_global fact class It is in this file the configuration is collected from the device for a given resource, parsed, and the facts tree is populated based on th...
Python
lib/ansible/module_utils/network/eos/facts/lldp_global/lldp_global.py
thaim/ansible
mit
2,946
87
codeparrot/github-code
e1626b3c372935509a9141aa71c47507fc02503d00c6837dff0a6f53b28984ce
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MissionPlanner.Utilities { public class Vario { public static int MidTone = 700; static float climbrate = 0; public static bool run = false; public static string Running { ...
C#
MissionPlanner/ExtLibs/Utilities/Vario.cs
gigglesninja/senior-design
gpl-2.0
1,799
72
codeparrot/github-code
6a8ee98091f8fcdf9f32ca297303b8f08b05e9de5fb819c9e3e5c6b186e0f660
/* finite(). PowerPC32 default version. Copyright (C) 2013-2015 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 ...
C
sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c
quan-na/glibc
gpl-2.0
1,147
34
codeparrot/github-code
b7f838c48723908c293e8a665e91f9d035b06a0f270e7d471986eede5d171ab1
/* * Advantech Single Board Computer WDT driver for Linux 2.4.x * * (c) Copyright 2000-2001 Marek Michalkiewicz <marekm@linux.org.pl> * * Based on acquirewdt.c which is based on wdt.c. * Original copyright messages: * * (c) Copyright 1996 Alan Cox <alan@redhat.com>, All Rights Reserved. * http://www.redhat....
C
linux-2.4.x/drivers/char/advantechwdt.c
sensysnetworks/uClinux
gpl-2.0
6,557
308
codeparrot/github-code
c84a2300627c7211c7bcb2011dcd5bc6f3306f8111d358898fe1d72a550123ab
#undef TRACE_SYSTEM #define TRACE_SYSTEM cpufreq_mythx_plug #if !defined(_TRACE_CPUFREQ_MYTHX_PLUG_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_CPUFREQ_MYTHX_PLUG_H #include <linux/tracepoint.h> DECLARE_EVENT_CLASS(set, TP_PROTO(u32 cpu_id, unsigned long targfreq, unsigned long actualfreq), TP_ARGS(cpu_id, tar...
C
include/trace/events/cpufreq_mythx_plug.h
friedrich420/Note-3-AEL-Kernel-SM-N9005_EUR_LL_Opensource_Update2.
gpl-2.0
4,048
128
codeparrot/github-code
184bc527a77a62543e915d8ea298338c434407992849e590261f21f506b6fbaa
/** * \file * * \brief SAM RTC Driver (Count Mode) * * Copyright (C) 2012-2016 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:...
C
bsp/samd21/sam_d2x_asflib/sam0/drivers/rtc/rtc_sam_l_c/rtc_count.c
blueskycoco/rtt
gpl-2.0
25,610
952
codeparrot/github-code
77fbab4e86f732a99029a08f3e31e5baab319cfafd171fca755a49d58937f0be
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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 later version. // // Moodle...
PHP
mod/data/edit.php
appalachianstate/moodle
gpl-3.0
12,289
348
codeparrot/github-code
45158fd6e259491e47a6f7e1c71205cc2f8ae6b05f3154a19363fadec828df85
<?php /* * This file is part of MailSo. * * (c) 2014 Usenko Timur * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace MailSo\Mime; /** * @category MailSo * @package Mime */ class PartCollection extends \MailSo\Base\Coll...
PHP
rainloop/v/0.0.0/app/libraries/MailSo/Mime/PartCollection.php
Elico-Corp/rainloop-webmail
agpl-3.0
1,147
66
codeparrot/github-code
d2fe49cf8a52d612eecaffc213414abe375eda8850e72a41ba5bb47bfcbfea74
//////////////////////////////////////////////////////////////////////////////// //Test case file for checkstyle. //Created: 2001 //////////////////////////////////////////////////////////////////////////////// package com.puppycrawl.tools.checkstyle.checks.javadoc; import java.io.IOException; // Tests for Javadoc tags...
Java
src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/InputTags.java
attatrol/checkstyle
lgpl-2.1
7,211
369
codeparrot/github-code
b4e6eb61d0357a05c99d3903bc6f1388c49b175eef6645aaf6f8b80c811e2995
/* ALSA mixer implementation. * Copyright (C) 2003 Leif Johnson <leif@ambient.2y.net> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at yo...
C
third-party/gstreamer/gst-plugins-base-0.10.29/ext/alsa/gstalsamixerelement.c
cpopescu/whispermedialib
lgpl-3.0
7,158
245
codeparrot/github-code
658c0adc514803c7e1aaea213b05bb08b1886079669255f73bf0546b4fbb8458
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stddef.h> #include <vector> #include "base/macros.h" #include "ui/gfx/geometry/size.h" class SkBitmap; namespace content { // Provides ...
C
third_party/webrtc/include/chromium/src/content/child/image_decoder.h
ssaroha/node-webrtc
bsd-2-clause
1,459
47
codeparrot/github-code
a9aa97a8aca997defbb98ef598045ea47876c0bb0543addbb96c10fa94a83ff2
<?php /* * Copyright (c) Codiad & Andr3as, distributed * as-is and without warranty under the MIT License. See * [root]/license.txt for more. This information must remain intact. */ class Settings { ////////////////////////////////////////////////////////////////// // PROPERTIES //////////////////////...
PHP
sources/components/settings/class.settings.php
mbugeia/codiad_ynh
mit
2,015
59
codeparrot/github-code
3cc98a0faf698990b9eda9c2c5c49fe59220cb46a1bfa84936528399bc1dcc6c
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
C++
src/Providers/UNIXProviders/SSHSettingData/UNIX_SSHSettingData_ZOS.hpp
brunolauze/openpegasus-providers-old
mit
6,746
292
codeparrot/github-code
be8f540762497ba63d98693cde728e14ff96fcca1ba92778f656367ff6e88b0c
/* * Copyright (c) 2004 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * 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 sourc...
C
release/src/router/samba-3.5.8/source4/heimdal/lib/krb5/krb5_ccapi.h
megraf/asuswrt-merlin
gpl-2.0
7,754
240
codeparrot/github-code
3d8c845123bccdc5008c6e85d14f9c48aa9c8dd56775bcf0393f6f22d4fb4493
# -*- coding: utf-8 -*- """ *************************************************************************** TopoColors.py -------------- Date : February 2017 Copyright : (C) 2017 by Nyall Dawson Email : nyall dot dawson at gmail dot com ************************...
Python
python/plugins/processing/algs/qgis/TopoColors.py
SrNetoChan/QGIS
gpl-2.0
12,608
313
codeparrot/github-code
50519e3bdd042dd41919d844c35e0beb4f4f084b04953f5aa79e829cdde588fb
/**************************************************************************** * * The MIT License (MIT) * * Copyright (c) 2014 - 2016 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), *...
C
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_linux.h
nguyenhuuthong/linux-2.6-imx-org
gpl-2.0
11,205
445
codeparrot/github-code
78c6c52d8b556a782277665f79cf72ea0c00fe1f40aa6a913a9eee2bc8b497bc
#ifndef _PERF_HEADER_H #define _PERF_HEADER_H #include "../../../include/linux/perf_counter.h" #include <sys/types.h> #include "types.h" struct perf_header_attr { struct perf_counter_attr attr; int ids, size; u64 *id; off_t id_offset; }; struct perf_header { int frozen; int attrs, size; struct perf_header_att...
C
tools/perf/util/header.h
vickylinuxer/i.mx25-kernel
gpl-2.0
811
38
codeparrot/github-code
7bbc950a232c4fc5f48405f69b47261d817af4d03a588ca82c4ec8deccac9c20
<?php namespace Drupal\rules\Plugin\RulesExpression; use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Drupal\rules\Context\DataProcessorManager; use Drupal\rules\Core\RulesActionManagerInterface; use Drupal\rules\Engine\ActionExpressionInterface; use Drupal\rules\Engine\ExecutionMetadataStateInterface; use...
PHP
web/sites/ballot.fwf.net.nz/modules/custom/rules/src/Plugin/RulesExpression/RulesAction.php
norwegianblue-nz/fwfballot
gpl-2.0
6,170
171
codeparrot/github-code
52827d8eed07307076952f050c0847649ab000ca047df5a2714d937a8e9f95e4
/* * Linux INET6 implementation * FIB front-end. * * Authors: * Pedro Roque <roque@di.fc.ul.pt> * * 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 ...
C
net/ipv6/route.c
willizambrano01/Evolution_victara
gpl-2.0
75,461
3,099
codeparrot/github-code
6785b2cf7f3f2dfdbfc4af99fdebe16e48390f39a448a7b5c052448066d7090e
/* * Copyright (C) 2012-2017 ARM Limited or its affiliates. * * 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 usefu...
C
linux/drivers/staging/ccree/ssi_request_mgr.c
eabatalov/au-linux-kernel-autumn-2017
gpl-3.0
23,167
713
codeparrot/github-code
a336fa51a40e3ff3f051d3682bf4e81364ee3f05bc0d4277ada4f74bc1ec0e10
/*************************************************************************** * Copyright (C) 2009 - 2010 by Simon Qian <SimonQian@SimonQian.com> * * * * This program is free software; you can redistribute it and/or modify * * it unde...
C
src/driver/usb/usbapi.h
lxyppc/vsprog
gpl-3.0
2,471
59
codeparrot/github-code
c3d235e4e609892f1cbf778a7e649468fbb3c681f7da6a410a1a6876deb91c11
/* YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('get-nodejs', function(Y) { /** * NodeJS specific Get module used to load remote resources. It contains the same signature as the default Get module so there is no c...
JavaScript
src/webapp/js/yui/get-nodejs/get-nodejs.js
sergiomt/zesped
agpl-3.0
2,939
98
codeparrot/github-code
3bfad451e7ee8b5bb964cda760997824c0eea539d59cc507f7a85bfdcf2ff806
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
mr/src/main/java/org/elasticsearch/hadoop/rest/Request.java
elastic/elasticsearch-hadoop
apache-2.0
1,101
40
codeparrot/github-code
c9cd66a6f278cd18f41eccc0b16ab94ebea70e3907f5cec145e0c21e1358b92a
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using Syst...
C#
src/Compilers/CSharp/Test/Emit/Attributes/WellKnownAttributesTestBase.cs
OmarTawfik/roslyn
apache-2.0
4,110
101
codeparrot/github-code
ba8918e201b306369a1649eb195c728d701cee993959d9895ad4aa9f5083ce96
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
platform/projectModel-impl/src/com/intellij/openapi/components/impl/stores/DirectoryStorageUtil.java
ivan-fedorov/intellij-community
apache-2.0
3,768
111
codeparrot/github-code
ca7a4cab9e821dc50a176545fc38bdf1afe9ed19d53b532067581be88eac109f
/*============================================================================= Copyright (c) 2005-2007 Dan Marsden Copyright (c) 2005-2007 Joel de Guzman Distributed under 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++
venv/bin/libs/spirit/phoenix/test/algorithm/iteration.cpp
NixaSoftware/CVis
apache-2.0
1,576
58
codeparrot/github-code
34ef2e60622b622946f0e486a152789e9c83aa63e3795e903434633410d3c1f3
/* * Copyright 2009-2011 Freescale Semiconductor, Inc. * * See file CREDITS for list of people who contributed to this * project. * * 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...
C
lichee/u-boot/board/freescale/p1_p2_rdb/p1_p2_rdb.c
indashnet/InDashNet.Open.UN2000
apache-2.0
8,014
312
codeparrot/github-code
5297e45af8756a88e8fcea2bf66807e219c4b0ea026889743656aef172f64030
/*--------------------------------------------------------------------------------------------- * 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/languages/css/test/common/selectorPrinting.test.ts
edumunoz/vscode
mit
4,023
102
codeparrot/github-code
6d245aa8019bd5b31a7182dfdb0dd265f423f4f6814c053c0d805d61242c4c04
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SWAP_H #define _LINUX_SWAP_H #include <linux/spinlock.h> #include <linux/linkage.h> #include <linux/mmzone.h> #include <linux/list.h> #include <linux/memcontrol.h> #include <linux/sched.h> #include <linux/node.h> #include <linux/fs.h> #include <linux/atomic.h> #inc...
C
include/linux/swap.h
penberg/linux
gpl-2.0
22,299
711
codeparrot/github-code
876091f2103c95b20153aa4c6dcaa63e9f7abdd2c8e766865c539c76686fdc93
/* Target based USB-Gadget * * UAS protocol handling, target callbacks, configfs handling, * BBB (USB Mass Storage Class Bulk-Only (BBB) and Transport protocol handling. * * Author: Sebastian Andrzej Siewior <bigeasy at linutronix dot de> * License: GPLv2 as published by FSF. */ #include <linux/kernel.h> #includ...
C
drivers/usb/gadget/legacy/tcm_usb_gadget.c
jonathanfisher/wl18xx
gpl-2.0
58,940
2,434
codeparrot/github-code
433648de61268f00624243ef327bc611bfe32c4ee7cb6ac8144783d4a7177663
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2019 Pengutronix, Michael Tretter <kernel@pengutronix.de> * * Convert NAL units between raw byte sequence payloads (RBSP) and C structs. */ #ifndef __NAL_HEVC_H__ #define __NAL_HEVC_H__ #include <linux/kernel.h> #include <linux/types.h> #include <media/v4l...
C
drivers/media/platform/allegro-dvt/nal-hevc.h
openwrt-es/linux
gpl-2.0
12,037
351
codeparrot/github-code
a6f00ac80cbd88460e57557c5e5c5170e863705ed3e5b91ed509134458e3b876
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/autofill/autofill_dialog_models.h" #include "base/bind.h" #include "base/prefs/pref_service.h" #include "base/strings/str...
C++
external/chromium_org/chrome/browser/ui/autofill/autofill_dialog_models.cc
qtekfun/htcDesire820Kernel
gpl-2.0
5,307
191
codeparrot/github-code
ca63fbf6a8926ac776d82b2b14b4d1600f914132b8958934c0d83c35d0a76994
/* * Copyright (C) 2005-2011 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 version 2 of the License, or * (at your option) any later version. * ...
C++
src/tools/vmap4_extractor/wdtfile.cpp
kingmonstr/TrinityCore-4.3.4
gpl-2.0
3,361
133
codeparrot/github-code
b093cf5a636a4f662a2abe8a65393262eb5d1ca97973a8cc268473ab110b4d32
// Copyright 2011 Google Inc. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the COPYING file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing project authors may // be...
C
Source/ThirdParty/WebP/src/dsp/enc.c
cyberix3d/Cyberix3D
gpl-3.0
23,556
798
codeparrot/github-code
7bc250b1d41cb8e7c512da83145aa38c5d082c70b83cc6e19a63a561fe782fe8
----------------------------------- -- Area: The Eldieme Necropolis (S) (175) -- MOB: Poroggo_Servant ----------------------------------- -- require("scripts/zones/The_Eldieme_Necropolis_[S]/MobIDs"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize...
Lua
scripts/zones/The_Eldieme_Necropolis_[S]/mobs/Poroggo_Servant.lua
Scavenge/darkstar
gpl-3.0
840
43
codeparrot/github-code
46ea2e97feb36e7aa94229bfb6f335bceadc7002c74ab6783005d0f9f7ddbde6
/* Interface from Emacs to terminfo. Copyright (C) 1985-1986, 2001-2015 Free Software Foundation, Inc. This file is part of GNU Emacs. GNU Emacs is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version ...
C
src/terminfo.c
FreeSchoolHackers/emacs
gpl-3.0
1,604
53
codeparrot/github-code
4e57aeb8068e5ed00d570fb371a840228c54a946cd33fa4bcd7fbc988eef4d95
/* This source file is part of KBEngine For the latest info, see http://www.kbengine.org/ Copyright (c) 2008-2016 KBEngine. KBEngine 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 3 of the...
C
kbe/src/lib/pyscript/pyprofile_handler.h
jiangzhuo/kbengine
lgpl-3.0
1,193
42
codeparrot/github-code
7b2bf8d2f1a0e1768c27a8a504bb6d235cea444152ac430749b9a66ac4bafd98
package com.siyeh.igtest.controlflow.duplicate_condition; public class DuplicateCondition { void x(boolean b) { if (<warning descr="Duplicate condition 'b'">b</warning> || <warning descr="Duplicate condition 'b'">b</warning> || <warning descr="Duplicate condition 'b'">b</warning> ) { } else if (<warning de...
Java
plugins/InspectionGadgets/test/com/siyeh/igtest/controlflow/duplicate_condition/DuplicateCondition.java
siosio/intellij-community
apache-2.0
2,593
76
codeparrot/github-code
8356378aee07667d360a68c0e50a8dfb8f4cc8c0b45974c0274864418cb23968
/* * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationsample/specific/StaticAccessor.java
mdeinum/spring-boot
apache-2.0
1,235
50
codeparrot/github-code
c365d182f666763b21f58ddb5a3e68255c518464ca60cbf2b0872defd40aa4cd
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
platform/platform-impl/src/com/intellij/remote/CredentialsType.java
asedunov/intellij-community
apache-2.0
4,922
148
codeparrot/github-code
fd8eab925e2bf833f53ca9bda247c703717f262e17c250af934feaa7427b16cf
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_ADB_BRIDGE_H_ #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_ADB_BRIDGE_H_ #include <string> #include <vector> #i...
C
chrome/browser/devtools/devtools_adb_bridge.h
DirtyUnicorns/android_external_chromium-org
bsd-3-clause
6,196
205
codeparrot/github-code
57c2b4a6a2e8bd70a6cc670eab2f6879b17452be2c75626694263d979075768b
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/upgrade_detector_impl.h" #include <string> #include "base/bind.h" #include "base/build_time.h" #include "base/command_line....
C++
chrome/browser/upgrade_detector_impl.cc
aospx-kitkat/platform_external_chromium_org
bsd-3-clause
17,362
443
codeparrot/github-code
79e24cfc744e87caebdf37a608fc9471533cdc0c42cd7b73bfa8cf067a019c29
(function(module) { var webDB = {}; // Private function to configure the underlying database connection via the html5sql library: function _config(isVerbose) { var msg; if (isVerbose) { html5sql.logInfo = true; html5sql.logErrors = true; html5sql.putSelectResultsInArray = true; ms...
JavaScript
vendors/scripts/webdb.js
Couch-Developers/socialparks
mit
1,507
52
codeparrot/github-code
6256e408c1c877ffb4b6bd26ffdc1a7a2779d53007a643eb05bcd5fff56ec818
/* * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
Java
src/main/java/sun/jvm/hotspot/gc/parallel/PSYoungGen.java
liuxinglanyue/sa-jdi
gpl-2.0
3,155
103
codeparrot/github-code
61ed68463c83257c370eb78e1d17bfae26f80673f03cf12159a0ba1f10900e30
/** * @file * Custom javascript. */ var lingotek = lingotek || {}; lingotek.forms = lingotek.forms || {}; (function ($) { // Page setup for node add/edit forms. lingotek.forms.init = function() { $("#edit-language").change(updateVerticalTabSummary).change(); $('#ltk-enable-from-et').bin...
JavaScript
winkler/profiles/commerce_kickstart/modules/contrib/lingotek/js/lingotek.form.js
LenLamberg/LenEntire_June_5
gpl-2.0
4,415
103
codeparrot/github-code