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 |
|---|---|---|---|---|---|---|---|---|
acfaeb71d0782a24f3e5acb4863b6731758d63d3b99e700d533b7fb1e189ab00 | /**
* collectd - src/write_redis.c
* Copyright (C) 2010-2015 Florian Forster
*
* 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 ... | C | src/write_redis.c | maryamtahhan/collectd | gpl-2.0 | 8,423 | 277 | codeparrot/github-code |
457122ba89131e63583fc63b948b6e0e6288d162032ee9bd9c250c7facc6596d | /*
* max77804k-private.h - Voltage regulator driver for the Maxim 77804k
*
* Copyright (C) 2011 Samsung Electrnoics
* SangYoung Son <hello.son@samsung.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... | C | include/linux/mfd/max77804k-private.h | PRJosh/android_kernel_samsung_mondrianwifi | gpl-2.0 | 14,281 | 463 | codeparrot/github-code |
7ffcb96412538d9a133b6c48558900b2d8bdd09616635b46d21efc4299b278ff | /*
* Based on arch/arm/mm/fault.c
*
* Copyright (C) 1995 Linus Torvalds
* Copyright (C) 1995-2004 Russell King
* Copyright (C) 2012 ARM Ltd.
*
* 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 Soft... | C | arch/arm64/mm/fault.c | AayushRd7/Xeski | gpl-2.0 | 15,479 | 537 | codeparrot/github-code |
84d72cb372516fd6747ca095c8c7fcd060b00ce6b8c7318f19ebb00123a88fea | /*
* (C) Copyright 2001
* Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*
* include common flash code (for esd boards)
*/
#include "../common/flash.c"
/*-------------------------... | C | u-boot/board/esd/adciop/flash.c | vkrmsngh/Test-repo-to-learning-git | gpl-2.0 | 2,685 | 98 | codeparrot/github-code |
b88d68ffa5c4a73536bf55675e33eacef5425c1e2e7da50796d0509631f3c8cb | /* Copyright (C) 1997, 2001, 2006, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
versio... | C | sysdeps/unix/sysv/linux/sparc/bits/poll.h | cdepillabout/glibc | gpl-2.0 | 2,155 | 51 | codeparrot/github-code |
f2a329902af6f41455109fb42d159bf18ba97a53f17401b20c630561e2cf1c33 | "use strict";
describe('auth', function() {
var $q, $timeout, auth, fbutil, simpleLogin;
beforeEach(function() {
module('mock.firebase');
module('simpleLogin');
module('mock.fbutil');
module('mock.firebaseAuth');
module(function($provide) {
// mock up $location since we don't want to chang... | JavaScript | test/unit/simpleLogin.spec.tmp.js | asm-products/flashdrinks | agpl-3.0 | 5,441 | 174 | codeparrot/github-code |
9eca61f10a9004ce0582f96c08d8bfca255a89fc883452576f5e827c96e61ea5 | package dnsclient
import (
"net"
"strings"
)
// Records is a wrapper type for a slice of records that supports filtering.
type Records []*Record
// ByName filters the records than contain the given name part.
func (r Records) ByName(name string) (res Records) {
if name == "" {
return r
}
name = strings.ToLow... | GO | go/src/koding/kites/kloud/pkg/dnsclient/records.go | acbodine/koding | agpl-3.0 | 1,851 | 97 | codeparrot/github-code |
cbbad7f40a9b7aef0ac074ee5ae85a72f1aaaffc4d93241f99bd9a6dd67e6100 | //* This file is part of the MOOSE framework
//* https://www.mooseframework.org
//*
//* All rights reserved, see COPYRIGHT for full restrictions
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
//*
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html
#in... | C++ | examples/ex08_materials/src/kernels/ExampleConvection.C | nuclear-wizard/moose | lgpl-2.1 | 1,088 | 41 | codeparrot/github-code |
0f79df2c42a370245d38f6d110ff389a1ff92949e6bf20d5a87980455269cee6 | /* This is part of the netCDF package. Copyright 2010 University
Corporation for Atmospheric Research/Unidata See COPYRIGHT file for
conditions of use.
This program does some HDF5 string stuff.
Here's a HDF5 sample programs:
http://hdf.ncsa.uiuc.edu/training/other-ex5/sample-programs/strings.c
*/
#in... | C | libmesh/contrib/netcdf/4.3.1/h5_test/tst_h_strings2.c | vityurkiv/Ox | lgpl-2.1 | 8,427 | 205 | codeparrot/github-code |
72dcf391dffa0c816ba5d227021123a4092e25c7a5017d0bbef46c533ae0181b | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.Code... | C# | src/EditorFeatures/CSharp/Highlighting/KeywordHighlighters/AbstractAsyncHighlighter.cs | weltkante/roslyn | apache-2.0 | 3,501 | 83 | codeparrot/github-code |
993256421c0e56994c84ff5ee1726f54c9315f3e35bbd397c77b3fefc5a40745 | // compile-flags:-Zprint-mono-items=eager
#![deny(dead_code)]
#![feature(start)]
pub trait SomeTrait {
fn foo(&self);
fn bar<T>(&self, x: T);
}
impl SomeTrait for i64 {
//~ MONO_ITEM fn <i64 as SomeTrait>::foo
fn foo(&self) {}
fn bar<T>(&self, _: T) {}
}
impl SomeTrait for i32 {
//~ MONO_... | Rust | src/test/codegen-units/item-collection/trait-implementations.rs | aidancully/rust | apache-2.0 | 1,518 | 74 | codeparrot/github-code |
97a38c695f31fff17f344e2572835f561bc12a4300e8db3b14b0d5c91330668d | // Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | Rust | src/test/run-pass/while-prelude-drop.rs | erickt/rust | apache-2.0 | 850 | 32 | codeparrot/github-code |
9376b24916ef2da4d0dee3fd7a58afab008e65dbcb9ea1061045add25f428d60 | /*
* 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 | flink-table/flink-sql-client/src/main/java/org/apache/flink/table/client/SqlClient.java | apache/flink | apache-2.0 | 10,061 | 254 | codeparrot/github-code |
c53d2dea1af2bba3ce721349da4da4872674543171f714801e1d97f55a2c2778 | /*
* 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 | flink-table/flink-table-runtime/src/main/java/org/apache/flink/table/runtime/operators/rank/TopNBuffer.java | apache/flink | apache-2.0 | 9,257 | 272 | codeparrot/github-code |
707535628e745db2c26f51f224381c167e4eed3149c19270292ea59cea197ba3 | /*
* 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 | processing/src/main/java/org/apache/druid/query/groupby/epinephelinae/column/GroupByColumnSelectorPlus.java | nishantmonu51/druid | apache-2.0 | 1,849 | 62 | codeparrot/github-code |
a187dc20f36c6d2283a95bbdf5db1efacb9c1f9ce382907ff7b4f67393678a7b | package com.ptrprograms.fordapplinkaudio.Receiver;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.media.AudioManager;
import com.ptrprograms.fordapplinkaudio.R;... | Java | FordAppLinkAudio/fordapplinkaudio/src/main/java/com/ptrprograms/fordapplinkaudio/Receiver/AppLinkReceiver.java | Kevin321an/AndroidDemoProjects | apache-2.0 | 2,097 | 69 | codeparrot/github-code |
95838c6b6250878627a7a886f3ddad3e9a1a79d17893f87780720fbfdec99ebb | /*
* 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.exporter;
import org.el... | Java | x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/BytesReferenceMonitoringDocTests.java | GlenRSmith/elasticsearch | apache-2.0 | 8,987 | 259 | codeparrot/github-code |
384790f268748ad1630ec03075903233316b41b40775e68546ec51442d600228 | // 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 CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_DISPATCHER_HOST_H_
#define CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_DISPATCHER_HOST_H_
#include "b... | C | src/content/browser/speech/speech_recognition_dispatcher_host.h | plxaye/chromium | apache-2.0 | 3,270 | 83 | codeparrot/github-code |
dfd83e99497f475e5ea4aa0a5e8f58f94322eca4a6b0ee01dafb0b321466b328 | /******************************************************************************
* @file startup_Nano100Series.c
* @version V1.00
* $Revision: 4 $
* $Date: 15/06/08 5:12p $
* @brief CMSIS ARM Cortex-M0 Core Device Startup File
*
* @note
* Copyright (C) 2013 Nuvoton Technology Corp. All rights reserved.
... | C | targets/TARGET_NUVOTON/TARGET_NANO100/device/startup_Nano100Series.c | mbedmicro/mbed | apache-2.0 | 10,185 | 243 | codeparrot/github-code |
1cde08f3d9da4eb22bf728ab0a4c3b5148c444d4f4bab83cbb08ba27202d263c | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | Java | aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/GetContextKeysForPrincipalPolicyResult.java | priyatransbit/aws-sdk-java | apache-2.0 | 6,429 | 168 | codeparrot/github-code |
4bfc8866fb8d5f6f596934cb7ddd406221925992c3169af3ee611d980cca314a | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... | Java | connect/runtime/src/main/java/org/apache/kafka/connect/runtime/WorkerSourceTaskContext.java | ollie314/kafka | apache-2.0 | 1,771 | 49 | codeparrot/github-code |
b7c99cc6b1b28fe98e35f02a133f405f7514274e5263e3663323043e26effc72 | // 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.
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System... | C# | src/VisualStudio/Core/Test.Next/Services/SolutionAssetCacheTests.cs | physhi/roslyn | apache-2.0 | 2,064 | 61 | codeparrot/github-code |
e2cb1fa20d1cf1ba1d862229f1988f17cc4312966f2a8d0f07a32be79d37baf3 | // 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 CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_
#define CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_
#include <string>
#include "ba... | C | chrome/browser/printing/printing_message_filter.h | TeamEOS/external_chromium_org | bsd-3-clause | 4,861 | 143 | codeparrot/github-code |
c75eab337b2c47f6eba8b24d0d537eaedc2b0e65a080c77848a6e0db93333722 | /*
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dijit.Editor"]){
dojo._hasResource["dijit.Editor"]=true;
dojo.provide("dijit.Editor");
dojo.require(... | JavaScript | web-app/public/js/dijit/Editor.js | skobbler/AddressHunter | bsd-3-clause | 11,775 | 497 | codeparrot/github-code |
c1db17bee1328d695f0eaf45da36089d190a51b3de18617449f909f65826bba4 | #include <pcl/apps/cloud_composer/commands.h>
#include <pcl/apps/cloud_composer/tool_interface/abstract_tool.h>
#include <pcl/apps/cloud_composer/project_model.h>
#include <pcl/apps/cloud_composer/merge_selection.h>
pcl::cloud_composer::CloudCommand::CloudCommand (QList <const CloudComposerItem*> input_data, QUndoComm... | C++ | apps/cloud_composer/src/commands.cpp | kalectro/pcl_groovy | bsd-3-clause | 21,100 | 595 | codeparrot/github-code |
8e11a2731653e2dcafd37ddbb9fe8b82b11616046fafcbe8ebc58c71edca949a | // Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --harmony-classes --allow-natives-syntax
(function TestSuperNamedLoads() {
function Base() { }
function fBase() { }
Base.prototype = {
... | JavaScript | v8/test/mjsunit/harmony/super.js | sgraham/nope | bsd-3-clause | 50,511 | 2,067 | codeparrot/github-code |
aaac25719593737142babbd6ecac12630d9728431e6b16209c4cb0596afd3389 | /*
* 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 | elasticsearch-master/core/src/main/java/org/elasticsearch/index/analysis/WordDelimiterTokenFilterFactory.java | strahanjen/strahanjen.github.io | bsd-3-clause | 8,934 | 201 | codeparrot/github-code |
45d715eb3b30f76616ef7449ff24c8f4e344a207c755618e70446ced5edc584d | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Class: MissingSatelliteAssemblyException
**
** <OWNER>[....]</OWNER>
**
**
** Purpose: Exception for a missing satellite assembly needed
** for ulti... | C# | mscorlib/system/resources/missingsatelliteassemblyexception.cs | sekcheong/referencesource | mit | 1,913 | 61 | codeparrot/github-code |
6216c50327bbcb0679d7e7e557b9674e5f54799150ce82414475c41b215e2652 | <?php defined('C5_EXECUTE') or die("Access Denied."); ?>
<?php
if (!$vWidth) {
$vWidth=640;
}
if (!$vHeight) {
$vHeight=360;
}
if (!$sizing) {
$sizing = '16:9';
}
?>
<?php
echo Core::make('helper/concrete/ui')->tabs(array(
array('video', t('Video'), true),
array('settings', t('Settings'))
));
?>
... | PHP | updates/concrete5.7.5.6/concrete/blocks/youtube/form_setup_html.php | lifejuggler/audrey_site | mit | 6,256 | 171 | codeparrot/github-code |
828c8a50c0d2a36e93567020b19258410b75a87a9fa0ce31ef1ad5695ab4a37a | import unittest
import objects
""" 1: Object-Oriented Programming - TESTS
Testing Object Oriented Programming Examples from objects.py
Gabby Ortman 2015
"""
class TestObjectMethods(unittest.TestCase):
def test_vehicle(self):
self.vehicle = objects.Vehicle('Broken Skateboard')
... | Python | 0-Object-Oriented Programming/test.py | erhuabushuo/Data-Structure-Zoo | mit | 1,293 | 39 | codeparrot/github-code |
83010286ab86c2dea1c37305a7f837b41c1e620a3af005feb481fcdc506e0864 | //----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
namespace System.Activities.Core.Presentation
{
using System.Activities.Presentation.Metadata;
using System.Activit... | C# | System.Activities.Presentation/System.Activities.Core.Presentation/System/Activities/Core/Presentation/PickBranchDesigner.xaml.cs | sekcheong/referencesource | mit | 1,453 | 40 | codeparrot/github-code |
046605d8eccbe10c0653b53d53ba3d1ce2e633ae9ab87bc6aeea67190fb6859e | /*
* Copyright (c) 2009, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | Java | src/jdk.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/PrimitiveConstant.java | FauxFaux/jdk9-hotspot | gpl-2.0 | 5,425 | 179 | codeparrot/github-code |
238b289bbffccbcf12383ca4accbcced3ad4f36c83435d2bd0cc96fe83ef725d | /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
#pragma once
/***
This file is part of systemd.
Copyright 2014 Tom Gundersen <teg@jklm.no>
systemd is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Soft... | C | src/resolve/resolved-manager.h | kreijack/systemd-old | gpl-2.0 | 4,565 | 157 | codeparrot/github-code |
bc5a2e39333a549592309c9ebda1b254bf12d417993b8e1d98a3f6fe9bc5a204 | /*
* Copyright (c) 1994, 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 ... | Java | src/java.base/share/classes/sun/net/www/MimeEntry.java | FauxFaux/jdk9-jdk | gpl-2.0 | 10,423 | 324 | codeparrot/github-code |
efbb31fedce42667278112b0721c256abe1f892a3f6da63047aa957861ef54c7 | <?php
namespace Drupal\ctools\Plugin\Relationship;
use Drupal\Core\Plugin\Context\Context;
use Drupal\Core\Plugin\Context\ContextDefinition;
/**
* @Relationship(
* id = "typed_data_language_relationship",
* deriver = "\Drupal\ctools\Plugin\Deriver\TypedDataLanguageRelationshipDeriver"
* )
*/
class TypedData... | PHP | web/modules/contrib/ctools/src/Plugin/Relationship/TypedDataLanguageRelationship.php | ural/da8 | gpl-2.0 | 1,108 | 37 | codeparrot/github-code |
33309d17ce25eca6f32f2b4bd46c0e552edc4fba8d7d14f0ad584a7bda1ad833 | /*
* Copyright (c) 2009 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
*... | C++ | thirdparty/juce/modules/juce_box2d/box2d/Collision/b2DynamicTree.cpp | XNerv/Mermaid | gpl-3.0 | 17,423 | 772 | codeparrot/github-code |
20641141b6983c9b1c0a0b82f5b6cb39c75b6d81fad19ab46a9e9a5db79b4d46 | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef _FPDF_PAGEOBJ_H_
#define _FPDF_PAGEOBJ_H_
#ifndef _FPDF_RESOU... | C | external/pdfium/core/include/fpdfapi/fpdf_pageobj.h | s20121035/rk3288_android5.1_repo | gpl-3.0 | 15,318 | 722 | codeparrot/github-code |
e236343b061980ff5a6a5d145155b0ce0155747bec734e6adef1caa77e228b67 | /*
* Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
* Copyright (C) 2003, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved.
* Copyright (C) 2003 Peter Kelly (pmk@post.com)
* Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com)
*
* This library is free software; you can redistribute it and/or
* ... | C++ | webkit/Source/JavaScriptCore/runtime/ArrayPrototype.cpp | danialbehzadi/Nokia-RM-1013-2.0.0.11 | gpl-3.0 | 41,844 | 1,140 | codeparrot/github-code |
95d6f436363b07ef12a1520140561a0a82aa594d7ff36764126d7d4b127047f9 | /**
* openHAB, the open Home Automation Bus.
* Copyright (C) 2010-2013, openHAB.org <admin@openhab.org>
*
* See the contributors.txt file in the distribution for a
* full listing of individual contributors.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU ... | Java | bundles/core/org.openhab.core.library.test/src/test/java/org/openhab/core/library/types/PercentTypeTest.java | noushadali/openhab | gpl-3.0 | 2,238 | 75 | codeparrot/github-code |
6abd8e12505aaa3396f5589d38feda6750987adc4b7f3a0b19893a654d80bd0d | /*
* 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 | src/java/org/apache/cassandra/db/DecoratedKey.java | dukechain/Qassandra | apache-2.0 | 3,453 | 112 | codeparrot/github-code |
eee5f1c0e0b092cb2675679ab91a0a220284d96713f2fc8c8e4cdf21da35895b | /*
* Copyright 2000-2015 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 | platform/lang-impl/src/com/intellij/slicer/LanguageSlicing.java | MichaelNedzelsky/intellij-community | apache-2.0 | 1,198 | 34 | codeparrot/github-code |
0b5bf300a27bc456af191c8020cbd85b4a688f9e8c3659361c60d79d5d3395ce | /*
* 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 | server/src/main/java/org/apache/druid/segment/loading/OmniDataSegmentMover.java | nishantmonu51/druid | apache-2.0 | 1,820 | 58 | codeparrot/github-code |
be2c19bb4ba9f5c12f35ab26cebd1ad201a8654fe87f12c08f17f3c54059fd34 | /*
* Copyright 2000-2015 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/testIntegration/TestRunLineMarkerProvider.java | supersven/intellij-community | apache-2.0 | 2,490 | 72 | codeparrot/github-code |
8da30d86b74037e9f30590c0e747bf88e252687c20e2c7d30abbedd44d610f0d | /*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... | Java | dbdialog/test-src/org/pentaho/ui/database/MessagesTest.java | yshakhau/pentaho-kettle | apache-2.0 | 2,872 | 72 | codeparrot/github-code |
e6b5b8c483a28ca951a5a5d0e72a7e7ca68f4cb31912e9f5a97fcce947e8631c | package org.bouncycastle.crypto.tls;
import java.math.BigInteger;
import org.bouncycastle.crypto.BasicAgreement;
import org.bouncycastle.crypto.agreement.DHBasicAgreement;
import org.bouncycastle.crypto.agreement.ECDHBasicAgreement;
import org.bouncycastle.crypto.params.AsymmetricKeyParameter;
import org.bouncycastle... | Java | src/org/bouncycastle/crypto/tls/DefaultTlsAgreementCredentials.java | alphallc/connectbot | apache-2.0 | 2,488 | 79 | codeparrot/github-code |
7fe86ddc4a39315bf1cc2d6537af60598e4ca6d8b54aeeab49c8ac730df4470e | // throw.cs
//
// Copyright 2010 Microsoft 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 applic... | C# | Nodejs/Product/Analysis/JavaScript/throw.cs | zhoffice/nodejstools | apache-2.0 | 1,529 | 59 | codeparrot/github-code |
7dc5b5938970b066665e1c9a833dff6589766686904e87e4eba74955f44211f7 | /*
* 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 | oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/persistentCache/CacheMap.java | mduerig/jackrabbit-oak | apache-2.0 | 3,927 | 142 | codeparrot/github-code |
475af05f3479d97cce92e0e927a2c0545b01b9ed439ffb7ea4828a48be12ab0c | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/lru/LruNearEvictionPolicySelfTest.java | samaitra/ignite | apache-2.0 | 5,162 | 147 | codeparrot/github-code |
5ec49cce0c7e4f4f3c5785918d1b0d348bf37318fef6dc61de272b0772b3a2f3 | /**
* 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 | camel-core/src/main/java/org/apache/camel/model/dataformat/JaxbDataFormat.java | joakibj/camel | apache-2.0 | 9,649 | 290 | codeparrot/github-code |
b19db03858fe367558c40ecd2b452710ee37899f1321591992c36f98679ea5c2 | <?php
/**
* CCaptcha class file.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.yiiframework.com/
* @copyright 2008-2013 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
/**
* CCaptcha renders a CAPTCHA image element.
*
* CCaptcha is used together with {@link CCaptchaAction... | PHP | yiiframework/web/widgets/captcha/CCaptcha.php | Wyden971/IpMotors | unlicense | 6,145 | 189 | codeparrot/github-code |
095f21fbc7f29c40a1f28eec4ca79683997cf34cf111ec9aa36c0e0465bfe512 | #!/usr/bin/env bash
usage()
{
echo
echo "There are new changes on how we build. Use this script only for generic"
echo "build instructions that apply for both build native and build managed."
echo "Otherwise:"
echo
echo "Before Now"
echo "build.sh native build-native.sh"... | Shell | build.sh | nchikanov/corefx | mit | 1,250 | 48 | codeparrot/github-code |
87a0580490f9c678631b0dce95ab031ec9fa3ffaa3d75c7a82188f490477ff6f | // Copyright 2009-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include "node_intersector_packet_stream.h"
#include "node_intersector_frustum.h"
#include "bvh_traverser_stream.h"
namespace embree
{
namespace isa
{
/*! BVH ray stream intersector. */
template<int N, int types... | C | thirdparty/embree/kernels/bvh/bvh_intersector_stream.h | honix/godot | mit | 12,968 | 271 | codeparrot/github-code |
525f7e844c128c926f846c5282f3eb46663d808dbc4eedfab7c15af5fe232ec4 | /*
* Copyright (c) 1998, 2011, Oracle and/or its affiliates. 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
* no... | Java | testing/openjdk/jdk/src/share/demo/jfc/Metalworks/MetalworksHelp.java | rokn/Count_Words_2015 | mit | 5,210 | 153 | codeparrot/github-code |
8a0cded999f9c56cf0a0ec0e697bbdacfc1647d29400ec619db553f9774e174a | /* Regular expression tests.
Copyright (C) 2003-2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public... | C | posix/tst-pcre.c | sebastianscatularo/glibc | gpl-2.0 | 5,272 | 241 | codeparrot/github-code |
6e9286e20188f2a04e16dc56c44ea68b1820ef71ecdb1fb47438c8b07326ace6 | /*
* 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 <string>
#include <vector>
#include "guilib/GUIKeyboard.h"
#include "guilib/GUIDialog.h"
#include "input... | C | xbmc/dialogs/GUIDialogKeyboardGeneric.h | anthonyryan1/xbmc | gpl-2.0 | 2,726 | 90 | codeparrot/github-code |
06258dfca3ce78f2375edf7cb601485cf682cada92d8ac2d524c56392949c7c4 | // SPDX-License-Identifier: GPL-2.0
/******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
******************************************************************************/
#define _HAL_INIT_C_
#include <linux/firmware.... | C | drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | codeaurora-unoffical/linux-msm | gpl-2.0 | 19,161 | 577 | codeparrot/github-code |
dae0ac94d79679b13daf905468dc874220c526349549c47b0c2518c111f37af9 | #undef DEBUG
/*
* ARM performance counter support.
*
* Copyright (C) 2009 picoChip Designs, Ltd., Jamie Iles
* Copyright (C) 2010 ARM Ltd., Will Deacon <will.deacon@arm.com>
*
* This code is based on the sparc64 perf event code, which is in turn based
* on the x86 code. Callchain code is based on the ARM OProfi... | C | arch/arm/kernel/perf_event.c | tank0412/android_kernel_ONDA_kylin_mb976a9 | gpl-2.0 | 22,859 | 920 | codeparrot/github-code |
51f0c01be8679d8c55f3a534c9d9d325d0f68f07ebc5c90ea84666bf47969be5 | /*
* linux/arch/sh/kernel/sys_sh.c
*
* This file contains various random system calls that
* have a non-standard calling sequence on the Linux/SuperH
* platform.
*
* Taken from i386 version.
*/
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/sem.h>
... | C | arch/sh/kernel/sys_sh.c | JonnyH/pandora-kernel | gpl-2.0 | 6,442 | 274 | codeparrot/github-code |
27a470fd6c4975917fcf3cf61bd121c3a62f641de572ad373f0c87ca15279b92 | /*
* Copyright (C) 2011-2014 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2014 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Genera... | C | src/tools/mesh_extractor/Cache.h | Natureknight/BAMoP | gpl-2.0 | 2,055 | 83 | codeparrot/github-code |
d7fec47df93d72dd6069044a2f5101135ddff64a1561659c37701bcc5221c32e | <?php
/*
* $Id: Migration.php 48519 2012-02-03 23:18:52Z btowles $
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAI... | PHP | tmp/install_5141d25be0783/lib_rokcommon/Doctrine/Migration.php | C3Style/appuihec | gpl-2.0 | 16,788 | 562 | codeparrot/github-code |
98aeb7156ebe9acff3524beb0460bf362491f79696c8a3dfb36604494b182cc6 | <?php
/*********************************************************************
class.filter.php
Ticket Filter
Peter Rotich <peter@osticket.com>
Copyright (c) 2006-2013 osTicket
http://www.osticket.com
Released under the GNU General Public License WITHOUT ANY WARRANTY.
See LICENSE.TXT for d... | PHP | include/class.filter.php | pauluz/osTicket-1.8 | gpl-2.0 | 31,734 | 998 | codeparrot/github-code |
d07d848d4fe615867bba4bb624f312d9403a575e4fab07f15d43e8d859534026 | /* Copyright (c) 2012-2015, 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 | virt/drivers/platform/msm/ipa/ipa_v3/ipa_rt.c | mericon/Xp_Kernel_LGH850 | gpl-2.0 | 52,020 | 1,941 | codeparrot/github-code |
2b82dffdcea4bc55ef484ab36bc3397d6ba6db85f65f61933787abb68f916fb1 | /*
* Copyright (c) 1999, 2011, 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 ... | C++ | src/share/vm/c1/c1_InstructionPrinter.hpp | BobZhao/HotSpotResearch | gpl-2.0 | 5,702 | 142 | codeparrot/github-code |
7c403d63150af8bc86945e19fc4e925070876a89e310254457464d664f6b4abf | //
// TryCatchStatement.cs
//
// Author:
// Mike Krüger <mkrueger@novell.com>
//
// Copyright (c) 2009 Novell, Inc (http://www.novell.com)
//
// 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 t... | C# | vim/ycmd/third_party/OmniSharpServer/NRefactory/ICSharpCode.NRefactory.CSharp/Ast/Statements/TryCatchStatement.cs | Eddy0402/Environment | gpl-3.0 | 7,221 | 242 | codeparrot/github-code |
73ed75f838517b8f19032e9b559ea9dd863bd773cd7391db4ffe336119bfd036 | /*
* Copyright (C) 2014 Samsung Electronics. All Rights Reserved.
* Source code is 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 requ... | JavaScript | GVRf/Extensions/3DCursor/IODevices/gearwear/GearInputConsumer/js/network.js | NolaDonato/GearVRf | apache-2.0 | 9,345 | 384 | codeparrot/github-code |
b76f5c0b0717346e3dcd4cb07dec2b657e6f7e20149518fac302c2d2461d0f8e | /**
* Copyright 2005-2015 The Kuali Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl2.php
*
* Unless required by a... | Java | rice-middleware/ksb/client-impl/src/main/java/org/kuali/rice/ksb/messaging/MessageHelperImpl.java | bhutchinson/rice | apache-2.0 | 6,707 | 137 | codeparrot/github-code |
67d7fbfcaf5a0cefa12c929caa7bc6384eef896f64ef6efc39c47b664fff1d76 | /*
* Copyright 2005 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | Java | drools-core/src/main/java/org/drools/core/audit/event/ActivationLogEvent.java | amckee23/drools | apache-2.0 | 4,981 | 149 | codeparrot/github-code |
f951274dafec8381bc61c13dbdccfdb8aca9137560606375a9d74cdd96f4e510 | /*
* ModSecurity for Apache 2.x, http://www.modsecurity.org/
* Copyright (c) 2004-2013 Trustwave Holdings, Inc. (http://www.trustwave.com/)
*
* 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
*
* If any of the... | C | apache2/msc_pcre.h | irtnog/ModSecurity | apache-2.0 | 2,125 | 62 | codeparrot/github-code |
30620246387a50022dfb0fd1942a690d260e70be5804c406f27fe8f34ea01f37 | /*
* Copyright 2000-2015 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 | platform/analysis-impl/src/com/intellij/codeInspection/reference/RefEntityImpl.java | Lekanich/intellij-community | apache-2.0 | 3,802 | 156 | codeparrot/github-code |
c8181931bb963ca4461f20e23d1e85080225715793be195028352428a302379c | /*
* Copyright 2000-2014 Vaadin Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | Java | server/src/main/java/com/vaadin/server/communication/PublishedFileHandler.java | jdahlstrom/vaadin.react | apache-2.0 | 5,737 | 159 | codeparrot/github-code |
8d01b79fab690db41fd37a440c521f0b1424b44cfab8cdd13eb99adcb11bfba6 | //===----------------------------------------------------------------------===//
//
// 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/llvm/libcxx/test/std/numerics/numarray/valarray.nonmembers/valarray.binary/or_valarray_value.pass.cpp | endlessm/chromium-browser | bsd-3-clause | 996 | 37 | codeparrot/github-code |
026af21be88a0bcecf918cdd452bf7a7615a4858d27abcd8b7eefe6eff53994c | # Natural Language Toolkit: WordNet stemmer interface
#
# Copyright (C) 2001-2012 NLTK Project
# Author: Steven Bird <sb@csse.unimelb.edu.au>
# Edward Loper <edloper@gradient.cis.upenn.edu>
# URL: <http://www.nltk.org/>
# For license information, see LICENSE.TXT
from nltk.corpus.reader.wordnet import NOUN
from... | Python | ~/venvs/crawler/lib/python2.7/site-packages/nltk/stem/wordnet.py | cortext/crawtextV2 | mit | 1,263 | 47 | codeparrot/github-code |
4656f239afe84cbb36bd2ccfb18360b7120b218e779d3b9467715d95605a625b | //------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
namespace System.ServiceModel.Configuration
{
using System.Configuration;
using System.... | C# | System.ServiceModel/System/ServiceModel/Configuration/WSDualHttpSecurityElement.cs | sekcheong/referencesource | mit | 2,000 | 53 | codeparrot/github-code |
3c170a5c1654d5e073808621ff616d3ed45e63c5347636cc949b15c173751074 | <?php
/**
* Language string extractor
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of fil... | PHP | lib/Cake/Console/Command/Task/ExtractTask.php | ud-limabean/limabean | mit | 25,200 | 833 | codeparrot/github-code |
db195f2b925ac883b9402b374e03dced02c6175f32553395790293d4779390c4 |
#ifndef _PYODBCSQLWCHAR_H
#define _PYODBCSQLWCHAR_H
class SQLWChar
{
// An object designed to convert strings and Unicode objects to SQLWCHAR, hold the temporary buffer, and delete it
// in the destructor.
private:
SQLWCHAR* pch;
Py_ssize_t len;
bool owns_memory;
public:
SQLWChar()
{
... | C | src/sqlwchar.h | yeyuguo/pyodbc | mit | 1,313 | 63 | codeparrot/github-code |
cc6085e3154925ac22aad2e281f69de71399c269cc4078a8ea2d4fa7de530b62 | /**
* Copyright (c) 2014-2015 openHAB UG (haftungsbeschraenkt) 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, and is available at
* http://www.eclipse.org/legal/epl-v10.htm... | Java | addons/ui/org.openhab.ui.cometvisu/src/main/java/org/openhab/ui/cometvisu/backend/ReadResource.java | innoq/openhab2 | epl-1.0 | 8,579 | 240 | codeparrot/github-code |
74b85d525ca1eb4b73e3bf3bfb108491ba69228ffea448f5c26f24eaf0984e57 | /* This testcase is part of GDB, the GNU debugger.
Copyright 2014 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(a... | C | gdb/testsuite/gdb.threads/queue-signal.c | SaberMod/binutils-saber | gpl-2.0 | 3,231 | 143 | codeparrot/github-code |
b6bf79669aed1e7e4ac1820d4bd9f96bc7cbca2256489a780f258c37dfaa319d | /*
* Board-specific setup code for the ATNGW100 Network Gateway
*
* Copyright (C) 2005-2006 Atmel Corporation
*
* 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 <lin... | C | arch/avr32/boards/atngw100/setup.c | JonnyH/pandora-kernel | gpl-2.0 | 5,587 | 213 | codeparrot/github-code |
a2e5de7be4b3af64702764d6bd7f6dba825c16d6383e87fc8bda0171444db3b9 | // I, Howard Hinnant, hereby place this code in the public domain.
// Test that move constructor and move assignement are special.
// That is, their presence should inhibit compiler generated
// copy ctor or assignment.
// { dg-options "-std=c++0x" }
#include <assert.h>
template <bool> struct sa;
template <> st... | C++ | uefi/gcc/gcc-4.6.3/gcc/testsuite/g++.dg/cpp0x/not_special.C | SanDisk-Open-Source/SSD_Dashboard | gpl-2.0 | 1,158 | 53 | codeparrot/github-code |
dc546c4e638ae4a008b0f7480dc5c0ce5d39d270cfaece554ca20af012845ae3 | <?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 | grade/edit/tree/lib.php | appalachianstate/moodle | gpl-3.0 | 42,691 | 1,089 | codeparrot/github-code |
90efb4b4fe41d7206319b826985a87ed7a56cf4ff6689040d8066af6a16364eb | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Granite Door
-- Involved in Missions: San dOria Mission 8-2
-- @pos -50 -17 -154
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("script... | Lua | scripts/zones/Temple_of_Uggalepih/npcs/_4fv.lua | n0xus/darkstar | gpl-3.0 | 1,657 | 61 | codeparrot/github-code |
99d1c3183088c8555b7fac3dd3ba08e8e05619f4caf36bede96d0a884456e41f | /* bcon.c */
/* Copyright 2009-2012 10gen Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | C | vender/src/mongo/bcon.c | xushiwei/fibjs | gpl-3.0 | 16,039 | 373 | codeparrot/github-code |
d347ee595d1179e87efd72a601feef496b23a47cac60db29ff7e82820a2b540f | /****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy Alliance, LLC ... | C | moose/framework/include/base/UpdateDisplacedMeshThread.h | gleicher27/Tardigrade | lgpl-2.1 | 1,440 | 40 | codeparrot/github-code |
5c06545abaa9a341881519f02de3cb440f6a7a08ffe48f528a6ccb87510471c7 | // Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the "License");
// you may... | C++ | cpp/iedriver/CommandHandlers/AcceptAlertCommandHandler.cpp | joshbruning/selenium | apache-2.0 | 2,215 | 63 | codeparrot/github-code |
20ee3fd23d4a7f30200aad14de3437b3a127c85dabc74b64ca08b3f8affff16d | //Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
namespace Sce.Atf
{
/// <summary>
/// A very simple n-ary tree</summary>
/// <typeparam name="T">Type of value held at each ... | C# | Framework/Atf.Core/Tree.cs | jethac/ATF | apache-2.0 | 10,564 | 342 | codeparrot/github-code |
cb68448323f44b0514600dbf18dc4083de1d90920bdf29d5a3a1dae0c90dd615 | /**************************************************************************************************
Revised: $Date: 2007-07-06 11:19:00 -0700 (Fri, 06 Jul 2007) $
Revision: $Revision: 13579 $
Copyright 2007 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software... | C | software/Components/bsp/bsp.c | eh-mcr/ehwsn | apache-2.0 | 4,538 | 102 | codeparrot/github-code |
30c78814a15d92c8df1737e8e333d7a30bfe6236cb705c253fef66b01bc98114 | // 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.
#nullable disable
using System;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Editor.CSharp.KeywordHi... | C# | src/EditorFeatures/CSharpTest/KeywordHighlighting/AsyncLocalFunctionHighlighterTests.cs | physhi/roslyn | apache-2.0 | 1,341 | 50 | codeparrot/github-code |
bedccd27951286c8c43b2b7429543d57473401cc2e097524d1c6b1d8898065e0 | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | Java | tensorflow/lite/java/src/test/java/org/tensorflow/lite/TestUtils.java | karllessard/tensorflow | apache-2.0 | 3,644 | 107 | codeparrot/github-code |
f1ecc34d19f1fbc9c5d75e1b5b950b6b1efd83aeb9fe5c6f458aefa0049a25ef | /*
* 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-commons/nifi-expression-language/src/main/java/org/apache/nifi/attribute/expression/language/evaluation/selection/MultiNamedAttributeEvaluator.java | mcgilman/nifi | apache-2.0 | 3,281 | 89 | codeparrot/github-code |
5133f140aa124e7c6eaf2ee6bfa4e5d547eee98bae0f21ced47c1ae3695a0196 | /*
* Copyright 2008-2009 LinkedIn, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | src/java/voldemort/store/UnreachableStoreException.java | FelixGV/voldemort | apache-2.0 | 1,320 | 47 | codeparrot/github-code |
1ee9436eac6208683b6d66b17150a1b26b3096c52b9e1b6403cfe35e1896839f | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Scala | tool/kafka-0.8.1.1-src/core/src/test/scala/unit/kafka/producer/ProducerTest.scala | unix1986/universe | bsd-2-clause | 13,774 | 331 | codeparrot/github-code |
c4012a02e301d156da3d742df14b36fb0262250ea36f2431f821a146beee8785 | // Copyright 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 CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_INSTANT_OVERLAY_CONTROLLER_MAC_H_
#define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_INSTANT_OVERLAY_CONTROLLER_MAC... | C | chrome/browser/ui/cocoa/tab_contents/instant_overlay_controller_mac.h | Chilledheart/chromium | bsd-3-clause | 1,074 | 31 | codeparrot/github-code |
8fed4b8d0a65b4bb2e0f616db2fe8207a25ce9c8ce6f0900903f2cd78d6c038b | /****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees ... | C++ | src/qt/src/gui/text/qtextdocumentwriter.cpp | xlsdg/phantomjs-linux-armv7l | bsd-3-clause | 10,901 | 373 | codeparrot/github-code |
605fa13f4186692151cedc2c405714b1d2c4e5043631162e1f223cd692ea9c30 |
#include "AP_ADC_HIL.h"
#include <AP_HAL.h>
extern const AP_HAL::HAL& hal;
/*
* AP_ADC_HIL.cpp
* Author: James Goppert
*
* License:
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as publi... | C++ | sandbox/ardupilot/libraries/AP_ADC/AP_ADC_HIL.cpp | sgadgil6/igvc-software | mit | 2,461 | 100 | codeparrot/github-code |
49a35476c2e63874e039c2876180fee70dc4f7b0f8adea8fb7831fe01e45ad4a | //===- SubtargetEmitter.cpp - Generate subtarget enumerations -------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C++ | llvm/utils/TableGen/SubtargetEmitter.cpp | impedimentToProgress/Ratchet | mit | 58,678 | 1,576 | codeparrot/github-code |
c0c7d388abfbbd93bfc31d059af8ebdb63ae7c93522b83da10c39605f95ebf0e | <!doctype html>
<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be... | HTML | frontend/static/bower_components/iron-location/test/iron-location-base-uri.html | usc-isi-i2/mydig-webservice | mit | 19,099 | 535 | codeparrot/github-code |
5a2367785f9f299ed0799959ac2341adfabbd3dab021fc121f62303cbfc1b001 | /*
*
* (C) Copyright IBM Corp. 1998-2015. All Rights Reserved.
*
* WARNING: THIS FILE IS MACHINE GENERATED. DO NOT HAND EDIT IT UNLESS
* YOU REALLY KNOW WHAT YOU'RE DOING.
*
* Generated on: 04/27/2015 10:39:37 AM PDT
*/
#ifndef __LESCRIPTS_H
#define __LESCRIPTS_H
#include "LETypes.h"
/**
* \file
* \brief C... | C | usr/shared/libs/include/layout/LEScripts.h | vs0uz4/openshift-cartridge-php | mit | 4,947 | 205 | codeparrot/github-code |
9ecfd5d90b30fecf95386b6c29b322d5677b7eb4184c4acf154d91b1e6ce5924 | <?php
/**
* @author ThemePunch <info@themepunch.com>
* @link http://www.themepunch.com/
* @copyright 2015 ThemePunch
*/
if( !defined( 'ABSPATH') ) exit();
class RevSliderFunctions{
public static function throwError($message,$code=null){
if(!empty($code)){
throw new Exception($message,$code);
}e... | PHP | wp-content/plugins/revslider/includes/framework/functions.class.php | mvietz/pfa | gpl-2.0 | 15,904 | 653 | codeparrot/github-code |
60d7dad64be5352b5083bf8cfc3c4728fb21afac49802fcef1ed6aa98e08fd87 | /*
* u_serial.c - utilities for USB gadget "serial port"/TTY support
*
* Copyright (C) 2003 Al Borchers (alborchers@steinerpoint.com)
* Copyright (C) 2008 David Brownell
* Copyright (C) 2008 by Nokia Corporation
*
* This code also borrows from usbserial.c, which is
* Copyright (C) 1999 - 2002 Greg Kroah-Hartman... | C | drivers/usb/gadget/u_serial.c | kozmikkick/kozmikkernel3.8 | gpl-2.0 | 34,080 | 1,348 | codeparrot/github-code |
8ef4b7d022904f963586e70fc5fcde93ec150acd209d61559542408861b9d9d9 | ! { dg-do run }
! { dg-options "-fdec-structure" }
!
! Basic STRUCTURE test.
!
subroutine aborts (s)
character(*), intent(in) :: s
print *, s
call abort()
end subroutine
! Basic structure
structure /s1/ ! type s1
integer i1
logical l1
real r1
character c1
end structure ! e... | FORTRAN | gcc/testsuite/gfortran.dg/dec_structure_1.f90 | mickael-guene/gcc | gpl-2.0 | 934 | 57 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.