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 |
|---|---|---|---|---|---|---|---|---|
23395d4ce9a901598c5795efa7536a1ca5459282251f505f4cba0e366e914161 | /*
Public ivtv API header
Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com>
Copyright (C) 2004-2007 Hans Verkuil <hverkuil@xs4all.nl>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free ... | C | usr/include/linux/ivtv.h | ruibarreira/linuxtrail | gpl-3.0 | 2,958 | 74 | codeparrot/github-code |
0c331432816d661dd3e29f64d9ea7204bfee2a76e83e884d26a7329a3b5729cc | /**
* 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-vertx/src/test/java/org/apache/camel/component/vertx/VertxRoutePubSubTest.java | CandleCandle/camel | apache-2.0 | 2,346 | 63 | codeparrot/github-code |
d120a6b53ab273ad3e611ff6bf681cf239597b5fd1b7dd1a15ca4e86ae3ce47c | /* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the ho... | C | arch/arm/mach-msm_origi/restart.c | wwenigma/cocktail-kernel-msm7x30 | gpl-2.0 | 6,287 | 264 | codeparrot/github-code |
d5e8cc3d8d2bdb40016a59d49a84f5a7fdcdcde3fed0093c94059731b81cf154 | 'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_pre... | JavaScript | 基于angular的图书管理/src/framework/angular-1.5.8/i18n/angular-locale_en-sb.js | okboy5555/demo | apache-2.0 | 2,710 | 144 | codeparrot/github-code |
8e696d906ad3ab77293b07f2f7bfb4d1cc064bd137d4ddef1f491b4085bad3e2 | <?php
/**
* @package Joomla.Site
* @subpackage com_mailto
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* @package Joomla.Site
* @subpackage com_mailto
*/
class... | PHP | studio-site/components/com_mailto/controller.php | kolenchits86/htdocs | gpl-2.0 | 3,709 | 147 | codeparrot/github-code |
f7f36a08396a75592d07c9c8e33bce27f2d902c969cd0feaeb4676c248b42f15 | /******************************************************************************
*
* 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) 2012 - 2014 Intel Corporation. All rights reserved.
* ... | C | kernel/linux-3.18.45/drivers/net/wireless/iwlwifi/iwl-7000.c | alvislin/openwrt | gpl-2.0 | 10,448 | 307 | codeparrot/github-code |
022c1bb83f5316840dd2e684afd076cc712f1cbfb684a166805b75ac0bbf38da | // Copyright John Maddock 2006, 2007.
// Copyright Paul A. Bristow 2008, 2010.
// Use, modification and distribution are subject to 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 BOOST_MATH_DISTRIBUTIONS_CHI_SQUARED_HPP... | C++ | xray/SDK/include/boost/math/distributions/chi_squared.hpp | hpl1nk/nonamegame | gpl-3.0 | 12,117 | 356 | codeparrot/github-code |
f121e541de9e8080126b4437c3d489b3f67a6c6effff4619ab0b6afc768944bc | /*
* Copyright (C) 2003, 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* not... | C++ | src/webkit/Source/WebCore/platform/graphics/cg/ColorCG.cpp | klim-iv/phantomjs-qt5 | bsd-3-clause | 4,523 | 150 | codeparrot/github-code |
93e7fb39e8e03b73bca32a40fd8bcff6bcc89b8b9d58ddbc5f8fef0d160562d1 | /**
* Springy v2.6.1
*
* Copyright (c) 2010-2013 Dennis Hotson
*
* 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,... | JavaScript | web/plugins/springy/springy.js | daftenii/veriatrans | mit | 20,009 | 724 | codeparrot/github-code |
ee8a304c1d68d907e94133467d03c32ff6a28f8dab03d29b6f5e02f4cfa8a737 | /*
*
*
* Copyright (C) 2005 Mike Isely <isely@pobox.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License
*
* This program is distributed in the ho... | C | virt/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c | talnoah/android_kernel_htc_dlx | gpl-2.0 | 20,177 | 699 | codeparrot/github-code |
91546c92448041597fff541295428aea04465befdb1d45293f10c9158b36100d | /**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
/**
* @class FilterTexture
* @constructor
* @param gl {WebGLContext} the current WebGL drawing context
* @param width {Number} the horizontal range of the filter
* @param height {Number} the vertical range of the filter
* @param scaleMode {Number} Should b... | JavaScript | www/bower_components/pixi/src/pixi/renderers/webgl/utils/FilterTexture.js | spitelab/spiteheroes | cc0-1.0 | 2,878 | 96 | codeparrot/github-code |
fc4d9102798bdda44c2c0608266445ad0c7d8b1f0239b33e7f46e05f7c2e640d | /* { dg-do run { target { ! { ia32 } } } } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
#endif
#ifndef TEST
#define TEST sse4_1_test
#endif
#include CHECK_H
#include <smmintrin.h>
#include <string.h>
#define msk0 0x00
#define msk... | C | gccsrc/gcc-4.7.2/gcc/testsuite/gcc.target/i386/sse4_1-pinsrq.c | the-linix-project/linix-kernel-source | bsd-2-clause | 1,306 | 68 | codeparrot/github-code |
a9f101d4b80f196ec27fe03c66315ba9282f7c996b004a0ab0b849d8e7e2b497 | <?php
require_once WPCF7_PLUGIN_DIR . '/admin/admin-functions.php';
add_action( 'admin_menu', 'wpcf7_admin_menu', 9 );
function wpcf7_admin_menu() {
add_object_page( __( 'Contact Form 7', 'wpcf7' ), __( 'Contact', 'wpcf7' ),
'wpcf7_read_contact_forms', 'wpcf7', 'wpcf7_admin_management_page',
wpcf7_plugin_url( '... | PHP | wp-content/plugins/contact-form-7/admin/admin.php | digihumanatee/transh4ck-clothesr4ck | gpl-2.0 | 14,350 | 460 | codeparrot/github-code |
4fe5d4583cdb11f4d44cd6c3c6a0173bcdf979349ac50d86854227d6e84feda2 | /*
* Linux 2.6.32 and later Kernel module for VMware MVP PVTCP Server
*
* Copyright (C) 2010-2013 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundat... | C | firmware/bnx2/block/arch/arm/mvp/pvtcpkm/pvtcp_off_io_linux.c | joni2012/joni | gpl-2.0 | 20,560 | 740 | codeparrot/github-code |
c56b4693b8edff657e068b8618bd4a198ff9116a1486e2363e4077a7562a7092 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | PHP | www-root/core/library/Zend/Validate/Ccnum.php | mattsimpson/entrada-1x | gpl-3.0 | 3,139 | 113 | codeparrot/github-code |
b9c8c3543066da8fbf319852eb16665429cf468c73709ba26f90a49c3c627cf4 | /*
* 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-ml/src/main/java/com/facebook/presto/ml/FeatureVector.java | marsorp/blog | apache-2.0 | 1,633 | 57 | codeparrot/github-code |
e09a543203c6be6b4106021edec0b713265b0503ff817ab5cc450a3f6677d906 | /*
* Copyright (C) 1999 - 2010 Intel Corporation.
* Copyright (C) 2010 OKI SEMICONDUCTOR CO., LTD.
*
* This code was derived from the Intel e1000e Linux driver.
*
* 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 F... | C | virt/drivers/net/pch_gbe/pch_gbe_main.c | JijonHyuni/HyperKernel-JB | gpl-2.0 | 72,968 | 2,552 | codeparrot/github-code |
9ca16419d4b28022778fb487af78dbf9b80b03784605b7fbc11e70f5a2433f89 | /*
* 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 | src/linux/drivers/staging/lustre/lustre/obdclass/class_obd.c | systemdaemon/systemd | gpl-2.0 | 17,317 | 708 | codeparrot/github-code |
530f5b064dd1d1d832d86e0e2ff8cbc13ee6efacd2e79c0cee0614b9d1fc48af | /*
* Copyright (c) 2015 [1076559197@qq.com | tchen0707@gmail.com]
*
* Licensed under the Apache License, Version 2.0 (the "License”);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | Java | library_youku/src/main/java/com/youku/service/download/DownloadInfo.java | yanyongshan/SimplifyReader | apache-2.0 | 19,693 | 653 | codeparrot/github-code |
3c4c0b01a99205aa7b061255c04f6c40be4cdb67026697c3b079178960ae7090 | /*
* intel_sst_pvt.c - Intel SST Driver for audio engine
*
* Copyright (C) 2008-10 Intel Corp
* Authors: Vinod Koul <vinod.koul@intel.com>
* Harsha Priya <priya.harsha@intel.com>
* Dharageswari R <dharageswari.r@intel.com>
* KP Jeeja <jeeja.kp@intel.com>
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | C | virt/drivers/staging/intel_sst/intel_sst_pvt.c | JijonHyuni/HyperKernel-JB | gpl-2.0 | 8,505 | 314 | codeparrot/github-code |
3e0ca7172b3759ececd9062620497ecc98afd76c5d76d89e18b37e5d6004c314 | /*
* ipmi_smi.h
*
* MontaVista IPMI system management interface
*
* Author: MontaVista Software, Inc.
* Corey Minyard <minyard@mvista.com>
* source@mvista.com
*
* Copyright 2002 MontaVista Software Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the... | C | src/linux/include/linux/ipmi_smi.h | systemdaemon/systemd | gpl-2.0 | 9,107 | 248 | codeparrot/github-code |
afd689405d3c6b3fdd2e6d9b05757abf190acc9ffe40e365435687811f28a861 | /*
* Tty port functions
*/
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/serial.h>
#include <linux/timer.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/init.h>
#include ... | C | unionfs-3.10.y/drivers/tty/tty_port.c | prasidh09/cse506 | gpl-2.0 | 15,853 | 595 | codeparrot/github-code |
0f711f2da863b1b4fdef37d833e583c64d0818d887bdc166d85d9195892687ef | <!doctype html>
<html>
<head>
<title>Network | Sizing</title>
<style type="text/css">
html, body {
font: 10pt arial;
}
#mynetwork {
width: 600px;
height: 600px;
border: 1px solid lightgray;
}
</style>
<script type="text/javascript" src="../../../dist/vis.js"></script>
... | HTML | web/static/bower_components/vis/examples/network/data/scalingNodesEdges.html | A4JG/a4j | gpl-2.0 | 2,494 | 80 | codeparrot/github-code |
07307b06961a27a229e571da01b8bdc20313b4837d02760fdb6766fc60a1fabb | 'use strict';
var drool = require('drool');
var path = require('path');
var humanize = require('humanize');
var assert = require('assert');
var webdriver = drool.webdriver;
var controlFlow = webdriver.promise.controlFlow();
var driver = drool.start({chromeOptions: 'no-sandbox'});
var stamps = [];
function measureMenu... | JavaScript | test/memory/test.js | bright-sparks/material-design-lite | apache-2.0 | 1,439 | 48 | codeparrot/github-code |
214e248f141a2f7819304b571ef714efe13012a36b82e63400df4fbc37862f4f | /*
* AMD 10Gb Ethernet driver
*
* This file is available to you under your choice of the following two
* licenses:
*
* License 1: GPLv2
*
* Copyright (c) 2014 Advanced Micro Devices, Inc.
*
* This file is free software; you may copy, redistribute and/or modify
* it under the terms of the GNU General Public L... | C | src/linux/drivers/net/ethernet/amd/xgbe/xgbe.h | systemdaemon/systemd | gpl-2.0 | 27,918 | 869 | codeparrot/github-code |
21d3eab8d93971779e52c17d6e2279b4c7f795d6e1bde3ed13d700acc4aa31b7 | /**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks stat... | JavaScript | src/addons/transitions/ReactTransitionChildMapping.js | leohmoraes/react | bsd-3-clause | 3,272 | 104 | codeparrot/github-code |
cd6c4fdf8d1bf74c8fb8e4f0fede83c35bb6735f5e6991434edd1a6b559a0bd9 | 'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_pre... | JavaScript | www/js/angular-1.6.1/i18n/angular-locale_mgh_1.js | Duvan07/Imperium | mit | 3,000 | 144 | codeparrot/github-code |
ccf10684536cd208c969d743f9ba6f15e46d68424b565e6434ab2c32b0d97dd9 | /*
* linux/fs/ext3/namei.c
*
* Copyright (C) 1992, 1993, 1994, 1995
* Remy Card (card@masi.ibp.fr)
* Laboratoire MASI - Institut Blaise Pascal
* Universite Pierre et Marie Curie (Paris VI)
*
* from
*
* linux/fs/minix/namei.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* Big-endian to little-endian... | C | src/fs/ext3/namei.c | felixhaedicke/nst-kernel | gpl-2.0 | 67,538 | 2,448 | codeparrot/github-code |
15867a1647f8ded5fe70f92249a62fba48936de583cd302e92286dfda7eec30f | /*
* Device driver for the SYMBIOS/LSILOGIC 53C8XX and 53C1010 family
* of PCI-SCSI IO processors.
*
* Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr>
*
* This driver is derived from the Linux sym53c8xx driver.
* Copyright (C) 1998-2000 Gerard Roudier
*
* The sym53c8xx driver is derived from the n... | C | snapgear_linux/linux-2.6.21.1/drivers/scsi/sym53c8xx_2/sym_misc.h | impedimentToProgress/UCI-BlueChip | mit | 5,149 | 193 | codeparrot/github-code |
986290d896555b2467d1a846c705a3f2dda4346866be5c7a27da28ef01f2e535 | 'use strict';
var _ = require('lodash');
var levels = require('../levels');
var times = require('../times');
var simplealarms = require('./simplealarms')();
function init() {
var treatmentnotify = {
name: 'treatmentnotify'
, label: 'Treatment Notifications'
, pluginType: 'notification'
};
treatmen... | JavaScript | lib/plugins/treatmentnotify.js | jiaa6908/cgm-remote-monitor | agpl-3.0 | 3,980 | 114 | codeparrot/github-code |
95cfc14e166c98f2a8972b8e1ef96c528ded3e040654a74057f3935ac51a4a30 | /* RadioTrack II driver for Linux radio support (C) 1998 Ben Pfaff
*
* Based on RadioTrack I/RadioReveal (C) 1997 M. Kirkwood
* Converted to new API by Alan Cox <alan@lxorguk.ukuu.org.uk>
* Various bugfixes and enhancements by Russell Kroll <rkroll@exploits.org>
*
* TODO: Allow for more than one of these foolish ... | C | src/drivers/media/radio/radio-rtrack2.c | felixhaedicke/nst-kernel | gpl-2.0 | 7,884 | 375 | codeparrot/github-code |
56759a54ee00a99cafff11a7f6ef07e73b2c13212acddb9946c64a59e8461b8f | /*
Copyright (c) 2000 Lee Thomason (www.grinninglizard.com)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to use this software for any
purpose, including ... | C++ | third_party/codecs/lame/ACM/tinyxml/tinyxml.cpp | JREkiwi/sagetv | apache-2.0 | 18,466 | 1,008 | codeparrot/github-code |
0c144e1c65991aca96f2e4dae82543a63137f3e297c27418c939c7b3a1038bd9 | <HTML>
<HEAD>
<TITLE>
Changes in TIFF v3.8.1
</TITLE>
</HEAD>
<BODY BGCOLOR=white>
<FONT FACE="Helvetica, Arial, Sans">
<FONT FACE="Helvetica, Arial, Sans">
<BASEFONT SIZE=4>
<B><FONT SIZE=+3>T</FONT>IFF <FONT SIZE=+2>C</FONT>HANGE <FONT SIZE=+2>I</FONT>NFORMATION</B>
<BASEFONT SIZE=3>
<UL>
<HR SIZE=4 WIDTH=65% AL... | HTML | wxWidgets-3.1.0/src/tiff/html/v3.8.1.html | adouble42/nemesis-current | bsd-2-clause | 8,059 | 218 | codeparrot/github-code |
b0f9c8b8e70b286928c9198422639f618bedea8aff971ab2089767d5a4ed489a | // SPDX-License-Identifier: GPL-2.0-or-later
/*
* mxl111sf-gpio.c - driver for the MaxLinear MXL111SF
*
* Copyright (C) 2010-2014 Michael Krufky <mkrufky@linuxtv.org>
*/
#include "mxl111sf-gpio.h"
#include "mxl111sf-i2c.h"
#include "mxl111sf.h"
/* ----------------------------------------------------------------... | C | drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c | Broadcom/linux-rdma-nxt | gpl-2.0 | 19,232 | 745 | codeparrot/github-code |
6dc48118752855e4b37dbfbfd94bffaff98d9ec9e8d250f7686065d03c8199a6 | /*
** 2001 September 22
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
*******************... | C | trunk/third_party/sqlite/src/ext/fts1/fts1_hash.c | wangscript/libjingle-1 | bsd-3-clause | 11,177 | 370 | codeparrot/github-code |
d5a0a8a16000fd8dd9ce4ea54feb80b6d35c9f08f410aae562b5ee1dbf7cf34d | <?php defined('_JEXEC') or die('Restricted access'); ?>
<?php
$cid = JRequest::getVar( 'cid', array(0), '', 'array' );
$edit=JRequest::getVar( 'edit', true );
JArrayHelper::toInteger($cid, array(0));
$text = ( $edit ? JText::_( 'Edit' ) : JText::_( 'New' ) );
JToolBarHelper::title( JText::_( 'Poll' ).': <small... | PHP | tmp/install_4f209c9de9bf1/administrator/components/com_poll/views/poll/tmpl/form.php | heqiaoliu/Viral-Dark-Matter | gpl-2.0 | 4,226 | 134 | codeparrot/github-code |
671cd09c98e58637d4ededcacc92ff3633c8c06df4787d28d1499f428d130964 | // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
// (C) Copyright 2003-2007 Jonathan Turkanis
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
// See http://www.boost.org/libs/iostreams for docume... | C++ | xray/SDK/include/boost/iostreams/detail/codecvt_holder.hpp | hpl1nk/nonamegame | gpl-3.0 | 1,992 | 64 | codeparrot/github-code |
27f61e8af45e929d1413376d8cefa65778ad04463046d1773588aa52c4055674 | /*
* linux/drivers/i2c/busses/i2c-nuc900.c
*
* Copyright (c) 2010 Nuvoton technology corporation.
*
* This driver based on S3C2410 I2C driver of Ben Dooks <ben-Y5A6D6n0/KfQXOPxS62xeg@public.gmane.org>.
* Written by Wan ZongShun <mcuos.com-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
*
* This program is free softwar... | C | release/src-rt-7.x.main/src/linux/linux-2.6.36/drivers/i2c/busses/i2c-nuc900.c | wkritzinger/asuswrt-merlin | gpl-2.0 | 14,762 | 710 | codeparrot/github-code |
103244e181d6ae415682bd2750eb1c6f3edbd0bb76cef5a864c30665e2af057b | /*
* Copyright 2012-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Java | spring-boot-samples/spring-boot-sample-tomcat-multi-connectors/src/main/java/sample/tomcat/multiconnector/SampleTomcatTwoConnectorsApplication.java | ChunPIG/spring-boot | apache-2.0 | 3,157 | 94 | codeparrot/github-code |
8c93c4d814f4b09102dc413fc882d923e96aca1dd1df397edf8aa9013c64c7b7 | /* SPDX-License-Identifier: GPL-2.0-only */
/*
* (c) Copyright 2002-2010, Ralink Technology, Inc.
* Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl>
* Copyright (C) 2018 Stanislaw Gruszka <stf_xl@wp.pl>
* Copyright (C) 2018 Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
*/
#ifndef __MT76X0U_INITVALS_INIT_H
#de... | C | drivers/net/wireless/mediatek/mt76/mt76x0/initvals_init.h | Naoya-Horiguchi/linux | gpl-2.0 | 5,218 | 160 | codeparrot/github-code |
50087038fb1d526b1e0f9d8b318da8f4ef9ee32d3264bf17e40824cf22868556 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="../../a... | HTML | web/libs/bootstrap-3.1.1/docs/examples/theme/index.html | bocharsky-bw/bionic-symfony | mit | 16,907 | 385 | codeparrot/github-code |
260f33cbb8fb89dcd81e85e359ba281f225550882740cb2da934ae63a6f88a61 | // 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 "base/android/jni_string.h"
#include "base/android/jni_android.h"
#include "base/android/scoped_java_ref.h"
#include "base/strings/utf_strin... | C++ | third_party/chromium/base/android/jni_string_unittest.cc | michaelforfxhelp/master | mpl-2.0 | 1,015 | 33 | codeparrot/github-code |
6b0d7cd33da15b843ade20343a7de35e8c2b7ea0d07b2eee764a72e7b069317b | <?php
/**
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access.
defined('_JEXEC') or die;
/**
* @package Joomla.Administrator
* @subpackage mod_feed
*/
abstract class modFeedHelper... | PHP | studio-site/administrator/modules/mod_feed/helper.php | kolenchits86/htdocs | gpl-2.0 | 3,940 | 164 | codeparrot/github-code |
d1ccefa387eabedc4cb6b5722866f5e286af068815d183bf87c5d9e01e409b6d | /*
* max8997.c - Regulator driver for the Maxim 8997/8966
*
* Copyright (C) 2011 Samsung Electronics
* MyungJoo Ham <myungjoo.ham@smasung.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 Found... | C | linux-2.6.39/drivers/regulator/max8997.c | chaoling/test123 | gpl-2.0 | 30,345 | 1,215 | codeparrot/github-code |
529a4bc0038be64d1de20559be0486d4e86c4468b702c6b7435ee86c253a8f83 | YUI.add('escape', function(Y) {
/**
Provides utility methods for escaping strings.
@module escape
@class Escape
@static
@since 3.3.0
**/
var HTML_CHARS = {
'&': '&',
'<': '<',
'>': '>',
'"': '"',
"'": ''',
'/': '/',
'`': '`'
},... | JavaScript | ajax/libs/yui/3.7.0pr1/escape/escape.js | yinghunglai/cdnjs | mit | 2,557 | 93 | codeparrot/github-code |
02c2d51452378d097951ed82857475fb14ee11112b0f74af4d28e61a6d57439c | /* ReadOnlyBufferException.java --
Copyright (C) 2002 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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 ... | Java | uefi/gcc/gcc-4.6.3/libjava/classpath/java/nio/ReadOnlyBufferException.java | SanDisk-Open-Source/SSD_Dashboard | gpl-2.0 | 2,044 | 55 | codeparrot/github-code |
53a788a56da63a367bcafa0671c95a3b7562c53fb8cd7a65f1418b7588fcfed1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2007 INRIA
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distributed... | C++ | src/core/test/timer-test-suite.cc | hiteshwadekar/ns-3-dev-ndnSIM | gpl-2.0 | 5,719 | 221 | codeparrot/github-code |
5ad44460f5610e130331df43f3d7b93aa8e025fcc270872f660f0d0c6d735a33 | /*
* linux/arch/arm/kernel/etm.c
*
* Driver for ARM's Embedded Trace Macrocell and Embedded Trace Buffer.
*
* Copyright (C) 2009 Nokia Corporation.
* Alexander Shishkin
*
* 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
... | C | arch/arm/kernel/etm.c | mbrugg/MC-EWIO-KERNEL-ORG | gpl-2.0 | 13,614 | 660 | codeparrot/github-code |
7aaf384df4a854d8eb5ae90bed192353336395b03ae9c48a6ee7a3244b3fa261 | /*
* f_ecm.c -- USB CDC Ethernet (ECM) link function driver
*
* Copyright (C) 2003-2005,2008 David Brownell
* Copyright (C) 2008 Nokia Corporation
*
* 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 F... | C | openplatform/sdk/os/kernel-2.6.32/drivers/usb/gadget/f_ecm.c | go2ev-devteam/Gplus_2159_0801 | gpl-2.0 | 24,025 | 832 | codeparrot/github-code |
e385e44f399a9b0750b76dd4ced6262c0cf21f3a1077dda15610ae0985ffc9d5 | /*
* linux/arch/arm/mach-pxa/cm-x300.c
*
* Support for the CompuLab CM-X300 modules
*
* Copyright (C) 2008,2009 CompuLab Ltd.
*
* Mike Rapoport <mike@compulab.co.il>
* Igor Grinberg <grinberg@compulab.co.il>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the ... | C | linux-2.6.39/arch/arm/mach-pxa/cm-x300.c | chaoling/test123 | gpl-2.0 | 19,121 | 866 | codeparrot/github-code |
55bacea3462097f12d7b1fef963d6a8f5b36f6c56579809996e3da9d07f6b588 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Text;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
... | C# | src/Main/MetaDslx.CodeAnalysis.CSharp/Symbols/Source/AttributeLocation.cs | balazssimon/meta-cs | apache-2.0 | 4,954 | 144 | codeparrot/github-code |
bbebed4a65933805298b969f4da48df9cd1e7449fd8a767797462b1e3d13f960 | /* -*- linux-c -*- ------------------------------------------------------- *
*
* Copyright 2002 H. Peter Anvin - 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 as published by
* the Free Software Foundatio... | C | virt/lib/raid6/recov.c | JijonHyuni/HyperKernel-JB | gpl-2.0 | 3,571 | 133 | codeparrot/github-code |
1a0a4c30f865d6a007adc17ec36ff2f3d80cf0f314ea159a6ab035daf0a0aac7 | /*
* Common Block IO controller cgroup interface
*
* Based on ideas and code from CFQ, CFS and BFQ:
* Copyright (C) 2003 Jens Axboe <axboe@kernel.dk>
*
* Copyright (C) 2008 Fabio Checconi <fabio@gandalf.sssup.it>
* Paolo Valente <paolo.valente@unimore.it>
*
* Copyright (C) 2009 Vivek Goyal <vgoyal@redha... | C | block/blk-cgroup.c | helohe/android_kernel_samsung_n7100 | gpl-2.0 | 43,430 | 1,670 | codeparrot/github-code |
64b7612d9b90824d893a61ea7a993af3ade64f13183873cb1c3a9f07e01225e1 | /*
* usb-serial driver for Quatech USB 2 devices
*
* Copyright (C) 2012 Bill Pemberton (wfp5p@virginia.edu)
*
* 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.
*
*
* These dev... | C | virt/drivers/usb/serial/quatech2.c | AiJiaZone/linux-4.0 | gpl-2.0 | 25,985 | 1,037 | codeparrot/github-code |
a181687b986fa74e88c10bd073a51c3b4b6c2e9086d14bf9b36b21be94c04c5e | #include <linux/idr.h>
#include <linux/mutex.h>
#include <linux/device.h>
#include <linux/sysfs.h>
#include <linux/gpio/consumer.h>
#include <linux/gpio/driver.h>
#include <linux/interrupt.h>
#include <linux/kdev_t.h>
#include "gpiolib.h"
static DEFINE_IDR(dirent_idr);
/* lock protects against unexport_gpio() being... | C | src/linux/drivers/gpio/gpiolib-sysfs.c | systemdaemon/systemd | gpl-2.0 | 20,041 | 841 | codeparrot/github-code |
c805b18e69fccaa93f9708a35a3cf79c6d2dd80eca5e1a93d2b4748b9513abfe | /*
* Driver for Pixcir I2C touchscreen controllers.
*
* Copyright (C) 2010-2011 Pixcir, Inc.
*
* 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 prog... | C | unionfs-3.10.y/drivers/input/touchscreen/pixcir_i2c_ts.c | prasidh09/cse506 | gpl-2.0 | 5,764 | 230 | codeparrot/github-code |
3be392c8599388c4370b6dd7b687ec8639b167e60b7e5209d6688df717cd7221 | /*
* TI clock support
*
* Copyright (C) 2013 Texas Instruments, Inc.
*
* Tero Kristo <t-kristo@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 2 as
* published by the Free Software Foundation.
*
* This program is ... | C | media/drivers/clk/ti/clk.c | iwinoto/v4l-media_build-devel | gpl-2.0 | 4,404 | 168 | codeparrot/github-code |
62ecd7c6bb154a78b3e052c8c43a333fc76ac1ab2e76b6b830bf6b998e5a1153 | /* sun_esp.c: ESP front-end for Sparc SBUS systems.
*
* Copyright (C) 2007, 2008 David S. Miller (davem@davemloft.net)
*/
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/dma-mapping.h>
#include <linux... | C | virt/drivers/scsi/sun_esp.c | mericon/Xp_Kernel_LGH850 | gpl-2.0 | 14,400 | 660 | codeparrot/github-code |
062dc917ebab471940b496505a2ae85b5e2335b7167d965eac9bb3c7e3bb4336 | /*
* Copyright 2010 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 | packages/wbsairback-kernel-image/wbsairback-kernel-image-3.2.43/drivers/gpu/drm/nouveau/nv50_pm.c | WhiteBearSolutions/WBSAirback | apache-2.0 | 3,896 | 147 | codeparrot/github-code |
31a3a9bef8e596d742125cf7d98cc7fa19696d4ba3cd14991b873cb9d067d20d | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may n... | Java | tseenliu/FedHDFS-hadoop-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/container/ContainerEvent.java | tseen/Federated-HDFS | apache-2.0 | 1,293 | 39 | codeparrot/github-code |
26b8ba623f016542c4a2843dd27a45e1aec9126ca1dc4b0e822deec9ffd10b1e | <?php
/*
* This file is part of the symfony package.
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
require_once dirname(__FILE__) . '/../../bootstrap/unit.php';
requir... | PHP | www/test/unit/mailer/sfMailerTest.php | voota/voota | mit | 9,031 | 185 | codeparrot/github-code |
4fa17f737ff8fdce273a33be7514bf3b8f2f051b05bc8d96180491c0c44634a8 | // run
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Test simple type switches on basic types.
package main
import "fmt"
const (
a = iota
b
c
d
e
)
var x = []int{1, 2, 3}
func f(x int, len *by... | GO | test/typeswitch1.go | malvira/go | bsd-3-clause | 1,634 | 86 | codeparrot/github-code |
e9f67f905c4bad9bc8899faa5677e8a27b185ccf538538f94613a57202363e9f | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler;
use Symfon... | PHP | vendor_bis/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/TemplatingAssetHelperPass.php | KaberMohamed/Symfony2015 | mit | 1,920 | 67 | codeparrot/github-code |
18573c3cc330a0c0ab1e35948c0b3aa9193a7eb00ed2add85d22ab6478011da7 | <?php
/**
* @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;
/**
* Frontpage View class
*
* @package Joomla.Site
* @subpackage com_content
* @since 1.5
*/
class Content... | PHP | tmp/install_54bd2998c811f/components/com_content/views/featured/view.feed.php | baxri/cvote | gpl-2.0 | 2,982 | 93 | codeparrot/github-code |
9c110c3dfe115bcf05a3ec2f0eb3772665dfc3bc00d4e6d614149544d0e03672 | /*
* IPVS An implementation of the IP virtual server support for the
* LINUX operating system. IPVS is now implemented as a module
* over the Netfilter framework. IPVS can be used to build a
* high-performance and highly available server based on a
* clu... | C | net/netfilter/ipvs/ip_vs_conn.c | abhijeet-dev/ll-arndale-octa | gpl-2.0 | 35,229 | 1,378 | codeparrot/github-code |
4d0335d789e025bffe5246a3114502eee286b96bd0fc4ef86faf2435a6e0ebca | /*
* twl4030_gpio.c -- access to GPIOs on TWL4030/TPS659x0 chips
*
* Copyright (C) 2006-2007 Texas Instruments, Inc.
* Copyright (C) 2006 MontaVista Software, Inc.
*
* Code re-arranged and cleaned up by:
* Syed Mohammed Khasim <x0khasim@ti.com>
*
* Initial Code:
* Andy Lowe / Nishanth Menon
*
* This program... | C | linux-2.6.31/drivers/gpio/twl4030-gpio.c | stevelord/PR30 | gpl-2.0 | 12,665 | 514 | codeparrot/github-code |
3d831a72dcea573750067ebaa0d20777386e48b3f5ef34261304864dcaeb10a3 | // SPDX-License-Identifier: GPL-2.0-or-later
/*
* EP93xx ethernet network device driver
* Copyright (C) 2006 Lennert Buytenhek <buytenh@wantstofly.org>
* Dedicated to Marija Kulikova.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__
#include <linux/dma-mapping.h>
#include <linux/module.h>
#include <lin... | C | linux-5.8/drivers/net/ethernet/cirrus/ep93xx_eth.c | CSE3320/kernel-code | gpl-2.0 | 20,360 | 875 | codeparrot/github-code |
e5243a5723bb7b6ec0e4790b770fa11710fc98ffa37a9021e8912bb4a1588d86 | define(['ModernizrProto'], function(ModernizrProto) {
/**
* Previously, Modernizr.load was an alias for yepnope. Since yepnope was
* deprecated, we removed it as well. It is not available on the website builder,
* this is only included as an improved warning to those who build a custom
* version locally.
... | JavaScript | xpacs/src/main/webapp/bower_components/modernizr/src/load.js | CardiacAtlasProject/CAPServer2.0 | apache-2.0 | 1,544 | 40 | codeparrot/github-code |
9663c9a61d4d7e32f038a6c3011bdd67e40ee2c4d73b9b8fe177472da25dd4d5 | #ifndef _X86_IRQFLAGS_H_
#define _X86_IRQFLAGS_H_
#include <asm/processor-flags.h>
#ifndef __ASSEMBLY__
/*
* Interrupt control:
*/
static inline unsigned long native_save_fl(void)
{
unsigned long flags;
asm volatile("# __raw_save_flags\n\t"
"pushf ; pop %0"
: "=g" (flags)
: /* no input */
... | C | src/l4/pkg/dde/linux26/contrib/arch/x86/include/asm/irqflags.h | MicroTrustRepos/microkernel | gpl-2.0 | 4,014 | 212 | codeparrot/github-code |
118608814babe6fedd9997f8008189e03cc30c2936d7da8a7f7ceaae78df5430 | <?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 | moodle/lib/dml/sqlite3_pdo_moodle_database.php | sameertechworks/wpmoodle | gpl-2.0 | 14,865 | 396 | codeparrot/github-code |
7bececfd25b8e99750eb85ddf3cea20627ddb28bddaea4521774a4297cbbc306 | /*
*
* Copyright (c) 2011, 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 usef... | C | linux/drivers/net/hyperv/hyperv_net.h | EvanHa/rbp | lgpl-3.0 | 31,288 | 1,222 | codeparrot/github-code |
14b60170e846ace153e6e47ad0140b6e74dd98272d6cfd4a7c5f31f3b8d516bb | /********************************************************************
* COPYRIGHT:
* Copyright (c) 1999-2013, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
#if defined(hpux)
# ifndef _INCLUDE_POSIX_SOURCE
# def... | C++ | third_party/icu/source/test/intltest/simplethread.cpp | guorendong/iridium-browser-ubuntu | bsd-3-clause | 12,848 | 483 | codeparrot/github-code |
9960dd8e4dd4420bfacec12cdbadbc8f556815d1e2a9e19395235dc53f37fc8f | /*
* 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/action/TimestampParsingException.java | strahanjen/strahanjen.github.io | bsd-3-clause | 1,855 | 58 | codeparrot/github-code |
48849e7fb94938475077b00dcd2dd74206ea1f6cab17021a612197b4e89b28f8 | /*
* 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 | src/linux/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_modparams.c | systemdaemon/systemd | gpl-2.0 | 8,506 | 231 | codeparrot/github-code |
013d0aa7ed6df78b4a122cfce3d1a48ed06fa936c6946fa3d26be5bdbd79356e | /*
* RTC subsystem, base class
*
* Copyright (C) 2005 Tower Technologies
* Author: Alessandro Zummo <a.zummo@towertech.it>
*
* class skeleton from drivers/hwmon/hwmon.c
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
... | C | src/linux/drivers/rtc/class.c | systemdaemon/systemd | gpl-2.0 | 9,573 | 387 | codeparrot/github-code |
b6fb05b6685cad95428dbf29213e4943f399841c3600939ae3c54e297c02d7f2 | /*! UIkit 2.20.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
(function(UI) {
"use strict";
UI.component('buttonRadio', {
defaults: {
"target": ".uk-button"
},
boot: function() {
// init code
UI.$html.on("click.buttonradio.uikit"... | JavaScript | external/uikit-2.20.1/js/core/button.js | vasild/xctia | bsd-2-clause | 4,112 | 155 | codeparrot/github-code |
4232f18148f09f20fd60cc92ba297a657363b3624bc626745b23ef846b3a9fc4 | <?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 | moodle/mod/quiz/report/attemptsreport.php | ernestovi/ups | gpl-3.0 | 12,663 | 327 | codeparrot/github-code |
22b9e1789b31dcf0858143315c94d07da836ca176157c1d76a1535c45e1d2821 | <?php
namespace Drupal\contact;
use Drupal\Core\Access\AccessResult;
use Drupal\Core\Entity\EntityAccessControlHandler;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Session\AccountInterface;
/**
* Defines the access control handler for the contact form entity type.
*
* @see \Drupal\contact\Entity\Conta... | PHP | web/core/modules/contact/src/ContactFormAccessControlHandler.php | windtrader/drupalvm-d8 | gpl-2.0 | 1,188 | 35 | codeparrot/github-code |
0d1be38d032701544fec86a1120106d889e0c7a2e5922cf2365be4c28dee5246 | // SPDX-License-Identifier: GPL-2.0
/*
* linux/arch/arm/mach-footbridge/isa-timer.c
*
* Copyright (C) 1998 Russell King.
* Copyright (C) 1998 Phil Blundell
*/
#include <linux/clockchips.h>
#include <linux/i8253.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/spinlo... | C | linux-5.8/arch/arm/mach-footbridge/isa-timer.c | CSE3320/kernel-code | gpl-2.0 | 855 | 37 | codeparrot/github-code |
fed6f729ca0d28544a4952015bb5c5045bc67c584687ab73e9c31e4fe17bd712 | /*
* zcrypt 2.1.0
*
* Copyright IBM Corp. 2001, 2012
* Author(s): Robert Burroughs
* Eric Rossman (edrossma@us.ibm.com)
*
* Hotplug & misc device support: Jochen Roehrig (roehrig@de.ibm.com)
* Major cleanup & driver split: Martin Schwidefsky <schwidefsky@de.ibm.com>
* MSGTYPE restruct: Holger D... | C | unionfs-3.10.y/drivers/s390/crypto/zcrypt_msgtype6.h | prasidh09/cse506 | gpl-2.0 | 5,652 | 170 | codeparrot/github-code |
e902b98c0e53f335a08f61810ab5b70fe4231abc980f5c8465c0d65a0d812abb | <?php
/**
* WordPress Customize Nav Menus classes
*
* @package WordPress
* @subpackage Customize
* @since 4.3.0
*/
/**
* Customize Nav Menus class.
*
* Implements menu management in the Customizer.
*
* @since 4.3.0
*
* @see WP_Customize_Manager
*/
final class WP_Customize_Nav_Menus {
/**
* WP_Customi... | PHP | wp_raga10/wp-includes/class-wp-customize-nav-menus.php | pdpfsug/wp_raga10 | agpl-3.0 | 38,055 | 1,065 | codeparrot/github-code |
f2fb879d98717c37b4380107014178cff18c9946cdede3119911297570ff7ad2 | <?php
/*
V5.18 3 Sep 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
Released under both BSD license and Lesser GPL library license.
Whenever there is any discrepancy between the two licenses,
the BSD license will take precedence.
Set tabs to 8.
MySQL code that does not support tran... | PHP | xampp/php/pear/adodb/drivers/adodb-mysqli.inc.php | Dokaponteam/ITF_Project | mit | 33,440 | 1,269 | codeparrot/github-code |
c63543d3a8f3cfbc2ec5ac5d0eab557074cf1d5a1c72539ad268d6dd739272b5 | /*
* IA-32 ELF support.
*
* Copyright (C) 1999 Arun Sharma <arun.sharma@intel.com>
* Copyright (C) 2001 Hewlett-Packard Co
* David Mosberger-Tang <davidm@hpl.hp.com>
*
* 06/16/00 A. Mallick initialize csd/ssd/tssd/cflg for ia32_load_state
* 04/13/01 D. Mosberger dropped saving tssd in ar.k1---it's not needed
*... | C | openplatform/sdk/os/kernel-2.6.32/arch/ia64/ia32/binfmt_elf32.c | go2ev-devteam/Gplus_2159_0801 | gpl-2.0 | 6,913 | 246 | codeparrot/github-code |
6f1d542221ccbe0ef0abe7e255b2be91ca1bd3fbdceb1d9e8a91421c710475ef | // SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2000-2006 Silicon Graphics, Inc.
* All Rights Reserved.
*/
#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_shared.h"
#include "xfs_format.h"
#include "xfs_log_format.h"
#include "xfs_trans_resv.h"
#include "xfs_mount.h"
#include "xfs_inode.h"
#include "xfs_t... | C | fs/xfs/libxfs/xfs_inode_fork.c | rperier/linux | gpl-2.0 | 19,371 | 758 | codeparrot/github-code |
325fe5f99d316e3f55801d071ddcd61d77d21fbf58f07efc21f7de9c352c2fed | /*
* Copyright (c) 2013 Samsung Electronics Co., Ltd.
* Copyright (c) 2013 Linaro Ltd.
* Author: Thomas Abraham <thomas.ab@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Fou... | C | unionfs-3.10.y/drivers/clk/samsung/clk-exynos5250.c | prasidh09/cse506 | gpl-2.0 | 22,424 | 524 | codeparrot/github-code |
1a3b4d637ae4ad7decaff97a0ea0b890165f27f0f91d90631da7cb016df67139 | package com.readytalk.makrut.db.handlers;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import java.sql.ResultSet;
impo... | Java | makrut-db/src/test/java/com/readytalk/makrut/db/handlers/DelegatingSingleResultHandlerTest.java | dclements/makrut | isc | 1,642 | 76 | codeparrot/github-code |
d6145303922b39949a666f8845e0aa609ec77ef8380edee73ca8c7b05b8e57d6 | #!/usr/bin/env python
# vim: set expandtab tabstop=4 shiftwidth=4:
#
# Copyright (c) 2012, Christopher J. Kucera
# 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 c... | Python | pyinveditlib/util.py | apocalyptech/pyinvedit | isc | 5,398 | 141 | codeparrot/github-code |
1f2ca9477e38b22c279e3fc9f8d5138dbd71b0aaba618dc49d85f49018b2fe37 | <html>
<head>
<title>RGB LED Visualizer!!!</title>
<link rel="stylesheet" href="./bower_components/Materialize/dist/css/materialize.min.css">
<link rel="stylesheet" href="./colorpicker/css/colorpicker.css">
</head>
<body>
<div class="container">
<header class="row">
<h1 id="titleHead"></h1>
<p>RGB... | HTML | public/index.html | abdulhannanali/rgb-led-control | isc | 2,859 | 82 | codeparrot/github-code |
4f69c7c093417b97bd78d4241ca811084b290660a529bb57083be1990a02601c | // Copyright (c) 2013-2016 The btcsuite developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.
package main
import (
"fmt"
"os"
"path/filepath"
flags "github.com/jessevdk/go-flags"
"github.com/ltcsuite/ltcd/chaincfg"
"github.com/ltcsuite/ltcd/database"
_ ... | GO | cmd/addblock/config.go | ltcsuite/ltcd | isc | 5,431 | 162 | codeparrot/github-code |
6f5992ae44400fb2ffd02b73f835510bee0febfbf4c4d9c5c6854b69f3979bff | {% extends "constellation_base/base.html" %}
{% block title %}{{ template_settings.organization }} -- View Submission{% endblock %}
{% block head %}
{{ block.super }}
{% load static %}
<link rel="stylesheet" media="screen" href="{% static 'constellation_forms/css/forms.css' %}">
<link rel="stylesheet" media="print" h... | HTML | constellation_forms/templates/constellation_forms/view-submission.html | ConstellationApps/Forms | isc | 9,161 | 167 | codeparrot/github-code |
db7f073664a4081b70b0ac1e3ff566029bd6e158c672e0a178839ab8763da33b | --- For playing with colors.
-- @module Utils.Color
-- @usage local Color = require('__stdlib__/stdlib/utils/color')
local Color = {
__class = 'Color',
__index = require('__stdlib__/stdlib/core')
}
setmetatable(Color, Color)
local metatable
local table = require('__stdlib__/stdlib/utils/table')
local math = r... | Lua | stdlib/utils/color.lua | Afforess/Factorio-Stdlib | isc | 12,784 | 442 | codeparrot/github-code |
c8337c1b79656bfdd07c94be45f4b5f9db9185f1c9ccd04e0f88648ff35ac01a | #include <algorithm>
#include <string>
#include <iostream>
#include <gflags/gflags.h>
#include "macro.h"
#include "parser.h"
DEFINE_string(i, "", "待汇编源文件");
DEFINE_string(o, "a.fec", "汇编结果输出路径");
void logo() {
std::cout << "Fold-Script 汇编器 当前版本: " << VERSION_MAJOR
<< "." << VERSION_MINOR << std::... | C++ | src/fasm/main/main.cpp | Forec/FoldScript | isc | 2,132 | 68 | codeparrot/github-code |
27301f1269686ec6770c56e5e2aa81a14ad5055f3d1a5ea6a2cbd7293c4c681a | /*
* See the file "LICENSE" for the full license governing this code.
*/
package se.liu.ida.nlp.commons.newgraph;
/**
*
* @author Marco Kuhlmann <marco.kuhlmann@liu.se>
*/
public class TestGraph extends AbstractGraph<TestNode, TestEdge> {
private final String id;
public TestGraph(String id) {
super();
thi... | Java | src/main/java/se/liu/ida/nlp/commons/newgraph/TestGraph.java | liu-nlp/commons | isc | 711 | 33 | codeparrot/github-code |
d041f8925a783d9a3312f5eb78334cfa48dcab80339e3879e55f0d45f93e4ab3 | """Low-Level GSSAPI Bindings
The low-level API presents a series of methods designed
to closely mimic the C API presented in RFC 2744 and
associated RFCs.
In this API, classes are simply thin wrappers around C
constructs, and generally lack instance methods. However,
classes will automatically free associated memory... | Python | gssapi/raw/__init__.py | frozencemetery/python-gssapi | isc | 2,895 | 110 | codeparrot/github-code |
66b43c399876b9339fe32f6a31123794f518a784b45c5f01ec3ac0cdc39ce0a8 | var assert = require("chai").assert;
var crossbow = require("../../index");
describe("Adding a partial", function() {
it("Add & update 1 partial", function(done) {
var site = crossbow.builder();
var content = "<p>{{itemTitle}} is rad, {{page.url}}, {{site.title}}</p>";
var content2 ... | JavaScript | test/specs/add.partial.js | Calinou/crossbow | isc | 936 | 31 | codeparrot/github-code |
2b537b22e9c33fce2f6a0097a607b481d7f89919f38d37625cd920af48332690 | /*
Copyright (c) 2012, Enno Rehling <enno@eressea.de>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLA... | C | critbit.c | kaostao/critbit | isc | 9,950 | 354 | codeparrot/github-code |
df19987d417ff89e8b1f40fcedc8291bb2d190f1f15c1c6117d1e4ac81f80354 | package net.scapeemulator.game.model.player.skills.mining;
import java.util.Random;
import static net.scapeemulator.game.model.player.skills.Skill.MINING;
import net.scapeemulator.game.model.World;
import net.scapeemulator.game.model.object.GroundObjectList.GroundObject;
import net.scapeemulator.game.model.player.Ite... | Java | src/net/scapeemulator/game/model/player/skills/mining/MiningAction.java | Killianoc/FYP | isc | 3,987 | 119 | codeparrot/github-code |
f46862e5602c74f658a17ce10c21d8b39a7a5c29a562a906077e90938505f1b4 | /*
A simple and minimal INI-file parser.
Copyright 2017, Michael D. Lowis
Permission to use, copy, modify, and/or distribute this software
for any purpose with or without fee is hereby granted, provided
that the above copyright notice and this permission notice appear
in all copies.
... | C | src/ini.h | mikedlowis/alib | isc | 3,610 | 108 | codeparrot/github-code |
1f1210c0fe4a62eaf726e12afd6ae06a78e66464ead853cef72d2b1826dd29af | /* For a complex interleave AVX vector swap the real and imaginary parts */
#ifndef SWAP_REAL_IMAG_PERMUTE
#define SWAP_REAL_IMAG_PERMUTE 0xB1
#endif
void cmat_mulx_avx_fma_accumulate_nr_c_9_dot_product_length_2 (SAL_cf32 *A[9], /* left input matrix array [nr_c] of pointers to each row */
... | C | mat_mul_fragments/cmat_mulx_avx_fma_accumulate/cmat_mulx_avx_fma_accumulate_nr_c_9_dot_product_length_2.c | Chester-Gillon/AVX_matrix_multiply | isc | 8,188 | 144 | codeparrot/github-code |
b4e4ec62cc5b48b94e71d2eab8091f4727db95e96c66e60f9971c4b655234a1b | // +build linux
package output
import (
"bytes"
"encoding/binary"
"log"
"github.com/mesilliac/pulse-simple"
)
type output struct {
st *pulse.Stream
}
func get(sampleRate, channels int) (Output, error) {
o := new(output)
var err error
ss := pulse.SampleSpec{pulse.SAMPLE_FLOAT32LE, uint32(sampleRate), uint8(... | GO | output/pulse.go | mjibson/mog | isc | 724 | 44 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.