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 |
|---|---|---|---|---|---|---|---|---|
2ab0579e01cff0fc3c1c1c994bbf67b4c89f458e61291d5ece34c425ac5e4d16 | /* More subroutines needed by GCC output code on some machines. */
/* Compile this one with gcc. */
/* Copyright (C) 1989-2014 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... | C | libgcc/config/h8300/fixunssfsi.c | periclesroalves/gcc-conair | gpl-2.0 | 1,451 | 41 | codeparrot/github-code |
fe8692e876a2e77edb92afd2759204368ae58ec1b9ee7910bb7fc3916f15194b | /* mpc.h -- Include file for mpc.
Copyright (C) INRIA, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010, 2011
This file is part of the MPC Library.
The MPC 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 Found... | C | staging_dir/host/include/mpc.h | blackzw/openwrt_sdk_dev1 | gpl-2.0 | 14,001 | 285 | codeparrot/github-code |
6985b2f56e1ee35cceeec57eb05edbe72282a5fd92af6fa1ffdd9c2e8cad6084 | // Copyright 2014 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/zoom/zoom_event_manager.h"
#include "content/public/browser/browser_context.h"
namespace {
static const char kBrowserZoomEve... | C++ | external/chromium_org/chrome/browser/ui/zoom/zoom_event_manager.cc | s20121035/rk3288_android5.1_repo | gpl-3.0 | 1,149 | 35 | codeparrot/github-code |
4b97e9ff317e6ea5c4a3ecffd53bd2dfe8fecdc02b8b5d8252958bd17791e6e0 | //C- -*- C++ -*-
//C- -------------------------------------------------------------------
//C- DjVuLibre-3.5
//C- Copyright (c) 2002 Leon Bottou and Yann Le Cun.
//C- Copyright (c) 2001 AT&T
//C-
//C- This software is subject to, and may be distributed under, the
//C- GNU General Public License, either Version 2 of ... | C++ | sumatrapdf/ext/libdjvu/ByteStream.cpp | ibb-zimmers/betsynetpdf | gpl-3.0 | 33,606 | 1,375 | codeparrot/github-code |
f75812dec3c5d26c8956c9ff861407715bcaea8c784dc4796dee339a06a86bba | package com.jetbrains.python.refactoring;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.psi.PsiDirectory;
import com.intellij.psi.PsiManager;
import com.intellij.testFramework.PlatformTestUtil;
import com.jetbrains.python.fixtures.PyTestCase;
import com.jetbrains.python.refactoring.convert.PyConvert... | Java | python/testSrc/com/jetbrains/python/refactoring/PyConvertPackageToModuleTest.java | akosyakov/intellij-community | apache-2.0 | 1,324 | 34 | codeparrot/github-code |
1a251956c93b8cb1472d42ca6aa4e8ac714f1fe2502ff9bc7adb15c92656e349 | /**
* Copyright (c) 2003-2017 The Apereo 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://opensource.org/licenses/ecl2
*
* Unless requ... | Java | edu-services/gradebook-service/impl/src/java/org/sakaiproject/tool/gradebook/facades/sections/AuthzSectionsImpl.java | OpenCollabZA/sakai | apache-2.0 | 27,307 | 686 | codeparrot/github-code |
1c62c56c3fc3e59a077d3b4c6b68483edecf0f58b2eb8dc132ca6f95233a75c0 | // SPDX-License-Identifier: GPL-2.0
/*
* System Control and Management Interface (SCMI) Clock Protocol
*
* Copyright (C) 2018 ARM Ltd.
*/
#include "common.h"
enum scmi_clock_protocol_cmd {
CLOCK_ATTRIBUTES = 0x3,
CLOCK_DESCRIBE_RATES = 0x4,
CLOCK_RATE_SET = 0x5,
CLOCK_RATE_GET = 0x6,
CLOCK_CONFIG_SET = 0x7,
... | C | linux-4.19/drivers/firmware/arm_scmi/clock.c | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 7,886 | 344 | codeparrot/github-code |
5a35b556bc4627683600ad80b5f1195431d77fae2ae26de1e9a2dbc02bdfae1a | /*
* Intel(R) Processor Trace PMU driver for perf
* Copyright (c) 2013-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.
*
* This prog... | C | arch/x86/events/intel/pt.c | jallen93/linux-vnic-dbg | gpl-2.0 | 35,637 | 1,451 | codeparrot/github-code |
f506500299022d8ff2d8ef86702cb52b512dde3c3b93bf803514d097fa55238b |
#ifndef __TPM_EVENTLOG_H__
#define __TPM_EVENTLOG_H__
#define TCG_EVENT_NAME_LEN_MAX 255
#define MAX_TEXT_EVENT 1000 /* Max event string length */
#define ACPI_TCPA_SIG "TCPA" /* 0x41504354 /'TCPA' */
#ifdef CONFIG_PPC64
#define do_endian_conversion(x) be32_to_cpu(x)
#else
#define do_endian_conversion(x) x
#endif
... | C | drivers/char/tpm/tpm_eventlog.h | rkollataj/linux-can-next | gpl-2.0 | 1,621 | 97 | codeparrot/github-code |
0d23da120819a3f7f64dd94a34167f3e00e2542beac6440891cf31490603b5aa | /*
* EFI stub implementation that is shared by arm and arm64 architectures.
* This should be #included by the EFI stub implementation files.
*
* Copyright (C) 2013,2014 Linaro Limited
* Roy Franz <roy.franz@linaro.org
* Copyright (C) 2013 Red Hat, Inc.
* Mark Salter <msalter@redhat.com>
*
* This file i... | C | drivers/firmware/efi/libstub/arm-stub.c | chkohn/linux-xlnx | gpl-2.0 | 12,699 | 434 | codeparrot/github-code |
fc2c646de68ecab166b3752b33d8ebceb0fa8e2552fa2b95dac0728f1f2c4440 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.watcher.notification.pagerduty;
import org.el... | Java | x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEventDefaultsTests.java | gfyoung/elasticsearch | apache-2.0 | 4,735 | 111 | codeparrot/github-code |
eb420ec897df9c4a29f64accb12c73e41bd4e9d8b89b919aacc869e3e2bebbf6 | /**
* 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 | hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/ClientNamenodeProtocolTranslatorPB.java | tianshouzhi/hadoop | apache-2.0 | 59,555 | 1,532 | codeparrot/github-code |
a9bc0ceeeeb8f4bfcf6e03c4df215647d736a232667c38bd09dcc98f04b6e016 | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | java/java-impl/src/com/intellij/refactoring/replaceConstructorWithFactory/ReplaceConstructorWithFactoryProcessor.java | MichaelNedzelsky/intellij-community | apache-2.0 | 13,420 | 330 | codeparrot/github-code |
fe3a2bb064dfaa284507c6c128e1d6324a34376e161b48055de6976a5aadce78 | // Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/v8.h"
#if V8_TARGET_ARCH_ARM
#include "src/ic/call-optimization.h"
#include "src/ic/handler-compiler.h"
#include "src/ic/ic.h"
namespac... | C++ | src/ic/arm/handler-compiler-arm.cc | tempbottle/v8.rs | isc | 25,105 | 699 | codeparrot/github-code |
4d6bb3ac081b845430d44f6a34cdcb134916d63ef9f0a1d1488d20d18952eeea | /*
* Driver for Dell laptop extras
*
* Copyright (c) Red Hat <mjg@redhat.com>
* Copyright (c) 2014 Gabriele Mazzotta <gabriele.mzt@gmail.com>
* Copyright (c) 2014 Pali Rohár <pali.rohar@gmail.com>
*
* Based on documentation in the libsmbios package:
* Copyright (C) 2005-2014 Dell Inc.
*
* This program ... | C | drivers/platform/x86/dell-laptop.c | Taeung/tip | gpl-2.0 | 59,711 | 2,279 | codeparrot/github-code |
064e5a20b30c5ef16b58bd1ea14cc4e8b687f2f327c7a861b776083d2eb8c62f | /**
* Copyright 2018 The AMP HTML Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | JavaScript | src/utils/lru-cache.js | lannka/amphtml | apache-2.0 | 2,381 | 107 | codeparrot/github-code |
90bef2cdadcff9ee9946d8491c4b5e9183fdda34da2cbcf35d35d224e5986077 | # -*- coding: utf-8 -*-
import os
import httplib
import logging
import functools
from modularodm.exceptions import ValidationValueError
from framework.exceptions import HTTPError
from framework.analytics import update_counter
from website.addons.osfstorage import settings
logger = logging.getLogger(__name__)
LOCA... | Python | website/addons/osfstorage/utils.py | ticklemepierce/osf.io | apache-2.0 | 3,726 | 127 | codeparrot/github-code |
40b2fd7d46922205320364c63a6d0d622b1f7fc703e0f2dae58dc72ce7208455 | /* Perform an inferior function call, for GDB, the GNU debugger.
Copyright (C) 2003-2014 Free Software Foundation, Inc.
This file is part of GDB.
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 ... | C | gdb/infcall.h | zxombie/aarch64-freebsd-binutils | gpl-2.0 | 1,451 | 42 | codeparrot/github-code |
d6c3f3c1dd1a7c719a8e3e71815d0ea3263eedc5c5404c2092de2d92a9be006c | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>FreeType-2.6.1 API Reference</title>
<style type="text/css">
a:link { color: #0000EF; }
a:visited { color: #51188E; }
a:ho... | HTML | thirdparty/freetype/docs/reference/ft2-basic_types.html | hpfmn/MuseScore | gpl-2.0 | 44,212 | 867 | codeparrot/github-code |
321c56ef585f93cccb782f4328c89be35512b0609a8f83db11e45c26fd3ad7bb | // SPDX-License-Identifier: GPL-2.0-only
/*
* tifm_core.c - TI FlashMedia driver
*
* Copyright (C) 2006 Alex Dubov <oakad@yahoo.com>
*/
#include <linux/tifm.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/idr.h>
#include <linux/module.h>
#define DRIVER_NAME "tifm_core"
#define DRIVER_VERSION ... | C | drivers/misc/tifm_core.c | tprrt/linux-stable | gpl-2.0 | 8,290 | 367 | codeparrot/github-code |
f383897cf20637785b1e32bc14627e18fbd7ff8383bc72e0602c777991cd737a | /*
* linux/arch/arm/kernel/irq.c
*
* Copyright (C) 1992 Linus Torvalds
* Modifications for ARM processor Copyright (C) 1995-2000 Russell King.
*
* Support for Dynamic Tick Timer Copyright (C) 2004-2005 Nokia Corporation.
* Dynamic Tick Timer written by Tony Lindgren <tony@atomide.com> and
* Tuukka Tikkane... | C | arch/arm/kernel/irq.c | Tesla-Redux-Devices/android_kernel_mediatek_sprout | gpl-2.0 | 5,270 | 205 | codeparrot/github-code |
1fcd01b81e1ae60d2bc1bde13cfd9b755a6327f78cf0f22e284d3f805caaae21 | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | python/src/com/jetbrains/python/psi/impl/PyBaseElementImpl.java | ivan-fedorov/intellij-community | apache-2.0 | 6,862 | 193 | codeparrot/github-code |
ca6c72b7d2546d4caf42ada045653a5fb4869e6962dffd8668f0772a27c59022 | (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);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports... | JavaScript | ajax/libs/muicss/0.7.4/js/mui.js | joeyparrish/cdnjs | mit | 46,197 | 1,905 | codeparrot/github-code |
4a84e29ad16253f848f4cd38c00f33bdfdcb32733288e6ac97b8c9281961983a | /*
* Copyright (C) 2006-2007 Red Hat, Inc. All rights reserved.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
*/
#include <linux/miscdevice.h>
#include <linux/init.h>
#incl... | C | release/src-rt/linux/linux-2.6/fs/dlm/user.c | alcobar/asuswrt-merlin | gpl-2.0 | 20,895 | 850 | codeparrot/github-code |
514dbff135662d99c0166165667faffb1e081d94975bb4efed91bfab57bfe364 | /*
* Copyright (c) 2016 Hisilicon Limited.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this source tree, or the
* OpenI... | C | drivers/infiniband/hw/hns/hns_roce_cmd.c | HarveyHunt/linux | gpl-2.0 | 7,796 | 287 | codeparrot/github-code |
84a061e3c4fe6ec1be95c7fb3f569ed01ca3712f71a146c0e7ba3b9a5dc13691 | #!/usr/bin/python
# (c) 2017, NetApp, Inc
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'],
... | Python | lib/ansible/modules/storage/netapp/sf_account_manager.py | tsdmgz/ansible | gpl-3.0 | 8,755 | 273 | codeparrot/github-code |
7d669ba1989427ff07251af689e0b0e3f4afc41fb25406a171b2ab959fa5cf2c | /*******************************************************************************
Copyright (c) 2011, 2012 Dmitry Matveev <me@dmitrymatveev.co.uk>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Sof... | C | utilities/glib/gio/kqueue/dep-list.h | seemoo-lab/nexmon | gpl-3.0 | 2,712 | 70 | codeparrot/github-code |
a7ed094d2b05dcdda3fdfa3cc7cffd93e331149e7c1bc154fa3c0abce18b69c7 | define([
'INST' /* INST */,
'i18n!submissions',
'jquery' /* $ */,
'str/htmlEscape',
'jquery.ajaxJSON' /* ajaxJSON */,
'jqueryui/dialog',
'jqueryui/progressbar' /* /\.progressbar/ */
], function(INST, I18n, $, htmlEscape) {
INST.downloadSubmissions = function(url) {
var cancelled = false;
var ti... | JavaScript | public/javascripts/submission_download.js | dgynn/canvas-lms | agpl-3.0 | 2,986 | 66 | codeparrot/github-code |
7e9b64837faed4d9a14cf217fb10b1c870704a65f0c92935a05e99b8b623a6e5 | /*
* f_audio.c -- USB Audio class function driver
*
* Copyright (C) 2008 Bryan Wu <cooloney@kernel.org>
* Copyright (C) 2008 Analog Devices, Inc
*
* Enter bugs at http://blackfin.uclinux.org/
*
* Licensed under the GPL-2 or later.
*/
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/device.h>... | C | unionfs-3.10.y/drivers/usb/gadget/f_uac1.c | prasidh09/cse506 | gpl-2.0 | 20,221 | 769 | codeparrot/github-code |
3e90e52f9091c807d5c5ad335a26379d2e10ab1909fa42dce5b9c18f158a2a98 |
import { ApplicationRef, ComponentFactoryResolver, Injectable, Injector } from '@angular/core';
import { NgElement, WithProperties } from '@angular/elements';
import { PopupComponent } from './popup.component';
@Injectable()
export class PopupService {
constructor(private injector: Injector,
private ... | TypeScript | aio/content/examples/elements/src/app/popup.service.ts | ocombe/angular | mit | 1,849 | 54 | codeparrot/github-code |
afeb235e57c3409c55a393c7c8018e94fc10bfe6bda119072c709305d965ee42 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Scala | external/avro/src/test/scala/org/apache/spark/sql/avro/DeprecatedAvroFunctionsSuite.scala | maropu/spark | apache-2.0 | 4,472 | 124 | codeparrot/github-code |
7119b6a0abc0635b397d458ad9fd6b1a9327b6c7ec67361b6f1276a8b1734462 | /**
* 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 | tooling/camel-route-parser/src/test/java/org/apache/camel/parser/java/RoasterConcatFieldRouteBuilderConfigureTest.java | allancth/camel | apache-2.0 | 2,314 | 55 | codeparrot/github-code |
9d57793813374602b3e0781ccca27b52e40ee96f7c36fa7dedb6b9a74904ca95 | // 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 Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
internal partial class Inter... | C# | src/Common/src/Interop/Windows/kernel32/Interop.SetFileInformationByHandle.cs | nbarbettini/corefx | mit | 2,745 | 73 | codeparrot/github-code |
2f9dfeaa3091b189ae19e808b45170c01a20661fceb7d3106f674ff780ffb00c | /*
* Remote VUB300 SDIO/SDmem Host Controller Driver
*
* Copyright (C) 2010 Elan Digital Systems Limited
*
* based on USB Skeleton driver - 2.2
*
* Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the G... | C | drivers/mmc/host/vub300.c | rahulkodinya/drm | gpl-2.0 | 74,236 | 2,504 | codeparrot/github-code |
9e503e3890e625bab4e4fbce473ca8c3cd946a7af4f16e91b6bfe67971225551 | /* The common simulator framework for GDB, the GNU Debugger.
Copyright 2002-2014 Free Software Foundation, Inc.
Contributed by Andrew Cagney and Red Hat.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License... | C | sim/common/sim-bits.h | Xilinx/binutils-gdb | gpl-2.0 | 19,307 | 609 | codeparrot/github-code |
92b5368827eb520efdc3d66549af2ab861a4131f8bc59205a2cab4f513588ec3 | /**********************************************************************
* File: rect.h (Formerly box.h)
* Description: Bounding box class definition.
* Author: Phil Cheatle
* Created: Wed Oct 16 15:18:45 BST 1991
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the Apache License, V... | C | tess-two/jni/com_googlecode_tesseract_android/src/ccstruct/rect.h | BruceWoR/tess-two-master | apache-2.0 | 16,062 | 479 | codeparrot/github-code |
465a5be7a7cd8f8c2356b605853a6dbd906285cffa61367b4c9f6ec84f8b4fff | package net.simonvt.menudrawer;
import android.os.Build;
import android.view.View;
final class ViewHelper {
private ViewHelper() {
}
public static int getLeft(View v) {
if (MenuDrawer.USE_TRANSLATIONS) {
return (int) (v.getLeft() + v.getTranslationX());
}
return v.ge... | Java | menudrawer/src/net/simonvt/menudrawer/ViewHelper.java | W3SS/android-menudrawer | apache-2.0 | 1,145 | 51 | codeparrot/github-code |
61413bf1a940f0f07a664a6374513b6033282e0048855676e2bbf2d70ebb8a7a | /*********************************************************************
* *
* Configfemtoanalysis.C - configuration macro for the femtoscopic *
* analysis, meant as a QA process for two-particle effects *
* ... | C++ | PWGCF/FEMTOSCOPY/macros/Train/ProtonFemtoscopy/DcaTpcOnlyTTC4/central/ConfigFemtoAnalysis.C | fcolamar/AliPhysics | bsd-3-clause | 21,741 | 448 | codeparrot/github-code |
59708b95dde22f1d8b6bc73124429e27f2f0b862032e24a9cb367b7153f5615b | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_UI_H_
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_UI_H_
#include <string>
#include "base/memory/... | C | external/chromium_org/chrome/browser/extensions/extension_web_ui.h | s20121035/rk3288_android5.1_repo | gpl-3.0 | 3,332 | 90 | codeparrot/github-code |
47662bd7afd4bd9ceb53751d948b448c6df26c78b59092e072c2c7fb33356f5d | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | platform/platform-impl/src/com/intellij/ui/plaf/beg/BegBorders.java | ivan-fedorov/intellij-community | apache-2.0 | 8,804 | 274 | codeparrot/github-code |
db80d5d5183b7db7a24722d254bb38f7e478b40da5c0ac2246d497e62ed911be | /*
* Copyright (c) 1997-2000 LAN Media Corporation (LMC)
* All rights reserved. www.lanmedia.com
*
* This code is written by:
* Andrew Stanley-Jones (asj@cban.com)
* Rob Braun (bbraun@vix.com),
* Michael Graff (explorer@vix.com) and
* Matt Thomas (matt@3am-software.com).
*
* With Help By:
* Davi... | C | release/src-rt/linux/linux-2.6/drivers/net/wan/lmc/lmc_proto.c | ghmajx/asuswrt-merlin | gpl-2.0 | 6,170 | 249 | codeparrot/github-code |
22b0c5306921c79ffc0435e3ac55cbed7c27289aa6eb77df250052aef9a02423 | // Copyright (C) 2004, 2009 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 ... | C++ | uefi/gcc/gcc-4.6.3/libstdc++-v3/testsuite/performance/21_strings/find.cc | SanDisk-Open-Source/SSD_Dashboard | gpl-2.0 | 2,820 | 97 | codeparrot/github-code |
b3fd8c7f557b97331db6b1d22cb27553c7abceb373f3bf3b277921a5442dab61 | // 2001-06-14 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001, 2002, 2004, 2005, 2009 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as publishe... | C++ | uefi/gcc/gcc-4.6.3/libstdc++-v3/testsuite/20_util/allocator/1.cc | SanDisk-Open-Source/SSD_Dashboard | gpl-2.0 | 1,659 | 66 | codeparrot/github-code |
56741da8bea8b78326f3de78dc0a467ba794310dac42af78f0ae347daa5438e2 | /*
* Copyright (C) 2011 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 condit... | C++ | src/qt/src/3rdparty/webkit/Source/WebCore/inspector/DOMNodeHighlighter.cpp | rsadhu/phantomjs | bsd-3-clause | 13,206 | 307 | codeparrot/github-code |
26eb5a7dd836c7f451e4dec2ca8afc9b132f41eddd4688ff9ebf2d46b6f674ab | /**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v5.0.0-alpha.5
* @link http://www.ag-grid.com/
* @license MIT
*/
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? t... | JavaScript | ajax/libs/ag-grid/5.0.0-alpha.5/lib/gridApi.js | dlueth/cdnjs | mit | 25,090 | 551 | codeparrot/github-code |
9986e940477306ff9c71137a95c470dc225a97672ac1be2e823a023409ba9842 | from __future__ import absolute_import, division
import time
import os
try:
unicode
except NameError:
unicode = str
from . import LockBase, NotLocked, NotMyLock, LockTimeout, AlreadyLocked
class SQLiteLockFile(LockBase):
"Demonstrate SQL-based locking."
testdb = None
def __init__(self, path, t... | Python | lockfile/sqlitelockfile.py | allieus/pylockfile | mit | 5,541 | 156 | codeparrot/github-code |
09d896f5cf3d623bf075ed745f7822f1cd52196e06fa4e1528bc62987c9129ee | <!DOCTYPE html>
<!--[if IE 8 ]><html lang="en" class="ie8"><![endif]-->
<!--[if IE 9 ]><html lang="en" class="ie9"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html lang="en">
<!--<![endif]-->
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>jQuery custom scrollbar demo<... | HTML | wp-content/themes/polytechnic/theme-core/theme-assets/javascripts/malihu-custom-scrollbar-plugin-master/examples/scrollTo_demo.html | mvietz/pfa | gpl-2.0 | 12,433 | 174 | codeparrot/github-code |
4100d5b2f7a89b2b1fcd347d95404adab0767954cde06f0b53a68b3c5f905f0b | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>jQuery plugin: Tablesorter 2.0 - Custom Filter Widget Formatter (jQuery UI widgets)</title>
<!-- jQuery -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js"></script>
<!-- Demo stuff -->
<link class="ui-theme" rel="stylesheet" ... | HTML | www/mottie-tablesorter/docs/example-widget-filter-formatter-1.html | carleton/reasoncms | gpl-2.0 | 23,771 | 486 | codeparrot/github-code |
87a59d10e0cec87411f71b641fc0afc00688b12dc0d8291f4708cb46b9d20579 | <?php
function mce_put_file( $path, $content ) {
if ( function_exists('file_put_contents') )
return @file_put_contents( $path, $content );
$newfile = false;
$fp = @fopen( $path, 'wb' );
if ($fp) {
$newfile = fwrite( $fp, $content );
fclose($fp);
}
return $newfile;
}
// escape text only if it needs transl... | PHP | wp-includes/js/tinymce/langs/wp-langs.php | airhorns/Skylight-Labs | gpl-2.0 | 23,380 | 456 | codeparrot/github-code |
95e4be30129fdcb339bea3f8d2952c09e707138366582ef77809aaaf10397886 | /*=============================================================================
Copyright (c) 2001-2011 Hartmut Kaiser
Copyright (c) 2001-2014 Joel de Guzman
Copyright (c) 2013 Agustin Berge
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at... | C++ | thirdparty/boost_1_67_0/boost/spirit/home/x3/auxiliary/attr.hpp | zcobell/MetOceanViewer | gpl-3.0 | 4,238 | 132 | codeparrot/github-code |
a8f69b635005fb9312c112ee1544c092aac79918e3e44beda76350ece04c9b0b | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace Microsoft.CodeAnalysis.Diagnostics
{
internal abstract par... | C# | src/Compilers/Core/Portable/DiagnosticAnalyzer/CompilerDiagnosticAnalyzer.CompilationAnalyzer.cs | droyad/roslyn | apache-2.0 | 5,772 | 129 | codeparrot/github-code |
ebd5626f70119ca134f5721f5aa0f83a3fbe9a8f778f529a8d73176aa25a4d47 | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | platform/platform-impl/src/com/intellij/openapi/wm/ex/ToolWindowManagerEx.java | akosyakov/intellij-community | apache-2.0 | 2,657 | 74 | codeparrot/github-code |
958c011873e62d4b29fef65d502e8e19b1e6cdbc81298ab284e5bf42fd919a75 | /* savage_drm.h -- Public header for the savage driver
*
* Copyright 2004 Felix Kuehling
* 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, ... | C | oss/linux/linux-4.7/include/uapi/drm/savage_drm.h | geminy/aidear | gpl-3.0 | 7,191 | 221 | codeparrot/github-code |
1329c8459eb918903fdde27875371d2066ca92a4dc67a071075c934b8ec0ce4e | /* Copyright 2012-15 Advanced Micro Devices, Inc.
*
* 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 use, copy, modify, m... | C | linux-4.19/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 2,111 | 63 | codeparrot/github-code |
592e8b2c84b9809255bec73afc7885688c07fadfc6ae3ec360f53ec58d18c6e5 | /*
* Copyright (C) 2013-2014 Allwinner Tech Co., Ltd
* Author: Sugar <shuge@allwinnertech.com>
*
* Copyright (C) 2014 Maxime Ripard
* Maxime Ripard <maxime.ripard@free-electrons.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... | C | oss/linux/linux-4.7/drivers/dma/sun6i-dma.c | geminy/aidear | gpl-3.0 | 31,225 | 1,225 | codeparrot/github-code |
311ebacfb2bc153dbd442b5d9e4dd1375a9439f0ec2d07e529d98d901aab71d0 | #ifndef __NET_SCHED_GENERIC_H
#define __NET_SCHED_GENERIC_H
#include <linux/netdevice.h>
#include <linux/types.h>
#include <linux/rcupdate.h>
#include <linux/pkt_sched.h>
#include <linux/pkt_cls.h>
#include <linux/percpu.h>
#include <linux/dynamic_queue_limits.h>
#include <net/gen_stats.h>
#include <net/rtnetlink.h>
... | C | source/kernel/include/net/sch_generic.h | mikedlowis-prototypes/albase | bsd-2-clause | 20,109 | 806 | codeparrot/github-code |
03b21771000c07a7207d1738f952a69de3e122d566937b591f48165287cccaff | /* sdb - MIT - Copyright 2011-2015 - pancake */
#include <signal.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include "sdb.h"
#define MODE_ZERO '0'
#define MODE_JSON 'j'
#define MODE_DFLT 0
static int save = 0;
static Sdb *s = NULL;
static ut32 options = SDB_OPTION_FS | SDB_OPTIO... | C | src/main.c | Maijin/sdb | mit | 10,459 | 543 | codeparrot/github-code |
ec4233bb85dbce4145c11aa7899e966b01912e27393e3c541aabf13c47f6545d | // Copyright (C) 2014-2015 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 op... | C++ | libstdc++-v3/testsuite/23_containers/forward_list/debug/construct4_neg.cc | zjh171/gcc | gpl-2.0 | 1,301 | 45 | codeparrot/github-code |
776bd0de80fa2bd0c35d91da7722f4f5343515127d7e522ccf4f65ff545a769e | /*
* (C) Copyright 2007 Michal Simek
*
* Michal SIMEK <monstr@monstr.eu>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* 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 Softwa... | C | u-boot-linux-cortexm-1.10.2/cpu/microblaze/timer.c | hujiafu/lpc1788_uboot | gpl-2.0 | 1,785 | 74 | codeparrot/github-code |
b5aa9dde148a39d115643e0013f908d3aa8a6bf92153c74dd81b325f9a7e5d84 | // Scintilla source code edit control
/** @file KeyWords.h
** Colourise for particular languages.
**/
// Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
typedef void (*LexerFunction)(unsigned int startPos, int le... | C | wxscintilla_1.69.2/src/scintilla/include/KeyWords.h | hagish/lua-debugger | mit | 2,673 | 83 | codeparrot/github-code |
dfe4e41e215723518bbd95c670dc0f1eea366c1427aed71cdac3593bac7f22dd | /*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.lang} object, for the
* Latvian language.
*/
/**#@+
@type String
@example
*/
/**
* Constains the ... | JavaScript | wp-content/plugins/wp-online-store/admin/ckeditor/_source/lang/lv.js | monkeythecoder/wp_lisder | gpl-2.0 | 26,603 | 813 | codeparrot/github-code |
f5e8f71da89acd6214269833b87bf06f8b08bb56a1e9a16d775637f7ee72cd13 | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | C | engines/gob/script.h | lordhoto/scummvm | gpl-2.0 | 4,546 | 171 | codeparrot/github-code |
32789effa4045d28e08dd0b4272cc39bfa3e1eecec56353ec76c902f80d7dffe | <?php
/**
* Smarty Internal Plugin Compile Include
* Compiles the {include} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Include Class
*
* @package Smarty
* @subpackage Compiler
*/
class Smarty_Internal_Compile_Include extends Smarty_In... | PHP | yaframework/application/library/Smarty/sysplugins/smarty_internal_compile_include.php | fangwChina/yaf_framework | mit | 15,106 | 346 | codeparrot/github-code |
5c22d6ccb61c813cc42a588e6c287f4c4b9141fd045595b180be95157a5b2d24 | /* Copyright (c) 2011, 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 hope th... | C | kernel/drivers/media/video/msm/mt9d113.c | gui2dev/android_kernel_motorola_tinboost | gpl-2.0 | 15,991 | 665 | codeparrot/github-code |
2ff7bf6ab8d123269170a2ff082380deac3980aea3342e37412a7577d9ce34c5 | // SPDX-License-Identifier: GPL-2.0-only
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/module.h>
#include <asm/page.h>
#include <asm/pgt... | C | drivers/scsi/a3000.c | c0d3z3r0/linux-rockchip | gpl-2.0 | 6,709 | 270 | codeparrot/github-code |
df4f08f3ea0593f4eb445079449cdab49fc3999eb22a2d4ad5b701d5dc6aa5ec | /*
* dvb_frontend.c: DVB frontend tuning interface/thread
*
*
* Copyright (C) 1999-2001 Ralph Metzler
* Marcus Metzler
* Holger Waechtler
* for convergence integrated media GmbH
*
* Copyright (C) 2004 Andrew de Quincey (tuning thread cleanup)
*
* This program is free software; you can red... | C | drivers/media/dvb-core/dvb_frontend.c | codebam/linux | gpl-2.0 | 76,604 | 2,786 | codeparrot/github-code |
d92b0258e2c9256af53a53f403f6b24ec45be4378c25c6a347599a18ca00543a | /***************************************************************************/
/*
* linux/arch/m68knommu/platform/523x/config.c
*
* Sub-architcture dependent initialization code for the Freescale
* 523x CPUs.
*
* Copyright (C) 1999-2005, Greg Ungerer (gerg@snapgear.com)
* Copyright (C) 2001-2003, SnapGear Inc. (... | C | linux/linux-kernel/arch/m68k/platform/coldfire/m523x.c | kv193/buildroot | gpl-2.0 | 2,276 | 89 | codeparrot/github-code |
3fcea55e98545519e0f7710a70d05429d60217b5549f560da1eb91abd0ee2778 | VectorCanvas.prototype.createPath = function (config) {
var node;
if (this.mode === 'svg') {
node = this.createSvgNode('path');
node.setAttribute('d', config.path);
if (this.params.borderColor !== null) {
node.setAttribute('stroke', this.params.borderColor);
}
if (this.params.borderWidth ... | JavaScript | wwwroot/assets/js/jqvmap/src/VectorCanvas/createPath.js | krasnyuk/e-liquid-MS | mit | 2,230 | 76 | codeparrot/github-code |
9c8fd745609b416b9a98b8fb7333eb784ff2a2b223f3eacc2c06bba2f30de0b6 | /*
* Copyright (c) 2005-2009 Brocade Communications Systems, Inc.
* All rights reserved
* www.brocade.com
*
* Linux driver for Brocade Fibre Channel Host Bus Adapter.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License (GPL) Version 2 a... | C | linux_kernel_galaxyplayer-master/drivers/scsi/bfa/bfa_port_priv.h | KOala888/GB_kernel | gpl-2.0 | 3,204 | 92 | codeparrot/github-code |
202fca2ed4b1f725919454b6a9fdef1acf90111d0a250bbf0b113ca08e5d0d99 | /*
Copyright 1996,2002 Gregory D. Hager, Alfred A. Rizzi, Noah J. Cowan,
Jason Lapenta, Scott Smedley
This file is part of the DT3155 Device Driver.
The DT3155 Device Driver 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 Sof... | C | linux_kernel_galaxyplayer-master/drivers/staging/dt3155/dt3155_io.h | KOala888/GB_kernel | gpl-2.0 | 7,813 | 359 | codeparrot/github-code |
4d3492e5d98fe3e18320b2ae4d5d75b240711f0930d12faa17f0aabf824ac982 | // Copyright 2014 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 "components/invalidation/invalidation_notifier.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "comp... | C++ | external/chromium_org/components/invalidation/invalidation_notifier_unittest.cc | s20121035/rk3288_android5.1_repo | gpl-3.0 | 3,082 | 91 | codeparrot/github-code |
f7c1aeaa9f33645e21407b2748f542593cd76de9575aa7d10d24a70b2581b4a4 | /*
* SuperH IrDA Driver
*
* Copyright (C) 2009 Renesas Solutions Corp.
* Kuninori Morimoto <morimoto.kuninori@renesas.com>
*
* Based on bfin_sir.c
* Copyright 2006-2009 Analog Devices Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public L... | C | drivers/net/irda/sh_sir.c | soap-DEIM/l4android | gpl-2.0 | 18,178 | 816 | codeparrot/github-code |
f1e0570beb5643aff95d44ea8481bee7b32a6fbaf11f825b761fe70a49a6c699 | <?php
/**
* Drupal_Sniffs_Files_TxtFileLineLengthSniff.
*
* PHP version 5
*
* @category PHP
* @package PHP_CodeSniffer
* @author Klaus Purer
* @link http://pear.php.net/package/PHP_CodeSniffer
*/
/**
* Drupal_Sniffs_Files_TxtFileLineLengthSniff.
*
* Checks all lines in a *.txt or *.md file and throw... | PHP | src/Drupal/Sniffs/Files/TxtFileLineLengthSniff.php | RobLoach/PHP_CodeSniffer_Drupal | gpl-2.0 | 1,923 | 73 | codeparrot/github-code |
d26bf6f2d37be05d3d0b80fe2aa0ce7f5ba5bb4eb11198dc7662498cddf90551 | /*
* linux/mm/madvise.c
*
* Copyright (C) 1999 Linus Torvalds
* Copyright (C) 2002 Christoph Hellwig
*/
#include <linux/mman.h>
#include <linux/pagemap.h>
#include <linux/syscalls.h>
#include <linux/mempolicy.h>
#include <linux/hugetlb.h>
#include <linux/sched.h>
#include <linux/ksm.h>
#include <linux/file.h>
... | C | mm/madvise.c | MartinsAD/xperia-kernel-msm7x30 | gpl-2.0 | 11,524 | 427 | codeparrot/github-code |
22da350d98049830b68fe4b6579177a0cbda71e258ae14b9ed1c31cad5569015 | /*
* Copyright (C) 2011-2014 MediaTek Inc.
*
* 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.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRAN... | C | arch/arm/mach-mt6589/include/mach/sync_write.h | vredniiy/sprout | gpl-2.0 | 2,883 | 118 | codeparrot/github-code |
919c7d475cc96d03e47fb5e78b5170d2eb3e79623343ffd82ce65d35c9a6e9ef | <?php
/////////////////////////////////////////////////////////////////////////////
// //
// NOTICE OF COPYRIGHT //
// //
/... | PHP | calendar/export.php | merrill-oakland/moodle | gpl-3.0 | 7,652 | 175 | codeparrot/github-code |
4cd607fe38770bb7f5b6a7858918d36d6e11e06f0c010d981bb850b2dc92f7e5 | /*
* This file is part of MPlayer.
*
* MPlayer 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 option) any later version.
*
* MPlayer is distribu... | C | oss-survey/mplayer-checkout-2011-04-26/libvo/fastmemcpy.h | DMCsys/smartalkaudio | gpl-3.0 | 3,082 | 101 | codeparrot/github-code |
49b013fe1745ef41a0952c0a8c5719d02642041cfc4389ffcc2b2599d7038fba | /**
* Copyright 2011 Google 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 ... | Java | src/com/google/bitcoin/core/InventoryMessage.java | hardbitcn/HardbitSafetyCheck | apache-2.0 | 3,091 | 72 | codeparrot/github-code |
4ca7e21fb65679f6885f06699c9bdf23bbe0b2c9ed85babc13fcf08abdccdf3d | #region License, Terms and Author(s)
//
// ELMAH - Error Logging Modules and Handlers for ASP.NET
// Copyright (c) 2004-9 Atif Aziz. All rights reserved.
//
// Author(s):
//
// Atif Aziz, http://www.raboof.com
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this... | C# | src/Elmah/DbCommandExtensions.cs | clearwavebuild/elmah | apache-2.0 | 2,714 | 76 | codeparrot/github-code |
494c8da9c562e54e83f6e47d33e3c256a8ab164b22b7d8529c3903a3e0759efd | /*
* Copyright (C) 2007 Eric Seidel <eric@webkit.org>
* Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) Research In Motion Limited 2010. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
... | C | src/qt/src/3rdparty/webkit/Source/WebCore/svg/SVGFontElement.h | 13W/phantomjs | bsd-3-clause | 3,084 | 94 | codeparrot/github-code |
8228621a7d0cca6a50ac1ce9be8d58e35098e2afd9b42c1fb0c4b29b8256055d | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | PHP | library/Zend/Navigation/Container.php | svn2github/zend_framework | bsd-3-clause | 18,577 | 614 | codeparrot/github-code |
c88f91e3299bd0f06d0768ee333023c2762d4cc84928b311f7d7e42239475a71 | <?php
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.2.4 or newer
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of th... | PHP | system/database/drivers/pdo/pdo_driver.php | J2TeaM/CodeIgniter | mit | 9,638 | 403 | codeparrot/github-code |
649a49a5746772694d1f111ecf843309913de3b613ee54aa9012eec5d1c32446 | /*
* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in ... | C | include/trace/events/ufs.h | bq-dev/android_kernel_bq_msm8976 | gpl-2.0 | 6,376 | 217 | codeparrot/github-code |
deb802c478aae711041ab4ba0dcf3dd1f479a48840bc58ad57647fa7916aee18 | /*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.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, or (at your option)
* any later version.
*
* ... | C | xbmc/rendering/gles/RenderSystemGLES.h | hackthis02/xbmc | gpl-2.0 | 3,460 | 123 | codeparrot/github-code |
2e0bbfd23721bffa47aa1f9eae2b0fd1e43555789bd7dd8b048400d7b0e84058 | package com.marshalchen.ultimaterecyclerview.demo;
import android.graphics.Color;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.... | Java | UltimateRecyclerView/app/src/main/java/com/marshalchen/ultimaterecyclerview/demo/TestAdMob.java | bunnyblue/UltimateRecyclerView | apache-2.0 | 6,829 | 183 | codeparrot/github-code |
d3e63aaf05dde9f4332638a7336d18a5308c7acc329b6b850d150f20a5e74972 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | PHP | library/Zend/InfoCard/Xml/SecurityTokenReference.php | ajgarlag/zf1 | bsd-3-clause | 5,507 | 174 | codeparrot/github-code |
100ddeb79457265574e2a2dc21afdc36354834f98690eb162d9ecc8d5d875544 | // SPDX-License-Identifier: GPL-2.0-only
/*
* tboot.c: main implementation of helper functions used by kernel for
* runtime support of Intel(R) Trusted Execution Technology
*
* Copyright (c) 2006-2009, Intel Corporation
*/
#include <linux/intel-iommu.h>
#include <linux/init_task.h>
#include <linux/spinlo... | C | linux-5.4/arch/x86/kernel/tboot.c | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 13,018 | 529 | codeparrot/github-code |
9ad8fa2c8c56894a435b3a9820dc8d3fbedb6d0886906c34786d6553ee9bd737 | /* -*- Mode: C; indent-tabs-mode:t ; c-basic-offset:8 -*- */
/*
* Core functions for libusbx
* Copyright © 2012-2013 Nathan Hjelm <hjelmn@cs.unm.edu>
* Copyright © 2007-2008 Daniel Drake <dsd@gentoo.org>
* Copyright © 2001 Johannes Erdfelt <johannes@erdfelt.com>
*
* This library is free software; you can redistri... | C | third_party/libusb/src/libusb/core.c | aospx-kitkat/platform_external_chromium_org | bsd-3-clause | 75,527 | 2,229 | codeparrot/github-code |
e33ca8a0333f630cf6d6667811c5f2df225c157bdc51669b649ddb4cbd51d85e | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\PropertyInfo\DependencyInjection;
use Symfony\Compone... | PHP | src/Symfony/Component/PropertyInfo/DependencyInjection/PropertyInfoPass.php | Simperfit/symfony | mit | 3,001 | 72 | codeparrot/github-code |
95b71a302842a27d9a8a1729117a881c0ededdd5837752d1b3da79777774c106 | /*******************************************************************************
comedi/drivers/pci1723.c
COMEDI - Linux Control and Measurement Device Interface
Copyright (C) 2000 David A. Schleef <ds@schleef.org>
This program is free software; you can redistribute it and/or modify
it under the terms ... | C | drivers/staging/comedi/drivers/adv_pci1723.c | aps243/kernel-imx | gpl-2.0 | 9,499 | 349 | codeparrot/github-code |
3b66743c76b42aa8a0e36ac40f498b215ab0ed291d1a511346bd33aab282503d | <?php
// displays the settings tab in Polylang settings
$content_with_no_languages = $this->model->get_objects_with_no_lang() && $this->options['default_lang'];
$page_on_front = 'page' == get_option('show_on_front') ? get_option('page_on_front') : 0; ?>
<form id="options-lang" method="post" action="admin.php?page=mla... | PHP | wp-content/plugins/polylang/admin/view-tab-settings.php | akashprabhakar/finance-house | gpl-2.0 | 9,177 | 234 | codeparrot/github-code |
7a1d1ac878f83529f3637a626ceb102abc540f5efe26266c7c1c5cef1a494b01 | <?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-2013 SugarCRM Inc.
* SuiteCRM... | PHP | modules/Campaigns/metadata/additionalDetails.php | sgaved/SuiteCRM | agpl-3.0 | 3,753 | 77 | codeparrot/github-code |
b6d61d97460971b6c6690eb15a748031f3e9a9954421666b7e17c90bd7a90acd | /* 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 applicable law or a... | C++ | tensorflow/compiler/xla/tools/convert_computation.cc | adit-chandra/tensorflow | apache-2.0 | 2,113 | 61 | codeparrot/github-code |
51512ea91337ccae700c2ba273b09891c934571fcffb74c36f17bf2f7d9de72c | /**
* 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-common/src/main/java/com/alibaba/dubbo/common/serialize/support/fst/FstObjectOutput.java | shuvigoss/dubbox | apache-2.0 | 2,448 | 92 | codeparrot/github-code |
8fd05142002beb669304b65cbbb194c50805b97d874743514681479df1e4e011 | /*
* Copyright (c) 1997 - 2008 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* 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 o... | C | src/C/FreeBSD/FreeBSD-10.0/heimdal/lib/krb5/crypto-evp.c | GaloisInc/hacrypto | bsd-3-clause | 5,497 | 183 | codeparrot/github-code |
9761293b2c76f411d6bdc4c717089dd266f80ef88c85186416822ad7277df4eb | /******************************************************************************
**
** FILE NAME : ifxmips_atm_ar9.c
** PROJECT : UEIP
** MODULES : ATM
**
** DATE : 7 Jul 2009
** AUTHOR : Xu Liang
** DESCRIPTION : ATM driver common source file (core functions)
** COPYRIGHT : Copyrigh... | C | trunk/package/kernel/lantiq/ltq-atm/src/ifxmips_atm_ar9.c | garyvan/openwrt | gpl-2.0 | 5,608 | 245 | codeparrot/github-code |
60b56963a4cdcef3c4e77d01517a7f034521d267bc782b0b4ad88b84104f03f9 | #ifndef _ASM_GENERIC_RWSEM_H
#define _ASM_GENERIC_RWSEM_H
#ifndef _LINUX_RWSEM_H
#error "Please don't include <asm/rwsem.h> directly, use <linux/rwsem.h> instead."
#endif
#ifdef __KERNEL__
/*
* R/W semaphores originally for PPC using the stuff in lib/rwsem.c.
* Adapted largely from include/asm-i386/rwsem.h
* by P... | C | virt/include/asm-generic/rwsem.h | mericon/Xp_Kernel_LGH850 | gpl-2.0 | 2,931 | 133 | codeparrot/github-code |
deaeb36baaa26c1d3168eab5fc107304fc5dd43d62aa451dca3e62ad06b55dcd | package digitalocean
import (
"fmt"
"log"
"strings"
"time"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/helper/schema"
"github.com/pearkes/digitalocean"
)
func resourceDigitalOceanDroplet() *schema.Resource {
return &schema.Resource{
Create: resourceDigitalOceanDropletCr... | GO | builtin/providers/digitalocean/resource_digitalocean_droplet.go | printedheart/terraform | mpl-2.0 | 10,934 | 435 | codeparrot/github-code |
cc239310e7722ee6039901105df0e1d44189c37e1f1fad4eede7bad840a4b40a | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Java | presto-main/src/main/java/com/facebook/presto/operator/aggregation/RegressionAggregation.java | kuzemchik/presto | apache-2.0 | 3,161 | 78 | codeparrot/github-code |
45ca0f459248f6adcf4ae0514baaaf937817cdd10a87ec1f607179e3e031971c | // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
// (C) Copyright 2003-2007 Jonathan Turkanis
// 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/iostreams for docume... | C++ | thirdparty/boost_1_67_0/boost/iostreams/stream.hpp | zcobell/MetOceanViewer | gpl-3.0 | 6,133 | 172 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.