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
33f3db722750d6f6b131739cf36c68daa0d23a0b6b94c53e8657c8e334dc66aa
/* Copyright (c) 2012 Stanford University * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DI...
C++
third_party/logcabin/RPC/Server.cc
Ghatage/peloton
apache-2.0
2,408
90
codeparrot/github-code
c6b7347914095f2457afbf260da599f05d07f1bcbb19a42350024e22bf6c4e29
#region License /* * Copyright 2002-2010 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 ...
C#
src/Spring/Spring.Messaging.Ems/Messaging/Ems/Jndi/JndiLookupFactoryObject.cs
dreamofei/spring-net
apache-2.0
5,343
160
codeparrot/github-code
94f3f67aea785424dad424a9178ff7fb04aca07063f34552d10d6aa04e9f0c69
package Mojo::URL; use Mojo::Base -base; use overload bool => sub {1}, '""' => sub { shift->to_string }, fallback => 1; use Mojo::Parameters; use Mojo::Path; use Mojo::Util qw(decode encode punycode_decode punycode_encode url_escape url_unescape); has base => sub { Mojo::URL->new }; has [qw(fragment host port schem...
Perl
lib/Mojo/URL.pm
marcusramberg/mojo
artistic-2.0
12,861
534
codeparrot/github-code
679ad3eeca45848814d00b6f1eceff6cfc49b188da8fee35888f7aabdcb671c4
# typed: false # frozen_string_literal: true require "rubocops/bottle" describe RuboCop::Cop::FormulaAudit::BottleTagIndentation do subject(:cop) { described_class.new } it "reports no offenses for `bottle :uneeded`" do expect_no_offenses(<<~RUBY) class Foo < Formula url "https://brew.sh/foo-1....
Ruby
Library/Homebrew/test/rubocops/bottle/bottle_tag_indentation_spec.rb
EricFromCanada/brew
bsd-2-clause
2,538
99
codeparrot/github-code
7e9bd5c86e561cee1e3b3b70c26e0e7f9f84260cd21027de002542a9b596e89c
<?php class Kwc_Shop_Cart_Checkout_Payment_Abstract_OrderTable_Component extends Kwc_Abstract { public static function getSettings() { $ret = parent::getSettings(); $ret['viewCache'] = false; return $ret; } public function getTemplateVars() { $ret = parent::getTempla...
PHP
Kwc/Shop/Cart/Checkout/Payment/Abstract/OrderTable/Component.php
yacon/koala-framework
bsd-2-clause
2,091
59
codeparrot/github-code
78189b4b30ae9e696da8dff8709729972b5d8bab30792c9809e2a948a283447e
// Copyright 2015 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 COMPONENTS_EXO_TOUCH_H_ #define COMPONENTS_EXO_TOUCH_H_ #include "base/containers/flat_map.h" #include "components/exo/surface_observer.h" #inclu...
C
components/exo/touch.h
scheib/chromium
bsd-3-clause
1,955
71
codeparrot/github-code
0e4763bcd43cd495223eed82e1582946189e0c1f720021c55c8ef3f97c6826d5
/* * General DV muxer/demuxer * Copyright (c) 2003 Roman Shaposhnik * * Many thanks to Dan Dennedy <dan@dennedy.org> for providing wealth * of DV technical info. * * Raw DV format * Copyright (c) 2002 Fabrice Bellard * * 50 Mbps (DVCPRO50) support * Copyright (c) 2006 Daniel Maas <dmaas@maasdigital.com> * ...
C
third_party/ffmpeg/libavformat/dvenc.c
leighpauls/k2cro4
bsd-3-clause
16,245
421
codeparrot/github-code
165d3571c8f5cafe995f5a75b0de42a3d4bfabb5ff688b6f1fdf87f2f9696b43
package org.motechproject.mds.builder.impl; import javassist.CannotCompileException; import javassist.ClassPool; import javassist.CtClass; import javassist.CtField; import javassist.NotFoundException; import org.apache.commons.lang.reflect.FieldUtils; import org.joda.time.DateTime; import org.junit.Before; import org....
Java
platform/mds/mds/src/test/java/org/motechproject/mds/builder/impl/EntityMetadataBuilderTest.java
sebbrudzinski/motech
bsd-3-clause
22,796
485
codeparrot/github-code
675d6b0fafcd34817ba64b94f82e66004342778ba561e6a394ba592a45879b5d
/* * Copyright (C) 2006, 2007, 2008 Apple Computer, Inc. All rights reserved. * Copyright (C) 2007 Alp Toker <alp@atoker.com> * * 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...
C
third_party/WebKit/Source/core/html/canvas/CanvasGradient.h
mxOBS/deb-pkg_trusty_chromium-browser
bsd-3-clause
2,668
69
codeparrot/github-code
ca03e259fd414cd9105e7a7199334a1aff765233c69d0c32cfc4f16d0623b71e
/* * This file is a part of the open source stm32plus library. * Copyright (c) 2011,2012,2013,2014 Andy Brown <www.andybrown.me.uk> * Please see website for licensing terms. */ #pragma once namespace stm32plus { namespace usb { /** * Template base class for USB CDC devices. The usual control endpoin...
C
lib/include/usb/f4/device/cdc/CdcDevice.h
punkkeks/stm32plus
bsd-3-clause
7,434
229
codeparrot/github-code
406f8ae24371f9112c129a1e61d6cb83a111c2230f2bd66f2e8cb3ff1ebb646a
/* * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved. * Copyright (C) 2006 Alexey Proskuryakov <ap@nypop.com> * * 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 co...
C
third_party/WebKit/Source/wtf/text/TextCodec.h
sgraham/nope
bsd-3-clause
3,960
106
codeparrot/github-code
8c5cb86740e8dba4224640a7fe477d9c568affca93db1b59bc5c8efde1f4d2ab
# Copyright 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. from telemetry.internal.app import possible_app class PossibleBrowser(possible_app.PossibleApp): """A browser that can be controlled. Call Create() to...
Python
telemetry/telemetry/internal/browser/possible_browser.py
catapult-project/catapult-csm
bsd-3-clause
1,414
55
codeparrot/github-code
7557591094296e4d4dc426300515c80740ab04625b9f572a7eecc4c3acd165f1
// Copyright 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 EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_DISPLAY_INFO_PROVIDER_H_ #define EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_DISPLAY_INFO_PROVIDER_H_ #include <s...
C
extensions/browser/api/system_display/display_info_provider.h
Chilledheart/chromium
bsd-3-clause
2,296
77
codeparrot/github-code
f347ad0aaa193ddc3b6ddc248fce475d55b2b9f23486696aa13e38802c50edd9
#!/usr/bin/env python # Copyright 2015 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. """Implements a standard mechanism for Chrome Infra Python environment setup. This library provides a central location to define Chrom...
Python
infra/scripts/legacy/scripts/common/env.py
hgl888/chromium-crosswalk
bsd-3-clause
12,777
440
codeparrot/github-code
959dc8e1584c7b2861dbdc722104a3a16405af187d397a24e2763ada9533d579
// Copyright 2017 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 "third_party/blink/renderer/modules/presentation/presentation_availability_state.h" #include "third_party/blink/renderer/modules/presentation/pr...
C++
third_party/blink/renderer/modules/presentation/presentation_availability_state.cc
chromium/chromium
bsd-3-clause
9,801
274
codeparrot/github-code
ec9ac9ff15328d7246f3c263b300965477bcce5b497a93b4eb06a2c3b729a2af
// Copyright (c) 2011 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_frame/http_negotiate.h" #include <atlbase.h> #include <atlcom.h> #include <htiframe.h> #include "base/logging.h" #include "base/mem...
C++
chrome_frame/http_negotiate.cc
aYukiSekiguchi/ACCESS-Chromium
bsd-3-clause
8,266
252
codeparrot/github-code
4d592fd29670d04204f1cdf51b02f8087f28a006a76fee18c8806ea5960d4def
/* * Copyright (C) 2013 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
C++
sky/engine/wtf/PartitionAlloc.cpp
mpcomplete/flutter_engine
bsd-3-clause
42,604
985
codeparrot/github-code
08d5d2c98e267885a7faea80261d4224c592e09aab234b7c73ac02827c2ef334
<?php /** * PEAR_Command_Auth (login, logout commands) * * PHP versions 4 and 5 * * @category pear * @package PEAR * @author Stig Bakken <ssb@php.net> * @author Greg Beaver <cellog@php.net> * @copyright 1997-2009 The Authors * @license http://opensource.org/licenses/bsd-license.php New BSD Li...
PHP
pimcore/lib/PEAR/Command/Auth.php
PatidarWeb/pimcore
bsd-3-clause
2,657
81
codeparrot/github-code
ab773120145adac1a5297c316fc201aa7b6df48ed3374bfc247d3755ac731162
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Azure.ServiceBus.Amqp { using System; using System.Collections.Generic; using System.Threading.Tasks; using Azure.Amqp; using A...
C#
src/SDKs/ServiceBus/data-plane/src/Microsoft.Azure.ServiceBus/Amqp/AmqpSubscriptionClient.cs
jamestao/azure-sdk-for-net
mit
8,083
201
codeparrot/github-code
b3efd47f4ad8f0e9aaa8f19c0414118b5886620d487d14e03b1bb7e5eb23f582
-------------------------------------------------------------------------------- -- form.lua, v0.3: generates html for forms -- This file is a part of Sailor project -- Copyright (c) 2014 Etiene Dalcol <dalcol@etiene.net> -- License: MIT -- http://sailorproject.org ------------------------------------------------------...
Lua
src/sailor/form.lua
jeary/sailor
mit
3,256
106
codeparrot/github-code
12e30c0b52c693cb6a81b73d004600451fdb0ad2669ec8743143754ba70dd648
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
C#
Presentations/01. Introduction to UWP/Demos/AdaptiveUI/BlueYonderDemo/MainPage.xaml.cs
tiagocostapt/WinDevWorkshop
mit
1,381
48
codeparrot/github-code
8d950e459cf4db202d81df1f2bb72ad49d77f3814b2b03b7bfb7e54494bf2806
import { css, StyleSheet } from 'aphrodite/no-important'; import React, { PropTypes } from 'react'; import octicons from './octicons'; import colors from './colors'; import sizes from './sizes'; import styles from './styles'; const classes = StyleSheet.create(styles); // FIXME static octicon classes leaning on Eleme...
JavaScript
admin/client/App/elemental/Glyph/index.js
linhanyang/keystone
mit
1,398
63
codeparrot/github-code
20366b7280acf29a7a68a20827c3d9c39d17741ea1a8560376e60470cb8498e2
package org.spongycastle.crypto.test; import org.spongycastle.crypto.Digest; import org.spongycastle.crypto.digests.SHA256Digest; /** * standard vector test for SHA-256 from FIPS Draft 180-2. * * Note, the first two vectors are _not_ from the draft, the last three are. */ public class SHA256DigestTest extends...
Java
core/src/test/java/org/spongycastle/crypto/test/SHA256DigestTest.java
Skywalker-11/spongycastle
mit
1,536
61
codeparrot/github-code
ed880a9323c2405d59facdb9cb01b372652d45e6ec917d5c08b30ebf22a4e173
/* Capstone Disassembly Engine */ /* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2015 */ #ifdef CAPSTONE_HAS_SPARC #include "../../utils.h" #include "../../MCRegisterInfo.h" #include "SparcDisassembler.h" #include "SparcInstPrinter.h" #include "SparcMapping.h" static cs_err init(cs_struct *ud) { MCRegisterInfo *mr...
C
src/native/external/capstone/arch/Sparc/SparcModule.c
v3n/ProDBG
mit
1,133
55
codeparrot/github-code
997d0d837818878294db465b7b98cb9e233d8e90a8299bf8d61bf63e3829387a
// (C) Copyright 1996-2006 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited warr...
C++
2013/utils/brep/samples/brepsamp/brbblock.cpp
kevinzhwl/ObjectARXCore
mit
1,979
66
codeparrot/github-code
5b57e503a9151902941ca0b76d1336b28f9960fa88e4b2209137eb2b0c287858
(function () { 'use strict'; function ContentEditController($rootScope, $scope, $routeParams, $q, $timeout, $window, $location, appState, contentResource, entityResource, navigationService, notificationsService, angularHelper, serverValidationManager, contentEditingHelper, treeService, fileManager, formHelper, umb...
JavaScript
src/Umbraco.Web.UI.Client/src/common/directives/components/content/edit.controller.js
abryukhov/Umbraco-CMS
mit
13,245
399
codeparrot/github-code
e86c67c8e7326c0f3b6d058be37eb2bf992d60098e28bc487ababa0bf207c54b
<?php defined('C5_EXECUTE') or die("Access Denied."); Loader::controller('/profile/edit'); Loader::model('user_private_message'); class ProfileMessagesController extends ProfileEditController { public function __construct() { parent::__construct(); } public function on_start() { parent::on_start(); $this...
PHP
concrete/controllers/profile/messages.php
clejer/concrete_
mit
5,679
186
codeparrot/github-code
3e11654437c972d4c01b943d84250dceeb6856a7fa73e36a3496efc21dec1dbf
#!/usr/bin/python # coding=utf-8 ################################################################################ from test import CollectorTestCase from test import get_collector_config from test import unittest from mock import Mock from mock import patch try: from cStringIO import StringIO StringIO # work...
Python
src/collectors/filestat/test/testfilestat.py
datafiniti/Diamond
mit
1,903
61
codeparrot/github-code
b1fceefe3b1a7062bb26868d0b24c11adbc3d33374b60b07c228d657e4cb2233
var tns = (function (){ // keys if (!Object.keys) { Object.keys = function (object) { var keys = []; for (var name in object) { if (Object.prototype.hasOwnProperty.call(object, name)) { keys.push(name); } } return keys; }; } // ChildNode.r...
JavaScript
ajax/libs/tiny-slider/2.7.3/tiny-slider.js
jonobr1/cdnjs
mit
89,288
3,004
codeparrot/github-code
1334b254a3626d6b4b423781425822090c617bfdc7ce089d59ba2fbdfa9e9818
import chainer from chainer import backend from chainer import utils def sign(x): """Elementwise sign function. For a given input :math:`x`, this function returns :math:`sgn(x)` defined as .. math:: sgn(x) = \\left \\{ \\begin{array}{cc} -1 & {\\rm if~x < 0} \\\\ 0 & {\\rm i...
Python
chainer/functions/math/sign.py
okuta/chainer
mit
893
37
codeparrot/github-code
f9cf45b8d9c4472da3067a27b2a6f52b6201a175c1558d057991112c32bdf254
/* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0) * * Copyright 2008-2016 Freescale Semiconductor Inc. * Copyright 2016,2019 NXP */ #ifndef __RTA_STORE_CMD_H__ #define __RTA_STORE_CMD_H__ extern enum rta_sec_era rta_sec_era; static const uint32_t store_src_table[][2] = { /*1*/ { KEY1SZ, LDST_CLASS_1_CC...
C
drivers/common/dpaax/caamflib/rta/store_cmd.h
john-mcnamara-intel/dpdk
mit
5,412
153
codeparrot/github-code
38bc053b2340e4f9728de517442997b0657bf15739443e19298dbed9f91bf50d
/** * Copyright (c) 2010-2019 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
Java
addons/binding/org.openhab.binding.dsmr/src/main/java/org/openhab/binding/dsmr/internal/device/DSMRSerialAutoDevice.java
afuechsel/openhab2
epl-1.0
9,975
281
codeparrot/github-code
259dc352bd06f4737cb496e31e4902f195ea0af694edbe79b76305275b3e66ec
/** * 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.nikohomecontrol/src/main/java/org/openhab/binding/nikohomecontrol/internal/protocol/NhcMessageBase.java
aogorek/openhab2-addons
epl-1.0
1,148
41
codeparrot/github-code
b262a9d94c7151eba0b9070d7b48e462a7280c330e7203cba4e94effe2eb71a2
/* */ #include <linux/init.h> #include <linux/cache.h> #include <linux/sched.h> #include <lin...
C
arch/alpha/kernel/irq_i8259.c
holyangel/LGE_G3
gpl-2.0
3,962
167
codeparrot/github-code
7684a515359763733ac96dd18d56f03a3ed37374b8bdca6a42c92fa0001d2831
/* * (C) Copyright IBM Deutschland Entwicklung GmbH 2006 * * Author: Maxim Shchetynin <maxim@de.ibm.com> * * Axon DDR2 device driver. * It registers one block device per Axon's DDR2 memory bank found on a system. * Block devices are called axonram?, their major and minor numbers are * available in /proc/devices...
C
arch/powerpc/sysdev/axonram.c
curbthepain/revkernel_us990
gpl-2.0
9,433
366
codeparrot/github-code
cfe6eda17dc91f6deba1af2a666784dde0fa3b52fd2229e7a946129b3e288a6a
/* * Copyright (C) 2012-2013 JadeCore <http://www.pandashan.com/> * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the ...
C++
src/server/scripts/Pandaria/HeartOfFear/boss_unsok.cpp
DeActiveDev/Core
gpl-2.0
1,576
52
codeparrot/github-code
fda1bf4482e91c6939c4bffd8f618cc92334b4809802d53cf13f2e85d3f4ab89
// Copyright 2015 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #include "Core/HW/SI/SI_DeviceKeyboard.h" #include <cstring> #include "Common/ChunkFile.h" #include "Common/CommonTypes.h" #include "Common/Logging/Log.h" #include "Common/Swap.h" #include "Core/HW/GCKeyboa...
C++
Source/Core/Core/HW/SI/SI_DeviceKeyboard.cpp
TwitchPlaysPokemon/dolphinWatch
gpl-2.0
13,504
629
codeparrot/github-code
11d578384b2a9625a1a8e4e1b8122f3fcbb7a63ec04d07c6a1a6ac3e5b002a4d
<?php if (!get_option('users_can_register')) return; add_action('login_enqueue_scripts','sfc_register_enqueue_scripts'); function sfc_register_enqueue_scripts() { wp_enqueue_script('jquery'); } add_action('sfc_login_new_fb_user', 'sfc_register_redirect'); function sfc_register_redirect() { wp_redirect(s...
PHP
wp-content/plugins/simple-facebook-connect/sfc-register.php
tahitinuiarena/site
gpl-2.0
3,192
96
codeparrot/github-code
c290d7a0518d2e8ed6b71de882eeebc7f88d15c99d3c4e43a8609d10a8e20e16
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Qt 4.4: Draggable Icons Example</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </h...
HTML
doc/html/draganddrop-draggableicons.html
radekp/qtmoko
gpl-2.0
6,846
100
codeparrot/github-code
33cb58275afc1f92d6ef53d1eb71f4f78f40e2a6275ee59d9fea447bd90cdc8b
/* * Copyright (c) 1997, 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 ...
C++
jdk9/hotspot/src/share/vm/adlc/main.cpp
YouDiSN/OpenJDK-Research
gpl-2.0
21,875
486
codeparrot/github-code
2fdfd4b1bad2ae163016ba336e2a04a48cb36d751dee6d48163eaeedcbdae169
/* * Copyright (c) 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 Softwa...
Java
jdk9/jdk/test/sun/tools/jhsdb/HeapDumpTest.java
YouDiSN/OpenJDK-Research
gpl-2.0
4,479
129
codeparrot/github-code
dd4b3c446c6ccdac4bdd1b67977b5c58dabe0cc694bab5768d70d8e104c2fa9d
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Manager of RPC calls from plugins. """ from golismero.api.config import Config __license__ = """ GoLismero 2.0 - The web knife - Copyright (C) 2011-2014 Golismero project site: https://github.com/golismero Golismero project mail: contact@golismero-project.com This p...
Python
golismero/managers/rpcmanager.py
golismero/golismero
gpl-2.0
10,792
324
codeparrot/github-code
1965d7329b3b3abef2858bb4048ab3526d998ffc188195375b8dd77e8fdd9fbb
/* comedi/drivers/ni_labpc.c Driver for National Instruments Lab-PC series boards and compatibles Copyright (C) 2001, 2002, 2003 Frank Mori Hess <fmhess@users.sourceforge.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License a...
C
drivers/staging/comedi/drivers/ni_labpc.c
holyangel/LGE_G3
gpl-2.0
62,708
2,197
codeparrot/github-code
8cb50c0f98934d12182d09d17e458ee253f26c25bbdd560fb65ce0a83ba79d6c
using System; namespace Server.Items { [Flipable( 0xC12, 0xC13 )] public class BrokenArmoireComponent : AddonComponent { public override int LabelNumber { get { return 1076262; } } // Broken Armoire public BrokenArmoireComponent() : base( 0xC12 ) { } public BrokenArmoireComponent( Serial serial ) : base...
C#
Scripts/Items/Special/Broken Furniture Collection/BrokenArmoire.cs
jackuoll/Pre-AOS-RunUO
gpl-2.0
1,896
92
codeparrot/github-code
a742578ae7bcef68076a3efc2d2f5a22b0b2a6af40a0c32d49b734e8ebf03434
/********************************************************************** Audacity: A Digital Audio Editor ExpandingToolBar.cpp Dominic Mazzoni *******************************************************************//** \class ExpandingToolBar \brief A smart ToolBar class that has a "MainPanel" which is always d...
C++
src/widgets/ExpandingToolBar.cpp
oneminot/audacity
gpl-2.0
33,841
1,285
codeparrot/github-code
0ae4b562594d2cb6e381734c8dd83d8bc125c0ca7cf0d1c34660b7188bf18f54
<?php /** * TestLink Open Source Project - http://testlink.sourceforge.net/ * This script is distributed under the GNU General Public License 2 or later. * * Filename $RCSfile: reqExport.php,v $ * * @version $Revision: 1.10 $ * @modified $Date: 2010/03/21 19:28:34 $ by $Author: franciscom $ * * Allows users to...
PHP
lib/requirements/reqExport.php
qasourceinc/TestLink_1.9.5_QASourceContribution
gpl-2.0
4,583
178
codeparrot/github-code
c6db62d45ba6229e37fe5cff0d497841d0f3a616cf91a867e0a012b292c332bc
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it ...
Java
base/src/org/compiere/model/MInOutLineMA.java
erpcya/adempierePOS
gpl-2.0
4,940
142
codeparrot/github-code
c035ee22275660ebaeab9060a65f500c07ac392e8ad282594a009692c68c53c0
/* ---------------------------------------------------------------------- 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/KSPACE/pair_lj_charmm_coul_msm.h
jcarlson23/lammps
gpl-2.0
2,192
78
codeparrot/github-code
02ceba6b2cfbc941d6c42072a8d31edc283d8adb1dfa293bca59014ebdf8abad
<?php /** * base class to choose the language * * @since 1.2 */ abstract class PLL_Choose_Lang { public $links_model, $model, $options; public $curlang; /** * constructor * * @since 1.2 * * @param object $polylang */ public function __construct( &$polylang ) { $this->links_model = &$polylang->li...
PHP
wp-content/plugins/polylang/frontend/choose-lang.php
petersondrs/interage-consultoria
gpl-2.0
10,845
324
codeparrot/github-code
b79e227fa63379087f29e52b6a3f616da8c0ae4d475a1f70776af60deada38bd
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* NetworkManager -- Network link manager * * 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 th...
C
src/firewall-manager/nm-firewall-manager.h
heftig/NetworkManager
gpl-2.0
3,094
74
codeparrot/github-code
f2cd76dc9b3a0047ea54fc9e9f85ffeca5602c41e4d93a799feb5116e9303797
// license:BSD-3-Clause // copyright-holders:Bryan McPhail /*************************************************************************** Desert Assault Video emulation - Bryan McPhail, mish@tendril.co.uk I'm not sure if one of the alpha blending effects is correct (mode 0x8000, the usual mode 0x4000 should be c...
C++
src/mame/video/dassault.cpp
GiuseppeGorgoglione/mame
gpl-2.0
5,152
137
codeparrot/github-code
9565266c9606851daf9369e389d7d39e83a09418d0e976900d8a28dad6c8dd84
// { dg-do run { target c++11 } } // 2007-10-12 Paolo Carlini <pcarlini@suse.de> // // Copyright (C) 2007-2017 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public Li...
C++
libstdc++-v3/testsuite/25_algorithms/is_heap/1.cc
mickael-guene/gcc
gpl-2.0
1,437
50
codeparrot/github-code
182f30f2134f663a015fa3f4fd38963d8b47fec97ff9b057f64080ea95e40883
/* * Copyright (C) 2010-2015 ARM Limited. All rights reserved. * * This program is free software and is provided to you under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence. * * A ...
C
drivers/amlogic/gpu/ump/linux/ump_ukk_wrappers.c
kszaq/linux-amlogic
gpl-2.0
7,996
281
codeparrot/github-code
fd806fb8d7a2013fa29e6a349422c149cde1cd663c918facab89bb96227db93c
/*************************************************************************** tag: Peter Soetens Wed Apr 17 16:01:31 CEST 2002 TimerThread.cpp TimerThread.cpp - description ------------------- begin : Wed April 17 2002 copyright : (C) ...
C++
rtt/extras/TimerThread.cpp
shyamalschandra/rtt
gpl-2.0
7,933
193
codeparrot/github-code
19b562bd119215c7e23d8573bbaade4e2b546c114c11d1219b21d139b411e01a
/* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
C
drivers/media/video/msm/csi/msm_ispif.c
androidrbox/android_kernel_amazon_bueller
gpl-2.0
25,457
937
codeparrot/github-code
4402e6f0f3922cfe5ceda96551a2d471b44c9749cf05cd3da8be8d6da97114f7
/* * #%L * Bio-Formats Plugins for ImageJ: a collection of ImageJ plugins including the * Bio-Formats Importer, Bio-Formats Exporter, Bio-Formats Macro Extensions, * Data Browser and Stack Slicer. * %% * Copyright (C) 2006 - 2015 Open Microscopy Environment: * - Board of Regents of the University of Wisconsin-...
Java
components/bio-formats-plugins/src/loci/plugins/util/WindowTools.java
dgault/bioformats
gpl-2.0
6,353
210
codeparrot/github-code
87d262aa85e5aa34c468bd436cf5650f90c6a6a4deb64a45e8e717c16e241fba
/**************************************************************************** ** ** This file is part of the Qt Extended Opensource Package. ** ** Copyright (C) 2009 Trolltech ASA. ** ** Contact: Qt Extended Information (info@qtextended.org) ** ** This file may be used under the terms of the GNU General Public License ...
C
src/plugins/drmagent/bscidrmagent/bscidrmcontentplugin.h
liuyanghejerry/qtextended
gpl-2.0
4,944
180
codeparrot/github-code
fa198f65ce28fdcadb5435352ee9d963aa73de43f0b9c90787a1d4181867ab7a
/* Copyright (C) 2000-2006 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHO...
C
storage/heap/_check.c
ottok/mariadb-galera-10.0
gpl-2.0
5,942
207
codeparrot/github-code
528df648fc5010eff77df2c4aac8671b35daf2a82e760e4f2d4ead5968503661
/**************************************************************************** * * Copyright (c) DiBcom SA. All rights reserved. * * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * IMPLIED WARRANTIES ...
C
drivers/media/dvb/rkdtv/DIBCom1009XH/Bridge/Common/Dragonfly/DibBridgeDragonfly.c
fefifofum/android_kernel_bq_maxwell2plus_3.0.8
gpl-2.0
39,664
1,079
codeparrot/github-code
9b7894c05f4747151f05cfe95516a7e740684fcfdf5f083c4d1d9838585bdba1
jQuery.fn.nextInArray = function(element) { var nextId = 0; for(var i = 0; i < this.length; i++) { if(this[i] == element) { nextId = i + 1; break; } } if(nextId > this.length-1) nextId = 0; return this[nextId]; }; jQuery.fn.clearForm = function() { re...
JavaScript
wp-content/plugins/google-maps-ready/js/common.js
nikakoss/arsenal-media.net
gpl-2.0
12,013
375
codeparrot/github-code
a419e2200f04e3ca9c16cc1d81388da35b597a2421cfb52dadb527b46545e6a6
/* mxb - v4l2 driver for the Multimedia eXtension Board Copyright (C) 1998-2003 Michael Hunold <michael@mihu.de> Visit http://www.mihu.de/linux/saa7146/mxb/ for further details about this card. This program is free software; you can redistribute it and/or modify it under the terms of ...
C
linux-2.6.x/drivers/media/video/mxb.c
ipwndev/DSLinux-Mirror
gpl-2.0
30,749
1,028
codeparrot/github-code
e859f704df68048d970e5ba38b7e832f60f147874d97d8d565c159c8e1913051
/* Target-dependent code for GNU/Linux, architecture independent. Copyright (C) 2009-2015 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software...
C
gdb/linux-tdep.h
npe9/binutils-gdb
gpl-2.0
1,705
50
codeparrot/github-code
ddf62a3beabfdce0a04c76556c9b201f25e49f325fe2083337785770e23a4f56
/** * @file * Packet buffer management * * Packets are built from the pbuf data structure. It supports dynamic * memory allocation for packet contents or can reference externally * managed packet contents both in RAM and ROM. Quick allocation for * incoming packets is provided through pools with fixed sized pbuf...
C
net/pbuf.c
jnouyang/kitten
gpl-2.0
39,009
1,179
codeparrot/github-code
980364d56e45fea75c14911246da16a299a94261f2734274aaf166f417e30032
/* LUFA Library Copyright (C) Dean Camera, 2014. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purp...
C
tmk_core/protocol/lufa/LUFA-git/Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.c
ruriwo/ErgoThumb072_firmware
gpl-2.0
19,637
531
codeparrot/github-code
4bd28ab98d315e3f1b59c617ac1431b00d056a2d65f2a9ac04b497cd92e7f7ee
/* * Renesas SuperH DMA Engine support * * base is drivers/dma/flsdma.c * * Copyright (C) 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> * Copyright (C) 2009 Renesas Solutions, Inc. All rights reserved. * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. * * This is free software; y...
C
drivers/dma/shdma.c
aicjofs/android_kernel_lge_v500_stock
gpl-2.0
39,306
1,525
codeparrot/github-code
4a27659bf71156eec1d34d36b64f956dc41f0422f47859a323b0c5aa0ae3a912
/* * Core maple bus functionality * * Copyright (C) 2007 - 2009 Adrian McMenamin * Copyright (C) 2001 - 2008 Paul Mundt * Copyright (C) 2000 - 2001 YAEGASHI Takeshi * Copyright (C) 2001 M. R. Brown * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPY...
C
drivers/sh/maple/maple.c
holyangel/LGE_G3
gpl-2.0
21,950
894
codeparrot/github-code
f0c4cc7c3f7d2a20250bb08312edce04f3181a74df89d3b64415bc6e2e4253ef
/* * OMAP5 thermal driver. * * Copyright (C) 2011-2012 Texas Instruments Inc. * Contact: * Eduardo Valentin <eduardo.valentin@ti.com> * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and ...
C
drivers/thermal/omap5-bg-sen-data.c
bsmitty83/kernel_omap
gpl-2.0
13,846
380
codeparrot/github-code
433f5abbf41cc34d346a2461c755c3d790a7f2af0d4e02dbaab908f15464ca3f
// Copyright (C) 2014 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Foundation; either version 3, or (at your option)...
C++
libstdc++-v3/testsuite/performance/28_regex/range.cc
xinchoubiology/gcc
gpl-2.0
1,349
42
codeparrot/github-code
a95cbf352a91a8035f30784decd6194c46d43231249cd9667d9f9c89481510dc
/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
C
drivers/media/platform/msm/camera_v2/sensor/iris/msm_iris.h
jcadduono/android_kernel_lge_msm8996
gpl-2.0
1,746
64
codeparrot/github-code
97cc063215e9700b7cf82a306c86ccdaa6e1e6148764fe288dfb762827c8d13d
/* * linux/fs/ext4/xattr.c * * Copyright (C) 2001-2003 Andreas Gruenbacher, <agruen@suse.de> * * Fix by Harrison Xing <harrison@mountainviewdata.com>. * Ext4 code with a lot of help from Eric Jarman <ejarman@acm.org>. * Extended attributes for symlinks and special files added per * suggestion of Luka Renko <lu...
C
fs/ext4/xattr.c
davidmueller13/AK-Flo
gpl-2.0
43,253
1,613
codeparrot/github-code
32b5788cd70f50ccdddb3df933dfb32443e9c91f6e421ef3d8ba19e8825ae004
/* * SuperH interrupt controller module * * Copyright (c) 2007 Magnus Damm * Based on sh_timer.c and arm_timer.c by Paul Brook * Copyright (c) 2005-2006 CodeSourcery. * * This code is licensed under the GPL. */ #include "sh_intc.h" #include "hw.h" #include "sh.h" //#define DEBUG_INTC //#define DEBUG_INTC_SOUR...
C
hw/sh_intc.c
SSLab-NTHU/qemu-guest-armvisor
gpl-2.0
12,189
482
codeparrot/github-code
9fb1df4a59ba82929ac31e6bda7a6a8c64602e2f87604276db7e86006b36e2f5
/* * array.h - useful array handling header * * Copyright © 2009 Julien Danjou <julien@danjou.info> * Copyright © 2008 Pierre Habouzit <madcoder@debian.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 ...
C
common/array.h
Asido/AwesomeWM
gpl-2.0
8,689
146
codeparrot/github-code
75e04f91192b1a2ef4d9a3e6f1ac5b72d429f897f432a299410aa3adfe067aaf
<?php /* pluginbuddy_ui class * * Handles typical user interface items used in WordPress development. * * @author Dustin Bolton * @version 1.0.0 */ class pb_backupbuddy_ui { private $_tab_interface_tag = ''; /* pluginbuddy_ui->start_metabox() * * Starts a metabox. Use with end_metabox(). * @see...
PHP
wp-content/plugins/backupbuddy/pluginbuddy/classes/ui.php
ghostego/viscom-new
gpl-2.0
24,642
711
codeparrot/github-code
938c753d5cb8bf226a5941e523b82145acc860630edd3c494ea91633b1601406
/******************************************************************************* * You may amend and distribute as you like, but don't remove this header! * * EPPlus provides server-side generation of Excel 2007/2010 spreadsheets. * See http://www.codeplex.com/EPPlus for details. * * Copyright (C) 2011 Jan Käll...
C#
epplus_90cfd9a3a979/EPPlus/ConditionalFormatting/Rules/ExcelConditionalFormattingTop.cs
wtsi-swat/eq_exporter
gpl-3.0
4,020
124
codeparrot/github-code
80f52bd85cd1c7c8d3b6fa21020dbc33feb888842fc3487340caf88f30389c12
// RUN: %clang_cc1 -fsyntax-only -verify %s // RUN: %clang_cc1 -fsyntax-only -Wno-signed-unsigned-wchar -verify=allow-signed -DSKIP_ERROR_TESTS %s // allow-signed-no-diagnostics wchar_t x; void f(wchar_t p) { wchar_t x; unsigned wchar_t y; // expected-error {{'wchar_t' cannot be signed or unsigned}} signed wchar...
C++
3rd/templight/clang/test/SemaCXX/wchar_t.cpp
sabel83/metashell
gpl-3.0
1,004
42
codeparrot/github-code
ae0ebcb29ff64fd98490404878517111fc7ba15cf82650d6ef9d5a38045049d0
/** * Aptana Studio * Copyright (c) 2005-2011 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the GNU Public License (GPL) v3 (with exceptions). * Please see the license.html included with this distribution for details. * Any modifications to this file must keep this entire header intact. ...
Java
plugins/com.aptana.core/src/com/aptana/core/internal/resources/Messages.java
HossainKhademian/Studio3
gpl-3.0
969
41
codeparrot/github-code
cd364e6c3460df9644af71f018822022b8f7748377a722ae7b425971dcca9a30
/* radare2 - LGPL - Copyright 2017 - condret */ #include <r_util.h> #include <r_types.h> ut32 get_msb(ut32 v) { int i; for (i = 31; i > (-1); i--) { if (v & (0x1 << i)) { return (v & (0x1 << i)); } } return 0; } R_API RIDPool* r_id_pool_new(ut32 start_id, ut32 last_id) { RIDPool* pool = NULL; if (start_...
C
libr/util/idpool.c
Maijin/radare2
gpl-3.0
4,681
203
codeparrot/github-code
a4dd8b479ed8a345660b41784a0cf44e5e30dd02ce80ee75c1e2f7d47e1e022a
/* * Pixel Dungeon * Copyright (C) 2012-2014 Oleg Dolya * * 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. * * ...
Java
src/com/shatteredpixel/shatteredpixeldungeon/scenes/InterlevelScene.java
Lobz/reforged-pixel-dungeon
gpl-3.0
7,657
301
codeparrot/github-code
7a7d3e79375d011cbcfbcea793f6b0b00ce8cfa53c88fe8653248946db296a75
# Copyright 2013 The Servo Project Developers. See the COPYRIGHT # file at the top-level directory of this distribution. # # 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 http://opensource.org/licenses/MIT>, at your #...
Python
python/servo/bootstrap_commands.py
ddrmanxbxfr/servo
mpl-2.0
14,058
312
codeparrot/github-code
ea2bdb5f2605355d09c033905f18fac37ac12d0b7f1572e7ead0c6ce35f3686a
/* TL.Point Inspired by Leaflet TL.Point represents a point with x and y coordinates. ================================================== */ TL.Point = function (/*Number*/ x, /*Number*/ y, /*Boolean*/ round) { this.x = (round ? Math.round(x) : x); this.y = (round ? Math.round(y) : y); }; TL.Point.prototype = { a...
JavaScript
source/js/dom/TL.Point.js
tkandala/TimelineJS3
mpl-2.0
1,360
67
codeparrot/github-code
b60bac4d5053a132258012f89411b282d9574d4bb8499320bf7546d727e8e09d
/* * The Kuali Financial System, a comprehensive financial management system for higher education. * * Copyright 2005-2014 The Kuali Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Softwar...
Java
kfs-cg/src/main/java/org/kuali/kfs/module/cg/service/impl/ContractsAndGrantsBillingServiceImpl.java
bhutchinson/kfs
agpl-3.0
2,589
58
codeparrot/github-code
189d5d900db132eaad5f5c9d2439e01933658f0521b64c88f1d1852b54d17f0b
package org.herac.tuxguitar.gui.util; import org.herac.tuxguitar.gui.TuxGuitar; import org.herac.tuxguitar.player.base.MidiRepeatController; import org.herac.tuxguitar.song.managers.TGSongManager; import org.herac.tuxguitar.song.models.TGMeasureHeader; public class MidiTickUtil { public static long getStart(long t...
Java
src/org/herac/tuxguitar/gui/util/MidiTickUtil.java
elkafoury/tux
lgpl-2.1
2,150
71
codeparrot/github-code
f573ef1146ef985904c9aaa3dcd65a2abebbb913c629eba1e0d8c9c3b50da718
/* Part of SWI-Prolog Author: Jan Wielemaker E-mail: J.Wielemaker@vu.nl WWW: http://www.swi-prolog.org Copyright (c) 1999-2011, University of Amsterdam All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permit...
C
src/win32/console/edit.c
edechter/swipl-devel
lgpl-2.1
16,384
752
codeparrot/github-code
e74cbc93dfe98440c6170264339ece5478da56a324c3369316926130052cde32
/**************************************************************************/ /* */ /* OCaml */ /* */ /* ...
C
runtime/globroots.c
gerdstolpmann/ocaml
lgpl-2.1
6,109
188
codeparrot/github-code
9ec1eed9c412568bdd3c5b491f182c689e635061c5bfe55e2974e2b1e9418de6
<?php /** * @package tikiwiki */ // (c) Copyright 2002-2013 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: categorize.php 44444 201...
PHP
categorize.php
reneejustrenee/tikiwikitest
lgpl-2.1
1,238
33
codeparrot/github-code
bd5e6500e0fb1d6d2f02d8ccf93befbaba9b74feab9e360c6336199521340c3c
/* * 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
sdks/java/extensions/ml/src/test/java/org/apache/beam/sdk/extensions/ml/DLPInspectTextTest.java
lukecwik/incubator-beam
apache-2.0
3,694
102
codeparrot/github-code
3cf75a7905fca50a9fc963fd1d948bb3d6b2cb90eacbce663cc54fdea227b131
/* * 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
metadata/src/main/java/org/apache/kylin/metadata/tool/HiveSourceTableLoader.java
nvoron23/Kylin
apache-2.0
6,633
156
codeparrot/github-code
177966c36ad622a50c73fddaba94423f3cdc596ac79b46c55caedf74499a141d
/* * Copyright 2016-present Facebook, 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...
Java
test/com/facebook/buck/io/ConfiguredBuckOutIntegrationTest.java
LegNeato/buck
apache-2.0
6,709
197
codeparrot/github-code
c08d151e29bd25fd78e551e7ba7651c6fa485cb042decbaa0def77c638020fbe
/******************************************************************************* * Copyright 2011 Netflix * * 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/...
Java
src/main/java/com/netflix/astyanax/thrift/model/ThriftCounterColumnListImpl.java
0x6e6562/astyanax
apache-2.0
3,953
123
codeparrot/github-code
cdb1130eba04968681798e70d9a776d4906cc444eb85d67c63a978884ad74cf4
/* * 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 * distribut...
Java
presto-main/src/test/java/com/facebook/presto/operator/unnest/TestUnnestOperator.java
facebook/presto
apache-2.0
26,599
547
codeparrot/github-code
d70001dde624a83e5752fff8c6eae0f46f1f25a54f32bc7e570fa6e04bf0080a
// ---------------------------------------------------------------------------------- // // 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/ServiceManagement/Services/Commands.Test/CloudService/Development/GetAzureServiceProjectRuntimesTest.cs
amarzavery/azure-powershell
apache-2.0
2,683
63
codeparrot/github-code
6d80b76b8491701c33dfe90fcf6692f2b30fe9006fcdbea050dfd26d1cad72bb
#!/bin/bash ######################################################################## # # Linux on Hyper-V and Azure Test Code, ver. 1.0.0 # Copyright (c) Microsoft Corporation # # All rights reserved. # Licensed under the Apache License, Version 2.0 (the ""License""); # you may not use this file except in compliance ...
Shell
remote-scripts/performance_zk.sh
hglkrijger/azure-linux-automation
apache-2.0
14,855
511
codeparrot/github-code
9622fb0b4728cf7808ac691bb642f859c45b4e9ceb5ce7303e716e82d12c012d
/* --------------------------------------------------------------------------- Open Asset Import Library (assimp) --------------------------------------------------------------------------- Copyright (c) 2006-2012, assimp team All rights reserved. Redistribution and use of this software in source and binary...
C++
smartbody/src/assimp-3.1.1/code/CalcTangentsProcess.cpp
gsi-upm/SmartSim
apache-2.0
12,469
319
codeparrot/github-code
8674e47de55c5f765bbd79af9c5e6dcd445fb07a8ac8f0c91dfc42a0c352e408
<?php /** * @xmlNamespace http://schema.intuit.com/finance/v3 * @xmlType string * @xmlName IPPIdType * @var IPPIdType * @xmlDefinition Product: ALL Description: Allows for strong-typing of Ids and qualifying the domain origin of the Id. The valid values for the domain are defined in the idDomainEnum. ...
PHP
src/Data/IPPIdType.php
hlu2/QuickBooks_Demo
apache-2.0
1,546
48
codeparrot/github-code
7388f6b63162b1c83e35240ef30ac0d02c63ec552b1e700c131f1eb346e66fcc
/* * Encog(tm) Core v3.3 - Java Version * http://www.heatonresearch.com/encog/ * https://github.com/encog/encog-java-core * Copyright 2008-2014 Heaton Research, 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...
Java
src/main/java/org/encog/neural/pattern/FeedForwardPattern.java
Crespo911/encog-java-core
apache-2.0
3,936
168
codeparrot/github-code
b4a773ebfe71cf41e8cb8d71e1e6fbfbe82083c1eb517dba5f3d09c5be52ab73
// Copyright 2014 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/net/starlark/java/syntax/ForStatement.java
twitter-forks/bazel
apache-2.0
2,418
87
codeparrot/github-code
4d64ec61ca2179b6a822a2a82918e5bf280a69ea5fd6104d00700a88db271807
package de.j4velin.pedometer.util; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.util.AttributeSet; import android.view.View; public class ColorPreview extends View { private Paint paint = new Paint(); private int ...
Java
src/main/java/de/j4velin/pedometer/util/ColorPreview.java
hgl888/Pedometer
apache-2.0
1,251
47
codeparrot/github-code
a394a601109a741eb7c7046b84878b3be84109db8e7a0343aa492c6caadda33e
/* * Copyright (C) 2009-2017 Lightbend Inc. <https://www.lightbend.com> */ package javaguide.xml; import org.w3c.dom.Document; import play.libs.XPath; import play.mvc.BodyParser; import play.mvc.Controller; import play.mvc.Result; public class JavaXmlRequests extends Controller { //#xml-hello public Result ...
Java
documentation/manual/working/javaGuide/main/xml/code/javaguide/xml/JavaXmlRequests.java
wsargent/playframework
apache-2.0
1,900
63
codeparrot/github-code
bf0eed55532e7b10b0ccde8b1414d1e5ff35e6703269dc2d64bbb78bd36a67c7
/* * 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
indexing-hadoop/src/test/java/org/apache/druid/indexer/HdfsClasspathSetupTest.java
pjain1/druid
apache-2.0
8,361
206
codeparrot/github-code
1698e414b7a92e64cb9b10246a949cff6d93aacbdeeb301e22b3fb4576f83820
/* * 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
twill-core/src/main/java/org/apache/twill/internal/ZKMessages.java
cdapio/twill
apache-2.0
4,170
95
codeparrot/github-code