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 |
|---|---|---|---|---|---|---|---|---|
151f1a7d2a1381d041953ef8801f334e7dd4282663ece33d8aa312902f2f8df6 | #!/usr/bin/python
# Copyright (c) 2016 Hewlett-Packard Enterprise Corporation
#
# This module 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 ve... | Python | scripts/ansible-play/.venv/lib/python2.7/site-packages/ansible/modules/cloud/openstack/os_project_facts.py | e-gob/plataforma-kioscos-autoatencion | bsd-3-clause | 5,044 | 176 | codeparrot/github-code |
561baa1dbbad57a2f2c5be85d0b93861ffdfba9f7dafd7bd424e787cd9e3f8a4 | package main
import "fmt"
type utd64 struct {
a, b uint64
add, sub, mul, div, mod uint64
}
type itd64 struct {
a, b int64
add, sub, mul, div, mod int64
}
type utd32 struct {
a, b uint32
add, sub, mul, div, mod uint32
}
type itd32 struct {
a, b ... | GO | src/cmd/compile/internal/gc/testdata/arithBoundary_ssa.go | mwhudson/go | bsd-3-clause | 32,723 | 736 | codeparrot/github-code |
b092f8fda3ef4c595a30a73fab4021fa2df7121fe0db25b5063a4e411fd9277a | /****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees... | C | src/qt/src/corelib/kernel/qabstracteventdispatcher.h | 13W/phantomjs | bsd-3-clause | 3,731 | 108 | codeparrot/github-code |
f8b531fb753d3459e7ffa2b82668085915968805216d187d3935fde3388231ce | <div>
Parameters allow you to prompt users for one or more inputs that will be
passed into a build. For example, you might have a project that runs tests on
demand by allowing users to upload a zip file with binaries to be tested.
This could be done by adding a <i>File Parameter</i> here.
<br>
Or you might... | HTML | core/src/main/resources/hudson/model/ParametersDefinitionProperty/help.html | samatdav/jenkins | mit | 1,924 | 37 | codeparrot/github-code |
f56376baa606af2bb901eca5d808ec4fd735e4eaa7c85bc5b22354a333f50b91 | //===--- Sanitizers.cpp - C Language Family Language Options ----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C++ | src/rapierlang/lib/Basic/Sanitizers.cpp | Rapier-Foundation/rapier-script | mit | 975 | 36 | codeparrot/github-code |
c7b961122c90930e0f1875a196a987d1bf2f379a5d23bf553d15163b0a76b043 | (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
factory((global.selection = {}));
}(this, function (exports) { 'use strict';
var requoteRe = /[\\\^\$\*\+\?\|\[\]\(\)\.\{\}... | JavaScript | ajax/libs/d3-selection/0.4.10/selection.js | extend1994/cdnjs | mit | 29,713 | 1,048 | codeparrot/github-code |
c2eb8f41a015fde2d2ae9e9127cfb74ef095653652cf8a5bbb337a30b6aeb25c | <?php
namespace DesignPatterns\Behavioral\Iterator;
class BookListIterator implements \Iterator
{
/**
* @var BookList
*/
private $bookList;
/**
* @var int
*/
protected $currentBook = 0;
public function __construct(BookList $bookList)
{
$this->bookList = $bookList... | PHP | Behavioral/Iterator/BookListIterator.php | su-xiaolin/DesignPatternsPHP | mit | 1,806 | 78 | codeparrot/github-code |
8f51279305be5cb7e2102cb17e7411e7bd524a6a2097939d78f9adebf52a3fce | using System;
using System.Collections.Generic;
using Server.Mobiles;
namespace Server.Engines.BulkOrders
{
[TypeAlias("Scripts.Engines.BulkOrders.LargeBOD")]
public abstract class LargeBOD : Item
{
private int m_AmountMax;
private bool m_RequireExceptional;
private BulkMaterialType... | C# | Scripts/Services/BulkOrders/LargeBOD.cs | Ultima-Lokai/ServUO-Test | gpl-2.0 | 10,442 | 313 | codeparrot/github-code |
c1c22f365391b2446b67ba1f3e9f27af5209f9469b134aa5eed589a709655ca1 | /*
* acpi_bus.c - ACPI Bus Driver ($Revision: 80 $)
*
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
*
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the... | C | linux-2.6.31/drivers/acpi/bus.c | stevelord/PR30 | gpl-2.0 | 20,944 | 844 | codeparrot/github-code |
9efec66b2b26d6d3da778f4ee4cee0c657578456156eb0bd8b20e2cf9c414836 | // SPDX-License-Identifier: GPL-2.0
/*
* (C) 2001 Clemson University and The University of Chicago
*
* See COPYING in top-level directory.
*/
/*
* Linux VFS file operations.
*/
#include "protocol.h"
#include "orangefs-kernel.h"
#include "orangefs-bufmap.h"
#include <linux/fs.h>
#include <linux/pagemap.h>
stat... | C | fs/orangefs/file.c | raumfeld/linux-am33xx | gpl-2.0 | 18,554 | 718 | codeparrot/github-code |
e885f2aaae40b1ce05c9714d165284339ae4ff074ae03d672cb17df79ec8d2d9 | /*
* Copyright (C) 2005-2010 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
... | C++ | src/shared/Config/Config.cpp | Khira/La-Confrerie | gpl-2.0 | 2,864 | 115 | codeparrot/github-code |
fa421c5449a1ea0ffa6a3b3e56c57b6c5a79f6a31793f0512661575d70c8de31 | #!/bin/sh
#------------------------------------------------------
# Script to push language files to Transifex
#
# Laurent Destailleur (eldy) - eldy@users.sourceforge.net
#------------------------------------------------------
# Usage: txpush.sh (source|xx_XX) [-r dolibarr.file] [-f]
#----------------------------------... | Shell | dev/translation/txpush.sh | olsesacl/dolibarr | gpl-2.0 | 1,533 | 54 | codeparrot/github-code |
9310701dbcdeb9835e2ef235dc67e6facde511047509d6f5d1eccb89a4c066e5 | /*
* x86 SMP booting functions
*
* (c) 1995 Alan Cox, Building #3 <alan@lxorguk.ukuu.org.uk>
* (c) 1998, 1999, 2000, 2009 Ingo Molnar <mingo@redhat.com>
* Copyright 2001 Andi Kleen, SuSE Labs.
*
* Much of the core SMP work is based on previous work by Thomas Radke, to
* whom a great many thanks are extended.
... | C | arch/x86/kernel/smpboot.c | aberlemont/linux | gpl-2.0 | 42,635 | 1,726 | codeparrot/github-code |
4a00ac2176189f44f24c378acfb1bcfc268f36c71a56c8dc09dc9afeab7827f4 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2013 OpenFOAM Foundation
\\/ M anipulation |
-------------... | C++ | src/lagrangian/intermediate/submodels/Kinematic/ParticleForces/Drag/PlessisMasliyahDrag/PlessisMasliyahDragForce.H | adrcad/OpenFOAM-2.3.x | gpl-3.0 | 3,595 | 128 | codeparrot/github-code |
f8e34407e5b0ec77aec37e02e4617d0f01cd241d205c87410ae04f2974c30611 | /**
* Copyright (c) 2008 Andrew Rapp. All rights reserved.
*
* This file is part of XBee-API.
*
* XBee-API 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 ... | Java | src/java/com/rapplogic/xbee/api/IXBee.java | matheusgoes/SmartParking | gpl-3.0 | 1,756 | 60 | codeparrot/github-code |
22d76092a75b40cc8f64b3206473f87828644379f16334c22b1dbce68a3e2680 | /*
Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | GO | tensorflow/go/operation.go | wangyum/tensorflow | apache-2.0 | 4,284 | 140 | codeparrot/github-code |
c4181162b1dd129308a2b2bcb501a88d6dac5d3e315f3d333b715ff3bc1a3969 | /*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2013 The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... | Java | src/org/zaproxy/zap/authentication/ManualAuthenticationMethodType.java | 0xkasun/zaproxy | apache-2.0 | 15,879 | 461 | codeparrot/github-code |
10f028b713f2b920dd64059920d15d2705253ad0aa6c0a35ec7f3b56845a043f | /*
* 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.ql.type;
import java.util.Locale;... | Java | x-pack/plugin/ql/src/main/java/org/elasticsearch/xpack/ql/type/DataType.java | GlenRSmith/elasticsearch | apache-2.0 | 2,759 | 114 | codeparrot/github-code |
74e14ea599ff4fb8c8ddc9d7d27aab55859b78ff3b8b7109053301832058cd6c | /*
* 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 | phoenix-core/src/main/java/org/apache/phoenix/schema/DelegateColumn.java | elilevine/apache-phoenix | apache-2.0 | 2,234 | 83 | codeparrot/github-code |
58c045e5b02f7c85d3a90765c3e42574b00342a82306bd7e35fcc1dd0d2ccf92 | /*
* 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.monitoring.action;
import org.elas... | Java | x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkResponseTests.java | GlenRSmith/elasticsearch | apache-2.0 | 3,798 | 86 | codeparrot/github-code |
ef3e2ee03430144ee2668934d7b1ef30a195cabfee740e8fdce73543b7897121 | /*********************************************************************/
/* Copyright 2009, 2010 The University of Texas at Austin. */
/* All rights reserved. */
/* */
/* Redistribution and use in sou... | C | lib/OpenBLAS-0.2.19/lapack/trtri/trtri_U_parallel.c | ryanrhymes/openblas | bsd-3-clause | 5,024 | 148 | codeparrot/github-code |
86aaae0c7f5de1b63574fa165b9ed3b6d3d3c342a2e72121f69a60dec02e5d54 | // Type definitions for Streams API
// Project: https://github.com/whatwg/streams
// Definitions by: Kagami Sascha Rosylight <https://github.com/saschanaz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface ReadableStreamSource {
start?(controller: ReadableStreamDefaultController): void |... | TypeScript | types/whatwg-streams/index.d.ts | abbasmhd/DefinitelyTyped | mit | 4,291 | 142 | codeparrot/github-code |
48c7fd735dcc1a04718f14bec24f9a099bc547090a949165489ba0f1c5ff30f5 | var DocsApp = angular.module('docsApp', [ 'angularytics', 'ngRoute', 'ngMessages', 'ngMaterial' ])
.config([
'SERVICES',
'COMPONENTS',
'DEMOS',
'PAGES',
'$routeProvider',
'$locationProvider',
'$mdThemingProvider',
function(SERVICES, COMPONENTS, DEMOS, PAGES,
$routeProvider, $locationProvider, $mdThem... | JavaScript | plugins/material-master/docs/app/js/app.js | jasp402/SysGiD | mit | 19,381 | 762 | codeparrot/github-code |
3e7ae8fa200cf8ebb9e61382afb50b9e8a10b185700a93f07abb23974c2a63dd | // MersenneTwister.h
// Mersenne Twister random number generator -- a C++ class MTRand
// Based on code by Makoto Matsumoto, Takuji Nishimura, and Shawn Cokus
// Richard J. Wagner v1.1 28 September 2009 wagnerr@umich.edu
// The Mersenne Twister is an algorithm for generating random numbers. It
// was designed with... | C | src/libs/seqan-library-2.0.1/include/seqan/random/ext_MersenneTwister.h | isovic/seqlib | mit | 16,861 | 487 | codeparrot/github-code |
4f48a86f206f4dfea4323f3c9d20883e4aa4e8008b20a6473c8099a363661eaf | // ==========================================================================
// SeqAn - The Library for Sequence Analysis
// ==========================================================================
// Copyright (c) 2006-2015, Knut Reinert, FU Berlin
// All rights reserved.
//
// Redistribution and us... | C | src/libs/seqan-library-2.0.1/include/seqan/sequence/string_cstyle.h | isovic/seqlib | mit | 27,156 | 926 | codeparrot/github-code |
13d249a56158c85ec56d0ea9d04c84dc055f95d390a5c7f951c8d0ef903aea72 | /*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | Java | testing/openjdk2/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/policy/ManagedServiceAssertion.java | rokn/Count_Words_2015 | mit | 16,429 | 392 | codeparrot/github-code |
a3aa3cc504284f61f4d11540b4fa0ba0bc1507f53d22c2ec6f3e0bf09b0bf2ce | import * as usb from "usb";
const device = new usb.Device();
device.timeout = 1;
device.busNumber = 1;
device.deviceAddress = 1;
device.portNumbers = [1, 2, 3];
device.__open();
device.__claimInterface(0);
device.__attachKernelDriver(0);
device.__detachKernelDriver(0);
const isKernelActive: boolean = device.__isKern... | TypeScript | types/usb/usb-tests.ts | georgemarshall/DefinitelyTyped | mit | 11,770 | 248 | codeparrot/github-code |
7bf98e185554e2b697d7572f7e05e9b1322a0c2313cf4e8afda8154d5e6e9ecf | // Type definitions for express-jwt
// Project: https://www.npmjs.org/package/express-jwt
// Definitions by: Wonshik Kim <https://github.com/wokim>, Kacper Polak <https://github.com/kacepe>, Sl1MBoy <https://github.com/Sl1MBoy>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.... | TypeScript | types/express-jwt/index.d.ts | zuzusik/DefinitelyTyped | mit | 1,751 | 56 | codeparrot/github-code |
f89818bd2aa1dd9d8332964e90a22c0d134bfc03bb72055b623cb8560ee8659b | package org.openhab.binding.lcn.mappingtarget;
import java.text.NumberFormat;
import java.text.ParseException;
import java.util.Locale;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.openhab.binding.lcn.common.LcnAddr;
import org.openhab.binding.lcn.common.LcnDefs;
import org.openhab.bindi... | Java | bundles/binding/org.openhab.binding.lcn/src/main/java/org/openhab/binding/lcn/mappingtarget/OutputToggle.java | cschneider/openhab | epl-1.0 | 4,348 | 127 | codeparrot/github-code |
377b3347e868fc3123ff6f9fdcf38e31685dcc4c1f9a2204b1d4db6838d14a72 | // Copyright 2012 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 applicable... | Java | ide/commons-gwt/src/main/java/org/eclipse/che/ide/ui/tree/TreeNodeMutator.java | cdietrich/che | epl-1.0 | 6,019 | 193 | codeparrot/github-code |
3e76292c3b7dada169e41d4c5bff211613b10908e4b8641d71ce3629642b8389 | /*
* (C) Copyright 2011 Samsung Electronics Co. Ltd
*
* See file CREDITS for list of people who contributed to this
* project.
*
* 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 | arch/arm/cpu/armv7/s5pv210/reset.c | mixtile/garage-uboot | gpl-2.0 | 675 | 35 | codeparrot/github-code |
a203e5c6994a93bd0cee76a1bba1f990a548ddc0750d0bd9f2f80eb390c3fcf7 | /* Software floating-point emulation.
Return (long)(*a)
Copyright (C) 1997-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
The GNU C Library is free software; you can redistribute it ... | C | sysdeps/sparc/sparc64/soft-fp/qp_qtox.c | wjflyhigh/glibc-2.21 | gpl-2.0 | 1,379 | 47 | codeparrot/github-code |
4b865bd46d2b87c4a23bc90bff6cdf17346d5242999e8e1206340150b17e4ebd | /*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | Java | test/jdk/java/util/zip/ChecksumBase.java | md-5/jdk10 | gpl-2.0 | 8,917 | 197 | codeparrot/github-code |
dfb538e7d0faf43ecddb8e85b28362d40075089c2b4c8f00aa5015e215175f27 | /*
* Copyright (C) 2006 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 | android-headers/13/frameworks/base/include/binder/CursorWindow.h | videolabs/vlc-android | gpl-2.0 | 6,891 | 200 | codeparrot/github-code |
3b5c4c095fcaf90f8035bafe3fe2071d33e1e433b6213a3931a942c19f231087 |
/* pngwutil.c - utilities to write a PNG file
*
* Last changed in libpng 1.5.26 [December 17, 2015]
* Copyright (c) 1998-2002,2004,2006-2015 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
*
* This code is... | C | gradleops/AndroidSeed/tealeaf/src/main/jni/libpng/pngwutil.c | hashcube/native-android | gpl-3.0 | 77,550 | 2,681 | codeparrot/github-code |
2a5ebc92f9c4839f9b8f4957d41727c18289d9d64633332758c772d588ccc358 | <?php
class PasswordHashTest extends PHPUnit_Framework_TestCase {
public function testFuncExists() {
$this->assertTrue(function_exists('password_hash'));
}
public function testStringLength() {
$this->assertEquals(60, strlen(password_hash('foo', PASSWORD_BCRYPT)));
}
public fu... | PHP | tools/lib/pkp/password_compat/test/Unit/PasswordHashTest.php | jasonzou/journal.calaijol.org | gpl-3.0 | 3,124 | 99 | codeparrot/github-code |
221672ebe3fe4a8723f0812651620a3348a02aeb0662280939f9d0058e2cd534 | //===- MCInstPrinter.h - MCInst to target assembly syntax -------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C | interpreter/llvm/src/include/llvm/MC/MCInstPrinter.h | gganis/root | lgpl-2.1 | 3,484 | 109 | codeparrot/github-code |
8953bc471f8fa56bf870422e65d8b1b60f185bfaa11b5de02d19ea2cd5eabd3b | /* sgtt05.f -- translated by f2c (version 20061008).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of... | C | clapack-3.2.1-CMAKE/TESTING/LIN/sgtt05.c | henryhallam/libswiftnav | lgpl-3.0 | 8,710 | 285 | codeparrot/github-code |
5da89d09120663f91ec57aee801b20cd576732dffd6ed4efabae80e5abe5bc4d | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Java | core/src/main/java/org/elasticsearch/index/query/SpanContainingQueryBuilder.java | martinstuga/elasticsearch | apache-2.0 | 4,332 | 120 | codeparrot/github-code |
7b3b4c74139dd3063894e9e8d86f3ab71a8ba94b3083bad6dcdc20b0266cde84 | /*
* Copyright 2013 MovingBlocks
*
* 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... | Java | engine/src/main/java/org/terasology/persistence/typeHandling/protobuf/ProtobufPersistedData.java | kaen/Terasology | apache-2.0 | 14,718 | 404 | codeparrot/github-code |
77e232d51a9a0c9ff9036a0d9a50f01523fc0e02c3974683dfc1342c6e8a3e83 | /* libs/corecg/SkRegionPriv.h
**
** Copyright 2006, 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... | C | src/core/SkRegionPriv.h | blackberry/Skia | apache-2.0 | 2,697 | 90 | codeparrot/github-code |
e060adb800a0bc25c16f8d992eaa1a1866f8f3d3fe19d6ad9b667d728964b970 | # Copyright (c) Microsoft Corporation. All rights reserved.
$InitialDatabase = '0'
$knownExceptions = @(
'System.Data.Entity.Migrations.Infrastructure.MigrationsException',
'System.Data.Entity.Migrations.Infrastructure.AutomaticMigrationsDisabledException',
'System.Data.Entity.Migrations.Infrastru... | PowerShell | ref/BeerStation/packages/EntityFramework.6.1.0/tools/EntityFramework.psm1 | wadewegner/BeerStation | apache-2.0 | 44,234 | 1,168 | codeparrot/github-code |
789aeeb39916a71dbe96f7dd12a2279c31ccb23cde05af35656c60d81c53c0f8 | /*
* Copyright 2003-2015 Dave Griffith, Bas Leijdekkers
*
* 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 applicab... | Java | plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/inheritance/RefusedBequestInspectionBase.java | amith01994/intellij-community | apache-2.0 | 6,473 | 194 | codeparrot/github-code |
2013cd3d9832dbb104d38a4edea19dd9363c6dc31e85b604a744d8fce496a2ab | package graph
import (
"fmt"
"strings"
"github.com/docker/docker/api/types"
"github.com/docker/docker/utils"
)
// WalkHistory calls the handler function for each image in the
// provided images lineage starting from immediate parent.
func (graph *Graph) WalkHistory(img *Image, handler func(Image) error) (err err... | GO | graph/history.go | sivabizruntime/dockerfile | apache-2.0 | 2,948 | 118 | codeparrot/github-code |
9a718bc2aa8226f5255317b352e63132604d765c56ace24999f0607d21125522 | /**
* Copyright 2013-2015, Facebook, Inc.
* 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.
*
* @emails react-co... | JavaScript | src/modern/element/__tests__/ReactJSXElementValidator-test.js | framp/react | bsd-3-clause | 11,136 | 375 | codeparrot/github-code |
474819940b65d217a1e1f777515c6e5ff77b55664ef2ccafb868cd53959aafdb | /********************************************************************
* Copyright (c) 2011-2014, International Business Machines Corporation
* and others. All Rights Reserved.
********************************************************************/
/* C API TEST FOR DATE INTERVAL FORMAT */
#include "unicode/utypes.h"
... | C | third_party/icu/source/test/cintltst/cdateintervalformattest.c | sgraham/nope | bsd-3-clause | 5,212 | 118 | codeparrot/github-code |
b9f4d788e871c2148f44e73eb160d3d54868c0ab7da96394ae02cfbb3d76c309 | <?php
namespace Drupal\Core\Field\Plugin\Field\FieldWidget;
use Drupal\Core\Field\FieldItemListInterface;
use Drupal\Core\Field\WidgetBase;
use Drupal\Core\Form\FormStateInterface;
/**
* Plugin implementation of the 'string_textfield' widget.
*
* @FieldWidget(
* id = "string_textfield",
* label = @Translati... | PHP | web/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextfieldWidget.php | sunlight25/d8 | gpl-2.0 | 2,256 | 84 | codeparrot/github-code |
c391dfe074377f0290c6ef971b29055c946738c7cd1afe6e496ad2198b5a107c | /*******************************************************************************
* Copyright (c) 2000, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | Java | plugins/plugin-java/che-plugin-java-ext-jdt/org-eclipse-jdt-ui/src/main/java/org/eclipse/jdt/internal/corext/refactoring/rename/RenameNonVirtualMethodProcessor.java | dhuebner/che | epl-1.0 | 8,222 | 199 | codeparrot/github-code |
3420a951079c0510b4130d6226ee609a21c635f7135e2cb75e44182d1d3d1183 | // SPDX-License-Identifier: GPL-2.0
#include <linux/debug_locks.h>
#include <linux/delay.h>
#include <linux/jiffies.h>
#include <linux/kernel.h>
#include <linux/lockdep.h>
#include <linux/preempt.h>
#include <linux/printk.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/stacktrace.h>
#include "... | C | kernel/kcsan/report.c | penberg/linux | gpl-2.0 | 19,399 | 639 | codeparrot/github-code |
f475c7ec723a388b408797e45bf1222d46f103292271c1513f3848724a5d17fb | /**
* @file
*
* mndr.c
*
* Common Northbridge functions for DR
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: AGESA
* @e sub-project: (Mem/NB/DR)
* @e \$Revision: 44323 $ @e \$Date: 2010-12-22 01:24:58 -0700 (Wed, 22 Dec 2010) $
*
**/
/************************************************... | C | src/vendorcode/amd/agesa/f10/Proc/Mem/NB/DR/mndr.c | BTDC/coreboot | gpl-2.0 | 17,012 | 453 | codeparrot/github-code |
fa050bbbbeb28e8be0c6febe6a039ba0d52246a21dfdb4f0cada166240622bb9 | <?php
/*------------------------------------------------------------------------
# JSN PowerAdmin
# ------------------------------------------------------------------------
# author JoomlaShine.com Team
# copyright Copyright (C) 2012 JoomlaShine.com. All Rights Reserved.
# Websites: http://www.joomlashine.com
# Tech... | PHP | components/com_poweradmin/models/com_content/article.php | mi-martinez/redPlaneta | gpl-2.0 | 2,432 | 77 | codeparrot/github-code |
2974cc8b0ba7374183b50810b16c6c78522f506a60919223ce34934af38da758 | from Screens.Screen import Screen
from Screens.HelpMenu import HelpableScreen
from Components.FileList import FileList
from Components.Sources.StaticText import StaticText
from Components.config import config, getConfigListEntry, ConfigSubsection, ConfigText, ConfigYesNo, ConfigDirectory
from Components.ConfigList impo... | Python | lib/python/Plugins/Extensions/MediaPlayer/settings.py | kingvuplus/EGAMI-D | gpl-2.0 | 5,014 | 144 | codeparrot/github-code |
89c7e99e4afdf2e28e18aefcf83c2cd0c764457cf0888e407916a63c16e229f4 | /*
* linux/arch/arm/mach-ebsa110/isamem.c
*
* Copyright (C) 2001 Russell King
*
* Perform "ISA" memory and IO accesses. The EBSA110 has some "peculiarities"
* in the way it handles accesses to odd IO ports on 16-bit devices. These
* devices have their D0-D15 lines connected to the processors D0-D15 lines.
*... | C | linux-2.4.x/arch/arm/mach-ebsa110/io.c | sensysnetworks/uClinux | gpl-2.0 | 7,944 | 400 | codeparrot/github-code |
413a5b2b069afbc21dd2d4fe0a3a0048c75310af456a82b6d413ca734c0f63c4 | /* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the ho... | C | drivers/rtc/rtc-pm8xxx.c | uniphier/linux-unph | gpl-2.0 | 14,390 | 561 | codeparrot/github-code |
fb713a34535d1e8b071df9b1b4b980d5322dad8fba0c2e9c8173eefce5650136 | /* $NoKeywords:$ */
/**
* @file
*
* AMD Family_10 Hydra PCI tables with values as defined in BKDG
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: AGESA
* @e sub-project: CPU/FAMILY/0x10
* @e \$Revision: 46877 $ @e \$Date: 2011-02-11 07:44:53 +0800 (Fri, 11 Feb 2011) $
*
*/
/*
*... | C | src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x10/RevD/HY/F10HyPciTables.c | coolstar/coreboot | gpl-2.0 | 12,569 | 384 | codeparrot/github-code |
65f0fd5610de85825c772fc398d92c43d6316915f6e453fd7d008c03e61eb6b3 | #include <linux/init.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/input.h>
#include <linux/slab.h>
#include <linux/gpio.h>
#include <linux/sched.h>
#include <linux/kthread.h>
#include <linux/bitops.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/byte... | C | mediatek/custom/wiko1/kernel/touchpanel/excp7200/excp7200_driver.c | GuneetAtwal/Blaze.Kernel-MT6589 | gpl-2.0 | 14,219 | 427 | codeparrot/github-code |
24ec4fcfc6a5a09e98feb235a422cdf635c827ce354cf66b11ac3e37b6907b7d | // license:BSD-3-Clause
// copyright-holders:AJR
/***************************************************************************
Taxan KY-80
This 160-pin QFP device seems to be a custom derivative of the
Kawasaki KC82 CPU core (fast Z80-like with built-in MMU). It seems
possible that it was built entirel... | C++ | src/devices/cpu/z80/ky80.cpp | johnparker007/mame | gpl-2.0 | 1,877 | 57 | codeparrot/github-code |
0100ff8fd312dc6e25120fe4419b25ce4918b5c116457b07b084851ac0e7bccd | # SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
#
KBUILD_DEFCONFIG := nsim_hs_defconfig
ifeq ($(CROSS_COMPILE),)
CROSS_COMPILE := $(call cc-cross-prefix, arc-linux- arceb-linux-)
endif
cflags-y += -fno-common -pipe -fno-builtin -mmedium-calls -D_... | Makefile | linux-5.4/arch/arc/Makefile | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 2,935 | 106 | codeparrot/github-code |
4cd9cf5d2fa6fd76e49aa601423b377853d5a70159dad83c5ea8831657217f4e | #!/usr/bin/python
# Copyright (c) 2016 Hewlett-Packard Enterprise Corporation
#
# This module 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 ve... | Python | lib/ansible/modules/cloud/openstack/os_project_facts.py | kaarolch/ansible | gpl-3.0 | 4,920 | 172 | codeparrot/github-code |
1fa2168c6075fdf3b3006c241ed47b74dbcf0b8b520074bc543f7e1dd81bc224 | /*
Copyright (c) 2001, Interactive Matter, Marcus Nowotny
Based on the cJSON Library, Copyright (C) 2009 Dave Gamble
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, inc... | C | libraries/aJson/aJSON.h | martianmartin/Energia | lgpl-2.1 | 9,783 | 257 | codeparrot/github-code |
2dd1346cad9ac9d1265726811c3549de9ee76737ca2fe87003d5276d74fe6597 | // Copyright (C) Anders Kjersem. Licensed under the zlib/libpng license, see License.txt for details.
#pragma once
#include <TChar.h>
typedef TCHAR NSISCH;
#define NSISCALL __stdcall
namespace NSIS {
__forceinline void* NSISCALL MemAlloc(SIZE_T cb) {return GlobalAlloc(LPTR,cb);}
__forceinline void... | C | Installation/Windows/Plugins/UAC-plug-in-NSIS/NSIS_CUSTOMPISDK.h | baslr/ArangoDB | apache-2.0 | 3,422 | 104 | codeparrot/github-code |
7d296e270c0e58df71f124beb5e04e545d48dfa5cff4ad1cdf140b02f07b7ccb | /*
Copyright 2014 The Kubernetes 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 agreed to in writing, ... | GO | cmd/kube-apiserver/app/options/options.go | jackfrancis/kubernetes | apache-2.0 | 11,949 | 251 | codeparrot/github-code |
f5b112d67aefdd1da8403ca818ab8f5d43eff7a58d01a43fb40f13ba6a1f904d | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Windows;
using System.Windows.Input;
namespace NuGet.WebMatrix
{
internal class ButtonBarViewModel
{
public ButtonBarViewModel(NuGetViewModel nuGetViewModel, ICommand closeCommand)
... | C# | WebMatrixExtension/NuGetExtension/WPF/ViewModel/ButtonBarViewModel.cs | mrward/nuget | apache-2.0 | 10,392 | 328 | codeparrot/github-code |
075a7313a49f68f27885d986e16fbbb1db4552449e319e425ac772dc41a20f50 | // 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.
#ifndef MEDIA_CAST_NET_PACING_PACED_SENDER_H_
#define MEDIA_CAST_NET_PACING_PACED_SENDER_H_
#include <list>
#include <vector>
#include "base/basictypes.... | C | media/cast/net/pacing/paced_sender.h | mkaluza/external_chromium_org | bsd-3-clause | 2,518 | 84 | codeparrot/github-code |
272721a46db56cf6ba069ef24667a2890628c5eeeda4ef4fda25959eeb610e83 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
#define GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
#include <set>
#include <string>
#include "base... | C | gpu/command_buffer/service/feature_info.h | androidarmv6/android_external_chromium_org | bsd-3-clause | 4,225 | 145 | codeparrot/github-code |
bb4cc33b54737d47c7448fa18f56d9288a6ac1d5b5bf5c789a46ca601706dfa8 | /*
* Copyright (c) 2009-2012 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this... | Java | jme3-blender/src/main/java/com/jme3/scene/plugins/blender/BlenderLoader.java | sandervdo/jmonkeyengine | bsd-3-clause | 22,859 | 418 | codeparrot/github-code |
d152616421172cc06cc2ceab2fe854aa22e54710724701c3cb05a754a2210842 | /* Check system header files for ISO 9899:1990 (ISO C) compliance.
Copyright (C) 1996,97,98,99,2001,02 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jens Schweikhardt <schweikh@noc.dfn.de>, 1996.
The GNU C Library is free software; you can redistribute it and/or
m... | C | stdlib/isomac.c | cmatthew/Lind-GlibC | gpl-2.0 | 14,057 | 446 | codeparrot/github-code |
3beace00defc7fe6f7853279a1073b93d0ba78c6f99eb2cc65c7f8670456ce08 | /*
* Xilinx Zynq GPIO device driver
*
* Copyright (C) 2009 - 2014 Xilinx, 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 2 of the License, or (at your option) any l... | C | drivers/gpio/gpio-zynq.c | uniphier/linux-unph | gpl-2.0 | 29,394 | 957 | codeparrot/github-code |
f61b1ee2bb99c5fb82889797c8f6b6a752809f8bb279f8bb093ac884509b9094 | /*
* ladspa_port_dialog.cpp - dialog to test a LADSPA plugin
*
* Copyright (c) 2006-2008 Danny McRae <khjklujn/at/users.sourceforge.net>
*
* This file is part of LMMS - http://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* Lice... | C++ | plugins/ladspa_browser/ladspa_port_dialog.cpp | petterreinholdtsen/lmms | gpl-2.0 | 4,146 | 176 | codeparrot/github-code |
3e7257e668c0ccbcaace8665cba3936e3240c92e7ac2bb27e3a1f061080252d2 | <?php
namespace Drupal\entity_browser\Plugin\EntityBrowser\Display;
use Drupal\Component\Utility\Html;
use Drupal\Component\Utility\NestedArray;
use Drupal\Core\Ajax\OpenDialogCommand;
use Drupal\Core\Url;
use Drupal\entity_browser\DisplayBase;
use Drupal\entity_browser\Events\Events;
use Drupal\entity_browser\Events... | PHP | web/modules/contrib/entity_browser/src/Plugin/EntityBrowser/Display/Modal.php | SeeyaSia/www | gpl-2.0 | 6,227 | 180 | codeparrot/github-code |
69ab4fb47440e73f7048b3361b3b29a7032cb670922f0f3e87a8d870618cf172 | // Copyright (c) 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 "base/command_line.h"
#include "base/path_service.h"
#include "base/strings/utf_string_conversions.h"
#include "base/win/windows_version.h"
#... | C++ | external/chromium_org/content/browser/media/encrypted_media_browsertest.cc | qtekfun/htcDesire820Kernel | gpl-2.0 | 6,505 | 183 | codeparrot/github-code |
b4cc8fe4b9e400f35df96e626883246f4e3181ee88caf2eae83de1cd10eb7596 | /**
* 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... | TypeScript | metron-interface/metron-alerts/src/app/shared/pipes/center-ellipses.pipe.ts | dlyle65535/metron | apache-2.0 | 1,367 | 46 | codeparrot/github-code |
b1971b2445a1fd90314bc3476635315fb9c01b528f2b3b42d800513cfb17d121 | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the tools applications of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Lice... | C | src/qt/qtbase/src/tools/qdoc/text.h | you21979/phantomjs | bsd-3-clause | 3,800 | 107 | codeparrot/github-code |
e9347de664a01b22560ba51a46cfce42c88943f8def644f4585ff36350b80136 | // Copyright (c) 2011 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 "media/video/capture/video_capture_proxy.h"
#include "base/bind.h"
#include "base/location.h"
#include "base/message_loop/message_loop_proxy... | C++ | media/video/capture/video_capture_proxy.cc | DirtyUnicorns/android_external_chromium-org | bsd-3-clause | 3,897 | 136 | codeparrot/github-code |
c226e4bae3ceb775ca15cb74ed882e2cf1fba78ea8b0d7467afcc89b40f8789d | // Copyright (c) 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 "ui/message_center/message_center_tray.h"
#include "base/strings/utf_string_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"
#i... | C++ | ui/message_center/message_center_tray_unittest.cc | aospx-kitkat/platform_external_chromium_org | bsd-3-clause | 7,756 | 233 | codeparrot/github-code |
7a891409dd8e335164389a53b468c54f182de78b08f43bc0bbc12834c508f45d | var navZrender = document.getElementById('nav-zrender');
var navZrenderInstance = document.getElementById('nav-zrender-instance');
var navShape = document.getElementById('nav-shape');
var navTool = document.getElementById('nav-tool');
var navAnimation = document.getElementById('nav-animation');
var main = document... | JavaScript | doc/asset/js/zrenderDoc.js | lkiarest/zrender | bsd-3-clause | 5,616 | 153 | codeparrot/github-code |
d40532535339bf3e1087a525adeef8be8ffb0722f504d34ba6ae39c4c90a248c | // 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 "net/quic/quic_framer.h"
#include "base/containers/hash_tables.h"
#include "net/quic/crypto/quic_decrypter.h"
#include "net/quic/crypto/quic... | C++ | net/quic/quic_framer.cc | Philippe12/external_chromium_org | bsd-3-clause | 69,895 | 2,081 | codeparrot/github-code |
5cff4179fd74472e662ebf648f07e9abc334d8288e357f664a627ac3217badcd | /*jshint browser:true */
/*global jQuery */
(function($) {
"use strict";
var XmlRpcFault = function() {
Error.apply(this, arguments);
};
XmlRpcFault.prototype = new Error();
XmlRpcFault.prototype.type = 'XML-RPC fault';
var xmlrpc = $.xmlrpc = function(url, settings) {
if (arguments.length === 2) {
sett... | JavaScript | ajax/libs/jquery-xmlrpc/0.3.0/jquery.xmlrpc.js | tonytomov/cdnjs | mit | 10,155 | 387 | codeparrot/github-code |
e6698664b8369cf2cdd565f21a9db9f1c998f9141b5646972f64d08bdaa5c850 | /*
* FiberChannel transport specific attributes exported to sysfs.
*
* Copyright (c) 2003 Silicon Graphics, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundatio... | C | include/scsi/scsi_transport_fc.h | aberlemont/linux | gpl-2.0 | 27,109 | 828 | codeparrot/github-code |
42c811fad62d19b8b29c09daf884f290a184ca18a1ebab7bf1763ea1b6b5b888 | /* Conversion from and to CP1255.
Copyright (C) 1998, 2001, 2002, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998,
and Bruno Haible <haible@clisp.cons.org>, 2001.
The GNU C Library is free software; you can redistribute... | C | plugins/glibc-2.13-new/iconvdata/cp1255.c | utds3lab/pemu | gpl-2.0 | 19,695 | 559 | codeparrot/github-code |
2be20a711bf8812a30e75bab1e25f750ac471bbac5600f31e61122bf4b9fb5bd | // SPDX-License-Identifier: GPL-2.0+
/* Copyright (C) 2014-2018 Broadcom */
#include <drm/drmP.h>
#include <drm/drm_syncobj.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/device.h>
#include <linux/io.h>
#include <linux/sched/signal.h>
#include "uapi/drm/v... | C | drivers/gpu/drm/v3d/v3d_gem.c | qzhuyan/linux | gpl-2.0 | 19,494 | 800 | codeparrot/github-code |
b1eda15f0351a76196061bc1609a0c03cc31f96202d6406a2bf8b00632fc8d10 | /*
* Copyright © 2014 Intel Corporation
* Daniel Vetter <daniel.vetter@ffwll.ch>
*
* 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
*... | C | drivers/gpu/drm/drm_internal.h | qzhuyan/linux | gpl-2.0 | 6,893 | 192 | codeparrot/github-code |
cf306d19d7c5fb40492ca80bc5195f76f8116e2899e6d463cf3ca84e7d040735 | /*
* 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 | nifi-nar-bundles/nifi-aws-bundle/nifi-aws-abstract-processors/src/main/java/org/apache/nifi/processors/aws/sqs/AbstractSQSProcessor.java | YolandaMDavis/nifi | apache-2.0 | 3,105 | 71 | codeparrot/github-code |
819581394d9b7b175d9a4e2933427b28e605543621e27a7eb4702975fbe8e6d9 | /*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | Java | frame/java/netty-4.1/codec-http/src/main/java/io/netty/handler/codec/http/CookieDecoder.java | wangcy6/storm_app | apache-2.0 | 13,480 | 370 | codeparrot/github-code |
d06760f85cd37df1f6d3c27c2fe6435bee403c2e445e37f7d32c1531df3b721d | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_DNS_DNS_RESPONSE_H_
#define NET_DNS_DNS_RESPONSE_H_
#include <stddef.h>
#include <stdint.h>
#include <string>
#include "base/macros.h"
... | C | third_party/webrtc/include/chromium/src/net/dns/dns_response.h | ssaroha/node-webrtc | bsd-2-clause | 5,714 | 172 | codeparrot/github-code |
0e4afe372d9757e362081b619ba066425677e5ac2458570323baaca1ba6d7c42 | /*
* Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | Java | testing/openjdk2/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/model/Element.java | rokn/Count_Words_2015 | mit | 3,650 | 103 | codeparrot/github-code |
539bdc79b1912cf84e0c03243697b474fc90ed7519fd9b88434a0b6b731f72b8 | <?php
namespace Model;
use DateTime;
use DateInterval;
/**
* Timetable
*
* @package model
* @author Frederic Guillot
*/
class Timetable extends Base
{
/**
* User time slots
*
* @access private
* @var array
*/
private $day;
private $week;
private $overtime;
private... | PHP | app/Model/Timetable.php | SamuelMoraesF/kanboard | mit | 9,568 | 357 | codeparrot/github-code |
60268789f1368c260f0e40179120e14959bd24152bdfb0240b82ecca53cc02f5 | 'use strict';
describe('jstd-adapter', function() {
var fakeJSTD = { pluginRegistrar: { register: function() {} } },
originalNavigateTo = angular.scenario.Application.prototype.navigateTo;
/**
* Reverts hack on angular.scenario.Application.navigateTo
* We should revert this hack after any single call ... | JavaScript | test/ngScenario/jstd-scenario-adapter/AdapterSpecs.js | christianv/angular.js | mit | 11,472 | 323 | codeparrot/github-code |
ffb58d6671147bab79df443398656815f50466f18a241b66dfc986bfacad82c3 | "use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b)... | JavaScript | ajax/libs/cellx/1.7.87/collections/FreezableCollection.js | cdnjs/cdnjs | mit | 1,650 | 44 | codeparrot/github-code |
967093fc8b140677a3bd30d710b570a7afc135e558ee7876c2d490858fe5dc78 | // SPDX-License-Identifier: GPL-2.0-or-later
/*
* Derived from arch/powerpc/kernel/iommu.c
*
* Copyright IBM Corporation, 2006-2007
* Copyright (C) 2006 Jon Mason <jdmason@kudzu.us>
*
* Author: Jon Mason <jdmason@kudzu.us>
* Author: Muli Ben-Yehuda <muli@il.ibm.com>
*/
#define pr_fmt(fmt) "Calgary: " fmt
#i... | C | linux-5.4/arch/x86/kernel/pci-calgary_64.c | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 40,331 | 1,587 | codeparrot/github-code |
b2d13437e3133fc55cf8b8c20ce41c705fce2767a0aa34d5d59ea5128ba6d594 | /*
* B53 switch driver main logic
*
* Copyright (C) 2011-2013 Jonas Gorski <jogo@openwrt.org>
* Copyright (C) 2016 Florian Fainelli <f.fainelli@gmail.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyr... | C | drivers/net/dsa/b53/b53_common.c | HinTak/linux | gpl-2.0 | 70,191 | 2,772 | codeparrot/github-code |
074b733e1ae4dd3a402fd2a69b482e0ee6f8cf380bd81722f219da4a88b93af7 | /*********************************************************************
*
* Filename: timer.c
* Version:
* Description:
* Status: Experimental.
* Author: Dag Brattli <dagb@cs.uit.no>
* Created at: Sat Aug 16 00:59:29 1997
* Modified at: Wed Dec 8 12:50:34 1999
... | C | net/irda/timer.c | alexbousso/kernel_2.4.18-14 | gpl-2.0 | 6,285 | 240 | codeparrot/github-code |
48c8828f2d18e75f4b1b5e7bfc7dd8ffe595f30d3cbb02156ef9e7530b7cda72 | /*
* Copyright 2014 NAVER Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java | web/src/test/java/com/navercorp/pinpoint/web/view/HistogramSerializerTest.java | sbcoba/pinpoint | apache-2.0 | 3,541 | 96 | codeparrot/github-code |
834ad9d05c787a71edd9f71140f93c56390f6de1fd6fd8ab4a626b513631a2ef | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | C++ | third_party/libc++/trunk/test/strings/basic.string/string.modifiers/string_assign/pointer_size.pass.cpp | mxOBS/deb-pkg_trusty_chromium-browser | bsd-3-clause | 2,257 | 73 | codeparrot/github-code |
2e9b7918b068cc2feb529587dc2ae2ddeee6da8bc257d7e3536855cd02d806d7 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//-----------------------------------------------------------------------
// </copyright>
// <summary>NodePackets which are used for node communication</summary>
//----... | C# | src/XMakeCommandLine/LogMessagePacket.cs | MetSystem/msbuild | mit | 1,717 | 54 | codeparrot/github-code |
5bccbb0d510aa3a39399c86807485a024538f74a805630d3bba57eca2bad4e49 | // SPDX-License-Identifier: GPL-2.0-only
/*
* DCCP connection tracking protocol helper
*
* Copyright (c) 2005, 2006, 2008 Patrick McHardy <kaber@trash.net>
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/sysctl.h>
#include <linux/spinlock.h>
#include <linux/skbuff.h>
#include <linux/dccp.h>
#in... | C | net/netfilter/nf_conntrack_proto_dccp.c | HinTak/linux | gpl-2.0 | 23,167 | 779 | codeparrot/github-code |
87b05bd3fc7bfa61ddea439b038df9c1959b52e76d63de7eab372d14d002d072 | /*
* simplepullswitch.{cc,hh} -- element routes packets from one input of several
* Eddie Kohler
*
* Copyright (c) 2000 Mazu Networks, 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 So... | C++ | elements/simple/simplepullswitch.cc | NetSys/click | gpl-2.0 | 2,439 | 98 | codeparrot/github-code |
2570801fd27e01cce19ce0cc8e89cd9b36ca58084ec661b6975cf9ef11f7a646 | /* Test MIPS32 DSP instructions */
/* { dg-do compile } */
/* { dg-options "-mgp32 -mdsp" } */
/* { dg-final { scan-assembler "addq.ph" } } */
/* { dg-final { scan-assembler "addq_s.ph" } } */
/* { dg-final { scan-assembler "addq_s.w" } } */
/* { dg-final { scan-assembler "addu.qb" } } */
/* { dg-final { scan-assembler... | C | uefi/gcc/gcc-4.6.3/gcc/testsuite/gcc.target/mips/mips32-dsp.c | SanDisk-Open-Source/SSD_Dashboard | gpl-2.0 | 30,204 | 1,159 | codeparrot/github-code |
84be2516a5c03dbb81dd6e3f1246c58001daee6389d766c733ba917d73430c71 | /* { dg-require-effective-target vect_int } */
#include <stdarg.h>
#include "tree-vect.h"
#define N 128
typedef struct {
int a;
int b;
int c;
int d;
} s;
__attribute__ ((noinline)) int
main1 (s *arr)
{
int i;
s *ptr = arr;
s res[N];
for (i = 0; i < N; i++)
{
res[i].c = ptr->b - ptr->... | C | uefi/gcc/gcc-4.6.3/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i4.c | SanDisk-Open-Source/SSD_Dashboard | gpl-2.0 | 1,322 | 69 | codeparrot/github-code |
03d6e5b5011e52f85c6ab2c9447966b21a61d4c7e68e82a16a8159558cc99728 | /*
* OMAP SoC specific OPP Data helpers
*
* Copyright (C) 2009-2010 Texas Instruments Incorporated - http://www.ti.com/
* Nishanth Menon
* Kevin Hilman
* Copyright (C) 2010 Nokia Corporation.
* Eduardo Valentin
*
* This program is free software; you can redistribute it and/or modify
* it under the terms ... | C | arch/arm/mach-omap2/omap_opp_data.h | KylinUI/android_kernel_samsung_t1 | gpl-2.0 | 4,451 | 119 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.