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 |
|---|---|---|---|---|---|---|---|---|
7335d0186c3aef88d5f6f5aaab4f78d160ba7d3cd839f71da6e6f3617954122e | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.Protocols.TestTools.StackSdk.Messages.Marshaling
{
... | C# | ProtoSDK/Messages/messagecommon/Token.cs | dongruiqing/WindowsProtocolTestSuites | mit | 1,525 | 71 | codeparrot/github-code |
ae4122733d27294a49b1211dc1591be276a599af8d9850d43e3474033ca495f3 | #include "wrapper_common.h"
#include "cblas.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/*
Capability is supported if >0
Actual number can be increased over time to indicate
extensions/revisions (that do not break compatibility)
*/
DLLEXPORT int query_capability(const int capability)
{
sw... | C++ | src/NativeProviders/OpenBLAS/capabilities.cpp | albertp007/mathnet-numerics | mit | 1,308 | 79 | codeparrot/github-code |
83cb3787e70b6f7ee4419e77e9ae1b18e9a6f2dc605fbce127e176d8a4b1864b | <?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2015, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... | PHP | system/database/DB_forge.php | wms-code/CodeIgniter-admin | mit | 23,953 | 1,033 | codeparrot/github-code |
b8dd7119930bcb396a5979cf778d39a12dbb91a104afdb00152716b4d24b73c2 | // ------------------------------------------------------------------------------
//The MIT License(MIT)
//Copyright(c) 2015 Office Developer
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software... | C# | Solutions/Tenant Information Portal/src/Microsoft.Online.Applications.Core/ServiceProvider.cs | jansenbe/PnP-Tools | mit | 2,636 | 61 | codeparrot/github-code |
594bd0b8728bdefb41eb87be82f91f8d4781d60c9cd60ef1e29d19e4189f1247 | import { Quaternion } from '../math/Quaternion';
import { Vector3 } from '../math/Vector3';
import { Matrix4 } from '../math/Matrix4';
import { EventDispatcher } from './EventDispatcher';
import { Euler } from '../math/Euler';
import { Layers } from './Layers';
import { Matrix3 } from '../math/Matrix3';
import { _Math ... | JavaScript | src/core/Object3D.js | carlosanunes/three.js | mit | 13,558 | 770 | codeparrot/github-code |
c09488bf7c038e4471ba977d72dc3c56a5e07279df532d065c4309e2211f5a29 | /* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2001-2020 Intel Corporation
*/
/*
* 82542 Gigabit Ethernet Controller
*/
#include "e1000_api.h"
STATIC s32 e1000_init_phy_params_82542(struct e1000_hw *hw);
STATIC s32 e1000_init_nvm_params_82542(struct e1000_hw *hw);
STATIC s32 e1000_init_mac_params_825... | C | drivers/net/e1000/base/e1000_82542.c | john-mcnamara-intel/dpdk | mit | 14,510 | 562 | codeparrot/github-code |
3cd6e4cd4c44a20ace7f99960db240100451c809a6e2533544736711e53a69de | require 'gmail_xoauth'
module Gmail
module Client
class XOAuth < Base
attr_reader :token
attr_reader :secret
attr_reader :consumer_key
attr_reader :consumer_secret
def initialize(username, options={})
@token = options.delete(:token)
@secret = opti... | Ruby | lib/gmail/client/xoauth.rb | jamescallmebrent/gmail | mit | 1,692 | 56 | codeparrot/github-code |
c5e93232ebea5d87d1d1d1d88f8fe090dcbeaf9216fcec16a030fe14b04eb09d | //===-- X86ELFObjectWriter.cpp - X86 ELF Writer ---------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C++ | llvm-3.3/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp | dbrumley/recfi | mit | 7,285 | 228 | codeparrot/github-code |
242222c011ba89ae8170ff22a34343db4f78b1b143154f9ad878bc8c30238df0 | /*******************************************************************************
* Copyright (c) 2012-2017 Codenvy, S.A.
* 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 ... | Java | core/che-core-api-core/src/main/java/org/eclipse/che/api/core/util/UnixProcessManager.java | gazarenkov/che-sketch | epl-1.0 | 5,909 | 184 | codeparrot/github-code |
c58774e542144748ba74739f8e13e680a23595f21d7cb3d754e778e98de45169 | /*******************************************************************************
* Copyright (c) 2012-2017 Codenvy, S.A.
* 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 ... | Java | ide/che-core-ide-ui/src/main/java/org/eclipse/che/ide/ui/toolbar/MenuLockLayer.java | gazarenkov/che-sketch | epl-1.0 | 3,234 | 98 | codeparrot/github-code |
e72ec242dd2676e1f57f3cc7e093041f0e9ca500085870cbc096cf1b5ac6d033 | /*
* Copyright (C) 2010 ENAC
*
* This file is part of paparazzi.
*
* paparazzi is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* paparazzi... | C | sw/airborne/modules/ins/xsens700.h | HWal/paparazzi | gpl-2.0 | 1,884 | 85 | codeparrot/github-code |
31383355fcc97ab3c0a6aa8d6849e1751bab7989521e8faf7ab48b1c31262e8f | /*
* Intel MID (Langwell/Penwell) USB OTG Transceiver driver
* Copyright (C) 2008 - 2010, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*... | C | include/linux/usb/intel_mid_otg.h | trevd/android_kernel_samsung_santos10 | gpl-2.0 | 5,910 | 218 | codeparrot/github-code |
817e0055d8a2abfcf039e63efc7ca3008f2a398090a78ff554478d8532d55ad8 | /*
* linux/kernel/printk.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* Modified to make sys_syslog() more flexible: added commands to
* return the last 4k of kernel messages, regardless of whether
* they've been read or not. Added option to suppress kernel printk's
* to the console. Added hook for send... | C | kernel/printk.c | glfernando/linux-kernel-ipc | gpl-2.0 | 32,592 | 1,303 | codeparrot/github-code |
da62584bf0f021befa6d587919d67bbc6495fe546f93fd57e80630237e023089 | /*
* Copyright (C) 2008-2013 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 GNU General Public License as published by the
* Free Software ... | C++ | src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_ouro.cpp | Sakratus/TC-Cata | gpl-2.0 | 4,415 | 148 | codeparrot/github-code |
bc99720001f3dac4edb786a8bcd3f775d8ae304c0f8793fde97026068a2c6dc5 | /*
* Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
* Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public Licen... | C | fs/gfs2/aops.c | bcnice20/android-kernel-common | gpl-2.0 | 30,429 | 1,180 | codeparrot/github-code |
634677050fe7a7b0fd015b7d293afc4d2f3104673fb7887aae236c280533dd08 | /* -*- c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
Copyright(C) 2010 Tetsuro IKEDA
Copyright(C) 2010-2013 Kentoku SHIBA
Copyright(C) 2011-2017 Kouhei Sutou <kou@clear-code.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Li... | C++ | storage/mroonga/udf/mrn_udf_last_insert_grn_id.cpp | MariaDB/server | gpl-2.0 | 1,726 | 56 | codeparrot/github-code |
38c3e0de08d348722f5f5881fa6f5831c0e426074ae693034dc3500369c2813e | <?php
/**
* @version $Id$
* @package JSNExtension
* @subpackage TPLFramework
* @author JoomlaShine Team <support@joomlashine.com>
* @copyright Copyright (C) 2012 JoomlaShine.com. All Rights Reserved.
* @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
*
* Websites: http:/... | PHP | plugins/system/jsntplframework/libraries/joomlashine/template/tmpl/default.php | k-yar/jadis | gpl-2.0 | 20,798 | 548 | codeparrot/github-code |
1ab913d49448ab7fe7fac544090458dfea8360551f9c7e7cd8a632ba73678016 | /*
8139too.c: A RealTek RTL-8139 Fast Ethernet driver for Linux.
Maintained by Jeff Garzik <jgarzik@pobox.com>
Copyright 2000-2002 Jeff Garzik
Much code comes from Donald Becker's rtl8139.c driver,
versions 1.13 and older. This driver was originally based
on rtl8139.c version 1.07. Header of rtl8139.c versio... | C | drivers/net/8139too.c | milaq/linux-hpc | gpl-2.0 | 70,963 | 2,639 | codeparrot/github-code |
c2b4f362b2b067b5dafc3d02608585a1afe590c151247b5f78b34446d784c20c | /*
This file is part of cpp-ethereum.
cpp-ethereum 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.
cpp-ethereum is distributed in the... | C++ | microsip/blockchain/libp2p/Common.cpp | ZiberLTD/windows | gpl-2.0 | 9,256 | 266 | codeparrot/github-code |
d722dfbc95298d5fd12387b1258f93b823aa71f6f6bc4e6f376eeca7700f7004 | /*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* Generic socket support routines. Memory allocators, socket lock/release
* handler for protocols to use and g... | C | net/core/sock.c | tgraf/net-next | gpl-2.0 | 78,117 | 3,126 | codeparrot/github-code |
88f770868e12682714942b2a69a420bfe936be15858952e1c9dd6567ff9eb396 | /*
* focuser driver.
*
* Copyright (C) 2010 LGE Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/
#include <linux/delay.h>
#include <linux/fs.h>
#include <linux/i2... | C | drivers/media/video/tegra/ar0832_focuser.c | carburano/KingOfBirds_Kernel | gpl-2.0 | 6,171 | 242 | codeparrot/github-code |
eb654eb27c07e1577cd03a926934a2d9263e8876ff86b1f99c91face71b11394 | /* Linux-dependent part of branch trace support for GDB, and GDBserver.
Copyright (C) 2013-2017 Free Software Foundation, Inc.
Contributed by Intel Corp. <markus.t.metzger@intel.com>
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of t... | C | gdb/nat/linux-btrace.h | totalspectrum/binutils-propeller | gpl-2.0 | 3,526 | 126 | codeparrot/github-code |
a117ff5bbdcc6484affb5472b46d1f397854c20d5b81c5b9c228aeb5dd9db1fd | /*
* 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)
*
* Copyright (c) 2011 Helge Bahmann
* Copyright (c) 2013 Tim Blechmann
* Copyright (c) 2014 Andrey Semashev
*/
/*!
* \file atomic/detail/atomic_template... | C++ | third_party/boost_1_65_1/boost/atomic/detail/atomic_template.hpp | jack8z/TODOP | gpl-2.0 | 30,415 | 728 | codeparrot/github-code |
46e512da0ced2f59767619b927adfde70f9c25288f58162f8a2ec938038af3ec | /*
* arch/arm/mach-tegra/pm-t3.c
*
* Tegra3 SOC-specific power and cluster management
*
* Copyright (c) 2009-2011, NVIDIA Corporation.
*
* 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; ... | C | arch/arm/mach-tegra/pm-t3.c | Galaxian-Soup/android_kernel_asus_tf300t | gpl-2.0 | 12,299 | 445 | codeparrot/github-code |
37a34e5eacebc6cc8fe9bbbf81875982b9f902dbe1c1907fe5f3c3e8aab5af9c | /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/***
This file is part of systemd.
Copyright 2010 Lennart Poettering
systemd 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... | C | src/core/selinux-setup.c | flonatel/systemd-pne1 | gpl-2.0 | 3,884 | 128 | codeparrot/github-code |
5909c1f24acb16e854f01a9a5ad3856904cbd66760b7412b129429d8b360f8a1 | <?php
/**
* This module contains the XRDS parsing code.
*
* PHP versions 4 and 5
*
* LICENSE: See the COPYING file included in this distribution.
*
* @package OpenID
* @author JanRain, Inc. <openid@janrain.com>
* @copyright 2005-2008 Janrain, Inc.
* @license http://www.apache.org/licenses/LICENSE... | PHP | tmp/install_5680f69da1732/install_5680f6ab093c2/assets/yahoo-yos-social/lib/OpenID/Auth/Yadis/XRDS.php | IYEO/Sweettaste | gpl-2.0 | 14,321 | 478 | codeparrot/github-code |
56ea96d025ee0b8e7088512a716e48ebcc6aa39d77f7b953f0597b59122bfecc | /*
* Copyright (c) 2015, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | Java | jdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/EncodedGraph.java | YouDiSN/OpenJDK-Research | gpl-2.0 | 2,807 | 85 | codeparrot/github-code |
57d6037c586e0555b32046ad7783740a34bc0eb567ce8ae922808974de812caa | //
// MessagePack for C++ static resolution routine
//
// Copyright (C) 2008-2009 FURUHASHI Sadayuki
//
// 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)
//
#ifndef MSGPACK_TYPE_NIL_HPP
#define MSGPACK_TYP... | C++ | msgpack-c/include/msgpack/adaptor/nil.hpp | scraperwiki/pdf2msgpack | gpl-2.0 | 1,885 | 91 | codeparrot/github-code |
22e03cc0489d7356c3705e67cc73be17cd318815fafa95754fa594748ae4696a | /* FCE Ultra - NES/Famicom Emulator
*
* Copyright notice for this file:
* Copyright (C) 2002 Xodnizel
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, o... | C++ | src/netplay.cpp | zear/fceu320-rzx50 | gpl-2.0 | 7,392 | 327 | codeparrot/github-code |
2e53d0610354a678fad030e1b2aeef5e997e5a38342a92deb7a1e7bb8ec81224 | #ifndef _LINUX_SEQ_FILE_H
#define _LINUX_SEQ_FILE_H
#include <linux/types.h>
#include <linux/string.h>
#include <linux/bug.h>
#include <linux/mutex.h>
#include <linux/cpumask.h>
#include <linux/nodemask.h>
struct seq_operations;
struct file;
struct path;
struct inode;
struct dentry;
struct user_namespace;
struct seq... | C | linux-3.14.37/include/linux/seq_file.h | AdaLovelance/lxcGrsecKernels | gpl-2.0 | 6,168 | 204 | codeparrot/github-code |
64610ce7f8c7ea2f6c787009a0dc83795be35f7da688478c3b92d4a5538564fe | /*
* Copyright 2006-2015 The MZmine 2 Development Team
*
* This file is part of MZmine 2.
*
* MZmine 2 is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at yo... | Java | src/main/java/net/sf/mzmine/modules/peaklistmethods/peakpicking/deconvolution/savitzkygolay/SGDerivative.java | DrewG/mzmine2 | gpl-2.0 | 2,508 | 83 | codeparrot/github-code |
40efcba34a28fc7dee56c7f20ca6541d792c13e123452ac129872b5211706df0 | /* This testcase is part of GDB, the GNU debugger.
Contributed by Intel Corp. <keven.boell@intel.com>
Copyright 2014-2017 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free So... | C | gdb/testsuite/gdb.mi/vla.c | totalspectrum/binutils-propeller | gpl-2.0 | 982 | 38 | codeparrot/github-code |
5e600dac7a26d736b78c09e4cf5d8183b0cc1b53dadc40999c1a92eb80559141 | /* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_POWERPC_CPUTABLE_H
#define __ASM_POWERPC_CPUTABLE_H
#include <linux/types.h>
#include <uapi/asm/cputable.h>
#include <asm/asm-const.h>
#ifndef __ASSEMBLY__
/* This structure can grow, it's real size is used by head.S code
* via the mkdefs mechanism.
*/
struct c... | C | arch/powerpc/include/asm/cputable.h | Fe-Pi/linux | gpl-2.0 | 23,577 | 619 | codeparrot/github-code |
53b3225ecc1837c7c5b33c417d4c473b4a21d4f8d5ccdf825bf30124a3e89c34 | /*
* aQuantia Corporation Network Driver
* Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*... | C | drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c | animalcreek/linux | gpl-2.0 | 13,329 | 576 | codeparrot/github-code |
cf54e9c588b595ff672d83132652e2b7a810c22b5d242d96dde0d2e9248af057 | // license:BSD-3-Clause
// copyright-holders:Krzysztof Strzecha, Miodrag Milanovic
/***************************************************************************
Galaksija driver by Krzysztof Strzecha and Miodrag Milanovic
22/05/2008 Tape support added (Miodrag Milanovic)
21/05/2008 Galaksija plus initial support (Miodr... | C++ | src/mame/drivers/galaxy.cpp | RJRetro/mame | gpl-2.0 | 12,956 | 276 | codeparrot/github-code |
9d4d9098321113996ce32a00804f9228dcce5bab1baa31c63718e0d35e44bddf | /* $Id: gazel.c,v 2.19.2.4 2004/01/14 16:04:48 keil Exp $
*
* low level stuff for Gazel isdn cards
*
* Author BeWan Systems
* based on source code from Karsten Keil
* Copyright by BeWan Systems
*
* This software may be used and distributed according to the terms
* of the GNU General Publ... | C | linux-2.6.17.new/drivers/isdn/hisax/gazel.c | zrafa/linuxkernel | gpl-2.0 | 16,305 | 691 | codeparrot/github-code |
9ff5ff5edcf75eb90fdcbc92abc556aa3f5840dd4cff959011a22cd5e5edba70 | /*
* arch/x86/kernel/nmi-selftest.c
*
* Testsuite for NMI: IPIs
*
* Started by Don Zickus:
* (using lib/locking-selftest.c as a guide)
*
* Copyright (C) 2011 Red Hat, Inc., Don Zickus <dzickus@redhat.com>
*/
#include <linux/smp.h>
#include <linux/cpumask.h>
#include <linux/delay.h>
#include <linux/init.h>
#... | C | arch/x86/kernel/nmi_selftest.c | danielgpalmer/linux-picosam9g45 | gpl-2.0 | 4,533 | 183 | codeparrot/github-code |
8af97fb895ad396353c39c767af265a9d25a94521ecda112c8d5ebfa7ca1ab6f | #ifndef MTL_ORIEN_H
#define MTL_ORIEN_H
namespace mtl {
struct row_orien;
struct column_orien;
struct row_major;
struct column_major;
//: Row Orientation
// This is used in matrix_implementation and in the indexer objects
// to map (row,column) to (major,minor).
struct row_orien {
template <int MM, int NN> struct ... | C | src_without_LF/libsesctherm/mtl/orien.h | dilawar/sesc | gpl-2.0 | 1,568 | 53 | codeparrot/github-code |
242b370e0a2ae0420c02932716d9c00d2b96351866419ef88ab8703051f655ee | /* 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/lastexpress/entities/pascale.cpp | MaddTheSane/scummvm | gpl-2.0 | 31,531 | 1,231 | codeparrot/github-code |
9828c83a17abb400e220ede329c027747ce60541b8ced7325be0b605f7725a28 | /* Copyright (C) 2002-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the ... | C | uefi/userspace/glibc/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h | SanDisk-Open-Source/SSD_Dashboard | gpl-2.0 | 42,363 | 1,193 | codeparrot/github-code |
065859f7af6d20186930b63cb530135806473f6586e339babf8827af29c89a92 | /*
* Copyright (C) 2002-2015 The DOSBox Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This p... | C++ | src/debug/debug_gui.cpp | danielrh/dosbox3d | gpl-2.0 | 8,366 | 291 | codeparrot/github-code |
25006a98c4ce0f4f1b3d2dd7d75d3e2f6337b5e73c61f10e6803d8280f8363f4 | /*
* drivers/gpu/drm/omapdrm/omap_plane.c
*
* Copyright (C) 2011 Texas Instruments
* Author: Rob Clark <rob.clark@linaro.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
... | C | drivers/gpu/drm/omapdrm/omap_plane.c | ninjablocks/kernel-VAR-SOM-AMxx | gpl-2.0 | 12,702 | 480 | codeparrot/github-code |
3abdda56c5a8c9c95c4910a9adfd0c0e099868dd4bd22dd7d5ce1f72cb6bbab2 | function widget:GetInfo()
return {
name = "Lua Metal Decals",
desc = "Draws a decal on each metal spot",
author = "Bluestone (based on the Lua Metal Spots widget by Cheesecan)",
date = "April 2014",
license = "GPL v3 or later",
layer = 5,
enabled = true -- loaded by default?
... | Lua | LuaUI/Widgets/gfx_dynamic_metal.lua | RyMarq/Zero-K | gpl-2.0 | 1,810 | 72 | codeparrot/github-code |
3d05d38bfab633708d1a223b2e548d09af3f7b296a7252b1b83070b5edc5c6ec | #include "git-compat-util.h"
#include "cache.h"
#include "branch.h"
#include "refs.h"
#include "remote.h"
#include "commit.h"
#include "worktree.h"
struct tracking {
struct refspec spec;
char *src;
const char *remote;
int matches;
};
static int find_tracked_branch(struct remote *remote, void *priv)
{
struct trac... | C | git/branch.c | formorer/pkg-cgit | gpl-2.0 | 8,331 | 325 | codeparrot/github-code |
f18d5362bc56d028b7c17b179c7ab995bf1bd019fe20d260ed87b6e8c1f4e726 | /* Copyright (c) 2009-2011, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the ho... | C | arch/arm/mach-msm/include/mach/camera-tenderloin.h | chucktr/android_kernel_htc_msm8960 | gpl-2.0 | 12,982 | 493 | codeparrot/github-code |
010def4ccd297b74bae38f39c0244a13ad56781fea6ce0cdfb4ef8540ef63476 | /***************************************************************************
qgsalgorithmlayouttopdf.cpp
---------------------
begin : June 2020
copyright : (C) 2020 by Nyall Dawson
email : nyall dot dawson at gmail d... | C++ | src/analysis/processing/qgsalgorithmlayouttopdf.cpp | NaturalGIS/naturalgis_qgis | gpl-2.0 | 9,906 | 203 | codeparrot/github-code |
a1549256bec0decaf2aeb2e15f1e308569fe29e5c79cbabf7b0dcafcf2498e54 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | PHP | web/lib/Zend/Tool/Project/Context/Zf/TestLibraryFile.php | T0MM0R/magento | gpl-2.0 | 3,128 | 108 | codeparrot/github-code |
62b003cac07ff3ef99afa3ac987b6615002de83f31764709df81f28aa462dcbd |
/*--------------------------------------------------------------------*/
/*--- Signal-related libc stuff. m_libcsignal.c ---*/
/*--------------------------------------------------------------------*/
/*
This file is part of Valgrind, a dynamic binary instrumentation
framework.
Copyright ... | C | coregrind/m_libcsignal.c | bmerry/datagrind | gpl-2.0 | 17,995 | 560 | codeparrot/github-code |
7c11461f0eb66577379d35a1fd006fd643053d12324b791f043460952202eaa8 | /**
* This file contains JS functionality required by mforms and is included automatically
* when required.
*/
// Namespace for the form bits and bobs
M.form = M.form || {};
/**
* Initialises the show advanced functionality and events.
* This should only ever happen ONCE per page.
*
* @param {YUI} Y
* @param ... | JavaScript | web/lib/form/form.js | dhamma-dev/SEA | gpl-3.0 | 12,220 | 304 | codeparrot/github-code |
5b0243bed381c5eae3044eef4e3c226877e31e7a5336296d15f5f535945e5788 | // ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2015 Andreas Huggel <ahuggel@gmx.net>
*
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public... | C++ | vendors/exiv2-0.25/include/exiv2/asfvideo.hpp | gnidorah/xpiks | gpl-3.0 | 6,875 | 186 | codeparrot/github-code |
d8c225e91c471a42648ec285448165550669c24c0e54ff85d7c320dc22f7ee0a | <?php
/**
* @package Mautic
* @copyright 2014 Mautic Contributors. All rights reserved.
* @author Mautic
* @link http://mautic.org
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
namespace Mautic\EmailBundle\EventListener;
use Mautic\ConfigBundle\ConfigEvents;
use Mautic\C... | PHP | app/bundles/EmailBundle/EventListener/ConfigSubscriber.php | chandon/mautic | gpl-3.0 | 3,706 | 102 | codeparrot/github-code |
a525eca6dea1181804ee68cb6e09799d644cc5754784dda7a153c824f6780445 | /* keydb.h - Key database
* Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
* GnuPG 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... | C | thirdparty/gnupg-2.0.22/sm/keydb.h | TextusData/Mover | gpl-3.0 | 3,104 | 87 | codeparrot/github-code |
5e69f267a7a60f54ca0ac245e0c68741ad7e156b3bbba9db752baaee5b7a7a84 | /* refchg.f -- translated by f2c (version 19980913).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "f2c.h"
/* Table of constant values */
static integer c__2 = 2;
/* $Procedure REFCHG (Reference frame Change) */
/* Subroutine */ int refchg_(integer *fra... | C | src/third_party/cspice/refchg.c | darioizzo/pykep | gpl-3.0 | 24,383 | 692 | codeparrot/github-code |
0e3cfb5444e0c5a79bfa6e5607dfea56d8ba9007b391075fd77e50a6379135d1 | package org.thoughtcrime.securesms.video;
import android.media.MediaDataSource;
import androidx.annotation.NonNull;
import androidx.annotation.RequiresApi;
import org.thoughtcrime.securesms.crypto.AttachmentSecret;
import org.thoughtcrime.securesms.crypto.ClassicDecryptingPartInputStream;
import org.thoughtcrime.sec... | Java | src/org/thoughtcrime/securesms/video/ClassicEncryptedMediaDataSource.java | jtracey/Signal-Android | gpl-3.0 | 1,585 | 55 | codeparrot/github-code |
13f193e82de4f009bf38eef2f4eecee731825788e03929bb2f063108e0d8b6a1 | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright: (c) 2018, F5 Networks Inc.
# 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': '1.1',
... | Python | lib/ansible/modules/network/f5/bigip_ike_peer.py | yfried/ansible | gpl-3.0 | 25,483 | 773 | codeparrot/github-code |
b4836a05611b1a570c001bb87be071d7a46b64a8fb6f7fa8a5e9fe3895990a18 |
/*
* The JTS Topology Suite is a collection of Java classes that
* implement the fundamental operations required to validate a given
* geo-spatial data set to a known topological specification.
*
* Copyright (C) 2001 Vivid Solutions
*
* This library is free software; you can redistribute it and/or
*... | Java | src/TerrainGIS/src/com/vividsolutions/jts/index/chain/MonotoneChainBuilder.java | Jules-/terraingis | gpl-3.0 | 4,504 | 140 | codeparrot/github-code |
9d51d658475e4bf88fe21a1c5a4fb1afd96c7fcf220e73a93fa6fd5afbdac35a | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
\\ / O peration |
\\ / A nd | For copyright notice see file Copyright
\\/ M anipulation |
---------------------... | C++ | applications/utilities/postProcessing/dataConversion/foamToVTK/writeFunsTemplates.C | WensiWu/openfoam-extend-foam-extend-3.1 | gpl-3.0 | 5,008 | 195 | codeparrot/github-code |
0c43dd5820faae1234dcc0367e733243853d8371b266c53c8d6bb75849704705 | ########################################################################
# $HeadURL$
# File: ReqProxyHandler.py
# Author: Krzysztof.Ciba@NOSPAMgmail.com
# Date: 2013/06/04 13:18:41
########################################################################
"""
:mod: RequestProxyHandler
.. module: ReqtProxyHandler
:syn... | Python | RequestManagementSystem/Service/ReqProxyHandler.py | Sbalbp/DIRAC | gpl-3.0 | 7,200 | 197 | codeparrot/github-code |
fd0b6242357abb727fb56d4f0faaae26dfe0f726ff1d1ea3c4e2acb3ea2cf0a6 | /**
* Aptana Studio
* Copyright (c) 2005-2012 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.ui.io/src/com/aptana/ide/ui/io/navigator/ProjectExplorerContentProvider.java | HossainKhademian/Studio3 | gpl-3.0 | 3,028 | 112 | codeparrot/github-code |
e8a99cfde4e43a95e68b2e568a943f792f09c4fb866b0d7c4c20e68fcf9a9086 | ---------------------------------------------
-- Stasis
--
-- Description: Paralyzes targets in an area of effect.
-- Type: Enfeebling
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: 10' radial
-- Notes:
---------------------------------------------
require("scripts/globals/settings");
require("scripts/global... | Lua | scripts/globals/mobskills/Stasis.lua | greasydeal/darkstar | gpl-3.0 | 912 | 35 | codeparrot/github-code |
444035534783ac2e56ac06371cffd0dd2b9ad8e4d2b10191a0039cf656d31f82 | /* This file is part of VoltDB.
* Copyright (C) 2008-2015 VoltDB Inc.
*
* 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 Software Foundation, either version 3 of the
* License, or (at your option) any la... | Java | src/frontend/org/voltdb/groovy/Tuplerator.java | wolffcm/voltdb | agpl-3.0 | 5,058 | 172 | codeparrot/github-code |
21a1e52ac81d7469ced37c134a2b830249bc63e01a9c26a991d1a54a2cc1d4f5 | /**
* Copyright 2007-2015, Kaazing Corporation. 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... | Java | driver/src/main/java/org/kaazing/k3po/driver/internal/behavior/handler/codec/http/HttpStatusEncoder.java | mgherghe/k3po | agpl-3.0 | 2,014 | 52 | codeparrot/github-code |
5462ec09822f0d5058f2471717a0a84abe63c7eefa2fe19169ba6d25a607a936 | /*
* Slimey - SLIdeshow Microformat Editor - http://slimey.sourceforge.net
* Copyright (C) 2007 - 2008 Ignacio de Soto
*
* Base Action definitions.
*/
/**
* abstract class SlimeyAction - Actions on the editor
* name: name of the action
*/
var SlimeyAction = function(name, slimey) {
this.name... | JavaScript | public/assets/javascript/slimey/actions.js | maestrano/fengoffice | agpl-3.0 | 14,292 | 543 | codeparrot/github-code |
efea665d0352f5a11c05a808ae5e19eab54829763983e27646c51f2e4b8f14d6 | /*
* httpconnect.h - HTTP "CONNECT" proxy
* Copyright (C) 2003 Justin Karneges
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your o... | C | src/irisnet/noncore/cutestuff/httpconnect.h | harishnavnit/iris | lgpl-2.1 | 1,762 | 66 | codeparrot/github-code |
298dd5e2a400bd8584aeecb749d6375e7bc8eebd85f46d9a5830ac6b98ab6004 | /*
* Copyright (C) 2004, 2008 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | C++ | webkit/Source/WebCore/platform/cf/KURLCFNet.cpp | nawawi/wkhtmltopdf | lgpl-3.0 | 3,741 | 107 | codeparrot/github-code |
c23db2e67cf7cdde894fd03bf3f2206f577da282862986398ef726b6012a9b03 | from __future__ import unicode_literals
import re
from .common import InfoExtractor
from ..utils import (
HEADRequest,
sanitized_Request,
urlencode_postdata,
)
class GDCVaultIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?gdcvault\.com/play/(?P<id>\d+)/(?P<name>(\w|-)+)?'
_NETRC_MACHINE = '... | Python | youtube_dl/extractor/gdcvault.py | stannynuytkens/youtube-dl | unlicense | 6,690 | 175 | codeparrot/github-code |
f9b44ed38316b1a4277cf199d7a46e25d93b18f82120cb6e8d653a2d23213d74 | /*
* 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 | eagle-core/eagle-data-process/eagle-storm-jobrunning-spout/src/main/java/org/apache/eagle/jobrunning/crawler/JobContext.java | eBay/Eagle | apache-2.0 | 1,589 | 56 | codeparrot/github-code |
281046f95df2761e67866d4e1365346154e3647feae9ce8bb8a5631feebfe618 | /*
* Copyright 2012-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 | src/com/facebook/buck/jvm/java/JavaBinary.java | mikekap/buck | apache-2.0 | 6,767 | 203 | codeparrot/github-code |
d4c431c92232caf6fb87d51360f586944804b8c56d2b0a85eb9f47923f51885b | /* mbed Microcontroller Library
*******************************************************************************
* Copyright (c) 2018, STMicroelectronics
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... | C | targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303xE/TARGET_NUCLEO_F303RE/PeripheralPinMaps.h | mbedmicro/mbed | apache-2.0 | 24,186 | 351 | codeparrot/github-code |
6c5334193016eef368adc96f4e80da60b3188abd98be200e7732024060de5643 | #!/usr/bin/python2
# Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
#
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file in the root of the source
# tree. An additional intellectual property rights grant can be found
# in the file PATENTS. All... | Python | frame/c++/webrtc-master/modules/audio_coding/audio_network_adaptor/parse_ana_dump.py | wangcy6/storm_app | apache-2.0 | 4,718 | 148 | codeparrot/github-code |
7acbc7239b26dc75dddafe65bfec35b98c4148038df89fe9f6d66855c375fe41 | /*
* 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 | gobblin-runtime/src/test/java/gobblin/runtime/commit/CommitSequenceTest.java | ydai1124/gobblin-1 | apache-2.0 | 3,431 | 101 | codeparrot/github-code |
b4a6ac80e59424dd35d929b8f67ae614bc0f632460c603bf7c1613b66af0d10d | """Support for Verisure Smartplugs."""
import logging
from time import monotonic
from homeassistant.components.switch import SwitchEntity
from . import CONF_SMARTPLUGS, HUB as hub
_LOGGER = logging.getLogger(__name__)
def setup_platform(hass, config, add_entities, discovery_info=None):
"""Set up the Verisure s... | Python | homeassistant/components/verisure/switch.py | nkgilley/home-assistant | apache-2.0 | 2,311 | 82 | codeparrot/github-code |
70da827ceea45cf8bb66d01ff9a5092f43c634b9080fe779e4dd637db9ef2615 | /*
* Copyright 2015 JBoss, by Red Hat, 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 ... | Java | uberfire-wires/uberfire-wires-bayesian-network/uberfire-wires-bayesian-network-client/src/main/java/org/uberfire/ext/wires/bayesian/network/client/factory/BaseFactory.java | dgutierr/uberfire-extensions | apache-2.0 | 2,954 | 72 | codeparrot/github-code |
2f18f0514938015e833e442c54dc351946f4002a52dfe6b8ae7f1c8173af4324 | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.codeInsight.template.impl;
import com.intellij.codeInsight.CodeInsightBundle;
import com.intellij.codeInsight.lookup.Lookup;
import com.intellij.codeInsight.... | Java | platform/lang-impl/src/com/intellij/codeInsight/template/impl/LiveTemplateLookupActionProvider.java | siosio/intellij-community | apache-2.0 | 2,424 | 53 | codeparrot/github-code |
4fdf4bb38084d874f3b10b08d4a51f859c100cc218e74044541e7eb5eec6cbd2 | // +build linux freebsd
package daemon
import (
"context"
"fmt"
"io/ioutil"
"os"
"path/filepath"
"strconv"
"time"
"github.com/docker/docker/container"
"github.com/docker/docker/daemon/links"
"github.com/docker/docker/pkg/idtools"
"github.com/docker/docker/pkg/mount"
"github.com/docker/docker/pkg/stringid... | GO | daemon/container_operations_unix.go | raja-sami-10p/moby | apache-2.0 | 11,070 | 381 | codeparrot/github-code |
eb2e83e71472ee83bfedfc16afd666fa43d4137cb2d8bc0f1d0e507428a5a62e | /*
* 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 n... | Java | frame/kafka-0.11.0/kafka-0.11.0.1-src/connect/file/src/main/java/org/apache/kafka/connect/file/FileStreamSinkConnector.java | wangcy6/storm_app | apache-2.0 | 2,629 | 80 | codeparrot/github-code |
f713887db68d7132e201bb9cc8bb263c237294ddad438bcfccb974782c553c09 | package org.python.util.install.driver;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.PrintStream;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.List;
import java.util.StringTokenizer;
import org.python.util.install.ChildProcess;
import o... | Java | jyhton/installer/src/java/org/python/util/install/driver/NormalVerifier.java | alvin319/CarnotKE | apache-2.0 | 5,129 | 168 | codeparrot/github-code |
90874bc446c0ee46e998a8b66379ba53d3eb75a93512b1c1d47d9b45b23c7bef | ' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Collections.Immutable
Imports System.Diagnostics
Imports System.Runtime.InteropServices
Imports Microsoft.CodeAnalysis.Text
Imports Microsoft.C... | Visual Basic | src/Compilers/VisualBasic/Portable/Lowering/LocalRewriter/LocalRewriter_SyncLock.vb | yeaicc/roslyn | apache-2.0 | 16,830 | 273 | codeparrot/github-code |
1bee7ea55de908a08a4ab0607e00af084925c1fb5e6b070b6f98e4add8e77c33 | /*****************************************************************************
* *
* OpenNI 1.x Alpha *
* Copyright (C) 2012 PrimeSense Ltd. *
... | C# | Wrappers/OpenNI.net/Log.cs | rxl194/OpenNI | apache-2.0 | 3,080 | 79 | codeparrot/github-code |
e7060ecb5b10e194b9a6e0c1120ec0d0ffcd5df2c1aa22854870845ffac1f687 | /*
* 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 | core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultValidatorRegistry.java | nikhilvibhav/camel | apache-2.0 | 2,457 | 69 | codeparrot/github-code |
6688a309dad2448cea0952d84aafbe90643bb053e90f424cccd3f1987cd7c8ce | /**
* 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 | src/plugin/protocol-ftp/src/java/org/apache/nutch/protocol/ftp/FtpRobotRulesParser.java | fogbeam/Heceta_nutch | apache-2.0 | 3,708 | 100 | codeparrot/github-code |
f0efb5f4d887895fc7be963905953b1f1b5adc8a1fa340708932443f0a201861 | /*
* 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 | modules/indexing/src/main/java/org/apache/ignite/spi/systemview/view/SqlViewView.java | samaitra/ignite | apache-2.0 | 1,673 | 54 | codeparrot/github-code |
29c52a6efe28a35b7263f3a9820c9bd94a76fb8f2e6d3a31e572008f6c72791d | /*
This file is part of ALIZE which is an open-source tool for
speaker recognition.
ALIZE is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3 of
the License, or any later ... | C | jni/MixtureFileWriter.h | nigel0913/EcustLock | apache-2.0 | 4,540 | 127 | codeparrot/github-code |
9e4fa7c8c77225c683a9d13b1cbc03e861df5ec7f41984fcb0e9a929e651ed21 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Licen... | Java | core/src/main/java/io/undertow/protocols/ssl/UndertowSslConnection.java | rhusar/undertow | apache-2.0 | 5,435 | 170 | codeparrot/github-code |
53be38d31894c72e86c1c5d9836d18601db407f1a4eab8eefa07929684c32c2f | <?php
if(!defined('IN_CB'))die('You are not allowed to access to this page.');
/**
* ean13.php
*--------------------------------------------------------------------
*
* Sub-Class - EAN-13
*
* You can provide a ISBN code (without dash), the code will transform
* it into a EAN13 format.
* EAN-13 conta... | PHP | public/barcode/class/ean13.barcode.php | blondprod/veganet | apache-2.0 | 6,651 | 208 | codeparrot/github-code |
0145b8659e293d8488e44a269ed9fc167f1ab0097ace5c0c60804cb1af9f329f | /* Copyright 2019 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/eig_op_impl.h | gunan/tensorflow | apache-2.0 | 3,642 | 99 | codeparrot/github-code |
6a932d08e25379fe5ff07fab1e7729dc265e10f9eee8bb45e2633f5502badbcb | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
#pragma once
#include <string>
#include <vector>
#inclu... | C | 3rdParty/rocksdb/6.29/include/rocksdb/trace_record_result.h | arangodb/arangodb | apache-2.0 | 6,266 | 188 | codeparrot/github-code |
f5ec8fee0e886b118201b81e74ad9a6249892d7cc784cf770c22d8eaeb5c3994 | /*
* Copyright 2015 JBoss, by Red Hat, 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 ... | Java | uberfire-wires/uberfire-wires-bpmn/uberfire-wires-bpmn-client/src/main/java/org/uberfire/ext/wires/bpmn/client/commands/impl/BatchCommand.java | dgutierr/uberfire-extensions | apache-2.0 | 2,980 | 82 | codeparrot/github-code |
94619eb19caabf72251d74a3b5f5ab0c2f4eede80e2bdcc332bba636971a666d | # Copyright 2007 Google, Inc. All Rights Reserved.
# Licensed to PSF under a Contributor Agreement.
"""Abstract Base Classes (ABCs) for collections, according to PEP 3119.
DON'T USE THIS MODULE DIRECTLY! The classes here should be imported
via collections; they are defined here only to alleviate certain
bootstrappin... | Python | play-1.2.4/python/Lib/_abcoll.py | tempbottle/restcommander | apache-2.0 | 13,666 | 562 | codeparrot/github-code |
da8f9bb6ec56b6d24132b3d61a23c4602542d64bf5dc99b009b6c16257851ef2 | /*
* Copyright 2015-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 | src/com/facebook/buck/cxx/ClangCompiler.java | sdwilsh/buck | apache-2.0 | 1,330 | 47 | codeparrot/github-code |
0d075b1c728a6cc626bb0e29f4db8735f092c18ad91a2c0e6e9c11eb6dc6b724 | /*
Copyright 2013-2014, JUMA Technology
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,... | Java | plugins/org/src/android/org/bcsphere/bluetooth/BCBluetooth.java | bcsphere/bcexplorer | apache-2.0 | 15,604 | 418 | codeparrot/github-code |
9b4d0b65e4aae0b7578b187ebad714ad06dc7261663852a0e5d81817bb7f9fa4 | #!/usr/bin/env python
# example setselection.py
import pygtk
pygtk.require('2.0')
import gtk
import time
class SetSelectionExample:
# Callback when the user toggles the selection
def selection_toggled(self, widget, window):
if widget.get_active():
self.have_selection = window.selection_ow... | Python | pygtkweb/demos/065-setselection.py | certik/pyjamas | apache-2.0 | 2,570 | 77 | codeparrot/github-code |
3cd6b04ee35c060dd2f7b82593fe477a2687287a6f06becc11bb51e26bc03722 | /*
* Copyright 2005 JBoss 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 | drools-model/drools-model-compiler/src/test/java/org/drools/modelcompiler/OrTest.java | jomarko/drools | apache-2.0 | 9,484 | 258 | codeparrot/github-code |
d52de570d751e54702509c12148a07ed2e016bcb3347fa74a64765e05f8486b1 | /*
* Copyright 2000-2013 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/maven/src/main/java/org/jetbrains/idea/maven/importing/MavenRootModelAdapter.java | GunoH/intellij-community | apache-2.0 | 6,985 | 224 | codeparrot/github-code |
ed213c08336d136cc2095927810a48a3dcc657e5863ae88329714448dcd7bc53 | using System.Collections.Generic;
using System.Net.Http;
using InstaSharp.Extensions;
using InstaSharp.Models.Responses;
using System.Threading.Tasks;
namespace InstaSharp.Endpoints
{
/// <summary>
/// Comments Endpoint
/// </summary>
public class Comments : InstagramApi
{
/// <summary>
... | C# | src/InstaSharp/Endpoints/Comments.cs | danielmundim/InstaSharp | apache-2.0 | 3,561 | 97 | codeparrot/github-code |
ac648d6c4bf293c3598b1699657801bc84978f91894f190f65992494868833aa | #region License
/*
* Copyright © 2002-2011 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.... | C# | src/Spring/Spring.Core/Objects/Factory/Parsing/Problem.cs | spring-projects/spring-net | apache-2.0 | 2,657 | 99 | codeparrot/github-code |
cf7022a82c41599a8a591138aef610dbbba7ac132dd919095e291010b658b5b8 | /*
* 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 | java/java-impl/src/com/intellij/psi/formatter/java/AbstractJavaBlock.java | robovm/robovm-studio | apache-2.0 | 55,736 | 1,252 | codeparrot/github-code |
5dc212b6353af58af57e6fce1ce3140a1578c90b0932bd61affb078f40d8b604 | /*
* 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 | presto166/presto-main/src/main/java/com/facebook/presto/sql/relational/SqlToRowExpressionTranslator.java | marsorp/blog | apache-2.0 | 28,699 | 683 | codeparrot/github-code |
c6ab61354bb2f4ddedc6c562d424676fb8de3965788bec83a4b406a88e0e6b4a | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
<title>DataTables example - Pipelining data to reduce Ajax calls for paging</title>
<link rel="stylesh... | HTML | wisekb-uima-ducc/webserver/root/opensources/DataTables-1.10.1/examples/server_side/pipeline.html | hyokun31/wisekb-management-platform | apache-2.0 | 21,526 | 554 | codeparrot/github-code |
0305c5fa71131f3712e2ca435c4ade92bf82cba3b42fbf1d0c77c8189626883c | ' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Namespace Microsoft.CodeAnalysis.PasteTracking
<UseExportProvider>
Public Class PasteTrackingServiceTests
Private Const Project1Name = "Proj... | Visual Basic | src/EditorFeatures/Test2/PasteTracking/PasteTrackingServiceTests.vb | DustinCampbell/roslyn | apache-2.0 | 13,234 | 302 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.