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 |
|---|---|---|---|---|---|---|---|---|
1acabc66bd7028791b16baaad49061dcee84c70a0c638c809cc1eb5eb86ecb63 | ##########################################################################
#
# Copyright (c) 2010-2013, Image Engine Design 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:
#
# * Redis... | Python | test/IECoreRI/DspyTest.py | lento/cortex | bsd-3-clause | 4,126 | 126 | codeparrot/github-code |
3af0df54b3d7375abeea19332b06fda590251b2a7c3cd753019b7801d95b27e4 | #!/usr/bin/env python
# This file provided by Facebook is for non-commercial testing and evaluation
# purposes only. Facebook reserves all rights not expressly granted.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL... | Python | run_comparison.py | kaoree/fresco | bsd-3-clause | 7,775 | 245 | codeparrot/github-code |
8b3c359bceef1b53cf0eb53c6ecc4e589b0822b546dbb7a5ae944007e7628ecd | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/quic/crypto/aead_base_encrypter.h"
#include <openssl/err.h>
#include <openssl/evp.h>
#include <string.h>
#include "base/memory/scoped_... | C++ | net/quic/crypto/aead_base_encrypter_openssl.cc | js0701/chromium-crosswalk | bsd-3-clause | 4,850 | 159 | codeparrot/github-code |
a800ed18dbc727a5f7482531a0dfe4f23929a749d5f4a7ead41b79573189cd44 | // Boost.Units - A C++ library for zero-overhead dimensional analysis and
// unit/quantity manipulation and conversion
//
// Copyright (C) 2003-2008 Matthias Christian Schabel
// Copyright (C) 2007-2008 Steven Watanabe
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1... | C++ | src/boost/units/base_dimension.hpp | cpmech/vismatrix | bsd-3-clause | 3,037 | 94 | codeparrot/github-code |
2df95e599fa9a664af587ef45c90607a776138159dc268f363b630bf7d59adc4 | //===----------------------------------------------------------------------===//
//
// 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/containers/sequences/deque/deque.cons/op_equal_initializer_list.pass.cpp | endlessm/chromium-browser | bsd-3-clause | 968 | 44 | codeparrot/github-code |
9de0c91dce8c6dc28f64f0c4f91ad51cf6f1087cfb9ac9a772f7bb2b101e59ec | // Copyright 2017 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 BASE_WIN_COM_INIT_CHECK_HOOK_H_
#define BASE_WIN_COM_INIT_CHECK_HOOK_H_
#include "base/base_export.h"
#include "base/check_op.h"
#include "build/... | C | chromium/base/win/com_init_check_hook.h | ric2b/Vivaldi-browser | bsd-3-clause | 1,802 | 56 | codeparrot/github-code |
4de5cbdd73740588a6951599980a16e40fc524fd8ef1ea8849dfd33b49e00730 | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* Licens... | C | third_party/WebKit/Source/core/html/HTMLEmbedElement.h | mxOBS/deb-pkg_trusty_chromium-browser | bsd-3-clause | 2,266 | 62 | codeparrot/github-code |
20759bd2784ccb86b313a6d572f203bac2f7a17d68d44ba7b9e5ce2f454c8b35 | /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* GIO - GLib Input, Output and Streaming Library
*
* Copyright (C) 2006-2007 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by ... | C | pkgs/libs/glib/src/gio/glocalfileinfo.c | bamos/parsec-benchmark | bsd-3-clause | 63,746 | 2,424 | codeparrot/github-code |
8c4bf53daedd9208ea5fda58644fd3f2550b2416de7577444b2e745ad4fddce8 | /* eslint max-len: 0 */
import React from 'react';
import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table';
const products = [];
const qualityType = {
0: 'good',
1: 'bad',
2: 'unknown'
};
const inStockStatus = {
1: 'yes',
2: 'no'
};
function addProducts(quantity) {
const startId = prod... | JavaScript | examples/js/column-format/extra-data-column-format-table.js | prajapati-parth/react-bootstrap-table | mit | 1,261 | 49 | codeparrot/github-code |
34f5a331740137ff173f68d1fec6e91bddecc64f37de7c8e9fced05c45583d24 | LDAP Group Synchronization
==========================
Requirements
------------
- Have LDAP authentication properly configured
- Use a LDAP server that supports `memberOf`
Define automatically user roles based on LDAP groups
----------------------------------------------------
Use these constants in your config fil... | Markdown | doc/ldap-group-sync.markdown | julesverhaeren/kanboard | mit | 2,432 | 59 | codeparrot/github-code |
2355f4eb5ee803deeddee9719323d9828458da56f5bfebbc5e49b382abede137 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Microsoft.Azure.Amqp;
using Microsoft.Azure.Amqp.Framing;
namespace Azure.Messaging.ServiceBus.Amqp.Framing
{
internal sealed class AmqpRuleDescriptionCodec : DescribedList
{
public con... | C# | sdk/servicebus/Azure.Messaging.ServiceBus/src/Amqp/Framing/AmqpRuleDescriptionCodec.cs | ayeletshpigelman/azure-sdk-for-net | mit | 2,059 | 68 | codeparrot/github-code |
c05cb9b1e0a472908020a754cf26bbad0af68b35a3be0f7f6bf2100c4dc9f536 | /* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* righ... | C | plugins/languageAPI/jsAPI/3rdParty/nodejs/10.1.0/source/deps/uv/src/threadpool.c | MTASZTAKI/ApertusVR | mit | 7,342 | 319 | codeparrot/github-code |
47b0d6c9a41dacec6478410b77a36aa7a5c3c9c5314a951deb02f7c1fad189bf | // ==========================================================================
// SeqAn - The Library for Sequence Analysis
// ==========================================================================
// Copyright (c) 2006-2012, Knut Reinert, FU Berlin
// All rights reserved.
//
// Redistribution and us... | C | raw/workshop12/workshop2012-data-20120906/trunk/core/include/seqan/basic/math_functions.h | bkahlert/seqan-research | mit | 6,848 | 205 | codeparrot/github-code |
c193e266f0c015b5ad971405b3793b82fc32c34813efc88b13f57222c43a28e1 | /* rng/knuthran2002.c
*
* Copyright (C) 2007 Brian Gough
* Copyright (C) 2001 Brian Gough, Carlo Perassi
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Licens... | C | src/gpdream/modules/Merlin/gsl-1.9/rng/knuthran2002.c | kevintee/Predicting-Gene-Networks | mit | 4,882 | 190 | codeparrot/github-code |
2f9064403cd19ae0ae2e5fdde6de1656af979e2a095edc3be12adfa23c75e322 | #ifndef BOOST_ARCHIVE_ITERATORS_BINARY_FROM_BASE64_HPP
#define BOOST_ARCHIVE_ITERATORS_BINARY_FROM_BASE64_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// binary_from... | C++ | vegastrike/boost/1_35/boost/archive/iterators/binary_from_base64.hpp | Ezeer/VegaStrike_win32FR | mit | 3,949 | 121 | codeparrot/github-code |
875a49935377dabafa1d293c894a4cd2f6642be2ed2d57c9cd60a2262a65156c | /*!
* Copyright (c) 2017 NAVER Corp.
* @egjs/infinitegrid project is licensed under the MIT license
*
* @egjs/infinitegrid JavaScript library
* https://github.com/naver/egjs-infinitegrid
*
* @version 3.3.2
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && ... | JavaScript | ajax/libs/egjs-infinitegrid/3.3.2/parallax.js | sashberd/cdnjs | mit | 22,388 | 701 | codeparrot/github-code |
99f4eadd94ab010f04550321c8f20bd77ea2700d012d5b5f79786007f8781c2e | package com.zzt.inboxlayout.activity;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.View;
import android.widget.LinearLayout;
import com.zzt.inbox.interfaces.OnDragStateChangeListener;
import com.zzt.inbox.widget.InboxLay... | Java | app/src/main/java/com/zzt/inboxlayout/activity/ScrollViewActivity.java | samirgoel3/InboxLayout | mit | 3,827 | 102 | codeparrot/github-code |
9e53ba3f6ca584289ea2c7f69e28561b0173e496da9060c21520deda5660095f | /*!
* remark (http://getbootstrapadmin.com/remark)
* Copyright 2016 amazingsurge
* Licensed under the Themeforest Standard Licenses
*/
(function(document, window, $) {
'use strict';
var Site = window.Site;
$(document).ready(function($) {
Site.extend({
run: function() {
$('#icon_change').as... | JavaScript | web/assets/examples/js/uikit/icon.js | oumarxy/BOPARK | mit | 1,231 | 47 | codeparrot/github-code |
76adbc801402d24133b5dbc8f71e7a6e2d27b00829f0cc7a5a3b00aece5c3c21 | using System;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
namespace Headspring
{
[Serializable]
[DebuggerDisplay("{DisplayName} - {Value}")]
public abstract class Enumeration<TEnumeration> : Enumeration<TEnumeration, int>
where TEnumeration : Enumeration<TEnumeration>
... | C# | src/ZBuildLights.Core/Headspring/Enumeration.cs | mhinze/ZBuildLights | mit | 4,375 | 146 | codeparrot/github-code |
35274f802467b2a9eb52a008b962b5e7aa0ff7ab0d4c71ed5967ae588287e32c | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2021 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <fs.h>
#include <logging.h>
#include <util/threadnames.h>
#include <util... | C++ | src/logging.cpp | bitcoin/bitcoin | mit | 10,217 | 338 | codeparrot/github-code |
5846c85e3c2219de7e6c45ef83d62d6d2f3b981389d5c53dd22b3b3005feb21f | <?php
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.2.4 or newer
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of th... | PHP | system/helpers/smiley_helper.php | MKelm/ulife | mit | 6,934 | 257 | codeparrot/github-code |
b00163ad9ec6680c218625a9219a3069c3850aec12f92b593cbe287e49ae86e3 | /* global define */
(function() {
'use strict';
define(['lodash', 'helpers/pool-helpers', 'helpers/modal-helpers', 'helpers/error-helpers'], function(_, PoolHelpers, ModalHelpers, ErrorHelpers) {
// **PoolModifyController**
// Responsible for editing existing Pools.
var PoolModifyContro... | JavaScript | manage/app/scripts/controllers/pool-modify.js | SUSE/romana | mit | 6,533 | 150 | codeparrot/github-code |
13bccf744a48da9d40fdad08007350f8c483ae1b75854f5e8e58917d3f30e5da | 'use strict';
/*globals eio*/
/**
* Minimum viable Engine.IO client. This function is stringified and added in
* our client-side library.
*
* @runat client
* @api private
*/
module.exports = function client() {
var onmessage = this.trigger('incoming::data')
, onerror = this.trigger('incoming::error')
,... | JavaScript | transformers/engine.io/client.js | modulexcite/primus | mit | 3,562 | 130 | codeparrot/github-code |
678a3d621dba140c4395004cd42c69be1bbfcc88dbe3d481926a1275b1c395b5 | using System;
using System.Threading;
#if SystemReactive
namespace System.Reactive.Linq
#else
namespace UniRx.Operators
#endif
{
public abstract class OperatorObserverBase<TSource, TResult> : IDisposable, IObserver<TSource>
{
protected internal volatile IObserver<TResult> observer;
IDisposable... | C# | Assets/Plugins/UniRx/Scripts/Operators/OperatorObserverBase.cs | saruiwa/UniRx | mit | 970 | 37 | codeparrot/github-code |
e38ef9363925a3542de7923e62672625a3a3771f3eb81e4bf2ed601350df4c2a | /*
* A swapon(8)/swapoff(8) for Linux 0.99.
*/
#include <stdlib.h>
#include <stdio.h>
#include <getopt.h>
#include <string.h>
#include <mntent.h>
#include <errno.h>
#include <sys/stat.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <stdint.h>
#include <ctype.h>
#includ... | C | util-linux/util-linux-2.21.2/sys-utils/swapon.c | imx6uldev/depedency_tools | mit | 19,876 | 879 | codeparrot/github-code |
327515f35a1b293c023f6d2bf4680a47cf4fda714783fd9a35ec5fd59cb7062f | /**
* Copyright (c) 2010-2019 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | Java | bundles/org.openhab.binding.ihc/src/test/java/org/openhab/binding/ihc/internal/converters/UpDownTypeWSBooleanValueConverterTest.java | Snickermicker/openhab2 | epl-1.0 | 3,930 | 97 | codeparrot/github-code |
78b32407edd4e073ddfaecdf6076e5d10c24ed903a745b3bbef3b096c378548c | /*******************************************************************************
* Copyright (c) 2012-2016 Codenvy, S.A.
* 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 ... | Java | core/che-core-api-dto/src/main/java/org/eclipse/che/dto/server/JsonArrayImpl.java | slemeur/che | epl-1.0 | 3,771 | 167 | codeparrot/github-code |
c95385f20a063c4a0c0c2b2c3e5e8e99bd252897b43210c5a0ba83ecfc64d8ea | <?php
/**
* Openpay API v1 Client for PHP (version 1.0.0)
*
* Copyright © Openpay SAPI de C.V. All rights reserved.
* http://www.openpay.mx/
* soporte@openpay.mx
*/
class OpenpayApiError extends Exception {
protected $description;
protected $error_code;
protected $category;
protected $http_code;
protected... | PHP | wp-content/plugins/woocommerce-openpay/lib/data/OpenpayApiError.php | estrategasdigitales/onisuzume | gpl-2.0 | 1,468 | 56 | codeparrot/github-code |
854de4934c19d7e19d2c5518ad0321b3a6a169b3c67e8c04fef2f41b3ddcad4b | /*
* Routines for driver control interface
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License,... | C | sound/core/control.c | eoghan2t9/android_kernel_asus_moorefield | gpl-2.0 | 46,886 | 1,783 | codeparrot/github-code |
18112f821ec56cf1b4b80785fae4e3ba03b56ede15a577956d3cca080f9eb8b9 | /*
This file is part of Cyclos (www.cyclos.org).
A project of the Social Trade Organisation (www.socialtrade.org).
Cyclos is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of th... | Java | src/nl/strohalm/cyclos/controls/accounts/cards/SearchCardsAction.java | robertoandrade/cyclos | gpl-2.0 | 10,289 | 258 | codeparrot/github-code |
c35b018c7f69445839615cfce8d0c23c816d78ca9f6082a1bbe5f80fed308b84 | /****************************************************************************
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2011 Zynga Inc.
Copyright (c) 2013-2017 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge,... | C++ | src/Cocos2d-x/Colby/cocos2d/cocos/2d/CCActionInstant.cpp | soniyj/basement | gpl-2.0 | 11,688 | 634 | codeparrot/github-code |
ba624899f1011176d39d31b8c14b80abba3e0d04dabff44b10ad07c977ce85da | using System;
using Server;
namespace Server.Items
{
public class DivineCountenance : HornedTribalMask
{
public override int LabelNumber{ get{ return 1061289; } } // Divine Countenance
public override int ArtifactRarity{ get{ return 11; } }
public override int BasePhysicalResistance{ get{ return 8; } }
pub... | C# | Scripts/Items/Clothing/Artifacts/DivineCountenance.cs | jackuoll/Pre-AOS-RunUO | gpl-2.0 | 1,331 | 61 | codeparrot/github-code |
1afb5c50cb8ff6515c79b550d82d507b77478869fb91ce0f701e49766275dfab | # -*- coding: utf-8 -*-
"""
jinja.tests
~~~~~~~~~~~
Jinja test functions. Used with the "is" operator.
:copyright: 2007 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
import re
number_re = re.compile(r'^-?\d+(\.\d+)?$')
regex_type = type(number_re)
def test_odd():
"""
... | Python | lib/jinja/tests.py | pambot/SMSBeds | gpl-2.0 | 3,403 | 144 | codeparrot/github-code |
cd9b94be32413bf79d9ab84dd141f819ccfbb2964dac36f447127468dfbaee6e | /* ===================================================
* bootstrap-tagmanager.js v2.4.2
* http://welldonethings.com/tags/manager
* ===================================================
* Copyright 2012 Max Favilli
*
* Licensed under the Mozilla Public License, Version 2.0 You may not use this work except in complia... | JavaScript | wp-content/themes/minyawns/js/tagmanager-master/bootstrap-tagmanager.js | ajency/minyawns | gpl-2.0 | 18,033 | 555 | codeparrot/github-code |
c61d4578de42ae101ea1b8cc3e47e0f4c114b3f17c04905337bce9453dc6d37d | using MediaBrowser.Controller.Dto;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.Net;
using MediaBrowser.Controller.Persistence;
using MediaBrowser.Model.Dto;
using ServiceStack;
using System.Collections.Generic;
using System.Linq;
namespace MediaBrowser.... | C# | MediaBrowser.Api/UserLibrary/YearsService.cs | softworkz/Emby | gpl-2.0 | 3,898 | 116 | codeparrot/github-code |
b9b6d1ae36ab0fe51e600e6d9fe436227b503082a59abb9d528300383558b303 | /*
* This file is part of the coreinfo project.
*
* Copyright (C) 2008 Uwe Hermann <uwe@hermann-uwe.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* T... | C | payloads/coreinfo/bootlog_module.c | BTDC/coreboot | gpl-2.0 | 3,033 | 144 | codeparrot/github-code |
bb89a10b723767a34aafac4810b67459135b5c3af9f3680a5af6a0633e7aee0e | /*
* rmm.c
*
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
*
* Copyright (C) 2005-2006 Texas Instruments, Inc.
*
* This package 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 Found... | C | drivers/staging/tidspbridge/rmgr/rmm.c | holyangel/LGE_G3 | gpl-2.0 | 11,175 | 457 | codeparrot/github-code |
18a2da32d971de335775fdf7fc62444d47fba698d6c6e435e3c251bc8feb00a0 | /*
* Copyright (C) ST-Ericsson AP Pte Ltd 2010
*
* ISP1763 Linux OTG Controller driver : host
*
* This program is free software; you can redistribute it and/or modify it under the terms of
* the GNU General Public License as published by the Free Software Foundation; version
* 2 of the License.
*
* This program ... | C | drivers/usb/host/pehci/host/itdptd.c | holyangel/LGE_G3 | gpl-2.0 | 63,195 | 2,157 | codeparrot/github-code |
364fd63466328deb7d59b3a73a792ee881f2fac3bcb7579cefced222d4391975 | // Project64 - A Nintendo 64 emulator
// http://www.pj64-emu.com/
// Copyright(C) 2001-2021 Project64
// Copyright(C) 2003-2009 Sergey 'Gonetz' Lipski
// Copyright(C) 2002 Dave2001
// GNU/GPLv2 licensed: https://gnu.org/licenses/gpl-2.0.html
#include "Gfx_1.3.h"
#include "rdp.h"
#include "DepthBufferRender.h"
... | C++ | Source/Project64-video/DepthBufferRender.cpp | project64/project64 | gpl-2.0 | 7,487 | 270 | codeparrot/github-code |
db102732563a47b2f21000ab272293c7dfdf91c92b67fea431ad1742a86fb7ca | /********************************************************************
* testmain.c: GLib g_test test execution file. *
* Copyright 2011 John Ralls <jralls@ceridwen.us> *
* *
* This program is free software; you can redistribute it and/or ... | C | libgnucash/engine/test/test-qof.c | codesmythe/gnucash | gpl-2.0 | 2,284 | 56 | codeparrot/github-code |
ef561d5a01685a9d19bb7a3fe3157bfa194980a99f504dce4d2154efb53add27 | /*****************************************************************************
*
* Filename:
* ---------
* ccci_md.c
*
* Project:
* --------
* ALPS
*
* Description:
* ------------
* MT65XX MD initialization and handshake driver
*
*
*******************************************************************... | C | mediatek/kernel/drivers/dual_ccci/ccci_md_main.c | jawad6233/Lenovo_A820_kernel_kk | gpl-2.0 | 79,843 | 2,562 | codeparrot/github-code |
3e98549277981d1dad0efdb1a4d6da383b795243be165051f9b66832f92a208c | /*
* Copyright (c) 2005-2008 Chelsio, Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this source ... | C | drivers/net/ethernet/chelsio/cxgb3/vsc8211.c | aicjofs/android_kernel_lge_v500 | gpl-2.0 | 11,674 | 417 | codeparrot/github-code |
41acfe94679e8aaaf2b9d760fba0ea783a8b9cd599bf2fb31af23a09b894b736 | /******************************************************************************
*
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No represen... | C | src/sortdict.h | groleo/doxygen | gpl-2.0 | 18,268 | 735 | codeparrot/github-code |
fb83bf0ece0f2fb74c523b6af6f9fb0e59ae784d7fb5f1cf7a7c4d5af48d0dbb | // Hooks for via vgabios calls into main bios.
//
// Copyright (C) 2008 Kevin O'Connor <kevin@koconnor.net>
//
// This file may be distributed under the terms of the GNU LGPLv3 license.
#include "bregs.h" // set_code_invalid
#include "biosvar.h" // GET_GLOBAL
#include "pci.h" // pci_find_device
#include "pci_regs.h" ... | C | roms/seabios/src/vgahooks.c | podinx/PQEMU | gpl-2.0 | 7,392 | 318 | codeparrot/github-code |
c1f764ee2d02e6cc67711d9f146d45415aed8ce898f7d59556a592ca3dbcf374 | <?php
/**
* This file contains the contents of the Dropbox admin monitor page.
*
* @copyright Copyright (C) 2011-2012 Michael De Wildt. All rights reserved.
* @author Michael De Wildt (http://www.mikeyd.com.au/)
* @license This program is free software; you can redistribute it and/or modify
* it under th... | PHP | wp-content/plugins/wordpress-backup-to-dropbox/Views/wp-backup-to-dropbox-monitor.php | m4rcopollo/ele-wp | gpl-2.0 | 3,420 | 88 | codeparrot/github-code |
20f511e80bcd96b1e4f6cd1811e10f4002c61b13caab1feb560679d9ff2277db | /*
* Industrial Computer Source PCI-WDT500/501 driver
*
* (c) Copyright 1996-1997 Alan Cox <alan@lxorguk.ukuu.org.uk>,
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software F... | C | drivers/watchdog/wdt_pci.c | holyangel/LGE_G3 | gpl-2.0 | 18,553 | 781 | codeparrot/github-code |
2abbffb1f1e6e56f71c5bdcae69f17d4d1b8903a6db00dba31587009e79f4488 | /***************************************************************************
qgsauthidentitieseditor.cpp
---------------------
begin : April 26, 2015
copyright : (C) 2015 by Boundless Spatial, Inc. USA
author : Larry Shaffer
email : lshaffer... | C++ | src/gui/auth/qgsauthidentitieseditor.cpp | stevenmizuno/QGIS | gpl-2.0 | 12,496 | 407 | codeparrot/github-code |
dcbef5a6de390197ef696223b3192e0a3353d81e978cdaa893132a6cd434527e | /* drivers/i2c/chips/st303_compass.c - st303 compass driver
*
* Copyright (C) 2007-2008 HTC Corporation.
* Author: Hou-Kun Chen <houkun.chen@gmail.com>
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, d... | C | drivers/i2c/chips/st303_compass.c | JoeyJiao/huawei_kernel_2.6.32_9 | gpl-2.0 | 19,461 | 829 | codeparrot/github-code |
e42f34c3afcbc0b18e684c74f599ed53d942a69c3046105188abff5a8658b4ff | /*
* Copyright (c) 2012, The Linux Foundation. All rights reserved.
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright notice and this permission notice appear in all copies.
* THE SOFTWARE IS PROVIDED "AS ... | C | qca/src/qca-ssdk/src/fal/fal_interface_ctrl.c | wjrsonic/openwrt | gpl-2.0 | 9,446 | 387 | codeparrot/github-code |
5847ac62d746c37131eafab18056513f3ecceece24ba8a43cf8a5f811aa6f724 | // We make use of this 'server' variable to provide the address of the
// REST Janus API. By default, in this example we assume that Janus is
// co-located with the web server hosting the HTML pages but listening
// on a different port (8088, the default for HTTP in Janus), which is
// why we make use of the 'window.lo... | JavaScript | html/videomcutest.js | aitnasser/janus-gateway | gpl-3.0 | 19,950 | 498 | codeparrot/github-code |
37a72feebbf3b7d81d831ceffc8ebe11ec9c69f51ba0d2da2aa7f80abe78b40f | /*
* Unix SMB/CIFS implementation.
* ads (active directory) utility library
*
* Copyright (C) Andrew Bartlett 2001
* Copyright (C) Andrew Tridgell 2001
* Copyright (C) Remus Koos (remuskoos@yahoo.com) 2001
* Copyright (C) Alexey Kotovich 2002
* Copyright (C) Jim McDonough <jmcd@us.ibm.com> 2002-200... | C | source3/libads/ads_proto.h | hef/samba | gpl-3.0 | 7,950 | 188 | codeparrot/github-code |
8807836bd9cb15e0a99ffda582f7f655c4b42dfb1c287586413330f4f6696c32 | (function(){var h=YAHOO.util.Dom,j=YAHOO.util.Event,f=YAHOO.util.Anim;
var d=function(l,m){l=h.get(l);
m=m||{};
if(!l){l=document.createElement(this.CONFIG.TAG_NAME)
}if(l.id){m.id=l.id
}YAHOO.widget.AccordionView.superclass.constructor.call(this,l,m);
this.initList(l,m);
this.refresh(["id","width","hoverActivated"],tr... | JavaScript | static-assets/yui/accordionview/accordionview-min-min.js | craftercms/studio-ui | gpl-3.0 | 11,273 | 278 | codeparrot/github-code |
44001bbc6c6ac768db010a4f7c90ebf058fe40dcbaf67eecf1194eced4a6564e | <html>
<head>
<title>The source code</title>
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js"><div id="cls-Ext... | HTML | web/resources/scripts/ext/docs/source/TextMetrics.html | sguazt/dcsj-sharegrid-portal | gpl-3.0 | 5,796 | 135 | codeparrot/github-code |
bb6f9f682d1703f485d5299c1195766383bca3ed2324007be193f7d6cd461c38 | #!/usr/bin/perl
# Copyright 2012 Koha Team
#
# This file is part of Koha.
#
# Koha 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.
#
#... | Perl | serials/serials-search.pl | Rana-TheCodeWizard/Koha | gpl-3.0 | 4,615 | 148 | codeparrot/github-code |
db6286c376c55d8a6a914483feb0d721c1acc7f1d65f35663fcaf101ebdba263 | /*
This file is part of BGSLibrary.
BGSLibrary 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.
BGSLibrary is distributed in the hope that i... | C | sw_dev/cpp/rnd/test/change_detection/bgslibrary_lib/package_bgs/lb/LBFuzzyAdaptiveSOM.h | sangwook236/SWDT | gpl-3.0 | 1,341 | 56 | codeparrot/github-code |
9adc58a086f2d0d9bb059063e7c728fde9df8ddb19df9393fb75c0916cced4ee | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// http://code.google.com/p/protobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistri... | C++ | thirdparty/protobuf-2.2.0/src/google/protobuf/compiler/java/java_enum_field.cc | TextusData/Mover | gpl-3.0 | 12,301 | 362 | codeparrot/github-code |
1e7a41b042912e868f17d4c235c1c0634be431f3e61aeff3332f5435f4033393 | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2015 Evan Debenham
*
* 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... | Java | src/com/shatteredpixel/shatteredpixeldungeon/levels/traps/Trap.java | 5AMW3155/shattered-pixel-dungeon | gpl-3.0 | 2,627 | 100 | codeparrot/github-code |
2d0b10d19cdacd4829b0b86ca2d154e277a1c4f820116f6c4f036c282ad055b6 | <?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
*
* 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... | PHP | test/phpunit/CommandeFournisseurTest.php | Franck-MOREAU/dolibarr | gpl-3.0 | 10,392 | 342 | codeparrot/github-code |
b8f3572235f142698502ee9733e5db63542283f5e31ddda19fbb3b2378ff3109 | package misc;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map.Entry;
import java.util.Set;
public class MultiHashMap<K, V>
{
private HashMap<K, List<V>> hashMap = new HashMap<K, List<V>>();
public Set<Entry<K, List<V>>> entrySet()
{
... | Java | src/misc/MultiHashMap.java | vlad902/joern | gpl-3.0 | 4,378 | 219 | codeparrot/github-code |
2d59a6e1af70d6b9785ad56677beb9b6d08904db701664206f92557c82b66526 | /* Copyright (c) 2015 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-transferab... | C | targetlibs/nrf5x/nrf5_sdk/components/drivers_nrf/ppi/nrf_drv_ppi.c | muet/Espruino | mpl-2.0 | 11,928 | 428 | codeparrot/github-code |
2f34e7fec4d5470ed0fbf926768f8f8635c1d02a9f9c10fc2dc7eb62039838cd | describe("Layout API ", function() {
describe("can be globally disabled with 'md-layouts-disabled' ", function() {
var disableLayouts = angular.noop,
activateLayouts = function() {
var el = document.body;
el.removeAttribute('md-layouts-disabled');
disableLayouts(false);... | JavaScript | web/dependencies/external/angular-material/src/core/services/layout/layout.spec.js | HiOA-ABI/nikita-noark5-core | agpl-3.0 | 14,125 | 387 | codeparrot/github-code |
29261d38d5dbcb25b4592d34491bfcaae8fc89ab4c8b0f9c32647f69397558cd | /*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2014 The Kuali Foundation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Softw... | Java | kfs-core/src/main/java/org/kuali/kfs/coa/identity/OrgReviewRoleInquirableImpl.java | kuali/kfs | agpl-3.0 | 3,921 | 82 | codeparrot/github-code |
749ccb54fbd45fce13f755de7dd10448cae787245d5e54af2b7a129a4b8180c6 | <?php
/**
* Library of array functions for Cake.
*
* PHP versions 4 and 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copy... | PHP | ryzom/tools/server/www/webtt/cake/libs/set.php | osgcc/ryzom | agpl-3.0 | 31,054 | 1,156 | codeparrot/github-code |
ad59e1ab9db7fb870a2c2fbd9152d23f4b097f8060552cb513b0984d51a15de0 | /*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2014 The Kuali Foundation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Softw... | Java | kfs-core/src/main/java/org/kuali/kfs/vnd/businessobject/options/PurchaseOrderCostSourceValuesFinder.java | ua-eas/kfs-devops-automation-fork | agpl-3.0 | 2,169 | 57 | codeparrot/github-code |
0d0004f7de759236a93bafdd554ce3091e8ead25c4d6d799e57e61a77fb2ddbe | /*
* eXist Open Source Native XML Database
* Copyright (C) 2001-2009 The eXist Project
* http://exist-db.org
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2
* o... | Java | src/org/exist/xquery/functions/fn/FunMin.java | MjAbuz/exist | lgpl-2.1 | 11,349 | 231 | codeparrot/github-code |
042b9b3cb56eca3da7839af4c432d8d1b183108d0f489bc9eeb12a13db72a128 | /*
* Copyright (C) 2015 HAW Hamburg
*
* 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 drivers_lis3mdl
* @{
*
* @file
* @brief Device driver implementation for t... | C | drivers/lis3mdl/lis3mdl.c | LudwigKnuepfer/RIOT | lgpl-2.1 | 4,166 | 152 | codeparrot/github-code |
075baa6aee2fe33798fe8da5229b46afb71ec491c7165f00b04f8e35b91ffe0d | /*
* JBoss, Home of Professional Open Source.
* Copyright 2015, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | Java | clustering/common/src/main/java/org/jboss/as/clustering/controller/AbstractResourceDefinition.java | xasx/wildfly | lgpl-2.1 | 2,466 | 65 | codeparrot/github-code |
26561fc84eb788f888d56e25f6e62277eacfc6ff53d405729dc02dfbbec439c4 | /*
Tone.cpp
A Tone Generator Library for the ESP8266
Copyright (c) 2016 Ben Pirt. All rights reserved.
This file is part of the esp8266 core for Arduino environment.
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++ | cores/esp8266/Tone.cpp | jes/Arduino | lgpl-2.1 | 3,411 | 137 | codeparrot/github-code |
724eaf2ed23ac798a913d64a1a208cab20188265da5910c0d3af170f40aed240 | /*
Copyright (C) 2007 National Institute For Space Research (INPE) - Brazil.
This file is part of TerraMA2 - a free and open source computational
platform for analysis, monitoring, and alert of geo-environmental extremes.
TerraMA2 is free software: you can redistribute it and/or modify
it under the terms of the ... | C++ | src/unittest/core/TsDataAccessorFile.hpp | ViniciusCampanha/terrama2 | lgpl-3.0 | 1,407 | 51 | codeparrot/github-code |
9bf8eb53f7bb2c74131dc41d2a5cc29e8e097a7af101132a84dd18ee55fa30c6 | /*****************************************************************************************
* File: IND_Render.h
* Desc: Render class, abstraction layer for the rendering subsystem used
*****************************************************************************************/
/*
IndieLib 2d library Copyright (C) 200... | C | MyGame/Tutorials/common/include/IND_Render.h | AdamPayne/TeamRocketGame | lgpl-3.0 | 14,250 | 503 | codeparrot/github-code |
a13e9c79f0162caf6e27748fc3ceb6da71952efaf908208b3c3663ffd156c0ad | from __future__ import unicode_literals
from .common import InfoExtractor
from ..compat import compat_urllib_parse
from ..utils import (
int_or_none,
qualities,
)
class NprIE(InfoExtractor):
_VALID_URL = r'http://(?:www\.)?npr\.org/player/v2/mediaPlayer\.html\?.*\bid=(?P<id>\d+)'
_TESTS = [{
... | Python | youtube_dl/extractor/npr.py | atomic83/youtube-dl | unlicense | 2,966 | 83 | codeparrot/github-code |
9b2230a95adc65b570c6fd26d02e0a505dfcf203a74b13b0846c6bdfab4d2513 | /*
* Copyright 2017-present Facebook, 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... | Java | src/com/facebook/buck/cli/QueryMultiSetOptionHandler.java | shs96c/buck | apache-2.0 | 2,087 | 66 | codeparrot/github-code |
9cea2bc5b6c976cbe94028a91ef3a8d84f269affaa6c71051d409738b7e52c22 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Java | test/unit/org/apache/cassandra/db/RepairedDataTombstonesTest.java | carlyeks/cassandra | apache-2.0 | 13,085 | 314 | codeparrot/github-code |
d36ce35f523fdb7115d7edb424d07f7352ea8cd71bc134711928714bb7362504 | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ... | C# | Indicators/CandlestickPatterns/HomingPigeon.cs | mabeale/Lean | apache-2.0 | 5,384 | 132 | codeparrot/github-code |
182f2f02450122b8b900cba2e30c0b519ff49f8b058b8dc0cc392657d41f4970 | package org.apereo.cas.impl.calcs;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.adaptive.geo.GeoLocationRequest;
import org.apereo.cas.authentication.adaptive.geo.GeoLocationService;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.servi... | Java | support/cas-server-support-electrofence/src/main/java/org/apereo/cas/impl/calcs/GeoLocationAuthenticationRequestRiskCalculator.java | rrenomeron/cas | apache-2.0 | 2,965 | 63 | codeparrot/github-code |
63f1e8f0ba0654f541f3812e5935ac0aae6447303820a4c31db924851e888330 | #if UNITY_WSA && UNITY_WP8
#define NETFX_CORE
#endif
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
public static class WsaReflectionExtensions
{
#if !NETFX_CORE
public static Delegate CreateDelegate(this MethodInfo methodInfo, Type delegateType, object instance)
{... | C# | targets/unity-v2/source/Shared/Internal/wsaReflectionExtensions.cs | JoshuaStrunk/SDKGenerator | apache-2.0 | 1,814 | 64 | codeparrot/github-code |
6a9809fe0a8df34966d9713e97580be489ad89b1b8c85db3973e87eb03b1294a | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/common/service_process_util_posix.h"
#include "base/basictypes.h"
#include "base/bind.h"
#include "base/message_loop_proxy.h"
#inclu... | C++ | src/chrome/common/service_process_util_posix.cc | plxaye/chromium | apache-2.0 | 5,800 | 196 | codeparrot/github-code |
da5e402581c12a1e0376be4a455964983b39ea281a2cb9897412ce4a33054301 | class Tag < ApplicationRecord
has_many :taggings, :dependent => :destroy
has_one :classification
virtual_has_one :category, :class_name => "Classification"
virtual_has_one :categorization, :class_name => "Hash"
has_many :container_label_tag_mappings
before_destroy :remove_from_managed_filters
def... | Ruby | app/models/tag.rb | NaNi-Z/manageiq | apache-2.0 | 4,880 | 162 | codeparrot/github-code |
39b990492b217079b483171686e8c5cb58db9796e8338cec78d12ae83baf3224 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Java | presto-tpcds/src/main/java/com/facebook/presto/tpcds/TpcdsSplit.java | shixuan-fan/presto | apache-2.0 | 4,151 | 142 | codeparrot/github-code |
2030d0354ac9782f3c29f61c48eebb8727d4c4f0edf44f0a745d973cc7427d27 | /* mbed Microcontroller Library
* Copyright (c) 2015-2017 Nuvoton
*
* 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 | targets/TARGET_NUVOTON/TARGET_NANO100/us_ticker.c | c1728p9/mbed-os | apache-2.0 | 5,559 | 181 | codeparrot/github-code |
10fe3a3238974c410526ffe9f11170d380102d88520b1ca26a4eff013c2e55a2 | /*
* 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 | gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/sideEffect/TraversalSideEffectStep.java | velo/incubator-tinkerpop | apache-2.0 | 2,911 | 78 | codeparrot/github-code |
a3aa0952b3828fedf907d571e94e984f2174527a2b9be3e96ce62476028de2cc | /**
* Copyright (c) Microsoft. 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 ag... | JavaScript | test/util/profile/profile-tests.js | ruslangabitov/azure-xplat-cli | apache-2.0 | 14,855 | 469 | codeparrot/github-code |
295dbff47a9fd91f593ed2db68ae0d4fd6a67d1cf7c58a422319efe0ff91aeba | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Java | presto-main/src/main/java/com/facebook/presto/testing/TestingSplit.java | facebook/presto | apache-2.0 | 2,513 | 83 | codeparrot/github-code |
6e190c985f0543f75e8583e347c824b740b1549ba74cc3fc8e56275aa0ce5a93 | /*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | platform/lang-impl/src/com/intellij/openapi/fileEditor/impl/TestEditorManagerImpl.java | asedunov/intellij-community | apache-2.0 | 15,698 | 525 | codeparrot/github-code |
f0ae640a9d6544cc4876a2c68625c03bd282509919fecdbc227bad64a88ff0c2 | /**
* Copyright 2019 The AMP HTML 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 require... | JavaScript | build-system/tasks/dev-dashboard-tests.js | dotandads/amphtml | apache-2.0 | 1,567 | 59 | codeparrot/github-code |
d4991d4f2785bb7437838608edf29ac6c6ab3831ed9585bbde195a816523b98e | /*
* Copyright (C) 2012 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 | src/com/android/rs/image2/Blend.java | JSDemos/android-sdk-20 | apache-2.0 | 5,518 | 171 | codeparrot/github-code |
7d48587a15aece9593cc7ca24354251628888699d9091b1b5b45d62c04d89f46 | /*
* Copyright 2016 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 | drools-wb-screens/drools-wb-guided-dtable-editor/drools-wb-guided-dtable-editor-client/src/main/java/org/drools/workbench/screens/guided/dtable/client/widget/table/popovers/definitions/LimitedEntryActionSetFieldCol52DefinitionBuilder.java | etirelli/drools-wb | apache-2.0 | 2,143 | 56 | codeparrot/github-code |
9474af11c3a14f9c94681271df74f17717c2001bafdefe4f7193f85ab28166d7 | # -*- coding: utf-8 -*-
#
# Copyright 2012-2015 Spotify AB
#
# 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... | Python | examples/foo.py | laserson/luigi | apache-2.0 | 1,653 | 68 | codeparrot/github-code |
31e25d723cc12ede2a5b1c45e5e9c0a829802933e3d02bfb3e79d1ee071821a3 | /*-------------------------------------------------------------------------
*
* planner.h
* prototypes for planner.c.
*
* Note that the primary entry points for planner.c are declared in
* optimizer/optimizer.h, because they're intended to be called from
* non-planner code. Declarations here are meant for use... | C | src/include/optimizer/planner.h | 50wu/gpdb | apache-2.0 | 2,049 | 62 | codeparrot/github-code |
63559e7632c9d77f150dfe17bf0ce0dc7991f4a5af5cb19cbbca66b70f95d2d8 | /*
Copyright 2014 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | GO | cmd/kube-controller-manager/app/controllermanager.go | henriquetruta/kubernetes | apache-2.0 | 21,480 | 596 | codeparrot/github-code |
1e2e0f755614b1e1b8f63e21f7b280fe60ec306cfd42b37657839748425c63ec | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.var.parametric;
import java.util.Map;
import org.apache.commons.lang.ObjectUtils;
import org.apache.commons.lang.Validate;
import com.op... | Java | src/com/opengamma/analytics/financial/var/parametric/DeltaGammaCovarianceMatrixStandardDeviationCalculator.java | charles-cooper/idylfin | apache-2.0 | 2,454 | 74 | codeparrot/github-code |
f64008eb239026803ced7d828789b8e5c4369d6b385116a0d669168b734f5b49 | package org.apache.lucene.analysis.cn.smart;
/*
* 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 Lic... | Java | solr-4.7.2/src/org/apache/lucene/analysis/cn/smart/SmartChineseSentenceTokenizerFactory.java | yintaoxue/read-open-source-code | apache-2.0 | 1,602 | 45 | codeparrot/github-code |
fe8b31fa317aa658674066d5aa63bbb19a9d40bb8e6bcfd88d14aa056a5a001c | /*
* 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 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | Java | buildSrc/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/length/ReplaceKeyInLength.java | robin13/elasticsearch | apache-2.0 | 1,430 | 40 | codeparrot/github-code |
48f1af07e06696c4e23204f16ddf44cb8f5fb11a248806feb39ba95d33388f33 | #!/usr/bin/env python
# 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 pyauto_functional
import pyauto
import webrtc_test_base
class MediaStreamInfobarTest(webrtc_test_base.WebrtcTestBase):
"... | Python | src/chrome/test/functional/media_stream_infobar.py | plxaye/chromium | apache-2.0 | 3,390 | 84 | codeparrot/github-code |
b54ed82c78ad1e4f757f8adec3830a7e4f4e4e4a2ae0f55c830627ee7ed3a425 | /*******************************************************************************
* 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... | Java | sources/applications/accounting/src/org/ofbiz/accounting/thirdparty/valuelink/ValueLinkServices.java | nomakaFr/ofbiz_ynh | apache-2.0 | 73,380 | 1,562 | codeparrot/github-code |
f82993956914e72c0f79a3a5ac74fe8fe18d0ed9ff35af92b812248235cdc1c3 | <!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>JSON-RPC Demo for JQuery Terminal Emulator</title>
<meta name="author" content="Jakub Jankiewicz - jcubic@onet.pl"/>
<meta name="Description" content="Demonstration for JQuery Terminal Emulator using... | HTML | xdiamond/bower_components/jquery.terminal/examples/multiply-interpreters-demo.html | DreamInSun/OneRing | apache-2.0 | 3,653 | 90 | codeparrot/github-code |
031b906188690846cc7f5ef1d9a1329b67aed01c01cd864ac6dd946b25d5ced0 | # Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | Python | tensorflow/python/training/checkpoint_utils.py | kobejean/tensorflow | apache-2.0 | 15,013 | 373 | codeparrot/github-code |
1d873c8c04a96654c4956e005842e3703e1612f96deb66b9a3452a8d600e8659 | // 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;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using Microsoft.CodeAnalysis.Editor.Commands;
usin... | C# | src/EditorFeatures/Core/Implementation/ReferenceHighlighting/NagivateToHighlightReferenceCommandHandler.cs | nagyistoce/roslyn | apache-2.0 | 5,036 | 124 | codeparrot/github-code |
364aeb512d5ec407da51fbdba99cb5b7da155ce7486916a78b7c1f8079f469c6 | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2010 Greenplum, Inc.
//
// @filename:
// CParseHandlerAgg.cpp
//
// @doc:
// Implementation of the SAX parse handler class for parsing aggregate operators.
//-------------------------------------------... | C++ | src/backend/gporca/libnaucrates/src/parser/CParseHandlerAgg.cpp | 50wu/gpdb | apache-2.0 | 6,238 | 182 | codeparrot/github-code |
29dfc1de744a543161b9c150e6bd6f2e200d9f28afec3e635d6b25f4db881082 | /*-------------------------------------------------------------------------
*
* relation.c
* Generic relation related routines.
*
* Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* src/backen... | C | src/backend/access/common/relation.c | 50wu/gpdb | apache-2.0 | 7,720 | 262 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.