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 |
|---|---|---|---|---|---|---|---|---|
451acbf1136a1f3cbaf42e09fb4a929cec140d648ce075551f2aa5921777a688 | /*
*
* 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"); ... | JavaScript | trecrts-mobile-app/plugins/cordova-plugin-inappbrowser/src/windows/InAppBrowserProxy.js | aroegies/trecrts-tools | apache-2.0 | 13,643 | 345 | codeparrot/github-code |
9a946e4da98cf5f1f21966ad2006c4888b5c346fb60a4c3340ae6812eea4820c | /*
* Copyright (c) 2000-2006 LSI Logic Corporation.
*
*
* Name: mpi_ioc.h
* Title: MPI IOC, Port, Event, FW Download, and FW Upload messages
* Creation Date: August 11, 2000
*
* mpi_ioc.h Version: 01.05.12
*
* Version History
* ---------------
*
* Date Version Descript... | C | snapgear_linux/linux-2.6.21.1/drivers/message/fusion/lsi/mpi_ioc.h | impedimentToProgress/UCI-BlueChip | mit | 58,797 | 1,179 | codeparrot/github-code |
9f8be6266f0fc2413ad670b88ceed1a22b4b3b7504718d42c273861ef1b2a351 | /*
* irq_comm.c: Common API for in kernel interrupt controller
* Copyright (c) 2007, 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.
*
* T... | C | virt/kvm/irq_comm.c | shirishpargaonkar/cifsclient | gpl-2.0 | 10,324 | 374 | codeparrot/github-code |
5dfecb1de70609feed90b764d693a0cfc7d9a7c5a4699607bebdfb6a696c86b5 | /* linux/arch/arm/plat-samsung/include/plat/dma-s3c24xx.h
*
* Copyright (C) 2006 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
*
* Samsung S3C24XX DMA support - per SoC functions
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License v... | C | virt/arch/arm/plat-samsung/include/plat/dma-s3c24xx.h | mericon/Xp_Kernel_LGH850 | gpl-2.0 | 1,928 | 74 | codeparrot/github-code |
825d64b29019b3ae1bd9c6cb90ebf104e7214852656a916e71ba39b2ca0da135 | /****************************************************************************
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
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 ... | C | src/oslibs/cocos/cocos-src/cocos/base/CCEventListenerCustom.h | dios-game/dios-cocos | mit | 3,164 | 93 | codeparrot/github-code |
687e6e073762f94473c26c4bbe0aba5ed4138eb08cb2c9afeb1c20b92f57bb8f | #!/bin/sh
#
# Copyright (c) 2005 Amos Waterland
#
test_description='git branch assorted tests'
. ./test-lib.sh
test_expect_success 'prepare a trivial repository' '
echo Hello >A &&
git update-index --add A &&
git commit -m "Initial commit." &&
echo World >>A &&
git update-index --add A &&
git commit -m "Second... | Shell | tool-kit/git-2.1.2/t/t3200-branch.sh | overtherain/scriptfile | mit | 30,713 | 913 | codeparrot/github-code |
ef7d534e4d66d822f7ca64c4e97c97843843b94b9905ab75b1f124e49c5067c5 | /*
* drivers/misc/tegra-baseband/bb-power.c
*
* 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 is ... | C | kernel/drivers/misc/tegra-baseband/bb-power.c | DmitryADP/diff_qc750 | gpl-2.0 | 8,209 | 335 | codeparrot/github-code |
393b6e4aa60c6a174d7acff0b76861d0740aa6c9db3dcbf606f2eb95107b3996 | #
# Makefile for the Linux kernel device drivers.
#
# 15 Sep 2000, Christoph Hellwig <hch@infradead.org>
# Rewritten to use lists instead of if-statements.
#
obj-y += gpio/
obj-$(CONFIG_PCI) += pci/
obj-$(CONFIG_PARISC) += parisc/
obj-$(CONFIG_RAPIDIO) += rapidio/
obj-y += video/
obj-y += idle/
obj-$(CONFI... | Makefile | release/src-rt-7.x.main/src/linux/linux-2.6.36/drivers/Makefile | wkritzinger/asuswrt-merlin | gpl-2.0 | 3,388 | 118 | codeparrot/github-code |
2db18c740f8bf2e67d57a924404dbdf4521a91bf2c3693ac6c03c2f58b1efabb | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/menu_manager_factory.h"
#include "chrome/browser/extensions/menu_manager.h"
#include "chrome/browser/profiles/profile... | C++ | external/chromium_org/chrome/browser/extensions/menu_manager_factory.cc | s20121035/rk3288_android5.1_repo | gpl-3.0 | 2,014 | 63 | codeparrot/github-code |
132f79565d65738c9902bc28b01c2ee5f5d9f202487f65ecd842054bd280767e | // SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2009-2010 Intel Corporation
*
* Authors:
* Jesse Barnes <jbarnes@virtuousgeek.org>
*/
/*
* Some Intel Ibex Peak based platforms support so-called "intelligent
* power sharing", which allows the CPU and GPU to cooperate to maximize
* performance within a gi... | C | linux-5.8/drivers/platform/x86/intel_ips.c | CSE3320/kernel-code | gpl-2.0 | 42,748 | 1,641 | codeparrot/github-code |
2be5f266aa314fe8002d28cb0308c2f11c95f6693ac0e3e02c02da40c9f9c85f | ##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public L... | Python | stock_location/procurement_pull.py | jeffery9/mixprint_addons | agpl-3.0 | 6,951 | 128 | codeparrot/github-code |
a26fa3896634b160aaa68b61c314a55644ebe570c6fee4b5e2d9b0b1928e04a5 | <?php
require_once('../../_include.php');
$config = SimpleSAML_Configuration::getInstance();
$metadata = SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler();
// Get the local session
$session = SimpleSAML_Session::getInstance();
SimpleSAML_Logger::info('SAML2.0 - SP.SingleLogoutService: Accessing SAML... | PHP | www/saml2/sp/SingleLogoutService.php | Maqsood137/service.selfhealthnetwork.com | lgpl-2.1 | 2,618 | 85 | codeparrot/github-code |
aa5506e35182ff3d33cba8a86b800131d6031989c24af7191fec3c73955a7e1e | <?php
/**
* Minileven functions and definitions
*
* Sets up the theme and provides some helper functions. Some helper functions
* are used in the theme as custom template tags. Others are attached to action and
* filter hooks in WordPress to change core functionality.
*
* The first function, minileven_setup(), s... | PHP | wp-content/plugins/jetpack/modules/minileven/theme/pub/minileven/functions.php | riddya85/rentail_upwrk | gpl-2.0 | 8,400 | 260 | codeparrot/github-code |
23f50c6d7313f05a0ab4d2748407a8a10b088778d009bb89d9970bc4016d3229 | /* HP PA-RISC SOM object file format: definitions internal to BFD.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 2000, 2001,
2002, 2003, 2004, 2005, 2007, 2008, 2012 Free Software Foundation, Inc.
Contributed by the Center for Software Science at the
University of Utah (pa-gdb-bugs@cs.utah.edu... | C | support/sdbinutils/bfd/som.h | ixaxaar/sdcc | gpl-2.0 | 8,726 | 239 | codeparrot/github-code |
bba76f0ef09eba187d63c57a0b5e102b3514b0a79101010ea3d733e1ebfb8a48 | <?php
/**
* @package Joomla.Site
* @subpackage com_newsfeeds
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* HTML View class for the Newsfeeds componen... | PHP | src/test/lib/joomla/3_1_5/components/com_newsfeeds/views/newsfeed/view.html.php | RCBiczok/ArticleRefs | gpl-3.0 | 8,625 | 316 | codeparrot/github-code |
c8b64a8cc2a18657502b3fcef70348b5427c09ad9e62a36553a2caad7525dab3 | package fpinscala.testing.exhaustive
import language.implicitConversions
import language.postfixOps
/*
This source file contains the answers to the last two exercises in the section
"Test Case Minimization" of chapter 8 on property-based testing.
The Gen data type in this file incorporates exhaustive checking of fin... | Scala | src/main/scala/fpinscala/testing/Exhaustive.scala | stettix/fp-in-scala | apache-2.0 | 15,077 | 420 | codeparrot/github-code |
0e9dc855573a742a8be2172999df41cb8a38f2571e4896ba9475771d5583200d | /*!
* Platform.js <http://mths.be/platform>
* Copyright 2010-2012 John-David Dalton <http://allyoucanleet.com/>
* Available under MIT license <http://mths.be/mit>
*/
;(function(window) {
/** Backup possible window/global object */
var oldWin = window,
/** Possible global object */
thisBinding = this,
/... | JavaScript | libs/platform/0.4.0/platform.js | wayne-lewis/baiducdnstatic | mit | 29,104 | 892 | codeparrot/github-code |
dd6da663da405140315fe4be66f36c850185fd90b0f44a22bbd4369a624b44ad | /*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* Definitions for the IP router.
*
* Version: @(#)route.h 1.0.4 05/27/93
*
* Authors: Ross Biro
* Fred N.... | C | include/net/route.h | Khaon/android_kernel_samsung_a3xelte | gpl-2.0 | 9,365 | 322 | codeparrot/github-code |
2b374477418c128181451ef0ae3e7414cf38fa72f7f7b7552be87d6002d3b1f7 | #ifndef _NM256_H_
#define _NM256_H_
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include "ac97.h"
/* The revisions that we currently handle. */
enum nm256rev {
REV_NM256AV, REV_NM256ZX
};
/* Per-card structure. */
struct nm256_info
{
/* Magic number used to verify that this struct is valid. *... | C | sound/oss/nm256.h | JulianKemmerer/Drexel-CS370 | gpl-2.0 | 7,789 | 293 | codeparrot/github-code |
6421b0538e40a2f73a4c7432172761a186297a08e8c21a2760e864f7f5f53094 | /*
* Driver O/S-independent utility routines
*
* Copyright (C) 1999-2016, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, this software is licensed to you
* under the terms of the GNU General Public License version 2 (... | C | drivers/net/wireless/bcmdhd4359/bcmutils.c | Fevax/exynos8890_stock | gpl-2.0 | 90,245 | 3,557 | codeparrot/github-code |
7afddbe3eb02c9cd2c66adf40541aff49a66b3c9f2810bf77cb1757c81dcdbd3 | // SPDX-License-Identifier: GPL-2.0-only
/*
* QLogic iSCSI Offload Driver
* Copyright (c) 2016 Cavium Inc.
*/
#include "qedi.h"
#include "qedi_dbg.h"
#include <linux/uaccess.h>
#include <linux/debugfs.h>
#include <linux/module.h>
int qedi_do_not_recover;
static struct dentry *qedi_dbg_root;
void
qedi_dbg_host_in... | C | linux-5.8/drivers/scsi/qedi/qedi_debugfs.c | CSE3320/kernel-code | gpl-2.0 | 5,629 | 229 | codeparrot/github-code |
6d7ec553ea8ceeac41d319746c2a1eb5f6545cf20e67e0b20cbffb1802befab7 | // SPDX-License-Identifier: GPL-2.0-or-later
/*
* Stereo and SAP detection for cx88
*
* Copyright (c) 2009 Marton Balint <cus@fazekas.hu>
*/
#include "cx88.h"
#include "cx88-reg.h"
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/jiffies.h>
#include <asm/div64.h>
#def... | C | linux-5.8/drivers/media/pci/cx88/cx88-dsp.c | CSE3320/kernel-code | gpl-2.0 | 8,319 | 324 | codeparrot/github-code |
0453c34fd44702b7adbc9399fbd706ff7bef910c9aa79fc3ed67b7026605469a | // Boost.TypeErasure library
//
// Copyright 2011 Steven Watanabe
//
// 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)
//
// $Id$
#if !defined(BOOST_PP_IS_ITERATING)
#ifndef BOOST_TYPE_ERASURE_CALLABLE_HPP_INCLUDE... | C++ | third-party/src/boost_1_56_0/boost/type_erasure/callable.hpp | rkq/cxxexp | mit | 13,033 | 387 | codeparrot/github-code |
9010149b79efee635adc93bb2ded76efce638c5aaa397993856b5ca7dbac6e83 | # cs.???? = currentstate, any variable on the status tab in the planner can be used.
# Script = options are
# Script.Sleep(ms)
# Script.ChangeParam(name,value)
# Script.GetParam(name)
# Script.ChangeMode(mode) - same as displayed in mode setup screen 'AUTO'
# Script.WaitFor(string,timeout)
# Script.SendRC(chan... | Python | Scripts/example1.py | vizual54/MissionPlanner | gpl-3.0 | 1,489 | 58 | codeparrot/github-code |
751686dfcf233147f54e6c84cb406939713bf5f6ac433e16bb59a840d005d0f4 | /*
* Copyright (C) 2012 - Virtual Open Systems and Columbia University
* Author: Christoffer Dall <c.dall@virtualopensystems.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2, as
* published by the Free Software Foundati... | C | source/kernel/arch/arm/kvm/mmio.c | mikedlowis-prototypes/albase | bsd-2-clause | 5,166 | 224 | codeparrot/github-code |
b9591bcb6aada286942fab36208c456d49885c0643c418af8dd14964714d6170 | // 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.
cr.define('cr.ui', function() {
// require cr.ui.define
// require cr.ui.limitInputWidth
/**
* The number of pixels to indent per level.
... | JavaScript | ui/webui/resources/js/cr/ui/tree.js | aospx-kitkat/platform_external_chromium_org | bsd-3-clause | 18,164 | 679 | codeparrot/github-code |
a7b0848e24d50b2e2515d8724b43590de8c92a204939923b19bb8a994c42de22 | /**
* @license Highcharts JS v4.2.2 (2016-02-04)
*
* (c) 2014 Highsoft AS
* Authors: Jon Arild Nygard / Oystein Moseng
*
* License: www.highcharts.com/license
*/
(function (factory) {
if (typeof module === 'object' && module.exports) {
module.exports = factory;
} else {
factory(Highcharts);
}
}(function ... | JavaScript | views/backend/default/layouts/js/plugins/highcharts/modules/treemap.src.js | morsaken/webim-cms | mit | 24,507 | 869 | codeparrot/github-code |
047135a1d93358a5cb31e776e75a0e4be6c74e0d1c8fad05a6d6e09f18dbfbe7 | /*
===========================================================================
Doom 3 GPL Source Code
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
Doom 3 Source Code is free software: you can redistribute it and/or modify... | C | ref.neo/game/Misc.h | divyang4481/bclcontrib-scriptsharp | mit | 17,283 | 766 | codeparrot/github-code |
6348c030382e9fca1bfc40a949bdfeb748a32316daae2751f3698774537ad5bc | #include <linux/hw_breakpoint.h>
#include "util.h"
#include "../perf.h"
#include "evlist.h"
#include "evsel.h"
#include "parse-options.h"
#include "parse-events.h"
#include "exec_cmd.h"
#include "string.h"
#include "symbol.h"
#include "cache.h"
#include "header.h"
#include "debugfs.h"
#include "parse-events-bison.h"
#d... | C | tools/perf/util/parse-events.c | aps243/kernel-imx | gpl-2.0 | 28,075 | 1,241 | codeparrot/github-code |
1ca588696eb029da5ab930f3b3fefd1457f406a719f38dd98cb27c2dfbef0049 | // SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2010-2014, The Linux Foundation. All rights reserved.
*/
#include <linux/device.h>
#include <linux/interrupt.h>
#include <crypto/internal/hash.h>
#include "common.h"
#include "core.h"
#include "sha.h"
/* crypto hw padding constant for first operation */
#... | C | linux-5.4/drivers/crypto/qce/sha.c | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 14,645 | 558 | codeparrot/github-code |
40de1a80f9bb5115811b407f4c792ae96379ff5d3d659fc1252d75377fb002aa | /*
* 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 | src/test/java/org/elasticsearch/stresstest/indexing/BulkIndexingStressTest.java | corochoone/elasticsearch | apache-2.0 | 2,807 | 73 | codeparrot/github-code |
4681e9b6b0dc67696602e896cdcffaff222d9796a558b43c0c6bb1c16f12ef5a | /*!
* inferno-router v0.7.14
* (c) 2016 Dominic Gannaway
* Released under the MIT License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.InfernoRouter = f... | JavaScript | ajax/libs/inferno/0.7.14/inferno-router.js | dlueth/cdnjs | mit | 18,182 | 615 | codeparrot/github-code |
d528c76934c465c4a8bd37280172ef35790283c2faa105b676f6581eb85f289b | /*
Copyright (C) 2010 Willow Garage <http://www.willowgarage.com>
Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com>
<http://rt2x00.serialmonkey.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 Softwar... | C | drivers/net/wireless/ralink/rt2x00/rt2x00usb.c | Isopod/linux | gpl-2.0 | 23,035 | 908 | codeparrot/github-code |
25d1b8ea7ccec21a6685d4a3342ab4e7d50a6e0b993042df3a08262f2dbfeac0 | // SPDX-License-Identifier: GPL-2.0-only
/*
* DMA Engine test module
*
* Copyright (C) 2007 Atmel Corporation
* Copyright (C) 2013 Intel Corporation
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/dmaengine.h>
#include <linux/freezer.h>
#inclu... | C | linux-5.4/drivers/dma/dmatest.c | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 34,898 | 1,324 | codeparrot/github-code |
8a9cce733e332a83ec14172999611250c606b0916e641efefd8cc74b20128e9c | /* 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++ | third_party/tensorflow/tensorflow/core/grappler/clusters/utils.cc | npuichigo/ttsflow | apache-2.0 | 4,151 | 119 | codeparrot/github-code |
25e7c0a069fa0edcf604eda0b099ee83fa561717c46c6f143d9cc2355b36976e | /* SPDX-License-Identifier: GPL-2.0 */
/*
* ioport.h Definitions of routines for detecting, reserving and
* allocating system resources.
*
* Authors: Linus Torvalds
*/
#ifndef _LINUX_IOPORT_H
#define _LINUX_IOPORT_H
#ifndef __ASSEMBLY__
#include <linux/compiler.h>
#include <linux/types.h>
#include <linux/bits.h... | C | linux-5.8/include/linux/ioport.h | CSE3320/kernel-code | gpl-2.0 | 11,581 | 313 | codeparrot/github-code |
0c182dff15ea4d88c91ebe13435cdbff14a81869e74567dd3f9882d2c8cce4e2 | // SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2012 Russell King
*/
#include <linux/clk.h>
#include <linux/component.h>
#include <linux/module.h>
#include <linux/of_graph.h>
#include <linux/platform_device.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_drv.h>
#include <drm/drm_ioctl.h>
#includ... | C | linux-5.8/drivers/gpu/drm/armada/armada_drv.c | CSE3320/kernel-code | gpl-2.0 | 7,766 | 320 | codeparrot/github-code |
51a3384af7f056981aba665e79c17672f7162466f62789086de596c233624516 | /*
* Linux-DVB Driver for DiBcom's DiB9000 and demodulator-family.
*
* Copyright (C) 2005-10 DiBcom (http://www.dibcom.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, version 2.
*... | C | linux-4.14/drivers/media/dvb-frontends/dib9000.c | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 72,259 | 2,586 | codeparrot/github-code |
6201b4689b90b175cbc7054be3e2e7fd4bf3ef9ab0aec357603e0aca818d9316 | // Copyright 2004-2009 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 ... | C | base/system_info.h | priaonehaha/omaha | apache-2.0 | 3,921 | 116 | codeparrot/github-code |
538266f69d998031c5e24cb40769016ed5f889a4abdfc759180ac7414ebe79e3 | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | Rust | src/test/run-pass/issue-11612.rs | seanrivera/rust | apache-2.0 | 869 | 33 | codeparrot/github-code |
669938a683221935963434d5ee537aa7476012b2d85ddff696de478fc209f149 | /*
FUNCTION
<<strcasestr>>---case-insensitive character string search
INDEX
strcasestr
ANSI_SYNOPSIS
#include <string.h>
char *strcasestr(const char *<[s]>, const char *<[find]>);
TRAD_SYNOPSIS
#include <string.h>
int strcasecmp(<[s]>, <[find]>)
char *<[s]>;
char *<[find]>;
DESCRIPTION
<<strcasestr>> searc... | C | userland/newlib/newlib/libc/string/strcasestr.c | GarethNelson/Zoidberg | gpl-2.0 | 4,975 | 154 | codeparrot/github-code |
982f799d3fe39c65f6e43c13183636f2d59e34fc8e77d44cf7d4d76774ac722e | /******************************************************************************
*
* 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 General Public License as
* published by the ... | C | drivers/staging/rtl8812au/include/rtl8188e_recv.h | francescosganga/remixos-kernel | gpl-2.0 | 3,225 | 139 | codeparrot/github-code |
893452a29afe7aef4b1f3e1a73b3dede5b96f70358a703b63d513a5fc7b0dbf3 | /**
* 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 | tseenliu/FedHDFS-hadoop-src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/BlockReaderUtil.java | tseen/Federated-HDFS | apache-2.0 | 1,761 | 54 | codeparrot/github-code |
afae1f1845de7465efc60ce15fa6095a9616d9398ed05a318c4302889863cc4b | /*
Copyright 2015 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | Java | src/main/java/com/google/security/zynamics/binnavi/Gui/MainWindow/ProjectTree/Nodes/Module/CModuleNode.java | dgrif/binnavi | apache-2.0 | 8,652 | 245 | codeparrot/github-code |
54a56c309bb5af73023b549956c15b28f523300e0d7a6b9334b24b4165bd154b | // SPDX-License-Identifier: GPL-2.0
/*
* camss-csiphy-2ph-1-0.c
*
* Qualcomm MSM Camera Subsystem - CSIPHY Module 2phase v1.0
*
* Copyright (c) 2011-2015, The Linux Foundation. All rights reserved.
* Copyright (C) 2016-2018 Linaro Ltd.
*/
#include "camss-csiphy.h"
#include <linux/delay.h>
#include <linux/inter... | C | drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c | HinTak/linux | gpl-2.0 | 4,783 | 176 | codeparrot/github-code |
a889b2c3467ff793c3436974ae4c4d2485417d1f22763f5a45bc3885b4673c06 | /* Copyright (c) 2008-2010, 2012 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 i... | C | kernel/drivers/video/msm/mddi_sharp.c | Jarbu12/Xperia-M-Kernel | gpl-3.0 | 25,454 | 902 | codeparrot/github-code |
66e70e660411d2e55fae3473e774583fff4514829db99c98f55dda6103372a1b | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_SYNC_GLUE_PREFERENCE_CHANGE_PROCESSOR_H_
#define CHROME_BROWSER_SYNC_GLUE_PREFERENCE_CHANGE_PROCESSOR_H_
#pragma once
#include... | C | external/chromium/chrome/browser/sync/glue/preference_change_processor.h | xdajog/samsung_sources_i927 | gpl-2.0 | 2,496 | 72 | codeparrot/github-code |
f55000ca86d6f6d66e2e5d34514b6f9cebf224ef6f184a47f64588e1dde386f3 | /*
* Copyright (C) 2012 Avionic Design GmbH
* Copyright (C) 2012-2013 NVIDIA 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 by the Free Software Foundation.
*/
#include <l... | C | source/drivers/gpu/drm/tegra/drm.c | ziqiaozhou/cachebar | gpl-2.0 | 17,587 | 719 | codeparrot/github-code |
be0f10492968a043b252c2b1ed6ee721671c6466faa53fc82b11e5edc122b8d9 | /* Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1993.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License ... | C | src/compat/hsearch_r.c | voku/external-alsa-lib | lgpl-2.1 | 6,640 | 237 | codeparrot/github-code |
7d169c8d196960941f1b6dfe95c3e1242c7584f2b66ddfa30670c513f04769ec | /*******************************************************************************
*
* Copyright (c) 2015-2016 Intel Corporation. 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) Ve... | C | drivers/infiniband/hw/i40iw/i40iw_virtchnl.c | bas-t/linux_media | gpl-2.0 | 26,514 | 760 | codeparrot/github-code |
e9dbc768d4143693060f2e05a8ae2457e0d5b5d2d5cae4b6a90e45da7de7f0b6 | /*
* drivers/media/video/exynos/hevc/hevc_opr.c
*
* Samsung HEVC driver
* This file contains hw related functions.
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
e This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Pub... | C | drivers/media/platform/exynos/hevc/hevc_opr.c | Galaxy-Tab-S2/android_kernel_samsung_gts28wifi | gpl-2.0 | 29,287 | 1,198 | codeparrot/github-code |
d27126f4063f399d6263c2d7b2eb969fa4ab3b5e908f95d52e6c950c383169d2 | /*
* 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 | xml/xml-psi-impl/src/com/intellij/psi/impl/source/xml/XmlMarkupDeclImpl.java | asedunov/intellij-community | apache-2.0 | 1,100 | 37 | codeparrot/github-code |
87bde569816ecb2689cef93ec41a5d13e84be98df78ba751f5c692386dcd29da | /**
* 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-zookeeper/src/main/java/org/apache/camel/component/zookeeper/operations/CreateOperation.java | YMartsynkevych/camel | apache-2.0 | 2,550 | 76 | codeparrot/github-code |
4e9062386cb5b731d1b75b4da1d8c8378e858d16eab69cc75b0ab6f50c77adcf | /*
* Copyright 2005 Sascha Weinreuter
*
* 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 t... | Java | plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/XPath2Language.java | clumsy/intellij-community | apache-2.0 | 1,943 | 70 | codeparrot/github-code |
2132dfa7a43ebfcd2c36bba896d9af88b686b12b66a8eab953c0e2f441c770dd | /* SPDX-License-Identifier: GPL-2.0 */
/******************************************************************************
*
* Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
*
* Modifications for inclusion into the Linux staging tree are
* Copyright(c) 2010 Larry Finger. All rights reserved.
*
* ... | C | drivers/staging/rtl8712/sta_info.h | cminyard/linux-live-app-coredump | gpl-2.0 | 3,642 | 134 | codeparrot/github-code |
2f34a3604c2957c43cfa400ce42599d42eeaff66537e2f23f41942950f59f44d | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | C++ | xingxing/protobuf/python/lib/Python3.4/google/protobuf/pyext/descriptor.cc | cherrishes/weilai | apache-2.0 | 13,106 | 358 | codeparrot/github-code |
884158784e0f67f394f13e6e6ecdfdfde19d8b949de95ea2b31a29e9aadbb450 | /**
* 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 | src/test/org/apache/hadoop/mapred/ReliabilityTest.java | shakamunyi/hadoop-20 | apache-2.0 | 18,910 | 506 | codeparrot/github-code |
cc09cababcd976fd1dc10ac7538dc473db89e5c9c0724d2725b2b0bf9ccbe718 | package butterknife;
import android.view.View;
import butterknife.internal.ListenerClass;
import butterknife.internal.ListenerMethod;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static android.widget.AdapterView.OnItemSelectedListener;
import static java.lang.annotation.ElementTy... | Java | butterknife/src/main/java/butterknife/OnItemSelected.java | carollynn2253/butterknife | apache-2.0 | 2,447 | 75 | codeparrot/github-code |
990197e87be7d709bcf06a9c7c45bbd4f6a4793c7611721bc8a9d6cfeeb66c06 | topojson = (function() {
function merge(topology, arcs) {
var arcsByEnd = {},
fragmentByStart = {},
fragmentByEnd = {};
arcs.forEach(function(i) {
var e = ends(i);
(arcsByEnd[e[0]] || (arcsByEnd[e[0]] = [])).push(i);
(arcsByEnd[e[1]] || (arcsByEnd[e[1]] = [])).push(~i);
... | JavaScript | ajax/libs/topojson/0.0.28/topojson.js | pzp1997/cdnjs | mit | 8,261 | 264 | codeparrot/github-code |
f2eb55dcf27de20bd0aead47a4090db4491ba2798b0d35f9907656e89167aba0 | /* Public domain. */
#ifndef CDB_H
#define CDB_H
#include <string.h>
#include "types.h"
#define KVLSZ 4
#define CDB_MAX_KEY 0xff
#define CDB_MAX_VALUE 0xffffff
#define CDB_HASHSTART 5381
struct cdb {
char *map; /* 0 if no map is available */
int fd; /* filedescriptor */
ut32 size; /* initialized if map... | C | src/cdb.h | alvarofe/sdb | mit | 1,120 | 40 | codeparrot/github-code |
eee3c4c4371ac73dcafdd1801799cf2fd74ce05e829f38a4d8637e4275893f03 | /*
Copyright © 2002, The KPD-Team
All rights reserved.
http://www.mentalis.org/
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above copyright
n... | C# | Sources/Network/ProxySocket/AuthUserPass.cs | kolrabi/DesktopBooru | gpl-3.0 | 6,063 | 157 | codeparrot/github-code |
55096ff09246fbea52909a6168889e97fc1506eca72d498dd2a06bb6bc52208c | #include "builtin.h"
#include "tree-walk.h"
#include "xdiff-interface.h"
#include "blob.h"
#include "exec_cmd.h"
#include "merge-blobs.h"
static const char merge_tree_usage[] = "git merge-tree <base-tree> <branch1> <branch2>";
struct merge_list {
struct merge_list *next;
struct merge_list *link; /* other stages for... | C | tool-kit/git-2.1.2/builtin/merge-tree.c | overtherain/scriptfile | mit | 9,196 | 385 | codeparrot/github-code |
d597e8c63e70f007af5258143fddd555ad54def6ab43fcb16f1558d92d63d592 | // SPDX-License-Identifier: GPL-2.0-only
/* Tom Kelly's Scalable TCP
*
* See http://www.deneholme.net/tom/scalable/
*
* John Heffner <jheffner@sc.edu>
*/
#include <linux/module.h>
#include <net/tcp.h>
/* These factors derived from the recommended values in the aer:
* .01 and and 7/8.
*/
#define TCP_SCALABLE_AI... | C | net/ipv4/tcp_scalable.c | penberg/linux | gpl-2.0 | 1,460 | 66 | codeparrot/github-code |
c25e3622922c22dafeb6d4dda91de1d27257cef0531f6a379fecfb22ff09b568 | /**
* \file
*
* \brief Chip-specific oscillator management functions.
*
* Copyright (c) 2014-2015 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following ... | C | targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/osc.h | YarivCol/mbed-os | apache-2.0 | 6,843 | 227 | codeparrot/github-code |
fbac230e70ad62b8ea38d3682454e8eb8a057070e7e0c8da382ff1f9cba2014d | /*
* 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 | oss/linux/linux-4.7/drivers/staging/lustre/lustre/obdclass/llog_cat.c | geminy/aidear | gpl-3.0 | 7,203 | 240 | codeparrot/github-code |
234118c6a09c72c8d7a45e22b66bd342ca36961655ec914a82c67b92446b9d58 | <?php
/*!
* HybridAuth
* http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth
* (c) 2009-2012, HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html
*/
/**
* Hybrid_Providers_MySpace provider adapter based on OAuth1 protocol
*
* http://hybridauth.sourceforge.net/userguide/IDP... | PHP | www/protected/extensions/HybridAuth/hybridauth-2.1.2/hybridauth/Providers/MySpace.php | tiltfactor/mg-game | agpl-3.0 | 4,857 | 165 | codeparrot/github-code |
00c1689833283a142513340cb9738a6aeca20d2cb2b0b0ffb014b40899f2cb6a | // Copyright (c) 2009 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/disk_cache/blockfile/bitmap.h"
#include <algorithm>
#include "base/logging.h"
namespace {
// Returns the number of trailing zeros.
i... | C++ | net/disk_cache/blockfile/bitmap.cc | anirudhSK/chromium | bsd-3-clause | 8,691 | 312 | codeparrot/github-code |
9f81c4b3241c65ebffd01123641cff6abf3237a79e7b48ed964c4e658ccf78ad | /*
* Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | Java | testing/openjdk2/jdk/test/java/awt/im/4959409/bug4959409.java | rokn/Count_Words_2015 | mit | 2,168 | 73 | codeparrot/github-code |
c170dba624aaaa21fde04dcd35e08546912a0031ee5e70e6c2526523bdb71583 | /*
* 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; either version 2 of
* the License, or (at your option) any la... | C | uboot1.1.6/include/lh7a40x.h | daydaygit/flrelse | gpl-3.0 | 8,214 | 280 | codeparrot/github-code |
3cbf7be59ff905de8c1f01a4178fb7c1d94539895f489acc7a4ec70435cd34ea | // Copyright 2007, 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:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... | C++ | wallet/test/googletest/googletest/src/gtest-printers.cc | NeblioTeam/neblio | mit | 14,711 | 443 | codeparrot/github-code |
ee3ec14c84db6264fc14e48979d8b15c8a758fcd1b7b46aad8d476ff4d47a78a | /*
* osd_initiator - Main body of the osd initiator library.
*
* Note: The file does not contain the advanced security functionality which
* is only needed by the security_manager's initiators.
*
* Copyright (C) 2008 Panasas Inc. All rights reserved.
*
* Authors:
* Boaz Harrosh <ooo@electrozaur.com>
* Be... | C | oss/linux/linux-4.7/drivers/scsi/osd/osd_initiator.c | geminy/aidear | gpl-3.0 | 57,347 | 2,068 | codeparrot/github-code |
250eeb6f329865587e2f8be9a5799e8d322692c7c2d2d4ec0928e7375de4b6ee | /*
* Driver for the Conexant CX23885 PCIe bridge
*
* Copyright (c) 2006 Steven Toth <stoth@linuxtv.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Lice... | C | drivers/media/pci/cx23885/cx23885.h | Asus-T100/kernel | gpl-2.0 | 20,871 | 637 | codeparrot/github-code |
d15bb8c884623438aca9f3d70e8b8503ade52bb7faf7118f9fd24753a3059dea | <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Displays the 'User groups' sub page under 'Users' page.
*
* @package PhpMyAdmin
*/
require_once 'libraries/common.inc.php';
require_once 'libraries/server_users.lib.php';
require_once 'libraries/server_user_groups.lib.php';
PMA_getRelationsParam();
if (! $GLOB... | PHP | xampp/phpMyAdmin/server_user_groups.php | Dokaponteam/ITF_Project | mit | 1,786 | 72 | codeparrot/github-code |
8fefa626d7271973f0290dd19ce60bf1f9d091d956520009c5f44a81705d3fe9 | // SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 2013 - 2018 Intel Corporation. */
/* ethtool support for iavf */
#include "iavf.h"
#include <linux/uaccess.h>
/* ethtool statistics helpers */
/**
* struct iavf_stats - definition for an ethtool statistic
* @stat_string: statistic name to display in ethtool -S o... | C | drivers/net/ethernet/intel/iavf/iavf_ethtool.c | GuillaumeSeren/linux | gpl-2.0 | 31,144 | 1,049 | codeparrot/github-code |
4e346006c65bf8daf0ab7f51dd90ac9e8300d3fda974176846b16a78e0910a8b | # Copyright (c) 2007, Robert Coup <robert.coup@onetrackmind.co.nz>
# 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,
#... | Python | venv_2_7/lib/python2.7/site-packages/Django-1.9-py2.7.egg/django/contrib/gis/measure.py | Vvucinic/Wander | artistic-2.0 | 12,272 | 334 | codeparrot/github-code |
90e1fc8d9854765c97cca5b380ff794e5e18f88adf96bcc6a44647df57e146fa | /*
* linux/kernel/printk.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* Modified to make sys_syslog() more flexible: added commands to
* return the last 4k of kernel messages, regardless of whether
* they've been read or not. Added option to suppress kernel printk's
* to the console. Added hook for send... | C | kernel/printk.c | CyanogenMod/android_kernel_sony_msm8974 | gpl-2.0 | 46,989 | 1,878 | codeparrot/github-code |
5df49284cf943d7daab3d01fef3aa45138600116b747d62505dcd6477c39dfc0 | /* SPDX-License-Identifier: GPL-2.0 */
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
#include <elf.h>
#include "elfconfig.h"
/* On BSD-alike OSes elf.h defines these according to ... | C | scripts/mod/modpost.h | chenshuo/linux-study | gpl-2.0 | 5,201 | 207 | codeparrot/github-code |
b05a2ae02f1e94a6ca4f626b7f0aa8288929fad3d99678e92231bc418e8f4df3 | /*
* Copyright (C) 2011-2012, LG Eletronics,Inc. All rights reserved.
* LGIT LCD device driver
*
* 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.
*
* Th... | C | kernel/drivers/video/msm/mipi_lgit.c | keeeener/nicki | gpl-2.0 | 5,994 | 257 | codeparrot/github-code |
2c439112413619cb93e1b9d8552c06e9ace2976cae3da0eb9fcf13f87653f80f | // 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 "ash/wm/event_client_impl.h"
#include "ash/session/session_state_delegate.h"
#include "ash/shell.h"
#include "ash/shell_window_ids.h"
#inclu... | C++ | external/chromium_org/ash/wm/event_client_impl.cc | s20121035/rk3288_android5.1_repo | gpl-3.0 | 2,044 | 59 | codeparrot/github-code |
8cbac6ef0c758e1e6773dd20b0d7edd52d61ed04f5e56c037b9deb8407c85204 | /*!
* https://github.com/es-shims/es5-shim
* @license es5-shim Copyright 2009-2015 by contributors, MIT License
* see https://github.com/es-shims/es5-shim/blob/master/LICENSE
*/
// vim: ts=4 sts=4 sw=4 expandtab
// Add semicolon to prevent IIFE from being passed as argument to concatenated code.
;
// UMD (Univer... | JavaScript | refer/modules/es5-shim/4.2.0/es5-shim.js | staticmatrix/Triangle | mit | 61,942 | 1,639 | codeparrot/github-code |
71d6bbd1039e551735641972cad23481421d3524958ffc22da1f974ff4140d2a | <?php
namespace Drupal\views_ui\Form\Ajax;
use Drupal\Core\Form\FormStateInterface;
use Drupal\views\ViewExecutable;
use Drupal\views\ViewEntityInterface;
use Drupal\views\Views;
/**
* Provides a form for adding an item in the Views UI.
*/
class AddHandler extends ViewsFormBase {
/**
* Constructs a new AddHa... | PHP | web/core/modules/views_ui/src/Form/Ajax/AddHandler.php | ngbentley/d8_devshop | gpl-2.0 | 6,305 | 188 | codeparrot/github-code |
863ed64b0beea632dbf0cb7dc758fb8ba7c12e53beaf02147d71ae9e3d32f2cd | <?php
class meter
{
function __construct()
{
}
function makeSVG($tag, $type, $value, $max, $min, $optimum, $low, $high)
{
$svg = '';
if ($tag == 'meter') {
if ($type == '2') {
/////////////////////////////////////////////////////////////////////////////////////
///////// CUSTOM <meter type="2">... | PHP | wp-content/themes/wp-rio/inc/certificate/lib/mpdf/classes/meter.php | wp-rio/wp-rio | gpl-2.0 | 11,355 | 293 | codeparrot/github-code |
e909cc5999a953e16de1d04ce20725057dc10b7f1a691cfd969eb74b7271bd4b | /*
* TI OMAP2 32kHz sync timer emulation.
*
* Copyright (C) 2007-2008 Nokia Corporation
* Written by Andrzej Zaborowski <andrew@openedhand.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 Foun... | C | qemu/hw/omap_synctimer.c | SSLAB-HSA/HSAemu | gpl-3.0 | 2,861 | 103 | codeparrot/github-code |
7a95fcb196e4ab9944ff3f3686f4844d00882fce9d45cbe8f811da70d90a184b | // -*- C++ -*-
// Copyright (C) 2005-2014 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... | C++ | usr/include/c++/4.9/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp | ruibarreira/linuxtrail | gpl-3.0 | 2,765 | 84 | codeparrot/github-code |
2b822bfd69b4800bd43677b3c8cac1c479731c10b9fdf4f4ce60eb7df4db94bc | /*
Copyright 2014 The Kubernetes 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... | GO | plugin/pkg/scheduler/api/v1/types.go | nagarjung/kubernetes | apache-2.0 | 6,999 | 174 | codeparrot/github-code |
73150ac4693ec87e9681c28aa2616c4d316b1534085efd3333fbd9a66b3e9e63 | /**
* drivers/extcon/extcon-usb-gpio.c - USB GPIO extcon driver
*
* Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com
* Author: Roger Quadros <rogerq@ti.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version... | C | linux/drivers/extcon/extcon-usb-gpio.c | mkvdv/au-linux-kernel-autumn-2017 | gpl-3.0 | 8,079 | 322 | codeparrot/github-code |
754a2c345c077ee22bc53894940da8998aa4f1257ec85fdbc046d29f282f006f | (function($){
if(webshims.support.texttrackapi && document.addEventListener){
var trackOptions = webshims.cfg.track;
var trackListener = function(e){
$(e.target).filter('track').each(changeApi);
};
var trackBugs = webshims.bugs.track;
var changeApi = function(){
if(trackBugs || (!trackOptions.override ... | JavaScript | js-webshim/dev/shims/track-ui.js | ttitto/ttitto.github.io | mit | 10,440 | 367 | codeparrot/github-code |
4dbb7ee48271a99ddede1548aeb803e7b68347a3defab8bb8c6ed1ccc8bc96b0 | /* { dg-do compile } */
/* { dg-skip-if "do not override -mfloat-abi" { *-*-* } { "-mfloat-abi=*" } {"-mfloat-abi=softfp" } } */
/* { dg-options "-O2 -fno-omit-frame-pointer -mabi=apcs-gnu -mfloat-abi=softfp" } */
struct super_block
{
int s_blocksize_bits;
};
struct btrfs_fs_info
{
struct super_block *sb;
};
stru... | C | source/gcc-latest/gcc/testsuite/gcc.target/arm/pr60650.c | selmentdev/selment-toolchain | gpl-3.0 | 903 | 46 | codeparrot/github-code |
32de6206cb0a097656aaeb29fe55ac730023ec70682012fa59640cc053c753cd | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# GuessIt - A library for guessing information from filenames
# Copyright (c) 2012 Nicolas Wack <wackou@gmail.com>
#
# GuessIt is free software; you can redistribute it and/or modify it under
# the terms of the Lesser GNU General Public License as published by
# the Free ... | Python | libs/guessit/transfo/guess_video_rexps.py | loulich/Couchpotato | gpl-3.0 | 1,837 | 51 | codeparrot/github-code |
5dc9eab3f03712c4004afac651d011e5b38e572e5005cdae1bf80aacff02da9e | /*
* This file is part of FFmpeg.
*
* FFmpeg 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.
*
* FFmpeg is distributed... | C | third_party/ffmpeg/libavcodec/arm/vp8dsp_init_neon.c | CTSRD-SOAAP/chromium-42.0.2311.135 | bsd-3-clause | 5,935 | 120 | codeparrot/github-code |
2c47c3af3671679d5ccc072f0b7bab34d2e094269c81845a5497232cbcfe6bd0 | /*
* Copyright (c) 2004,2012 Kustaa Nyholm / SpareTimeLabs
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this... | C | src/main/common/printf.c | subaklab/myflight | gpl-3.0 | 6,103 | 227 | codeparrot/github-code |
353356a76e930bd2f288054fb84f0add3a1389c61c690dca9536e2df205d621c | /*
* Kernel-based Virtual Machine driver for Linux
*
* This module enables machines with Intel VT-x extensions to run virtual
* machines without emulation or binary translation.
*
* Copyright (C) 2006 Qumranet, Inc.
*
* Authors:
* Avi Kivity <avi@qumranet.com>
* Yaniv Kamay <yaniv@qumranet.com>
*
* T... | C | src/arch/x86/kvm/vmx.c | felixhaedicke/nst-kernel | gpl-2.0 | 96,797 | 3,725 | codeparrot/github-code |
a02208f0a2b5ee9f4d66b58c2fb24091a1fbdeb8cb2664f48a88b25deae2a987 | <?php
/**
* Memcache storage engine for cache
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistribution... | PHP | webapp/lib/Cake/Cache/Engine/MemcacheEngine.php | kcraam/rasp-fligthtime | bsd-3-clause | 8,310 | 293 | codeparrot/github-code |
fdd88d57f275721c63a9912260f2bf5dc77b0a5c74215f61f279e3939c91a602 | /*
* Copyright (c) 2007-2011 Nicira Networks.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WIT... | C | net/openvswitch/flow.c | Andiry/Linux-xHCI-development | gpl-2.0 | 35,704 | 1,346 | codeparrot/github-code |
0b076d9af219199c8304ee1c9a7e2355dd65cef1f11260f4584da0423173e337 | /*
* 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/windowing/WinEventsWayland.cpp | TRex22/xbmc | gpl-2.0 | 3,936 | 150 | codeparrot/github-code |
1eb6cc06666628da4edb15b76d2ce36714ae753660ff6989c8c77520990eda35 | /*
* IOMMU implementation for Cell Broadband Processor Architecture
*
* (C) Copyright IBM Corporation 2006-2008
*
* Author: Jeremy Kerr <jk@ozlabs.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 Soft... | C | linux-4.19/arch/powerpc/platforms/cell/iommu.c | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 34,916 | 1,223 | codeparrot/github-code |
0569c8446877fa53d2f7d1f4d4b8ffd3d58dd49c09a6d712e466de640d026fb3 | ! { dg-do run }
! { dg-additional-options "-msse2" { target sse2_runtime } }
! { dg-additional-options "-mavx" { target avx_runtime } }
integer :: a(1024), b(1024), k, m, i, s, t
k = 4
m = 2
t = 1
do i = 1, 1024
a(i) = i - 513
b(i) = modulo (i - 52, 39)
if (i.lt.52.and.b(i).ne.0) b(i) = b(i) - 39... | FORTRAN | src/libgomp/testsuite/libgomp.fortran/simd2.f90 | lapesd/libgomp | gpl-3.0 | 2,682 | 102 | codeparrot/github-code |
1cf49778de78bad9c57c362e8f812c459cf3571c43cc46a9760c4a5cc040cb78 | /*
* A driver for the Griffin Technology, Inc. "PowerMate" USB controller dial.
*
* v1.1, (c)2002 William R Sowerbutts <will@sowerbutts.com>
*
* This device is a anodised aluminium knob which connects over USB. It can measure
* clockwise and anticlockwise rotation. The dial also acts as a pushbutton with
* a spr... | C | ev3sources/extra/linux-03.20.00.13/drivers/input/misc/powermate.c | EAVR/EV3.14 | gpl-2.0 | 15,205 | 465 | codeparrot/github-code |
90634f41e28226102ed2ab136ff7fb78e21fead4531167bdebeb7c6dff98c86c | /**
@file PhysicsFrame.cpp
@maintainer Morgan McGuire, http://graphics.cs.williams.edu
@created 2002-07-09
@edited 2006-01-25
*/
#include "G3D/platform.h"
#include "G3D/PhysicsFrame.h"
#include "G3D/BinaryInput.h"
#include "G3D/BinaryOutput.h"
namespace G3D {
PhysicsFrame::PhysicsFrame() {
translation = ... | C++ | mangos/dep/src/g3dlite/PhysicsFrame.cpp | AsherBond/MondocosmOS | agpl-3.0 | 1,542 | 78 | codeparrot/github-code |
a89d75c45fb2f9682028a555d8d246f5d03a56ecfe7d4695875998dd4748529e | /*
HISTORY
02-Aug-10 L-05-28 $$1 pdeshmuk Created.
*/
function deleteItemsInSimpRep ()
{
if (!pfcIsWindows())
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
/*--------------------------------------------------------------------*\
Get the current assembly
\*... | JavaScript | wsgi/wsgi/static/weblink/examples/jscript/pfcSimpRepExamples.js | 2014c2g12/c2g12 | gpl-2.0 | 4,660 | 136 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.