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 |
|---|---|---|---|---|---|---|---|---|
6306574bcc8c698dbca3a81fdbce9887debb10f53b6d4f88b636612c1e4aabec | // Build don't link:
// Origin: Jakub Jelinek <jakub@redhat.com>
namespace N
{
class X;
template <class T>
class Y
{
public:
inline Y () {}
inline operator const Y<X> & () const
{
return *reinterpret_cast<const Y<X> *>(this);
}
};
}
class bar
{
public:
inline bar () {}
inline bar ... | C++ | gcc/testsuite/g++.old-deja/g++.other/crash28.C | nslu2/Build-gcc-3.2.1 | gpl-2.0 | 520 | 36 | codeparrot/github-code |
3043db0776d2059a337f19ceab413a0caf0a0daa66c3df2cf24f4c132dd10560 | /* Copyright (c) 2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope... | C | drivers/video/msm/mdss/mdss_dsi_status.c | savoca/kcal | gpl-2.0 | 7,130 | 257 | codeparrot/github-code |
eed90219bfd90873c9739fac15177890014178e4948d893334abb30d2e45a687 | /*
* include/asm-xtensa/atomic.h
*
* Atomic operations that C can't guarantee us. Useful for resource counting..
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2001 - ... | C | kernel/arch/xtensa/include/asm/atomic.h | tejaswanjari/SMR_FS-EXT4 | gpl-2.0 | 7,858 | 325 | codeparrot/github-code |
049473535ccffed16fe51e08831639cab0fda4a38d562a9a8b69dee9dedc00bb | /*
* RAZE-x86 Z80 emulator.
*
* Copyright (c) 1999 Richard Mitton
*
* This may only be distributed as part of the complete RAZE package.
* See RAZE.TXT for license information.
*/
#ifndef __RAZE_H_INCLUDED__
#define __RAZE_H_INCLUDED__
#ifdef __cplusplus
extern "C" {
#endif
/* Fix this as y... | C | src/raze/raze.h | fcooper/gngeo | gpl-2.0 | 2,550 | 90 | codeparrot/github-code |
50db7b785ad77f0f3e06d934e6e21bf0657ff04c9645459cc853595d51462bfc | /******************************
*
* This function opens the .mdf file and extracts connectivity information
* into the atoms Atom structure. It also updates the charge from the .car
* file because the charge in the .mdf file has more significant figures.
*
*/
#include "Msi2LMP2.h"
/* Prototype for function to pro... | C | tools/msi2lmp/src/ReadMdfFile.c | nchong/ic_liggghts | gpl-2.0 | 12,839 | 426 | codeparrot/github-code |
31c5d34d7d08429bab8f4ff2398667d68f27cb9e37eaf95bb5f943d22c712b7a | /*******************************************************************************
*
* Module Name: utmutex - local mutex support
*
******************************************************************************/
/*
* Copyright (C) 2000 - 2014, Intel Corp.
* All rights reserved.
*
* Redistribution and use in sour... | C | drivers/acpi/acpica/utmutex.c | dtuchsch/linux-preempt_rt | gpl-2.0 | 10,264 | 361 | codeparrot/github-code |
4120eddec421b4039cb769006739f0751025e9c3e8c6d97d24db9205dfaa868f | /*
* Backlight driver for OMAP based boards.
*
* Copyright (c) 2006 Andrzej Zaborowski <balrog@zabor.org>
*
* This package 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 Licens... | C | drivers/video/backlight/omap1_bl.c | robacklin/nxc2620 | gpl-2.0 | 5,049 | 211 | codeparrot/github-code |
20cd506dd671eae9d26ab33dee16550cbf6f249e9bf358e5940394013e4ee2fa | /*
* Copyright (C) 2003 Jana Saout <jana@saout.de>
* Copyright (C) 2004 Clemens Fruhwirth <clemens@endorphin.org>
* Copyright (C) 2006-2020 Red Hat, Inc. All rights reserved.
* Copyright (C) 2013-2020 Milan Broz <gmazyland@gmail.com>
*
* This file is released under the GPL.
*/
#include <linux/completion.h>
#inc... | C | drivers/md/dm-crypt.c | penberg/linux | gpl-2.0 | 90,376 | 3,462 | codeparrot/github-code |
4a3a3912f16c76550135a77c2078cfc38259de6992a0cc1d2e6828c5e32d0031 | // version 1.0 - original version
jQuery(document).ready(function () {
var version = jQuery.fn.jquery.split('.');
if (parseFloat(version[1]) < 7) {
// use .live as we are on jQuery prior to 1.7
jQuery('.colorpickerField').live('click', function () {
if (jQuery(this).attr('id').search("__i__") === -1) {
var... | JavaScript | wp-content/plugins/subscribe2/include/s2_colorpicker.js | Melanie27/2014 | gpl-2.0 | 1,643 | 47 | codeparrot/github-code |
c2b1c0d4475247cf90ca7424d85a2d9f5c05cd60c393b32935f87406d7ed19ed | # -*- coding: utf-8 -*-
#
# synapsecollection.py
#
# This file is part of NEST.
#
# Copyright (C) 2004 The NEST Initiative
#
# NEST is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the Licen... | Python | pynest/examples/synapsecollection.py | SepehrMN/nest-simulator | gpl-2.0 | 5,672 | 179 | codeparrot/github-code |
82a0c197770d69505fbe42b5264ea7b00ac37cb2c81f6df8450c5a6b9eea0e4c | /* cell.c: AFS cell and server record management
*
* Copyright (C) 2002 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.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 So... | C | linux-2.6.18-xen.hg/fs/afs/cell.c | zhoupeng/spice4xen | gpl-2.0 | 13,409 | 569 | codeparrot/github-code |
e742ed11ef997673eb0eb5312cdb3388e6f8b6d7a763c7e262fd944467853bfb | /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
*
* 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 Fre... | C++ | src/lte/model/lte-rlc-um.cc | darolt/ndnSIMQoS | gpl-2.0 | 43,351 | 1,191 | codeparrot/github-code |
306514ea5987e47146139a7635b7409eedea904d20c6530a03aed74faa2f41e6 | <?php
/**
* File containing the Services controller class
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
* @version //autogentag//
*/
namespace eZ\Publish\Core\REST\Server\Controller;
use... | PHP | eZ/Publish/Core/REST/Server/Controller/Services.php | netgen/ezpublish-kernel | gpl-2.0 | 836 | 39 | codeparrot/github-code |
f50d0275d927a5f892e14b57e608ab7fcf39937f4cf3c1e358f5390bad722ba9 | /*
* A driver for the ARM PL022 PrimeCell SSP/SPI bus master.
*
* Copyright (C) 2008-2009 ST-Ericsson AB
* Copyright (C) 2006 STMicroelectronics Pvt. Ltd.
*
* Author: Linus Walleij <linus.walleij@stericsson.com>
*
* Initial version inspired by:
* linux-2.6.17-rc3-mm1/drivers/spi/pxa2xx_spi.c
* Initial adoptio... | C | drivers/spi/spi-pl022.c | redpig/linux | gpl-2.0 | 65,173 | 2,321 | codeparrot/github-code |
7fae805a8c9b347bcfdcfe7aa5779fd7176ced6a0c7ba33872bd502907c726e5 | /*
* Copyright (c) 2013, 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 | test/sun/management/jdp/JdpTestCase.java | FauxFaux/jdk9-jdk | gpl-2.0 | 7,749 | 221 | codeparrot/github-code |
6616e381e7aadb4ef50f62cf46712742a4eceb989fcc4335234787ed53ad150d | /* Shared general utility routines for GDB, the GNU debugger.
Copyright (C) 1986-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 Fou... | C | gdb/common/common-utils.h | npe9/binutils-gdb | gpl-2.0 | 2,845 | 81 | codeparrot/github-code |
575e8dc3ae5599e19b60e5e7446344d1fc1c77c34fab0d315dd8c91df775b9cd | /* 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/kyra/sequence/sequences_lok.cpp | somaen/scummvm | gpl-2.0 | 56,978 | 2,129 | codeparrot/github-code |
0a1ab9850837e98ec58c84645309b9631a40d26523c8560838e1fcb742f080fe | /*
* This file is part of the coreboot project.
*
* Copyright (C) 2012 The ChromiumOS Authors. 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; version 2 of the Lic... | C | src/southbridge/intel/lynxpoint/elog.c | NamanG/coreboot2.0 | gpl-2.0 | 4,660 | 188 | codeparrot/github-code |
2d787488592cfbffd6e590b5e7a7511258b765d3f92f557dc7fa5da92f423961 | // SuperTuxKart - a fun racing game with go-kart
//
// Copyright (C) 2013-2015 Lionel Fuentes
//
// 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 (... | C++ | src/utils/crash_reporting.cpp | scopeInfinity/stk-code | gpl-3.0 | 13,018 | 339 | codeparrot/github-code |
ce024fd19085baa72d813890474271a565065bd1293dd862cef67052df255f14 | /* Copyright 2008 (C) Nicira, Inc.
*
* This file is part of NOX.
*
* NOX 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.
*
* N... | C++ | src/nox/netapps/user_event_log/user_event_log_proxy.cc | zainabg/NOX | gpl-3.0 | 6,355 | 213 | codeparrot/github-code |
d200d12e7e2100bdda7b592cfe1bb632f7e9fd0b6dfd37577a9f98375acb994b | #!/usr/bin/env python
"""
The LibVMI Library is an introspection library that simplifies access to
memory in a target virtual machine or in a file containing a dump of
a system's physical memory. LibVMI is based on the XenAccess Library.
Copyright 2011 Sandia Corporation. Under the terms of Contract
DE-AC04-94AL85000... | Python | tools/pyvmi/examples/process-list.py | jie-lin/libvmi | gpl-3.0 | 1,982 | 59 | codeparrot/github-code |
a7dd4bb0a9ebf4a02ae8f43357a525fa52f36064a36d839e0f9efba51cbaf9d5 | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright: (c) 2019, Anusha Hegde <anushah@vmware.com>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version':... | Python | lib/ansible/modules/cloud/vmware/vmware_guest_serial_port.py | roadmapper/ansible | gpl-3.0 | 19,614 | 469 | codeparrot/github-code |
582f3cec61b894e571c4fc4ca0aee0934c8e55a49f6479db98c06c39f7fce577 | /*
* Copyright (C) 2004 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
* FFmpeg 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 License, or... | C | source/mplayer/ffmpeg/libavcodec/snow.c | SuperrSonic/WiiMC-SSLC | gpl-3.0 | 22,948 | 653 | codeparrot/github-code |
ad2f6a4f93675e68bb431b21b7b644a21b57b9da714ed7247c3128b808d654e1 | // ReSharper disable All
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using MixERP.Net.Api.Framework;
using MixERP.Net.ApplicationState.Cache;
using MixERP.Net.Common.Extensions;
using MixERP.Net.EntityParser;
using MixERP.Net.Framework;
using Newtonsoft.Json;
using ... | C# | src/Libraries/Web API/Core/ItemSellingPriceScrudViewController.cs | mixerp/mixerp | gpl-3.0 | 14,350 | 351 | codeparrot/github-code |
3360a23ab57c9dad7c2bfcad3dbef2760633b99b04298fabf3fcca64ec3988d5 | # Copyright (C) 2010-2014 GRNET S.A.
#
# 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 i... | Python | snf-django-lib/snf_django/lib/api/urls.py | allmende/synnefo | gpl-3.0 | 1,762 | 58 | codeparrot/github-code |
7195d736ac85c5683858b16ba43e0b8bdfd2c6babe47a365993c4cb4ef878027 | #region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms... | C# | Ris/Client/Workflow/View/WinForms/MppsDocumentationComponentControl.cs | chinapacs/ImageViewer | gpl-3.0 | 2,158 | 58 | codeparrot/github-code |
503dbb843db1935f7fefbd482e406a13952df1931dfb5bee8435e92e1ee51b35 | /*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | C# | AWS.XamarinSDK/AWSSDK_iOS/Amazon.EC2/Model/VpnStaticRoute.cs | ykbarros/aws-sdk-xamarin | apache-2.0 | 2,707 | 94 | codeparrot/github-code |
b57a4303447ee0a255227715564ffe44d0e7710a565d1e7c6b7a44801d3ce3e4 | /*
* 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")... | Java | src/test/gls/ch06/s05/testClasses/Tt1go.java | paulk-asert/groovy | apache-2.0 | 1,197 | 40 | codeparrot/github-code |
22bfd14db53936f069f80d2e43b0266ffc2ab9fdd6db8eb2b5baa5ea5709acc1 | /**
* Copyright 2014 Google Inc. 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 requir... | Java | java/src/java/com/google/mr4c/message/DefaultMessageHandler.java | rickyHong/RSparkMR4C | apache-2.0 | 1,149 | 38 | codeparrot/github-code |
cfb809e3fe9a2c13433fbad77af366b3f46cc3a17794641dc17ef59cb8b1ef19 | /*
Copyright 2015 Akexorcist
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
distrib... | Java | library/src/main/java/com/akexorcist/roundcornerprogressbar/TextRoundCornerProgressBar.java | first087/Android-RoundCornerProgressBar | apache-2.0 | 8,335 | 258 | codeparrot/github-code |
71a3d950256ee8e4778cb26a33e55439424f60ce7a2dfeefd37030d779ab5514 | using System.Windows;
using System.Windows.Documents;
using Microsoft.VisualStudio.PlatformUI;
using NuGet.VisualStudio;
namespace NuGet.Dialog.PackageManagerUI
{
/// <summary>
/// Interaction logic for LicenseAcceptanceWindow.xaml
/// </summary>
public partial class LicenseAcceptanceWindow... | C# | src/DialogServices/PackageManagerUI/LicenseAcceptanceWindow.xaml.cs | anurse/NuGet | apache-2.0 | 1,006 | 36 | codeparrot/github-code |
b43138393410be21b88b831c252120094ce19162e63b5d9d373c126914aafdc8 | //=======================================================================
// Copyright 2001 Jeremy G. Siek, Andrew Lumsdaine, Lie-Quan Lee,
//
// 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++ | libs/boost/libs/graph/example/reachable-loop-head.cpp | flingone/frameworks_base_cmds_remoted | apache-2.0 | 3,493 | 94 | codeparrot/github-code |
e7a95f91917e9ccce0ae6970b245734567a8fb36f2176b1bf16b915d22b72380 | /**
* Copyright 2017 The AMP HTML 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 require... | JavaScript | extensions/amp-analytics/0.1/test/test-iframe-transport.js | dotandads/amphtml | apache-2.0 | 8,537 | 258 | codeparrot/github-code |
6d106a1cb8da5a47bdb5f43731dd9da02e707507162c2661f9740ed8a7d21af9 | package org.zstack.header.host;
import org.zstack.header.message.NeedReplyMessage;
import org.zstack.header.vm.VmNicInventory;
import java.util.List;
public class AttachNicToVmOnHypervisorMsg extends NeedReplyMessage implements HostMessage {
private String vmInstanceUuid;
private String hostUuid;
privat... | Java | header/src/main/java/org/zstack/header/host/AttachNicToVmOnHypervisorMsg.java | SoftwareKing/zstack | apache-2.0 | 806 | 39 | codeparrot/github-code |
00318d640546b0ccd7058df63f0cf63b74bfbedffd5bfde03e9457fbe5c799a6 | <?php
/**
* Class used internally by Horde_Text_Diff to actually compute the diffs.
*
* This class is implemented using native PHP code.
*
* The algorithm used here is mostly lifted from the perl module
* Algorithm::Diff (version 1.06) by Ned Konz, which is available at:
* http://www.perl.com/CPAN/authors/id/N/N... | PHP | qa/inc/3rdparty/diff/Diff/Engine/Native.php | hemangsk/ipuhub | apache-2.0 | 16,119 | 443 | codeparrot/github-code |
452c827b96d75df1382e4e58d35acd0e7e9fa4cd2a3cf5ed97129b0fb1cdec4b | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#pragma once
// multi producer-multi consumer blocking queue.
// enqueue(..) - will block until room found to put the new message.
// enqueue_nowait(..) - will return immediately ... | C | thirdparty/spdlog/include/spdlog/details/mpmc_blocking_q.h | smacdo/Shiny | apache-2.0 | 3,529 | 121 | codeparrot/github-code |
caa3446b4479f09709d7162091c8594d324ec5662cd8c841124aa4c5bf0e616d | // Copyright 2016 Twitter. 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 applicable law... | Java | tools/java/src/com/twitter/bazel/checkstyle/JavaCheckstyle.java | objmagic/heron | apache-2.0 | 5,067 | 133 | codeparrot/github-code |
cdd4c02cc60d1787eaf534dbbe51ecd73e8ed7bb62e9312f68179d17992cc306 | /*
* Copyright 2010 The Closure Compiler 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 applicable... | Java | src/com/google/javascript/jscomp/JoinOp.java | weitzj/closure-compiler | apache-2.0 | 2,431 | 77 | codeparrot/github-code |
c9145cc18feeaede107332879c780ba66ee7d7edeea880c2e6112c7ebfa5ab83 | /**
src/base/omx_base_filter.c
OpenMAX Base Filter component. This component does not perform any multimedia
processing. It derives from base component and contains two ports. It can be used
as a base class for codec and filter components.
Copyright (C) 2007-2009 STMicroelectronics
Copyright (C) 2007-2009... | C | hardware/media/libomxil-bellagio/src/base/omx_base_filter.c | DroidModderXtreme/android_device_sony_nypon-2 | apache-2.0 | 13,367 | 283 | codeparrot/github-code |
7fcbd158f38395b1fa2c4590ee856ba6fc7b894534a229033bb0a7e3c6feef5a | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | Java | libs/x-content/src/main/java/org/elasticsearch/xcontent/ObjectParser.java | GlenRSmith/elasticsearch | apache-2.0 | 35,948 | 798 | codeparrot/github-code |
6b6da0b28b084cf44763d7ebc8e8b8ff6a2aeceee869f41f024e97a5fb304793 | module(...,package.seeall)
local utils = require('pf.utils')
local verbose = os.getenv("PF_VERBOSE");
local set, pp = utils.set, utils.pp
local relop_map = {
['<']='<', ['<=']='<=', ['=']='==', ['!=']='~=', ['>=']='>=', ['>']='>'
}
local relop_inversions = {
['<']='>=', ['<=']='>', ['=']='!=', ['!=']='=', ['... | Lua | lib/pflua/src/pf/backend.lua | dpino/snabbswitch | apache-2.0 | 13,167 | 400 | codeparrot/github-code |
58f882e60c204e6e09abdd6c47a7b81f25565f08a193fac1a4974e0a5257be2b | /***************************************************************************//**
* \file cy_dma.c
* \version 2.20
*
* \brief
* The source code file for the DMA driver.
*
********************************************************************************
* \copyright
* Copyright 2016-2019 Cypress Semiconductor Corporation
... | C | targets/TARGET_Cypress/TARGET_PSOC6/psoc6pdl/drivers/source/cy_dma.c | kjbracey-arm/mbed | apache-2.0 | 16,770 | 436 | codeparrot/github-code |
0544b10f0b6492b2106d109559a5eefecc202ab2c2d009f81bcd2d60b226e389 | /*
* Copyright (C) 2006-2013 Bitronix Software (http://www.bitronix.be)
*
* 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 requ... | Java | btm/src/main/java/bitronix/tm/resource/jdbc/proxy/JdbcCglibProxyFactory.java | brettwooldridge/btm | apache-2.0 | 11,137 | 270 | codeparrot/github-code |
89fd3c57f0e6d7e316ff9a3a75453fada189f547961c3330604a378931f58a87 | /* Copyright 2016 The TensorFlow 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 applicable law or a... | C++ | tensorflow/core/kernels/as_string_op.cc | adit-chandra/tensorflow | apache-2.0 | 6,260 | 173 | codeparrot/github-code |
5d7b8801eb3dc891365ce81127ad77e004352446663b7a4a2b66b59ce7f09716 | class Gmtl < Formula
desc "Lightweight math library"
homepage "https://ggt.sourceforge.io/"
head "https://svn.code.sf.net/p/ggt/code/trunk"
stable do
url "https://downloads.sourceforge.net/project/ggt/Generic%20Math%20Template%20Library/0.6.1/gmtl-0.6.1.tar.gz"
sha256 "f7d8e6958d96a326cb732a9d3692a3ff3... | Ruby | Formula/gmtl.rb | moderndeveloperllc/homebrew-core | bsd-2-clause | 2,858 | 80 | codeparrot/github-code |
ecb6116d49f2a42f4f731850406c3344a2ae00158784453e8e0235324932d15b | class Simde < Formula
desc "Implementations of SIMD intrinsics for systems which don't natively support them"
homepage "https://github.com/simd-everywhere/simde"
url "https://github.com/simd-everywhere/simde/archive/v0.7.2.tar.gz"
sha256 "366d5e9a342c30f1e40d1234656fb49af5ee35590aaf53b3c79b2afb906ed4c8"
licen... | Ruby | Formula/simde.rb | lemzwerg/homebrew-core | bsd-2-clause | 1,335 | 45 | codeparrot/github-code |
0e2d74882a914bbf6d01085ba67ec2f12baf9329e87e7934abca79292295c4dc | L.Map.include({
addControl: function (control) {
control.addTo(this);
return this;
},
removeControl: function (control) {
control.removeFrom(this);
return this;
},
_initControlPos: function () {
var corners = this._controlCorners = {},
l = 'leaflet-',
container = this._controlContainer =
... | JavaScript | src/map/ext/Map.Control.js | scottBrimberry/Leaflet-Smart-Package | bsd-2-clause | 703 | 31 | codeparrot/github-code |
d9f9c246152ad83a1cfde7423495ef62a8134672d9243de78ee75fc8d63ee51a | // Copyright 2014 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 "content/renderer/service_worker/embedded_worker_devtools_agent.h"
#include "content/child/child_thread.h"
#include "content/common/devtools_mes... | C++ | content/renderer/service_worker/embedded_worker_devtools_agent.cc | M4sse/chromium.src | bsd-3-clause | 2,247 | 64 | codeparrot/github-code |
924b22415fa54bbf71bbe3b2921175780ac3f62c1199db28b49e348116d0f00d | # stdlib
from collections import defaultdict
import time
# 3p
import psutil
# project
from checks import AgentCheck
from config import _is_affirmative
from utils.platform import Platform
DEFAULT_AD_CACHE_DURATION = 120
DEFAULT_PID_CACHE_DURATION = 120
ATTR_TO_METRIC = {
'thr': 'threads',
'cpu... | Python | checks.d/process.py | pfmooney/dd-agent | bsd-3-clause | 12,036 | 311 | codeparrot/github-code |
4fedba80ecd199bb917f31b082760deef0dbddb49238d346a8de088ddedf0640 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>DSpace Documentation : Application Layer</title>
<link rel="stylesheet" href="styles/site.css" type="text/css" />
<META http-equiv="Content-Type" content="text/html; chars... | HTML | dspace/docs/html/Application Layer.html | rnathanday/dryad-repo | bsd-3-clause | 50,008 | 578 | codeparrot/github-code |
074ec08eb941fd3c8f7fedc61aba5cf2369a26b4d487330388812f5f2b8141f9 | //@HEADER
// ************************************************************************
//
// Kokkos v. 2.0
// Copyright (2014) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retains certain rights in this software... | C++ | packages/kokkos/example/multi_fem/NonlinearElement_Cuda.hpp | nschloe/seacas | bsd-3-clause | 13,740 | 391 | codeparrot/github-code |
2bf94de25f149fe65868f92b455a6d21e034cf309a437b1c9d807857bba4b936 | --TEST--
Test script to verify that magic methods should be called only once when accessing an unset property.
--CREDITS--
Marco Pivetta <ocramius@gmail.com>
--FILE--
<?php
class Test {
public $publicProperty;
protected $protectedProperty;
private $privateProperty;
public function __construct() {
unset(
... | PHP | zend/bug63462.phpt | glayzzle/tests | bsd-3-clause | 1,615 | 75 | codeparrot/github-code |
bfc4b4586464c1ad7b34d8415d112f473eb5d8fb9c17020ff97307d588b9e512 | /*
* This file is part of the Soletta Project
*
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain ... | C | src/samples/common/platform-simple.c | gpaes/soletta | bsd-3-clause | 3,626 | 120 | codeparrot/github-code |
8c93cc5c6b3d705a69433393289ec8e2be0ae70b2c600ece5ec40a650cc50ad2 | package CPANPLUS::Module::Author::Fake;
use CPANPLUS::Module::Author;
use CPANPLUS::Internals;
use CPANPLUS::Error;
use strict;
use vars qw[@ISA];
use Params::Check qw[check];
@ISA = qw[CPANPLUS::Module::Author];
$Params::Check::VERBOSE = 1;
=pod
=head1 NAME
CPANPLUS::Module::Author::Fake - dummy a... | Perl | third_party/perl/perl/lib/CPANPLUS/Module/Author/Fake.pm | leighpauls/k2cro4 | bsd-3-clause | 1,738 | 81 | codeparrot/github-code |
bb2759fac741ca4fdb3e971fa094f220162f6ff8cf269a2eeda74ee43d446358 | // 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.
#ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_ITERATOR_H_
#define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_ITERATOR_H_
#include <iterator>
... | C | chromium/chrome/browser/ui/tab_contents/tab_contents_iterator.h | ric2b/Vivaldi-browser | bsd-3-clause | 3,334 | 108 | codeparrot/github-code |
6b037b80587dd28412838b0beea10a9c8f7d0266db735a422a47678504573775 | /*
** 2004 May 22
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
*************************... | C | third_party/sqlite/src/src/test6.c | endlessm/chromium-browser | bsd-3-clause | 32,372 | 1,104 | codeparrot/github-code |
af296f7dc454a97016577540a8503750ee38defff96c76fe031a6bdadc6ec454 | <?php
/**
* TextHelperTest file
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Red... | PHP | src/lib/Cake/Test/Case/View/Helper/TextHelperTest.php | nickpack/Methadone | mit | 12,551 | 338 | codeparrot/github-code |
bdd9862e01e33a0cec1a645536aff0be36b9995620d3053010aad721c59a4ad7 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Flat UI - Free User Interface Kit</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Loading Bootstrap -->
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
<!-- Loading Flat UI --... | HTML | www/resource/module/flat/index.html | wpfpizicai/knowledge | mit | 32,998 | 778 | codeparrot/github-code |
368e369ce432ca0ae2dd99bca4e3b5894f37eac8bb35d711542c57cf86d49082 | try:
from astropy.models import ParametricModel,Parameter,_convert_input,_convert_output
import numpy as np
class PowerLawModel(ParametricModel):
param_names = ['scale', 'alpha']
def __init__(self, scale, alpha, param_dim=1):
self._scale = Parameter(name='scale', val=scale, mcl... | Python | pyspeckit/spectrum/models/astropy_models.py | vlas-sokolov/pyspeckit | mit | 1,575 | 44 | codeparrot/github-code |
861f1d38466177c0b2c630fc614eacdf3a0fc9f4cff5c67069c8583a9335a8c9 | /**************************************
{
x:0, y:0, width:433,
min:1, max:25, step:1,
message: "rules/turns"
}
**************************************/
function Slider(config){
var self = this;
self.id = config.id;
// Create DOM
var dom = document.createElement("div");
dom.className = "slider";
dom.style.left... | JavaScript | js/core/Slider.js | maeriens/trust | cc0-1.0 | 3,494 | 141 | codeparrot/github-code |
1fe9b67e744d3e4ea1224ecfae17565bcb95303dd766a1c5c86f289bdf14a1e1 | package org.dolphinemu.dolphinemu.viewholders;
import android.view.View;
import android.widget.ImageView;
import androidx.leanback.widget.ImageCardView;
import androidx.leanback.widget.Presenter;
import org.dolphinemu.dolphinemu.model.GameFile;
/**
* A simple class that stores references to views so that the GameA... | Java | Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/viewholders/TvGameViewHolder.java | TwitchPlaysPokemon/dolphinWatch | gpl-2.0 | 765 | 33 | codeparrot/github-code |
105e8dedbdc1ec7fccea3cf556e2cf99b047a7326484e0a77fa70a0bfc95b193 | /**
* # Hooks & Filters
*
* This file contains all of the form functions of the main _inbound object.
* Filters and actions are described below
*
* Forked from https://github.com/carldanley/WP-JS-Hooks/blob/master/src/event-manager.js
*
* @author David Wells <david@inboundnow.com>
* @version 0.0.1
*... | JavaScript | wp-content/plugins/leads/shared/assets/js/frontend/analytics-src/analytics.hooks.js | cheayeam/wordpress | gpl-2.0 | 11,257 | 404 | codeparrot/github-code |
695fa91636915195573a0fc87de97013f57472fe4bf79386b648ef276033ea25 | /******************************************************
The transaction
(c) 1996 Innobase Oy
Created 3/26/1996 Heikki Tuuri
*******************************************************/
#include "trx0trx.h"
#ifdef UNIV_NONINL
#include "trx0trx.ic"
#endif
#include "trx0undo.h"
#include "trx0rseg.h"
#include "log0log.h"
... | C | storage/innobase/trx/trx0trx.c | suhailsherif/MySQL-5.1- | gpl-2.0 | 50,117 | 2,096 | codeparrot/github-code |
f940d9c045ef71edb2997b03e3f7e56bb5df88963747954e538943b6ccf06d66 | /*
* [The "BSD license"]
* Copyright (c) 2010 Terence Parr
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* ... | Java | submodules/externals/antlr3/tool/src/test/java/org/antlr/test/TestCompositeGrammars.java | helloiloveit/VkxPhoneProject | gpl-2.0 | 33,185 | 973 | codeparrot/github-code |
54f08f7dfb2be09fcca03770fb30fbfcef37520ec67ed6ac96a69590b2659119 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2015 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | C++ | src/NMEA/Acceleration.cpp | ahsparrow/xcsoar_orig | gpl-2.0 | 1,146 | 35 | codeparrot/github-code |
49bb21903d8f61890a2f2203607ee2125d7885a7d5dbbc9895c32f879432345d | <?php
/*
* main class of User Role Editor WordPress plugin
* Author: Vladimir Garagulya
* Author email: vladimir@shinephp.com
* Author URI: http://shinephp.com
* License: GPL v2+
*
*/
class User_Role_Editor {
// common code staff, including options data processor
protected $lib = null;
// plugin's S... | PHP | wp-content/plugins/user-role-editor/includes/class-user-role-editor.php | Mashpy/foraminul | gpl-2.0 | 35,852 | 1,002 | codeparrot/github-code |
9cbbe596045e6cd3b2361635c11d72f8dfd368b211aaef9f0199155da6becdca | /*
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either ver... | C | src/server/game/Entities/Vehicle/Vehicle.h | RaelZero/TrinityCore | gpl-2.0 | 5,301 | 136 | codeparrot/github-code |
9ad8912a188f2880c643e15661ee2db9db8ebaa67f168017bcf77f24911f50bd | package com.baidu.disconf.client.core.processor.impl;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.baidu.disconf.client.common.model.DisConfCommonModel;
import com.baidu.disconf.client.common.model.DisconfCenterItem;
import com... | Java | disconf-client/src/main/java/com/baidu/disconf/client/core/processor/impl/DisconfItemCoreProcessorImpl.java | fengshao0907/disconf | gpl-2.0 | 5,726 | 204 | codeparrot/github-code |
c16573ae3ab5a25dd23028ebb128b39bb530eeed85a3daec8cdc5689876bed00 | /*
* Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | Java | test/hotspot/jtreg/vmTestbase/nsk/jdi/ShortValue/compareTo/compareto001a.java | md-5/jdk10 | gpl-2.0 | 6,823 | 176 | codeparrot/github-code |
40ce6f3f0a61a24ef9439afb9a9d61c20b4027718cd91ce2a2721a77a0174e28 | /**@license boxplus image transition engine
* @author Levente Hunyadi
* @version 1.4.2
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/boxplus
**/
/*
* boxplus: a lightweight pop-up wi... | JavaScript | plugins/content/sigplus/engines/boxplus/slider/js/boxplus.transition.js | zincheto/Joomla-Online-Store | gpl-2.0 | 11,823 | 369 | codeparrot/github-code |
827a1354f5871fba0f24be150d180bf283b2c10da8b4cf4827503bf43e76a9a0 | /* ----------------------------------------------------------------------
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_temp_rescale.cpp | ramisetti/lammps | gpl-2.0 | 7,002 | 258 | codeparrot/github-code |
cd497ef1af8a29112324271542c013a7c4948d2da1f77fc36af88e2603fbb40b |
class CBA_Extended_EventHandlers;
class CfgVehicles {
// Static weapons
class LandVehicle;
class StaticWeapon: LandVehicle {
GVAR(canCarry) = 1;
GVAR(carryPosition)[] = {0,1.2,0};
GVAR(carryDirection) = 0;
GVAR(canDrag) = 1;
GVAR(dragPosition)[] = {0,1.2,0};
... | C++ | addons/dragging/CfgVehicles.hpp | NorXAengell/ACE3 | gpl-2.0 | 5,893 | 217 | codeparrot/github-code |
71e5848fabb6a778c9649dba16268b68866c4b3f2c7da85bce548ac1abb67780 | <html lang="en">
<head>
<title>Canonical format - Untitled</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Untitled">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="BFD-outline.html#BFD-outline" tit... | HTML | toolchain/share/doc/arm-arm-none-eabi/html/ld.html/Canonical-format.html | byeonggonlee/lynx-ns-gb | gpl-2.0 | 6,344 | 122 | codeparrot/github-code |
0d69d0d4922b2907eaa39b4ae790943b021bf483bed39e6177d033dc2e7a5559 | /*
ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
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 requi... | C | tracker/software/ChibiOS/os/hal/ports/STM32/STM32L1xx/hal_ext_lld_isr.c | DL7AD/pecanpico9 | gpl-3.0 | 9,490 | 397 | codeparrot/github-code |
9d5fcf120761fbc51c189f08dc3c19aa03267c79fee1c7d7c9f8227595a676c8 | // (C) Copyright Jonathan Turkanis 2003.
// 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.)
// See http://www.boost.org/libs/iostreams for documentation.
// Contains the definitions of the class templates gzip... | C++ | utils/3rdparty/matlab_bgl/matlab_bgl/libmbgl/yasmic/boost_mod/gzip.hpp | rojolocco/MRST2017a | gpl-3.0 | 21,026 | 644 | codeparrot/github-code |
0030debc1f3368c778b2e8cfa574e035561f98e071e389b608e5d40ca0d71a43 | #include "Copter.h"
// adjust_climb_rate - hold copter at the desired distance above the
// ground; returns climb rate (in cm/s) which should be passed to
// the position controller
float Copter::SurfaceTracking::adjust_climb_rate(float target_rate)
{
#if RANGEFINDER_ENABLED == ENABLED
// check tracking ... | C++ | ArduCopter/surface_tracking.cpp | squilter/ardupilot | gpl-3.0 | 4,893 | 124 | codeparrot/github-code |
3d24068a75b767fbba995dfa332b97a156ff175125edd7e378856758d4fa544e |
/* -*- c++ -*- */
/*
* Copyright 2012 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio 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 optio... | C | gr-blocks/lib/keep_one_in_n_impl.h | riveridea/gnuradio | gpl-3.0 | 1,487 | 54 | codeparrot/github-code |
10a235dc4ef7a4d1cdfa98c72729a8b4f91ccd8c2ec85caa47ad6a88dbbddb5b |
M.tool_assignmentupgrade = {
init_upgrade_table: function(Y) {
Y.use('node', function(Y) {
checkboxes = Y.all('td.c0 input');
checkboxes.each(function(node) {
node.on('change', function(e) {
rowelement = e.currentTarget.get('parentNode').get('par... | JavaScript | admin/tool/assignmentupgrade/module.js | bhaumik25php/ready2study | gpl-3.0 | 2,755 | 72 | codeparrot/github-code |
d5993628fb673c51946ab6d82b67f0ec93d20bbeed83365c41f158109c3b4bcc | /*
Copyright (C) 2014-2015 de4dot@gmail.com
This file is part of dnSpy
dnSpy 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 late... | C# | dnSpy/AsmEditor/Module/ModuleUtils.cs | zuloloxi/dnSpy | gpl-3.0 | 3,736 | 93 | codeparrot/github-code |
81c87f4d2496a1666cb7ed865a9d9dfea8512f79412d54d1bc56c88e3cf2d675 | // --
// Core.Agent.TableFilters.js - provides the special module functions for the dashboard
// Copyright (C) 2001-2011 OTRS AG, http://otrs.org/
// --
// This software comes with ABSOLUTELY NO WARRANTY. For details, see
// the enclosed file COPYING for license information (AGPL). If you
// did not receive this file, ... | JavaScript | var/httpd/htdocs/js/Core.Agent.TableFilters.js | noritnk/otrs | agpl-3.0 | 12,857 | 311 | codeparrot/github-code |
452ce62cd8800d37cb9fc7c4bfde2440e1b7dd9f3701354837e99d9a1daa2616 | /***************************************************************************
* Copyright (c) 2015 FreeCAD Developers *
* Author: WandererFan <wandererfan@gmail.com> *
* Based on src/Mod/FEM/Gui/DlgSettingsFEMImp.cpp *
* ... | C++ | src/Mod/TechDraw/Gui/DlgPrefsTechDrawDimensionsImp.cpp | sanguinariojoe/FreeCAD | lgpl-2.1 | 4,304 | 118 | codeparrot/github-code |
f924a1a7c18716bd3eab642e8e4f50265b90128d4040e9ee327db4e8f47437cd | /***************************************************************************
copyright : (C) 2002 - 2008 by Scott Wheeler
email : wheeler@kde.org
***************************************************************************/
/************************************************************... | C++ | taglib/mpeg/id3v2/frames/uniquefileidentifierframe.cpp | black78/taglib | lgpl-2.1 | 4,466 | 149 | codeparrot/github-code |
23a9b370279c1a63b7adc03e3a1f00728c8d796179c9da0113954a84afd4875b | /***************************************************************************
* Copyright (c) 2013 Werner Mayer <wmayer[at]users.sourceforge.net> *
* *
* This file is part of the FreeCAD CAx development system. *
* ... | C++ | src/Mod/Import/App/ImportOCAFAssembly.cpp | timthelion/FreeCAD | lgpl-2.1 | 10,993 | 326 | codeparrot/github-code |
f22f5820c5b6ac287c6482b82a27e0b023c0860a8bd4bbdd539f5bc6fd9ac7cb | package barqsoft.footballscores;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
public class MainActivity extends ActionBarActivity
{
public static int selected_match_id;
... | Java | football-scores/app/src/main/java/barqsoft/footballscores/MainActivity.java | vickychijwani/udacity-p3-super-duo | unlicense | 2,966 | 80 | codeparrot/github-code |
4fe73786ac1bacba0611540486770c8384f2943ae3a8f78ccc3f0557c90f72a7 | // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*-
// Copyright (c) 2005, 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 cod... | C | third-party/tcmalloc/gperftools-2.2/src/malloc_hook-inl.h | sungeunchoi/chapel | apache-2.0 | 12,317 | 316 | codeparrot/github-code |
0967afa329f400f80e64ea5b5f49bd43b537ed975d6f9304ea32041eebf408e2 | /**
* Copyright 2012 Twitter, 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 i... | Java | parquet-hadoop/src/main/java/parquet/hadoop/codec/SnappyDecompressor.java | liancheng/parquet-mr | apache-2.0 | 4,725 | 148 | codeparrot/github-code |
757ea54e6d457873ecd06f8574c7ca188e53c245bd8eff2d213378ea7ac019be | /**
* Copyright 2014 NAVER Corp.
* 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 ... | Java | profiler/src/test/java/com/navercorp/pinpoint/profiler/interceptor/bci/TestObjectNestedClass.java | dawidmalina/pinpoint | apache-2.0 | 1,898 | 88 | codeparrot/github-code |
85e6194d9d99ee7c2c9e9e00053f8ad6f7f2c0bec8db93cb58753749a49bd088 | /*
* Copyright (c) 2017, WSO2 Inc. (http://wso2.com) 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 re... | Java | sample-scenarios/backend/src/main/java/server/obj/Salary.java | jaadds/product-apim | apache-2.0 | 1,401 | 62 | codeparrot/github-code |
1acbbe7091137909ce3430de686254bc050a61d4f0319dd46dbdcdac463ddb97 | /**
* slider - jQuery EasyUI
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
* ... | JavaScript | webapp/static/lib/jquery-easyui-1.3.5/src/jquery.slider.js | OneFlying/searchweb | apache-2.0 | 9,989 | 369 | codeparrot/github-code |
9511de137bc8b1cb403b5f48b10a7bbf449d0ce8cadfd5dfe5512aba55835173 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.blogspot.na5cent.connectdb;
import com.blogspot.na5cent.connectdb.model.Department;
import com.blogspot.na5cent.connectdb.... | Java | connect-database/src/main/java/com/blogspot/na5cent/connectdb/S5QueryPagination.java | jittagornp/cpe4235 | apache-2.0 | 1,216 | 32 | codeparrot/github-code |
82fe637cb0795a04a5a5773c3a8626d58a4fe01a7f7cdcc3d937c2ddc04b277a | /*******************************************************************************
*
* Pentaho Big Data
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... | Java | legacy/src/main/java/org/pentaho/di/bigdata/ShimDependentPluginRegistryPlugin.java | pedrofvteixeira/big-data-plugin | apache-2.0 | 1,948 | 54 | codeparrot/github-code |
5b18325703906fa8e22c0a799d9d90bc8b00197e8c3ff197ba994b00dcdd8b74 | /*
* 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 | plugins/groovy/src/org/jetbrains/plugins/groovy/intentions/base/IntentionUtils.java | asedunov/intellij-community | apache-2.0 | 7,700 | 162 | codeparrot/github-code |
0b90e776066238f6747a55a19831e864cb8f266eef07873782210f654ce27d16 | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java | camel-core/src/main/java/org/apache/camel/component/properties/PropertiesComponent.java | arnaud-deprez/camel | apache-2.0 | 18,104 | 535 | codeparrot/github-code |
fc0269ca1f06307f1ada983bb4b28fe38e7e851ca6c8bf5a63cd0e5fe2b8d1a9 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyInOutFromSedaTest.java | nikhilvibhav/camel | apache-2.0 | 2,050 | 54 | codeparrot/github-code |
caf550d7726fc724c5a012ed57070c5e61202153d2d55113e74290260f41b494 | /* Copyright 2015 The TensorFlow 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 applicable law or a... | C | tensorflow/core/lib/hash/hash.h | neilhan/tensorflow | apache-2.0 | 1,424 | 48 | codeparrot/github-code |
14caadb9099bb1ee3329f5c340c55540f5b25dcd953f87f535cf7fe86ccbc6af | // Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.embedding.engine.mutatorsstack;
import android.graphics.Matrix;
import android.graphics.Path;
import android.graphics.Rect;
import andr... | Java | shell/platform/android/io/flutter/embedding/engine/mutatorsstack/FlutterMutatorsStack.java | rmacnak-google/engine | bsd-3-clause | 6,643 | 218 | codeparrot/github-code |
4cb4fb0eafa7b4073989ba08acf71bff9f3ca5f6a46d7de48f0177e0f4843cec | /*
* Copyright (C) 2015 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 | third_party/WebKit/public/platform/WebRTCKeyParams.h | hujiajie/chromium-crosswalk | bsd-3-clause | 3,165 | 94 | codeparrot/github-code |
a2013df5fbb5fa25f63f5d482d6a67f27648ce4998a2606f1e00d78ec6cc323c | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | C++ | Modules/US/USNavigation/Filter/mitkNavigationDataPassThroughFilter.cpp | NifTK/MITK | bsd-3-clause | 1,482 | 48 | codeparrot/github-code |
e22fb25d7d1ca38acb110feac96ba9462cf6ac5ee614e6599f3f4b68ea91f5ab | /*
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is goverened by a BSD-style
* license that can be found in the LICENSE file.
*/
suite('ChildNodeInterface', function() {
function getTree() {
var tree = {};
var div = tree.div = document.createElement('div');
div... | JavaScript | test/js/ChildNodeInterface.js | modulexcite/ShadowDOM | bsd-3-clause | 1,975 | 67 | codeparrot/github-code |
566e93d7824fbbde4d52132b3515e0157d39186d93b4a76f92b1e6a65c6fabd2 | # 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.
import code
import cpp_util
from model import Platforms
from schema_util import CapitalizeFirstLetter
from schema_util import JsFunctionNameToClassName
... | Python | tools/json_schema_compiler/cpp_bundle_generator.py | boundarydevices/android_external_chromium_org | bsd-3-clause | 11,513 | 317 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.