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 |
|---|---|---|---|---|---|---|---|---|
5d3d34ec22f036b6b18c4f527bf3ece2fa20f1a1e3c6e45cf48f2f28a6851c90 | <html lang="en">
<head>
<title>Registers - Debugging with GDB</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Debugging with GDB">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Data.html#Data" titl... | HTML | release/src-rt-6.x.4708/toolchains/hndtools-armeabi-2013.11/share/doc/arm-arm-none-eabi/html/gdb/Registers.html | hajuuk/asuswrt | gpl-2.0 | 8,966 | 165 | codeparrot/github-code |
a68a1648c837af020904bb752a39aa788cfdb6c7962b2e02adabece2b1d180a2 | # -*- coding: utf-8 -*-
# Copyright (C) 2010 Holoscópio Tecnologia
# Author: Luciana Fujii Pontello <luciana@holoscopio.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of... | Python | sltv/effect/video_effect.py | Geheimorganisation/sltv | gpl-2.0 | 1,697 | 48 | codeparrot/github-code |
4e8bf6b3630e76f94129f4ca64b38b851743312cb5932ee25430f43f4b413863 | <?php
/**
* @package Joomla.Administrator
* @subpackage com_content
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$script = 'function insertPagebreak() {' ... | PHP | administrator/components/com_content/views/article/tmpl/pagebreak.php | 1nv4d3r5/joomla-cms | gpl-2.0 | 1,808 | 48 | codeparrot/github-code |
d0d944774a40e194c91dc5801b34f70527d9fcb3499aa1389ed0f2464a6caf27 | /* The IGEN simulator generator for GDB, the GNU Debugger.
Copyright 2002, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
Contributed by Andrew Cagney.
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 Li... | C | sim/igen/gen-idecode.h | legumbre/gdb-z80 | gpl-2.0 | 1,530 | 44 | codeparrot/github-code |
ae6c48f2917cd917675d93d6bd051b5cd3ae1cf7008976d74c0ea1d0cc4c1e4a | #include <iostream>
#include <vector>
#include <cmath>
class atom_t{
public:
double x;
double y;
double z;
int id;
int no;
};
class nn_t{
public:
int i;
int j;
int dx;
int dy;
int dz;
};
int main(){
// size in unit cells
int nx=5,ny=5,nz=5;
// atoms
std::vector<atom_t> cellatoms(... | C++ | util/exchange-template.cpp | pchureemart/vampire | gpl-2.0 | 4,606 | 150 | codeparrot/github-code |
5aec8ce8783fbfbdf222e4389437ffdc5c7b59824533afc505fcc6d1507921e4 | <?php
// Prevent loading this file directly
defined( 'ABSPATH' ) || exit;
require_once TX_RWMB_FIELDS_DIR . 'select-advanced.php';
require_once TX_RWMB_FIELDS_DIR . 'checkbox-list.php';
if ( ! class_exists( 'RWMB_Taxonomy_Field' ) )
{
class RWMB_Taxonomy_Field extends RWMB_Field
{
/**
* Enqueue scripts and styl... | PHP | wp-content/plugins/templatesnext-toolkit/inc/meta-box/inc/fields/taxonomy.php | ultr0/TM-FreeTV | gpl-2.0 | 6,782 | 264 | codeparrot/github-code |
c21ff3595ea6ecebcb936f93be645c385afa2620ade7eda5afe85c1aef1a3d1c | package org.wordpress.android.ui.reader.adapters;
import android.content.Context;
import android.os.AsyncTask;
import android.os.Build;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageButton;
import a... | Java | WordPress/src/main/java/org/wordpress/android/ui/reader/adapters/ReaderTagAdapter.java | abassawo/WordPress-Android | gpl-2.0 | 5,784 | 180 | codeparrot/github-code |
572c97cf7e456955a654e3e0ac820444c48f880af3e56a25475e67edc7890d00 | /* DWARF2 EH unwinding support for Blackfin.
Copyright (C) 2007-2017 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your ... | C | libgcc/config/bfin/linux-unwind.h | krichter722/gcc | gpl-2.0 | 6,743 | 165 | codeparrot/github-code |
2c595d2e8ea54c1f82c9333046e80e3c599efc161b1fcc32b324570eda81a33f | <?php
/*
* Last modification : 18/03/2005
*
* Copyright 2001, 2005 Thomas Belliard, Laurent Delineau, Edouard Hue, Eric Lebrun
*
* This file is part of GEPI.
*
* GEPI 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 Softw... | PHP | lib/create_im_mat.php | kigeia/gepi | gpl-2.0 | 2,735 | 84 | codeparrot/github-code |
c515b5105327c3edff482e5c84940717e56acf30411f1412cf14bbdff94758da | /*
* Copyright (C) 2008-2013 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/Battlegrounds/Zones/BattlegroundIC.cpp | mynew2/Trinity | gpl-2.0 | 44,550 | 979 | codeparrot/github-code |
9e7b7404d63877f3b0f3a0bc93d273b2fd71fe31ec64f25490be3328feac9ee1 | /* Copyright (c) 2010, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope th... | C | drivers/media/video/msm/msm_gemini_sync.c | jshafer817/sailfish_kernel_hp_tenderloin30 | gpl-2.0 | 20,864 | 839 | codeparrot/github-code |
e633fac12fdf87a216cb6cf2617eed16a89c4fd42e1005b17a7a89236b90294e | /*******************************************************************
* (c) Copyright 2011-2012 Discretix Technologies Ltd. *
* This software is protected by copyright, international *
* treaties and patents. *
* Use of this Software as part of or with ... | C | drivers/hisi/keymaster/include/hw_queue_defs.h | araca/Zen-Kernel-Huawei-P7 | gpl-2.0 | 25,226 | 662 | codeparrot/github-code |
63cb01c135973615b77df02664d3da3b3a1f2575c39fbddf62f732220e42f29d | /* umac32.c
*/
/* nettle, low-level cryptographics library
*
* Copyright (C) 2013 Niels Möller
*
* The nettle 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 Li... | C | umac32.c | tempbottle/nettle | gpl-2.0 | 3,472 | 130 | codeparrot/github-code |
6db244fa23ae385fa629539c5d72451a1537ff7fdbd3bde528f79a2e9d8bb5c7 | /* linux/arch/arm/mach-msm/board-incrediblec.c
*
* Copyright (C) 2009 Google, Inc.
* Copyright (C) 2009 HTC Corporation.
* Author: Dima Zavin <dima@android.com>
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be... | C | arch/arm/mach-msm/board-incrediblec.c | figue/android_kernel_htc_qsd8k | gpl-2.0 | 39,639 | 1,467 | codeparrot/github-code |
a5aec523b0db16b9f15534406af5b78e46c22705884aed3dc0745d99cc8b801a | /*
* Copyright (C) 2011-2012 Carl Hetherington <carl@carlh.net>
* Copyright (C) 2015-2019 Robin Gareus <robin@gareus.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2... | C | gtk2_ardour/visibility_group.h | ngeiswei/ardour | gpl-2.0 | 2,736 | 96 | codeparrot/github-code |
d4eeee00414c50cdd7b608d257259655069f70699c0057a92b1cc6ea27d4505f | /* 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/neverhood/modules/module2600.h | fuzzie/scummvm | gpl-2.0 | 2,213 | 75 | codeparrot/github-code |
576d78fc60fdb55f8eead8ee9387bdc32fc373f0e7f036e0e52bd5619324b8af | /* Simple 1-D linear interpolation */
/*
Copyright (C) 2004 University of Texas at Austin
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 opti... | C | user/ediazp/linted.c | TobbeTripitaka/src | gpl-2.0 | 2,660 | 115 | codeparrot/github-code |
b63b70cc359badd8afcd30d3e587215e486303bc0e940f465ef1448d71d0facd | /*
* Copyright (C) 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java | jdk11/src/libcore/benchmarks/src/benchmarks/regression/KeyPairGeneratorBenchmark.java | google/desugar_jdk_libs | gpl-2.0 | 1,861 | 63 | codeparrot/github-code |
1d194be8660ab8114751ee842952b02a28b548f96d525d549aa0c062e9b34585 | /***************************************************************************
qgsbookmarkmanager.cpp
--------------------
Date : September 2019
Copyright : (C) 2019 Nyall Dawson
Email : nyall dot dawson at gmail dot com
**************************************... | C++ | src/core/qgsbookmarkmanager.cpp | rldhont/Quantum-GIS | gpl-2.0 | 15,534 | 554 | codeparrot/github-code |
d19468b3fcbf7d30d4db811da33a868ccc3875a4170e0430b4b2a8f75d679397 | /*
* Nanoradio sdio wifi power management API
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <mach/gpio_v2.h>
#include <mach/script_v2.h>
#include "mmc_pm.h"
#define nano_msg(...) do {printk("[nano]: "__VA_ARGS__);} while(0)
static int nano_powerup = 0;
static int nano_s... | C | drivers/mmc/mmc-pm/mmc_pm_swl_n20.c | allwinner/linux-2.6.36 | gpl-2.0 | 2,284 | 89 | codeparrot/github-code |
b9e1fc01f653bb130c48feacb41d1ff6f07ac99d89153dce6e9409e4de3bc711 | <?php
/**
* Defines the button that deletes a record, with confirmation
*
* @author Uncle Cheese <unclecheese@leftandmain.com>
* @package silverstripe-gridfield-betterbuttons
*/
class BetterButton_Delete extends BetterButton {
/**
* Builds the button
*/
public function __construct() {
... | PHP | silverstripe-gridfield/code/buttons/BetterButton_Delete.php | maent45/PersianFeast | gpl-2.0 | 1,268 | 46 | codeparrot/github-code |
2d07fa18fc97bd4399f1a40d32536003f4d285358589236f1478b6f880445c9a | /*
* linux/sound/soc-dapm.h -- ALSA SoC Dynamic Audio Power Management
*
* Author: Liam Girdwood
* Created: Aug 11th 2005
* Copyright: Wolfson Microelectronics. PLC.
*
* 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
* ... | C | include/sound/soc-dapm.h | vmayoral/ubuntu-vivid | gpl-2.0 | 26,168 | 629 | codeparrot/github-code |
c1c8ab2bef36c3185baae9723bf0b150f3e1d26ed2f111948ccf2464f30b5c3b | /* Copyright (C) 2006 - 2008 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 Foundation; either version 2 of the License, or
* (at your option) any later... | C++ | src/scripts/EasternKingdoms/Stratholme/boss_baroness_anastari.cpp | google-code-export/oregoncore | gpl-2.0 | 3,542 | 128 | codeparrot/github-code |
699ede4abda88b7f0fbcd5fbe028e4a1a30618d7ee960ebfff4e90860f8990d7 | /*
* linux/fs/ext4/namei.c
*
* Copyright (C) 1992, 1993, 1994, 1995
* Remy Card (card@masi.ibp.fr)
* Laboratoire MASI - Institut Blaise Pascal
* Universite Pierre et Marie Curie (Paris VI)
*
* from
*
* linux/fs/minix/namei.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* Big-endian to little-endian... | C | fs/ext4/namei.c | danielhk/android_kernel_samsung_smdk4210 | gpl-2.0 | 72,595 | 2,617 | codeparrot/github-code |
91adfb3e88b2ce4439837ce8a44fdc2768f9231ce1faa7a44370a9e8f6ae91e2 | /*
* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright not... | C | drivers/staging/prima323/CORE/MAC/src/pe/lim/limSerDesUtils.c | lindsaytheflint/stone | gpl-2.0 | 78,157 | 2,661 | codeparrot/github-code |
2fc32df0899a3bfdf0da3bec359f88e6bf6175d7c686199330cd22ba5ef50967 | /* 2-D two-components wavefield modeling using pseudo-pure mode P-wave equation in VTI media.
with finite nonzero vs0
Copyright (C) 2012 Tongji University, Shanghai, China
Authors: Jiubing Cheng and Wei Kang
This program is free software; you can redistribute it and/or modify
it under the terms o... | C | user/chengjb/Mvti2dpseudopfvs0.c | TobbeTripitaka/src | gpl-2.0 | 17,705 | 497 | codeparrot/github-code |
837de196b580d840c46e7cddd2de99dc13dc2b466a5138ee972d56e130725fa0 | include "constants.lua"
--------------------------------------------------------------------------------
-- pieces
--------------------------------------------------------------------------------
local torso = piece 'torso'
local ruparm = piece 'ruparm'
local luparm = piece 'luparm'
local rbigflash = piece 'rbigflash'... | Lua | scripts/armcom.lua | lhog/Zero-K | gpl-2.0 | 8,638 | 306 | codeparrot/github-code |
6bef3244dbb16371bd6342ad43e07babf11c077dfabadaf018e6a5d16ee69249 |
/*
* gedit-file-browser-message-id-location.h
* This file is part of gedit
*
* Copyright (C) 2011 - Jesse van den Kieboom
*
* gedit is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of ... | C | plugins/filebrowser/messages/gedit-file-browser-message-id-location.h | daniel94/gedit | gpl-2.0 | 3,419 | 70 | codeparrot/github-code |
a193dc07aaebee546bea61c9149719607edaecf0a5c177fb0ad09622227f527a | #include "stdafx.h"
#include "Emu/Memory/Memory.h"
#include "Emu/System.h"
#include "Emu/SysCalls/Modules.h"
#include "sys_net.h"
#include "cellRudp.h"
extern Module cellRudp;
struct RudpInternal
{
std::atomic<bool> init;
// allocator functions
std::function<vm::ptr<void>(PPUThread& ppu, u32 size)> malloc;
std:... | C++ | rpcs3/Emu/SysCalls/Modules/cellRudp.cpp | Mstrodl/rpcs3 | gpl-2.0 | 5,095 | 291 | codeparrot/github-code |
b1ecd2e178b6d3d5cd4307da76fcf498356809f3a46345983c404f7e5a17d7e0 | /* 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/input/zapper.c | matthewbauer/fceumm | gpl-2.0 | 3,331 | 152 | codeparrot/github-code |
9ff35bd470f920f7b1938fa06d4f9d5d354666e8596dd58a3d00c01c02c30923 | /***************************************************************************
* *
* Entries.java *
* ------------------- *
* dat... | Java | src/de/uniba/wiai/lspi/chord/service/impl/Entries.java | yahiaelgamal/PeerBox | gpl-2.0 | 10,612 | 324 | codeparrot/github-code |
06b72dc6a4321848ce1f21477df6db6819f4126cdb637611693dcf168b99108d | # -*- coding: utf-8 -*-
#
# Cherokee-admin
#
# Authors:
# Alvaro Lopez Ortega <alvaro@alobbs.com>
#
# Copyright (C) 2001-2014 Alvaro Lopez Ortega
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free S... | Python | admin/Handler.py | cherokee/webserver | gpl-2.0 | 1,775 | 52 | codeparrot/github-code |
794c18ac5e8b8eb31e9f8a87fc8ab56180c3dc632e13f02acf8542838b3b214c | /*
* drivers/gpu/exynos/exynos_ion.c
*
* Copyright (C) 2011 Samsung Electronics Co., Ltd.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program... | C | drivers/gpu/ion/exynos/exynos_ion.c | fourthwall/GT-N7000-ICS-3.0.y | gpl-2.0 | 25,794 | 1,110 | codeparrot/github-code |
f12e876accd90268b9b1a32ea2d045ab2d24b4f552138228ce416b92db29a6f8 | <?php
/**
* NoNumber Framework Helper File: Cache
*
* @package NoNumber Framework
* @version 14.11.6
*
* @author Peter van Westen <peter@nonumber.nl>
* @link http://www.nonumber.nl
* @copyright Copyright © 2014 NoNumber All Rights Reserved
* @license http://www... | PHP | plugins/system/nnframework/helpers/cache.php | Almish/Deviclub | gpl-2.0 | 805 | 42 | codeparrot/github-code |
10d9a34fddd730fe58c9e3da4b2770644a27aa6f770ff822f7be31bba613449f | /*
* Front panel driver for Linux
* Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu>
*
* 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 opti... | C | drivers/staging/panel/panel.c | ravikwow/jordan-kernel | gpl-2.0 | 61,576 | 2,248 | codeparrot/github-code |
67d4a6867eaa2e2072d1e60a7ed05b92ddae5a685df555ffdb8d885c9caba211 | /*
* This module restricts channel creation to authenticated users
* and IRC operators only. This module could be useful for
* running private chat systems, or if a network gets droneflood
* problems. It will return ERR_NEEDREGGEDNICK on failure.
* -- nenolod
*/
#include "stdinc.h"
#include "modules.h"
#inclu... | C | extensions/createauthonly.c | ahf/charybdis | gpl-2.0 | 1,104 | 38 | codeparrot/github-code |
5944d42fe54bdb5ca5f11a9238854bf3506df4481c8dce473268e1f213bf9b58 | /***************************************************************************
qgsalgorithmcategorizeusingstyle.cpp
---------------------
begin : August 2018
copyright : (C) 2018 by Nyall Dawson
email : nyall dot dawson... | C++ | src/analysis/processing/qgsalgorithmcategorizeusingstyle.cpp | rldhont/Quantum-GIS | gpl-2.0 | 13,420 | 292 | codeparrot/github-code |
51e0b463ce531ed26013c1fd92bd9478e02f3cc521ca16d734641cd7fe1fdd86 | // license:BSD-3-Clause
// copyright-holders:Nicola Salmoria
/***************************************************************************
Konami Finalizer
***************************************************************************/
#ifndef MAME_INCLUDES_FINALIZR_H
#define MAME_INCLUDES_FINALIZR_H
#pragma once
#... | C | src/mame/includes/finalizr.h | johnparker007/mame | gpl-2.0 | 2,613 | 87 | codeparrot/github-code |
eb70866c258c1042f119650ba388009ffdd2ff7ad2557b95ff74de7d875d23ac | #ifdef CONFIG_ECRYPTFS_ENABLED
#include <keys/ecryptfs_constants.h>
#include <keys/ecryptfs_payload.h>
#include "../../fs/ecryptfs/ecryptfs_kernel.h"
int isSecPayLoad(void *payload, long plen) {
if(plen == sizeof(ecryptfs_payload)) {
ecryptfs_payload *pl = (ecryptfs_payload*)payload;
return (pl->id == SEC_ID);
... | C | security/keys/ecryptfs_kernel_payload.c | hazard209/Charge_Kernel | gpl-2.0 | 1,097 | 34 | codeparrot/github-code |
b4dfe227cb315a539ff2f051ff20b09ce93310fb366c4f24d523c0c0d2112f9b | <?php
/**
* HUBzero CMS
*
* Copyright 2005-2015 HUBzero Foundation, LLC.
*
* 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 late... | PHP | core/components/com_installer/admin/controllers/manage.php | kevinwojo/hubzero-cms | gpl-2.0 | 5,640 | 222 | codeparrot/github-code |
7ae7ab3d235f51c7b8f2042b757f83fdcf1a325d6bf4c88a96683b6cc0dc3643 | /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
moveresize.c for the Openbox window manager
Copyright (c) 2006 Mikael Magnusson
Copyright (c) 2003-2007 Dana Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Pub... | C | openbox/moveresize.c | brainwater/openbox | gpl-2.0 | 37,040 | 1,106 | codeparrot/github-code |
8992a724dc5676f8fc243c08da0417a83e2646c4fd310301b8345762b48210b9 | /*
* TAP-Win32 -- A kernel driver to provide virtual tap device functionality
* on Windows. Originally derived from the CIPE-Win32
* project by Damion K. Wilson, with extensive modifications by
* James Yonan.
*
* All source code which derives from the CIPE-Win32 projec... | C | user/openvpn/tap-win32/dhcp.c | kidmaple/CoolWall | gpl-2.0 | 14,990 | 604 | codeparrot/github-code |
3701bccffef7183ad7a71437079e092ddb13ba7c667d09b8410d534c6d6e7313 | #region Copyright & License Information
/*
* Copyright 2007-2020 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the Licen... | C# | OpenRA.Mods.Common/Traits/PaletteEffects/CloakPaletteEffect.cs | atlimit8/OpenRA | gpl-3.0 | 1,232 | 52 | codeparrot/github-code |
0290ece4348eab003f24fa88f0cf8b184f9fcb7cd163d41c16038c8142aa3766 | /*******************************************************************************
OpenAirInterface
Copyright(c) 1999 - 2014 Eurecom
OpenAirInterface 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 Foundati... | C | openair-cn/MME_APP/mme_app_statistics.c | massar5289/openairinterface5G | gpl-3.0 | 2,094 | 56 | codeparrot/github-code |
3774c5bd787cf86610f13c26277b7479fd2acffc61d5859ad9be08306ad78366 | /*
Partitions ldb module
Copyright (C) Andrew Bartlett <abartlet@samba.org> 2006
Copyright (C) Stefan Metzmacher <metze@samba.org> 2007
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 Foundat... | C | source4/dsdb/samdb/ldb_modules/partition.c | avati/samba | gpl-3.0 | 35,238 | 1,199 | codeparrot/github-code |
4a2616b4adc07e976dbb16def6647c9c74e325621eca29539e53d0ca01847f40 | //===- SampleProfile.h - SamplePGO pass ---------- --------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | C | 3rd/templight/llvm/include/llvm/Transforms/IPO/SampleProfile.h | sabel83/metashell | gpl-3.0 | 1,340 | 44 | codeparrot/github-code |
4cbb70a036e2ffaf76d7afe276165d9a8c6e23d406ba09309bd468d3b3ab55e9 | /*
* Copyright (C) 2007-2015 Lonelycoder AB
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This pro... | C | src/ui/glw/glw_rotator.c | bas-t/movian | gpl-3.0 | 1,758 | 77 | codeparrot/github-code |
3f13108ff242aaf788da959e4636336f9d7e31ea987cc835bf399e98273f61bc | package pneumaticCraft.client.model;
import net.minecraftforge.fluids.FluidTankInfo;
import org.lwjgl.opengl.GL11;
import pneumaticCraft.client.util.RenderUtils;
import pneumaticCraft.client.util.RenderUtils.RenderInfo;
import pneumaticCraft.common.tileentity.TileEntityLiquidHopper;
import pneumaticCraft.common.tile... | Java | src/pneumaticCraft/client/model/ModelLiquidHopper.java | wormzjl/PneumaticCraft | gpl-3.0 | 4,383 | 82 | codeparrot/github-code |
2088067f3a4654f39eefff88dbc035165956a5945af819fd202c740af9edc869 | package com.frostwire.alexandria;
public final class LibraryUtils {
private LibraryUtils() {
}
public static String luceneEncode(String s) {
//+ - && || ! ( ) { } [ ] ^ " ~ * ? : \
int length = s.length();
s = s.replace("AND", " ").replace("OR", " ").replace("NOT", " ");
S... | Java | src/com/frostwire/alexandria/LibraryUtils.java | alejandroarturom/frostwire-desktop | gpl-3.0 | 3,664 | 120 | codeparrot/github-code |
9ac74065b538d1cb13879505927743868fe76a530cc948ea4d721aaeb1793f6c | define('ember-simple-auth/internal-session', ['exports', 'ember', 'ember-getowner-polyfill'], function (exports, _ember, _emberGetownerPolyfill) {
'use strict';
var RSVP = _ember['default'].RSVP;
var isNone = _ember['default'].isNone;
var isEmpty = _ember['default'].isEmpty;
var assign = _ember['default'].a... | JavaScript | core/client/tmp/broccoli_persistent_filterbabel-output_path-tPBlbXg2.tmp/ember-simple-auth/internal-session.js | Elektro1776/latestEarthables | gpl-3.0 | 9,042 | 247 | codeparrot/github-code |
89ad6f1ab796b938ff9bea7d9feb5c9efb705f24ffa5cbfd79a54c9964e6b159 | //
// SuperTuxKart - a fun racing game with go-kart
// Copyright (C) 2009-2013 Joerg Henrichs
//
// 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/modes/profile_world.hpp | deveee/supertuxkart-0.8.1-updates | gpl-3.0 | 3,526 | 102 | codeparrot/github-code |
13df477cf16d04c19dac5a846178e77e2b7cea632e2d4bb6bb1bd3907f9ffd3f | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: This is a panel which is rendered on top of an entity
//
// $Revision: $
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
#include "vgui_EntityPanel.h"
#inclu... | C++ | src/game/client/vgui_entitypanel.cpp | OnePointSeven/onepointseven | gpl-3.0 | 6,481 | 237 | codeparrot/github-code |
59bf6cb524721c80e2e47bf7f2c79c7f8c4b007fceae847d473ecc0da4bb0c6e | /*
* H.26L/H.264/AVC/JVT/14496-10/... reference picture handling
* Copyright (c) 2003 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 Fre... | C | src/ExtLib/ffmpeg/libavcodec/h264_refs.c | WinnerSoftLab/WinnerMediaPlayer | gpl-3.0 | 32,030 | 871 | codeparrot/github-code |
87302fbf1cd70b5140f94fcd8a56660780d98cb5c52c3d836370cff222506db0 | /* Tone.cpp
A Tone Generator Library
Written by Brett Hagman
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 option) any l... | C++ | src/wii-retropad-adapter/arduinocore/Tone.cpp | jeid64/drc-wiimote | gpl-3.0 | 14,911 | 602 | codeparrot/github-code |
565fd36a19f96b31d863104aea92ccfd4474ddfa025890d017a3ed0ac87efdbd | define(['mifosX', 'angular-mocks'], {
configure: function (scenarioName) {
require(["test/testHelper", "test/scenarios/" + scenarioName + "_scenario"], function (testHelper, scenario) {
mifosX.ng.application.config(function ($provide) {
$provide.decorator('$httpBackend', angular.... | JavaScript | test/functional/scenarioTest.js | dtsuran/community-app | mpl-2.0 | 1,789 | 33 | codeparrot/github-code |
96d7d1b8b72680080a3e42b0afe0e65d0108fe50e7afdd0e633e3552f5b03ec8 | /*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2015 Kuali, 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, eithe... | Java | coeus-impl/src/main/java/org/kuali/kra/protocol/actions/ProtocolActionsKeyValuesBase.java | sanjupolus/KC6.oLatest | agpl-3.0 | 3,857 | 106 | codeparrot/github-code |
29d480017262bb24eb712bb38812332fab3b066aa03545d13185ab37496a41ea | <?php
/**
* Class for CiviRules Group Contact Action Form
*
* @author Jaap Jansma (CiviCooP) <jaap.jansma@civicoop.org>
* @license AGPL-3.0
*/
class CRM_CivirulesActions_GroupContact_Form_GroupId extends CRM_CivirulesActions_Form_Form {
/**
* Method to get groups
*
* @return array
* @access protec... | PHP | CRM/CivirulesActions/GroupContact/Form/GroupId.php | mathavanveda/org.civicoop.civirules | agpl-3.0 | 3,275 | 117 | codeparrot/github-code |
d48e201b89ccff36c00006bb3fbf199befc1dc50aae2a3d0bec2cef7c060c39a | /* 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... | C++ | src/ee/storage/ElasticIndexReadContext.cpp | creative-quant/voltdb | agpl-3.0 | 8,707 | 246 | codeparrot/github-code |
a3619f3e93dbc0e791fd5f2d91b47e418da9bbe6d120a3b69c72b1487a2fe704 | """
These views handle all actions in Studio related to import and exporting of
courses
"""
import base64
import logging
import os
import re
import shutil
import tarfile
from path import Path as path
from tempfile import mkdtemp
from django.conf import settings
from django.contrib.auth.decorators import login_required... | Python | cms/djangoapps/contentstore/views/import_export.py | devs1991/test_edx_docmode | agpl-3.0 | 21,168 | 516 | codeparrot/github-code |
6d7333f148b3169322652caa9d959cb7a7e66c107c1b4448a9e0b136d716cbee | /****************************************************************
* *
* Copyright 2001, 2009 Fidelity Information Services, Inc *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
*... | C | sr_unix_nsb/comp_lits.c | CoherentLogic/fis-gtm-netbsd | agpl-3.0 | 1,416 | 54 | codeparrot/github-code |
b6eaeaff871ecbb8c62e49bbda69f8c6062cdd6104c5e3cffc3904bac2f3ff7e | <?php
/**
* Shopware 5
* Copyright (c) shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* perm... | PHP | engine/Shopware/Components/Emotion/Preset/PresetDataSynchronizer.php | wlwwt/shopware | agpl-3.0 | 7,033 | 242 | codeparrot/github-code |
96bdc6399cee11eafd1a38221131cc2f4c1445cd48f1d31f26fc365ae3e6830e | /* GStreamer
* Copyright (C) <2007> Wim Taymans <wim.taymans@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any... | C | gst/rtpmanager/gstrtpsession.h | Kurento/gst-plugins-good | lgpl-2.1 | 3,255 | 91 | codeparrot/github-code |
cf802dc708f0146c297b0a9e636297d06dd4f0bc6094b621c2cad5fc1a28d507 | /*
* TransmissionHistoryModel.java
*
* Copyright (c) 2002-2015 Alexei Drummond, Andrew Rambaut and Marc Suchard
*
* This file is part of BEAST.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership and licensing.
*
* BEAST is free software; you can redistri... | Java | src/dr/evomodel/transmission/TransmissionHistoryModel.java | 4ment/beast-mcmc | lgpl-2.1 | 11,822 | 363 | codeparrot/github-code |
0cd2f23f293a96b7127e143f7a6b7c0adb4d60355ea48c1d511bd300d7fab648 | using System.Linq;
using NHibernate.Driver;
using NHibernate.Linq;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH2846
{
[TestFixture]
public class Fixture : BugTestCase
{
protected override bool AppliesTo(Engine.ISessionFactoryImplementor factory)
{
return !(factory.ConnectionProvider.Dr... | C# | src/NHibernate.Test/NHSpecificTest/NH2846/Fixture.cs | alobakov/nhibernate-core | lgpl-2.1 | 1,664 | 82 | codeparrot/github-code |
bd2cf8329d63e51b4ffa0c87323f4dabf44fbdc8a9c7268b9ed6d9077133cced | /**
* Copyright (c) 2010-present Abixen Systems. All rights reserved.
*
* 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 option)
* any ... | Java | abixen-platform-common/src/main/java/com/abixen/platform/common/model/enumtype/UserLanguage.java | asteriskbimal/abixen-platform | lgpl-2.1 | 993 | 32 | codeparrot/github-code |
711a0f48cee6eaf00885531bd4a1997052db4d29f1368fdc2255828a7ab51281 | // @(#)root/tmva $Id$
// Author: Andreas Hoecker, Peter Speckmayer, Joerg Stelzer, Helge Voss
/**********************************************************************************
* Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
* Package: TMVA ... | C | tmva/tmva/inc/TMVA/DataInputHandler.h | gbitzes/root | lgpl-2.1 | 7,606 | 146 | codeparrot/github-code |
24646fbd43acd2ce3333aa0b71ee11272b6a97d616d2579f3839647f0a1c3148 | /*
* textbox.c -- implements the text box
*
* ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
* MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as publish... | C | extra/config/lxdialog/textbox.c | waweber/uclibc-clang | lgpl-2.1 | 9,097 | 391 | codeparrot/github-code |
527e3ca4a40fc9b69110b2f1e1a4d4128f986c005ec60c398b23369898ec8203 | /* radare - LGPL - Copyright 2009-2014 - pancake */
#include <r_types.h>
#include <r_lib.h>
#include <r_asm.h>
#include <r_anal.h>
// NOTE: buf should be at least 16 bytes!
// XXX addr should be off_t for 64 love
static int ppc_op(RAnal *anal, RAnalOp *op, ut64 addr, const ut8 *bytes, int len) {
//int arch_ppc_op(ut6... | C | libr/anal/p/anal_ppc_gnu.c | xarkes/radare2 | lgpl-3.0 | 4,067 | 203 | codeparrot/github-code |
f506e8fd9c0b32f32d97b12fd0149961fb355370afe1227a802fe9507a495541 | // moment.js language configuration
// language : chinese
// author : suupic : https://github.com/suupic
(function () {
var lang = {
months : "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),
monthsShort : "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
weekdays : "星期日_星期一... | JavaScript | data/_locales/zh_CN/timestring.js | Volvagia356/Hotot | lgpl-3.0 | 2,174 | 68 | codeparrot/github-code |
a18f81f11821e1edb516b5b7fe22d66efd54bbfa997c096df8b5375bdc8755f7 | /*
* 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-core/src/test/java/org/apache/camel/issues/AdviceWithTwoRoutesOnExceptionIssueTest.java | DariusX/camel | apache-2.0 | 3,421 | 86 | codeparrot/github-code |
4bce1a42d08176784af7b7a0957d199db68434094728017debe3d15d72fa42b4 | /**
* Copyright 2007-2016, 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 | transport/http/src/test/java/org/kaazing/gateway/transport/http/connector/specification/rfc7231/ResponseHeaderFieldsIT.java | a-zuckut/gateway | apache-2.0 | 4,472 | 107 | codeparrot/github-code |
54dbf7b780eee0556ada10ffd73ea6adeee8c71d3acfd621d385e9853ac5e917 | /*
* 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 | flink-streaming-java/src/test/java/org/apache/flink/streaming/api/operators/TimerSerializerUpgradeTest.java | tzulitai/flink | apache-2.0 | 4,395 | 108 | codeparrot/github-code |
bc8188e8fabc7071b5b29c2362626a696f6ddeeb13b55a46be94fd52979ad532 | #!/usr/bin/env python2.7
# -*- coding: utf-8 -*-
# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless re... | Python | earth_enterprise/src/server/wsgi/search/plugin/coordinate_search_handler.py | tst-mswartz/earthenterprise | apache-2.0 | 10,743 | 327 | codeparrot/github-code |
255904f5f2f1c2469925db3b562928f72eaea62bfc549f7a02f3799d202b69d6 | /*
* 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 ... | Scala | core/src/test/scala/org/apache/spark/scheduler/TaskSetManagerSuite.scala | VigneshMohan1/spark-branch-2.3 | apache-2.0 | 52,353 | 1,224 | codeparrot/github-code |
e7eedc36c4508632f9a2f5837d95830a2125350032ec1ddb28e59839295b003c | /*
* Copyright 2014 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | Java | codec/src/main/java/io/netty/handler/codec/compression/FastLzFrameDecoder.java | doom369/netty | apache-2.0 | 8,161 | 226 | codeparrot/github-code |
5550c6e9fbef4ad9422a11cc88eeb381fef96fec5afe3f5e3f81f0dfd54edf3b | /*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrInOrderCommandBuilder.h"
#include "GrColor.h"
#include "GrInOrderDrawBuffer.h"
#include "GrTemplates.h"
#include "SkPoint.h"
static bool path_fill_type_is_windin... | C++ | third_party/skia/src/gpu/GrInOrderCommandBuilder.cpp | zero-rp/miniblink49 | apache-2.0 | 5,990 | 129 | codeparrot/github-code |
17663a408cc0472d4ccbefcfbb06b5fb60d2a8f8bebbd3b9114b35008ab71c56 | // 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 not... | GO | sdks/go/pkg/beam/core/runtime/exec/combine.go | rangadi/beam | apache-2.0 | 11,576 | 416 | codeparrot/github-code |
e4bb94d71dca46b6c3b1ee02fc07a4a4619f4f1a61b4ac6f1da3ba19dcf3ce43 | import * as utils from 'src/utils';
import {registerBidder} from 'src/adapters/bidderFactory';
import { BANNER, VIDEO } from 'src/mediaTypes';
const BIDDER_CODE = 'lifestreet';
const ADAPTER_VERSION = 'prebidJS-2.0';
const urlTemplate = template`//ads.lfstmedia.com/gate/${'adapter'}/${'slot'}?adkey=${'adkey'}&ad_size... | JavaScript | modules/lifestreetBidAdapter.js | indexexchange/Prebid.js | apache-2.0 | 4,925 | 160 | codeparrot/github-code |
3d098ccc8f08426c15a65cafe7ea7ae7a2d9bc48d8aa678760b2bf69c297ba77 | ' 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.Globalization
Imports System.Runtime.InteropServices
Imports System.Threading
Imports Microsoft.CodeAnalys... | Visual Basic | src/Compilers/VisualBasic/Portable/Symbols/Symbol.vb | amcasey/roslyn | apache-2.0 | 55,804 | 1,195 | codeparrot/github-code |
2972dc7db08f24c82761cafa8e73fd747ff12e6c86b3a75a5ec9d330ac8d8aea | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Java | zookeeper-server/src/test/java/org/apache/zookeeper/test/SaslAuthRequiredTest.java | maoling/zookeeper | apache-2.0 | 2,362 | 63 | codeparrot/github-code |
ec1d95a5ab8008035aee542a7a2e5151523cb44e929b8961ec9d27a722a62747 | /*
Copyright 2016 - 2017 Huawei Technologies Co., Ltd. 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 applic... | GO | singular/module/objects/singular.go | imlidian/containerops | apache-2.0 | 1,251 | 50 | codeparrot/github-code |
e7632496a8ff9460df8356a85f2d8c61160ffee14dffbb24d23da6bd94c18e88 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Java | core/src/main/java/org/elasticsearch/index/query/NestedQueryParser.java | PhaedrusTheGreek/elasticsearch | apache-2.0 | 4,390 | 96 | codeparrot/github-code |
e87f5535273b1fe4121bbea3b2a71d02ccebace46326e7609a82ae391a1c5572 | package org.testng.junit;
import java.lang.reflect.Constructor;
import org.testng.ITestListener;
import org.testng.ITestNGMethod;
import org.testng.ITestResult;
import org.testng.TestNGException;
import org.testng.collections.Lists;
import org.testng.internal.ITestResultNotifier;
import org.testng.internal.... | Java | src/main/java/org/testng/junit/JUnitTestRunner.java | rschmitt/testng | apache-2.0 | 9,185 | 309 | codeparrot/github-code |
f158e8b37c02e9f04ce4f0072dbb39a5d272f10aaf3b5bc00594bbf5015d8e92 | /*
* Copyright 2012-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Java | spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitCommand.java | izestrea/spring-boot | apache-2.0 | 8,996 | 272 | codeparrot/github-code |
402df96ffbe8b20d3d51ef862811bfbab843ab4a88ef4035c238bf7fbfb6f5c6 | /*
* 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 | server/src/main/java/org/elasticsearch/action/admin/indices/forcemerge/TransportForceMergeAction.java | robin13/elasticsearch | apache-2.0 | 4,713 | 101 | codeparrot/github-code |
65b3995ab79cc9bb98908de9069ea58b83c98aed951dcc986e03183887482392 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | Java | sources/hadoop-2.4.1-src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/BackupNode.java | songweijia/fffs | apache-2.0 | 18,017 | 482 | codeparrot/github-code |
5770a240bc701691ac9d9769e2d447921ed84fa6aba216f976c55e81601521cb | //
// ServiceStack.OrmLite: Light-weight POCO ORM for .NET and Mono
//
// Authors:
// Demis Bellot (demis.bellot@gmail.com)
// Tomasz Kubacki (tomasz.kubacki@gmail.com)
//
// Copyright 2012 Liquidbit Ltd.
//
// Licensed under the same terms of ServiceStack.
//
namespace ServiceStack.OrmLite
{
public class Orm... | C# | yafsrc/ServiceStack.OrmLite/src/ServiceStack.OrmLite/OrmLiteNamingStrategyBase.cs | unstab1e/sitecoreyaf8 | apache-2.0 | 993 | 43 | codeparrot/github-code |
e998ed66a76e99382273c55592ff2c5a51aaa08cf34b28dbbbf8eec11055e8bb | /*
* 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-spring/src/main/java/org/apache/camel/util/spring/KeyManagersParametersFactoryBean.java | DariusX/camel | apache-2.0 | 2,174 | 56 | codeparrot/github-code |
dcf1102a168cfe76c1c7590581cf6356f02eb3a894a0b945bb27b23a70aa04fe | /*
Copyright 2014 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | C++ | client/base/synchronization/lock.cc | googlei18n/google-input-tools | apache-2.0 | 1,520 | 54 | codeparrot/github-code |
ef2e8bed3794973d09f31fefa71fe5ddcc151a1eb03e92b0f475f27dde8bee81 | //----------------------------------------------------------------------------
// Copyright (C) 2011 The IPython Development Team
//
// Distributed under the terms of the BSD License. The full license is in
// the file COPYING, distributed as part of this software.
//------------------------------------------------... | JavaScript | uw/lib/python2.7/site-packages/IPython/html/static/notebook/js/maintoolbar.js | noslenfa/tdjangorest | apache-2.0 | 7,947 | 207 | codeparrot/github-code |
7fa544b7e997544173de58a87f1bc3b35d38fe6ec29d64dcf45b4ac062bbdfd2 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Java | zookeeper-server/src/test/java/org/apache/zookeeper/test/EventTypeTest.java | maoling/zookeeper | apache-2.0 | 1,746 | 52 | codeparrot/github-code |
f240d280e8487a442dcc7855be04691ebaa1d57911f29dca3db1446a095f478d | /*
* Copyright 2014 - 2018 Anton Tananaev (anton@traccar.org)
*
* 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 b... | Java | src/main/java/org/traccar/protocol/OrionFrameDecoder.java | tananaev/traccar | apache-2.0 | 2,239 | 69 | codeparrot/github-code |
c6e26a39879268a2f8612fb810fc710910f0f2e52a3a0668bc2b34a5e0fabc62 | // Require
var Q = require('q');
var _ = require('underscore');
var fs = require('fs');
var path = require('path');
var cp = require('child_process');
var http = require('./http');
var inherits = require('util').inherits;
var EventEmitter = require('events').EventEmitter;
// Output
var socket = null;
// A play u... | JavaScript | lib/player.js | rguedes/tv.js | apache-2.0 | 5,259 | 244 | codeparrot/github-code |
895973fd373f5907cce4ee605baf08e2cf6350d2d23b518dacd2678f42f63c25 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | Java | storm-server/src/test/java/org/apache/storm/scheduler/blacklist/FaultGenerateUtils.java | kishorvpatil/incubator-storm | apache-2.0 | 3,124 | 66 | codeparrot/github-code |
bb7156d2601170c8e72cee04ac9a138e4f7ed9604a6344553f1ac5963af4f42c | package org.nutz.dao.impl.sql;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import org.nutz.dao.sql.VarSet;
import org.nutz.lang.Lang;
class SimpleVarSet implements VarSet {
private static final long serialVersionUID = 1L;
private HashMap<String, Object> map;
Si... | Java | src/org/nutz/dao/impl/sql/SimpleVarSet.java | nutzam/nutz | apache-2.0 | 1,095 | 52 | codeparrot/github-code |
38f14a7f49b8d1878b41def888831af8acf803648628f957a21ace7300fa3d0a | /*
* 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-sql/src/test/java/org/apache/camel/processor/aggregate/jdbc/AbstractJdbcAggregationTestSupport.java | nikhilvibhav/camel | apache-2.0 | 3,242 | 89 | codeparrot/github-code |
c0dfbbd261fbc52f6069724b607f93f2720746f55caaf5fedbddc2779831748c | // Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0 ... | C# | src/MassTransit/Courier/InternalMessages/RoutingSlipActivityCompensatedMessage.cs | jacobpovar/MassTransit | apache-2.0 | 1,941 | 46 | codeparrot/github-code |
5878fb2a854bd60c49a01b3f0af6ccd17807a986490befbdf928641294cee062 | package org.ovirt.engine.core.aaa;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.ovirt.engine.api.extensions.ExtKey;
import org.ovirt.engine.api.extensions.ExtMap;
import org.ovirt.engine.api.extensio... | Java | backend/manager/modules/aaa/src/main/java/org/ovirt/engine/core/aaa/SearchQueryParsingUtils.java | walteryang47/ovirt-engine | apache-2.0 | 6,859 | 161 | codeparrot/github-code |
1a9b0e63ef5fbaf5ef26f7415b6f989ae4f1736f565e2ce45229f68a7ce8e5bd | /*
* 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 ... | C++ | src/xercesc/util/ValueArrayOf.hpp | xin3liang/platform_external_xerces-cpp | apache-2.0 | 5,305 | 152 | codeparrot/github-code |
6b977e437da3479251e6ff488004c0aed9f084d86c292247ee1113365856b50f | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis.PasteTracking... | C# | src/Features/Core/Portable/CodeRefactorings/AddMissingImports/AbstractAddMissingImportsRefactoringProvider.cs | DustinCampbell/roslyn | apache-2.0 | 2,914 | 66 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.