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 |
|---|---|---|---|---|---|---|---|---|
2461adb373f3a76a88095551cf1ef555eb2d132eb355be790fb3c052ce8d371c | define([
"dojo/_base/array", // array.filter array.forEach array.map array.some
"dojo/_base/Deferred",
"dojo/aspect", // aspect.after
"dojo/data/util/sorter", // util.sorter.createSortFunction
"dojo/_base/declare", // declare
"dojo/dom", // dom.setSelectable
"dojo/dom-class", // domClass.toggle
"dojo/_base/kern... | JavaScript | www/js/dijit/form/_FormSelectWidget.js | avz-cmf/zaboy-middleware | gpl-3.0 | 26,000 | 763 | codeparrot/github-code |
48910f102764450f3344f15603686e65a5a01189a949f55118102234ec333fb3 |
/*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "Benchmark.h"
#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkShader.h"
#include "SkString.h"
static void create_gradient(SkBitmap* bm) {
SkASSERT(1 == ... | C++ | third_party/skia/bench/TileBench.cpp | zero-rp/miniblink49 | apache-2.0 | 4,479 | 135 | codeparrot/github-code |
df263cdff68dfc8cd4c039aabcceff211c12cecfab3ce4b01d4bfeec39656c89 | /*
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) 2010-2011 Texas Instruments Incorporated,
All rights reserved.
This program is free software; you can redistribute it and/or modify
it ... | C | sound/soc/omap/abe/abe_ini.c | MoKee/android_kernel_samsung_t1 | gpl-2.0 | 16,405 | 465 | codeparrot/github-code |
6d015755d5d340b1ce3a8993d9481c5e0dd706a40b852362d74a2c00f2ee35b4 | package org.thoughtcrime.securesms;
import android.annotation.TargetApi;
import android.app.ActivityOptions;
import android.content.Intent;
import android.os.Build;
import android.os.Build.VERSION_CODES;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.ActivityCompat;
... | Java | src/org/thoughtcrime/securesms/BaseActionBarActivity.java | jocelynthode/TextSecure | gpl-3.0 | 3,137 | 98 | codeparrot/github-code |
77afe1820318a97973b2efdcebb3ad8b7b3a6ecaa73c30c6a2be3e2e21136999 | /**
* Created by andrewvetovitz on 12/21/2018.
*/
import passport = require('passport');
import linkedin = require('passport-linkedin-oauth2');
// just some test model
const User = {
findOrCreate(id: string, provider: string, callback: (err: any, user: any) => void): void {
callback(null, { username: 'ja... | TypeScript | types/passport-linkedin-oauth2/passport-linkedin-oauth2-tests.ts | borisyankov/DefinitelyTyped | mit | 1,209 | 43 | codeparrot/github-code |
0cf6f04ca4cab81ac8e16464e3682471cc51608c10734e57206c9d9b5647e484 | /**
* @license Highcharts JS v6.0.3 (2017-11-14)
* Accessibility module
*
* (c) 2010-2017 Highsoft AS
* Author: Oystein Moseng
*
* License: www.highcharts.com/license
*/
'use strict';
(function(factory) {
if (typeof module === 'object' && module.exports) {
module.exports = factory;
} else {
... | JavaScript | ajax/libs/highstock/6.0.3/js/modules/accessibility.src.js | holtkamp/cdnjs | mit | 85,645 | 2,034 | codeparrot/github-code |
fd8be83d701f9b242ddd6a652e937dc32a05ef4f8e92af59e812d463e67fb730 | /*
* include/asm-xtensa/platform-iss/simcall.h
*
* 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) 2001 Tensilica Inc.
*/
#ifndef _XTENSA_PLATFORM_ISS_SIMCALL_H
#define _XTE... | C | arch/xtensa/platforms/iss/include/platform/simcall.h | foomango/linux-3.7.1 | gpl-2.0 | 3,042 | 121 | codeparrot/github-code |
50034d76d3cbf2780c8a7705904bb9b82604b34012e2743fb7bd944673ff8055 | /*
*
*
* Copyright (C) 2005 Mike Isely <isely@pobox.com>
* Copyright (C) 2004 Aurelien Alleaume <slts@free.fr>
*
* 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 ... | C | drivers/media/usb/pvrusb2/pvrusb2-v4l2.c | raumfeld/linux-am33xx | gpl-2.0 | 34,367 | 1,321 | codeparrot/github-code |
61ba5af985cbb69a0ba0cbc4ca8cf7a17db565e66591e94694cf7235c87139dc | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | C++ | third_party/libc++/trunk/test/numerics/rand/rand.adapt/rand.adapt.ibits/discard.pass.cpp | mxOBS/deb-pkg_trusty_chromium-browser | bsd-3-clause | 1,135 | 53 | codeparrot/github-code |
7f8fe7e0ba72ace254be80d9ec09f88c4c26ae9b88ace52b37e1d70cb3f5b066 | /* Copyright (c) 2013-2016, 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 | sound/soc/msm/qdsp6v2/msm-audio-effects-q6-v2.c | gerard87/kernel_shamu_n_preview | gpl-2.0 | 32,128 | 1,097 | codeparrot/github-code |
ebc76c6478eb16f3fc8b2dbc8f94342cccd051668cf8adcc0ab379f63d0bd6a0 | /*
* extcon-max77693.c - MAX77693 extcon driver to support MAX77693 MUIC
*
* Copyright (C) 2012 Samsung Electrnoics
* Chanwoo Choi <cw00.choi@samsung.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 So... | C | linux-4.14/drivers/extcon/extcon-max77693.c | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 37,395 | 1,279 | codeparrot/github-code |
806cf3a29908802a3e71d7f1e13c159adb7404d6da2a60f20e645716fd20a3c3 | /* drivers/video/msm/mddi_sony_s6d05a1_hvga.c
*
* MDDI client driver for the sony HVGA display
* with driver IC Samsung S6D05A1X01.
*
* Copyright (C) 2010 Sony Ericsson Mobile Communications AB.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publ... | C | drivers/video/msm/mddi_sony_s6d05a1_hvga.c | TheGreatSega/R-Kernel | gpl-2.0 | 24,287 | 1,025 | codeparrot/github-code |
ffa63c30c0632807c381dd53a6ee824b6694b9dac8d481a3551e7947c2a6289d | /**
******************************************************************************
* @file stm32f10x_flash.c
* @author MCD Application Team
* @version V3.3.0
* @date 04/16/2010
* @brief This file provides all the FLASH firmware functions.
***************************************************... | C | vsf/interfaces/cpu/stm32/hw/STM32F10x_Lib/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c | lxyppc/vsprog | gpl-3.0 | 63,877 | 1,736 | codeparrot/github-code |
bfb846949b04f14d3a1719cf3f7bdb3e440cb4403e25b82aca3841c87a5be649 | /* 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 ag... | C++ | tensorflow/core/profiler/internal/tfprof_op.cc | nburn42/tensorflow | apache-2.0 | 11,727 | 331 | codeparrot/github-code |
6e73e400360af2690b4be0f66f38b3dbd8d207a6bb5fbb5ff08f57d0623de3d4 | /*
* linux/fs/hpfs/super.c
*
* Mikulas Patocka (mikulas@artax.karlin.mff.cuni.cz), 1998-1999
*
* mounting, unmounting, error handling
*/
#include "hpfs_fn.h"
#include <linux/module.h>
#include <linux/parser.h>
#include <linux/init.h>
#include <linux/statfs.h>
#include <linux/magic.h>
#include <linux/sched.h>
... | C | oss/linux/linux-4.7/fs/hpfs/super.c | geminy/aidear | gpl-3.0 | 20,657 | 800 | codeparrot/github-code |
3039357c43696a0062299591fae7921151626daf445f2b77160f143d66f97049 | /*
* linux/arch/arm/mach-omap1/board-osk.c
*
* Board specific init for OMAP5912 OSK
*
* Written by Dirk Behme <dirk.behme@de.bosch.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;... | C | media/arch/arm/mach-omap1/board-osk.c | iwinoto/v4l-media_build | gpl-2.0 | 16,443 | 618 | codeparrot/github-code |
c5e6ec2e1c877ae9bc9a3688b21ec2e82def0d280f46ad5f63a5e4e187b5ba12 | /*
* (C) Copyright 2008-2009
* BuS Elektronik GmbH & Co. KG <www.bus-elektronik.de>
* Jens Scharsig <esw@bus-elektronik.de>
*
* 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... | C | qca/src/u-boot/board/BuS/eb_cpux9k2/cpux9k2.c | itgb/opCloudRouter | gpl-2.0 | 9,157 | 392 | codeparrot/github-code |
22d3ce1d03d24f3e55e74441f2cb246f6a80608e46306cf213cc3c67ccd69cf8 | namespace GitImpact
{
partial class FormImpact
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <par... | C# | Plugins/Statistics/GitImpact/FormImpact.Designer.cs | linquize/gitextensions | gpl-3.0 | 4,962 | 115 | codeparrot/github-code |
40b2dc4dee8b4daadd5bde059799e2b9930d22546814eec4932e63527f63e17c | /**
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license.... | Java | web/src/main/java/org/openmrs/module/web/filter/ForcePasswordChangeFilter.java | sintjuri/openmrs-core | mpl-2.0 | 2,798 | 93 | codeparrot/github-code |
5c30937f3bee7ef8d5df47980e8bdb068745ecceeec8e5decd8474a768cdb34a |
/*
#define DEFINE_UNICODE FALSE
#define _PATH_SEPARATOR_CHR '\\'
#define PATH_CCH_ADD_EXTENSION PathCchAddExtensionA
*/
#if DEFINE_UNICODE
HRESULT PATH_CCH_ADD_EXTENSION(PWSTR pszPath, size_t cchPath, PCWSTR pszExt)
{
#ifdef _WIN32
LPWSTR pDot;
BOOL bExtDot;
LPWSTR pBackslash;
size_t pszExtLength;
size_t pszPa... | C | winpr/libwinpr/path/include/PathCchAddExtension.c | ssieb/FreeRDP | apache-2.0 | 1,976 | 101 | codeparrot/github-code |
6d54ce7ed3ddad42db6f1d553b845fb01ff1103a70933462f5600dd9995ecb07 | #ifndef ALIGENEMCOCKTAIL_H
#define ALIGENEMCOCKTAIL_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
//
// Class to create the cocktail for physics with electrons, di-electrons,
// and photons from the decay of th... | C | PWG/Cocktail/AliGenEMCocktail.h | yowatana/AliPhysics | bsd-3-clause | 5,735 | 108 | codeparrot/github-code |
bcad3aa2e72399fba7f32fed20f1b618d7c803cfed733eb690033e8c7ea1aaff | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/common/service_process_util.h"
#include <algorithm>
#include "base/command_line.h"
#include "base/logging.h"
#include "base/memory/... | C++ | external/chromium_org/chrome/common/service_process_util.cc | s20121035/rk3288_android5.1_repo | gpl-3.0 | 9,984 | 286 | codeparrot/github-code |
751de67efb6c25fa97a0a0430912f31d2b765c3652c32ae4873e8d9688d66fc4 | /*=============================================================================
Copyright (c) 2001-2007 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++ | windows/include/boost/spirit/home/phoenix/bind/detail/bind_function_object.hpp | jaredhoberock/gotham | apache-2.0 | 1,694 | 44 | codeparrot/github-code |
cca5c7e90d7ea181335b8f6c540f06f7f9f938ea4e7a870267924c9fd53e4568 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Java | server/src/test/java/org/elasticsearch/ingest/ValueSourceTests.java | qwerty4030/elasticsearch | apache-2.0 | 2,947 | 73 | codeparrot/github-code |
194082703a9584f7775a09f27632fd225f465967a4345c015a0eb9bc5d6f9d4c | /*
* Copyright (C) 2004-2009 Freescale Semiconductor, Inc.
*
* 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 Software Foundation; ei... | C | u-boot-s805/arch/powerpc/cpu/mpc83xx/cpu_init.c | InternetBowser/plutos | gpl-2.0 | 14,729 | 522 | codeparrot/github-code |
9b0a6002bbc132377966eff917542adf24191577ec2ca0ff2b5a83e5e08bdfb1 | /*-----------------------------------------------------------------------------+
* This source code is dual-licensed. You may use it under the terms of the
* GNU General Public License version 2, or under the license below.
*
* This source code has been made available to you by IBM on an AS-IS
* basis. Any... | C | uboot/u-boot-2010.06/drivers/net/4xx_enet.c | kbridgers/VOLTE4GFAX | gpl-2.0 | 63,365 | 2,082 | codeparrot/github-code |
474e930119e01d631af6f3e008859adc2646d3aca615801275d95907db13db02 | /*
* 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 | plugins/java-decompiler/engine/src/org/jetbrains/java/decompiler/struct/consts/ConstantPool.java | akosyakov/intellij-community | apache-2.0 | 8,299 | 242 | codeparrot/github-code |
631c1c9190f379dd2950be809e02caef098fec612c50779af5c6233593c1763e | <?php
/**
* Fuel
*
* Fuel is a fast, lightweight, community driven PHP5 framework.
*
* @package Fuel
* @version 1.7
* @author Fuel Development Team
* @license MIT License
* @copyright 2010 - 2015 Fuel Development Team
* @link http://fuelphp.com
*/
namespace Parser;
use Router;
use Uri;
... | PHP | fuel/packages/parser/classes/twig/fuel/extension.php | vano00/todo | mit | 4,815 | 141 | codeparrot/github-code |
4c69f3b954c4712ab322cea76c37d622dd9aa663d84a1c21c516e775e9f1695f | <?php
namespace Concrete\Core\Permission;
use Session;
class Set {
protected $permissions;
protected $pkCategoryHandle;
public function addPermissionAssignment($pkID, $paID) {
$this->permissions[$pkID] = $paID;
}
public function getPermissionAssignments() {
return $this->permissions;
}
public function se... | PHP | updates/concrete5.7.5.6/concrete/src/Permission/Set.php | lifejuggler/audrey_site | mit | 733 | 34 | codeparrot/github-code |
fed78d322a98b7a03c0958250a86ddd3228f36ba9e431a37c68005aaf11abefb | /*
* tvp5150 - Texas Instruments TVP5150A/AM1 video decoder driver
*
* Copyright (c) 2005,2006 Mauro Carvalho Chehab (mchehab@infradead.org)
* This code is placed under the terms of the GNU General Public License v2
*/
#include <linux/i2c.h>
#include <linux/videodev2.h>
#include <linux/delay.h>
#include <linux/vi... | C | go12/linux-2.6.28.10/drivers/media/video/tvp5150.c | kzlin129/tt-gpl | gpl-2.0 | 30,053 | 1,162 | codeparrot/github-code |
0dc8af5f31f98515b65ebc030afa10fdae64519793cc3f260976a4c23a721994 |
#include <linux/ceph/ceph_debug.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <asm/div64.h>
#include <linux/ceph/libceph.h>
#include <linux/ceph/osdmap.h>
#include <linux/ceph/decode.h>
#include <linux/crush/hash.h>
#include <linux/crush/mapper.h>
char *ceph_osdmap_state_str(char *str, int len, int ... | C | net/ceph/osdmap.c | JaeYoulLee/Linux-Kernel | gpl-2.0 | 29,622 | 1,242 | codeparrot/github-code |
b197edbb5ba324d42e1b8d6ed950f74b6c5b24fd2392dbef8e858f9b71e5e967 | /*
* linux/drivers/cpufreq/cpufreq.c
*
* Copyright (C) 2001 Russell King
* (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de>
* (C) 2013 Viresh Kumar <viresh.kumar@linaro.org>
*
* Oct 2005 - Ashok Raj <ashok.raj@intel.com>
* Added handling for CPU hotplug
* Feb 2006 - Jacob Shin <jaco... | C | drivers/cpufreq/cpufreq.c | Myself5/android_kernel_sony_msm | gpl-2.0 | 59,139 | 2,309 | codeparrot/github-code |
e834d8c7a0ac675fc05623b09d47ff65adabd6a5176c65566a830aca4b39504f | /* BFD support for the FRV processor.
Copyright (C) 2002-2014 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
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 S... | C | third_party_backup/binutils-2.25/bfd/cpu-frv.c | jlspyaozhongkai/Uter | gpl-3.0 | 2,525 | 66 | codeparrot/github-code |
0f072ae98f2a827e920f0cd4afaf4a6fb0f22eeb019d9f45aa507fcfe05be101 | /*
* 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 | presto166/presto-main/src/main/java/com/facebook/presto/testing/QueryRunner.java | marsorp/blog | apache-2.0 | 1,736 | 58 | codeparrot/github-code |
1bd64c837acb111339aa3bc0f8b86fdcf5edf931a66e22c97f5208bfb4819ce0 | //function codeBlockHandler(id, data, value)
function codeBlockHandler()
{
// handle groups of snippets to make sure at least one from the group is always shown
HandleSnippetGroups();
// handle any remaining snippets that aren't in groups
var spanElements = document.getElementsByTagName("span");
for(... | JavaScript | tools/Sandcastle/Presentation/vs2005/Scripts/CommonUtilities.js | fringebits/NLog | bsd-3-clause | 10,116 | 337 | codeparrot/github-code |
1dc87c69bfc76658320a63b2e79bbaf7ae12b164263b98dc0d2b1daebbc41e6b | /*
* Copyright (C) 2005-2012 The Paparazzi Team
*
* This file is part of paparazzi.
*
* paparazzi 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 versi... | C | workspace/EclipsePapa/src/sw/airborne/mcu_periph/spi.c | monzie9000/rory | gpl-2.0 | 2,484 | 147 | codeparrot/github-code |
e273c4ffa273a8e2dbd8db95b888439e985f584f244e74276d6dca6e7f549f89 | // { dg-require-namedlocale "en_HK" }
// 2004-03-15 Paolo Carlini <pcarlini@suse.de>
// Copyright (C) 2004-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 ... | C++ | libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/18.cc | jagleeso/gcc | gpl-2.0 | 2,119 | 71 | codeparrot/github-code |
7332c0a87dc477c21795508ad930bd21efbca693bfca976f7fc59c9a97e2cf64 | /*
* Copyright 2012 Red Hat 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, merge, publish, d... | C | oss/linux/linux-4.7/drivers/gpu/drm/nouveau/nvkm/subdev/mc/g84.c | geminy/aidear | gpl-3.0 | 2,246 | 69 | codeparrot/github-code |
9382397cadc6f9563209bb6562588b5ddc20d420b7c86f1702fd756c79853679 | #include "base.h"
#include "log.h"
#include "buffer.h"
#include "plugin.h"
#include "inet_ntop_cache.h"
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
/**
* mod_evasive
*
* we indent to implement all features the mod_evasive from apache has
*
* - limit of connections per IP
* - provide a list of b... | C | src/mod_evasive.c | changtailiang/lighttpd-improved | bsd-3-clause | 4,915 | 212 | codeparrot/github-code |
d90a164220b060dec46329b9b039d198fc60a7b3bd02c0e0f7fc072a58d7a95d | <?php
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
/**
* 风格文件列表
*
* @category typecho
* @package Widget
* @copyright Copyright (c) 2008 Typecho team (http://www.typecho.org)
* @license GNU General Public License 2.0
* @version $Id$
*/
/**
* 风格文件列表组件
*
* @author qining
* @category typecho
* @package Widget
... | PHP | var/Widget/Themes/Files.php | Larthas/typecho | gpl-2.0 | 3,346 | 137 | codeparrot/github-code |
ed8b7aa55ac6edf97c26c133cb8fcd1165981cb287cf1ee09a959b35cd5f7030 | define(['util/dom2', 'util/arrays', 'util/strings'], function (Dom, Arrays, Strings) {
function insert(range) {
var leftMarkerChar = (3 === range.startContainer.nodeType ? '[' : '{');
var rightMarkerChar = (3 === range.endContainer.nodeType ? ']' : '}');
Dom.splitTextContainers(range);
var leftMarker = d... | JavaScript | wp-content/plugins/front-end-editor/lib/aloha-editor/lib/util/boundary-markers.js | subhadip-sahoo/dailyfoodies | gpl-2.0 | 2,955 | 87 | codeparrot/github-code |
e40e5ad3a9a5db3d7618087c7c014f2d71bebf146085487c2eed40fc1abecce9 | #include "amd64_edac.h"
#include <asm/amd_nb.h>
static struct edac_pci_ctl_info *pci_ctl;
static int report_gart_errors;
module_param(report_gart_errors, int, 0644);
/*
* Set by command line parameter. If BIOS has enabled the ECC, this override is
* cleared to prevent re-enabling the hardware by this driver.
*/
s... | C | drivers/edac/amd64_edac.c | codebam/linux | gpl-2.0 | 78,167 | 3,042 | codeparrot/github-code |
240d4a16543dc5b32069b33eeda862f9ccff513d00e78c85ec285329162077f8 | /**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.act.entity;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.activiti.engine.history.HistoricActivityInstance;
import org.activiti.eng... | Java | subadmin/src/main/java/com/thinkgem/jeesite/modules/act/entity/Act.java | quangou365/sub | apache-2.0 | 7,618 | 385 | codeparrot/github-code |
0560c338d16c6f738df776f6c4f405aaf17f2436c3d1820177724d6a92cdebd9 | // SPDX-License-Identifier: GPL-2.0
/*
* Support for Medifield PNW Camera Imaging ISP subsystem.
*
* Copyright (c) 2010 Intel Corporation. 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 ... | C | drivers/staging/media/atomisp/pci/atomisp_subdev.c | Naoya-Horiguchi/linux | gpl-2.0 | 40,875 | 1,444 | codeparrot/github-code |
866f9c0a6a6ac379920bd740b7c7071bf2fc46632233e447711397de1faeb33e | import Ember from 'ember';
// GhostSelect is a solution to Ember.Select being evil and worthless.
// (Namely, this solves problems with async data in Ember.Select)
// Inspired by (that is, totally ripped off from) this JSBin
// http://emberjs.jsbin.com/rwjblue/40/edit
// Usage:
// Extend this component and create a te... | JavaScript | core/client/app/components/gh-select.js | automenta/afterlife | agpl-3.0 | 2,416 | 80 | codeparrot/github-code |
e3c3ba363efe2e6601216b9468a9908d00d115d38a4e062af1d420e743adf6c3 | package io.prediction.examples.friendrecommendation
import io.prediction.controller._
import scala.collection.immutable.HashMap
import scala.math
import scala.io.Source
class KeywordSimilarityAlgorithm (val ap: FriendRecommendationAlgoParams)
extends LAlgorithm[FriendRecommendationTrainingData,
KeywordSimilarit... | Scala | examples/experimental/scala-local-friend-recommendation/src/main/scala/KeywordSimilarityAlgorithm.scala | ch33hau/PredictionIO | apache-2.0 | 2,365 | 67 | codeparrot/github-code |
6a177e0588232705558d228ac6013447a80bc69bd912b9072806d1cc6ca6798a | import English = require("./English");
import Language = require("./Language");
declare namespace French {
interface Vocabulary extends English.Vocabulary {
soit: string;
etantdonnalorss: string;
etantdonnalors: string;
etantdonne: string;
quand: string;
lorsque: str... | TypeScript | types/yadda/lib/localisation/French.d.ts | markogresak/DefinitelyTyped | mit | 8,833 | 78 | codeparrot/github-code |
7c0e61d88ba67b65cd2e4feb4f6a3445725e1f7267ab1dc7be46005ee7122105 | /*
* video.c - ACPI Video Driver
*
* Copyright (C) 2004 Luming Yu <luming.yu@intel.com>
* Copyright (C) 2004 Bruno Ducrot <ducrot@poupinou.org>
* Copyright (C) 2006 Thomas Tuttle <linux-kernel@ttuttle.net>
*
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
* This program is f... | C | drivers/acpi/acpi_video.c | oscardagrach/linux | gpl-2.0 | 58,286 | 2,231 | codeparrot/github-code |
c185b0adf9e1df93ad9c3b1c5d945533d0acc49e173fdc8cedac0a2805344279 | /* GemTek radio card driver for Linux (C) 1998 Jonas Munsin <jmunsin@iki.fi>
*
* GemTek hasn't released any specs on the card, so the protocol had to
* be reverse engineered with dosemu.
*
* Besides the protocol changes, this is mostly a copy of:
*
* RadioTrack II driver for Linux radio support (C) 1998 Ben P... | C | packages/wbsairback-kernel-image/wbsairback-kernel-image-3.2.43/drivers/media/radio/radio-gemtek.c | WhiteBearSolutions/WBSAirback | apache-2.0 | 15,860 | 615 | codeparrot/github-code |
38c7a3170511eec4564695542b3dc53f90b4aaaf1d8f76c2e41bacd81fe7dbe4 | // Type definitions for Ionic
// Project: http://ionicframework.com
// Definitions by: Spencer Williams <https://github.com/spencerwi/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../angularjs/angular.d.ts" />
declare module ionic {
module actionSheet {
interface Io... | TypeScript | types/ionic/ionic.d.ts | rodzewich/playground | mit | 10,482 | 291 | codeparrot/github-code |
db1f51bf32158165cfd64f2397b6ef40a7b0a879873a15e36289ff0eb58089cd | /*
* Rockchip usb PHY driver
*
* Copyright (C) 2014 Yunzhi Li <lyz@rock-chips.com>
* Copyright (C) 2014 ROCKCHIP, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 ... | C | drivers/phy/phy-rockchip-usb.c | linusw/linux-bfq | gpl-2.0 | 13,020 | 502 | codeparrot/github-code |
0259958324dd185e0bc59a6679eb841a87523f16e925ffae9baf0902061ad457 | /*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program 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 Software Foundation.
*
* This program is distributed... | C | media/drivers/staging/lustre/lustre/llite/llite_nfs.c | iwinoto/v4l-media_build | gpl-2.0 | 8,618 | 328 | codeparrot/github-code |
a85bfe79390de4c49bca04bef47614e07d3bb1e9e66837e7f58ad928c40af144 | /*
* pata_jmicron.c - JMicron ATA driver for non AHCI mode. This drives the
* PATA port of the controller. The SATA ports are
* driven by AHCI in the usual configuration although
* this driver can handle other setups if we need it.
*
* (c) 2006 Red Hat
*/
#include <linux/kernel.h>
#include <linux/modul... | C | drivers/ata/pata_jmicron.c | dancefire/hd806-kernel-android | gpl-2.0 | 4,693 | 186 | codeparrot/github-code |
9e7bb81945bf711136e43f382d9859d7ab07dc154de6bf85785b75ec59ca7dc3 | /*
Unix SMB/CIFS implementation.
routines for marshalling/unmarshalling string types
Copyright (C) Andrew Tridgell 2003
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 ... | C | user/samba/source/librpc/ndr/ndr_string.c | rhuitl/uClinux | gpl-2.0 | 15,994 | 621 | codeparrot/github-code |
2038a78f1be1a3354a0f403703b5bdd6ab2c97a36395c39562109631ce64f07c | /*
* Copyright 2012-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Java | spring-boot-test/src/main/java/org/springframework/boot/test/web/htmlunit/webdriver/LocalHostWebConnectionHtmlUnitDriver.java | olivergierke/spring-boot | apache-2.0 | 2,372 | 73 | codeparrot/github-code |
875c887f4d121c119f685c4b762ab22a00fad2d2584ccfab2a4c845a20282774 | var vows = require("vows"),
_ = require("../../"),
load = require("../load"),
assert = require("../assert");
var suite = vows.describe("d3.geom.hull");
suite.addBatch({
"hull": {
topic: load("geom/hull").expression("d3.geom.hull"),
"the default hull layout": {
topic: function(hull) {
... | JavaScript | www/js/d3-master/test/geom/hull-test.js | phillchill/what-is-africa | mit | 2,429 | 69 | codeparrot/github-code |
769eeaadae1747fc74641f050608b88c00e2cd3fae2c827c20f4d718f3f03c9f | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java | components/camel-kubernetes/src/test/java/org/apache/camel/component/kubernetes/producer/KubernetesBuildConfigsProducerTest.java | pplatek/camel | apache-2.0 | 3,249 | 87 | codeparrot/github-code |
a51d07ef76f0ab8e8996e152f7ff2786249b72109026a4e768459ec16a510d07 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
var pass = chrome.test.callbackPass;
var TABLE_NAME = 'en-us-comp8.ctb';
var CONTRACTED_TABLE_NAME = 'en-us-g2.ctb';
var TEXT = 'hello';
// Translation o... | JavaScript | chrome/test/data/chromeos/liblouis_nacl/test.js | Chilledheart/chromium | bsd-3-clause | 3,413 | 108 | codeparrot/github-code |
57db3cb4ff5cbd75440c346a6b6876a224722386a37b613fa18701c6b1b56ac0 | /*
* Low-level device IO routines for ST-Ericsson CW1200 drivers
*
* Copyright (c) 2010, ST-Ericsson
* Author: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>
*
* Based on:
* ST-Ericsson UMAC CW1200 driver, which is
* Copyright (c) 2010, ST-Ericsson
* Author: Ajitpal Singh <ajitpal.singh@stericsson.com>
*
... | C | net/compat-wireless/drivers/staging/cw1200/hwio.c | XMelancholy/kernel_snda_u8500 | gpl-2.0 | 6,914 | 288 | codeparrot/github-code |
6f028a627a38b59d27132cc4d07def695a705587f363bdb4d49ef227bb84b316 | /*
* Copyright (c) 2009, Microsoft 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 program is distributed in the hope it will be useful,... | C | drivers/staging/hv/vmbus.c | nazgee/igep-kernel | gpl-2.0 | 7,387 | 275 | codeparrot/github-code |
b60ac0e5b4b888ec51b9aac1969b4921ebef716a0041ffe6ab8ce6617966a64e | /* drivers/atm/zatm.c - ZeitNet ZN122x device driver */
/* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/pci.h>
#include <linux/errno.h>
#include <linux/atm.h>
#include <linux/atmdev.h>
#include <linux/sonet.h>
#inc... | C | openplatform/sdk/os/kernel-2.6.32/drivers/atm/zatm.c | go2ev-devteam/Gplus_2159_0801 | gpl-2.0 | 44,423 | 1,660 | codeparrot/github-code |
f699cb8e50ba23ddbabab970973541e721d9fe6d71b42ef0664c7b1725b3a882 | #!/usr/bin/env python
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Traverses the source tree, parses all found DEPS files, and constructs
a dependency rule table to be used by subclasses.
The format... | Python | third_party/webrtc/src/chromium/src/buildtools/checkdeps/builddeps.py | Teamxrtc/webrtc-streaming-node | mit | 15,226 | 377 | codeparrot/github-code |
01492276fa83f2e241af1f94bb8fee069369de7ca519b35c9cde506a5a4f0131 | /*
Unix SMB/CIFS implementation.
Python wrapper for winbind client functions.
Copyright (C) Tim Potter 2002-2003
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 ve... | C | user/samba/source/python/py_winbind.c | rhuitl/uClinux | gpl-2.0 | 19,000 | 801 | codeparrot/github-code |
bea0845827034bfc5f5ad9c54e183f04b5b62718918ead3c668251b9ab52830d | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU... | Python | openerp/addons/account_budget/wizard/account_budget_crossovered_summary_report.py | jss-emr/openerp-7-src | agpl-3.0 | 2,217 | 60 | codeparrot/github-code |
284fa209267236d0e7a809acfe9a7d255e62d7108f24b27330cc34a71457fca3 | // ----------------------------------------------------------------------------
// format_fwd.hpp : forward declarations
// ----------------------------------------------------------------------------
// Copyright Samuel Krempp 2003. Use, modification, and distribution are
// subject to the Boost Software Lic... | C++ | windows/include/boost/format/format_fwd.hpp | jaredhoberock/gotham | apache-2.0 | 1,776 | 50 | codeparrot/github-code |
b3741b72b7cda2debb3dfdb4eef2017e658b1dafff1255c304d95723eedefae7 | /**
******************************************************************************
* @file stm32f7xx_ll_exti.c
* @author MCD Application Team
* @brief EXTI LL module driver.
******************************************************************************
* @attention
*
* <h2><center>© Copyright... | C | targets/TARGET_STM/TARGET_STM32F7/STM32Cube_FW/STM32F7xx_HAL_Driver/stm32f7xx_ll_exti.c | adfernandes/mbed | apache-2.0 | 7,261 | 215 | codeparrot/github-code |
2eeb85c2ac76b5b29dca2db8ee6e2d86796bde20fc54dd3620a2b2315fa9902e | package edu.indiana.lib.osid.base.repository.http;
public class NotePartStructure implements org.osid.repository.PartStructure
{
private org.osid.shared.Id NOTE_PART_STRUCTURE_ID = null;
private org.osid.shared.Type type = new Type( "sakaibrary", "partStructure",
"note", "Note attached to resource metadata" );
p... | Java | citations/citations-osid/web2bridge/src/java/edu/indiana/lib/osid/base/repository/http/NotePartStructure.java | ouit0408/sakai | apache-2.0 | 2,707 | 118 | codeparrot/github-code |
91f086a1a8300cb7e0312adbfbfa7da8652ecf869b351988b1705c5cd3b45652 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Java | plugins/analysis-smartcn/src/test/java/org/elasticsearch/index/analysis/AnalysisSmartChineseFactoryTests.java | wuranbo/elasticsearch | apache-2.0 | 1,282 | 37 | codeparrot/github-code |
d6e4ae1b000ffc4542155f92b5ab8028c20cad5d6a7898bff2caff221de3de48 | <?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2015, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... | PHP | xj/sys/database/drivers/cubrid/cubrid_forge.php | newarmy/blog | mit | 5,745 | 228 | codeparrot/github-code |
c5d3f54fcc96fc1646504429f596c80af7b5cf33fb2c8e57957da42fc32fc90e | //
// request.hpp
// ~~~~~~~~~~~
//
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
#ifndef HTTP_SERVER3_REQUEST_HPP
#define HTTP... | C++ | thirdparty/sources/boost_1_60_0/libs/asio/example/cpp03/http/server3/request.hpp | gwq5210/litlib | gpl-3.0 | 701 | 35 | codeparrot/github-code |
11e2cbd44da99dd5d8d8a6ea09c77ba1eae826730266546b25ef4f1ce002d6d9 | /*
* Copyright 2000-2013 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-psi-api/src/com/intellij/psi/PsiInferenceHelper.java | caot/intellij-community | apache-2.0 | 2,714 | 60 | codeparrot/github-code |
663a56f2c67326703f45d56b798fb7b2f4d6e83487ce7412188dada8c62b7bd3 | // Copyright (c) 2018 Google LLC
//
// 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 ... | C | third_party/swiftshader/third_party/SPIRV-Tools/source/reduce/change_operand_reduction_opportunity.h | endlessm/chromium-browser | bsd-3-clause | 1,858 | 55 | codeparrot/github-code |
b59ae868ad8bc304c025dc1cd610349ecb8eac950163a8d1f69c96ea26171775 | /* drivers/video/msm/logo.c
*
* Show Logo in RLE 565 format
*
* Copyright (C) 2008 Google Incorporated
* Copyright (C) 2013 Sony Mobile Communications AB
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copie... | C | drivers/video/msm/logo.c | Tommy-Geenexus/sony_sources | gpl-2.0 | 4,156 | 179 | codeparrot/github-code |
e7e253129abbc805d43f8ccafd55f55c519fc12ab560ddd78b1359d248906142 | /*
* 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) 2000 - 2001 by Kanoj Sarcar (kanoj@sgi.com)
* Copyright (C) 2000 - 2001 by Silicon Graphics, Inc.
* Copyright (C) 2000, 20... | C | linux/arch/mips/include/asm/smp.h | eabatalov/au-linux-kernel-autumn-2017 | gpl-3.0 | 3,092 | 113 | codeparrot/github-code |
fc4b4a33d9b0fc59af30b1a8294a2f51b155c28b09a8fe79678d8332dd924df2 | /* Copyright (C) 2013-2015 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.
... | C | win32/mingw/lib/gcc/i686-w64-mingw32/5.1.0/include/pcommitintrin.h | sdlBasic/sdlbrt | lgpl-2.1 | 1,616 | 50 | codeparrot/github-code |
6b9c29e32db7f17d5610fa0e98cea067bbba9afc35d50d238930a0fd00c68e17 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Java | server/src/main/java/org/elasticsearch/rest/action/ingest/RestGetPipelineAction.java | gfyoung/elasticsearch | apache-2.0 | 2,198 | 52 | codeparrot/github-code |
071bb9b2bf80b63b85707f87566cf63856d2c82e5c3bd38ef81fb47196ac9d18 | // 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 | w/static/lib/google-closure-library/closure/goog/ui/style/app/menubuttonrenderer.js | erasme/griotte | gpl-2.0 | 8,172 | 234 | codeparrot/github-code |
5aa1cd8ac55b2e541b85ed163830b7cd62723580433ded4c7e85a0f6c619a8cf | /*
dsp/sinc.h
Copyright 2003-4 Tim Goetze <tim@quitte.de>
http://quitte.de/dsp/
computes the sinc function: sin (x * pi) / (x * pi).
*/
/*
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; ... | C | universal-daw/plugins/LadspaEffect/caps/dsp/sinc.h | universalprojectfile/universal-project-file | apache-2.0 | 1,384 | 59 | codeparrot/github-code |
86fa39eb8f2f5a77369179ea17d0dc5ff40bb70df299ef6fafe6cad7d367038b | #! /usr/bin/env python
# encoding: utf-8
# harald at klimachs.de
import re
from waflib import Utils
from waflib.Tools import fc,fc_config,fc_scan
from waflib.Configure import conf
from waflib.Tools.compiler_fc import fc_compiler
fc_compiler['linux'].append('fc_solstudio')
@conf
def find_solstudio(conf):
"""Find the... | Python | {{cookiecutter.project_slug}}/.mywaflib/waflib/extras/fc_solstudio.py | hmgaudecker/econ-project-templates | bsd-3-clause | 1,642 | 63 | codeparrot/github-code |
c51a86658f7f2d0620cdc55d9764516dfa02733ee1f3c7c9ed49bfc836d700e6 | /* $Id: style.css,v 1.88 2011/01/03 07:04:48 webchick Exp $ */
/**
* Generic elements
*/
body {
margin: 0;
padding: 0;
background: #edf5fa;
font: 76%/170% Verdana, sans-serif;
color: #494949;
}
input {
font: 1em/100% Verdana, sans-serif;
color: #494949;
}
textarea,
select {
font: 1em/160% Verdana, ... | CSS | themes/garland/style.css | juampy72/MapsUp | gpl-2.0 | 20,849 | 1,257 | codeparrot/github-code |
48c910c032e5f1e5346c535cb81b5e05168b382509aa81779d946124287b0b88 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2008,2009 IITP RAS
*
* 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 dis... | C++ | src/mesh/model/dot11s/ie-dot11s-perr.cc | hossamkhader/ns-3 | gpl-2.0 | 4,588 | 177 | codeparrot/github-code |
56732a04a41c1e94c2c7e613aaac9410cbf8d2969b516b517559a4ed00f8145b | /*******************************************************************************
* Filename: target_core_file.c
*
* This file contains the Storage Engine <-> FILEIO transport specific functions
*
* (c) Copyright 2005-2013 Datera, Inc.
*
* Nicholas A. Bellinger <nab@kernel.org>
*
* This program is free softwar... | C | drivers/target/target_core_file.c | codeaurora-unoffical/linux-msm | gpl-2.0 | 25,581 | 975 | codeparrot/github-code |
7590f3f355803e8dd11a06a24d8efedd3b4a7eeabbbd8b1f4bb005ceadeffa1f | <?php exit;
//Check everything exists before using it
if(!isset($_SERVER['HTTP_ACCEPT_ENCODING']))
$_SERVER['HTTP_ACCEPT_ENCODING'] = '';
if(!isset($_SERVER['HTTP_USER_AGENT']))
$_SERVER['HTTP_USER_AGENT'] = '';
// Determine supported compression method
$gzip = strstr($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip');
$de... | PHP | www/wordpress/wordpress/wp-content/plugins/autoptimize/config/default.php | 924ge/xpoint21 | mit | 2,168 | 65 | codeparrot/github-code |
42c3a1e5c2ccd4aa9204275683276f75ddbf94338903b413112aa03520d2c41b | /*
* arch/arm/mach-tegra/baseband-xmm-power.h
*
* Copyright (C) 2011 NVIDIA Corporation
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program i... | C | arch/arm/mach-tegra/baseband-xmm-power.h | niker/elitekernel_oxp | gpl-2.0 | 3,551 | 134 | codeparrot/github-code |
32a1f9d62a093f90055935481fd484d64018fe560e721db74ee36b210400eb35 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | PHP | admin/tool/analytics/classes/output/models_list.php | marinaglancy/moodle | gpl-3.0 | 17,960 | 389 | codeparrot/github-code |
b2f8c600d0d8bcbd9335b7abb33bea6b823f26dfbc5e2d642e93331e10169835 | /*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2012-, Open Perception, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditio... | C++ | apps/src/ni_susan.cpp | cascheberg/pcl | bsd-3-clause | 6,763 | 209 | codeparrot/github-code |
5c3faebbe2de50c717a49b9f03a99b65d027fe4aa3ddcf46de64ecf1d6703fe3 | /*
* IBM eServer eHCA Infiniband device driver for Linux on POWER
*
* Struct definition for eHCA internal structures
*
* Authors: Heiko J Schick <schickhj@de.ibm.com>
* Christoph Raisch <raisch@de.ibm.com>
* Joachim Fenkes <fenkes@de.ibm.com>
*
* Copyright (c) 2005 IBM Corporation
*
*... | C | virt/drivers/infiniband/hw/ehca/ehca_classes.h | JijonHyuni/HyperKernel-JB | gpl-2.0 | 12,236 | 483 | codeparrot/github-code |
3eb53878bc510b0c46b60c2520551f0440f4704c9f644e40feb33983c6f48077 | /*
* Copyright (C) 2010 Bluecherry, LLC www.bluecherrydvr.com
* Copyright (C) 2010 Ben Collins <bcollins@bluecherry.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 ... | C | virt/drivers/staging/media/solo6x10/v4l2-enc.c | talnoah/android_kernel_htc_dlx | gpl-2.0 | 47,084 | 1,826 | codeparrot/github-code |
36f551a880b2781deabcca7b0e384a7239e41ce3bae6883e4bb0b29b72eb5478 | /*
* fs/f2fs/xattr.c
*
* Copyright (c) 2012 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* Portions of this code from linux/fs/ext2/xattr.c
*
* Copyright (C) 2001-2003 Andreas Gruenbacher <agruen@suse.de>
*
* Fix by Harrison Xing <harrison@mountainviewdata.com>.
* Extended attributes... | C | fs/f2fs/xattr.c | CandyDevices/kernel_samsung_espresso10 | gpl-2.0 | 14,684 | 597 | codeparrot/github-code |
60ac6275db709cac40673eb7ea3c4d2d342f0c27d8aec6029ddc00f606e55f86 | /*
* consumer.h -- SoC Regulator consumer support.
*
* Copyright (C) 2007, 2008 Wolfson Microelectronics PLC.
*
* Author: Liam Girdwood <lrg@slimlogic.co.uk>
*
* 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 ... | C | linux-4.19/include/linux/regulator/consumer.h | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 18,311 | 613 | codeparrot/github-code |
b5d9b3315f118fc6d34d8108f87ce58f19c6c1f6c1e1902542a6eff3b8805e67 | //===- COFFYAML.h - COFF YAMLIO implementation ------------------*- 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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/COFFYAML.h | endlessm/chromium-browser | bsd-3-clause | 7,489 | 257 | codeparrot/github-code |
976be5ed8a8fa52155de886c63be15ce59f644045dd8ed4e9fff43dea09c0160 | /******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU Genera... | C | drivers/net/wireless/rtl8723BU_WiFi_linux_v4.3.2.2_11080.20140408_BTCOEX20140306-4B40/os_dep/linux/rtw_android.c | FOSSEE/FOSSEE-netbook-kernel-source | gpl-2.0 | 30,862 | 1,182 | codeparrot/github-code |
2c43684dc498a7cd5c54ea17c519d060cf1a9131594258173eaf0dc340592592 | /*
* Copyright (c) 2016, Mellanox Technologies. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this so... | C | linux-4.14/drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 9,185 | 347 | codeparrot/github-code |
d05aea26297b4599eb5d7c4a9505e0198d11eca1be6d13dd2e14e74e6a56f3bd | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/spdy/spdy_header_block.h"
#include "base/values.h"
#include "net/http/http_log_util.h"
namespace net {
base::Value* SpdyHeaderBlockNe... | C++ | net/spdy/spdy_header_block.cc | 7kbird/chrome | bsd-3-clause | 1,474 | 53 | codeparrot/github-code |
5b4c72d7131640f332355ec9fb86f3caa57cd2789248d00d8acb4313da095e5d | #!/bin/sh
#
# Copyright (c) 2005 Junio C Hamano
#
# Fetch one or more remote refs and merge it/them into the current HEAD.
SUBDIRECTORY_OK=Yes
OPTIONS_KEEPDASHDASH=
OPTIONS_STUCKLONG=Yes
OPTIONS_SPEC="\
git pull [options] [<repository> [<refspec>...]]
Fetch one or more remote refs and integrate it/them with the curre... | Shell | git-pull.sh | bankonme/git | gpl-2.0 | 10,483 | 382 | codeparrot/github-code |
ab253280ab23e493d181dfac7384453681f0a1c1ca646c7ca11c85da85064100 | -- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local sid = arg[1]
local utl = require "luci.util"
m = Map("radvd", translatef("Radvd - Prefix"),
translate("Radvd is a router advertisement daemon for IPv6. " ..
"It listens to router solicitations and send... | Lua | src_luci/applications/luci-app-radvd/luasrc/model/cbi/radvd/prefix.lua | zhaoxin54430/zhaoxin_test | gpl-2.0 | 3,557 | 129 | codeparrot/github-code |
7211de50afd8c94521c3be2e52b86b6aa22b04ec0eff16a45b059b960faadac7 | /*
* Copyright 2019 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-5.8/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c | CSE3320/kernel-code | gpl-2.0 | 3,551 | 123 | codeparrot/github-code |
a90f3a54f04817da7b95b0b14a1d6af045061bdf37355d7a8c52a810041eec86 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Java | elasticsearch-master/core/src/main/java/org/elasticsearch/common/blobstore/fs/FsBlobContainer.java | strahanjen/strahanjen.github.io | bsd-3-clause | 6,065 | 148 | codeparrot/github-code |
15581157f0f6df0ea50e074beffb7e30d2829abea1729d203717190289729674 | // 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 NET_SPDY_SPDY_SESSION_H_
#define NET_SPDY_SPDY_SESSION_H_
#pragma once
#include <deque>
#include <list>
#include <map>
#include <queue>
#incl... | C | net/spdy/spdy_session.h | spezi77/android_external_chromium | bsd-3-clause | 22,625 | 601 | codeparrot/github-code |
599e5d691a3e30d437a9a15c9fcb85f3a9da25474c4179bf05611f3314e44a3f | /*
* Copyright (c) 2013, Mellanox Technologies inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of th... | C | linux-3.13.6+duet/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c | gamvrosi/duet | gpl-2.0 | 11,872 | 584 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.