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 |
|---|---|---|---|---|---|---|---|---|
3506eaa20ea06b56b676ff90a07e195727f130befcddd1c285cd96fd8ea3b5ff | class Libid3tag < Formula
desc "ID3 tag manipulation library"
homepage "http://www.underbit.com/products/mad/"
url "https://downloads.sourceforge.net/project/mad/libid3tag/0.15.1b/libid3tag-0.15.1b.tar.gz"
sha256 "63da4f6e7997278f8a3fef4c6a372d342f705051d1eeb6a46a86b03610e26151"
bottle do
cellar :any
... | Ruby | Library/Formula/libid3tag.rb | sakra/homebrew | bsd-2-clause | 2,720 | 70 | codeparrot/github-code |
8107a9aaa19b757071554da35ae02816941b73f0cf59ca3bfb39182852c75b1d | /* Set up combined include path for the preprocessor.
Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; ei... | C | tools/toolchain/android-toolchain-eabi/lib/gcc/arm-eabi/4.4.3/plugin/include/incpath.h | drod2169/KangBang-AOSP-BFS | gpl-2.0 | 1,510 | 37 | codeparrot/github-code |
f54fcd31e477e619d8d15db6b1cfcd01600f45f9102ef88f9f96d4bd91815492 | #ifndef HW_PPC_H
#define HW_PPC_H 1
void ppc_set_irq(PowerPCCPU *cpu, int n_IRQ, int level);
/* PowerPC hardware exceptions management helpers */
typedef void (*clk_setup_cb)(void *opaque, uint32_t freq);
typedef struct clk_setup_t clk_setup_t;
struct clk_setup_t {
clk_setup_cb cb;
void *opaque;
};
static inl... | C | tools/qemu-xen/include/hw/ppc/ppc.h | emonty/vhd-util | gpl-2.0 | 3,753 | 99 | codeparrot/github-code |
76e540ece581d3f717585fd5fe0b72552811e80c385c6cb152cd1af14fcd56e6 | // (C) Copyright Gennadiy Rozental 2001.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/test for the library home page.
//
// File : $RCSfile$
//
// Version : ... | C++ | thirdparty/sources/boost_1_60_0/boost/test/utils/runtime/argument_factory.hpp | gwq5210/litlib | gpl-3.0 | 7,773 | 243 | codeparrot/github-code |
b0bb6de2fb7fc6be6779d71e78a829148856a149d0770fe7687c2fc57cc4aff4 | 'use strict';
var fs = require('fs');
var info = [];
var reg = /^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i;
var root = require('./config').url.host || '';
var m;
var extUrls = function(obj) {
for (var key in obj) {
if (obj.hasOwnProperty(key)) {
if (key == 'link') {
m = obj[key].match(reg);
if ... | JavaScript | lib/welcome-panel.js | mingzeke/jsbin | mit | 942 | 49 | codeparrot/github-code |
a1c6f1674e191d7d96c706f0314d4ae671b5e1117b1aa8107e93ca7a7f564aeb | (function(define, undefined) {
'use strict';
define(['annotator_1.2.9'], function(Annotator) {
/**
* Modifies Annotator.Plugin.Store.prototype._onError to show custom error message
* if sent by server
*/
var originalErrorHandler = Annotator.Plugin.Store.prototype._onError;
An... | JavaScript | lms/static_sav/js/edxnotes/plugins/store_error_handler.js | TheMOOCAgency/edx-platform | agpl-3.0 | 1,180 | 34 | codeparrot/github-code |
ffc17600d4885524b13944a0941930cc1a632067b09ea161f786892663c1c5b6 | package hello;
import java.net.URI;
import java.util.HashMap;
import java.util.Map;
import javax.ws.rs.core.UriBuilder;
import org.apache.commons.cli.BasicParser;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.Options;
import org.glassfish.gr... | Java | grizzly-jersey/src/main/java/hello/JerseyWebServer.java | seem-sky/FrameworkBenchmarks | bsd-3-clause | 2,441 | 80 | codeparrot/github-code |
ffe65c08166a9eba8399690f6724ea5c1afe2cc1f4eeef1a15355808252e0f7b | /**
* Globalize v1.1.0-rc.8
*
* http://github.com/jquery/globalize
*
* Copyright 2010, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2016-01-18T20:38Z
*/
/*!
* Globalize v1.1.0-rc.8 2016-01-18T20:38Z Released under the MIT license
... | JavaScript | ajax/libs/globalize/1.1.0-rc.8/globalize/unit.js | Piicksarn/cdnjs | mit | 8,006 | 301 | codeparrot/github-code |
809177c24dbc2be9186b9ececca6bf32380fcba0f5c7a836fe4e22fe6c999853 | #include QMK_KEYBOARD_H
#include "keymap_german.h"
extern keymap_config_t keymap_config;
extern rgblight_config_t rgblight_config;
// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
//... | C | keyboards/redox/keymaps/german/keymap.c | paxy97/qmk_firmware | gpl-2.0 | 8,011 | 97 | codeparrot/github-code |
8ca6c879e4991f8af42a5918bb1bac54e3901909c21ddb47fd5cec5ca4cbba3a | <?php
/**
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.view');
/**
* HTML Article View class for the Weblinks ... | PHP | tmp/install_4f31d69ae5bd9/components/com_weblinks/views/form/view.html.php | SuperFamousGuy/AdLib | gpl-2.0 | 3,148 | 124 | codeparrot/github-code |
9d58fa87155c075063982986beb99c797b1da78438fbad35412f935d220241d2 | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2010 Alfredo Correa
// Copyright (c) 2010-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2016 Norbert Wenzel
// Use, modification and distribution is subject to the Boost Software License,
// Version 1.0. (See accompanying file ... | C++ | thirdparty/boost_1_67_0/boost/geometry/geometries/adapted/std_array.hpp | zcobell/MetOceanViewer | gpl-3.0 | 2,874 | 116 | codeparrot/github-code |
3391a31bdae5cc7d5296194d571f0bb5dc1c101ceff3082bfbe500f0c681a162 | # Licensed to the Software Freedom Conservancy (SFC) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The SFC licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | Python | py/test/selenium/webdriver/common/page_loading_tests.py | jerome-jacob/selenium | apache-2.0 | 5,014 | 133 | codeparrot/github-code |
b39a0dd6b11c20d83d7e6ecf3181f9cb711b1cd010d8efaa94be32a6c1601e9f | // 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.
//
// File: eventtrace.h
// Abstract: This module implements Event Tracing support. This includes
// eventtracebase.... | C | src/inc/eventtrace.h | krk/coreclr | mit | 14,431 | 362 | codeparrot/github-code |
fb60a3be2235eb1aa9257ca1fabee58a8f1c21d807ca82b98aa740a2918164c8 | <!doctype html>
<html>
<head>
<title>CS256: Mobile Web Development - first breakpoint</title>
<link href="//fonts.googleapis.com/css?family=Roboto:400,300,200,100&subset=latin,cyrillic" rel="stylesheet">
<!-- // [start style] -->
<style>
body {
margin: 0;
padding: 0;
}
... | HTML | src/site/getting-started/your-first-multi-screen-site/_code/firstbreakpoint.html | laispace/WebFundamentals | apache-2.0 | 9,079 | 324 | codeparrot/github-code |
fbc252c33c69ae11842a38c28db1f7ab041e0c342898389a9caedda4ab8c8bee | ο»Ώ// 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;
namespace Microsoft.CodeAnalysis.Syntax.InternalSyntax
{
internal partial struct ChildSyntaxList
{
... | C# | src/Main/MetaDslx.CodeAnalysis.Common/Syntax/InternalSyntax/ChildSyntaxList.Reversed.cs | balazssimon/meta-cs | apache-2.0 | 1,139 | 46 | codeparrot/github-code |
4319c102b779be2466866c8335a8cf2e3aa9dea278656b1d36a6a6192d683474 | package cc.mallet.cluster.iterator;
import java.util.Iterator;
import cc.mallet.cluster.Clustering;
import cc.mallet.types.Instance;
/**
* Sample Instances with data objects equal to {@link Neighbor}s. This
* class is mainly used to generate training Instances from a true
* {@link Clustering}.
*
* @author "Aron... | Java | tools/mallet-2.0.7/src/cc/mallet/cluster/iterator/NeighborIterator.java | jyt109/termite-data-server | bsd-3-clause | 859 | 34 | codeparrot/github-code |
e4cd2c7bf0fb77875f250b8f5a6ba4e5fccae88e2c7ff6ef3764368b6352c935 | //===- Commit.h - A unit of edits -------------------------------*- C++ -*-===//
//
// 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/clang/include/clang/Edit/Commit.h | endlessm/chromium-browser | bsd-3-clause | 5,336 | 155 | codeparrot/github-code |
7c7eba005ac7e1ad185feed10a25ff87f26004524678039adfb2c80b84271f2b | /* -*- C++ -*- */
//==========================================================================
/**
* @file Event_Handler.h
*
* $Id: Event_Handler.h 92345 2010-10-24 12:39:33Z johnnyw $
*
* @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
*/
//===============================================================... | C | ΠΠΎΠ²Π° ΠΏΠ°ΠΏΠΊΠ°/dep/acelite/ace/Event_Handler.h | Ikesters/TrinityCore-5.0.5b | gpl-2.0 | 11,261 | 391 | codeparrot/github-code |
181190d39ec4dfbc4af6afc2c788977b838b37bc4f6a6bfa731dfde2249ff246 | /*=============================================================================
Copyright (c) 2001-2010 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
=========================================... | C++ | vegastrike/boost/1_45/boost/spirit/home/support/lazy.hpp | Ezeer/VegaStrike_win32FR | mit | 1,073 | 38 | codeparrot/github-code |
8e18f7fc10026b11259c03d3bfd63962234fdf0bd0746e91f24012c94ca6e9b3 | var Vue = require('../../../../src/vue')
var _ = require('../../../../src/util')
var compiler = require('../../../../src/compiler')
describe('Partial', function () {
var el
beforeEach(function () {
el = document.createElement('div')
})
it('static', function (done) {
var vm = new Vue({
el: el,
... | JavaScript | test/unit/specs/element-directives/partial_spec.js | KuroGuo/vue | mit | 2,258 | 99 | codeparrot/github-code |
ded340f1f52772804eec8be78d1f29e027be87102586ebe3364227559b6e65e7 | /*
* Copyright (C) 2016 Socionext Inc.
* Author: Masahiro Yamada <yamada.masahiro@socionext.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* ... | C | drivers/mmc/host/sdhci-cadence.c | HarveyHunt/linux | gpl-2.0 | 11,859 | 447 | codeparrot/github-code |
cb26c7c6999337ddc13e6072f6d88c8990cef914972856f40015cf87358d86a1 | /*
* Copyright(c) 2011-2016 Intel Corporation. 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 rights to u... | C | linux-5.8/drivers/gpu/drm/i915/gvt/interrupt.c | CSE3320/kernel-code | gpl-2.0 | 24,033 | 716 | codeparrot/github-code |
e8dd9906cdf20e6c9ace0571fde07805e9510decc6daaa17fc8f4fd163969026 | <?php
if ( ! class_exists( 'GFForms' ) ) {
die();
}
class GF_Field_Post_Custom_Field extends GF_Field {
public $type = 'post_custom_field';
public function get_form_editor_field_title() {
return esc_attr__( 'Custom Field', 'gravityforms' );
}
function get_form_editor_field_settings() {
return array(
'p... | PHP | wp-content/plugins/gravityforms/includes/fields/class-gf-field-post-custom-field.php | nhainam/wordpress4 | gpl-2.0 | 1,959 | 68 | codeparrot/github-code |
6869928da750b798d1b8cef9edbb6ad856adc2402039ebd84be8393bff8d11d3 | /*
* 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/streaming/StreamOperationTest.java | belliottsmith/cassandra | apache-2.0 | 2,202 | 48 | codeparrot/github-code |
e3519af8f31762ec27cf46cac6233ceb79c12fe5eadf620647b5592b33061c5d | /*
*
* Programmable Interrupt Controller functions for the Freescale MPC52xx.
*
* Copyright (C) 2006 bplan GmbH
*
* Based on the code from the 2.4 kernel by
* Dale Farnsworth <dfarnsworth@mvista.com> and Kent Borg.
*
* Copyright (C) 2004 Sylvain Munaut <tnt@246tNt.com>
* Copyright (C) 2003 Montavista Software... | C | snapgear_linux/linux-2.6.21.1/arch/powerpc/platforms/52xx/mpc52xx_pic.c | impedimentToProgress/UCI-BlueChip | mit | 10,911 | 474 | codeparrot/github-code |
9cda1e3960da29aea472fb1adf9cb0c9caa4b071f7e94c6b53ce494f8129fac4 | /*
* Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __ASM_ARCH_MXC_COMMON_H__
#define _... | C | arch/arm/plat-mxc/include/mach/common.h | AccentureMobilityServices/kernel | gpl-2.0 | 1,938 | 55 | codeparrot/github-code |
1e88ef826106f3f29d11f12ad6ef0e5b44a356a0ad1a4da4c32f4b5bac7cf0dd | /*
* Copyright (c) 2011,2016 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifdef CONFIG_EXYNOS_IOMMU_DEBUG
#defi... | C | linux/drivers/iommu/exynos-iommu.c | mkvdv/au-linux-kernel-autumn-2017 | gpl-3.0 | 39,761 | 1,411 | codeparrot/github-code |
d1f03ee5825b77042f9ef8c8b73fb616c4720b127446c8f02b6d0a82161bbc4f | /*
* fs/partitions/check.c
*
* Code extracted from drivers/block/genhd.c
* Copyright (C) 1991-1998 Linus Torvalds
* Re-organised Feb 1998 Russell King
*
* We now have independent partition support from the
* block drivers, which allows all the partition code to
* be grouped in one location, and it to b... | C | linux_kernel_galaxyplayer-master/fs/partitions/check.c | KOala888/GB_kernel | gpl-2.0 | 19,294 | 780 | codeparrot/github-code |
4c0194e9c2ea18d0b0449c55a1f659b462fedfe45234ea5fb5a0453e899ed5e1 | // SPDX-License-Identifier: GPL-2.0-or-later
/*
* TTUSB DEC Driver
*
* Copyright (C) 2003-2004 Alex Woods <linux-dvb@giblets.org>
* IR support by Peter Beutner <p.beutner@gmx.net>
*/
#include <linux/list.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#inclu... | C | linux-5.8/drivers/media/usb/ttusb-dec/ttusb_dec.c | CSE3320/kernel-code | gpl-2.0 | 40,969 | 1,796 | codeparrot/github-code |
d79b8c29b120f59f5250b99bbe0efd078c22970fa2201c0276892e3ba1ba818f | /*
*
* (C) COPYRIGHT 2011-2013 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the
* GNU General Public License version 2 as published by the Free Software
* Foundation, and any use by you of this program is subject to the terms
* of such GNU licence.... | C | kernel-src/drivers/gpu/arm/t6xx/kbase/src/common/mali_kbase_trace_defs.h | nbars/Custom-Kernel-SM-P600 | gpl-2.0 | 10,590 | 227 | codeparrot/github-code |
e62d5fce52cd8621e91d85069aef4065987cd1a15ff16110061af480ceb54343 | /*
* Copyright (C) 2007, 2008 Freescale Semiconductor, Inc. All rights reserved.
*
* Author: John Rigby, <jrigby@freescale.com>, Thur Mar 29 2007
*
* Description:
* MPC5121 ADS board setup
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as... | C | unionfs-3.10.y/arch/powerpc/platforms/512x/mpc5121_ads.c | prasidh09/cse506 | gpl-2.0 | 1,793 | 78 | codeparrot/github-code |
e42b9202280d5f23320ae312deca97b5931c84147e8020fd4d475d717ab41bd9 | // SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2016 MediaTek Inc.
* Author: Andrew-CT Chen <andrew-ct.chen@mediatek.com>
*/
#include <linux/clk.h>
#include <linux/debugfs.h>
#include <linux/firmware.h>
#include <linux/interrupt.h>
#include <linux/iommu.h>
#include <linux/module.h>
#include <linux/of_addres... | C | drivers/media/platform/mtk-vpu/mtk_vpu.c | mpe/powerpc | gpl-2.0 | 26,630 | 1,061 | codeparrot/github-code |
8a438e6635d053b5e47690e2d713bf2f2e8fbcd38fbc3f5e4c181660aa84f301 | //===-- ubsan_type_hash.cc ------------------------------------------------===//
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// Implementation of a hash table f... | C++ | libsanitizer/ubsan/ubsan_type_hash.cc | sudosurootdev/gcc | gpl-2.0 | 8,609 | 249 | codeparrot/github-code |
7284e5ab1a1b68f052aebd0def73f6ed1ed432e7380496ce2e7e8d321fc4a438 | /**
* Copyright 1999-2014 dangdang.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 by applicable law or a... | Java | dubbo-osp/dubbo-osp-api/src/main/java/com/alibaba/dubbo/demo/bid/BidResponse.java | wufuwei/dubbox | apache-2.0 | 1,119 | 45 | codeparrot/github-code |
73ee6c1d4ee285f96a5ae0d43333d5e82996206f49945298f5952525ad6706d1 | /**
* @license MIT
*/
(function(window, document, undefined) {'use strict';
/**
* Flow.js is a library providing multiple simultaneous, stable and
* resumable uploads via the HTML5 File API.
* @param [opts]
* @param {number} [opts.chunkSize]
* @param {bool} [opts.forceChunkSize]
* @par... | JavaScript | ajax/libs/ng-flow/2.1.3/ng-flow.js | kartikrao31/cdnjs | mit | 45,264 | 1,645 | codeparrot/github-code |
f509b52b87a57391ef5eac9f1d8647c1050eb7328ef0f48bf33fca72ce9f78d4 | // SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
// Copyright (c) 2019 Hisilicon Limited.
#include "hnae3.h"
#include "hns_roce_device.h"
#include "hns_roce_cmd.h"
#include "hns_roce_hw_v2.h"
int hns_roce_v2_query_cqc_info(struct hns_roce_dev *hr_dev, u32 cqn,
int *buffer)
{
struct hns_roce_v2_cq_cont... | C | linux-5.8/drivers/infiniband/hw/hns/hns_roce_hw_v2_dfx.c | CSE3320/kernel-code | gpl-2.0 | 849 | 36 | codeparrot/github-code |
6167d1eb2426fcaf4fd500551a98906e5306ca76d7a0226ac93f5f752030aa02 | /****************************************************************************
* Copyright (c) 2007,2008 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy ... | C | src/ncurses/test/key_names.c | darlinghq/darling | gpl-3.0 | 3,298 | 94 | codeparrot/github-code |
b53ebca113f6efb73143a71cdb2058679b5ee9b2e855a125a927f5e9b056ce4c | /**
* Copyright 2015 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | Java | src/test/java/rx/SingleTest.java | marcogarcia23/RxJava | apache-2.0 | 13,863 | 465 | codeparrot/github-code |
20096f586e19566d9553f31ebdfc3316c37856953548bf306fb4dd06af0ca9b4 | /*
* Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | Java | testing/openjdk2/jdk/test/java/rmi/transport/checkFQDN/CheckFQDNClient.java | rokn/Count_Words_2015 | mit | 3,626 | 113 | codeparrot/github-code |
ebaf0f2accfaa6edd4cb8600846335f03a041c1e3ebea40ffc6dd676c2dca08a | #ifndef PCL_TRACKING_IMPL_TRACKING_H_
#define PCL_TRACKING_IMPL_TRACKING_H_
#include <pcl/common/eigen.h>
#include <ctime>
#include <pcl/tracking/boost.h>
#include <pcl/tracking/tracking.h>
namespace pcl
{
namespace tracking
{
struct _ParticleXYZRPY
{
PCL_ADD_POINT4D;
union
{
str... | C++ | tracking/include/pcl/tracking/impl/tracking.hpp | raydtang/pcl | bsd-3-clause | 20,487 | 784 | codeparrot/github-code |
35dfe97bc69d42726e6319d699599de0b91b1ca75d4a41140a5d2b22dd899553 | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (c) 2005 Silicon Graphics, Inc. All rights reserved.
*/
/*
* MOATB Core Services driver.
*/
#include <linux/interrupt.h>
#... | C | virt/drivers/char/mbcs.c | talnoah/android_kernel_htc_dlx | gpl-2.0 | 20,339 | 853 | codeparrot/github-code |
af7cf8f3edef68a92fb1a7639c789cd9e577f393a9c5e04e445e0f1fc514278b | /*
* Copyright (c) 2016 Mellanox Technologies Ltd. All rights reserved.
* Copyright (c) 2015 System Fabric Works, 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) Versio... | C | linux-5.4/drivers/infiniband/sw/rxe/rxe_net.c | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 15,970 | 694 | codeparrot/github-code |
a2dfd92378f1d73defb8e875dedf91ecd53bbf53aa38b91ae7d736b8b41f2209 | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_VIEWS_BUBBLE_BUBBLE_H_
#define CHROME_BROWSER_UI_VIEWS_BUBBLE_BUBBLE_H_
#pragma once
#include "chrome/browser/ui/views/bubb... | C | external/chromium/chrome/browser/ui/views/bubble/bubble.h | xdajog/samsung_sources_i927 | gpl-2.0 | 7,365 | 218 | codeparrot/github-code |
9c86b0309647c5634552d4114412417e7389063d0ce3eec983567c4286c29f0b | /*
Copyright 2015 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | Java | src/main/java/com/google/security/zynamics/binnavi/Gui/Tutorials/CTutorialStartDialog.java | paran0ids0ul/binnavi | apache-2.0 | 5,326 | 185 | codeparrot/github-code |
622d4b1b32d8032f2bdef797065c2c4aec674c46062159dd4142a50a173d569c | /// <reference path="cldr.js.d.ts" />
Cldr.load({
"main": {
"en": {
"identity": {
"version": {
"_cldrVersion": "25",
"_number": "$Revision: 91 $"
},
"generation": {
"_date": "$Date: 2014-... | TypeScript | cldr.js/cldr.js-tests.ts | mareek/DefinitelyTyped | mit | 6,266 | 165 | codeparrot/github-code |
9a78cc38f3f8d9a70a7e7ab9e79d1efad08195e77a66a8a733565356e7415f84 | #
# cl.h - Compression Library typedefs and prototypes
#
# 01/07/92 Cleanup by Brian Knittel
# 02/18/92 Original Version by Brian Knittel
#
#
# originalFormat parameter values
#
from warnings import warnpy3k
warnpy3k("the CL_old module has been removed in Python 3.0", stacklevel=2)
del warnpy3k
MAX_NUMBER_O... | Python | work/install/Python-2.7.4/Lib/plat-irix5/CL_old.py | teeple/pns_server | gpl-2.0 | 6,162 | 241 | codeparrot/github-code |
f70e5a7570c80ad9ec12c1b284e320c8121dbaa097c05a6887718f4c1856f2b5 | /*
* Unix SMB/CIFS implementation.
* RPC Pipe client / server routines
* Almost completely rewritten by (C) Jeremy Allison 2005 - 2010
*
* 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 Foundati... | C | tools/darwin/depends/samba/samba-3.6.6/source3/rpc_server/srv_pipe_register.c | zarboz/XBMC-PVR-mac | gpl-2.0 | 5,944 | 244 | codeparrot/github-code |
0ff8922154ae6141e99db855165e35a5b762b1a402ac301ce19754bd23906f83 | /*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2009 Sam Lantinga
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 the Free Software Foundation; either
version 2.1 of the License, or (at your op... | C | src/loadso/win32/SDL_sysloadso.c | twinaphex/sdcell | lgpl-2.1 | 3,884 | 140 | codeparrot/github-code |
368c2c57f0faaee343201cc6398e7dec15dd65d46aaad37723b6a5657b583c3c | /* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the ho... | C | arch/arm/mach-msm/htc/m7ul/board-m7-gpiomux.c | Evervolv/android_kernel_hp_tenderloin | gpl-2.0 | 18,773 | 932 | codeparrot/github-code |
17ccf834992a1b74765c03f0eb3b0383f164b8b94406bc7be1939b7d90d65190 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
/*
* Copyright (c) 2014, Ericsson AB
* 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. Redistribution... | C | linux-4.14/include/uapi/linux/tipc_netlink.h | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 8,010 | 296 | codeparrot/github-code |
aa3a62cfcb65e22602bfb5835a4c88e0e92158ab0154b8b8c5dac1d87b62b6af | /*
* Dummy stubs used when CONFIG_POSIX_TIMERS=n
*
* Created by: Nicolas Pitre, July 2016
* Copyright: (C) 2016 Linaro Limited
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundati... | C | linux-4.14/kernel/time/posix-stubs.c | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 5,362 | 232 | codeparrot/github-code |
802387737334b31c381a90c02eff1bf845ee1aa22ee69254dc8becb9197dbb4c | /**
* @file Manages Salesforce Analytics API
* @author Shinichi Tomita <shinichi.tomita@gmail.com>
*/
var _ = require('underscore')._,
Promise = require('./promise');
/**
* Report instance to retrieving asynchronously executed result
*
* @protected
* @class Analytics~ReportInstance
* @param {Analyti... | JavaScript | lib/analytics.js | polidog/jsforce | mit | 5,103 | 175 | codeparrot/github-code |
df14dfe799ca828200bc72c4d7f3462e4643ac689182f66f06ca015f9b86ca0a | /*
* Special handling for DW core on Intel MID platform
*
* Copyright (c) 2009, 2014 Intel Corporation.
*
* 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.
*
* ... | C | src/kernel/drivers/spi/spi-dw-mid.c | HSAFoundation/HSA-Drivers-Linux-AMD | gpl-2.0 | 6,938 | 292 | codeparrot/github-code |
a2a3397d517a8b74196b94c0c28b154575167cc12ef2130058f39bd7332839f1 | // SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2014 by Pablo Neira Ayuso <pablo@netfilter.org>
*
* Based on code from ebt_log from:
*
* Bart De Schuymer <bdschuym@pandora.be>
* Harald Welte <laforge@netfilter.org>
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
#include <linux/modul... | C | net/ipv4/netfilter/nf_log_arp.c | GuillaumeSeren/linux | gpl-2.0 | 4,116 | 173 | codeparrot/github-code |
8ee5c2d8fb9573a155d232bf87b519ae1fbc6f41b23281d782207929e670d647 | 'use strict';
var _ = require('lodash');
var express = require('express');
var compression = require('compression');
var bodyParser = require('body-parser');
var prettyjson = require('prettyjson');
var path = require('path');
var fs = require('fs');
function create(env, ctx) {
var app = express();
var appInf... | JavaScript | app.js | tzweti/cgm-remote-monitor | agpl-3.0 | 6,308 | 204 | codeparrot/github-code |
4c0525126ed8b77b0e2aed1adb57e2362509cb4d5c4be6e02056ed3df89f50e4 | /******************************************************************************
*
* Module Name: evgpe - General Purpose Event handling and dispatch
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2014, Intel Corp.
* All rights reserved.
*
* Redistribu... | C | drivers/acpi/acpica/evgpe.c | bendooks/amlogic-kenel | gpl-2.0 | 23,229 | 796 | codeparrot/github-code |
b0aae2f841ae46a8843c57a9a12594697aa397201ea7524c91036304d053c6c4 | /*
* Linux driver for M2Tech hiFace compatible devices
*
* Copyright 2012-2013 (C) M2TECH S.r.l and Amarula Solutions B.V.
*
* Authors: Michael Trimarchi <michael@amarulasolutions.com>
* Antonio Ospite <ao2@amarulasolutions.com>
*
* The driver is based on the work done in TerraTec DMX 6Fire USB
*
*... | C | sound/usb/hiface/pcm.c | codeaurora-unoffical/linux-msm | gpl-2.0 | 15,328 | 628 | codeparrot/github-code |
4b6f5292c517dd8344c5fe2af12937bb5680c018af0aeed85f01d9552b067412 | /*
* Copyright (C) 2012 Russell King
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Armada 510 (aka Dove) variant support
*/
#include <linux/clk.h>
#include <linux/io.h>... | C | drivers/gpu/drm/armada/armada_510.c | raumfeld/linux-am33xx | gpl-2.0 | 2,065 | 84 | codeparrot/github-code |
e06190f99e7908aa4edf88e23d17d0a8bd9f9064b2f4b1d380b705f65d271332 | /**
* Copyright (C) ARM Limited 2010-2013. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/
#include "gator.h"
#include <trace/events/irq.h>
#define... | C | drivers/misc/mediatek/gator-driver/gator_events_irq.c | Tesla-Redux-Devices/android_kernel_mediatek_sprout | gpl-2.0 | 4,156 | 168 | codeparrot/github-code |
a1f4f285611ead8aba70e3b125f2b871bf271711195e443aaadb0fd8d1110272 | function openerp_pos_widgets(instance, module){ //module is instance.point_of_sale
var QWeb = instance.web.qweb;
var _t = instance.web._t;
module.DomCache = instance.web.Class.extend({
init: function(options){
options = options || {};
this.max_size = options.max_size || 2000;
... | JavaScript | openerp/addons/point_of_sale/static/src/js/widgets.js | nathanaevitas/odoo | agpl-3.0 | 50,461 | 1,272 | codeparrot/github-code |
d2e9e7dd5f78ef9599dd2a9bf8b2464e4a3b127214a771f2890543af00d0c2c6 | // SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2018 exceet electronics GmbH
* Copyright (c) 2018 Kontron Electronics GmbH
*
* Author: Frieder Schrempf <frieder.schrempf@kontron.de>
*/
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/mtd/spinand.h>
#define SPINAND_MFR_TOSHIBA 0x98
#def... | C | linux-5.4/drivers/mtd/nand/spi/toshiba.c | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 5,151 | 189 | codeparrot/github-code |
5e7c2d0faf3c0f21e5536b9c023bb68d7462ccff7745c9e27a3a1f6bb336042c | /*
* net/dccp/output.c
*
* An implementation of the DCCP protocol
* Arnaldo Carvalho de Melo <acme@conectiva.com.br>
*
* 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
... | C | source/net/dccp/output.c | ziqiaozhou/cachebar | gpl-2.0 | 20,671 | 699 | codeparrot/github-code |
f3472bf1d70c6a722a9f526479f0bfb271797d0dbaa11adde56c63cff1ca1152 | /*!
* Jasny Bootstrap v3.1.0 (http://jasny.github.io/bootstrap)
* Copyright 2012-2014 Arnold Daniels
* Licensed under Apache-2.0 (https://github.com/jasny/bootstrap/blob/master/LICENSE)
*/
if (typeof jQuery === 'undefined') { throw new Error('Jasny Bootstrap\'s JavaScript requires jQuery') }
/* ==================... | JavaScript | wolf-app/sea-modules/jasny.bootstrap/extend/js/jasny-bootstrap.js | tim-tang/arctic-wolf | mit | 28,422 | 942 | codeparrot/github-code |
5795ab5d6f82928b4d4857549fa6e783fb046efb063271eadef990a1db6f4058 | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | PHP | web/zend/library/Zend/Validator/File/Hash.php | allengaller/a4c-nin-api | mit | 4,934 | 176 | codeparrot/github-code |
2d32aa0ab787f29b926be05b50a5568be86ecac0c4528123a3736317b6aefe4f | /*
* Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | C++ | src/share/vm/libadt/dict.hpp | lewurm/graal | gpl-2.0 | 4,995 | 121 | codeparrot/github-code |
14e3c32ba31f917890a2a9916c2d160e249974a9423139040f72c31bec63b08f | /* Copyright (c) 2006-2011 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the Clear BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the
* full text of the license. */
/**
* @requires OpenLayers/Control.js
*/
/**
* Class: OpenLayers... | JavaScript | www/ukravtodor/www/js/ol/lib/OpenLayers/Control/MousePosition.js | DmytroBiriukov/datacentre | gpl-2.0 | 4,957 | 211 | codeparrot/github-code |
edb437ad11dad7c2cb209b72606ce038c320b9afce8e9a63ff1d67382ef72649 | /*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2012 Sam Lantinga
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 the Free Software Foundation; either
version 2.1 of the License, or (at your op... | C | vs/sdl/src/thread/riscos/SDL_sysmutex.c | joncampbell123/dosbox-x | gpl-2.0 | 3,670 | 154 | codeparrot/github-code |
9edb8b78b6269668e0840243af9baf1b772d4ce51b7888712d00c3684ca5c4f6 | /*! \page License
* Copyright (C) 2009, H&D Wireless AB 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 li... | C | zap-2.3.0-windows/papilio-zap-ide/hardware/arduino/avr/firmwares/wifishield/wifiHD/src/avr32_spi.c | chcbaram/FPGA | mit | 11,771 | 395 | codeparrot/github-code |
ba2d83a10ca5d496500bd938edef828da3df9ff160c7d6115ff938b7a59ee3fe | /*
* Marvell Wireless LAN device driver: debugfs
*
* Copyright (C) 2011, Marvell International Ltd.
*
* This software file (the "File") is distributed by Marvell International
* Ltd. under the terms of the GNU General Public License Version 2, June 1991
* (the "License"). You may use, redistribute and/or modify... | C | drivers/net/wireless/mwifiex/debugfs.c | matthew-l-weber/linux-3-10-rc1-moxart | gpl-2.0 | 21,452 | 746 | codeparrot/github-code |
e27375164f443ad5e510b2253b5454cfbb873ea94ba0df41def5e0d4a7841282 | /*
* This file is provided under a dual BSD/GPLv2 license. When using or
* redistributing this file, you may do so under either license.
*
* GPL LICENSE SUMMARY
*
* Copyright (c) 2016 BayLibre, SAS.
* Author: Neil Armstrong <narmstrong@baylibre.com>
* Copyright (C) 2014 Amlogic, Inc.
*
* This program is free... | C | linux/drivers/pwm/pwm-meson.c | mkvdv/au-linux-kernel-autumn-2017 | gpl-3.0 | 13,743 | 530 | codeparrot/github-code |
b6cc89484213eec4407ceeeaa474634ef79a47b68c04fe7fd6ced982cea4f173 | /*
* Superfish v1.7.3 - jQuery menu widget
* Copyright (c) 2013 Joel Birch
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*/
;(function($) {
"use strict";
var methods = (function(){
// private properties and meth... | JavaScript | wp-content/upgrade/themes/main/js/superfish.js | trungjc/ease | gpl-2.0 | 6,953 | 258 | codeparrot/github-code |
728592597d94af7eece66e8f4872b9d68802f0ce145fab23f813f20450f92834 | /*
* An implementation of the Acorn Econet and AUN protocols.
* Philip Blundell <philb@gnu.org>
*
* 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... | C | net/econet/af_econet.c | mantera/WX_435_Kernel-CM7 | gpl-2.0 | 25,455 | 1,172 | codeparrot/github-code |
6571e2d9b9045ca3f7ed889af6b67255044286b5e7635766b261eac52c2542c8 | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java | camel-core/src/test/java/org/apache/camel/builder/NotifyBuilderTest.java | nikvaessen/camel | apache-2.0 | 34,416 | 1,015 | codeparrot/github-code |
d9e5177e279e73572ca1319d539d2576cb5829aeb8adc651afce3f128be70ac1 | /*
* Copyright (C) 2015 Red Hat. All rights reserved.
*
* This file is released under the GPL.
*/
#include "dm-cache-policy.h"
#include "dm-cache-policy-internal.h"
#include "dm.h"
#include <linux/hash.h>
#include <linux/jiffies.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/vmalloc.h>
#inc... | C | kernel/drivers/md/dm-cache-policy-smq.c | Seagate/SMR_FS-EXT4 | gpl-2.0 | 40,769 | 1,794 | codeparrot/github-code |
0240fe59088b121bb5089dd874699076030861cf69e7b16b2433f4ec41948d81 | /*
* jcapistd.c
*
* Copyright (C) 1994-1995, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains application interface code for the compression half
* of the JPEG library. These are the ... | C | utils/tgajpg/jcapistd.c | ioquake/jedi-outcast | gpl-2.0 | 5,878 | 162 | codeparrot/github-code |
607372071b37c4bd229ea4d491c1d36c8c4bd966ea5474c656bf8eb1f6b0ce4e | // SPDX-License-Identifier: GPL-2.0-only
/*
* Accelerated CRC-T10DIF using arm64 NEON and Crypto Extensions instructions
*
* Copyright (C) 2016 - 2017 Linaro Ltd <ard.biesheuvel@linaro.org>
*/
#include <linux/cpufeature.h>
#include <linux/crc-t10dif.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <li... | C | arch/arm64/crypto/crct10dif-ce-glue.c | rperier/linux-rockchip | gpl-2.0 | 3,554 | 144 | codeparrot/github-code |
f9dc62fda39b0eb0ca25ddd2440e8e146ff14474e14b035bfe632e2cb0ee7191 | // SPDX-License-Identifier: GPL-2.0
#ifndef _MEDIA_FRAME_VECTOR_H
#define _MEDIA_FRAME_VECTOR_H
/* Container for pinned pfns / pages in frame_vector.c */
struct frame_vector {
unsigned int nr_allocated; /* Number of frames we have space for */
unsigned int nr_frames; /* Number of frames stored in ptrs array */
bool... | C | include/media/frame_vector.h | rperier/linux-rockchip | gpl-2.0 | 1,447 | 48 | codeparrot/github-code |
40b049cad1fbe9bc710573b23d1987bc340be5969af6beae8e7f8ee7f31eb70b | require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)... | JavaScript | ajax/libs/react-select/0.0.5/select.js | dlueth/cdnjs | mit | 9,082 | 380 | codeparrot/github-code |
cc3e80047cb8f034f34515d2f76a20774166d5ccb30f52d868690f8626bd41e6 | /*******************************************************************
* This file is part of the Emulex RoCE Device Driver for *
* RoCE (RDMA over Converged Ethernet) adapters. *
* Copyright (C) 2008-2012 Emulex. All rights reserved. *
* EMULEX and SLI are trademarks of Emulex. ... | C | unionfs-3.10.y/drivers/infiniband/hw/ocrdma/ocrdma_main.c | prasidh09/cse506 | gpl-2.0 | 15,099 | 569 | codeparrot/github-code |
863fd6b8dc7fff308749777a31f967132f1d87fd3d2155eaa31366004608a12c | /*syn@0.1.1#browsers*/
var syn = require("./synthetic");
require("./mouse");
syn.key.browsers = {
webkit: {
'prevent': {
"keyup": [],
"keydown": ["char", "keypress"],
"keypress": ["char"]
},
'character': {
"keydown": [0, "key"],
"keypress": ["char", "char"],
"keyup": [0, "key"]
},
'special... | JavaScript | ajax/libs/syn/0.1.5/cjs/browsers.js | menuka94/cdnjs | mit | 7,195 | 430 | codeparrot/github-code |
542249419b8a8598b67d37103eabf77dfa2d4e7baae3b55d2e7e3e1fd1cbf355 | /* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | C++ | third_party/tensorflow/tensorflow/core/kernels/conv_ops_using_gemm.cc | npuichigo/ttsflow | apache-2.0 | 28,583 | 575 | codeparrot/github-code |
645316c8ddcf51fc7bfdaf65f1951ae6873e93b0484e82f134cac504725c677f | require 'log4r'
require 'optparse'
module Vagrant
# Manages the command line interface to Vagrant.
class CLI < Vagrant.plugin("2", :command)
def initialize(argv, env)
super
@logger = Log4r::Logger.new("vagrant::cli")
@main_args, @sub_command, @sub_args = split_main_and_subcommand(argv)
... | Ruby | lib/vagrant/cli.rb | kamazee/vagrant | mit | 3,159 | 97 | codeparrot/github-code |
4e34a440e75bac61fe225d47ce48e284f13a3e0ebc440b142475d6339bd00f85 | // SPDX-License-Identifier: GPL-2.0-only
/*
* ARM Integrator Logical Module bus driver
* Copyright (C) 2020 Linaro Ltd.
* Author: Linus Walleij <linus.walleij@linaro.org>
*
* See the device tree bindings for this block for more details on the
* hardware.
*/
#include <linux/module.h>
#include <linux/err.h>
#incl... | C | drivers/bus/arm-integrator-lm.c | GuillaumeSeren/linux | gpl-2.0 | 3,204 | 130 | codeparrot/github-code |
f01e56fd87a402251b1a461b5992d0725d63fbd37d67f0b68be7e27815a2cb3f | //----------------------------------------------------------------------------
// Anti-Grain Geometry - Version 2.4
// Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com)
//
// Permission to copy, use, modify, sell and distribute this software
// is granted provided this copyright notice appears in all... | C | uppdev/agg24/agg_span_image_filter.h | dreamsxin/ultimatepp | bsd-2-clause | 9,233 | 247 | codeparrot/github-code |
375ba10cdf9d468f6ab8b2bfddf80f0656975ffb26102ecfbc942fb23ae7d33c | /*
* GE PIO2 GPIO Driver
*
* Author: Martyn Welch <martyn.welch@ge.com>
* Copyright 2009 GE Intelligent Platforms Embedded Systems, Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundat... | C | uefi/linux-source-3.8.0/drivers/staging/vme/devices/vme_pio2_gpio.c | SanDisk-Open-Source/SSD_Dashboard | gpl-2.0 | 5,569 | 232 | codeparrot/github-code |
c92ce576a9baf90aec87c5c3c225462f4dddbb80cfe859d07cae195c2ae6dcd8 | // Copyright 2008 The Closure Library Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requ... | JavaScript | web/closure-library/closure/goog/testing/events/events.js | ChildrenOfUr/Ilmenscript | bsd-3-clause | 30,556 | 768 | codeparrot/github-code |
acabdb925df6ecf39da9fe25bc21c266af27d7fbe58d6bffd7d6e2a338786291 | ο»Ώ/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* @fileOverview The "show border" plugin. The command display visible outline
* border line around all table elements if table doesn't have a none-zero ... | JavaScript | protected/extensions/bootstrap/assets/js/ckeditor/plugins/showborders/plugin.js | GsHatRed/Yiitest | bsd-3-clause | 5,337 | 175 | codeparrot/github-code |
fc8b3feb6cfeb8a7ff725a10beb70abaac0d5f55a55099a9157ae948a795e047 | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL... | C++ | Samples/Logging/cpp/Scenario3.xaml.cpp | srinivashappy/Windows-universal-samples | mit | 8,969 | 247 | codeparrot/github-code |
898ee6878c12bde737d446bc8e7b7fc381493ac47a3f618512c62c9ee6c5713d | // SPDX-License-Identifier: GPL-2.0-or-later
/* netfs cookie management
*
* Copyright (C) 2004-2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*
* See Documentation/filesystems/caching/netfs-api.txt for more information on
* the netfs API.
*/
#define FSCACHE_DEBUG_LEVEL ... | C | linux-5.4/fs/fscache/cookie.c | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 25,845 | 961 | codeparrot/github-code |
8498c64713d350290b2a639592eec50676119dd3e79dc0c62e7a923c2d2bf595 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | C | arch/arm/mach-msm/board-8226-gpiomux.c | VM12/android_kernel_oneplus_msm8974 | gpl-2.0 | 24,041 | 1,070 | codeparrot/github-code |
ed026c02858271a3d66525a597fbb27520973821f5c235734017e3e1d5401da7 | <?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
/**
* Append 'add to card' link to the list of Add link for grid element shortcodes.
*
* @param $param
*
* @since 4.5
*
* @return array
*/
function vc_gitem_add_link_param_woocommerce( $param ) {
$param['value'][ __( 'WooCommerce add to card link', 'js_com... | PHP | wp-content/plugins/js_composer_theme/include/classes/vendors/plugins/woocommerce/grid-item-filters.php | lydianblues/dmind | gpl-2.0 | 3,209 | 122 | codeparrot/github-code |
938f5957b2747d8f7b761b63a28607477a68c9d172832ab2a2d8f3ca395f5113 | /*
* IPv6 output functions
* Linux INET6 implementation
*
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
*
* Based on linux/net/ipv4/ip_output.c
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free ... | C | net/ipv6/ip6_output.c | garick82/android_kernel_samsung_codina | gpl-2.0 | 42,224 | 1,659 | codeparrot/github-code |
a5a65fc9b814e7df54a89df8e003a9a0a365bcbd3ad803e4155b1210905f74b9 | list(APPEND WebCore_INCLUDE_DIRECTORIES
"${WEBCORE_DIR}/editing/atk"
"${WEBCORE_DIR}/page/efl"
"${WEBCORE_DIR}/platform/cairo"
"${WEBCORE_DIR}/platform/efl"
"${WEBCORE_DIR}/platform/graphics/cairo"
"${WEBCORE_DIR}/platform/graphics/efl"
"${WEBCORE_DIR}/platform/graphics/freetype"
"${WEBC... | CMake | src/qt/qtwebkit/Source/WebCore/PlatformEfl.cmake | Observer-Wu/phantomjs | bsd-3-clause | 13,125 | 384 | codeparrot/github-code |
175f9009413d8cbc8b29eb46f5c47efc368ea219711b7e5be17fe95477dc72ab | #ifndef _IPXE_EFI_DRIVER_H
#define _IPXE_EFI_DRIVER_H
/** @file
*
* EFI driver interface
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <ipxe/efi/efi.h>
#include <ipxe/efi/Protocol/DriverBinding.h>
#include <ipxe/efi/Protocol/ComponentName2.h>
#include <ipxe/efi/Protocol/DevicePath.h>
/** An EFI driver */
struct ef... | C | tracers/qemu/decaf/roms/ipxe/src/include/ipxe/efi/efi_driver.h | KernelAnalysisPlatform/KlareDbg | gpl-3.0 | 1,115 | 50 | codeparrot/github-code |
63db099176c698e751f6fdef8e2bf13a6103b040e89037a93a5fed90bf56b42f | /*
* Copyright (c) 2013-2015, Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the ... | C | virt/drivers/phy/phy-qcom-ufs-i.h | AiJiaZone/linux-4.0 | gpl-2.0 | 4,876 | 160 | codeparrot/github-code |
d7053885d315b4cc5ae1a7b6368b19d6a55a39147ac9d29f9b0970cf1f7da388 | /* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright IBM Corp. 2013
* Author(s): Eugene Crosser <eugene.crosser@ru.ibm.com>
*/
#ifndef __QETH_L2_H__
#define __QETH_L2_H__
#include "qeth_core.h"
extern const struct attribute_group *qeth_l2_attr_groups[];
int qeth_bridgeport_query_ports(struct qeth_card *ca... | C | drivers/s390/net/qeth_l2.h | GuillaumeSeren/linux | gpl-2.0 | 1,191 | 40 | codeparrot/github-code |
3ef0991248c475a9f7589327e9eb2c7ecf9f4f399f07b44b02eaf88fffe6f0d9 | /*
* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
*
* 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 not... | C | drivers/staging/prima_oldshit/CORE/SVC/src/ptt/wlan_ptt_sock_svc.c | INFAMOUS-LOLLIPOP/android_kernel_htc_msm8974 | gpl-2.0 | 12,504 | 323 | codeparrot/github-code |
9bf23dd110772bb9d64d707898313cecfebaa72abbb956ad68ffdf8e3268b333 | /*
* Copyright (C) 2012 Samsung Electronics
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* ... | C++ | src/webkit/Source/WebCore/Modules/vibration/Vibration.cpp | klim-iv/phantomjs-qt5 | bsd-3-clause | 3,443 | 144 | codeparrot/github-code |
f829005ad679c94b4fd5de3078bd7b69143ebb420839e0cd45cfca754faa321c | /*
* 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 condition... | C++ | src/webkit/Source/WebCore/Modules/mediastream/RTCStatsRequestImpl.cpp | klim-iv/phantomjs-qt5 | bsd-3-clause | 3,050 | 98 | codeparrot/github-code |
6ae720082cdf77b8b129102ea85cb906d8e1914b0aa9e3d04aa38b8fc2ab5202 | /* linux/arch/arm/mach-s3c2410/mach-bast.c
*
* Copyright 2003-2008 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
*
* http://www.simtec.co.uk/products/EB2410ITX/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* p... | C | virt/arch/arm/mach-s3c2410/mach-bast.c | JijonHyuni/HyperKernel-JB | gpl-2.0 | 15,694 | 666 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.