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 |
|---|---|---|---|---|---|---|---|---|
c02b3d9650238f39462b38c0f502f6b8e945096a071130ba630773eaec470532 | /* sdsl - succinct data structures library
Copyright (C) 2010 Simon Gog
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any la... | C++ | sdsl_linear/include/sdsl/algorithms_for_string_matching.hpp | andmaj/unrank-bottleneck-bench | gpl-3.0 | 18,541 | 459 | codeparrot/github-code |
c267ba544b14127af0667e810c8e6bb5ecbc08f329e3b741074385616606f6ab | /*
* Copyright (C) 2014 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... | Java | mmd/library/src/main/java/com/google/android/exoplayer/text/tx3g/Tx3gParser.java | Lee-Wills/-tv | gpl-3.0 | 1,720 | 54 | codeparrot/github-code |
e985e55bb2354bb99b5a157be171f8cc57414379a688f0a2463696367c6bf63e | #region Copyright & License Information
/*
* Copyright 2007-2015 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see COP... | C# | OpenRA.Mods.Common/Widgets/Logic/Ingame/GameTimerLogic.cs | Sithil-F/OpenRA | gpl-3.0 | 1,876 | 70 | codeparrot/github-code |
d839142cfec6aaec53e3e2be4423dced9e1846feef6deace5af0451dc04214aa | #
# Copyright 2006,2007 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later versi... | Python | gnuradio-core/src/python/gnuradio/blks2impl/fm_demod.py | n4hy/gnuradio | gpl-3.0 | 4,236 | 112 | codeparrot/github-code |
91ccf843d89696b78c4d8cb566a8f42b638305bb99e104d88ff2bf9fdecf806e | <?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 | question/format.php | dslab-epfl/accessibility-checker | gpl-3.0 | 35,327 | 1,016 | codeparrot/github-code |
254fe24c8cc57ac51988e40753933b1adea44713bbd83d52e2f8a9e2fa90a1af | =pod
=head1 NAME
Locale::Currency - standard codes for currency identification
=head1 SYNOPSIS
use Locale::Currency;
$curr = code2currency('usd'); # $curr gets 'US Dollar'
$code = currency2code('Euro'); # $code gets 'eur'
@codes = all_currency_codes();
@names = all_currency_names();... | Perl | perl-5.26.1/perl5.26.1/lib/5.26.1/Locale/Currency.pod | mgood7123/UPM | gpl-3.0 | 3,059 | 127 | codeparrot/github-code |
f9ecb68adde2c861ced61abe5460f33e6ccb19139ccbaba7c98eb71488cbef02 | "use strict";
tutao.provide('tutao.entity.base.PersistenceResourcePostReturn');
/**
* @constructor
* @param {Object=} data The json data to store in this entity.
*/
tutao.entity.base.PersistenceResourcePostReturn = function(data) {
if (data) {
this.updateData(data);
} else {
this.__format = "0";
th... | JavaScript | web/js/generated/entity/base/PersistenceResourcePostReturn.js | msoftware/tutanota-1 | gpl-3.0 | 3,838 | 127 | codeparrot/github-code |
91d81b469fc9d3c6dbcf78d47b8da51bdf2a53a752bb5e862d96be2879ac3059 | # -*- coding: utf-8 -*-
# Copyright (c) 2016, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
from frappe import _
from frappe.utils import flt, add_months, cint, nowdate, getdate
from frappe.model.document import Do... | Python | erpnext/accounts/doctype/asset/asset.py | emakis/erpnext | gpl-3.0 | 10,030 | 260 | codeparrot/github-code |
ba4c5513e27e7f3903c89e4d9bd2de6b0a25e7479c8bf5764c4f712df55ef3f8 | /* Calculate the size of physical memory.
Copyright (C) 2000-2001, 2003, 2005-2006, 2009-2013 Free Software
Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either ver... | C | oss/shell/coreutils/coreutils-8.21/lib/physmem.c | geminy/aidear | gpl-3.0 | 7,604 | 305 | codeparrot/github-code |
ad008a7c9a26740af5724c5ef3106905d3d92719477a2513e0f32ddb9a26fa87 | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright: (c) 2017, Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# This is a virtual module that is entirely implemented as an action plugin and runs on the controller
from __future__ import absolute_import, ... | Python | lib/ansible/modules/fetch.py | indrajitr/ansible | gpl-3.0 | 3,790 | 106 | codeparrot/github-code |
6bc9338144b39f6e4e52ecca42dcbc3f134c99b23da35c282dbf013ead97a0fe | /* Provide a working getlogin for systems which lack it.
Copyright (C) 2010-2013 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the Li... | C | oss/shell/coreutils/coreutils-8.21/lib/getlogin.c | geminy/aidear | gpl-3.0 | 1,234 | 42 | codeparrot/github-code |
4a286a35dc5d2d79d0790bed44f761367235a5535c4e5fb18f4e36c96da9c6b4 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
//! Memory profiling functions.
use crate::time::duration_from_seconds;
use ipc_channel::ipc::{self, IpcReceiver... | Rust | components/profile/mem.rs | danlrobertson/servo | mpl-2.0 | 25,128 | 713 | codeparrot/github-code |
0fe9f31039639bb0bb33693733210e9b4e1ef44b89bcc170eb0981fc218727ed | #ifndef DYNET_NODES_LSTM_H_
#define DYNET_NODES_LSTM_H_
#include "dynet/dynet.h"
#include "dynet/nodes-def-macros.h"
namespace dynet {
struct VanillaLSTMGates : public Node {
explicit VanillaLSTMGates(const std::vector<VariableIndex>& a, bool dropout, real weightnoise_std)
: Node(a), dropout(dropout), weightnois... | C | src/libdynet/dynet/nodes-lstm.h | TALP-UPC/freeling | agpl-3.0 | 2,748 | 60 | codeparrot/github-code |
93eb6910dd812acbc149af57f7828263f3f394ee3b4ac2f66c1ed4463f2440ad | from __future__ import unicode_literals
def execute():
"""Make standard print formats readonly for system manager"""
import webnotes.model.doc
new_perms = [
{
'parent': 'Print Format',
'parentfield': 'permissions',
'parenttype': 'DocType',
'role': 'System Manager',
'permlevel': 1,
'read': 1,
... | Python | patches/may_2012/std_pf_readonly.py | gangadhar-kadam/mtn-erpnext | agpl-3.0 | 718 | 30 | codeparrot/github-code |
6169f757d43af5398f6e10e517e345698b3ab6305a7e3e3173e3a526de687ac3 | <?php
/**
* When appropriate, displays a plugin upgrade message "inline" within the plugin
* admin screen.
*
* This is drawn from the Upgrade Notice section of the plugin readme.txt file (ie,
* the one belonging to the current stable accessible via WP SVN - at least by
* default).
*/
class Tribe__Admin__Notice__... | PHP | code/wp-content/plugins/the-events-calendar/common/src/Tribe/Admin/Notice/Plugin_Upgrade_Notice.php | akvo/akvo-sites-zz-template | agpl-3.0 | 7,190 | 240 | codeparrot/github-code |
f789d236f189af471724a716cc1d930f3921365192323e66718aa1de34da6d18 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Unit Testing Class : CodeIgniter User Guide</... | HTML | user_guide/libraries/unit_testing.html | greencorecr/phone_campaigns | agpl-3.0 | 7,545 | 205 | codeparrot/github-code |
b0e17759c357806414aac0b40b6734a410b241a5d392046f967a8b159be9e275 | /**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
**
** GNU Lesser General Public License Usage
**
** This file may be used unde... | C++ | src/libs/cplusplus/ASTPath.cpp | ostash/qt-creator-i18n-uk | lgpl-2.1 | 2,743 | 94 | codeparrot/github-code |
59b7c3d5d5c0ff3fd0a8c11aa3e41719b6bd259304afb8160cfbde7ddf9f66af | //Version-IE: < 9
if ( 'function' !== typeof Array.prototype.reduce ) {
Array.prototype.reduce = function( callback /*, initialValue*/ ) {
'use strict';
if ( null === this || 'undefined' === typeof this ) {
throw new TypeError(
'Array.prototype.reduce called on null or undefined' );
}
i... | JavaScript | runtime/polyfill/array.js | OCamlPro-Henry/js_of_ocaml | lgpl-2.1 | 9,421 | 321 | codeparrot/github-code |
095bfaaa86ccd93d1a84025b75ba81c8f5d9568b94b25e37f792c6829c1d21d4 | // Copyright (c)2008-2011, Preferred Infrastructure Inc.
//
// 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
// ... | C | jubatus/util/data/suffix_array/rmq.h | gwtnb/jubatus_core | lgpl-2.1 | 13,357 | 423 | codeparrot/github-code |
05f5730de3c9df7f6d996bdec0f255e3bd6dfcdac4b625aa16fdbce3d2a55f57 | /*
* Copyright (C) 2015 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_stm32f4
* @{
*
* @file
* @brief CPU specific defi... | C | cpu/stm32f4/include/periph_cpu.h | mziegert/RIOT | lgpl-2.1 | 5,629 | 213 | codeparrot/github-code |
b402efffdc4818805041bf6c42017792723bfaa1956aa41493a5134b2b6d09d7 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... | C | thirdparty/leptonica/src/ptafunc1.c | DocCreator/DocCreator | lgpl-3.0 | 75,693 | 2,650 | codeparrot/github-code |
90df49e5c566c3baa3c77c49236eb96a22865600325ea29f93ae80484fd3d0d4 | /*
* Copyright 2014-present Open Networking Foundation
*
* 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 appli... | Java | core/store/serializers/src/main/java/org/onosproject/store/serializers/LinkKeySerializer.java | opennetworkinglab/onos | apache-2.0 | 1,671 | 52 | codeparrot/github-code |
17ac4bbc703e59ab1daf2b2c262f9fb2e0e290cb9e3c15b24a912f5d6d106e51 | /*
* 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 | test/framework/src/main/java/org/elasticsearch/test/rest/yaml/section/ClientYamlTestSuite.java | qwerty4030/elasticsearch | apache-2.0 | 5,796 | 157 | codeparrot/github-code |
eaefc7f6a4e5d269bf342ca58815c1b9eaf264f89a0a8369105e2b6cec5200cb | #region License
/*
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | C# | src/Spring/Spring.Messaging/Messaging/Listener/DistributedTxMessageListenerContainer.cs | yonglehou/spring-net | apache-2.0 | 8,103 | 213 | codeparrot/github-code |
b93cf339f24ca55634850fba9ed9b4dd3f651334bb6a0e2919aaed353f1a6189 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using FluentAssertions.Collections;
using FluentAssertions.Common;
using FluentAssertions.Equivalency;
using FluentAssertions.Numeric;
using FluentAssertions.Primitives;
using FluentAssertions.... | C# | Src/Core/InternalAssertionExtensions.cs | SaroTasciyan/FluentAssertions | apache-2.0 | 19,973 | 476 | codeparrot/github-code |
cf1d455d82fa1d539e7b390d9396376d941f082be4bed6f70a782d72c6dac909 | /*
* 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 | shell/src/main/java/org/apache/accumulo/shell/commands/ConstraintCommand.java | milleruntime/accumulo | apache-2.0 | 5,893 | 151 | codeparrot/github-code |
d6af6361af67ead8f913a48a6e8b945f905916d7a78c34539ad8c10beb02bffe | /*
* Copyright 2000-2010 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/platform-impl/src/com/intellij/ui/TableSpeedSearch.java | liveqmock/platform-tools-idea | apache-2.0 | 4,403 | 142 | codeparrot/github-code |
d5dfb215476ba1b97f7e527bf80baf212a587767d7a3eafc6c1d673d17ecf284 | /*
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Java | spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/EndpointLinksResolver.java | bclozel/spring-boot | apache-2.0 | 3,528 | 109 | codeparrot/github-code |
bf0f524c8ed3d0902f0c8ea174b53b17714c39b38a96ca16f93225d839202e74 | /**
* 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 | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/BaseContainerManagerTest.java | tomatoKiller/Hadoop_Source_Learn | apache-2.0 | 11,919 | 300 | codeparrot/github-code |
cec3b69c3391c8553228b7a03af26ef784766e8d184b97bf62bd5f5c185fc1d1 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Java | service/trino-proxy/src/main/java/io/trino/proxy/ProxyConfig.java | electrum/presto | apache-2.0 | 1,534 | 59 | codeparrot/github-code |
9b04fd86a1c873dfb612188cca4a931514b7bb520c2a9b93f69af41c22c0ad88 | #
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# ... | Python | heat/engine/clients/os/keystone.py | cryptickp/heat | apache-2.0 | 5,676 | 164 | codeparrot/github-code |
4b6bbd80fddef8409c4a1d8adf0ba403db43398e9d49bd57a4c1dea947fdeed6 | // test cube
var assert = require('assert'),
math = require('../../../index'),
error = require('../../../lib/error/index'),
unit = math.unit,
bignumber = math.bignumber,
matrix = math.matrix,
range = math.range,
cube = math.cube;
describe('cube', function() {
it('should return the cube of... | JavaScript | test/function/arithmetic/cube.test.js | owenversteeg/mathjs | apache-2.0 | 1,982 | 60 | codeparrot/github-code |
9d82b04ae90f8a37aa1bf039b33e69bd9d5e05788f597e047923370a7565712a | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java | components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpComponent.java | tkopczynski/camel | apache-2.0 | 2,487 | 68 | codeparrot/github-code |
24b9e672d0b745dfdba22e83cbee2641bbac636158f6da80d774545579e40b3d | // 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.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Remote;
namespace Microsoft.CodeAnalysis.FindSymbols
{
public static ... | C# | src/Workspaces/Core/Portable/FindSymbols/SymbolFinder_Remote.cs | amcasey/roslyn | apache-2.0 | 1,399 | 34 | codeparrot/github-code |
30602edd8abc4fd4a9236e4e174dc9598ece7879dca85c3d2cfa5727f13a9b04 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using NUnit.Framework;
using OpenQA.Selenium.Environment;
namespace OpenQA.Selenium
{
[TestFixture]
public class TakesScreenshotTest : DriverTestFixture
{
[TearDown]
public void SwitchToTop()
{
... | C# | dotnet/test/common/TakesScreenshotTest.cs | asashour/selenium | apache-2.0 | 22,313 | 512 | codeparrot/github-code |
65872e7cc82e1557fe804d06f347e5593868e769f799cf688a588f382002b786 | // Copyright 2008 The Closure Library 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 requ... | JavaScript | src/util/url.js | passy/traceur-todomvc | apache-2.0 | 8,826 | 310 | codeparrot/github-code |
9a5d3977dc62d85a398a793f019efde700b1ae073ff07c26baf6bdee2db9c738 | # -*- coding: utf-8 -*-
"""
Covenant Add-on
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This prog... | Python | script.module.uncoded/lib/resources/lib/sources/de/horrorkino.py | TheWardoctor/Wardoctors-repo | apache-2.0 | 3,418 | 89 | codeparrot/github-code |
ca134b5620aaeb66804141e4e34eeff2f0158a50d6efc4c68badf8a5b08e1b76 | // Copyright (C) 2015 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_DNN_CuDNN_H_
#define DLIB_DNN_CuDNN_H_
#ifdef DLIB_USE_CUDA
#include "cuda_errors.h"
namespace dlib
{
class tensor;
class resizable_tensor;
namespace cuda
{
... | C | faceSwap/src/main/jni/dlib/dnn/cudnn_dlibapi.h | tunaemre/Face-Swap-Android | apache-2.0 | 19,622 | 570 | codeparrot/github-code |
241092c339667c8294c24ac8f7dc1038659af41726dfc97a6d55fe10f0426ee9 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Java | core/trino-main/src/test/java/io/trino/sql/planner/assertions/ExpressionMatcher.java | electrum/presto | apache-2.0 | 3,920 | 114 | codeparrot/github-code |
2f8a4d5687d545f0597752ff1d3c5d5aa8afa4b602ddf714e062d08d7f63dffa | // Copyright 2010 The Bazel 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 appl... | Java | src/java_tools/junitrunner/java/com/google/testing/junit/runner/sharding/testing/ShardingFilterTestCase.java | damienmg/bazel | apache-2.0 | 12,016 | 287 | codeparrot/github-code |
9f8c35d95f74a5d19b6ecb6c7c72874a3aecd4665a21576e81a92a0746c1324b | /*
* Copyright 2017-present Open Networking Foundation
*
* 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 appli... | Java | core/api/src/main/java/org/onosproject/store/service/Version.java | gkatsikas/onos | apache-2.0 | 2,369 | 83 | codeparrot/github-code |
c26f70b1b7abc73c71ca1007e8c2fb65e9490cf2acbb40eaf8901aaa2c3d6c3b | /*
* Copyright 2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Java | subprojects/platform-native/src/main/java/org/gradle/nativeplatform/internal/NativeBinarySpecInternal.java | gstevey/gradle | apache-2.0 | 2,517 | 72 | codeparrot/github-code |
d9b2aa60cba92b2cc8ca9444729fa0c4295ec57e83209ae89a87de75986dd438 | /*
* Copyright 2012 Amadeus s.a.s.
* 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... | JavaScript | test/aria/storage/localStorage/NamespaceTestCase.js | vcarle/ariatemplates | apache-2.0 | 1,613 | 45 | codeparrot/github-code |
bffff9151c56f3eeca858a7b87fc7791d081546d4f66a4120c7b288345c6fd99 | using System.ComponentModel.DataAnnotations;
using FluentMigrator.Infrastructure;
namespace FluentMigrator.Expressions
{
/// <summary>
/// Expression to delete a sequence
/// </summary>
public class DeleteSequenceExpression : MigrationExpressionBase, ISchemaExpression
{
/// <inheritdoc />
... | C# | src/FluentMigrator.Abstractions/Expressions/DeleteSequenceExpression.cs | schambers/fluentmigrator | apache-2.0 | 978 | 34 | codeparrot/github-code |
d6822af9bb1f06fa7b77c401ecb0b1d3bebcbdae348eeec5812f4d53be12d341 | // ----------------------------------------------------------------------------------
//
// Copyright 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.apa... | C# | src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs | praveennet/azure-powershell | apache-2.0 | 23,372 | 563 | codeparrot/github-code |
8a36282f92c56ed9d671270beb9524e76076f13e20e84a36233370855a3e1b49 | /*
*
* * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.com)
* *
* * Licensed under the Apache License, Version 2.0 (the "License");
* * you may not use this file except in compliance with the License.
* * You may obtain a copy of the License at
* *
* * http://www.apache.org/... | Java | core/src/main/java/com/orientechnologies/orient/core/engine/local/OEngineLocalPaginated.java | sanyaade-g2g-repos/orientdb | apache-2.0 | 2,893 | 88 | codeparrot/github-code |
bf8618a80ec5c6c58d14e41abae5121fe038be0beb99bb3f1ce5ef0c7dbef006 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Java | exec/jdbc/src/test/java/org/apache/drill/jdbc/test/JdbcDataTest.java | parthchandra/incubator-drill | apache-2.0 | 19,946 | 485 | codeparrot/github-code |
2175d3ea1ae87923030526f79934f9e34cbede26532b7e865704e8c2f810d8c3 | """Sensor to collect the reference daily prices of electricity ('PVPC') in Spain."""
import logging
from random import randint
from typing import Optional
from aiopvpc import PVPCData
from homeassistant import config_entries
from homeassistant.const import CONF_NAME, ENERGY_KILO_WATT_HOUR
from homeassistant.core impo... | Python | homeassistant/components/pvpc_hourly_pricing/sensor.py | nkgilley/home-assistant | apache-2.0 | 5,337 | 157 | codeparrot/github-code |
cdfd503f6e224ec5565f7a1b586dd09b7d85b75cdde021f24845a60adb5ab714 | # Copyright 2015 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 applica... | Python | tensorflow/python/training/session_manager.py | tensorflow/tensorflow | apache-2.0 | 23,320 | 587 | codeparrot/github-code |
a8c3f4e287ab47ebba2cf4bc4ad6a1524f870822986adeac9bdce2cebfebed8e | /**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics.model.sabrcube;
import static com.opengamma.engine.value.ValueRequirementNames.SABR_SURFACES;
import com.opengamma.OpenGammaRuntimeExcepti... | Java | projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/model/sabrcube/SABRCMSSpreadNoExtrapolationYCNSFunction.java | jeorme/OG-Platform | apache-2.0 | 6,665 | 117 | codeparrot/github-code |
043d7766269380ab6b8266a1e98b76634a6c2baeb6ed8d264ae71c41d64012fc | /*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. 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/li... | Java | components/data-bridge/org.wso2.carbon.databridge.agent/src/main/java/org/wso2/carbon/databridge/agent/conf/DataEndpointConfiguration.java | keizer619/carbon-analytics-common | apache-2.0 | 3,842 | 143 | codeparrot/github-code |
966783b82605c8ce7afcbe9e64d0d93cc287d8d4eb2aa148d175cb517ce8d9cd | // This may look like C code, but it's really -*- C++ -*-
/*
* Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
*
* See the LICENSE file for terms of use.
*/
#ifndef WT_DBO_FIELD_IMPL_H_
#define WT_DBO_FIELD_IMPL_H_
#include <Wt/Dbo/Session>
#include <Wt/Dbo/Exception>
#include <Wt/Dbo/SqlStatement>
#include <Wt... | C | tools/wt-3.3.5-rc1/src/Wt/Dbo/Field_impl.h | sanathkumarv/RestAPIWt | apache-2.0 | 5,829 | 231 | codeparrot/github-code |
bd7d805d38127be9cdd68ac7475f51d757c3f7d238b742a08ab6bb9fad2e1c0a | /*
* Licensed to CRATE Technology GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* this file to you under the Apache License, Version 2.0 (the "License");
* you may not us... | Java | sql/src/test/java/io/crate/operation/reference/doc/IntegerColumnReferenceTest.java | gmrodrigues/crate | apache-2.0 | 3,042 | 78 | codeparrot/github-code |
0a39ea32b7e07fdaf5bcce6176d6608ad2a33878094ddb05b552a87e8f83cc5f | /*******************************************************************************
* 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 f... | Java | odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/BatchResponsePartImpl.java | apache/olingo-odata2 | apache-2.0 | 2,137 | 64 | codeparrot/github-code |
9b5020a2dd2f09b7e8e99fea1ba5cd235b914416990ca2b87b52bf231a462aac | /*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... | Java | geode-core/src/test/java/org/apache/geode/internal/cache/diskPerf/DiskRegOverflowSyncGetInMemPerfJUnitPerformanceTest.java | smanvi-pivotal/geode | apache-2.0 | 3,891 | 110 | codeparrot/github-code |
22af93fde59104bcc76d2bf0ff33dbf3e04c444046d0e3b48c8c68d9e81fda20 | /*
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 | libs/batik-1.7/contrib/rasterizertask/sources/org/apache/tools/ant/taskdefs/optional/RasterizerTaskSVGConverterController.java | stumoodie/PathwayEditor | apache-2.0 | 3,878 | 105 | codeparrot/github-code |
42a3aa5a93f651b277b94108619764f82ae20597a4a89a1d7f693316b5eec2f1 | // Copyright (c) 2018 PaddlePaddle 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 requir... | C | paddle/fluid/operators/math/blas_impl.cu.h | pkuyym/Paddle | apache-2.0 | 9,628 | 249 | codeparrot/github-code |
14ae3d39d1e9984e125f0842b33bb54fe9f680234fe31db35c00d67a1ced9e34 | /**
* @file
* Point To Point Protocol Sequential API module
*
*/
/*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of... | C | components/lwip/api/pppapi.c | jaracil/esp-idf | apache-2.0 | 10,470 | 372 | codeparrot/github-code |
3d6a5c55e8a357db578d0c25eec284d3020753ec4100bd16475ee060890491cc | /*
* Copyright 2019 Red Hat, Inc. and/or its affiliates.
*
* 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... | Java | kie-wb-common-dmn/kie-wb-common-dmn-client/src/test/java/org/kie/workbench/common/dmn/client/editors/expressions/types/function/supplementary/pmml/PMMLDocumentMetadataProviderTest.java | mbiarnes/kie-wb-common | apache-2.0 | 10,034 | 213 | codeparrot/github-code |
56de445ac444deedf4422be1101b84411ff5f1175b75a7ac68a01dfac7d15cf9 | package com.github.dockerjava.core.command;
import static com.google.common.base.Preconditions.checkNotNull;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import com.github.dockerjava.api.command.L... | Java | src/main/java/com/github/dockerjava/core/command/ListImagesCmdImpl.java | ollie314/docker-java | apache-2.0 | 2,238 | 84 | codeparrot/github-code |
1cca67673e51d6792caac2fe5a5a6f878c9c29168795fa4309d3aaec53b2f3eb | /*******************************************************************************
* Copyright (c) Intel Corporation
* Copyright (c) 2017
*
* 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
... | Java | osc-server/src/main/java/org/osc/core/broker/service/tasks/conformance/openstack/UploadImageToGlanceTask.java | emanoelxavier/osc-core | apache-2.0 | 4,272 | 99 | codeparrot/github-code |
ad906b55e29ec589cb16ed25d1590257aabe048a06d65088cfa0e0396e25c974 | /*
* Copyright 2016-present Open Networking Foundation
*
* 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 appli... | Java | drivers/default/src/test/java/org/onosproject/driver/extensions/NiciraTunGpeNpTest.java | gkatsikas/onos | apache-2.0 | 1,762 | 56 | codeparrot/github-code |
54b6ce3ca52b533e4b7c8f09501f9e6f68e4a1d03b0483046e9db7086c3f404e | /*
* 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/codeInsight/navigation/JavaGotoSuperHandler.java | goodwinnk/intellij-community | apache-2.0 | 5,139 | 115 | codeparrot/github-code |
9cab04b0609f43b6285947c54aa844fe8c9dff4618a2bc26c3bab8e3638b55b2 | package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.gmf.runtime.common.core.command.CommandResu... | Java | esb/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/edit/commands/MediatorFlow11CreateCommand.java | chanakaudaya/developer-studio | apache-2.0 | 2,841 | 87 | codeparrot/github-code |
c576fdb397749a64b6c30f1269e06d784efe4235f9bb9cc702c1cc205d3c2975 | package brooklyn.location.jclouds.pool;
import java.util.Map;
import org.jclouds.compute.domain.NodeMetadata;
import org.jclouds.compute.domain.Processor;
import org.jclouds.domain.Location;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.base.Predicate;
import com.google.common.bas... | Java | locations/jclouds/src/main/java/brooklyn/location/jclouds/pool/MachinePoolPredicates.java | bmwshop/brooklyn | apache-2.0 | 5,001 | 132 | codeparrot/github-code |
86e4324b5a250f911e439f96c6f7266fec6d5d194252bfda57f3ca8aaa1d43b1 | /**
* FreeRDP: A Remote Desktop Protocol Implementation
* X11 Video Redirection
*
* Copyright 2010-2011 Vic Lee
*
* 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.ap... | C | client/X11/xf_tsmf.c | 0359xiaodong/FreeRDP | apache-2.0 | 10,083 | 408 | codeparrot/github-code |
985cc2dbebcae0349ce3c13e4a2a705af87cd9c4ebaacf89d497b44a9e18ece5 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Java | testing/trino-server-dev/src/main/java/io/trino/server/DevelopmentLoaderConfig.java | electrum/presto | apache-2.0 | 2,534 | 83 | codeparrot/github-code |
78dd1fa4806a670332687f90650e8f46feb42b987f0d693bbf956a1486c7354d | /**
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in co... | Java | uportal-war/src/main/java/org/jasig/portal/portlets/statistics/PortletMoveStatisticsController.java | pspaude/uPortal | apache-2.0 | 2,682 | 69 | codeparrot/github-code |
007d86fbace66e0ab5240a49a1ff40d58c68dcd4168f3876eab598c035bc6160 | //
// CAEmitterBehavior+TFEasyCoder.h
// TFEasyCoder
//
// Created by ztf on 16/10/26.
// Copyright © 2016年 ztf. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import "TFEasyCoderConst.h"
typedef void(^CAEmitterBehaviorEasyCoderBlock) (CAEmitterBehavior * ins);
@interface CAEm... | C | demo-转场动画/demo-转场动画/TFEasyCoder/ca/CAEmitterBehavior+TFEasyCoder.h | shmxybfq/TFDemos | apache-2.0 | 1,971 | 50 | codeparrot/github-code |
983762db897b9cd7efdc8e2abc1e89aff9f5c63457c1b56476104e6d0a36451b | <!DOCTYPE html>
<html>
<head>
<title>sidebar-v2 example</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" h... | HTML | wsgi/static/leaflet-sidebar-v2/examples/index.html | sethmbaker/fewsn-web | apache-2.0 | 5,925 | 101 | codeparrot/github-code |
f6f887580d6ca13dfdf88c708e91fdafc0a5f0779ad8cfb25e92ebed71dcca39 | #!/usr/bin/env python
# example checkbutton.py
import pygtk
pygtk.require('2.0')
import gtk
class CheckButton:
# Our callback.
# The data passed to this method is printed to stdout
def callback(self, widget, data=None):
print "%s was toggled %s" % (data, ("OFF", "ON")[widget.get_active()])
#... | Python | pygtkweb/demos/checkbutton.py | spaceone/pyjs | apache-2.0 | 2,231 | 86 | codeparrot/github-code |
e0279ff20d1c38a011189377924f5ca8d8a8dcdd475db3aa98229d0dfe2b2f4c | /*
* 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 t... | Java | engine/src/main/java/org/terasology/entitySystem/prefab/internal/PojoPrefab.java | immortius/Terasology | apache-2.0 | 2,855 | 102 | codeparrot/github-code |
fdad2a58b887a8344c8269b47b0dad8d014e026802ba9ff67efbd9d7f0f19932 | /*
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in com... | Java | cas-server-core/src/main/java/org/jasig/cas/services/jmx/AbstractServicesManagerMBean.java | briandwyer/cas-hudson | apache-2.0 | 3,919 | 99 | codeparrot/github-code |
c58efe701647d5fd951f4d539b66d7371682530e3440034e07833e3864e78f78 | // This file was procedurally generated from the following sources:
// - src/dstr-binding/obj-ptrn-id-init-skipped.case
// - src/dstr-binding/default/cls-decl-async-gen-meth-dflt.template
/*---
description: Destructuring initializer is not evaluated when value is not `undefined` (class expression async generator method... | JavaScript | Jint.Tests.Test262/test/language/statements/class/dstr-async-gen-meth-dflt-obj-ptrn-id-init-skipped.js | sebastienros/jint | bsd-2-clause | 2,395 | 72 | codeparrot/github-code |
e1e1d9286858423b270a4902b0cc7bfc0933f298fce820bba40809221626088d | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>MPI_Ibsend</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<A NAME="MPI_Ibsend"><H1>MPI_Ibsend</H1></A>
Starts a nonblocking buffered send
<H2>Synopsis</H2>
<PRE>
int MPI_Ibsend(void *buf, int count, MPI_Datatype dat... | HTML | java/resources/linux64_gnu/share/doc/www3/MPI_Ibsend.html | hydrosolutions/model_RRMDA_Themi | bsd-2-clause | 3,899 | 93 | codeparrot/github-code |
d7de7e8a7c772a888192975c482b3b1c89fae3f50659e01fc0dfeb90144337ed | /*
* Copyright (c) 2005 Topspin Communications. All rights reserved.
* Copyright (c) 2005 Mellanox Technologies Ltd. All rights reserved.
* Copyright (c) 2006 Cisco Systems. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under ... | C | head/contrib/ofed/libmthca/src/cq.c | dplbsd/soc2013 | bsd-2-clause | 16,469 | 634 | codeparrot/github-code |
04bd5458520ec6758fe7206644aa3b470af99bf562ef59db870d47d13682ebda | {-# LANGUAGE OverloadedStrings, TupleSections #-}
-- | Parser components for the ROS message description language (@msg@
-- files). See http://wiki.ros.org/msg for reference.
module Parse (parseMsg, parseSrv, simpleFieldAssoc) where
import Prelude hiding (takeWhile)
import Control.Applicative
import Control.Arrow ((&&&... | Haskell | src/executable/Parse.hs | bitemyapp/roshask | bsd-3-clause | 7,585 | 182 | codeparrot/github-code |
51b2b2d732ab0210855bb56f1514f508f266dcaa65cb10d073387ced88ab44c2 | /* -----------------------------------------------------------------------------
*
* (c) The GHC Team, 1998-2005
*
* Statistics and timing-related functions.
*
* ---------------------------------------------------------------------------*/
#ifndef STATS_H
#define STATS_H
#include "GetTime.h"
#include "BeginPri... | C | rts/Stats.h | snoyberg/ghc | bsd-3-clause | 1,762 | 70 | codeparrot/github-code |
608320eabd59c205dd2a8ed63ab6125fb1f1c03f1af63ea03a29ff96f4712c03 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/sync_file_system/local/local_file_sync_context.h"
#include <vector>
#include "base/bind.h"
#include "base/bind_helpers.h"
#incl... | C++ | chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc | ondra-novak/chromium.src | bsd-3-clause | 38,460 | 960 | codeparrot/github-code |
c8b390babf0a5cbcb6226927fd7b85386c8a060252b5bd2e75a0111773a89829 | /*!
* jQuery twitter bootstrap wizard plugin
* Examples and documentation at: http://github.com/VinceG/twitter-bootstrap-wizard
* version 1.0
* Requires jQuery v1.3.2 or later
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.ht... | JavaScript | web/booster-install/assets/js/jquery.bootstrap.wizard.js | flesch91/uaweb-work.github.com | bsd-3-clause | 7,891 | 217 | codeparrot/github-code |
d61855a62cb35fe4a64deb39508751a23af8696afaabf627255d8c7622f264f6 | /*
* Copyright (c) 2002-2015, the original author or authors.
*
* This software is distributable under the BSD license. See the terms of the
* BSD license in the documentation provided with this software.
*
* http://www.opensource.org/licenses/bsd-license.php
*/
package jline.internal;
import java.util.ArrayLis... | Java | src/main/java/jline/internal/ShutdownHooks.java | kaulkie/jline2 | bsd-3-clause | 3,503 | 128 | codeparrot/github-code |
b1b1a10bb947fe45b0a421de0277ad2586979e837af1aaea91ffde0f1e36f871 | // 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_SHADER_TRANSLATOR_H_
#define GPU_COMMAND_BUFFER_SERVICE_SHADER_TRANSLATOR_H_
#include <string>
#include "base/bas... | C | gpu/command_buffer/service/shader_translator.h | hujiajie/pa-chromium | bsd-3-clause | 5,188 | 170 | codeparrot/github-code |
044aabc3d7b97e9a4dc40e09e44373c182995e7d10b0913093526808cdcb5ddb | package scala.lms
package internal
import util.GraphUtil
import scala.collection.mutable
import java.util.IdentityHashMap
import scala.collection.JavaConversions._
trait Scheduling {
val IR: Expressions
import IR._
def getUnsortedSchedule(scope: List[Stm])(result: Any): List[Stm] = {
getSchedule(scope)(res... | Scala | src/internal/Scheduling.scala | astojanov/virtualization-lms-core | bsd-3-clause | 7,393 | 217 | codeparrot/github-code |
ce848f6a593e37fdbf9a3bf064a7ac4b7fa4adb2019b9aa208be87b314ee2540 | // t0288.cc
// "ambiguous function template instantiation"
// 2005-08-03: This appears to be fixed by the switch to
// the new mtype module.
namespace std
{
template < class _CharT > struct char_traits;
}
typedef int ptrdiff_t;
extern "C"
{
typedef struct __locale_struct
{
}
*__locale_t;
};
typedef struct ... | C++ | trunk/elsa/elsa/in/t0288.cc | BackupTheBerlios/codemorpher-svn | bsd-3-clause | 1,589 | 72 | codeparrot/github-code |
fb54d6bf9710f4db2bdae317bb321ddab2deccae203c9f5caa66e11296b7f809 | /*
Copyright (c) 2014, Intel Corporation
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 list of conditions and the following disclaime... | C++ | device/cpu/core/layer_normalization_avx2.cpp | MatrixPlayer/idlf | bsd-3-clause | 63,958 | 1,337 | codeparrot/github-code |
4aa43c60aabf1bb4722bd06bb7ff0bac0447b7a3514943b275e611a8a1523c7c | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BLIMP_NET_INPUT_MESSAGE_GENERATOR_H_
#define BLIMP_NET_INPUT_MESSAGE_GENERATOR_H_
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#i... | C | blimp/net/input_message_generator.h | js0701/chromium-crosswalk | bsd-3-clause | 1,342 | 44 | codeparrot/github-code |
89c0e8e437989263d6872f2af2ad04b5fef2dcebbc44982ab07e55878c00cfc6 | /*
* Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, t... | C | third_party/WebKit/Source/core/input/EventHandler.h | js0701/chromium-crosswalk | bsd-3-clause | 21,034 | 475 | codeparrot/github-code |
6a9bbd16821876cf689934f4cb2226b9f268d440118c2295bcd47156403a7855 | /* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2010, Ajax.org B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of sou... | JavaScript | textarea/src/mode-ruby.js | kang/ace-builds | bsd-3-clause | 17,646 | 445 | codeparrot/github-code |
3731ddff6f60dbb7a61d0799260c07e989aa9e902b549962a5d4fd6ef84198b8 | // 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.
//
// Currently this file is only used for the uninstall prompt. The install prompt
// code is in extension_install_prompt2_gtk.cc.
#include "chrome/b... | C++ | chrome/browser/ui/gtk/extensions/extension_uninstall_dialog_gtk.cc | junmin-zhu/chromium-rivertrail | bsd-3-clause | 4,153 | 127 | codeparrot/github-code |
d161b1fb59b6d7199f3ba37bcf1303909f56213143bcbaae8b65da12eb848c25 | // 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.
#import <Cocoa/Cocoa.h>
#include "base/callback.h"
#include "remoting/host/disconnect_window.h"
namespace remoting {
class ChromotingHost;
}
// Con... | C | remoting/host/disconnect_window_mac.h | leighpauls/k2cro4 | bsd-3-clause | 1,242 | 41 | codeparrot/github-code |
0418645bfa3590f55a1bcb1c1c58b7e122c299f5adcca1af6f8ea48667cc7bbd | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "build/build_config.h"
#include "components/nacl/common/nacl_types.h"
#include "ipc/ipc_platform_file.h"
namespace nacl {
NaClStartParams::NaCl... | C++ | components/nacl/common/nacl_types.cc | hujiajie/chromium-crosswalk | bsd-3-clause | 3,616 | 116 | codeparrot/github-code |
36a84f9051e409e089d8789070ee654b37c2b8d84188030cf1dd47afdd1aa6d1 | // Copyright (c) 2006, Google Inc.
// 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 list of conditi... | C++ | base/third_party/symbolize/symbolize.cc | chromium/chromium | bsd-3-clause | 32,173 | 962 | codeparrot/github-code |
82b9e49daaf224d49843713956a7f311dffd71fe4932aff41eb0247afb31a2db | /*
* Copyright (C) 2010, Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condition... | C | third_party/blink/renderer/modules/webaudio/deferred_task_handler.h | chromium/chromium | bsd-3-clause | 12,181 | 295 | codeparrot/github-code |
222814034bbd3518840ceac44b3cf61c31d2597fd69020d71cbeedcb9692a5cf | // Copyright 2021 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 CHROMEOS_SERVICES_LIBASSISTANT_GRPC_UTILS_TIMER_UTILS_H_
#define CHROMEOS_SERVICES_LIBASSISTANT_GRPC_UTILS_TIMER_UTILS_H_
#include "chromeos/assi... | C | chromium/chromeos/services/libassistant/grpc/utils/timer_utils.h | ric2b/Vivaldi-browser | bsd-3-clause | 1,720 | 50 | codeparrot/github-code |
a4a6717a0c3f63fd4b140242dcf80f4721c61a5e817b19a3e637dfe85bb306a3 | /**
* Copyright (c) 2014-present, The osquery authors
*
* This source code is licensed as defined by the LICENSE file found in the
* root directory of this source tree.
*
* SPDX-License-Identifier: (Apache-2.0 OR GPL-2.0-only)
*/
#include <string>
#include <boost/filesystem.hpp>
#include <boost/optional.hpp>
... | C++ | osquery/sql/sqlite_filesystem.cpp | lwhsu/osquery | bsd-3-clause | 6,498 | 213 | codeparrot/github-code |
07546664ba52adb3f1f1801426205dc975af237dd5f37a88e19e515d5002f269 | #region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
namespace Kooboo.CMS.Common.Runtime.Mvc
{
public class Mv... | C# | Kooboo.CMS/Kooboo.CMS.Common/Runtime/Mvc/MvcDependencyAttributeFilterProvider.cs | lingxyd/CMS | bsd-3-clause | 2,290 | 69 | codeparrot/github-code |
8039996c3d1b6d648ddf3b4dcd22f52b17c18b93d267e8ac9a71efe9853f1f88 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Fscc
{
/// <summary>
/// the response packet of FSCTL_PIPE_TRANSCEIVE
///... | C# | ProtoSDK/MS-FSCC/Messages/FsccFsctlPipeTransceiveResponsePacket.cs | dongruiqing/WindowsProtocolTestSuites | mit | 2,384 | 92 | codeparrot/github-code |
0a42c0dba4cc593f03572e5a89869cf3988d32d42435cdaa48a5f4e6abf8c097 | <?php
namespace Kunstmaan\NodeBundle\Twig;
use Kunstmaan\NodeBundle\Helper\URLHelper;
class UrlReplaceTwigExtension extends \Twig_Extension
{
/**
* @var URLHelper
*/
private $urlHelper;
/**
* @param URLHelper $urlHelper
*/
public function __construct(URLHelper $urlHelper)
{
... | PHP | src/Kunstmaan/NodeBundle/Twig/UrlReplaceTwigExtension.php | webtown-php/KunstmaanBundlesCMS | mit | 664 | 38 | codeparrot/github-code |
cda1cd117091dc5ac0a4229baa72208e5ee17c4fa0421fb37d030ddf5d75b0d8 | /* libunwind - a platform-independent unwind library
Copyright (C) 2008 CodeSourcery
Copyright 2011 Linaro Limited
This file is part of libunwind.
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 Sof... | C | src/arm/Gstep.c | adsharma/libunwind | mit | 8,679 | 265 | codeparrot/github-code |
3051911d9688d0029d0dd923ce2199d2e0eacd8d085528444a75fadc7c2e1da6 | #!/bin/bash
FN="pd.atdschip.tiling_0.32.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.14/data/experiment/src/contrib/pd.atdschip.tiling_0.32.0.tar.gz"
"https://bioarchive.galaxyproject.org/pd.atdschip.tiling_0.32.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-pd.atdschip.tiling/bioconduc... | Shell | recipes/bioconductor-pd.atdschip.tiling/post-link.sh | cokelaer/bioconda-recipes | mit | 1,342 | 47 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.