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 |
|---|---|---|---|---|---|---|---|---|
f5f22d54649c6579e2a24d6e86c841aff7869439ac08b67c7cea0dd0b752c206 | /**
* A date picker component which shows a Date Picker on the screen. This class extends from {@link Ext.picker.Picker}
* and {@link Ext.Sheet} so it is a popup.
*
* This component has no required configurations.
*
* ## Examples
*
* @example miniphone preview
* var datePicker = Ext.create('Ext.picker.... | JavaScript | webapp/touch/src/picker/Date.js | appcodechile/Rockola | mit | 12,879 | 469 | codeparrot/github-code |
4f47ddad1a4caf28c2ffdec30cef08b3d609a10af6e9956fb79c86b135b60264 | /*
* Copyright 2009 Jerome Glisse.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy,... | C | drivers3/gpu2/drm/radeon/radeon_ttm.c | NooNameR/k3_bravo | gpl-2.0 | 22,598 | 820 | codeparrot/github-code |
1467e172a5c40c20b2f625ee006616e3106cc3763005748d7fafd5d94b2eba2c | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java | camel-core/src/test/java/org/apache/camel/processor/RedeliveryOnExceptionBlockedDelayTest.java | mohanaraosv/camel | apache-2.0 | 3,369 | 84 | codeparrot/github-code |
e08335616cfd6dc005cce27d90ab1dd34a5063dc778075c29a41e8337213ad59 | /*
YUI 3.16.0 (build 76f0e08)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('router', function (Y, NAME) {
/**
Provides URL-based routing using HTML5 `pushState()` or the location hash.
@module app
@submodule router
@since 3.4.0
**/
var His... | JavaScript | files/yui/3.16.0/router/router.js | vousk/jsdelivr | mit | 59,499 | 1,818 | codeparrot/github-code |
03ee850011952fdb75f26801de66eb88ffd9983c00d31d8548db98ddb48aa7fe | /* SPDX-License-Identifier: GPL-2.0 */
/*
* ATI Frame Buffer Device Driver Core Definitions
*/
#include <linux/spinlock.h>
#include <linux/wait.h>
/*
* Elements of the hardware specific atyfb_par structure
*/
struct crtc {
u32 vxres;
u32 vyres;
u32 xoffset;
u32 yoffset;
u32 bpp;
u32 h_tot_disp... | C | linux-4.14/drivers/video/fbdev/aty/atyfb.h | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 8,971 | 368 | codeparrot/github-code |
0531afb00c66366800c06829e241d57e30b8de521b89a18b3d1d1eb77776655b | <?php
/**
* 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
* Redistributions of files must retain the above copyrig... | PHP | lib/Cake/View/Helper.php | jones139/hdms | gpl-3.0 | 28,454 | 952 | codeparrot/github-code |
60ddbe5d31585a5d56fccd1e986e34d49385293c5dec51cbd2cb9004ddbe4538 | #*********************************************************
#
# Copyright (c) Microsoft. All rights reserved.
# This code is licensed under the MIT License (MIT).
# This code is licensed under the MIT License (MIT).
# THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
# ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
... | PowerShell | archived/StreamSocket/js/server/setupserver.ps1 | oldnewthing/Windows-universal-samples | mit | 3,268 | 92 | codeparrot/github-code |
3a66f15d58a086ec04f60d936ddafe09f09082472d0e4d410e996d25709c00f4 |
// (C) Copyright Edward Diener 2015
// 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).
#if !defined(BOOST_VMD_SEQ_TO_LIST_HPP)
#define BOOST_VMD_SEQ_TO_LIST_HPP
#include <boos... | C++ | thirdparty/sources/boost_1_60_0/boost/vmd/seq/to_list.hpp | gwq5210/litlib | gpl-3.0 | 1,572 | 66 | codeparrot/github-code |
ba4d94e245b786548caf43e1c3f1a6ee7725a7d351039daaedce7d8dedd82391 | /*
* User level driver support for input subsystem
*
* Heavily based on evdev.c by Vojtech Pavlik
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
*... | C | linux/drivers/input/misc/uinput.c | mkvdv/au-linux-kernel-autumn-2017 | gpl-3.0 | 23,650 | 1,033 | codeparrot/github-code |
71ffe469e4ece0e7cf78de13fec66c6fca078bef5ecb111dff2044731e100973 | <?php
/**
* SimplePie
*
* A PHP-Based RSS and Atom Feed Framework.
* Takes the hard work out of managing a complete RSS/Atom solution.
*
* Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or w... | PHP | zzz wp-includes ORIG/SimplePie/Sanitize.php | gdombchik/nabcacatholic | gpl-2.0 | 15,698 | 555 | codeparrot/github-code |
194aec0f1c37bcba05c76baa67f05c29180d926b5a72a21a092c0f1386dcc6c4 | /*
* CPU subsystem support
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/cpu.h>
#include <linux/topology.h>
#include <linux/device.h>
#include <linux/node.h>
#include <linux/gfp.h>
#include <linux/slab.h>
#include <linux/percpu.h>
#include <li... | C | linux/drivers/base/cpu.c | dperezde/little-penguin | gpl-2.0 | 12,138 | 509 | codeparrot/github-code |
a6b93f79005a856fc0fac2e45ded135823eca2d4e03c739efcfcd31c9342b382 | /* include/linux/msm_audio.h
*
* Copyright (C) 2008 Google, 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 program is distributed in the hop... | C | include/linux/msm_audio.h | Renzo-Olivares/BAMF_android_kernel_htc_msm8660 | gpl-2.0 | 10,911 | 358 | codeparrot/github-code |
1810251255e5b97d50527594a185eeace0606a0ff7f5f1d7870d7fa7a64a6108 | var hat = require('../');
var assert = require('assert');
exports.rack = function () {
var rack = hat.rack(4);
var seen = {};
for (var i = 0; i < 8; i++) {
var id = rack();
assert.ok(!seen[id], 'seen this id');
seen[id] = true;
assert.ok(id.match(/^[0-9a-f]$/));
... | JavaScript | widget/assets/draw/hat/test/rack.js | hendrikusR/open-layer | bsd-3-clause | 1,569 | 63 | codeparrot/github-code |
46a98c88828091f1369ce416bdea3ae58d5d63318de613996225c97ba3dc5db6 | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java | camel-core/src/test/java/org/apache/camel/processor/RemoveHeadersTest.java | coderczp/camel | apache-2.0 | 3,108 | 80 | codeparrot/github-code |
0f7d5e40385fb9c95009d57a5f4eafd6cdef4a34e1ee0903ed00cf88d895c89f | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java | camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateControllerTest.java | CandleCandle/camel | apache-2.0 | 4,309 | 109 | codeparrot/github-code |
cf6581c17d1628adea7267165015753edf300c550ecc83535e55d89996e3aae4 | /*
* Copyright (C) 2000 Harri Porten (porten@kde.org)
* Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reseved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Fo... | C | src/qt/qtwebkit/Source/WebCore/bindings/js/JSDOMWindowBase.h | Observer-Wu/phantomjs | bsd-3-clause | 3,136 | 91 | codeparrot/github-code |
5908a40e8cdc2b2e5859bddd800335387c9fed5e118d4d2a9dfd2be46a40980b | /* 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 | drivers/media/video/msm_zsl/gemini/msm_gemini_dev.c | sgs3/SGH-T999V_Kernel | gpl-2.0 | 5,006 | 208 | codeparrot/github-code |
bac63af0c3b05d5bad23dea0443f8644bcf338fdbcc08476d59e1e9cdeafd969 | #!/usr/bin/env python
#
# Ansible 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.
#
# Ansible is distributed in the hope that it will b... | Python | test/integration/targets/vault/faux-editor.py | EvanK/ansible | gpl-3.0 | 1,212 | 45 | codeparrot/github-code |
a3b5b1674afcb334438e188668cd617590fcd3a80186ef94f9146c75b7e301a2 | /**
* 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"); yo... | Java | components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatTest.java | YMartsynkevych/camel | apache-2.0 | 8,709 | 203 | codeparrot/github-code |
e30b585d08690dbd9e3ab6cb1d49fe3730d7fcde8f1329d3f6749a21d1bb3e4d | /*
* Copyright (c) 2000-2005 Silicon Graphics, 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 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it would be ... | C | virt/fs/xfs/xfs_fsops.c | JijonHyuni/HyperKernel-JB | gpl-2.0 | 19,130 | 672 | codeparrot/github-code |
6374db752968aee8dfd307ad43958e1f9cfe9ceb1a828540785fe261812b01c0 | /*****************************************************************************
Copyright(c) 2012 FCI Inc. All Rights Reserved
File name : fc8150_tun.c (BGA & QFN)
Description : fc8150 tuner driver
History :
----------------------------------------------------------------------
2012/01/20 initial ... | C | drivers/broadcast/oneseg/fc8150/drv/fc8150_tun.c | jokersax/lgogsprint3.4kernel | gpl-2.0 | 15,794 | 543 | codeparrot/github-code |
4bec675e521725c2c1c98e62be1d5794ba9fcd30711fef28c1cf5bf9a8786983 | /*
* Copyright (c) 2015-present, 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.
*/
package com... | Java | fbcore/src/main/java/com/facebook/datasource/BaseDataSubscriber.java | ppamorim/fresco | bsd-3-clause | 1,838 | 72 | codeparrot/github-code |
60bcabc74beba63921c32040354c8737c7fcf2c60cc4b6ab19688a29c13a04e3 | /**************************************************************************
*
* Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"... | C | linux-3.1.9/drivers/gpu/drm/ttm/ttm_bo.c | sahdman/rpi_android_kernel | mit | 47,176 | 1,892 | codeparrot/github-code |
1d6254a6092714e0fe86e509e63501b92d628aae5a65b7f83f20b27c548f7566 | '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_luo.js | okboy5555/demo | apache-2.0 | 2,946 | 144 | codeparrot/github-code |
e5dbd4bf0c171fa46c80f0f96e72854d6e7b0e9bf55d22bc8befef218d997a43 | /*
* Copyright (C) 2009,2010,2011,2012 Samuel Audet
*
* This file is part of JavaCV.
*
* JavaCV 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) an... | Java | src/main/java/com/googlecode/javacv/ProCamTransformer.java | JanesR/javacv | gpl-2.0 | 23,990 | 582 | codeparrot/github-code |
fbaa71f8379daf94c1035f2429835d448327a232bf2cc6ebff7de498de4f3a76 | // SPDX-License-Identifier: GPL-2.0
#include <linux/bug.h>
#include <linux/kernel.h>
#include <linux/bitops.h>
#include <linux/math64.h>
#include <linux/log2.h>
#include <linux/err.h>
#include <linux/module.h>
#include "qcom-vadc-common.h"
/* Voltage to temperature */
static const struct vadc_map_pt adcmap_100k_104ef... | C | linux-5.4/drivers/iio/adc/qcom-vadc-common.c | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 10,376 | 415 | codeparrot/github-code |
c9bf54d7bde6168badfecb8116404639e53ce401645c6b9841dd3e258e517057 | /**
* 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-jaxb/src/test/java/org/apache/camel/example/Bar.java | CandleCandle/camel | apache-2.0 | 1,514 | 53 | codeparrot/github-code |
70f8d5ee556e86aa1ff70133911e9a2924e98217170b7fc33e74d20e5b0a8421 | /******************************************************************************
*
* Copyright(c) 2009-2014 Realtek Corporation.
*
* 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 Foundati... | C | linux-4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.h | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 2,911 | 64 | codeparrot/github-code |
c802e3259c4ff82aedc2a2bf767e19298a3861fcd9045f114a77e6b3300485c1 | <?php
/**
* Social Login
*
* @version 1.0
* @author SmokerMan, Arkadiy, Joomline
* @copyright © 2012. All rights reserved.
* @license GNU/GPL v.3 or later.
*/
// защита от прямого доступа
defined('_JEXEC') or die('@-_-@');
jimport('joomla.form.formfield');
class JFormFieldCallbackUrl extends... | PHP | tmp/install_5680f69da1732/install_5680f6ad8ef2b/element/callbackurl.php | IYEO/Sweettaste | gpl-2.0 | 1,261 | 48 | codeparrot/github-code |
2a0ba9c10a035e0c87b9e0aed16131be58a950e4da591b78218154a6e0111567 | /*******************************************************************************
Intel PRO/10GbE Linux driver
Copyright(c) 1999 - 2008 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 pu... | C | linux-3.1.9/drivers/net/ixgb/ixgb_ee.c | sahdman/rpi_android_kernel | mit | 17,529 | 608 | codeparrot/github-code |
c37f13ed87d17348acb85e6a99ac3eeb0390807c7dc461c906abbf803a9009d2 | # $Id: admonitions.py 7681 2013-07-12 07:52:27Z milde $
# Author: David Goodger <goodger@python.org>
# Copyright: This module has been placed in the public domain.
"""
Admonition directives.
"""
__docformat__ = 'reStructuredText'
from docutils.parsers.rst import Directive
from docutils.parsers.rst import states, di... | Python | windows/Python27/Lib/site-packages/docutils/parsers/rst/directives/admonitions.py | JulienMcJay/eclock | gpl-2.0 | 2,413 | 100 | codeparrot/github-code |
97b4b1151331518ea9b7d559951961eb6e63ccc91da66a1800272acf88a9e2c2 | /*
* Some debug functions
*
* MIPS floating point support
*
* Copyright (C) 1994-2000 Algorithmics Ltd.
* http://www.algor.co.uk
*
* This program is free software; you can distribute it and/or modify it
* under the terms of the GNU General Public License (Version 2) as
* published by the Free Software Foun... | C | release/src-rt-7.x.main/src/linux/linux-2.6.36/arch/mips/math-emu/ieee754d.c | wkritzinger/asuswrt-merlin | gpl-2.0 | 3,765 | 138 | codeparrot/github-code |
140feca07f34a812a50bd0d1a97df25ae6f5de9b006a5c4469abb852c21a68f5 | /*
* linux/arch/arm/mach-omap2/board-omap3evm.c
*
* Copyright (C) 2008 Texas Instruments
*
* Modified from mach-omap2/board-3430sdp.c
*
* Initial code: Syed Mohammed Khasim
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2... | C | release/src-rt-7.x.main/src/linux/linux-2.6.36/arch/arm/mach-omap2/board-omap3evm.c | wkritzinger/asuswrt-merlin | gpl-2.0 | 18,128 | 726 | codeparrot/github-code |
bef2b93efbd34ef312f3d3cda819a6bb2165a524dfea24ef7ce720d0c4e9f8dc | /* 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 not... | Java | backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/DirectReadWriteFloatBufferAdapter.java | nelsonsilva/libgdx | apache-2.0 | 4,412 | 163 | codeparrot/github-code |
056b6e99bb1a48273347b65f1a6805db6e1aa200ac286c56d9935fc8dc7d77d0 | /**
* @module Ink.UI.DatePicker_1
* @version 1
* Date selector
*/
Ink.createModule('Ink.UI.DatePicker', '1', ['Ink.UI.Common_1','Ink.Dom.Event_1','Ink.Dom.Css_1','Ink.Dom.Element_1','Ink.Dom.Selector_1','Ink.Util.Array_1','Ink.Util.Date_1', 'Ink.Dom.Browser_1'], function(Common, Event, Css, InkElement, Selector, I... | JavaScript | files/ink/3.0.0/js/ink.datepicker.js | siscia/jsdelivr | mit | 52,603 | 1,414 | codeparrot/github-code |
9d3f799914581b6e6c24aa00a25a9c125b19c2ce63a60a36f99d164783eb0fb6 | /* Byte-wise substring search, using the Two-Way algorithm.
* Copyright (C) 2008 Eric Blake
* Permission to use, copy, modify, and distribute this software
* is freely granted, provided that this notice is preserved.
*/
/*
FUNCTION
<<memmem>>---find memory segment
INDEX
memmem
ANSI_SYNOPSIS
#include <string.h... | C | userland/newlib/newlib/libc/string/memmem.c | GarethNelson/Zoidberg | gpl-2.0 | 3,117 | 103 | codeparrot/github-code |
13c65cb81cf99d5108dc7e4dc260d99caa762e9010895df4c9765d0338c8ee5d | /*
* linux/arch/arm/mach-at91/gpio.c
*
* Copyright (C) 2005 HP Labs
*
* 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 later ver... | C | arch/arm/mach-at91/gpio.c | ystk/linux-poky-debian | gpl-2.0 | 28,199 | 1,102 | codeparrot/github-code |
fa6df7d323ea235aef08df833c783e82f71e17c99e78b6f07e636e1cc37f8102 | ! { dg-do compile }
! This tests the fix for PR28735 in which an ICE would be triggered in resolve_ref
! because the references to 'a' and 'b' in the dummy arguments of mysub have
! no symtrees in module bar, being private there.
!
! Contributed by Andrew Sampson <adsspamtrap01@yahoo.com>
!
!-- foo.F ----------------... | FORTRAN | source/gcc-latest/gcc/testsuite/gfortran.dg/module_private_array_refs_1.f90 | selmentdev/selment-toolchain | gpl-3.0 | 1,240 | 51 | codeparrot/github-code |
7470163c670e308d33f7d8c76b555e55bacd4ff812c907f9e233f0dc6d24b1a1 | /*
* 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-ptp.c | systemdaemon/systemd | gpl-2.0 | 10,239 | 279 | codeparrot/github-code |
dd724557ddccdacc40798b9e3f4c6a75c988b76cc226b4ab769e0bbcf06d99ef | /*
* Generic helpers for smp ipi calls
*
* (C) Jens Axboe <jens.axboe@oracle.com> 2008
*/
#include <linux/rcupdate.h>
#include <linux/rculist.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/percpu.h>
#include <linux/init.h>
#include <linux/gfp.h>
#include <linux/smp.h>
#include <linux/cpu.h>
... | C | ulinux/linux-3.10.61/kernel/smp.c | wurikiji/ttFS | gpl-2.0 | 18,706 | 690 | codeparrot/github-code |
f39d12539475d80b30899641ee2616ad82e7eae3d2dc64f99e241721fb603e67 | <?php
/**
* WordPress CRON API
*
* @package WordPress
*/
/**
* Schedules a hook to run only once.
*
* Schedules a hook which will be executed once by the WordPress actions core at
* a time which you specify. The action will fire off when someone visits your
* WordPress site, if the schedule time has passed.
... | PHP | wp-includes/cron.php | andres-torres-marroquin/casa-camila | gpl-2.0 | 12,428 | 410 | codeparrot/github-code |
62666f789568489f2c3540600ea4fde9b920aae0fc161f976d857564e4913e56 | /*
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 | cmd/kube-proxy/proxy.go | StevenLudwig/kubernetes | apache-2.0 | 1,176 | 52 | codeparrot/github-code |
ef8794ea97ab2d2a62213ca9b575a4c699c91216da429e6160bff475d7cbdd3a | /*
* File: pn_dev.c
*
* Phonet network device
*
* Copyright (C) 2008 Nokia Corporation.
*
* Contact: Remi Denis-Courmont <remi.denis-courmont@nokia.com>
* Original author: Sakari Ailus <sakari.ailus@nokia.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of th... | C | src/net/phonet/pn_dev.c | felixhaedicke/nst-kernel | gpl-2.0 | 5,080 | 211 | codeparrot/github-code |
1c5f69a5190cabbc6c5be440ece74270c5a9ddc182de997da3f338c4e2970505 | /*
* ext4_jbd2.h
*
* Written by Stephen C. Tweedie <sct@redhat.com>, 1999
*
* Copyright 1998--1999 Red Hat corp --- All Rights Reserved
*
* This file is part of the Linux kernel and is made available under
* the terms of the GNU General Public License, version 2, or at your
* option, any later version, incorpo... | C | fs/ext4/ext4_jbd2.h | manumanfred/kernel_omap | gpl-2.0 | 11,110 | 335 | codeparrot/github-code |
736c6c0a19bd60ac51d2fc35455db6320f0c8b6451403373a9a3c3be68d82efa | /*
* Copyright (C) 2009-2010 Freescale Semiconductor, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any... | C | linux-eudyptula/drivers/irqchip/irq-mxs.c | dperezde/little-penguin | gpl-2.0 | 3,400 | 116 | codeparrot/github-code |
7e44637af272a36bae9652462f378c25d4b5ab71993fac7f3fd5e86616481a72 | #include "reiserfs.h"
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/pagemap.h>
#include <linux/xattr.h>
#include <linux/slab.h>
#include "xattr.h"
#include <linux/security.h>
#include <asm/uaccess.h>
static int
security_get(struct dentry *dentry, const char *name, void *buffer, size_t size,
int hand... | C | virt/fs/reiserfs/xattr_security.c | talnoah/android_kernel_htc_dlx | gpl-2.0 | 3,005 | 121 | codeparrot/github-code |
f67a9b5506661ff7a3e479412425cbe1f39436c34b0136e915fbfcb8d8e31f7c | /* rc-main.c - Remote Controller core module
*
* Copyright (C) 2009-2010 by Mauro Carvalho Chehab <mchehab@redhat.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 version 2 of the L... | C | drivers/media/rc/rc-main.c | kularny/GeniSys.Kernel | gpl-2.0 | 31,186 | 1,192 | codeparrot/github-code |
9c7f864c0982e768827bd639c4b6f1188e1631cc69a3058865fc1f64ae0cf173 | /*!
* jQuery Cycle Plugin (with Transition Definitions)
* Examples and documentation at: http://jquery.malsup.com/cycle/
* Copyright (c) 2007-2013 M. Alsup
* Version: 3.0.3 (11-JUL-2013)
* Dual licensed under the MIT and GPL licenses.
* http://jquery.malsup.com/license.html
* Requires: jQuery v1.7.1 or later
*/... | JavaScript | wp-content/themes/simple-catch/js/jquery.cycle.all.js | delfintrinidadIV/firstproject | gpl-2.0 | 52,026 | 1,543 | codeparrot/github-code |
2f90abb8b689ed8dc6d06e943798eaaeb673120196221bbd53180cd73f3b79b9 |
#ifndef BOOST_MPL_LOWER_BOUND_HPP_INCLUDED
#define BOOST_MPL_LOWER_BOUND_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2001-2004
//
// 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/... | C++ | xray/SDK/include/boost/mpl/lower_bound.hpp | hpl1nk/nonamegame | gpl-3.0 | 3,713 | 144 | codeparrot/github-code |
b4d4b2396e6908b10fae0e0dcdc38f50f301dcf630b6ca4cd446670b3989d204 | /**
* @license AngularJS v1.0.6
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
/**
* @ngdoc overview
* @name ngResource
* @description
*/
/**
* @ngdoc object
* @name ngResource.$resource
* @requires $http
*
* @description
* A fac... | JavaScript | web/jocs/components/angular-resource/angular-resource.js | bacardi55/b-55-log | mit | 17,147 | 458 | codeparrot/github-code |
1b858d40b1f4b97ee2015af5251076a22e329ed7e703d8679971152103493994 | /*
* CoreChip-sz SR9700 one chip USB 1.1 Ethernet Devices
*
* Author : Liu Junliang <liujunliang_ljl@163.com>
*
* Based on dm9601.c
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or i... | C | drivers/net/usb/sr9700.c | mpe/powerpc | gpl-2.0 | 13,255 | 559 | codeparrot/github-code |
3246299c34ef5d150dc74489eb11df909925b7c0d9383c15df4e07940cd9704d | /*
* linux/arch/sh/boards/magicpanel/setup.c
*
* Copyright (C) 2007 Markus Brunner, Mark Jonas
*
* Magic Panel Release 2 board setup
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/... | C | virt/arch/sh/boards/board-magicpanelr2.c | talnoah/android_kernel_htc_dlx | gpl-2.0 | 10,719 | 383 | codeparrot/github-code |
385d21bb6eed193fc779182313e666f3c091341fe1bf4e9f16a3eea9e3d5e015 | import { Duration, isDuration } from './constructor';
import toInt from '../utils/to-int';
import hasOwnProp from '../utils/has-own-prop';
import { DATE, HOUR, MINUTE, SECOND, MILLISECOND } from '../units/constants';
import { cloneWithOffset } from '../units/offset';
import { createLocal } from '../create/local';
// A... | JavaScript | wwwroot/assets/js/moment/src/lib/duration/create.js | krasnyuk/e-liquid-MS | mit | 3,948 | 119 | codeparrot/github-code |
a30bc988d40e1468c86d787872c2b5ef2b146987cb6de59a1a5ead6d86c5fa73 | /*
* Linux Guest Relocation (LGR) detection
*
* Copyright IBM Corp. 2012
* Author(s): Michael Holzheu <holzheu@linux.vnet.ibm.com>
*/
#include <linux/init.h>
#include <linux/export.h>
#include <linux/timer.h>
#include <linux/slab.h>
#include <asm/facility.h>
#include <asm/sysinfo.h>
#include <asm/ebcdic.h>
#inclu... | C | linux/arch/s390/kernel/lgr.c | eabatalov/au-linux-kernel-autumn-2017 | gpl-3.0 | 4,365 | 188 | codeparrot/github-code |
1a7753d5ef72b1e33c19f63736af198a9426303701ee653ed315e682eab232bf | /*
* Copyright (C) 2004 IBM Corporation
*
* Author: Serge Hallyn <serue@us.ibm.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, version 2 of the
* License.
*/
#include <lin... | C | linux/kernel/utsname.c | mkvdv/au-linux-kernel-autumn-2017 | gpl-3.0 | 3,695 | 172 | codeparrot/github-code |
57db8addd73d47152f0675f0ef45fd0dbe02d9ab609a0b3ff4d8533dbd471ce2 | /* jshint -W100 */
/* jslint maxlen: 86 */
define(function () {
// Farsi (Persian)
return {
errorLoading: function () {
return 'امکان بارگذاری نتایج وجود ندارد.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'لطفاً ' + overChars + ... | JavaScript | wwwroot/assets/js/select2/src/js/select2/i18n/fa.js | krasnyuk/e-liquid-MS | mit | 981 | 39 | codeparrot/github-code |
a4c2130e39b8dbd5dd67a1b0fe4e8e453abe729927cb7290ad8828b61c641c3b | /*
* Support for IDE interfaces on Celleb platform
*
* (C) Copyright 2006 TOSHIBA CORPORATION
*
* This code is based on drivers/ide/pci/siimage.c:
* Copyright (C) 2001-2002 Andre Hedrick <andre@linux-ide.org>
* Copyright (C) 2003 Red Hat
*
* This program is free software; you can redistribute it and/or modify... | C | virt/drivers/ide/scc_pata.c | mericon/Xp_Kernel_LGH850 | gpl-2.0 | 22,450 | 888 | codeparrot/github-code |
efee232649230b4815c40d681fdb370f98069a22d3367fa229bb2908a7e8d851 | /*
* 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/filesystem/MusicDatabaseDirectory/DirectoryNodeAlbumCompilations.cpp | joethefox/xbmc | gpl-2.0 | 1,817 | 66 | codeparrot/github-code |
976190e64490ea7efa2e9bfe17bcae15461634a567fe98baacbb34e00baad275 | /**
* 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-common-project/hadoop-nfs/src/main/java/org/apache/hadoop/oncrpc/RpcMessage.java | tseen/Federated-HDFS | apache-2.0 | 2,009 | 70 | codeparrot/github-code |
6cc2b63b7741b9c0b4ad300a299b392f0a22c4e5a64443f330d9374d57e3b5a6 | /* This file is part of the program psim.
Copyright (C) 1994-1996, Andrew Cagney <cagney@highland.com.au>
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 3 of... | C | sim/ppc/hw_pal.c | zxombie/aarch64-freebsd-binutils | gpl-2.0 | 9,416 | 366 | codeparrot/github-code |
1c50c1939ce532222343cb3ccaafc2545e0c8a1245c6701116e41b9deb10a5d7 | /******************************************************************************
*
* Name: acresrc.h - Resource Manager function prototypes
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2011, Intel Corp.
* All rights reserved.
*
* Redistribution and u... | C | virt/drivers/acpi/acpica/acresrc.h | JijonHyuni/HyperKernel-JB | gpl-2.0 | 11,064 | 337 | codeparrot/github-code |
90efcf397a25d51e639709dfeb549017709eef36e213abc17cd8514afa99c6ee | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
namespace System.Threading.Tasks
{
... | C# | src/System.Runtime.WindowsRuntime/src/System/Threading/Tasks/ExceptionDispatchHelper.cs | krytarowski/corefx | mit | 1,835 | 57 | codeparrot/github-code |
df4721bed36a2b680b27c5e487082c7549fdaea2e5d52078d597304d524e019a | /*
* linux/arch/arm/mm/dma-mapping.c
*
* Copyright (C) 2000-2004 Russell King
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* DMA uncached mapping support.
*/
#inclu... | C | kernel/arch/arm/mm/dma-mapping.c | keeeener/nicki | gpl-2.0 | 46,012 | 1,752 | codeparrot/github-code |
cca0c83155edee3eeac37c0270945a4f118c0670db2294f5532c0df85330cad9 | /*
* Author(s)......: Horst Hummel <Horst.Hummel@de.ibm.com>
* Holger Smolinski <Holger.Smolinski@de.ibm.com>
* Bugreports.to..: <Linux390@de.ibm.com>
* Copyright IBM Corp. 2000, 2001
*
*/
#define KMSG_COMPONENT "dasd-eckd"
#include <linux/timer.h>
#include <asm/idals.h>
#define PRINTK_HEADER "dasd_er... | C | oss/linux/linux-4.7/drivers/s390/block/dasd_3990_erp.c | geminy/aidear | gpl-3.0 | 70,793 | 2,784 | codeparrot/github-code |
60df61a04b1764d45c901b76325d841bfab832ebf21ae34524e176e0f75152bf | /*
* Copyright (C) 2001 Matthew Wilcox <willy at parisc-linux.org>
* Copyright (C) 2003 Carlos O'Donell <carlos at parisc-linux.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 F... | C | virt/arch/parisc/kernel/signal32.h | talnoah/android_kernel_htc_dlx | gpl-2.0 | 6,372 | 167 | codeparrot/github-code |
352a1726a3f36b1fff4b6dd8d0d8228eac98b39b3fbd35ef45fa462eac151a3b | //------------------------------------------------------------------------------
// <copyright file="bmi.c" company="Atheros">
// Copyright (c) 2004-2010 Atheros Corporation. All rights reserved.
//
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is her... | C | drivers/stagings/ath6kl/bmi/src/bmi.c | sktjdgns1189/android_kernel_samsung_SHW-M340S | gpl-2.0 | 33,537 | 1,011 | codeparrot/github-code |
fd7f81f5941362c2c7183bb4a3206ea8d535121ddea4f16a3f918cb7d7c1561b | /*
* Copyright (c) 2010-2011 Atheros Communications Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... | C | unionfs-3.10.y/drivers/net/wireless/ath/ath9k/htc_drv_init.c | prasidh09/cse506 | gpl-2.0 | 26,608 | 1,009 | codeparrot/github-code |
d3999b62f75d8588efe6453c6c23e6f0231c7d1da5e30d1206a52cebacfbebff | // MESSAGE RADIO_STATUS PACKING
#define MAVLINK_MSG_ID_RADIO_STATUS 109
typedef struct __mavlink_radio_status_t
{
uint16_t rxerrors; ///< Receive errors
uint16_t fixed; ///< Count of error corrected packets
uint8_t rssi; ///< Local signal strength
uint8_t remrssi; ///< Remote signal strength
uint8_t txbuf; ///< ... | C | thirdparty/mavlink/mavlink/common/mavlink_msg_radio_status.h | CPB9/mcc | mpl-2.0 | 12,984 | 354 | codeparrot/github-code |
b2fb0e18b958b3da51e823234fab701c8fe43c45597c647175139ce6a3ef39b3 | /*
TwoWire.cpp - TWI/I2C library for Wiring & Arduino
Copyright (c) 2006 Nicholas Zambetti. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 ... | C++ | zap-2.3.0-windows/papilio-zap-ide/hardware/arduino/avr/libraries/Wire/Wire.cpp | chcbaram/FPGA | mit | 7,532 | 299 | codeparrot/github-code |
4073ce7e22abb5d647953f4bb8da001b4d1f3ba1b2de3439adf6e11648ba0292 | //! moment.js locale configuration
//! locale : belarusian (be)
//! author : Dmitry Demidov : https://github.com/demidov91
//! author: Praleska: http://praleska.pro/
//! Author : Menelion Elensúle : https://github.com/Oire
import moment from '../moment';
function plural(word, num) {
var forms = word.split('_');
... | JavaScript | 新建文件夹/material_admin_v-1.5-2/Template/jquery/vendors/bower_components/moment/src/locale/be.js | LilShy/test | apache-2.0 | 4,525 | 139 | codeparrot/github-code |
f3b707904a195dbebf84cdbaba58a0af637ff64f5f6780ac2e116085d1730538 | #ifndef __ARCH_MACH_COMMON_H
#define __ARCH_MACH_COMMON_H
extern struct sys_timer shmobile_timer;
extern void shmobile_setup_console(void);
struct clk;
extern int clk_init(void);
extern void sh7367_init_irq(void);
extern void sh7367_add_early_devices(void);
extern void sh7367_add_standard_devices(void);
extern void s... | C | release/src-rt-7.x.main/src/linux/linux-2.6.36/arch/arm/mach-shmobile/include/mach/common.h | wkritzinger/asuswrt-merlin | gpl-2.0 | 1,045 | 34 | codeparrot/github-code |
ebd44461693f19d6caba89566a968add9769f21cfdffcbd48effecb43014229a | // Copyright 2013 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.
package main
import (
"go/ast"
"go/parser"
"go/token"
"os"
"path"
"runtime"
"strings"
)
func isGoFile(dir os.FileInfo) bool {
return !dir.IsDir() &&
... | GO | test/stress/parsego.go | shishkander/go | bsd-3-clause | 4,212 | 221 | codeparrot/github-code |
055647f4bee2025af25aa9aa8ee8fdcb03a6abf6d39bc4f8582f817fca5e011e | <?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
*/
// No direct access.
defined('_JEXEC') or die;
jimport('joomla.application.component.modellist');
/**
* Messages Component Messages Model
... | PHP | tmp/install_54bd2998c811f/administrator/components/com_messages/models/messages.php | baxri/cvote | gpl-2.0 | 3,562 | 138 | codeparrot/github-code |
c5cec2e10d09507f9a7545ecbfee618d61068acc255f9f5fea0f23cba7adf251 | <?php
/**
* @package Joomla.Site
* @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;
jimport('joomla.application.categories');
/**
* Build the route for the com_contact comp... | PHP | tmp/install_54bd2998c811f/components/com_contact/router.php | baxri/cvote | gpl-2.0 | 4,706 | 190 | codeparrot/github-code |
9edef7ddaac9dc53fd07eddf574ceceac0261dfe154c0410151fa3c5af16849a | /*
* Copyright(c) 2006, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but ... | C | virt/arch/arm/mach-iop13xx/include/mach/adma.h | talnoah/android_kernel_htc_dlx | gpl-2.0 | 17,035 | 648 | codeparrot/github-code |
7a634f41cd4b586bc5ac348952527a98999d53fa114104657d69ab6b9ef57101 | /*
* 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/main/java/org/elasticsearch/index/analysis/DelimitedPayloadTokenFilterFactory.java | mkis-/elasticsearch | apache-2.0 | 2,762 | 76 | codeparrot/github-code |
2940b0a4ef97434615436491ac5f42da6ec070b58a7e77ac4d7a837512424efa | require "language/java"
class JavaRequirement < Requirement
fatal true
cask "java"
download "http://www.oracle.com/technetwork/java/javase/downloads/index.html"
satisfy :build_env => false do
args = %w[--failfast]
args << "--version" << "#{@version}" if @version
@java_home = Utils.popen_read("/usr... | Ruby | fetched_code/ruby/java_requirement.rb | rokn/Count_Words_2015 | mit | 1,171 | 44 | codeparrot/github-code |
cb0a6df0c23f4c282c003f424887120469d9e1cd9e99682d32359a28d830220c | /*
* linux/drivers/i2c/chips/twl4030-power.c
*
* Handle TWL4030 Power initialization
*
* Copyright (C) 2008 Nokia Corporation
* Copyright (C) 2006 Texas Instruments, Inc
*
* Written by Kalle Jokiniemi
* Peter De Schrijver <peter.de-schrijver@nokia.com>
* Several fixes by Amit Kucheria <amit.kucheria@verdure... | C | src/linux/drivers/mfd/twl4030-power.c | systemdaemon/systemd | gpl-2.0 | 25,688 | 949 | codeparrot/github-code |
4407c0a049619769d8e5b649a76a0b6cf903d0e6be15df32db1844056d93dec7 | /* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */
/* Authors: Bernard Metzler <bmt@zurich.ibm.com> */
/* Copyright (c) 2008-2019, IBM Corporation */
#ifndef _SIW_MEM_H
#define _SIW_MEM_H
struct siw_umem *siw_umem_get(u64 start, u64 len, bool writable);
void siw_umem_release(struct siw_umem *umem, bool dirty);
s... | C | linux-5.8/drivers/infiniband/sw/siw/siw_mem.h | CSE3320/kernel-code | gpl-2.0 | 2,260 | 75 | codeparrot/github-code |
470901da3ce4bf018cedebd0727afc8ffdb7868a474d43d0a2fa0aed5478c15a | /*
* Driver for ESS Solo-1 (ES1938, ES1946, ES1969) soundcard
* Copyright (c) by Jaromir Koutek <miri@punknet.cz>,
* Jaroslav Kysela <perex@perex.cz>,
* Thomas Sailer <sailer@ife.ee.ethz.ch>,
* Abramo Bagnara <abramo@alsa-project.org>,
* Ma... | C | virt/sound/pci/es1938.c | AiJiaZone/linux-4.0 | gpl-2.0 | 55,936 | 1,867 | codeparrot/github-code |
f5e2b107c481d457eb206390174ac9330f812bc3c22c509f8e3aa0a69e122c13 | -- Vazruden the herald
DELETE FROM `creature_text` WHERE `entry`=17307;
INSERT INTO `creature_text`(`entry`,`groupid`,`id`,`type`,`probability`,`sound`,`comment`,`text`) VALUES
(17307,0,0,14,100,10292,"vazruden the herald SAY_INTRO","You have faced many challenges, pity they were all in vain. Soon your people will knee... | SQL | sql/updates/worldacc/2012_12_18_01_world_creature_text.sql | ralph93/ShuriCore | gpl-2.0 | 5,153 | 76 | codeparrot/github-code |
48b676ee4ce36b9eab95910afd2c5842a12a1d1b07463920bccff262445eab22 | /* Getopt for GNU.
NOTE: getopt is now part of the C library, so if you don't know what
"Keep this file name-space clean" means, talk to roland@gnu.ai.mit.edu
before changing it!
Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97
Free Software Foundation, Inc.
This file is part of the GNU C ... | C | msvc/contrib/getopt.c | freedesktop-unofficial-mirror/gstreamer-sdk__libdvdnav | gpl-2.0 | 28,567 | 1,010 | codeparrot/github-code |
0e86eb67af48f72a59949b6925e91136534843db8d219e5e08f2f71d41b2f2db | (function() {
"use strict";
var WORD = /[\w$]+/, RANGE = 500;
CodeMirror.registerHelper("hint", "anyword", function(editor, options) {
var word = options && options.word || WORD;
var range = options && options.range || RANGE;
var cur = editor.getCursor(), curLine = editor.getLine(cur.line);
var ... | JavaScript | zoyoeec/static/CodeMirror/addon/hint/anyword-hint.js | zoyoe/ectool | gpl-2.0 | 1,296 | 33 | codeparrot/github-code |
793e1f0faed7e228906f76e5916a74bc9f738b52ccd9eda58164c666d16f4b28 | import { addFormatToken } from '../format/format';
import { addUnitAlias } from './aliases';
import { addUnitPriority } from './priorities';
import { addRegexToken, match1to2, matchWord, regexEscape } from '../parse/regex';
import { addWeekParseToken } from '../parse/token';
import toInt from '../utils/to-int';
import ... | JavaScript | www/lib/moment/src/lib/units/day-of-week.js | Nucleo-235/roupa-livre-ionic | gpl-3.0 | 11,793 | 361 | codeparrot/github-code |
746903fc53f161e24457a51ecff07cb68ad0584f6fc54f08e454584fa6adbe72 | /* drivers/misc/fm34_we395.c - fm34_we395 voice processor driver
*
* Copyright (C) 2012 Samsung 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.
... | C | drivers/misc/fm34_we395.c | vet-note/android_kernel_samsung_smdk4210 | gpl-2.0 | 14,942 | 687 | codeparrot/github-code |
5a63335fb6cd872e96316b04469dce66c2d28980698806598096e283612a5a7b | /*
* watchdog_core.c
*
* (c) Copyright 2008-2011 Alan Cox <alan@lxorguk.ukuu.org.uk>,
* All Rights Reserved.
*
* (c) Copyright 2008-2011 Wim Van Sebroeck <wim@iguana.be>.
*
* This source code is part of the generic code that can be used
* by all the watchdog timer drivers.
*
* Based on source code of th... | C | uefi/linux-source-3.8.0/drivers/watchdog/watchdog_core.c | SanDisk-Open-Source/SSD_Dashboard | gpl-2.0 | 4,853 | 179 | codeparrot/github-code |
f309caaaa8208b831da7e771ba195490c40c2c7fd0201ab748c20d1af98d0d6f | // SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright 2016 IBM Corporation.
*/
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/irq.h>
#include <linux/smp.h>
#include <linux/interrupt.h>
#include <linux/cpu.h>
#include <linux/of.h>
#include <asm/smp.h>
#include <asm/irq.h>
#include <asm/errno... | C | linux-5.8/arch/powerpc/sysdev/xics/icp-opal.c | CSE3320/kernel-code | gpl-2.0 | 4,387 | 201 | codeparrot/github-code |
db3cfbe52aeffbb912125a85639ce13ac1b9e572b219e9b5c849df8e49e7182c | // Boost.Assign library
//
// Copyright Thorsten Ottosen 2003-2004. Use, modification and
// distribution is 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)
//
// For more information, see http://www.boost.org/libs/ass... | C++ | xray/SDK/include/boost/assign/std/map.hpp | hpl1nk/nonamegame | gpl-3.0 | 1,085 | 46 | codeparrot/github-code |
bdb5e30296f6a90bccf89b9ba5780ddae4751f0ef17a22b4a2eb9b603412c0b0 | /*
* Copyright 2007 Robert Schwebel <r.schwebel@pengutronix.de>, Pengutronix
* Copyright (C) 2009 Sascha Hauer (kernel@pengutronix.de)
*
* 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; eit... | C | virt/arch/arm/mach-imx/mach-pca100.c | JijonHyuni/HyperKernel-JB | gpl-2.0 | 10,691 | 443 | codeparrot/github-code |
aa1480b9d07eb4e6b761147977a06cece6bf79e114bee69978e5920ea0442f3e | /*
* Driver for the Conexant CX23885 PCIe bridge
*
* Copyright (c) 2007 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 | virt/drivers/media/video/cx23885/cx23885-video.c | JijonHyuni/HyperKernel-JB | gpl-2.0 | 40,135 | 1,535 | codeparrot/github-code |
1e67ff55a48b20d1b5e4177e0560e7b0e7cb77805db4aee7e0c5d52483a89ea0 | /*
* Copyright (c) International Business Machines Corp., 2006
*
* 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 later version.
... | C | oss/linux/linux-4.7/drivers/mtd/ubi/debug.c | geminy/aidear | gpl-3.0 | 15,661 | 547 | codeparrot/github-code |
cc890b57f9f30bd03dcb6aa9d78107aa2ce997dbf8c49cd86e7924da4b509849 | /*=============================================================================
Copyright (c) 2001 Doug Gregor
Copyright (c) 1999-2003 Jaakko Jarvi
Copyright (c) 2001-2011 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at ht... | C++ | thirdparty/sources/boost_1_60_0/boost/fusion/container/generation/ignore.hpp | gwq5210/litlib | gpl-3.0 | 1,129 | 36 | codeparrot/github-code |
a2503e64d2fce9476b4e40d3fdb82d7c7ca83ffc23a8c1d5dc0b493f897cb43d | <?php
namespace Drupal\system\Controller;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Controller\ControllerBase;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface;
use Drupal\Core\Render\BareHtmlPageRendererInterface;
use Drupal\Core\Ses... | PHP | web/core/modules/system/src/Controller/DbUpdateController.php | windtrader/drupalvm-d8 | gpl-2.0 | 25,829 | 706 | codeparrot/github-code |
3cbdf3f770f1179336a902f56ab6b83a19c83110c2a5906545dc89b8d332da10 | /*
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
//>>built
define("dojo/store/JsonRest",["../_base/xhr","../_base/lang","../json","../_base/declare","./util/QueryResults"],f... | JavaScript | web/js/dojo/store/JsonRest.js | mbouami/pme | mit | 2,702 | 80 | codeparrot/github-code |
bbb0b21091b5f65573b7e56b66232a3215e4075bae11d3556cd1610e4d832ace | /*
* This file is part of wl1271
*
* Copyright (C) 1998-2009 Texas Instruments. All rights reserved.
* Copyright (C) 2008-2009 Nokia Corporation
*
* Contact: Luciano Coelho <luciano.coelho@nokia.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Genera... | C | virt/drivers/net/wireless/ti/wlcore/wlcore_i.h | mericon/Xp_Kernel_LGH850 | gpl-2.0 | 13,772 | 548 | codeparrot/github-code |
de32cc7811cbdb92aba97e66b717e60dac8c1394cc7f9aba0a3962f4629c1c22 | #!/usr/bin/env python
import os
import re
import subprocess
import sys
import tempfile
CC = "gcc"
CFLAGS = "-fmax-errors=4 -std=c99 -pipe -D_POSIX_C_SOURCE=200809L -W -Wall -Wno-unused-variable -Wno-unused-parameter -Wno-unused-label -Wno-unused-value -Wno-unused-but-set-variable -Wno-unused-function -Wno-main".split... | Python | run_tests.py | wm4/boringlang | isc | 5,430 | 164 | codeparrot/github-code |
99094b91a700186dc12651e290429ebeb7bac6be0230b1dade627226dce07ad8 | var cx = require('classnames');
var blacklist = require('blacklist');
var React = require('react');
module.exports = React.createClass({
displayName: 'Field',
getDefaultProps() {
return {
d: null,
t: null,
m: null,
label: ''
}
},
renderError() {
if(!this.props.error) retur... | JavaScript | react/field.js | wangzuo/feng-ui | isc | 1,218 | 60 | codeparrot/github-code |
3ee004fdb6b3ed4ec39d3916753b5ce4602233250ca44022614908f44d20f0d1 | /*
* Copyright (c) 2008 James Molloy, Jörg Pfähler, Matthew Iselin
*
* Permission to use, copy, modify, and 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 "A... | C | src/system/kernel/core/processor/x86/VirtualAddressSpace.h | jmolloy/pedigree | isc | 11,602 | 263 | codeparrot/github-code |
c42cebac6e53809d9800c61d7e8e00b840f5b1b0cc6dadab962c3c9279401839 | /*
* Copyright (c) 2015-2016, Fred Morcos <fred.morcos@gmail.com>
*
* 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... | C | projects/backy/libcore/print.c | fredmorcos/attic | isc | 2,009 | 66 | codeparrot/github-code |
f66444967ea5c3f291108405a551a24fefa556a71fa1ea00ffb4fc87eef25957 | #include "kvazaarfilter.h"
#include "statisticsinterface.h"
#include "common.h"
#include "settingskeys.h"
#include "logger.h"
#include <kvazaar.h>
#include <QtDebug>
#include <QTime>
#include <QSize>
enum RETURN_STATUS {C_SUCCESS = 0, C_FAILURE = -1};
KvazaarFilter::KvazaarFilter(QString id, StatisticsInterface *... | C++ | src/media/processing/kvazaarfilter.cpp | ultravideo/kvazzup | isc | 12,600 | 453 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.