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 |
|---|---|---|---|---|---|---|---|---|
4111e4e6b377338e83e891a01272c6a84160a3dff44b9e15115c7a766f2257ee | /* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
*
* HTC: elite machine driver which defines board-specific data
* Copy from sound/soc/msm/msm8960.c
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* o... | C | arch/arm/mach-msm/htc/elite/board-elite-audio.c | kbc-developers/android_kernel_htc_msm8960 | gpl-2.0 | 49,618 | 1,797 | codeparrot/github-code |
2e4e3af0b4ce205fd4fa93c7a8af78b1e635ce99ac75a8a5b91ec5bff4ea3d41 | /*
* Common code for the NVMe target.
* Copyright (c) 2015-2016 HGST, a Western Digital Company.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This pro... | C | drivers/nvme/target/core.c | paulluo/linux | gpl-2.0 | 24,383 | 1,022 | codeparrot/github-code |
a225f83458d70684648bf499b60cb5635bec44c278683997ad19b2cecaedecd4 | /* Copyright (C) 2008 Rodolfo Giometti <giometti@linux.it>
* Copyright (C) 2008 Eurotech S.p.A. <info@eurotech.it>
* Based on a previous work by Copyright (C) 2008 Texas Instruments, Inc.
*
* Copyright (c) 2011, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it ... | C | drivers/power/bq27541_fuelgauger.c | atila1974/AK-OnePlusOne-CAF | gpl-2.0 | 50,014 | 1,811 | codeparrot/github-code |
2cf48bb4b8867b02bc319f41fb0239f498e45233d019d66050c88c27479c32de | /*
* linux/fs/inode.c
*
* (C) 1997 Linus Torvalds
*/
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/dcache.h>
#include <linux/init.h>
#include <linux/quotaops.h>
#include <linux/slab.h>
#include <linux/writeback.h>
#include <linux/module.h>
#include <linux/backing-dev.h>
#include <linux/wait.h>
#inclu... | C | fs/inode.c | liquidware/liquidware_beagleboard_android_kernel | gpl-2.0 | 43,307 | 1,617 | codeparrot/github-code |
4404c5adbc72bdb27a3aeef39ef32d50594f40cca5da25078887bbf7975cfe02 | /*
* drivers/i2c/busses/i2c-tegra.c
*
* Copyright (C) 2010 Google, Inc.
* Author: Colin Cross <ccross@android.com>
*
* Copyright (C) 2010-2012 NVIDIA Corporation
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may... | C | drivers/i2c/busses/i2c-tegra.c | aureljared/pulsar | gpl-2.0 | 31,045 | 1,117 | codeparrot/github-code |
141852bd1e6a85a03e9782e4b5fdd1d6414868e6794ffcdab7b8abbce182eb83 | /*
* Copyright (C) 2008 The Android Open Source Project
* 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, t... | C | bionic/libc/arch-x86/bionic/__set_tls.c | infraredbg/Lenovo_A820_kernel_kk | gpl-2.0 | 2,960 | 102 | codeparrot/github-code |
095030e53b77b689ac3abf751da070cdd03276ba8768039833cc17c0049164df | /* *
* (c) 2010-2019 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
import H from './Globals.js';
import './Utilities.js';
import './Options.js';
import './Series.js';
var pick = H.pick,
seriesType = H.seriesType;
/**
* Spline series type.
*
* @private
* @class
* @name Highchar... | JavaScript | externals/highcharts/es-modules/parts/SplineSeries.js | blue-eyed-devil/testCMS | gpl-3.0 | 8,806 | 268 | codeparrot/github-code |
a0ef776eb2c2ef0ac85d6475230556d46b754003bb70381427cd20be198a1389 | #!/usr/bin/python
# -*- coding: utf-8 -*-
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
#
# Copyright (C) 2017 Lenovo, Inc.
#
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public Licens... | Python | lib/ansible/modules/network/cnos/cnos_factory.py | hryamzik/ansible | gpl-3.0 | 5,299 | 154 | codeparrot/github-code |
ca6f083d4c18427adee2a5ccf655819f700d7db63f843e1bce6b8f20db79a3be | /* -*- c++ -*- */
/*
* Copyright 2002 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... | C | gr-atsc/src/lib/qa_interleaver_fifo.h | tyc85/nwsdr-3.6.3-dsc | gpl-3.0 | 1,390 | 58 | codeparrot/github-code |
3a4d1472c533f6180a9ace66534bc35049f2c0d94109793d07295d109f78ba9c |
package org.zarroboogs.weibo.dao;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.zarroboogs.util.net.HttpUtility;
import org.zarroboogs.util.net.WeiboException;
import org.zarroboogs.util.net.HttpUtility.HttpMethod;
import org.zarroboogs.utils.ImageUtility;
import org... | Java | app/src/main/java/org/zarroboogs/weibo/dao/MapDao.java | tsdl2013/iBeebo | gpl-3.0 | 2,199 | 76 | codeparrot/github-code |
6a56674d5e9de24fdd01b26b0d5999190ac30f656e6d3a6a6e365d1f644283db | /**
* Copyright (c) 2006-2015, JGraph Ltd
* Copyright (c) 2006-2015, Gaudenz Alder
*/
/**
* Class: mxHandle
*
* Implements a single custom handle for vertices.
*
* Constructor: mxHandle
*
* Constructs a new handle for the given state.
*
* Parameters:
*
* state - <mxCellState> of the cell to be handle... | JavaScript | templates/mxgraph/js/handler/mxHandle.js | kyro46/assMxGraphQuestion | gpl-3.0 | 7,788 | 353 | codeparrot/github-code |
1cb7a52ddf8ee68dd78c968a3edae33e71a22d1f9a23ad10e5c6e265c0ae1f05 | #region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms... | C# | Ris/Client/Admin/LocationEditorComponent.cs | chinapacs/ImageViewer | gpl-3.0 | 6,291 | 275 | codeparrot/github-code |
1962595392a9a3f340dad943309d86a0b3cad844a90f21378d00e70a90131f0e | #region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms... | C# | ImageServer/Services/WorkQueue/CleanupReconcile/CleanupReconcileItemProcessor.cs | chinapacs/ImageViewer | gpl-3.0 | 5,141 | 140 | codeparrot/github-code |
9d53f5f98962992fa71021740b3c62717140a4d842bf0bd08072f96a165b7ac3 | /* -*- c++ -*- */
/*
* Copyright 2015,2016 Free Software Foundation, Inc.
*
* This 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 version.
*
* This... | C++ | gr-dtv/lib/dvbt/dvbt_reference_signals_impl.cc | pinkavaj/gnuradio | gpl-3.0 | 41,320 | 1,285 | codeparrot/github-code |
05fd34d6f4e59719579bad9b3553a6510c91d3eb1e7dc77bab5e80c623a0d857 | /**
*
* Spacebrew Library for Javascript
* --------------------------------
*
* This library was designed to work on front-end (browser) envrionments, and back-end (server)
* environments. Please refer to the readme file, the documentation and examples to learn how to
* use this library.
*
* Spacebrew is... | JavaScript | touchClient/js/sb-1.3.0.js | RyanteckLTD/RTK-000-001-Controller | gpl-3.0 | 15,832 | 527 | codeparrot/github-code |
fd0d67a43f07c8dba4e7da0d9386fe2dc629a229ead38929bca71c9a8253cf7c | #region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the term... | C# | Dicom/Samples/EditSop.cs | testdoron/ClearCanvas | gpl-3.0 | 6,329 | 191 | codeparrot/github-code |
ed3bbd5a5bd35a9f19381536ace5836b527de3b0413210be4742230a0a8d80d6 | <?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This ... | PHP | upload/upload/upgrades/patch/SugarCE-Upgrade-6.5.x-to-6.5.9-restore/modules/Meetings/metadata/additionalDetails.php | KadJ/amazon_sugar | agpl-3.0 | 3,933 | 85 | codeparrot/github-code |
59fa241df374b6dc459cd582d4daef502aad7e7a86c2d154538ade593c3df035 | /*
** I/O library.
** Copyright (C) 2005-2017 Mike Pall. See Copyright Notice in luajit.h
**
** Major portions taken verbatim or adapted from the Lua interpreter.
** Copyright (C) 1994-2011 Lua.org, PUC-Rio. See Copyright Notice in lua.h
*/
#include <errno.h>
#include <stdio.h>
#define lib_io_c
#define LUA_LIB
#incl... | C | src/fluid/luajit-2.0.5/src/lib_io.c | team-parasol/parasol | lgpl-2.1 | 13,724 | 547 | codeparrot/github-code |
d826dadd98e63627e68d9a8a4f0ca5982115cd962d120b466418a466b5183798 | /*
* Copyright (C) 2014 Loci Controls Inc.
* 2018 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.
*/
/**
* @defgroup cpu_cc2538_gptimer CC2538 General Purpo... | C | cpu/cc2538/include/cc2538_gptimer.h | aabadie/RIOT | lgpl-2.1 | 3,721 | 93 | codeparrot/github-code |
27dfe21e0cdd5a411184169789d1a03bb9a3d3d8cc6d80b76dd8b8995d2fd770 | /**
* Copyright (C) 2014 Martin Landsmann <Martin.Landsmann@HAW-Hamburg.de>
*
* 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 net_fib
* @{
*
* @file
* @brief Fu... | C | sys/net/network_layer/fib/fib.c | yogo1212/RIOT | lgpl-2.1 | 56,622 | 1,639 | codeparrot/github-code |
7ff51dc6ed557790c6435f519dc9fbac52a3cef19bc73d01d04bd73794cf1c3f | /*= -*- c-basic-offset: 4; indent-tabs-mode: nil; -*-
*
* librsync -- the library for network deltas
* $Id: msg.c,v 1.15 2003/06/12 05:47:22 wayned Exp $
*
* Copyright (C) 2000, 2001 by Martin Pool <mbp@samba.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of... | C | msg.c | kaseya/librsync | lgpl-2.1 | 2,883 | 83 | codeparrot/github-code |
fc6a789a9a9634ffdffd97b6c1a69455db2ac543993e1c0d517bbb363c6a8f27 | package crazypants.enderio.machine.capbank.network;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import cofh.api.energy.IEnergyContainerItem;
import crazypants.enderio.EnderIO;
import crazypants.enderio.machine.capbank.TileCapBank;
pu... | Java | src/main/java/crazypants/enderio/machine/capbank/network/InventoryImpl.java | Samernieve/EnderIO | unlicense | 3,083 | 158 | codeparrot/github-code |
e1945216e4e15269a3eec6c671fb1ab8937071ddfd410b80c102c520dd436f86 | /*
* 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 ... | C# | modules/platforms/dotnet/Apache.Ignite.Core/Impl/Messaging/MessageListenerHolder.cs | tkpanther/ignite | apache-2.0 | 5,939 | 178 | codeparrot/github-code |
e65c428b6e98a58bd17df9d254ef01eb21a06395f640d0978e1d70a8449ff52e | /**
* 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 | src/java/test/org/apache/zookeeper/server/quorum/WatchLeakTest.java | bit1129/open-source-projects | apache-2.0 | 12,847 | 359 | codeparrot/github-code |
14411fe5451678c311c6e96a18c1aeab7ffaf016de213e110c65228ea408d047 | /*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | C# | AWS.XamarinSDK/AWSSDK_iOS/Amazon.DynamoDBv2/Model/Internal/MarshallTransformations/GlobalSecondaryIndexMarshaller.cs | ykbarros/aws-sdk-xamarin | apache-2.0 | 3,183 | 91 | codeparrot/github-code |
13b7684ed3c082c02575725220363ddc7c5da93257b9b36238a5c1d1f4019f78 | """Support for MySensors covers."""
from homeassistant.components import mysensors
from homeassistant.components.cover import ATTR_POSITION, DOMAIN, CoverDevice
from homeassistant.const import STATE_OFF, STATE_ON
async def async_setup_platform(
hass, config, async_add_entities, discovery_info=None):
"""Se... | Python | homeassistant/components/mysensors/cover.py | MartinHjelmare/home-assistant | apache-2.0 | 3,195 | 82 | codeparrot/github-code |
93da89346b8f4f0d06e702de5461b3eda93fca67807d58cdb118709b399a5046 | /*
* 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-cli/src/main/java/org/springframework/boot/cli/command/shell/RunProcessCommand.java | hello2009chen/spring-boot | apache-2.0 | 1,906 | 67 | codeparrot/github-code |
c82a71f664361a9a60c747cd2950a7f1751b71530dc5f2e7572e76f9d55363f1 | /*
* 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-ml/src/test/java/com/facebook/presto/ml/AbstractTestMLFunctions.java | prestodb/presto | apache-2.0 | 1,068 | 32 | codeparrot/github-code |
7ed5e607db79d4344857f0a366b3d20eb361c58bb6c3f5dabfecedf2f23103c0 | #include <Wt/WApplication>
#include <Wt/WStandardItemModel>
#include <Wt/WTableView>
#include "../treeview-dragdrop/CsvUtil.h"
SAMPLE_BEGIN(SmallTableView)
Wt::WTableView *tableView = new Wt::WTableView();
tableView->setModel(csvToModel(Wt::WApplication::appRoot() + "table.csv",
tableView));
tableView->setC... | C++ | tools/wt-3.3.5-rc1/examples/widgetgallery/examples/SmallTableView.cpp | sanathkumarv/RestAPIWt | apache-2.0 | 1,047 | 34 | codeparrot/github-code |
38cf82c947472e1228d410cc48dbdb5a48810b3bdeded6dfbba91af583631bc5 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | modules/core/src/main/java/org/apache/ignite/internal/client/util/GridClientConsistentHash.java | samaitra/ignite | apache-2.0 | 12,863 | 447 | codeparrot/github-code |
7331d73579517d19d987c86be169e5dbe30af42c5d08860bd51adf9c98b746c1 | /*
* 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 | log4j-api/src/test/java/org/apache/logging/log4j/AbstractLoggerTest.java | MagicWiz/log4j2 | apache-2.0 | 26,624 | 707 | codeparrot/github-code |
52d61c18f7d2d9d9450d2406d6c4f1864d790b7bd74787c8a445c7133d3f9937 | /*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... | Java | processing/src/main/java/io/druid/segment/data/SingleValueIndexedIntsWriter.java | erikdubbelboer/druid | apache-2.0 | 1,515 | 49 | codeparrot/github-code |
8e0d69d680bbc3e060021fa682df4efee3da1ff0cb76ca685e4b4ffe6f634d42 | /*
* Copyright 2013 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 ap... | Java | jbpm-services/jbpm-executor-cdi/src/test/java/org/jbpm/executor/cdi/ExecutorDatabaseProducer.java | pleacu/jbpm | apache-2.0 | 1,548 | 48 | codeparrot/github-code |
817dea25a387c17a29dddb21201f0047bb643cb00931b4ce641dce5ae4e8cdb2 | #include "board.h"
#include "uart.h"
#include "app_util_platform.h"
#include "nrf_drv_common.h"
#include "nrf_systick.h"
#include "nrf_rtc.h"
#include "nrf_drv_clock.h"
#include "softdevice_handler.h"
#include "nrf_drv_uart.h"
#include "nrf_gpio.h"
#include <rtthread.h>
#include <rthw.h>
#if 0
/*********************... | C | bsp/nrf52832/board/board.c | igou/rt-thread | apache-2.0 | 6,920 | 271 | codeparrot/github-code |
f326b621ef59fd74e15b1905f0eab1b3f2911697ba92e4850290b5d8b69551c8 | // Copyright 2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | Rust | src/test/run-pass/deriving-cmp-generic-enum.rs | bombless/rust | apache-2.0 | 1,453 | 56 | codeparrot/github-code |
cc540d31fcf0cc4dd82721ba09eda6e97ae3b038fe3e38f3da3fd69a60f5d7ca | /*
* Copyright 2008 Ayman Al-Sairafi ayman.alsairafi@gmail.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/licenses/LICENSE-2.0
* Unless required... | Java | src/main/java/jsyntaxpane/components/Markers.java | zqq90/webit-editor | bsd-3-clause | 4,976 | 140 | codeparrot/github-code |
a95e52d343b5e48dc0f7263ac54aff722e078bd224917d1141298d7cdd2940ac | # The absolute import feature is required so that we get the root celery
# module rather than `amo.celery`.
from __future__ import absolute_import
from inspect import isclass
from celery.datastructures import AttributeDict
from tower import ugettext_lazy as _
__all__ = ('LOG', 'LOG_BY_ID', 'LOG_KEEP',)
class _LOG... | Python | apps/amo/log.py | muffinresearch/addons-server | bsd-3-clause | 16,053 | 687 | codeparrot/github-code |
de3d3264a48cf7fa471fd194035b6e45fda7ea2f87b118bb2ec12c4aa027abb2 | // 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 "cc/scheduler/scheduler_settings.h"
#include "cc/trees/layer_tree_settings.h"
namespace cc {
SchedulerSettings::SchedulerSettings()
: begi... | C++ | cc/scheduler/scheduler_settings.cc | boundarydevices/android_external_chromium_org | bsd-3-clause | 2,639 | 59 | codeparrot/github-code |
51d132849898cf098b49156f22d0fd0c8e4245f31a86fa5b7f543cd20422d8e7 | // Copyright 2007 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 | third_party/google-closure-library/closure/goog/dom/pattern/sequence.js | scheib/chromium | bsd-3-clause | 4,393 | 141 | codeparrot/github-code |
a0aeae4f368e72ee406cbd20ebd8aabfc8a66d5c56b0961f1b2f6018504fee93 | /*
* Copyright (c) 2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#pragma onc... | C | osquery/remote/utility.h | SEC-squad/osquery | bsd-3-clause | 6,930 | 213 | codeparrot/github-code |
8e287bb4965038e177b1d7e12cda956d9aad4518540eafa632c57e0d07891c93 | /**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file fltRecord.h
* @author ... | C | pandatool/src/flt/fltRecord.h | chandler14362/panda3d | bsd-3-clause | 3,311 | 124 | codeparrot/github-code |
b8c0be6b843a3d8d67006e999a0f4cc15fcdbbc5f3a8c2e3b01497acbb0cc968 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stdint.h>
#include <utility>
#include <vector>
#include "base/strings/string16.h"
#include "content/common/content_export.h"
#include "ipc/ipc... | C | content/common/dwrite_font_proxy_messages.h | hujiajie/chromium-crosswalk | bsd-3-clause | 1,801 | 47 | codeparrot/github-code |
c434fafa9d945994a0e6e40c2851402371fa2828ed718160387c126e1b959fd5 | // 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/ui/app_list/search/people/people_result.h"
#include <vector>
#include "base/bind.h"
#include "base/memory/ref_counted.h"
#inclu... | C++ | chrome/browser/ui/app_list/search/people/people_result.cc | boundarydevices/android_external_chromium_org | bsd-3-clause | 7,006 | 202 | codeparrot/github-code |
37f5f9874379f37ccb4b1d3e6798c815848cd6795141aa14acf385015f444dc5 | # 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.
import py_utils
from telemetry import story as story_module
from telemetry.page import page as page_module
from telemetry.page import shared_page_state
clas... | Python | tools/perf/contrib/leak_detection/page_sets.py | chromium/chromium | bsd-3-clause | 10,066 | 281 | codeparrot/github-code |
b915c5a00e0a4b973859e287afccd32a0caae376c4c38fd7568e2095abe6b9cc | /*
* Copyright (c) 2016, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at w... | C | third_party/libaom/source/libaom/aom_dsp/x86/blend_sse4.h | endlessm/chromium-browser | bsd-3-clause | 7,290 | 192 | codeparrot/github-code |
3e24de56e44b6ad4d1c14dbfac4ffc604a14392e5ee1e63d2df399789eaa17b4 | // libjingle
// Copyright 2004 Google Inc.
//
// 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 conditions and the follo... | C++ | trunk/talk/media/devices/filevideocapturer.cc | wangscript/libjingle-1 | bsd-3-clause | 12,792 | 367 | codeparrot/github-code |
b6a041d700cc2ce8be778ab87417526a99c0ce4b7416a0162fc57a5b12c865ad | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tas... | C# | src/System.Net.Sockets/src/System/Net/Sockets/MultipleConnectAsync.cs | Ermiar/corefx | mit | 18,925 | 526 | codeparrot/github-code |
3616fb3e63a579f055f682f4dcedbb19371e9102e2cedb33c2b785a77b9289d7 | package org.knowm.xchange.ccex.dto.account;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.math.BigDecimal;
public class CCEXBalance {
private String Currency;
private BigDecimal Balance;
private BigDecimal Available;
private BigDecimal Pending;
private String CryptoAddress;
public CC... | Java | xchange-ccex/src/main/java/org/knowm/xchange/ccex/dto/account/CCEXBalance.java | timmolter/XChange | mit | 1,759 | 83 | codeparrot/github-code |
46a7f6fd1954036df807b38dace9a048e5b81cbf212776664d38d17bbc2b6239 | angular.module('ordercloud-address', [])
.directive('ordercloudAddressForm', AddressFormDirective)
.directive('ordercloudAddressInfo', AddressInfoDirective)
.filter('address', AddressFilter)
;
function AddressFormDirective(OCGeography) {
return {
restrict: 'E',
scope: {
addr... | JavaScript | src/app/common/address/address.js | Four51/OrderCloud-Seed-AngularJS | mit | 1,620 | 55 | codeparrot/github-code |
d3d9182131d3675c1a5b705e7b430bf8cd51a25f18e939c91fd7b7bf698e17eb | #pragma once
namespace graphic
{
class cCube
{
public:
cCube();
cCube(const Vector3 &vMin, const Vector3 &vMax );
void SetCube(const Vector3 &vMin, const Vector3 &vMax );
void SetTransform( const Matrix44 &tm );
void SetColor( DWORD color);
const Matrix44& GetTransform() const;
const Vector3& GetMi... | C | Shadow Study/base/cube.h | sgajaejung/3D-Lecture-2 | mit | 823 | 41 | codeparrot/github-code |
c06c32ad1762ffe4cbcaa3a19aabf96e94eb500db62fc6744c93f402d98c1d27 | // RUN: %clang_cc1 -verify -fopenmp=libiomp5 %s
void foo() {
}
bool foobool(int argc) {
return argc;
}
struct S1; // expected-note {{declared here}}
template <class T, typename S, int N, int ST> // expected-note {{declared here}}
T tmain(T argc, S **argv) { //expected-note 2 {{declared here}}
#pragma omp parall... | C++ | src/rapierlang/test/OpenMP/parallel_for_collapse_messages.cpp | Rapier-Foundation/rapier-script | mit | 6,389 | 84 | codeparrot/github-code |
4181cf728adbfedf8f5251cd6b2988c5b3b226cad38358f452c99944f6d30d54 | <HTML>
<HEAD>
<TITLE>
Changes in TIFF v3.6.0
</TITLE>
</HEAD>
<BODY BGCOLOR=white>
<FONT FACE="Helvetica, Arial, Sans">
<FONT FACE="Helvetica, Arial, Sans">
<BASEFONT SIZE=4>
<B><FONT SIZE=+3>T</FONT>IFF <FONT SIZE=+2>C</FONT>HANGE <FONT SIZE=+2>I</FONT>NFORMATION</B>
<BASEFONT SIZE=3>
<UL>
<HR SIZE=4 WIDTH=65% ALI... | HTML | libs/SDL_Image/external/tiff-4.0.8/html/v3.6.0.html | mbelicki/warp | mit | 16,777 | 435 | codeparrot/github-code |
55ed22c6a98c9309048a061d058f46aa6ac4b87f26912124972a0e838775b5ac | <?php
/*
* This file is part of the symfony package.
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* sfGeneratorManager helps generate classes, views a... | PHP | symfony/lib/symfony/generator/sfGeneratorManager.class.php | serg-smirnoff/symfony-pposter | mit | 3,181 | 129 | codeparrot/github-code |
20c6a91b6327c8ea2c5c9e478a3e5d13cf27c0dffa6f8f08e03f30515a4ce058 | package org.jboss.windup.config.phase;
import org.jboss.windup.config.AbstractRuleProvider;
import org.ocpsoft.rewrite.config.Rule;
/**
* Previous: {@link PostReportRenderingPhase}<br/>
* Next: {@link PostFinalizePhase}
*
* <p>
* This occurs at the end of execution. {@link Rule}s in this phase are responsible f... | Java | config/api/src/main/java/org/jboss/windup/config/phase/FinalizePhase.java | sgilda/windup | epl-1.0 | 892 | 37 | codeparrot/github-code |
66e1edbd0bf8c207ffbf3fe4cd2f77549778f8cb8ca17c98973edbb81bc5294d | /* Copyright (C) 2010-2016 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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 version.
... | C | gcc/config/i386/bmiintrin.h | crtc-demos/gcc-ia16 | gpl-2.0 | 5,628 | 185 | codeparrot/github-code |
28ae259dfa87d8cb49ff9e3520afb7ca595bbb9668caa72d1621dbba5a659e14 | /*
* This file is part of the CMaNGOS Project. See AUTHORS file for Copyright information
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your o... | C | src/game/vmap/MapTree.h | Dahkelor/theorycraft | gpl-2.0 | 4,494 | 105 | codeparrot/github-code |
00fcb39bbde939477b6623096d6488da958edafedc1b3ff8cb599a54933d6c60 | <?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* DNS Library for handling lookups and updates.
*
* PHP Version 5
*
* Copyright (c) 2010, Mike Pultz <mike@mikepultz.com>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are... | PHP | plugins/Net_DNS2-1.2.1/DNS2/RR/LOC.php | prdatur/soopfw | gpl-2.0 | 12,763 | 439 | codeparrot/github-code |
f849bd8ee7df5c7a9dd3a5931bc92f8f3a762771113c4ecc385c23dbf9083983 | ;; @file
; IPRT - ASMBitFirstClear().
;
;
; Copyright (C) 2006-2010 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or modify it under the terms of the GNU
; General Public License... | Assembly | src/VBox/Runtime/win/amd64/ASMBitFirstClear.asm | eaas-framework/virtualbox | gpl-2.0 | 2,742 | 86 | codeparrot/github-code |
a1bc51dae2f8821589831961d461143d3b94f979cd6f31354415da1ef0815bbc | /*
* Copyright (c) 2013-2015, Mellanox Technologies. 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 th... | C | drivers/net/ethernet/mellanox/mlx5/core/health.c | michael2012z/myKernel | gpl-2.0 | 11,503 | 394 | codeparrot/github-code |
cec45612bf4f0dcb88af4f573e361dc2e76db22ed65b2a8be0051451a5bd5c2d | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Methods for working with cecog
Copyright 2010 University of Dundee, Inc. All rights reserved.
Use is subject to license terms supplied in LICENSE.txt
"""
import os
import re
import sys
from omero.cli import BaseControl, CLI
import omero
import omero.consta... | Python | components/tools/OmeroPy/src/omero/plugins/cecog.py | dominikl/openmicroscopy | gpl-2.0 | 6,684 | 194 | codeparrot/github-code |
ae1730cc81cd510b3dab81a0439fea76a369c5239793c40e3f15acda81c9bf60 | /*
* File : touch.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2010 - 2012, RT-Thread Develop Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
*
* Change Logs:
* Date Aut... | C | bsp/mini2440/drivers/touch.c | zhangzq71/rt-thread | gpl-2.0 | 10,961 | 499 | codeparrot/github-code |
b6d7b8d4575dddd0553dd095811d167a194858d4f320ba30da226349085b7db9 | /*
* Gadget Function Driver for MTP
*
* Copyright (C) 2010 Google, Inc.
* Author: Mike Lockwood <lockwood@android.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, distributed, and modified under t... | C | drivers/usb/gadget/f_mtp.c | transi/kernel_amazon_bowser-common | gpl-2.0 | 32,603 | 1,286 | codeparrot/github-code |
0f001f8ca56a9f641e20d1ec0b4abe54ddd136d8be194297d4e73a21a8e157e9 | <?php
class AWPCP_FeeType extends AWPCP_PaymentTermType {
const TYPE = 'fee';
public function __construct() {
parent::__construct(_x('Fee', 'payment term type', 'AWPCP'), self::TYPE, '');
add_action('awpcp-transaction-status-updated', array($this, 'update_buys_count'), 10, 2);
}
publ... | PHP | wp-content/plugins/another-wordpress-classifieds-plugin/includes/payment-term-fee-type.php | Owchzzz/Militiatoday | gpl-2.0 | 3,188 | 103 | codeparrot/github-code |
811beb133c1eba5aa96016960f599cb34f56c827ff09cee0aface84df181b8dc | /*
* Copyright (C) 2008-2017 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2011 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either ver... | C | src/tools/map_extractor/loadlib/loadlib.h | Poveda09/TrinityCore | gpl-2.0 | 2,102 | 96 | codeparrot/github-code |
9256277f8a128e6666c6a89d4e337c24c8c0e8ab1e98864b3cd193ef84e969e1 | /*
* Real-Time Scheduling Class (mapped to the SCHED_FIFO and SCHED_RR
* policies)
*/
#include "sched.h"
#include <linux/slab.h>
#include <trace/events/sched.h>
int sched_rr_timeslice = RR_TIMESLICE;
static int do_sched_rt_period_timer(struct rt_bandwidth *rt_b, int overrun);
struct rt_bandwidth def_rt_bandwidt... | C | kernel/sched/rt.c | BlissRoms-Kernels/kernel_motorola_BlissPure | gpl-2.0 | 51,646 | 2,240 | codeparrot/github-code |
bdee5b32505b0cd9b7d708585bae0bdef5f3bed48da7ed6868295f090ddd9ebd | <?php
/**
* @file
* @ingroup SMWSpecialPage
* @ingroup SpecialPage
*
* A factbox like view on an article, implemented by a special page.
*
* @author Denny Vrandecic
*/
/**
* A factbox view on one specific article, showing all the Semantic data about it
*
* @ingroup SMWSpecialPage
* @ingroup SpecialPage
*/... | PHP | includes/specials/SMW_SpecialBrowse.php | JeroenDeDauw/SemanticMediaWiki | gpl-2.0 | 14,798 | 429 | codeparrot/github-code |
2073cf5ccd098c4b4a9ed285dc88f55d40611495b1d4cd07b0d89a143f603003 | <?php
Class AddThis_addjs_extender extends AddThis_addjs{
var $jsAfterAdd;
function getAtPluginPromoText(){
if (! did_action('admin_init') && ! current_filter('admin_init'))
{
_doing_it_wrong('getAtPluginPromoText', 'This function should only be called on an admin page load and n... | PHP | zh/wp-content/plugins/addthis-smart-layers/views/includes/addthis_addjs_extender.php | cw196/tiwal | gpl-2.0 | 3,170 | 96 | codeparrot/github-code |
3e1681467e422710374dd35e6d41c47f90bb4dce8b70790b4775deffa0570802 | /*
* (C) Copyright 2003-2006
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* (C) Copyright 2004
* Mark Jonas, Freescale Semiconductor, mark.jonas@motorola.com.
*
* (C) Copyright 2004-2006
* Martin Krause, TQ-Systems GmbH, martin.krause@tqs.de
*
* See file CREDITS for list of people who contributed... | C | board/tqm5200/tqm5200.c | eldarerathis/FIREFIREFIRE-Multiboot-PoC | gpl-2.0 | 16,892 | 700 | codeparrot/github-code |
3fb7035184a7f4333e449f19a70242cbe75e6c510d601d86f2353b763d136cef | #
# Copyright (C) 2000-2005 by Yasushi Saito (yasushi.saito@gmail.com)
#
# Jockey 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, or (at your option) any
# later version.
#
# Jockey is distr... | Python | site-packages/pychart/line_plot.py | ShaolongHu/lpts | gpl-2.0 | 6,684 | 158 | codeparrot/github-code |
880286deb562096e78c7bbbae8f571be350a23baf4aa7b663a20806ab58783a7 | <?php
namespace app\models;
use app\properties\HasProperties;
use devgroup\TagDependencyHelper\ActiveRecordHelper;
use Yii;
use yii\behaviors\AttributeBehavior;
use yii\caching\TagDependency;
use yii\data\ActiveDataProvider;
use yii\db\ActiveRecord;
/**
* This is the model class for table "property_group".
*
* @p... | PHP | models/PropertyGroup.php | rinodung/yii2-shop-cms | gpl-3.0 | 9,259 | 294 | codeparrot/github-code |
8c542ff913c12f5493b82c8f066fc74080508cb391f85ddde9c0c08afdb0f097 | /* -*- c++ -*- */
/*
* Copyright 2005,2012 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 o... | C | gr-comedi/lib/sink_s_impl.h | riveridea/gnuradio | gpl-3.0 | 2,133 | 74 | codeparrot/github-code |
d9f910a043e7f08663eae4dcf0626973ba71f4247428355835aaeeea9010247e | /****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy Alliance, LLC ... | C++ | examples/ex13_functions/src/base/ExampleApp.C | katyhuff/moose | lgpl-2.1 | 1,845 | 64 | codeparrot/github-code |
fb9e013b19098a792846c02996162de2ff6f475ee24719241ef7552e074b693f | /*
* Copyright (C) 2010 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 applicab... | Java | src/main/java/com/google/doclava/ParsedTagInfo.java | kwf2030/doclava | apache-2.0 | 1,692 | 56 | codeparrot/github-code |
59a6a8450b898d6646b2fa77a6e4a64d913e567313de92438054fa649097dfc8 | # Copyright 2017 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/contrib/kfac/python/ops/utils_lib.py | benoitsteiner/tensorflow-opencl | apache-2.0 | 1,520 | 45 | codeparrot/github-code |
44346a88d20c4bdf34b62db27373f2282e4f2c38d90a889aa0315ff118d2a5d5 | /*
* 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 | gobblin-data-management/src/main/java/org/apache/gobblin/data/management/retention/action/AccessControlAction.java | aditya1105/gobblin | apache-2.0 | 6,736 | 169 | codeparrot/github-code |
48074e0c985db64190256c0749c7068637b8db4dc182b24e38633077880d9a3c | /*
* 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 ... | JavaScript | eagle-server/src/main/webapp/app/dev/public/js/services/alertSrv.js | qingwen220/eagle | apache-2.0 | 2,048 | 66 | codeparrot/github-code |
072efda60cd20eaaf71aa36c474ffdf7696cc164b37b5f8bf9df0eeddacd2d69 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | modules/core/src/test/java/org/apache/ignite/spi/checkpoint/jdbc/JdbcCheckpointSpiCustomConfigSelfTest.java | akuznetsov-gridgain/ignite | apache-2.0 | 1,829 | 48 | codeparrot/github-code |
40898b38f87d28d7d39a2358d90323c94d8b0c34e49a050e3985b52cd1e67504 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/blob/ds/MongoDataStoreBlobGCTest.java | trekawek/jackrabbit-oak | apache-2.0 | 2,161 | 61 | codeparrot/github-code |
a0e91e2a32f03c953eceefa1f2fe1df6f2de8553741ad37d97cacfc7113785a1 | /*
* 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/java-exec/src/main/java/org/apache/drill/exec/physical/impl/validate/IteratorValidatorCreator.java | apache/drill | apache-2.0 | 2,373 | 49 | codeparrot/github-code |
eee76bf8c515331efadb39e85a2c75f223888e29bcd20c8880ea7a5ab4e126ee | <?php
require_once(dirname(dirname(__FILE__)) . '/libextinc/OAuth.php');
/**
* OAuth Store
*
* Updated version, works with consumer-callbacks, certificates and 1.0-RevA protocol
* behaviour (requestToken-callbacks and verifiers)
*
* @author Andreas Åkre Solberg, <andreas.solberg@uninett.no>, UNINETT AS.
* @au... | PHP | tiqr/tiqr-client/modules/oauth/lib/OAuthStore.php | RKathees/is-connectors | apache-2.0 | 7,851 | 187 | codeparrot/github-code |
1cfc96387a110c23648edcbd2fe72723dfaa62b509851ac84b29fcb061a5d008 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Licen... | Java | core/src/main/java/io/undertow/predicate/IdempotentPredicate.java | stuartwdouglas/undertow | apache-2.0 | 2,348 | 86 | codeparrot/github-code |
54650eaa4d0699434dfcf9fbe63f2da350fed96fb096055ef91d2ef538e0bc55 | /*
Copyright 2016 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 | mungegithub/github/status_change.go | piosz/test-infra | apache-2.0 | 2,311 | 80 | codeparrot/github-code |
fb0fbc0ffa886fd595e6e4b3a4481a032f273e473793efa1f3712d1a87a98893 | // Copyright 2021 The Crashpad 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 ... | C | util/ios/ios_intermediate_dump_data.h | chromium/crashpad | apache-2.0 | 2,243 | 70 | codeparrot/github-code |
52ef6d067f769485f6531c6f8cafaafe54d37321ca7d7e297a6602bd5ee17cc8 | /*
* 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-cxf/src/test/java/org/apache/camel/component/cxf/converter/MyCxfCustomerConverter.java | nikhilvibhav/camel | apache-2.0 | 1,868 | 52 | codeparrot/github-code |
483a927e6e014955fe5d5cee504ece665a1f600ec1a3cb235ca3bcbc2850bf70 | package builds
import (
"fmt"
"path/filepath"
"strings"
"time"
g "github.com/onsi/ginkgo"
o "github.com/onsi/gomega"
"k8s.io/kubernetes/test/e2e"
exutil "github.com/openshift/origin/test/extended/util"
)
var _ = g.Describe("default: S2I incremental build with push and pull to authenticated registry", func()... | GO | test/extended/builds/sti_incremental.go | pkdevbox/origin | apache-2.0 | 3,417 | 92 | codeparrot/github-code |
b8e20cf35cf0ae415574766a3b542cc9c161b43f720f2e9f8a2cd5d9f0170a8f | /*
* 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 ... | Scala | flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/plan/rules/physical/stream/StreamPhysicalWindowDeduplicateRule.scala | apache/flink | apache-2.0 | 4,011 | 96 | codeparrot/github-code |
6dd7085e05829b2dc007e64a9c3c73a92e9768f2de5f25b21b842224ad63a513 | //===--- SILDebugInfoGenerator.cpp - Writes a SIL file for debugging ------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LI... | C++ | lib/SILOptimizer/UtilityPasses/SILDebugInfoGenerator.cpp | russbishop/swift | apache-2.0 | 5,535 | 170 | codeparrot/github-code |
e6fb611deec37732a3e73a269bc914ede820e0e20ef0dafe2482734c5cf63e6e | // ----------------------------------------------------------------------------------
//
// 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.ResourceManager/Cmdlets/Implementation/ResourceGroups/NewAzureResourceGroupCmdlet.cs | AzureAutomationTeam/azure-powershell | apache-2.0 | 2,739 | 62 | codeparrot/github-code |
c9d2177ce8c6f341153b62b18be9eaa2615ba79d8e5603451fdad9fc4d069adc | /**
* Copyright 2005-2015 The Kuali Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl2.php
*
* Unless required by a... | Java | rice-framework/krad-app-framework/src/main/java/org/kuali/rice/krad/util/BeanPropertyComparator.java | jruchcolo/rice-cd | apache-2.0 | 6,807 | 178 | codeparrot/github-code |
c08ebfd3e1ebfc9abe2622cc25bc033c91ea6b48bacf786da37de411281bb003 | /**
*
* 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 | container/openejb-core/src/test/java/org/apache/openejb/core/mdb/MdbInvoker.java | apache/openejb | apache-2.0 | 5,024 | 126 | codeparrot/github-code |
7e5de262d69852daf415a091e6b9ed7d07eafdb321850980de1edb050c12862a | /*
* Copyright 2014 NAVER Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | Java | collector/src/main/java/com/navercorp/pinpoint/collector/cluster/route/DefaultRouteHandler.java | dawidmalina/pinpoint | apache-2.0 | 4,382 | 115 | codeparrot/github-code |
d7cc5a3201494d33424a7a39f78b6e9617c60e301c6e8c7cda4e5eb98a8b4401 | /*
* 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-twitter/src/main/java/org/apache/camel/component/twitter/search/SearchConsumerHandler.java | nikhilvibhav/camel | apache-2.0 | 4,705 | 135 | codeparrot/github-code |
c46d5cced95ec37632a2e487a2c9c2e5afdbdd31bac1273f404e14c77c4c3ca4 | /*
*
* Copyright 2015 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... | Java | springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyClass.java | zhiqinghuang/springfox | apache-2.0 | 11,454 | 391 | codeparrot/github-code |
efafbed6ca2e1e504c9656d0f86bd7053e9ca6f4d82444c14d706ab3f10effcd | from Child import Child
from Node import Node # noqa: I201
AVAILABILITY_NODES = [
# availability-spec-list -> availability-entry availability-spec-list?
Node('AvailabilitySpecList', kind='SyntaxCollection',
element='AvailabilityArgument'),
# Wrapper for all the different entries that may occur i... | Python | utils/gyb_syntax_support/AvailabilityNodes.py | austinzheng/swift | apache-2.0 | 4,872 | 107 | codeparrot/github-code |
b9344784bcfafe9ca22f33dc9e4a7e1e64135f99b45862ab65ccb7ea42bd00b0 | /* Implementation of the SET_EXPONENT intrinsic
Copyright 2003 Free Software Foundation, Inc.
Contributed by Richard Henderson <rth@redhat.com>.
This file is part of the GNU Fortran 95 runtime library (libgfortran).
Libgfortran is free software; you can redistribute it and/or
modify it under the terms of the GN... | C | tools/source/gcc-4.2.4/libgfortran/generated/set_exponent_r16.c | shaotuanchen/sunflower_exp | bsd-3-clause | 1,802 | 49 | codeparrot/github-code |
00b0a45969325f0724a28dd1981ff225550051b26a39565b5714a92926638388 | /**
* @license
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be f... | JavaScript | src/CustomElements/observe.js | tachyon1337/webcomponentsjs | bsd-3-clause | 9,347 | 310 | codeparrot/github-code |
9c514b0dda262f7671903e017f1c07aed7fa2077fc3efa50a8f1f0b4fb6044b0 | /*
* 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 conditions ... | C++ | Source/core/workers/WorkerEventQueue.cpp | xin3liang/platform_external_chromium_org_third_party_WebKit | bsd-3-clause | 4,525 | 149 | codeparrot/github-code |
bbbd7af5e1d68f4b4abf9f987522c47307e60741dcefe5e21f5f2ef006a919fe | #!/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.
"""Generator for C++ structs from api json files.
The purpose of this tool is to remove the need for hand-written code that
convert... | Python | tools/json_schema_compiler/compiler.py | heke123/chromium-crosswalk | bsd-3-clause | 8,474 | 216 | codeparrot/github-code |
2440b7cd24d7cf741a4deee6c391e827a41eef30ef41273e0b55d2b94d71b01e | // 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 EXTENSIONS_COMMON_VIEW_TYPE_H_
#define EXTENSIONS_COMMON_VIEW_TYPE_H_
namespace extensions {
// Icky RTTI used by a few systems to distingui... | C | extensions/common/view_type.h | boundarydevices/android_external_chromium_org | bsd-3-clause | 1,293 | 43 | codeparrot/github-code |
ae415b7f6647e1acd6f0ee4b522f2e43720f47f3aae6fe4e0132af07e16284f9 | /*
* Copyright (C) 2012 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 conditions... | C++ | Source/core/rendering/RenderThemeChromiumFontProviderLinux.cpp | temasek/android_external_chromium_org_third_party_WebKit | bsd-3-clause | 2,746 | 72 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.