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 |
|---|---|---|---|---|---|---|---|---|
76c55721e5d736ef68f767c854c5e2b35fdbe2c13b2f44f75c4f293404db159d | /*
* TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
*
* FILE: dat_towctrans.c
*
* TOWCTRANS: wint_t towctrans (wint_t wc, wctrans_t charclass);
*/
#include <errno.h>
#include <stdlib.h>
#include <wctype.h>
#include "tst_types.h"
#include "tgn_locdef.h"
/*
* NOTE:
* Set ret_flg = 1, when a return value is... | C | plugins/glibc-2.13-new/localedata/tests-mbwc/dat_towctrans.c | utds3lab/pemu | gpl-2.0 | 2,739 | 94 | codeparrot/github-code |
25a6edfc33c9f070a1576a979c1ba624960fe0e1c6b7e0ee152d1e3e37c278eb | // $Id: ajax.js,v 1.26.2.2 2009/11/30 22:47:05 merlinofchaos Exp $
/**
* @file ajax_admin.js
*
* Handles AJAX submission and response in Views UI.
*/
Drupal.Views.Ajax = Drupal.Views.Ajax || {};
/**
* Handles the simple process of setting the ajax form area with new data.
*/
Drupal.Views.Ajax.setForm = function... | JavaScript | sites/all/modules/views/js/ajax.js | hugowetterberg/goodold_drupal | gpl-2.0 | 9,897 | 314 | codeparrot/github-code |
24b9f368b74a5e41325bc0e87b96958f194cefd7702f884297831e740a4b5ce2 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "mojo/public/cpp/bindings/lib/bindings_serialization.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bi... | C++ | mojo/public/cpp/bindings/lib/bindings_serialization.cc | 7kbird/chrome | bsd-3-clause | 3,424 | 118 | codeparrot/github-code |
0d68ef6dca121a76320aae33070f03e176ef610fd8b9593f99b8167af1afc02e | // 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 <stddef.h>
#include <stdint.h>
#include "base/files/memory_mapped_file.h"
#include "media/base/test_data_util.h"
#include "media/filters/ivf_par... | C++ | third_party/chromium/media/filters/ivf_parser_unittest.cc | youtube/cobalt | bsd-3-clause | 1,948 | 60 | codeparrot/github-code |
aa90660bfbaa94320d949dff76375de3c0479fe785352ebe404246b909ccf16f | using Orchard.ContentManagement.MetaData;
using Orchard.Core.Contents.Extensions;
using Orchard.Data.Migration;
namespace Orchard.CustomForms {
public class Migrations : DataMigrationImpl {
public int Create() {
ContentDefinitionManager.AlterTypeDefinition("CustomForm",
cfg => ... | C# | src/Orchard.Web/Modules/Orchard.CustomForms/Migrations.cs | leonhaft/LearnOrchard | bsd-3-clause | 2,129 | 52 | codeparrot/github-code |
9981aec0c18244137a8a98565015aff563f23fe0ab1d4c8331635c65876962bf | /* tmp421.c
*
* Copyright (C) 2009 Andre Prendel <andre.prendel@gmx.de>
* Preliminary support by:
* Melvin Rook, Raymond Ng
*
* 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 versi... | C | uefi/linux-source-3.8.0/drivers/hwmon/tmp421.c | SanDisk-Open-Source/SSD_Dashboard | gpl-2.0 | 8,505 | 328 | codeparrot/github-code |
0b7069e5ce90cebe66cc84a85ae5a21669e60005a29b56c6b6958c77c216a1c8 | /****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2008-2010 Ricardo Quesada
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "So... | C++ | yamiHikariGame/libs/cocos2dx/label_nodes/CCLabelTTF.cpp | slightair/yamiHikariGame | mit | 15,254 | 568 | codeparrot/github-code |
fea096a8ca47d770d38e8f9aceaeb091f49e1374e26bcdc43f9f29b055e47bb8 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace System.Director... | C# | src/System.DirectoryServices/src/System/DirectoryServices/ActiveDirectory/GlobalCatalog.cs | nbarbettini/corefx | mit | 17,313 | 467 | codeparrot/github-code |
b6509225fdad7d6e9efa0089b3bc299e45b010a901b0d8a87883323aff8978b4 | /*
* Copyright (C) 1999, 2000, 2004 MIPS Technologies, Inc.
* All rights reserved.
* Authors: Carsten Langgaard <carstenl@mips.com>
* Maciej W. Rozycki <macro@mips.com>
*
* This program is free software; you can distribute it and/or modify it
* under the terms of the GNU General Public License (Version 2) a... | C | arch/mips/pci/ops-gt64xxx_pci0.c | jameshilliard/m8-3.4.0-gb1fa77f | gpl-2.0 | 3,755 | 136 | codeparrot/github-code |
8cc837574b1de5d0aa3dc5390149b68169351488cb09978804da62b555c2954d |
#ifndef MSP3400_DRIVER_H
#define MSP3400_DRIVER_H
#include <media/msp3400.h>
#include <media/v4l2-device.h>
#include <media/v4l2-ctrls.h>
#define MSP_CARRIER(freq) ((int)((float)(freq / 18.432) * (1 << 24)))
#define MSP_MODE_AM_DETECT 0
#define MSP_MODE_FM_RADIO 2
#define MSP_MODE_FM_TERRA 3
#define MSP_MO... | C | drivers/media/video/msp3400-driver.h | Evervolv/android_kernel_htc_msm8974 | gpl-2.0 | 2,993 | 130 | codeparrot/github-code |
4107c7f496feb170992abfd4f1b284fa8594407f7c5b8b796ff1d7da9d565984 | #ifndef _SPARC_PGALLOC_H
#define _SPARC_PGALLOC_H
#include <linux/kernel.h>
#include <linux/sched.h>
#include <asm/page.h>
#include <asm/btfixup.h>
struct page;
extern struct pgtable_cache_struct {
unsigned long *pgd_cache;
unsigned long *pte_cache;
unsigned long pgtable_cache_sz;
unsigned long pgd_cache_sz;
} ... | C | arch/sparc/include/asm/pgalloc_32.h | jameshilliard/m8-3.4.0-gb1fa77f | gpl-2.0 | 2,532 | 69 | codeparrot/github-code |
0f089f1b7e43b5967dd9168311a3a36d95af2260b2912b45713f076191b53e3b | /*
* This code is derived from the VIA reference driver (copyright message
* below) provided to Red Hat by VIA Networking Technologies, Inc. for
* addition to the Linux kernel.
*
* The code has been merged into one source file, cleaned up to follow
* Linux coding style, ported to the Linux 2.6 kernel tree and cl... | C | drivers/net/ethernet/via/via-velocity.c | standak3/m8_ul_4.4.2_original | gpl-2.0 | 69,701 | 2,819 | codeparrot/github-code |
d4adb9a4876e90300d7d46ca737945181de7339fff205c261b8ad9d5e5e758da | /*
* Driver for S3 SonicVibes soundcard
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*
* BUGS:
* It looks like 86c617 rev 3 doesn't supports DDMA buffers above 16MB?
* Driver sometimes hangs... Nobody knows why at this moment...
*
* This program is free software; you can redistribute it and/or... | C | sound/pci/sonicvibes.c | Evervolv/android_kernel_htc_msm8974 | gpl-2.0 | 49,942 | 1,516 | codeparrot/github-code |
24a326ca7f9ff445aae42527c8770e130130b889e8ba2edfcbad7105e724cb8f |
#include <linux/buffer_head.h>
#include <linux/hdreg.h>
#include <linux/slab.h>
#include <asm/dasd.h>
#include <asm/ebcdic.h>
#include <asm/uaccess.h>
#include <asm/vtoc.h>
#include "check.h"
#include "ibm.h"
static sector_t
cchh2blk (struct vtoc_cchh *ptr, struct hd_geometry *geo) {
sector_t cyl;
__u16 head;
... | C | block/partitions/ibm.c | jameshilliard/m8-3.4.0-gb1fa77f | gpl-2.0 | 5,511 | 229 | codeparrot/github-code |
8fdffa96109839bce697160bdfdee0bb43dda024f4fd579869a6cd90d5c7f2ae | /*
*
* Author Karsten Keil <kkeil@novell.com>
*
* Copyright 2008 by Karsten Keil <kkeil@novell.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.
*
* This program is dis... | C | drivers/isdn/mISDN/layer2.c | jameshilliard/m8-3.4.0-gb1fa77f | gpl-2.0 | 50,588 | 2,211 | codeparrot/github-code |
b074b26bd2557b52f5818a338666696a668456602cd06b6b16d8902a0b8332d2 | /*
* net/core/netprio_cgroup.c Priority Control Group
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*
* ... | C | net/core/netprio_cgroup.c | jameshilliard/m8-3.4.0-gb1fa77f | gpl-2.0 | 7,152 | 323 | codeparrot/github-code |
b2255fe2a4ace71da961305cdb7df522897e3dc7a59c63dee3c48d88608b4e74 | /* Copyright (c) 2012-2016, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | C | include/linux/ipa.h | SlimRoms/kernel_htc_msm8994 | gpl-2.0 | 52,061 | 2,081 | codeparrot/github-code |
48c4c6713f51cc214e69753e8eb80657b7372d6b688666653af9968fbb733546 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle ... | PHP | report/completion/index.php | AmrataRamchandani/moodle | gpl-3.0 | 23,390 | 742 | codeparrot/github-code |
d360589f148889281c0d665a858660a719fb152dc2df97ece21e3c14a16209d1 | /// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
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 la... | C++ | libraries/AP_Compass/AP_Compass_LSM303D.cpp | wingboys/ardupilot | gpl-3.0 | 15,994 | 547 | codeparrot/github-code |
23b326a974981d78bddad7719eb6dd81b0b4199d44e96fd9a8b51b59af098636 | /*
* Copyright (C) 2011 The Android Open Source 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 required by app... | C++ | art/runtime/dex_file.cc | RyanTech/DexHunter | apache-2.0 | 36,454 | 1,127 | codeparrot/github-code |
93d506fbc84383fea3e09575c6fbceb276a9e19acf1f523af2459905760aaad0 | /*
* Copyright (C) 2009 Texas Instruments Inc
* Copyright (C) 2014 Lad, Prabhakar <prabhakar.csengg@gmail.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 the Lic... | C | drivers/media/platform/davinci/vpif_capture.c | bas-t/linux_media | gpl-2.0 | 44,209 | 1,624 | codeparrot/github-code |
55480b674492206f737983ed4db227f89b7df1d4b222aa4ada7cda43d6f96b94 | // Copyright (C) 2011-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your op... | C++ | libstdc++-v3/testsuite/23_containers/multimap/modifiers/erase/47628.cc | iains/darwin-gcc-4-9 | gpl-2.0 | 1,145 | 47 | codeparrot/github-code |
68fad11d61e7b28555704a4cf7798b93845f9bcc31f73f4ef45ec00abd84192f | /*
* linux/arch/arm/mach-realview/realview_eb.c
*
* Copyright (C) 2004 ARM Limited
* Copyright (C) 2000 Deep Blue Solutions Ltd
*
* 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; eithe... | C | linux-3.2.0-psp04.06.00.08.sdk/arch/arm/mach-realview/realview_eb.c | zhengsjembest/linux_am335x | gpl-2.0 | 13,095 | 478 | codeparrot/github-code |
cd8be84d2e2ac63fc94b3cbb0d698f0b2c092cf84349c1a40913a62042de221b | /* A Bison parser, made by GNU Bison 1.875. */
/* Skeleton parser for Yacc-like parsing with Bison,
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 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 pub... | C | src/yysphinxql.h | omelnic/sphinxsearch | gpl-2.0 | 7,399 | 305 | codeparrot/github-code |
27a1ee333c6e5f513b8f31d67a0633b07a89dcb709b8e1aa5d6ad1f8e4ddbd62 | /*
* ISP1362 HCD (Host Controller Driver) for USB.
*
* Copyright (C) 2005 Lothar Wassmann <LW@KARO-electronics.de>
*
* Derived from the SL811 HCD, rewritten for ISP116x.
* Copyright (C) 2005 Olav Kongas <ok@artecdesign.ee>
*
* Portions:
* Copyright (C) 2004 Psion Teklogix (for NetBook PRO)
* Copyright (C) 200... | C | drivers/usb/host/isp1362-hcd.c | thanhnhiel/linux-emcraft | gpl-2.0 | 89,685 | 2,903 | codeparrot/github-code |
0bd19dcf097ae74f8f8012a7321fa8cccbce5c11522160c06f1f3d8402310a6b | /* linux/drivers/i2c/busses/i2c-s3c2410.c
*
* Copyright (C) 2004,2005 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
*
* S3C2410 I2C Controller
*
* 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 | release/src-rt/linux/linux-2.6/drivers/i2c/busses/i2c-s3c2410.c | ghmajx/asuswrt-merlin | gpl-2.0 | 20,842 | 951 | codeparrot/github-code |
ee0e16660018ccd652aeb73e085b3c916743e99f3d4e628826abd0b9b5ed7191 | /* Copyright (c) 2012, 2014, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in th... | C | include/soc/qcom/memory_dump.h | kondors1995/Soviet-kernel | gpl-2.0 | 2,708 | 121 | codeparrot/github-code |
a8e9ca3c45608479686d3c5bbaadc622660aa37c0caba776b1b8d5c904b54b18 | using System;
using System.Text;
namespace Server.Ethics.Evil
{
public sealed class UnholySense : Power
{
public UnholySense()
{
this.m_Definition = new PowerDefinition(
0,
"Unholy Sense",
"Drewrok Velgo",
"");
... | C# | Scripts/Services/Ethics/Evil/Powers/UnholySense.cs | LeonG-ZA/JustUO-KR | gpl-3.0 | 2,730 | 91 | codeparrot/github-code |
5395a92490a16d1d717bb51ba2c90c17bf312ef7d7e15992485bd45149be07ef | #!/bin/bash
export PATH=$HOME/.local/bin:/usr/local/bin:$HOME/prefix/bin:$HOME/APM/px4/gcc-arm-none-eabi-4_7-2014q2/bin:$PATH
export PYTHONUNBUFFERED=1
export PYTHONPATH=$HOME/APM
cd $HOME/APM || exit 1
test -n "$FORCEBUILD" || {
(cd APM && git fetch > /dev/null 2>&1)
newtags=$(cd APM && git fetch --tags | wc -l)
o... | Shell | Tools/scripts/build_autotest.sh | raydtang/ardupilot | gpl-3.0 | 4,629 | 186 | codeparrot/github-code |
ba35434c297e004a433c65ffa0366aa1b1c4c7a3fd719f78286ec8024b999e5e | /**
* Appcelerator Titanium Mobile
* Copyright (c) 2010 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
package org.appcelerator.kroll;
public class KrollPropertyChange {
protected String n... | Java | android/titanium/src/org/appcelerator/kroll/KrollPropertyChange.java | arnaudsj/titanium_mobile | apache-2.0 | 846 | 37 | codeparrot/github-code |
537b81fee8038b04d8a959e225f9ede0adeb2fd546fc164e286e49859e1f5a96 | /* Copyright (c) 2011 by The Authors.
* Published under the LGPL 2.1 license.
* See /license-notice.txt for the full text of the license notice.
* See /license.txt for the full text of the license.
*/
/**
* Supplies a set of utility methods for building Geometry objects from lists
* of Coordinates.
*
* Note th... | JavaScript | utilities/scripts/jsts/src/jsts/geom/GeometryFactory.js | mileswwatkins/ABiteBetweenUs | apache-2.0 | 8,870 | 264 | codeparrot/github-code |
53c55e0087175d2d0272755737cde27fdeabc340b7efc0431a19319062fe6ef2 | #!/usr/bin/env python
"""Sample Input Reader for map job."""
import random
import string
import time
from mapreduce import context
from mapreduce import errors
from mapreduce import operation
from mapreduce.api import map_job
# pylint: disable=invalid-name
# Counter name for number of bytes read.
COUNTER_IO_READ_BYT... | Python | third_party/mapreduce/mapreduce/api/map_job/sample_input_reader.py | sahiljain/catapult | bsd-3-clause | 3,468 | 111 | codeparrot/github-code |
41e6c11c6ee00c4dd44adabdb514c96ac8411786b68d3c7675d17e7764b75b0f | /* AFS superblock handling
*
* Copyright (c) 2002, 2007 Red Hat, Inc. All rights reserved.
*
* This software may be freely redistributed under the terms of the
* GNU General Public License.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free... | C | linux_kernel_galaxyplayer-master/fs/afs/super.c | KOala888/GB_kernel | gpl-2.0 | 12,261 | 548 | codeparrot/github-code |
b92a44453a6eba07fb641adf00f27b5cea0a35c2d4f3b2b0a1990b9cc02d45cf | /**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2016 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* An Image is a light-weight object you can use to display anything that doesn't need physics or animation.
* It can s... | JavaScript | v2/src/gameobjects/Image.js | stoneman1/phaser | mit | 3,099 | 95 | codeparrot/github-code |
aae1aedf75074d0034f1945be2a81ee25a12202db975e58e6114144aa7865583 | #ifndef _ASM_X86_PGTABLE_64_H
#define _ASM_X86_PGTABLE_64_H
#include <linux/const.h>
#include <asm/pgtable_64_types.h>
#ifndef __ASSEMBLY__
/*
* This file contains the functions and defines necessary to modify and use
* the x86-64 page table tree.
*/
#include <asm/processor.h>
#include <linux/bitops.h>
#include <... | C | arch/x86/include/asm/pgtable_64.h | bas-t/linux_media | gpl-2.0 | 5,183 | 197 | codeparrot/github-code |
c924f151ceccc47b7cdd0a41c9fcb2d33936858e5574501a5d660fc3770504d5 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle ... | PHP | lib/classes/external/exporter.php | marcusgreen/moodle | gpl-3.0 | 25,453 | 607 | codeparrot/github-code |
3d6f4b46afa63d93f2e6e3d9daf3a900553251c008658545be2852ac41a2a62a | <head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="author" content="{{ site.author.... | HTML | _includes/head.html | lachlanhurst/observedearth-web | mit | 2,326 | 71 | codeparrot/github-code |
0d1f48ada89ab2e6f711ff209b3ce5bfe28310df243786c08489f074a689ec7a | /*
* linux/fs/buffer.c
*
* Copyright (C) 1991, 1992, 2002 Linus Torvalds
*/
/*
* Start bdflush() with kernel_thread not syscall - Paul Gortmaker, 12/95
*
* Removed a lot of unnecessary code and simplified things now that
* the buffer cache isn't our primary cache - Andrew Tridgell 12/96
*
* Speed up hash,... | C | fs/buffer.c | soap-DEIM/l4android | gpl-2.0 | 87,133 | 3,282 | codeparrot/github-code |
725cc9d18a4322cb7308dfcf7e47d3e9884a5b701367267e53acac3f5847ef44 | /* Helper handling for netfilter. */
/* (C) 1999-2001 Paul `Rusty' Russell
* (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org>
* (C) 2003,2004 USAGI/WIDE Project <http://www.linux-ipv6.org>
* (C) 2006-2012 Patrick McHardy <kaber@trash.net>
*
* This program is free software; you can redistribute it and/or... | C | net/netfilter/nf_conntrack_helper.c | qzhuyan/linux | gpl-2.0 | 13,479 | 507 | codeparrot/github-code |
152dcaa041ba2d7c193169763a9065fb19f854873f4c00ff7d652cb4b8e82f9e | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Java | presto-main/src/main/java/com/facebook/presto/metadata/SpecializedFunctionKey.java | kuzemchik/presto | apache-2.0 | 2,138 | 74 | codeparrot/github-code |
0ab1ca088735bd9ad7dee5f81ae66e7bd9745b42f9cdd0cf4c85a13793b3657c | /*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
package com.skia;
import javax.microedition.khronos.egl.EGL10;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.egl.EGLDisplay;
import javax... | Java | third_party/skia/platform_tools/android/app/src/com/skia/SkiaSampleView.java | zero-rp/miniblink49 | apache-2.0 | 10,208 | 307 | codeparrot/github-code |
001e6efa1f0dedc676d9ec8667e0b700a73db560b211b91a04f15a342e98f6ff | /*
* Copyright (C) 2000-2003 Axis Communications AB
*
* Authors: Bjorn Wesen (bjornw@axis.com)
* Mikael Starvik (starvik@axis.com)
* Tobias Anderberg (tobiasa@axis.com), CRISv32 port.
*
* This file handles the architecture-dependent parts of process handling..
*/
#include <linux/sc... | C | arch/cris/arch-v32/kernel/process.c | aberlemont/linux | gpl-2.0 | 4,772 | 188 | codeparrot/github-code |
64177f8e42bef9d9c317a14404e5ff54eb097303a4e286227bc357bc2cf73b4a | /*
* Copyright 2012-15 Advanced Micro Devices, Inc.
*
* 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 restriction, including without limitation
* the rights to use, copy, modify... | C | drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.c | hannes/linux | gpl-2.0 | 25,103 | 855 | codeparrot/github-code |
d11987cc21e2be39b47a451c527e7ec7d9ef15e8e8bdf3171cbcdc199dd79619 | // @(#)root/tmva $Id$
// Author: Andreas Hoecker, Joerg Stelzer, Helge Voss
/**********************************************************************************
* Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
* Package: TMVA ... | C | tmva/tmva/inc/TMVA/Configurable.h | beniz/root | lgpl-2.1 | 8,255 | 216 | codeparrot/github-code |
13bdaa9f2265b8fd23178f564ed20a904842b49ff1854857e6731c8824cd0ed0 | /*************************************************************************/
/* reference.h */
/*************************************************************************/
/* This file is part of: */
/* ... | C | core/reference.h | a12n/godot | mit | 7,264 | 335 | codeparrot/github-code |
1454be866bff819c6fb9250dbac05f508716b2d9c74ebd06305fce08d6b70f0d | /// <reference path="MediaStream.d.ts" />
/// <reference path="RTCPeerConnection.d.ts" />
var config: RTCConfiguration =
{ iceServers: [{ urls: "stun.l.google.com:19302" }] };
var constraints: RTCMediaConstraints =
{ mandatory: { offerToReceiveAudio: true, offerToReceiveVideo: true } };
var peerConnection: RT... | TypeScript | webrtc/RTCPeerConnection-tests.ts | ryan-codingintrigue/DefinitelyTyped | mit | 3,396 | 91 | codeparrot/github-code |
17bd2c8ab97fe316c277e70ea6997adaf6a365a790e246b11cc1cc2fc0bcfbf5 | /*! MVW-Injection (0.2.5). (C) 2015 Xavier Boubert. MIT @license: en.wikipedia.org/wiki/MIT_License */
(function(root) {
'use strict';
var DependencyInjection = new (function DependencyInjection() {
var _this = this,
_interfaces = {};
function _formatFactoryFunction(factoryFunction) {
if (... | JavaScript | ajax/libs/mvw-injection/0.2.5/dependency-injection.js | dlueth/cdnjs | mit | 5,110 | 184 | codeparrot/github-code |
8e6ce8aa7b033ed453605b699753cfad486f7cea193823e95fb43efb037b647b | // SPDX-License-Identifier: GPL-2.0+
/*
* vsp1_drv.c -- R-Car VSP1 Driver
*
* Copyright (C) 2013-2015 Renesas Electronics Corporation
*
* Contact: Laurent Pinchart (laurent.pinchart@ideasonboard.com)
*/
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/interrupt.h>
#incl... | C | drivers/media/platform/vsp1/vsp1_drv.c | apopple/linux | gpl-2.0 | 21,913 | 926 | codeparrot/github-code |
c028bbd08f1f66d6d56aab5d1675f5d5275d190346b3b66ea527d63cd77eb1e8 | /*
* Copyright (C) 2012-2018 Team Kodi
* This file is part of Kodi - https://kodi.tv
*
* SPDX-License-Identifier: GPL-2.0-or-later
* See LICENSES/README.md for more information.
*/
#pragma once
#include "FileItem.h"
#include <string>
#include <Neptune/Source/Core/NptReferences.h>
#include <Neptune/Source/... | C | xbmc/network/upnp/UPnPInternal.h | scbash/xbmc | gpl-2.0 | 4,650 | 124 | codeparrot/github-code |
153137355327fc15ea30b6aa81d70d9c52aabe2ff7beab0ee812b332b83d3360 | /*
* carlu - userspace testing utility for ar9170 devices
*
* Firmware parsers
*
* Copyright 2009-2011 Christian Lamparter <chunkeey@googlemail.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 Softwar... | C | rootfs/usr/lib/firmware/carl9170fw/tools/carlu/src/fw.c | PennartLoettring/Poettrix | gpl-2.0 | 3,649 | 132 | codeparrot/github-code |
f2e17625824292890a26b1dba49edc5e1139f2f15c77c959b83e6338e98c3dbc | /*
* Copyright (C) 2013 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | C | bluez5/android/hal-a2dp.c | hmallat/bluez5 | gpl-2.0 | 3,823 | 166 | codeparrot/github-code |
bea9ed13c6950ae2063c5496276685fb7322c87d721f0c2550d011a42702d0f2 | <?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2012, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file o... | PHP | source/backend/web/js/ckfinder/core/connector/php/php5/Utils/Misc.php | nkhanhquoc/waterfactory | mit | 12,722 | 400 | codeparrot/github-code |
2d88ef8a304ba9eb3b06510694f5dcf05eb781e64062773c97857f3eaa120121 | /* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
* gpoll.c: poll(2) abstraction
* Copyright 1998 Owen Taylor
* Copyright 2008 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the ... | C | xbmc/lib/libmms/glib-2.20.4/glib/gpoll.c | xbmc/atv2 | gpl-2.0 | 11,289 | 431 | codeparrot/github-code |
bd6ba8742f695b8d34b59d7c4cee19f661aad1f7052ad465f113a78c382ee5fb | /*
* Copyright 2000-2012 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 | jps/model-serialization/testSrc/org/jetbrains/jps/model/serialization/JpsProjectSerializationTest.java | akosyakov/intellij-community | apache-2.0 | 11,503 | 233 | codeparrot/github-code |
3432b3f46bf1faeca7cb3f0cb33b0b33d47a25bbdabfc6d5ec32dbfdfa1d419f | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/media/images/favicon.ico" />
<title>DataTables example</titl... | HTML | 資源/Facemash/DataTables-1.9.4/examples/advanced_init/footer_callback.html | stevemoore113/ch_web_- | mit | 21,772 | 650 | codeparrot/github-code |
15af8938406a91ca27894dcf415908b9bebc3b82e73d4e7e22a05677a27f222f | // SPDX-License-Identifier: GPL-2.0
#include <linux/perf_event.h>
#include <linux/nospec.h>
#include <asm/intel-family.h>
enum perf_msr_id {
PERF_MSR_TSC = 0,
PERF_MSR_APERF = 1,
PERF_MSR_MPERF = 2,
PERF_MSR_PPERF = 3,
PERF_MSR_SMI = 4,
PERF_MSR_PTSC = 5,
PERF_MSR_IRPERF = 6,
PERF_MSR_THERM = 7... | C | arch/x86/events/msr.c | codeaurora-unoffical/linux-msm | gpl-2.0 | 7,191 | 292 | codeparrot/github-code |
895c444109e82b69fd6886b8ceb93acdf9c222a76d3b3094661679c1710f44ce | /*
* Copyright (C) 2008 Google, Inc.
* Copyright (c) 2008-2010, Code Aurora Forum. All rights reserved.
*
* 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.
*
*... | C | release/src-rt-7.x.main/src/linux/linux-2.6.36/arch/arm/mach-msm/devices-qsd8x50.c | sigma-random/asuswrt-merlin | gpl-2.0 | 3,119 | 92 | codeparrot/github-code |
aa024dd0dc9c3d263bae9ea404a1a9b4336536505d7fdc92bb3acd52dfff45e9 | /*
* 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.
*
* arch/sh64/kernel/sh_ksyms.c
*
* Copyright (C) 2000, 2001 Paolo Alberelli
*
*/
#include <linux/rwsem.h>
#include <linux/module.h>
#in... | C | release/src-rt/linux/linux-2.6/arch/sh64/kernel/sh_ksyms.c | ghmajx/asuswrt-merlin | gpl-2.0 | 1,687 | 77 | codeparrot/github-code |
bb15a00fac9ddd8df216b47c6c130fc95af2a4592757099b0d35955c4a811d72 | /* Address ranges.
Copyright (C) 1998-2014 Free Software Foundation, Inc.
Contributed by Cygnus Solutions.
This file is part of the GNU Simulators.
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 Foundati... | C | sim/common/sim-arange.c | tuliom/binutils-gdb | gpl-2.0 | 7,244 | 305 | codeparrot/github-code |
472f42320a090bab383c960a63e45e9c44aa64e95e033c0189d88590106ba489 | /*
* Copyright (c) 2006 Jiri Benc <jbenc@suse.cz>
* Copyright 2007 Johannes Berg <johannes@sipsolutions.net>
*
* 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.
*/
#include <linu... | C | release/src-rt-7.x.main/src/linux/linux-2.6.36/net/mac80211/debugfs_netdev.c | wkritzinger/asuswrt-merlin | gpl-2.0 | 12,386 | 438 | codeparrot/github-code |
2ae0409da249d50d95df4ba70a7d50e6f670744542b6a3363acec5116a3a835d | using System;
using System.Collections.Generic;
using UnityEngine;
namespace UnityTest
{
[Serializable]
public class UnitTestResult : ITestResult
{
public bool Executed { get; set; }
public string Name { get { return Test.MethodName; } }
public string FullName { get { return Test.Fu... | C# | unity-midi/Assets/UnityTestTools/UnitTesting/Editor/TestRunner/UnitTestResult.cs | sabikku/unity-midi | apache-2.0 | 1,727 | 62 | codeparrot/github-code |
69fa08d2022c5b13771797d4113efdea5036126025edfc2c22602b34d6c8347f | /*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* 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.
*
* This program is distributed... | C | linux-4.14/drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 18,498 | 633 | codeparrot/github-code |
5537befe06914e936956ea1b401f973fe3c60092a2b9d472241b4ff54fc2bf94 | //------------------------------------------------------------------------------
// <copyright file="dl_list.h" company="Atheros">
// Copyright (c) 2004-2008 Atheros Corporation. All rights reserved.
//
// The software source and binaries included in this development package are
// licensed, not sold. You, or your... | C | drivers/amlogic/wifi/atheros_6302/include/dl_list.h | fards/Ainol_fire_kernel | gpl-2.0 | 5,210 | 154 | codeparrot/github-code |
19aced8383bb6d844ec708759d7b1726f7f036422ae01ab3649e42aafbf84150 | /*
* TI ADC081C/ADC101C/ADC121C 8/10/12-bit ADC driver
*
* Copyright (C) 2012 Avionic Design GmbH
* Copyright (C) 2016 Intel
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
... | C | oss/linux/linux-4.7/drivers/iio/adc/ti-adc081c.c | geminy/aidear | gpl-3.0 | 5,826 | 248 | codeparrot/github-code |
f0ce1194b58e7ba6a50a72c27b5e6d2540e21d933e7e1cef7061a5b0545c1189 | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright: (c) 2017, Kairo Araujo <kairo@kairo.eti.br>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version':... | Python | lib/ansible/modules/packaging/os/installp.py | andmos/ansible | gpl-3.0 | 9,242 | 297 | codeparrot/github-code |
2f023a155a9b83809bdc6dc957ea8a5f56d553555ce0cbb13ed8abc31fcc3cef | /*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... | Java | core/src/org/pentaho/di/core/vfs/configuration/KettleFileSystemConfigBuilderFactory.java | apratkin/pentaho-kettle | apache-2.0 | 3,605 | 89 | codeparrot/github-code |
00904cdd7fea7a58b00fba696e50f973cee728359958fa4873d24b5ae9d731d0 | /**
* @author mrdoob / http://mrdoob.com/
*/
THREE.XHRLoader = function ( manager ) {
this.cache = new THREE.Cache();
this.manager = ( manager !== undefined ) ? manager : THREE.DefaultLoadingManager;
};
THREE.XHRLoader.prototype = {
constructor: THREE.XHRLoader,
load: function ( url, onLoad, onProgress, onE... | JavaScript | static/js/threejs.r70/src/loaders/XHRLoader.js | ccclayton/DataWar | mit | 1,408 | 84 | codeparrot/github-code |
10e2809c4bb315a79f2645fd0f857b483016b3d0a4a54fef273b65b9b57f496b | /*
* Marvell PATA driver.
*
* For the moment we drive the PATA port in legacy mode. That
* isn't making full use of the device functionality but it is
* easy to get working.
*
* (c) 2006 Red Hat
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linu... | C | kernel/drivers/ata/pata_marvell.c | MetSystem/fastsocket | gpl-2.0 | 4,476 | 197 | codeparrot/github-code |
833c389ba9f513d3517aa3ea40a2e078fc6dda1ba79c7b8ebe8469f9ba6544f9 | /*
* Video for Linux Two
*
* A generic video device interface for the LINUX operating system
* using a set of device structures/vectors for low level operations.
*
* This file replaces the videodev.c file that comes with the
* regular kernel distribution.
*
* This program is free software; you can redistribute... | C | drivers/media/v4l2-core/v4l2-common.c | ystk/linux-poky-debian | gpl-2.0 | 30,458 | 982 | codeparrot/github-code |
399438003ef4e15f50bbf62325a3a61bd6788d97037142d0312759a76e766e3d | /*
* 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 | src/test/java/org/elasticsearch/action/RejectionActionTests.java | dantuffery/elasticsearch | apache-2.0 | 4,951 | 113 | codeparrot/github-code |
e0d9b5e6e4a71e251360b5421b4f75ab6a33c47efd8c7464489d316ba4568ebc | /* crypto/evp/evp_enc.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non... | C | python3-alpha/openssl/crypto/evp/evp_enc.c | 837468220/python-for-android | apache-2.0 | 16,714 | 682 | codeparrot/github-code |
9b4745d0180f61a94b2f231636dc2a20429e387b1540afd6b8ede02ede33c962 | /* Area: ffi_call, closure_call
Purpose: Check structure alignment of uint16.
Limitations: none.
PR: none.
Originator: <hos@tamanegi.org> 20031203 */
/* { dg-do run } */
#include "ffitest.h"
typedef struct cls_struct_align {
unsigned char a;
unsigned short b;
unsigned char c;
} cls_struct_align;
... | C | testsuite/libffi.call/cls_align_uint16.c | lshain-android-source/external-libffi | mit | 2,592 | 100 | codeparrot/github-code |
3b8027939c3e9b8e1ec5f2a10c19545ec465aba6d94d6a354e434d9849858ad6 | /*
* Quota code necessary even when VFS quota support is not compiled
* into the kernel. The interesting stuff is over in dquot.c, here
* we have symbols for initial quotactl(2) handling, the sysctl(2)
* variables, etc - things needed even when quota support disabled.
*/
#include <linux/fs.h>
#include <linux/nam... | C | fs/quota/quota.c | jigpu/input | gpl-2.0 | 24,683 | 875 | codeparrot/github-code |
92afc3f3a25ebcd828a0e0a8373ba5bf15e5f377b924b1e21c8bd7e27d9a00c8 | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Presubmit script for Chromium browser resources.
See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
for more details about t... | Python | ui/resources/resource_check/resource_scale_factors.py | guorendong/iridium-browser-ubuntu | bsd-3-clause | 4,859 | 123 | codeparrot/github-code |
3b5e00b55b0e6b460c428f41a372afe0a53b18ecd283f63d0c5438115462483a | /*!
* inferno v0.7.3
* (c) 2016 Dominic Gannaway
* Released under the MPL-2.0 License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.Inferno = factory());
}(this, ... | JavaScript | ajax/libs/inferno/0.7.3/inferno.js | sashberd/cdnjs | mit | 6,896 | 261 | codeparrot/github-code |
e5501d5ed5264af7d40c901f58d23d0e49833f79e1f24fb5364950c1520a78e3 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Java | presto166/presto-parser/src/main/java/com/facebook/presto/sql/tree/NotExpression.java | marsorp/blog | apache-2.0 | 1,998 | 83 | codeparrot/github-code |
4bc84bb84a6476180a468b22e8dc1cd29164f32770eccb14f007f38a901a1ee7 | /*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | java/java-impl/src/com/intellij/codeInsight/daemon/impl/quickfix/GuessTypeParameters.java | kdwink/intellij-community | apache-2.0 | 10,162 | 225 | codeparrot/github-code |
a1325c04a5aa8c528420c6d2ec3499b57c4b51c35c3fcae7049afc7829eb7665 | //===-- PPCPredicates.cpp - PPC Branch Predicate Information --------------===//
//
// 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++ | third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.cpp | endlessm/chromium-browser | bsd-3-clause | 3,553 | 86 | codeparrot/github-code |
ba826893e7c4b8d0f08d59457ba1f7737e50e7569eca109c5268c9bd633ca0ea | (function () {
/*** Variables ***/
var win = window,
doc = document,
attrProto = {
setAttribute: Element.prototype.setAttribute,
removeAttribute: Element.prototype.removeAttribute
},
hasShadow = Element.prototype.createShadowRoot,
container = doc.createElement('div'),
... | JavaScript | ajax/libs/x-tag/1.5.10/x-tag-no-polyfills.js | rlugojr/cdnjs | mit | 30,690 | 871 | codeparrot/github-code |
e56934aad5e4d68986d524b04bf5bab51a861623382c725e6841e608ce75642c | /*
* linux/kernel/irq/chip.c
*
* Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar
* Copyright (C) 2005-2006, Thomas Gleixner, Russell King
*
* This file contains the core interrupt handling code, for irq-chip
* based architectures.
*
* Detailed information is available in Documentation/DocBook/generic... | C | kernel/kernel/irq/chip.c | droidzone/Supernova-Kernel | gpl-2.0 | 18,719 | 771 | codeparrot/github-code |
92975e91e473933f8a71cf930dbac3f44ddb07807980bd22ff71413d2bc17a38 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview New tab page
* This is the main code for the new tab page used by touch-enabled Chrome
* browsers. For now this is still a pro... | JavaScript | external/chromium_org/chrome/browser/resources/ntp4/new_tab.js | s20121035/rk3288_android5.1_repo | gpl-3.0 | 23,568 | 722 | codeparrot/github-code |
b624e495f7369594505031abc84207d6ae8133810fd7e52b02d7e2e4332ad721 | /*-----------------------------------------------------------------------------+
Copyright (c) 2007-2012: Joachim Faulhaber
Copyright (c) 1999-2006: Cortex Software GmbH, Kantstrasse 57, Berlin
+------------------------------------------------------------------------------+
Distributed under the Boost Software Licen... | C++ | v0.9/innovApp/libboost_1_49_0/include/boost/icl/interval_base_map.hpp | Stevenwork/Innov_code | lgpl-3.0 | 56,535 | 1,391 | codeparrot/github-code |
07d4c20211352aafbb883270574ee40a245e39c05cc933bde9335cc8e02b8d40 | /*
* 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 | test/unit/org/apache/cassandra/repair/consistent/AbstractConsistentSessionTest.java | pauloricardomg/cassandra | apache-2.0 | 3,628 | 94 | codeparrot/github-code |
4addb47a598694028620799deafee722ae00c794ad9187a0faec604f7a862f34 | /*
* Copyright (c) 2015-present, Parse, LLC.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package com.par... | Java | Parse/src/main/java/com/parse/ParseRemoveOperation.java | MSchantz/Parse-SDK-Android | bsd-3-clause | 3,725 | 101 | codeparrot/github-code |
13144de3627a9725c42a9431d0abc581fd995447af3c7815db53f688c2f98a7f | /**
* version: 1.1.3
*/
angular.module('ngWig', ['ngwig-app-templates']);
angular.module('ngWig').directive('ngWig', function () {
return {
scope: {
content: '=ngWig'
},
restrict: 'A',
replace: true,
templateUrl: 'ng-wig/views/ng-wig.html',
link: funct... | JavaScript | ajax/libs/ng-wig/1.1.3/ng-wig.js | dhenson02/cdnjs | mit | 6,452 | 192 | codeparrot/github-code |
8c187df25ff654878512537d3729683717a2402620b6115a33e85a071007d990 | /* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ARCH_POWERPC_LOCAL_H
#define _ARCH_POWERPC_LOCAL_H
#include <linux/percpu.h>
#include <linux/atomic.h>
typedef struct
{
atomic_long_t a;
} local_t;
#define LOCAL_INIT(i) { ATOMIC_LONG_INIT(i) }
#define local_read(l) atomic_long_read(&(l)->a)
#define local_set(l,i) at... | C | linux-4.14/arch/powerpc/include/asm/local.h | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 3,886 | 177 | codeparrot/github-code |
f5d47da7dbb83f93e409f0c4048773bce751f1001fa59ea4993fb31fc2ebf8ce | /*
* (C) COPYRIGHT 2016 ARM Limited. All rights reserved.
* Author: Liviu Dudau <Liviu.Dudau@arm.com>
*
* This program is free software and is provided to you under the terms of the
* GNU General Public License version 2 as published by the Free Software
* Foundation, and any use by you of this program is subject... | C | linux-4.14/drivers/gpu/drm/arm/malidp_crtc.c | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 16,217 | 547 | codeparrot/github-code |
f0fc31555da401cbbfda08343abd532537b5a734d0225603926693915d0f9d3d | // Copyright (C) 2003-2015 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your op... | C++ | libstdc++-v3/testsuite/performance/23_containers/insert_from_sorted/set.cc | zjh171/gcc | gpl-2.0 | 2,129 | 78 | codeparrot/github-code |
2bbf7873a398953f3aea476adb075c47de651fafbf78aab92ee30a29a0bf2e2a | /* Kernel thread helper functions.
* Copyright (C) 2004 IBM Corporation, Rusty Russell.
*
* Creation is done via kthreadd, so that we get a clean environment
* even if we're invoked from userspace (think modprobe, hotplug cpu,
* etc.).
*/
#include <linux/sched.h>
#include <linux/kthread.h>
#include <linux/compl... | C | media/kernel/kthread.c | iwinoto/v4l-media_build-devel | gpl-2.0 | 18,999 | 693 | codeparrot/github-code |
25c8e43f744bbd51200769c24b57ef033be1003db73b07bb712d72a59318fe22 | /***************************************************************************//**
* @file
* @brief Clock management unit (CMU) API
* @author Energy Micro AS
* @version 3.0.0
*******************************************************************************
* @section License
* <b>(C) Copyright 2012 Energy Micro AS, ... | C | stm32_rtt_wifi/bsp/efm32/Libraries/emlib/inc/em_cmu.h | poranmeloge/test-github | gpl-2.0 | 32,251 | 837 | codeparrot/github-code |
7bd8efdf809be8a50fe6f67996a0575a98677c8c952498630f35c8cbde55fba4 | /* Implementation of the MAXLOC intrinsic
Copyright (C) 2002-2015 Free Software Foundation, Inc.
Contributed by Paul Brook <paul@nowt.org>
This file is part of the GNU Fortran 95 runtime library (libgfortran).
Libgfortran is free software; you can redistribute it and/or
modify it under the terms of the GNU Gene... | C | libgfortran/generated/maxloc0_16_r10.c | evaautomation/gcc-linaro | gpl-2.0 | 9,168 | 384 | codeparrot/github-code |
fa3d01bc83dece72ce9a18002623d46e016a7ed6443dcb7dba6345177d8a044e | /*
* Copyright 2015 Advanced Micro Devices, Inc.
*
* 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 restriction, including without limitation
* the rights to use, copy, modify, m... | C | drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c | codebam/linux | gpl-2.0 | 22,886 | 826 | codeparrot/github-code |
1e15f40569d28625b235d0d259c2eb3751e9f3b19503f654e5adbc199280596d | /*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2009 Free Software Foundation, Inc.
*
* GRUB 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... | C | include/grub/command.h | mjg59/grub | gpl-3.0 | 3,666 | 130 | codeparrot/github-code |
9ea5fe8b520af18f8aa2d6795ffdaa3fda86eed4b98c418927bfc1604315b0da | #
# $Id: UTF7.pm,v 2.4 2006/06/03 20:28:48 dankogai Exp $
#
package Encode::Unicode::UTF7;
use strict;
use warnings;
no warnings 'redefine';
use base qw(Encode::Encoding);
__PACKAGE__->Define('UTF-7');
our $VERSION = do { my @r = ( q$Revision: 2.4 $ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r };
use MIME::Base64;
use... | Perl | third_party/cygwin/lib/perl5/5.10/i686-cygwin/Encode/Unicode/UTF7.pm | leighpauls/k2cro4 | bsd-3-clause | 3,618 | 129 | codeparrot/github-code |
830fdac4821e38940dcc54145923cc131677f59ff783095fcbfeca95736fff7d | // Type definitions for galleria.js v1.4.2
// Project: https://github.com/aino/galleria
// Definitions by: Robert Imig <https://github.com/rimig>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module GalleriaJS {
interface GalleriaOptions {
dataSource: GalleriaEntry[];
autopla... | TypeScript | types/jquery-galleria/jquery-galleria.d.ts | rodzewich/playground | mit | 1,084 | 39 | codeparrot/github-code |
cc969d667d19f0874b4a0aec688538139406a0a316f4c29b32f116fe80ccc972 | using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Umbraco.Web.Models.ContentEditing
{
[DataContract(Name = "relation", Namespace = "")]
public class Relation
{
public Relation()
{
... | C# | src/Umbraco.Web/Models/ContentEditing/Relation.cs | Nicholas-Westby/Umbraco-CMS | mit | 1,179 | 44 | codeparrot/github-code |
1ccf6af5c697c43152abc4e36c794ae18f4de1f4efda61942a30d56c282d9da9 | /*
* multibytecodec.h: Common Multibyte Codec Implementation
*
* Written by Hye-Shik Chang <perky@FreeBSD.org>
*/
#ifndef _PYTHON_MULTIBYTECODEC_H_
#define _PYTHON_MULTIBYTECODEC_H_
#ifdef __cplusplus
extern "C" {
#endif
#ifdef uint16_t
typedef uint16_t ucs2_t, DBCHAR;
#else
typedef unsigned short ucs2_t, DBCHAR;... | C | python/Modules/cjkcodecs/multibytecodec.h | Kiddinglife/kidding-engine | lgpl-3.0 | 4,288 | 137 | codeparrot/github-code |
651b2c87cc342d40678e6a9aabed049403fd5252f5e8c5ece755d7026dd56233 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "sync/internal_api/public/test/fake_sync_manager.h"
#include <cstddef>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base... | C++ | sync/internal_api/test/fake_sync_manager.cc | 7kbird/chrome | bsd-3-clause | 7,968 | 261 | codeparrot/github-code |
e671cc77c471161e58b9b60632ccd1c9b77cc8ccda22f9a5cdc3b97aba99ef88 | /*
* arch/sh/kernel/cpu/sh4a/clock-sh7723.c
*
* SH7723 clock framework support
*
* Copyright (C) 2009 Magnus Damm
*
* 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 t... | C | packages/wbsairback-kernel-image/wbsairback-kernel-image-3.2.43/arch/sh/kernel/cpu/sh4a/clock-sh7723.c | WhiteBearSolutions/WBSAirback | apache-2.0 | 11,054 | 363 | codeparrot/github-code |
1d07f4f26f22f5b2ffcdb3932bed439e1df5d7f455d37c800ff648fa8e0c97d4 | /* Spellbook Class Extension */
if (!Array.prototype.remove) {
Array.prototype.remove = function (obj) {
var self = this;
if (typeof obj !== "object" && !obj instanceof Array) {
obj = [obj];
}
return self.filter(function(e){
if(obj.indexOf(e)<0) {
return e
}
});
};
}
if (!Array.prototype.c... | JavaScript | ajax/libs/spellbook/0.0.28/spellbook.js | viskin/cdnjs | mit | 9,757 | 444 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.