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 |
|---|---|---|---|---|---|---|---|---|
8e104b854ba70f535c2b6bbd2f28ba873f249b4a25f3ab23382b2d8487f65b51 | #include <linux/vmalloc.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/mman.h>
#include <linux/module.h>
#include "m4u_priv.h"
/* global variables */
int gM4U_log_to_uart = 2;
int gM4U_log_level = 2;
unsigned int gM4U_seed_mva = 0;
extern unsigned long gM4U_ProtectVA;
int m4u_test_alloc_dealloc(i... | C | drivers/misc/mediatek/m4u/2.0/m4u_debug.c | andrea2107/android_kernel_xiaomi_hermes | gpl-2.0 | 36,262 | 1,450 | codeparrot/github-code |
287183236eb887c218db5b09bad41d7020dad6b335a5c6ae781f9e06a6c58667 | <?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) 2000-2012 LOCKON CO.,LTD. All Rights Reserved.
*
* http://www.lockon.co.jp/
*
* 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; ei... | PHP | data/class/SC_Response.php | bangvndng/ec-cube | gpl-2.0 | 12,966 | 323 | codeparrot/github-code |
c359babff78e70745a692cc9470971584ff92b442d45d781032da5a243c4f7b1 | <?php
/**
* @version $Id$
* @package WR MegaMenu
* @author WooRockets Team <support@woorockets.com>
* @copyright Copyright (C) 2014 WooRockets.com All Rights Reserved.
* @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
*
* Websites: http://www.woorockets.com
* Technical Suppor... | PHP | wp-content/plugins/wr-megamenu/includes/gadget/edit-element.php | zhed/wpatomneto | gpl-2.0 | 3,740 | 148 | codeparrot/github-code |
2edcaf184b58b5c8e3a729938d7a516828ce14a28df4e62bba42fa59ec7c77b4 | /*
*
* @APPLE_LICENSE_HEADER_START@
*
* Copyright (c) 1999-2008 Apple Inc. All Rights Reserved.
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in
... | C++ | DarwinStreamingSrvr6.0.3-Source-relay-wasu-sx/Server.tproj/QTSSPrefs.cpp | zkf-qwj/Relay-Wasu-NoBalance | gpl-2.0 | 16,598 | 425 | codeparrot/github-code |
2c292bb7cd7ab5c528ebb46fcf028fd952b131125f3fc34d1a3e4c22a7658c06 | /*
* Bluetooth Broadcom GPIO and Low Power Mode control
*
* Copyright (C) 2011 Samsung Electronics Co., Ltd.
* Copyright (C) 2011 Google, 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 Software ... | C | drivers/bluetooth/bcm4339.c | CyanogenMod/android_kernel_samsung_trelte | gpl-2.0 | 8,961 | 395 | codeparrot/github-code |
1e925f870216a619b037717857e49aeec5875a12f1aa00e7529cd638209b0dad | /*
* handling privileged instructions
*
* Copyright IBM Corp. 2008, 2013
*
* This program 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 Software Foundation.
*
* Author(s): Carsten Otte <cotte@de.ibm.... | C | arch/s390/kvm/priv.c | fizista/Dorimanx-SG2-I9100-Kernel | gpl-2.0 | 23,834 | 867 | codeparrot/github-code |
a1613c6b2d2f16d38341a78d51b4a0367713a0573fe09f4e0d35035173e068b9 | /* Copyright (c) 2003, 2005, 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
bu... | C++ | storage/ndb/src/kernel/vm/LinearPool.hpp | SunguckLee/MariaDB | gpl-2.0 | 17,219 | 656 | codeparrot/github-code |
32207d50045094330d5efaa93fe4a18a495818d8cf8116403f051c2d3308a64f | /* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/* A structure for specifying (possibly repetitive) points in calendar
* time, a la cron */
#include <stdbool.h>
#include "time-util.h"
#include "util.h"
typedef struct CalendarComponent {
int start;
int stop;
int repeat;
struct... | C | src/shared/calendarspec.h | filbranden/systemd | gpl-2.0 | 1,178 | 47 | codeparrot/github-code |
1ea0c4ca8d2e977c4812dca8f1385a8493ffeec873bfc6bcbece59057a602de5 | /**
* ScriptDev2 is an extension for mangos providing enhanced features for
* area triggers, creatures, game objects, instances, items, and spells beyond
* the default database scripting in mangos.
*
* Copyright (C) 2006-2013 ScriptDev2 <http://www.scriptdev2.com/>
*
* This program is free software; you can red... | C++ | src/scripts/scripts/eastern_kingdoms/scarlet_monastery/instance_scarlet_monastery.cpp | mangoszero/serverZero_Rel19 | gpl-2.0 | 3,368 | 121 | codeparrot/github-code |
befef3b3e6a8917eaba7b3d38b2dfd3b66a703d8e18e23ffeff7e669591aa74e | # $Id: Element.pm 4532 2004-05-11 05:15:40Z ezra $
package XML::XPath::Node::Element;
use strict;
use vars qw/@ISA/;
@ISA = ('XML::XPath::Node');
package XML::XPath::Node::ElementImpl;
use vars qw/@ISA/;
@ISA = ('XML::XPath::NodeImpl', 'XML::XPath::Node::Element');
use XML::XPath::Node ':node_keys';
sub new {
... | Perl | extlib/XML/XPath/Node/Element.pm | rosiro/MovableTypeOpenSource-5.2.2-yamucha | gpl-2.0 | 12,480 | 504 | codeparrot/github-code |
c567331e7411ec63be05f1423992db3450069077a3877151e9a01c72a80f57ad | # -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2012, 2013 CERN.
#
# Invenio 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... | Python | invenio_deposit/fields/date.py | quantifiedcode-bot/invenio-deposit | gpl-2.0 | 2,268 | 66 | codeparrot/github-code |
f5b722fe573dec8ff99238151738fe10e3d591144c43167991812ff5fabfe012 | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 1994 - 2003, 06, 07 by Ralf Baechle (ralf@linux-mips.org)
* Copyright (C) 2007 MIPS Technologies, Inc.
*/
#include <linux/... | C | arch/mips/mm/cache.c | longman88/kernel-qspinlock | gpl-2.0 | 6,949 | 228 | codeparrot/github-code |
4fbfa5c873929f2c9d5a3cd086bd9e1a81eba3e9c04e20c32769ae59ce17db2a | /*
* This file is part of the coreboot project.
*
* Copyright (C) 2005 AMD
* Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version... | C | src/southbridge/broadcom/bcm5785/sb_pci_main.c | librecore-org/librecore | gpl-2.0 | 3,994 | 164 | codeparrot/github-code |
94081a85376a372bae872328670383650226fbe3f113cd0f93d1db7b4af51b2d | /* Machine-specific pthread type layouts. MIPS version.
Copyright (C) 2005-2012 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 th... | C | ports/sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h | dns42/glibc | gpl-2.0 | 5,904 | 233 | codeparrot/github-code |
03b185bee676a9ba7d54b86b94c028bd1162dc4dfc50d42944632acbd53d0287 | /*
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
*
* 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
... | C++ | src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_the_beast.cpp | Regigicas/TrinityCore | gpl-2.0 | 3,345 | 109 | codeparrot/github-code |
6fa69787636d6f2e404c04e5dc8b2b25b2a8b746576c9802113705b1c5b6c368 | <?php
/**
* @package Joomla.Administrator
* @subpackage com_contenthistory
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* View class for a list of con... | PHP | administrator/components/com_contenthistory/views/preview/view.html.php | puneet0191/gsoc16_browser-automated-tests | gpl-2.0 | 1,153 | 57 | codeparrot/github-code |
eee7465108ac66db3ee2dca31ec785e0b1b92165dba2b78e387b83ef9bfcc571 | #ifndef _SCSI_SCSI_CMND_H
#define _SCSI_SCSI_CMND_H
#include <linux/dma-mapping.h>
#include <linux/blkdev.h>
#include <linux/list.h>
#include <linux/types.h>
#include <linux/timer.h>
#include <linux/scatterlist.h>
#include <linux/blkdev.h>
struct Scsi_Host;
struct scsi_device;
/*
* MAX_COMMAND_SIZE is:
* The longe... | C | nsc/linux-2.6.26/include/scsi/scsi_cmnd.h | binhqnguyen/lena | gpl-2.0 | 6,324 | 213 | codeparrot/github-code |
343733f606692e91609fd3b5ab55c329a2ef24d68b15f865ce0cd9776f39cb5d | #!/usr/bin/perl
# longorf.pl v0208020920
# (c) Dan Kortschak 2002
use vars qw($USAGE);
use strict;
use Getopt::Long;
use Bio::SeqIO;
$USAGE = "longorf [--help] [--notstrict] [--verbose] [--graph] [--width printwidth] [--format seqformat] --input seqfile\n";
my ($sequencefile,$sequenceformat,$notstrict,$graph,$verb,... | Perl | ivireons/server_ivireon_test/cgi-bin/Bioperl/examples/longorf.pl | heqiaoliu/Viral-Dark-Matter | gpl-2.0 | 4,281 | 151 | codeparrot/github-code |
e3eceba1995130a70f1f8d8815b8ea72f404b4c182e9136a1a67a9a377494800 | /*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file ... | JavaScript | typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/HTMLArea.js | liayn/TYPO3.CMS | gpl-2.0 | 5,127 | 127 | codeparrot/github-code |
953ddf504c0d3fc441a68f055188a0538c98b9dc6a045e638e7a5bdb41bc457a | /*
* Copyright (c) 2016 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 notice and t... | C | drivers/staging/qcacld-2.0/CORE/HDD/src/wlan_hdd_nan_datapath.h | mdalexca/marlin | gpl-2.0 | 9,628 | 248 | codeparrot/github-code |
b17f4d57cf4c790d62805f5f9a2741e33437ba2ef21ed85431683f48d23de0fa | /*
* SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
* Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
*
* 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 wi... | C | third-party/reactos/dll/opengl/glu32/src/libnurbs/internals/mapdesc.h | GreenteaOS/Kernel | gpl-2.0 | 7,986 | 272 | codeparrot/github-code |
3dfd8befb6a95c542bc57431b79045e6879caa27a57028eb2c8d8a539bbf97d2 | /*
* devfreq: Generic Dynamic Voltage and Frequency Scaling (DVFS) Framework
* for Non-CPU Devices.
*
* Copyright (C) 2011 Samsung Electronics
* MyungJoo Ham <myungjoo.ham@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Lic... | C | drivers/devfreq/devfreq.c | ivanich/android_kernel_oneplus_msm8996 | gpl-2.0 | 32,907 | 1,260 | codeparrot/github-code |
ac20336dbc3aadbf77e546ff34f2cccda610cbad2ad569bf3d19076b729251d6 | <?php
namespace Drupal\DKANExtension\ServiceContainer;
use Behat\Behat\Context\Context;
/**
* Defines application features from the specific context.
*/
class EntityStore implements StoreInterface {
// Store entities as EntityMetadataWrappers for easy property inspection.
protected $entities = array();
protec... | PHP | test/dkanextension/src/Drupal/DKANExtension/ServiceContainer/EntityStore.php | marciuz/dkan | gpl-2.0 | 2,834 | 102 | codeparrot/github-code |
a63a8c410a723891ce2f5ee8bb2cbdb07f1dd451c27b19e64ffb8730ccee1fe7 | /* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITH... | C++ | storage/ndb/src/kernel/vm/KeyDescriptor.hpp | SunguckLee/MariaDB | gpl-2.0 | 1,223 | 43 | codeparrot/github-code |
025a3bd1981f44d39ca2ac5c904bcb40031c1d9ab0d049f2656f6cd884ac7cc5 | /* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_X86_CPU_ENTRY_AREA_H
#define _ASM_X86_CPU_ENTRY_AREA_H
#include <linux/percpu-defs.h>
#include <asm/processor.h>
#include <asm/intel_ds.h>
#ifdef CONFIG_X86_64
/* Macro to enforce the same ordering and stack sizes */
#define ESTACKS_MEMBERS(guardsize, db2_holesize... | C | linux-5.4/arch/x86/include/asm/cpu_entry_area.h | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 3,828 | 139 | codeparrot/github-code |
4ad323c55fd6c1fa88a16c36d0a589e86ffe025d217a4d972f42a7cab409eaf7 | ####
#
# http://blogs.msdn.com/b/powershell/archive/2012/07/13/join-object.aspx
#
####
###
## http://blogs.technet.com/b/heyscriptingguy/archive/2006/12/04/how-can-i-expand-the-width-of-the-windows-powershell-console.aspx
$pshost = get-host
$pswindow = $pshost.ui.rawui
$newsize = $pswindow.buffersize
$... | PowerShell | agents/windows/plugins/win_printers.ps1 | alberts/check_mk | gpl-2.0 | 8,992 | 255 | codeparrot/github-code |
9cbd447905e60706fb4b00eddabd18c283639e0a9e1c52ea7db7a1eadc508a49 | /*
* xen/drivers/char/dt-uart.c
*
* Generic uart retrieved via the device tree
*
* Julien Grall <julien.grall@linaro.org>
* Copyright (c) 2013 Linaro Limited.
*
* 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 F... | C | xen/drivers/char/dt-uart.c | emonty/vhd-util | gpl-2.0 | 1,988 | 74 | codeparrot/github-code |
98313ca8f8c82aa39a8ebdbff01da48bb2a5b470e52a6ad70900f971b3b85d58 | /*
* linux/fs/namespace.c
*
* (C) Copyright Al Viro 2000, 2001
* Released under GPL v2.
*
* Based on code from fs/super.c, copyright Linus Torvalds and others.
* Heavily rewritten.
*/
#include <linux/syscalls.h>
#include <linux/export.h>
#include <linux/capability.h>
#include <linux/mnt_namespace.h>
#include ... | C | fs/namespace.c | Koloses/kernel_j5 | gpl-2.0 | 71,550 | 2,909 | codeparrot/github-code |
9f4a6629263c8c1b142a84106e1f9d0878dd82baef4414519fb97a7a3ed31e4e | """Utility functions, node construction macros, etc."""
# Author: Collin Winter
# Local imports
from .pgen2 import token
from .pytree import Leaf, Node
from .pygram import python_symbols as syms
from . import patcomp
###########################################################
### Common node-construction "macros"
##... | Python | usr/lib/python2.6/lib2to3/fixer_util.py | 2ndy/RaspIM | gpl-2.0 | 14,225 | 421 | codeparrot/github-code |
89052af2e86c9c280543261ce8b6445227181a224f353de232c1f2ccbfcf0feb | <a href="http://github.com/angular/angular.js/tree/v1.2.13/src/ng/directive/input.js#L847" class="view-source btn btn-action"><i class="icon-zoom-in"> </i> View source</a><a href="http://github.com/angular/angular.js/edit/master/src/ng/directive/input.js" class="improve-docs btn btn-primary"><i class="icon-edit"> </i> ... | HTML | wp-content/themes/netwerven/library/js/angular-1.2.13/docs/partials/api/ng.directive:ngModel.NgModelController.html | Master244/Netwerven-Test-Site | gpl-2.0 | 14,031 | 222 | codeparrot/github-code |
e3a7ee36085a1670f3f2fed90e26f7c87d5c5bbdf962fdce27a83690bfea0f5a | /*
* ByteGetter.java
*
* PostGIS extension for PostgreSQL JDBC driver - Binary Parser
*
* (C) 2005 Markus Schaber, markus.schaber@logix-tt.com
*
* 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
* Sof... | Java | java/jdbc/src/org/postgis/binary/ByteGetter.java | ahinz/postgis | gpl-2.0 | 2,315 | 75 | codeparrot/github-code |
b4af002cde25bad0999216ee3d2bffb6f0ec7fdd505e6b7fff59621e0092381d | <?php
/**
* Custom functions that act independently of the theme templates
*
* Eventually, some of the functionality here could be replaced by core features
*
* @package sparkling
*/
/**
* Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link.
*
* @param array $args Configuration arguments.
* @... | PHP | wp-content/themes/sparkling/inc/extras.php | bee7er/whetstone_allotments | gpl-2.0 | 21,606 | 513 | codeparrot/github-code |
dba8d344704517cfa504842b95be5e700300f6031e0d0264756ed18b646315c1 | /*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | Java | jdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.phases/src/org/graalvm/compiler/phases/tiers/CompilerConfiguration.java | YouDiSN/OpenJDK-Research | gpl-2.0 | 1,924 | 45 | codeparrot/github-code |
bf59548faa15537a6c2e80168bd4b43f4a439845c7c53e43c88dc1990ab2c1c5 | /*
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++ | libethereum/libethcore/Common.cpp | EarthDollar/farmer | gpl-3.0 | 6,599 | 200 | codeparrot/github-code |
59a5d0efb45a1578d6c8512be34df074e9b80133771c28abad3497cfca021e1a | /*
** LuaSQL, SQLite driver
** Author: Tiago Dionizio, Eduardo Quintao
** See Copyright Notice in license.html
** $Id: ls_sqlite3.c,v 1.15 2009/02/07 23:16:23 tomas Exp $
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "sqlite3.h"
#include "lua.h"
#include "lauxlib.h"
#in... | C | src/luasql/ls_sqlite3.c | ensiform/etlegacy | gpl-3.0 | 15,930 | 683 | codeparrot/github-code |
64c25e2697371737b80a0846486978c635d19051c54a239884704feb33e94897 | <?php
require('../../config.php');
require_once($CFG->libdir.'/adminlib.php');
require_login();
$adminroot = admin_get_root(false, false); // settings not required - only pages
if ($section = optional_param('section', '', PARAM_SAFEDIR) and confirm_sesskey()) {
if (get_user_preferences('admin_bookmarks')) {
... | PHP | web/blocks/admin_bookmarks/create.php | dhamma-dev/SEA | gpl-3.0 | 1,219 | 48 | codeparrot/github-code |
cad5ccf676cc83a1df5d097d796091728453a53f61550b779a32da8d4aa5dbc5 | /**
* Created by panos on 4/5/16.
*/
import angular from 'angular/index'
let _app = new WeakMap()
export default class Register {
constructor (appName, deps) {
deps = deps || []
let module
try {
module = angular.module(appName)
} catch (error) {
module = angular.module(appName, deps)
... | JavaScript | plugin/website/Resources/modules/utils/register.js | ClaroBot/Distribution | gpl-3.0 | 4,922 | 185 | codeparrot/github-code |
fbe0407b4be1b501978ca45530b1dd4bd0b143079247eff5886fa64f5f340234 | /*
* Copyright (C) 2011 Tuomo Penttinen, all rights reserved.
*
* Author: Tuomo Penttinen <tp@herqq.org>
*
* This file is part of Herqq UPnP Av (HUPnPAv) library.
*
* Herqq UPnP Av is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by... | C++ | hupnp_av/src/cds_model/cds_objects/haudiobroadcast.cpp | 0xd34df00d/hupnp-ng | gpl-3.0 | 5,199 | 195 | codeparrot/github-code |
c336864e060885d23a68c35eec5b5b0282927ade7a1d70212777456e24f8c20f | -- tolua: module class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: module.lua 1004 2006-02-27 13:03:20Z lindquist $
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has no obligation to provide ... | Lua | dependencies/CEGUI/cegui/src/ScriptingModules/LuaScriptModule/support/tolua++bin/lua/module.lua | gorkinovich/DefendersOfMankind | gpl-3.0 | 1,526 | 69 | codeparrot/github-code |
3948b2d2b4f60ce75e09782560987ea8a056feee27d0b1b392964aab2389842d |
#ifndef __AP_HAL_LINUX_NAMESPACE_H__
#define __AP_HAL_LINUX_NAMESPACE_H__
/* While not strictly required, names inside the Linux namespace are prefixed
* with Linux for clarity. (Some of our users aren't familiar with all of the
* C++ namespace rules.)
*/
namespace Linux {
class LinuxUARTDriver;
class Lin... | C | libraries/AP_HAL_Linux/AP_HAL_Linux_Namespace.h | AlexHAHA/ardupilot | gpl-3.0 | 1,161 | 43 | codeparrot/github-code |
64f9baf0458a67ba4e37b4016e538014c2f0d59e183938319261df3742bd6904 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
\\ / O peration |
\\ / A nd | For copyright notice see file Copyright
\\/ M anipulation |
---------------------... | C++ | src/finiteArea/finiteArea/lnGradSchemes/lnGradScheme/lnGradSchemes.C | Unofficial-Extend-Project-Mirror/openfoam-extend-foam-extend-3.1 | gpl-3.0 | 2,074 | 58 | codeparrot/github-code |
d77fa1552efa6cccb4b720df528b4b9ecf745b2d0881679110b0fab3d028a460 | package org.bukkit.command.defaults;
import java.util.List;
import org.apache.commons.lang.Validate;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.event.p... | Java | src/main/java/org/bukkit/command/defaults/TeleportCommand.java | dentmaged/Bukkit | gpl-3.0 | 4,538 | 126 | codeparrot/github-code |
dfed37be383a8e7c0dc60500977d48405c945b18d510079800492e1d082b7389 | /* Set file access and modification times.
Copyright (C) 2003-2013 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 Software Foundation; either version 3 of the License, or any
... | C | lib/utimens.c | jave/xwidget-emacs | gpl-3.0 | 18,151 | 543 | codeparrot/github-code |
01966a307ccace6a977586501ecf186a8f121ef27b444a6f5db618a4036a63fa | #! /usr/bin/env python2
"""
discovery-wrapper A small tool which wraps around discovery and tries to
guide the discovery process with a more modern approach with a
Queue and workers.
Based on the original version of poller-wrapper.py by Job Snijders
Author: Neil Lathwood <nei... | Python | discovery-wrapper.py | wiad/librenms | gpl-3.0 | 13,314 | 387 | codeparrot/github-code |
aeefe0a181b012f310ce3854d2467e096532fdcc57badf0409f4d361abe7f40b | # Copyright (c) 2012 Mitch Garnaat http://garnaat.org/
# Copyright (c) 2012 Amazon.com, Inc. or its affiliates.
# All Rights Reserved
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without... | Python | y/google-cloud-sdk/platform/gsutil/third_party/boto/boto/beanstalk/layer1.py | harshilasu/GraphicMelon | gpl-3.0 | 56,243 | 1,202 | codeparrot/github-code |
88f3fa49975ea0b2b7e2e6c3bf94a9c6888e3d7d6e5df42450631a678b95634a | // queue.h - written and placed in the public domain by Wei Dai
//! \file
//! \headerfile queue.h
//! \brief Classes for an unlimited queue to store bytes
#ifndef CRYPTOPP_QUEUE_H
#define CRYPTOPP_QUEUE_H
#include "cryptlib.h"
#include "simple.h"
NAMESPACE_BEGIN(CryptoPP)
class ByteQueueNode;
//! \class ByteQueue... | C | libs/win_crypto++/include/queue.h | GabrielTofvesson/CPPTools | gpl-3.0 | 4,691 | 162 | codeparrot/github-code |
c0bd7ace97a9cb3e1e2879239b370b76bb6859267c44de749757d0da5f09408b | <?php /* \thebuggenie\core\framework\Event::createNew('core', 'login_form_tab')->trigger(array('selected_tab' => $selected_tab)); */ ?>
<script type="text/javascript">
require(['domReady', 'prototype'], function (domReady, prototype) {
domReady(function () {
if (document.location.href.search('<?... | PHP | core/modules/main/templates/_login.inc.php | gabor-udvari/thebuggenie | mpl-2.0 | 5,720 | 78 | codeparrot/github-code |
6db90ac4092db053999dd1e5f6bd58056c560f8952cce22aa638c19de8815844 | #include "node_dtrace.h"
#include "node_win32_etw_provider.h"
#include "node_etw_provider.h"
#include "node_win32_etw_provider-inl.h"
namespace node {
using v8::JitCodeEvent;
using v8::V8;
HMODULE advapi;
REGHANDLE node_provider;
EventRegisterFunc event_register;
EventUnregisterFunc event_unregister;
EventWriteFunc ... | C++ | src/bes/nodejs/node_win32_etw_provider.cc | Jet-Streaming/framework | mpl-2.0 | 5,284 | 192 | codeparrot/github-code |
b175ae275447b93989d15c5bb627b7e701c82c3343ba18c162f99a423fdb4cae | odoo.define('website_event.ticket_details', function (require) {
var publicWidget = require('web.public.widget');
publicWidget.registry.ticketDetailsWidget = publicWidget.Widget.extend({
selector: '.o_wevent_js_ticket_details',
events: {
'click .o_wevent_registration_btn': '_onTicke... | JavaScript | addons/website_event/static/src/js/website_event_ticket_details.js | ddico/odoo | agpl-3.0 | 1,926 | 56 | codeparrot/github-code |
c008f223ce509d39b780f5b49919846e7cb4651ffd910522ccc5bda6b2dc3184 | /*
***** BEGIN LICENSE BLOCK *****
Copyright © 2009 Center for History and New Media
George Mason University, Fairfax, Virginia, USA
http://zotero.org
This file is part of Zotero.
Zotero is free software: you can redistribute it and/or modify
... | JavaScript | chrome/content/zotero/note.js | egh/zotero | agpl-3.0 | 3,062 | 104 | codeparrot/github-code |
178449e2c652333481712434bce39972b845695dce1dcdce4ca322ca048bcfb1 | /*
* eXist Open Source Native XML Database
* Copyright (C) 2015 The eXist Project
* http://exist-db.org
*
* This program 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
* of the... | Java | src/org/exist/security/internal/AccountImpl.java | ljo/exist | lgpl-2.1 | 11,934 | 342 | codeparrot/github-code |
2ff6d58078959c79d1c9dc68cf2e16f13302ec32b084bca497a9bf07548cf06b | /*
[The "BSD licence"]
Copyright (c) 2004 Jean Bovet
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 conditions an... | Java | src/edu/usfca/vas/window/fa/WindowMachineFASettings.java | jamesmowens/hit-automaton | lgpl-2.1 | 10,270 | 260 | codeparrot/github-code |
41fee72159d8d9e2b60b9716aedb771abe5acb7812ab3618f5ca13aa6a8dd302 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2018, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | Java | undertow/src/main/java/org/wildfly/extension/undertow/sso/elytron/SingleSignOnIdentifierFactory.java | xasx/wildfly | lgpl-2.1 | 1,767 | 51 | codeparrot/github-code |
c077d7fbfe5b80b60ff31de3b85fb6fabb766e92c13adca0e7fe42812ee8d938 | /*
* Copyright (C) 2011 The MusicMod Project
*
* 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 | src/org/yammp/dialog/PlaylistDialog.java | archeng504/yammp | lgpl-3.0 | 9,445 | 321 | codeparrot/github-code |
71cde0cc3ae72944b22e9fb5aca4b4fa86bb82d21d303a16a6b138f938303166 | /**
* 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 | hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/store/TestStateStoreMembershipState.java | apurtell/hadoop | apache-2.0 | 24,181 | 605 | codeparrot/github-code |
5c10904dcc6ab2eeb9f5c209bfb456b0dea4a2873e0ebcda725eebb6a21f5f74 | <?php
/**
* This file is part of the OpenPNE package.
* (c) OpenPNE Project (http://www.openpne.jp/)
*
* For the full copyright and license information, please view the LICENSE
* file and the NOTICE file that were distributed with this source code.
*/
/**
* The upgrating strategy by importing member's email ad... | PHP | data/upgrade/2/opUpgradeFrom2ImportEmailAddressStrategy.class.php | cripure/openpne3 | apache-2.0 | 1,791 | 62 | codeparrot/github-code |
b2fde94d557ac9e0b92d42b4bbfc9ffa89e1a4171f6630a647aca3d785b86edd | // Copyright 2017 PingCAP, 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... | GO | util/ranger/checker.go | Nify/tidb | apache-2.0 | 3,716 | 143 | codeparrot/github-code |
322698a6b37b61854e2736d8c82706ad29e0086565b1c7b367b36335b9a194fa | /*
*
* Copyright 2015 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | C | src/core/lib/transport/metadata_batch.c | kumaralokgithub/grpc | apache-2.0 | 10,888 | 316 | codeparrot/github-code |
6bd6b94b97023f438259d618e9095f223acdaac2cb114c619229047bbf2f2434 | /**
* $RCSfile$
* $Revision: 1653 $
* $Date: 2005-07-20 00:21:40 -0300 (Wed, 20 Jul 2005) $
*
* Copyright (C) 2004-2008 Jive Software. 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 c... | Java | src/java/org/jivesoftware/openfire/handler/IQvCardHandler.java | haipeng-ssy/openfire_src | apache-2.0 | 6,967 | 170 | codeparrot/github-code |
89a199b699e8b2124d67b128df6ac59f4f505d9c9ffc476b688bad64a76d9fde | if (bytes >= 512) {
__m256i y0, y1, y2, y3, y4, y5, y6, y7, y8, y9, y10, y11, y12, y13, y14,
y15;
/* the naive way seems as fast (if not a bit faster) than the vector way */
__m256i z0 = _mm256_set1_epi32(x[0]);
__m256i z5 = _mm256_set1_epi32(x[1]);
__m256i z10 = _mm256_set1_epi32(x[2]);
... | C | third_party/sodium/src/libsodium/crypto_stream/salsa20/xmm6int/u8.h | Jigsaw-Code/outline-client | apache-2.0 | 18,396 | 477 | codeparrot/github-code |
3fb9e92c5d6c5048ef90416fbbe538d1ba308c6947f0746f918e491d028caa62 | /*
* Copyright 2014, 2015 Dominick Baier, Brock Allen
*
* 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 applica... | C# | source/Core/Endpoints/ClientPermissionsController.cs | uoko-J-Go/IdentityServer | apache-2.0 | 6,206 | 152 | codeparrot/github-code |
7bb934a282a12b701588eac4b2b8ef23b62bb1d08e2baf9a8c6b8ed1900fd5fe | /*
* 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 ... | C | src/test/examples/testlibpq3.c | lavjain/incubator-hawq | apache-2.0 | 6,471 | 233 | codeparrot/github-code |
1ea721cb378e21adceaaffd468be6208c2fb779f199e62846a83d6c453536263 | /**
* 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 Lice... | Java | maven-repository-manager/src/test/java/org/jboss/pnc/mavenrepositorymanager/AbstractImportTest.java | psakar/pnc | apache-2.0 | 3,478 | 94 | codeparrot/github-code |
ef081ef833a85c587db0d73c8c1c23c54309bc97ffea5a0a35c20ff2f411ebfd | // Copyright 2000-2018 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.openapi.project;
import com.intellij.openapi.components.PersistentStateComponent;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.... | Java | platform/projectModel-api/src/com/intellij/openapi/project/ProjectTypeService.java | goodwinnk/intellij-community | apache-2.0 | 1,426 | 46 | codeparrot/github-code |
ab44b031c367ff6ce3e2aec4530f08fe3f57ead77144022e3a2277dca2f495d8 | #!/usr/bin/env bash
# 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, s... | Shell | src/java/test/bin/test-patch.sh | ralgond/paxoskeeper | apache-2.0 | 25,998 | 650 | codeparrot/github-code |
1d8faf1d75ac6e9cb4f82f16cbcea318b2a3b2f92c0064c77a7df25eaa816c9a | /*
* Copyright 2000-2017 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/ui-designer/src/com/intellij/uiDesigner/wizard/BindToExistingBeanStep.java | jk1/intellij-community | apache-2.0 | 9,877 | 293 | codeparrot/github-code |
2f6163167734bb140829bf0a996faf871c6c6ce6c4b3eec5ca804e752d84a9e4 | /*
* 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-redis/src/test/java/org/apache/camel/component/redis/RedisComponentSpringIntegrationTest.java | DariusX/camel | apache-2.0 | 3,342 | 77 | codeparrot/github-code |
23cb499cfe5e5f70e7c23a49e40ee59d341ed84a4df7c4073dacc6b9d25babaa | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | C | Modules/Video/IO/include/itkVideoFileWriter.h | vfonov/ITK | apache-2.0 | 5,019 | 162 | codeparrot/github-code |
bceb7edd460494b2967028506ecd504c7cc72250ea55bafea593fa93433e93e0 | /*
* This confidential and proprietary software may be used only as
* authorised by a licensing agreement from ARM Limited
* (C) COPYRIGHT 2007-2013 ARM Limited
* ALL RIGHTS RESERVED
* The entire notice above must be reproduced on all authorised
* copies and copies may only be made to the extent permitted
* by a... | C | kernel-3.10/drivers/misc/mediatek/gpu/mt8127/mali/mali/common/mali_kernel_core.c | zhengdejin/X1_Code | apache-2.0 | 46,229 | 1,406 | codeparrot/github-code |
a05f91013ec0fab312985baa419431985c6243dc1a14344c01081e235e2da70c | //
// Encog(tm) Core v3.2 - .Net Version
// http://www.heatonresearch.com/encog/
//
// Copyright 2008-2014 Heaton Research, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
/... | C# | ConsoleExamples/Examples/RangeandMarket/MarketAnalyzer.cs | yonglehou/encog-dotnet-core | apache-2.0 | 8,016 | 222 | codeparrot/github-code |
e984968a4281e4ff811a5544d4fbb9e898e6dbc19c73bf7bf279b016450f41bd | /* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2010, Ajax.org B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of sou... | JavaScript | projects/web/web-engine/prototype/scripts/lib/ace/mode-xml.js | McLeodMoores/starling | apache-2.0 | 29,974 | 831 | codeparrot/github-code |
56ca7a308a81f2fb02c1e360250508dcb1c548a5a8e88cdad55ecf0ad1865361 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>has_modulus_assign</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../index.html" t... | HTML | libs/boost/libs/type_traits/doc/html/boost_typetraits/reference/has_modulus_assign.html | flingone/frameworks_base_cmds_remoted | apache-2.0 | 23,653 | 191 | codeparrot/github-code |
8d7b682e0d11832a92c936699e8b6f742300b70d392fb8598deab5dc9459dcc1 |
/*
*
* JSMin.java 2006-02-13
*
* Updated 2007-08-20 with updates from jsmin.c (2007-05-22)
*
* Copyright (c) 2006 John Reilly (www.inconspicuous.org)
*
* This work is a translation from C to Java of jsmin.c published by
* Douglas Crockford. Permission is hereby granted to use the Java
* version under the sa... | Java | saiku-bi-platform-plugin-p7.1/src/main/java/org/saiku/plugin/util/packager/JSMin.java | OSBI/saiku | apache-2.0 | 7,334 | 309 | codeparrot/github-code |
64432f08973940eb8d55211305db94bc6318578481b58b530b1e0247c6a70a44 | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution.... | C# | Common/Product/SharedProject/FolderNode.cs | zhoffice/nodejstools | apache-2.0 | 23,776 | 543 | codeparrot/github-code |
40263ab0eb27c11954a5bd6a7d64be660b1bf007ba09b76ddca412b7c4eefe85 | /*
* 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; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.core.ml.dataframe.stats.outlierdete... | Java | x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/dataframe/stats/outlierdetection/Parameters.java | robin13/elasticsearch | apache-2.0 | 5,618 | 127 | codeparrot/github-code |
9907709aa64a0603924ad042c8e1da5ba5ae0428534455bc963edf0e87fcb640 | /*
* IzPack - Copyright 2001-2010 Julien Ponge, All Rights Reserved.
*
* http://izpack.org/
* http://izpack.codehaus.org/
*
* Copyright 2005,2009 Ivan SZKIBA
* Copyright 2010,2011 Rene Krell
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wi... | Java | izpack-api/src/main/java/com/izforge/izpack/api/config/BasicProfile.java | akuhtz/izpack | apache-2.0 | 10,403 | 373 | codeparrot/github-code |
d0b63b8841365b3b07a909152e8514ee2fe692e1c80ea8696db41e787e2092b3 | /**
* 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 | extensions/expression-language/Driver.h | benqiu2016/nifi-minifi-cpp | apache-2.0 | 1,980 | 62 | codeparrot/github-code |
be360e0543967d7e24fc64cbc1a9d08ffb0565bbc862271ed6a0ded2fc0654d3 | /* Copyright 2015 Samsung Electronics Co., Ltd.
*
* 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 la... | C++ | src/iotjs_module_timer.cpp | wateret/iotjs | apache-2.0 | 5,218 | 213 | codeparrot/github-code |
a1b7e36065c18a6abb46a3371ca7c60f05797ce9f84d8ba50aabf9b034681c92 | /*
* Copyright 2007 Sascha Weinreuter
*
* 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 | xml/relaxng/src/org/intellij/plugins/relaxNG/validation/RngParser.java | apixandru/intellij-community | apache-2.0 | 10,006 | 243 | codeparrot/github-code |
93350148d0a7b997831b26846e5d20307eadaf8220fa0bde9c0e8d4ce6faf50b | /* 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/lite/profiling/noop_profiler.h | gunan/tensorflow | apache-2.0 | 1,513 | 47 | codeparrot/github-code |
cec77f8d088e45ab8ebd63ddc85c9d00dd46d13863334900386ac2fd76248bdb | # -*- coding: utf-8 -*-
"""Fake data generator.
To use:
1. Install fake-factory.
pip install fake-factory
2. Create your OSF user account
3. Run the script, passing in your username (email).
::
python3 -m scripts.create_fakes --user fred@cos.io
This will create 3 fake public projects, each with 3 fake co... | Python | scripts/create_fakes.py | Johnetordoff/osf.io | apache-2.0 | 19,763 | 384 | codeparrot/github-code |
890b2582fc99cab377817fbe35f8ca2f2d1cc232488a97e965a91a29853973b3 | /**
* 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/org/apache/commons/lang3/builder/DiffBuilder.java | MeRPG/EndHQ-Libraries | apache-2.0 | 26,079 | 915 | codeparrot/github-code |
b28ae0c11146029e563a6d235559d76bc44f530a28858b700ad8f7c7c778e3d8 | /*
* Copyright 2016 SimplifyOps, Inc. (http://simplifyops.com)
*
* 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 ... | Java | core/src/main/java/com/dtolabs/rundeck/core/utils/QuotedStringTokenizer.java | variacode/rundeck | apache-2.0 | 7,149 | 228 | codeparrot/github-code |
e536f103c57cdc80c2db9d643d46f76cdc442e5a8596e23b867cb8b52fc1b678 | #!/bin/bash
# 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"); ... | Shell | docs/build_version_doc/build_all_version.sh | rahul003/mxnet | apache-2.0 | 2,382 | 84 | codeparrot/github-code |
e8e7624fb54f9a64843d0353bfbc630498b2330b51ba6072d6ac8ebe247ab6cb | #pragma once
// MESSAGE DIAGNOSTIC PACKING
#define MAVLINK_MSG_ID_DIAGNOSTIC 173
MAVPACKED(
typedef struct __mavlink_diagnostic_t {
float diagFl1; /*< Diagnostic float 1*/
float diagFl2; /*< Diagnostic float 2*/
float diagFl3; /*< Diagnostic float 3*/
int16_t diagSh1; /*< Diagnostic short 1*/
int16_t diagSh2; /*... | C | video/legacy/mavlink/slugs/mavlink_msg_diagnostic.h | seeul8er/DroneBridge | apache-2.0 | 13,014 | 339 | codeparrot/github-code |
0e4c89f613097c301da0b24c862f788a97252a06f906d216c96cb278ead08a79 | /*
* 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/resources/i18n/BpmnEditorConstants.java | dgutierr/uberfire-extensions | apache-2.0 | 1,180 | 41 | codeparrot/github-code |
40fec073b2118b6455e06d3aa62c774d0c3ab36eda1fc7eab724fe133e00d494 | /*
* 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 | exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/common/HashPartitionTest.java | johnnywale/drill | apache-2.0 | 13,922 | 320 | codeparrot/github-code |
2e5b6d8df7426b5da79cb66fceb0ab50fc7fee04bceb33ea8fc6f53e982a921e | /**
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... | Java | rice-middleware/kim/kim-impl/src/main/java/org/kuali/rice/kim/impl/group/GroupMemberBo.java | mztaylor/rice-git | apache-2.0 | 2,735 | 87 | codeparrot/github-code |
eac459f85f67792ee8777b8a4467b1c09fcee9db200f0f6f1f2b261282eded91 | /**
* @license
* Copyright 2015 Google Inc. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | JavaScript | src/javascript/crypto/e2e/openpgp/keygenerator.js | adhintz/end-to-end | apache-2.0 | 10,724 | 305 | codeparrot/github-code |
b6e0b68876a7c3fbef742d60fed7af2c4c0dcbebde0fcef8ab9928c4e219f005 | // 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.util.io.keyStorage;
import com.intellij.util.Processor;
import com.intellij.util.io.InlineKeyDescriptor;
import org.jetbrains.annotations.NotNull;
import ja... | Java | platform/util/src/com/intellij/util/io/keyStorage/InlinedKeyStorage.java | zdary/intellij-community | apache-2.0 | 1,695 | 79 | codeparrot/github-code |
61f7466b0b4fb9e48e241e8497b352eebc3b6a05e8f8f37e5cd2586aee0c4e03 | // Copyright (c) 2003-present, Jodd Team (http://jodd.org)
// 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,
// th... | Java | jodd-petite/src/test/java/jodd/petite/ManualTest.java | wjw465150/jodd | bsd-2-clause | 7,696 | 224 | codeparrot/github-code |
4bd4e55e33c1f00668aa778276389b03b05bb4aada400126e63596245393db58 | /*
* Copyright (C) 2008 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | Java | zxing/android/src/com/google/zxing/client/android/result/AddressBookResultHandler.java | kerwinxu/barcodeManager | bsd-2-clause | 7,135 | 218 | codeparrot/github-code |
e8310ca5ed7e508ede6ec52eff83d6b9b0b52f1c49e5f6a66873a10528d4c674 | /**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file eglGraphicsWindow.h
* ... | C | panda/src/egldisplay/eglGraphicsWindow.h | chandler14362/panda3d | bsd-3-clause | 1,804 | 69 | codeparrot/github-code |
faad38ec86e15bd4c31789751164298ad444982efc831badff685b024b098b72 | from __future__ import division, absolute_import, print_function
import re
import os
import sys
import warnings
import platform
import tempfile
from subprocess import Popen, PIPE, STDOUT
from numpy.distutils.fcompiler import FCompiler
from numpy.distutils.exec_command import exec_command
from numpy.distutils.misc_uti... | Python | numpy/distutils/fcompiler/gnu.py | maniteja123/numpy | bsd-3-clause | 14,957 | 400 | codeparrot/github-code |
0caaad449b4fb85f210af3b62fe2fc84cbb426fbc63e05491cb25f70da0cf10d | /*
* arch/arm64/include/asm/arch_timer.h
*
* Copyright (C) 2012 ARM Ltd.
* Author: Marc Zyngier <marc.zyngier@arm.com>
*
* 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.
*
* T... | C | kernel_dvfs/linux-linaro-tracking-gem5/arch/arm64/include/asm/arch_timer.h | lokeshjindal15/pd-gem5 | bsd-3-clause | 3,792 | 154 | codeparrot/github-code |
d150bb30b13944c4dbc39792306a13f0e169c67afc264242358627293b1d2188 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/url/url_search_params.h"
#include <algorithm>
#include <utility>
#include "third_party/blink/renderer/bindings... | C++ | third_party/blink/renderer/core/url/url_search_params.cc | chromium/chromium | bsd-3-clause | 8,516 | 272 | codeparrot/github-code |
813e551921895f0bf0cbecb56c8db4f5bfb06d862f9571c78945e8d759d54f5f | """
Create movie from MEG inverse solution
=======================================
Data were computed using mne-python (http://martinos.org/mne)
"""
import os
import numpy as np
from surfer import Brain
from surfer.io import read_stc
print(__doc__)
"""
create Brain object for visualization
"""
brain = Brain('fsav... | Python | examples/save_movie.py | diego0020/PySurfer | bsd-3-clause | 1,110 | 45 | codeparrot/github-code |
64788fd9cac5a84b57917f42c8ae4eb3bdcc240c4e190cfb126973b417e16068 | /**
* @file usbKbdInit.c
*/
/* Embedded Xinu, Copyright (C) 2013. All rights reserved. */
#include <usb_core_driver.h>
#include <usbkbd.h>
/** Table of USB keyboard control blocks */
struct usbkbd usbkbds[NUSBKBD];
/** USB device driver structure for the usbkbd driver */
static struct usb_device_driver usbkbd_d... | C | device/usbkbd/usbKbdInit.c | uswick/xinu-parallella | bsd-3-clause | 1,752 | 74 | codeparrot/github-code |
f05aa34a892d17040c2e5880c84987b8d3c4f1a5e047c2712e35f12612ddf661 | # $Id$
"""Mixins that are useful for classes using vtk_kit.
@author: Charl P. Botha <http://cpbotha.net/>
"""
from external.vtkPipeline.ConfigVtkObj import ConfigVtkObj
from external.vtkPipeline.vtkMethodParser import VtkMethodParser
from module_base import ModuleBase
from module_mixins import IntrospectModuleMixin ... | Python | module_kits/vtk_kit/mixins.py | nagyistoce/devide | bsd-3-clause | 13,612 | 337 | codeparrot/github-code |
e5a1ccb896ddd1e142c242c6fe67080df8f52085917e11fdcca52e42135918ee | // Copyright (C) 2006 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 ... | C++ | third_party/libphonenumber/src/phonenumbers/utf/unicodetext.cc | leighpauls/k2cro4 | bsd-3-clause | 15,052 | 515 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.