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 |
|---|---|---|---|---|---|---|---|---|
02843795a4427ab3f56f7a417da290e0032e54894da42fd3d52bd49eaaa5a34c | /* Copyright (c) 2011-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | C | arch/arm/mach-msm/subsystem_restart.c | HelllGuest/xolo_q1100_kernel | gpl-2.0 | 32,378 | 1,294 | codeparrot/github-code |
db8f0ed446fee1f1e1fc6f264743dc90a845493cc2a33e3c28d608b393749661 | $().ready( function(){
//apply events for photo uploads
$('.photo-upload-div').each(function(){
uploader = new fileUploadAction();
uploader.apply($(this).find('.photo-input'));
});
});//end .ready
function fileUploadAction(){
this.apply = function(file_input){
var iframe_fallback = false; //not t... | JavaScript | apps/seller/static/js/product_photo_upload.js | tomcounsell/Cobra | gpl-2.0 | 4,701 | 153 | codeparrot/github-code |
3de8d6d732a4adb2cddf0e56ec0a61e19e6bfc788879c17c33cf17527e9b594a | /* Copyright (c) 2002-2011 by XMLVM.org
*
* Project Info: http://www.xmlvm.org
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your o... | Java | Ports/iOSPort/xmlvm/src/android2iphone/android/content/ContentValues.java | skyHALud/codenameone | gpl-2.0 | 1,184 | 41 | codeparrot/github-code |
7abb32086a7c6ed70156979a6984cb4b6bb9ad9e6ddd0b7556984b709eb69dc5 | /***************************************************************************
qgscomposeritemcommand.h
------------------------
begin : 2010-11-18
copyright : (C) 2010 by Marco Hugentobler
email : marco dot hugentobl... | C | src/core/composer/qgscomposeritemcommand.h | spaceof7/QGIS | gpl-2.0 | 5,468 | 177 | codeparrot/github-code |
63060e5c35a73f1adef52f77e97b911f1c2c2bb8c2ba72beac8d5fa3a332985d | <?php
/**
* The template for displaying the header of a single post
* In loop
*
* @package Customizr
*/
?>
<header class="entry-header <?php czr_fn_echo( 'element_class' ) ?>" <?php czr_fn_echo('element_attributes') ?>>
<div class="entry-header-inner">
<?php // This hook is used to render the following eleme... | PHP | templates/parts/content/singular/headings/regular_post_heading.php | Nikeo/customizr | gpl-2.0 | 2,519 | 80 | codeparrot/github-code |
b95c6f26cd9f19d1eea0d4c2eede2d1df0e29a895859f282fe61537150bd9c64 | <?php
/**
* @package EasySocial
* @copyright Copyright (C) 2010 - 2015 Stack Ideas Sdn Bhd. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* EasySocial is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of wor... | PHP | administrator/components/com_easysocial/controllers/languages.php | quanghung0404/it2tech | gpl-2.0 | 4,909 | 194 | codeparrot/github-code |
d649a499d756c1b1c34808c7c8ffa1d709d7736e93d147deb42567c432a8d4d8 | /*
* ioctl32.c: Conversion between 32bit and 64bit native ioctls.
*
* Copyright (C) 1997-2000 Jakub Jelinek (jakub@redhat.com)
* Copyright (C) 1998 Eddie C. Dost (ecd@skynet.be)
* Copyright (C) 2001,2002 Andi Kleen, SuSE Labs
* Copyright (C) 2003 Pavel Machek (pavel@ucw.cz)
*
* These routines mainta... | C | fs/compat_ioctl.c | pantoniou/linux-beagle-track-mainline | gpl-2.0 | 46,689 | 1,644 | codeparrot/github-code |
6e7bb051e5f953544f885b073270dba0022326306c8066d2fc70c28264b8e547 | /*
Copyright 2006-2013 The QElectroTech Team
This file is part of QElectroTech.
QElectroTech 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 v... | C++ | sources/elementdefinition.cpp | xrg/qelectotech | gpl-2.0 | 13,999 | 477 | codeparrot/github-code |
1473246fffa420b50b758cbcbd0d151434088c50501b11c7476dfd5d82a70373 | <?php
/*
About validateUrlSyntax():
This function will verify if a http URL is formatted properly, returning
either with true or false.
I used rfc #2396 URI: Generic Syntax as my guide when creating the
regular expression. For all the details see the comments below.
Usage:
validate... | PHP | lib/validateurlsyntax.php | pzingg/saugus_elgg | gpl-2.0 | 23,447 | 547 | codeparrot/github-code |
4b3ad86ae0d249e260b81182ed0b7f630c6a0fc2b7f9882eb1edbb7462bd7250 | /****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt3Support module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL... | C | sites/all/libraries/wkqt/include/Qt3Support/q3networkprotocol.h | smoore0509/Nutmeg | gpl-2.0 | 6,873 | 251 | codeparrot/github-code |
26fbd5a6f34e9c50228568842467d68b368a0f98a88b8713f9c8876e5ad2431e | /* AArch64 definitions for signal handling calling conventions.
Copyright (C) 1996-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publishe... | C | sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h | jjones-cavium/glibc | gpl-2.0 | 1,379 | 37 | codeparrot/github-code |
37dba032b29e0a626449eaf020e5575af3d45fea5143276dbded0ee07c681173 | #include<cstdio>
#include<cstring>
#include<cmath>
using namespace std;
double dp[100][100];
struct point
{
double x, y;
}p[100];
double dis(point a, point b)
{
return sqrt((a.x - b.x)*(a.x - b.x) + (a.y - b.y)*(a.y - b.y));
}
double min(double a, double b)
{
return a<b ? a : b;
}
int ... | C++ | ACM 2015/Tour2.cpp | sunmoyi/ACM | gpl-2.0 | 896 | 49 | codeparrot/github-code |
c38944bf4cf02ec3492490ec9929d253c66eccb5d61ad5103cd825bf07cbe571 | // weatherdata.C -- Weather related utilities.
//
// Copyright 2010 KU
//
// This file is part of Daisy.
//
// Daisy is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser Public License as published by
// the Free Software Foundation; either version 2.1 of the License, or
// ... | C++ | weatherdata.C | pamoakoy/daisy-model | gpl-2.0 | 12,797 | 396 | codeparrot/github-code |
705431cb112e101ee2e511137b75b787ed353ada0ca7638f6ad3ca1b2b1beea6 | /*
meanwhileaccount.h - meanwhile account
Copyright (c) 2003-2004 by Sivaram Gottimukkala <suppandi@gmail.com>
Copyright (c) 2005 by Jeremy Kerr <jk@ozlabs.org>
Kopete (c) 2002-2004 by the Kopete developers <kopete-devel@kde.org>
**********************************************************... | C | kopete/protocols/meanwhile/meanwhileaccount.h | iegor/kdenetwork | gpl-2.0 | 3,830 | 122 | codeparrot/github-code |
0c54b27d786fe9f55119cb9f9a60635bf1a16260ab1a0629628997b15d817591 | /*******************************************************************************
Intel 10 Gigabit PCI Express Linux driver
Copyright(c) 1999 - 2011 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,
ver... | C | drivers/net/ixgbe/ixgbe.h | KINGbabasula/u8500_kernel | gpl-2.0 | 19,728 | 599 | codeparrot/github-code |
cd777900f8eb2dfecd9c66b7df2df8f30786ab389d8d174b776c2a1ecde7989e | /*
* Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | Java | compiler/src/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/lang/Long_greater03.java | smarr/Truffle | gpl-2.0 | 2,342 | 88 | codeparrot/github-code |
27f6a4ebba2647fc7a8f1fc17f4e44deaa4145b1a49a34e975cac6fc11fbebea | /***************************************************************************
qgslayertreeembeddedwidgetsimpl.h
--------------------------------------
Date : May 2016
Copyright : (C) 2016 by Martin Dobias
Email : wonder dot sk at gmail dot com
************************... | C++ | src/gui/layertree/qgslayertreeembeddedwidgetsimpl.cpp | drnextgis/QGIS | gpl-2.0 | 4,009 | 125 | codeparrot/github-code |
18c1e98e6f67bfca62dc4390fb4f6f3f33d5dc40d8d01c15a58d4e6cb69c239a | /***************************************************************************
* 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 you... | C++ | umbrello/codegenerators/sql/sqlwriter.cpp | behlingc/umbrello-behlingc | gpl-2.0 | 16,354 | 623 | codeparrot/github-code |
5a1d40db7fd2faa2eae9314e5f3f2c122c6dc13bd943b67163a2ab09ae176c6b | #pragma once
/*
* Copyright (C) 2005-2013 Team XBMC
* http://www.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... | C | xbmc/filesystem/VideoDatabaseDirectory/DirectoryNodeGrouped.h | fetzerch/xbmc | gpl-2.0 | 1,321 | 45 | codeparrot/github-code |
3565c910f18d8e47605f1f4c1a867f3093b8e8bcf8694fd2ee1e1e4d33997935 | jQuery(document).ready(function($) {
//$.preloadCssImages();
$(".dropdown li").hover(function(){
var dropDown = $(this).children("ul");
var ulWidth = dropDown.width();
var liWidth = $(this).width();
var posLeft = (liWidth - ulWidth)/2;
dropDown.css("left",posLeft);
});
$(".sub-menu").parent("li").a... | JavaScript | wp-content/themes/lifestyle-parent/js/general.js | StefanDindyal/wordpresser | gpl-2.0 | 3,247 | 120 | codeparrot/github-code |
e8496236dac90e0c4d13ee04a84aaccb323f7265b2ef4715af83901063f33d40 | <?php
function smarty_block_mtsearchentries( $args, $content, &$ctx, &$repeat ) {
$localvars = array( 'entry', '_entries_counter', 'entries', '_entries_lastn',
'blog', 'blog_id', 'include_blogs', 'category_expression', 'tag_id' );
$app = $ctx->stash( 'bootstrapper' );
$blog_id = intv... | PHP | addons/DynamicMTML.pack/php/tags/block.mtsearchentries.php | PowerCMS/DynamicMTML | gpl-2.0 | 9,942 | 273 | codeparrot/github-code |
cc243c0543dc7fa0064dfd32788510da98f10de1d5b355615f58255a0164e79b | /*
* Copyright (c) [2014-2015] Novell, Inc.
* Copyright (c) [2016-2021] SUSE LLC
*
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as published
* by the Free Software Foundation.
*
* This progra... | C++ | storage/Devices/BlkDevice.cc | aschnell/libstorage-ng | gpl-2.0 | 7,776 | 417 | codeparrot/github-code |
3c61091b73578c13ceb493f225c3614c88aab78ea52c3b4314731043ba8ad621 | /**
Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
publicada ... | Java | src/br/ufpe/cin/amadeus/amadeus_mobile/basics/NoticeMobile.java | ProjetoAmadeus/AmadeusLMS | gpl-2.0 | 3,402 | 143 | codeparrot/github-code |
0ca87d5313cb54f600546667fc7abd276aa209d9651124feb4bcc4c9d38ddb43 | /*global QUnit:false, module:false, test:false, asyncTest:false, expect:false*/
/*global start:false, stop:false ok:false, equal:false, notEqual:false, deepEqual:false*/
/*global notDeepEqual:false, strictEqual:false, notStrictEqual:false, raises:false*/
(function(jQuery) {
/*
======== A Handy Little QUnit Refer... | JavaScript | wp-content/plugins/ultimate-product-catalogue/js/product-page-builder.js | sanluck/tema_tools | gpl-2.0 | 5,763 | 143 | codeparrot/github-code |
e823dd2b84f61a2549ec5a9071b76c95f5f9f8fe77684e7b67367b18b446d11c | // Developed by Riketta https://github.com/Riketta/Stronghold-Kingdoms-Bot
namespace BotDLL
{
partial class BotForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Cle... | C# | BotDLL/BotForm.Designer.cs | Gromnorg/Stronghold-Kingdoms-Bot | gpl-2.0 | 19,229 | 406 | codeparrot/github-code |
d0aa8f36c1c2a89439d1b05b7997b9b724b9c48a1551ae1cf56c66131d308be8 | /**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2017 UniPro <ugene@unipro.ru>
* http://ugene.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* ... | C | src/corelibs/U2Formats/src/ABIFormat.h | mfursov/ugene | gpl-2.0 | 1,889 | 61 | codeparrot/github-code |
4282cab18db91b1be132cffde44236165d4dddbdb6c50e599671d43f3274c83c | <?php
class controlController extends \BaseController {
/**
* Show the form for creating a new resource.
*
* @return Response
*/
public function create($sensor,$value)
{
if($value <= 1 && $value >= 0) {
Control::create([
'sensors_id' => $sensor,
'value' ... | PHP | api/app/controllers/ControlController.php | lhidalgo-/DTSA | gpl-2.0 | 1,745 | 86 | codeparrot/github-code |
04af65e1d23d990e87ad5c7b8a101d2df8b3b7a26360945582c5f88e187c782c | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.breitling.dragon.framework.util;
import java.lang.reflect.Method;
import org.mockito.MockingDetails;
import org.mockito.M... | Java | src/main/java/org/breitling/dragon/framework/util/ClassUtils.java | breitling/KoulUnitTestingModules | gpl-2.0 | 6,561 | 221 | codeparrot/github-code |
70eaf93c11c0d1d86a1ec0f657f921ec61faf571400359d325a364dcc7e2f1c6 | #
# Copyright (C) 2014 Aaron Cohen
#
# This file is part of SpaghettiPy. ... | Python | src/mangle.py | TTSpaxxy/SpaghettiPy | gpl-2.0 | 7,428 | 220 | codeparrot/github-code |
92b7471c99bf8fc82f5c9335bf2ff55aa5e9b91d57b00e27c48942730ff3e84b | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import struct
from layer1 import VarLenMessage, VarLenSocket
class TagMessage:
"""
TagMessage contains a string tag and string data.
Paramters
---------
tag: string
The type of the message. Currently supported tags are "json" and
"asyn... | Python | carta/scriptedClient/layer2.py | pfederl/CARTAvis | gpl-2.0 | 2,551 | 101 | codeparrot/github-code |
01dabe6c3972239d4a04cfef53a4a9fd5486f7adb7c5ecadc40ea68598003ddd | /*
* drivers/rtc/rtc_tps80031.c
*
* RTC driver for TI TPS80031
*
* Copyright (c) 2011, NVIDIA 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 Foundation; either version 2 of the Lice... | C | drivers/rtc/rtc-tps80031.c | kozmikkick/eternityprj-kernel-endeavoru-128 | gpl-2.0 | 10,744 | 453 | codeparrot/github-code |
c89da3afe42fb1dd83208624320546b877a587aa7075f06a1aa8a179744a72c5 | /*
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | Java | compiler/src/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/lang/Class_forName05.java | smarr/Truffle | gpl-2.0 | 2,134 | 64 | codeparrot/github-code |
a8f792fece51dfad06160a7b3556d8f49b82f06169a76f80dd4b78279b21cff9 | #ifndef LIBNFTNL_UTILS_H
#define LIBNFTNL_UTILS_H 1
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include <libnftnl/common.h>
#include "config.h"
#ifdef HAVE_VISIBILITY_HIDDEN
# define __visible __attribute__((visibility("default")))
# define EXPORT_SYMBOL(x, y) typeof(x) (x) __visib... | C | include/utils.h | anthonyryan1/libnftnl | gpl-2.0 | 2,255 | 83 | codeparrot/github-code |
a8aa31c85927c90ce81be18f1cc41f6e345a4a99c3f17331d734792f5815b59f | /*
* drivers/mmc/host/omap_hsmmc.c
*
* Driver for OMAP2430/3430 MMC controller.
*
* Copyright (C) 2007 Texas Instruments.
*
* Authors:
* Syed Mohammed Khasim <x0khasim@ti.com>
* Madhusudhan <madhu.cr@ti.com>
* Mohit Jalori <mjalori@ti.com>
*
* This file is licensed under the terms of the GNU General Publi... | C | drivers/mmc/host/omap_hsmmc.c | parc-wifi/kernel | gpl-2.0 | 53,850 | 2,166 | codeparrot/github-code |
f9b3fedbea46084afbefc473803c19fc59c82cf0137537c7d327c5eb80715a44 | {% INCLUDE 'overall_header.html' %}
<a name="maincontent"></a>
<h1>{{ lang('TRUNCATE_THANKS') }}</h1>
<form id="acp_thanks_truncate" method="post" action="{{ U_ACTION }}">
<fieldset>
<legend>{{ lang('TRUNCATE_THANKS') }}</legend>
{% if not S_TRUNCATE %}
<div class="errorbox">
<h3>{{ lang('WARNING') }}</h3>
<... | HTML | adm/style/acp_thanks_truncate.html | rxu/thanks_for_posts | gpl-2.0 | 1,400 | 40 | codeparrot/github-code |
ddff45badac9c076fea2fac33f44c2ce530dbe6d03891f1f1d0ea3b57dc1a156 | // This file is part of Notepad++ project
// Copyright (C)2003 Don HO <don.h@free.fr>
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either
// version 2 of the License, or (at your ... | C | PowerEditor/src/WinControls/DocumentMap/documentMap.h | FarmGeek4Life/notepad-plus-plus | gpl-2.0 | 4,360 | 146 | codeparrot/github-code |
6148c1a20b3773bf7a1106f0ee8b2d6e212c9c620b3f28548112733480d0a521 | <?php
/*
* FooGallery Admin Gallery MetaBoxes class
*/
if ( ! class_exists( 'FooGallery_Admin_Gallery_MetaBoxes' ) ) {
class FooGallery_Admin_Gallery_MetaBoxes {
private $_gallery;
public function __construct() {
//add our foogallery metaboxes
add_action( 'add_meta_boxes', array( $this, ... | PHP | wp-content/plugins/foogallery/includes/admin/class-gallery-metaboxes.php | bekahlbaker/re-imagined | gpl-2.0 | 20,724 | 567 | codeparrot/github-code |
d34ca9adbfcfe0ce2b85416098268931079630faeb151d79dcfa66438585bffa | """
Kodi resolveurl plugin
Copyright (C) 2014 smokdpi
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 the License, or
(at your option) any later version.
... | Python | script.module.resolveurl/lib/resolveurl/plugins/videozoo.py | repotvsupertuga/tvsupertuga.repository | gpl-2.0 | 3,993 | 95 | codeparrot/github-code |
86154c4c832e8e66231a2e30c68fc566044dc4dd59368ccfd1aca60e2f4537d7 | <?php
class OptimizePress_Blog_Comments_Module extends OptimizePress_Modules_Base {
var $facebook_config = array();
var $language = '';
var $id = '';
var $need_js = false;
function __construct($config=array()){
parent::__construct($config);
if(is_admin()){
add_action('a... | PHP | wp-content/plugins/optimizePressPlugin/lib/modules/blog/comments/comments.php | sarahkpeck/writers-workshop | gpl-2.0 | 21,920 | 521 | codeparrot/github-code |
5cfc296210d046afad1e06acfd1f76f2f046ce3bb84349de66d897ade1f8615b | <?php
namespace Drupal\DrupalExtension\Context;
use Behat\Behat\Context\TranslatableContext;
/**
* Provides step definitions for interacting directly with Drush commands.
*/
class DrushContext extends RawDrupalContext implements TranslatableContext
{
/**
* Keep track of drush output.
*
* @var string|bo... | PHP | src/Drupal/DrupalExtension/Context/DrushContext.php | Berdir/drupalextension | gpl-2.0 | 2,909 | 112 | codeparrot/github-code |
86702aa1ae27a1054a397ccc60298f8bbec0e8408545751de33f6b9a4c167e2a | <?php
/**
* @package Joomla.Site
* @subpackage com_contact
*
* @copyright Copyright (C) 2005 - 2014 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
* @su... | PHP | components/com_contact/models/featured.php | 01J/furcom | gpl-2.0 | 6,316 | 215 | codeparrot/github-code |
c099217d01980f918f9530501b2ba6eb3d43dba6c191c7ecb4fd2948f164efd5 | /*
* Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | Java | jdk/test/java/awt/Mixing/AWT_Mixing/JGlassPaneMoveOverlapping.java | universsky/openjdk | gpl-2.0 | 6,141 | 173 | codeparrot/github-code |
fae6b74be10db38324a98d15b0b8f3322d62ff9a48930564ed255bd8306f73dd | /* z0194a.h Sharp z0194a tuner support
*
* Copyright (C) 2008 Igor M. Liplianin (liplianin@me.by)
*
* 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.
*
* see Documentation/dvb/R... | C | drivers/media/dvb/frontends/z0194a.h | jeffegg/beaglebone | gpl-2.0 | 2,394 | 86 | codeparrot/github-code |
6555e5d693c5450fd20b3a17aff71d9790c651314a5bc9eed2016f3ac65f6761 | /****************************************************************************
* Copyright (c) 1998-2003,2004 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy ... | C | lib/libncurses/menu/m_item_opt.c | ipwndev/DSLinux-Mirror | gpl-2.0 | 6,146 | 160 | codeparrot/github-code |
086944844ebf2793d069245100663b5e259dbbfb7c29ced4848a19d7390e0808 | package net.minecraft.client.gui.inventory;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.ContainerBrewingStand;
import net.minecraft.inventory.IInventory;
import net.minecraft.util.ResourceLocation;
public class GuiBrewingStand... | Java | new_1.8.8/net/minecraft/client/gui/inventory/GuiBrewingStand.java | SkidJava/BaseClient | gpl-2.0 | 2,920 | 94 | codeparrot/github-code |
f1b24fb75e123f25961811f46e28c2391ab524174d7f2aa1d0dda94f943519c6 | /***************************************************************************
* Copyright (C) 2008-2014 by Andrzej Rybczak *
* electricityispower@gmail.com *
* *
* This pr... | C++ | src/media_library.cpp | dennishamester/ncmpcpp | gpl-2.0 | 29,310 | 1,055 | codeparrot/github-code |
5ca605470f18c57c63c537646147c635c72f16a7de32188862a7ad10b76ccbe5 | <?php
/**
* phpBB Extension - marttiphpbb templateevents
* @copyright (c) 2014 - 2018 marttiphpbb <info@martti.be>
* @license GNU General Public License, version 2 (GPL-2.0)
*/
namespace marttiphpbb\templateevents\console;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\Output... | PHP | console/write.php | marttiphpbb/phpbb-ext-templateevents | gpl-2.0 | 1,998 | 73 | codeparrot/github-code |
3758a4957d17e7f230f26c58927a36649c6c068292008acaec1af8fc31f499df | <?php
/* vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
Codificación: UTF-8
+----------------------------------------------------------------------+
| Elastix version 0.5 |
| http://www.elastix.org |
+----... | PHP | framework/system/libs/paloSantoForm.class.php | elastixmt/elastix-mt-gui | gpl-2.0 | 23,298 | 452 | codeparrot/github-code |
65c888442c5ea8759f823672f552af49cb3cddc10d8e5a420cee85959211dbd1 | //+----------------------------------------------------------------------------+
//| Description: Magic Set Editor - Program to make Magic (tm) cards |
//| Copyright: (C) 2001 - 2012 Twan van Laarhoven and Sean Hunt |
//| License: GNU General Public License 2 or later (see file COPYING) ... | C++ | src/data/action/set.hpp | ninzhan/MSE | gpl-2.0 | 5,393 | 164 | codeparrot/github-code |
720a3f8402aa4ddfb0f934f76dc38522cd6865955ab306298e31311596c27e01 | /*
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.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 License, or (at your
* option) any later ve... | C++ | src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp | lesslol/TrinityCore-3.3.5-NPCBots | gpl-2.0 | 42,181 | 1,271 | codeparrot/github-code |
4c376330c1f4f0898cf22bbdd654cef41f1ea36ca0c39b4ff0eae110df25d6e5 | /*
Copyright (C) 1997-2001 Id Software, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in th... | C | src/server/save.c | hifi/q2pro | gpl-2.0 | 16,965 | 697 | codeparrot/github-code |
a3f13423ac2e29771b4ca82a2515fa3bc2266850cae929cd1ea14633e2a25d5f | /* SMP- and interrupt-safe semaphores.
* PA-RISC version by Matthew Wilcox
*
* Linux/PA-RISC Project (http://www.parisc-linux.org/)
* Copyright (C) 1996 Linus Torvalds
* Copyright (C) 1999-2001 Matthew Wilcox < willy at debian d0T org >
* Copyright (C) 2000 Grant Grundler < grundler a debian org... | C | kernel/linux/include/asm-parisc/semaphore.h | z3bu/AH4222 | gpl-2.0 | 4,352 | 167 | codeparrot/github-code |
aa2cd48e3a6e4124e8c8172e542ec247bc2d9114d452d216bbe63bf961491cc3 | <?php
/*Template Name: Curator Page
*/
get_header();
$user_id = $_GET['id'];
if(!$user_id) {
wp_redirect( '/curators' ); exit();
}
$user = get_userdata( $user_id );
if ( $user === false ) {
wp_redirect( '/curators' ); exit();
}
$user_posts = count_user_posts($user->ID, 'acme_article');
$args = array... | PHP | wp-content/themes/kurastar/test/page-templates/confict-page-curator.php | pws-edz/kurastar | gpl-2.0 | 25,771 | 687 | codeparrot/github-code |
6e7f23f2955d0f5be2941ec68ec2d43b76968dbb0b27feb44afce1f9a78baf28 | #include "audit.h"
#include <linux/fsnotify_backend.h>
#include <linux/namei.h>
#include <linux/mount.h>
#include <linux/kthread.h>
#include <linux/slab.h>
struct audit_tree;
struct audit_chunk;
struct audit_tree {
atomic_t count;
int goner;
struct audit_chunk *root;
struct list_head chunks;
struct list_head rul... | C | kernel/audit_tree.c | Nicklas373/Hana-CoreUX-Kernel_MSM8627-AOSP_7.0 | gpl-2.0 | 22,231 | 950 | codeparrot/github-code |
2b1416a2ad10044297a92e44181bc57394ce093d8eb27341384dd330ffd1971f | /*
* Picvue PVC160206 display driver
*
* Brian Murphy <brian.murphy@eicon.com>
*
*/
struct pvc_defs {
volatile u32 *reg;
u32 data_shift;
u32 data_mask;
u32 e;
u32 rw;
u32 rs;
};
extern struct pvc_defs *picvue;
#define PVC_NLINES 2
#define PVC_DISPMEM 80
#define PVC_LINELEN PVC_DISPMEM... | C | arch/mips/lasat/picvue.h | jeffegg/beaglebone | gpl-2.0 | 962 | 45 | codeparrot/github-code |
d932c52b37e24862b7098b838a95778e046474d8d7ffb325ed1585043013b849 | /*
* Broadcom Dongle Host Driver (DHD), Linux-specific network interface
* Basically selected code segments from usb-cdc.c and usb-rndis.c
*
* Copyright (C) 1999-2010, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, th... | C | drivers/net/wireless/bcm4329/dhd_linux.c | croniccorey/old-cronmod-kernel | gpl-2.0 | 82,348 | 3,374 | codeparrot/github-code |
8c7ad361a9394f3ee44c2e33d7b33d444b22e16fcf356eea8d422d58bb0c39db | /* Copyright (C) 2014 InfiniDB, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2 of
the License.
This program is distributed in the hope that it will be useful,
but W... | C++ | dbcon/execplan/windowfunctioncolumn.cpp | infinidb/infinidb | gpl-2.0 | 15,353 | 573 | codeparrot/github-code |
cf51e21b912fd532f65fd985e2fc1cbf945601ef3298b6b4e527be1b6626c3c3 | # Copyright (C) 2015 Siavoosh Payandeh Azad
import matplotlib.pyplot as plt
import networkx
from ConfigAndPackages import Config
from ArchGraphUtilities.AG_Functions import return_node_location, return_node_number
import math
def draw_ag(ag, file_name):
"""
Generates Visualizations of the Architecture Graph ... | Python | src/main/python/ArchGraphUtilities/Arch_Graph_Reports.py | siavooshpayandehazad/SoCDep2 | gpl-2.0 | 11,459 | 251 | codeparrot/github-code |
0c55bf766a819b7249e6fdf6f0f6cb8534f2140601572dfdf59400395c8f0dcf | <?php
/**
* The default template for displaying content.
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( has_post_thumbnail() && ! is_single() ) : ?>
<div class="post-thumbnail">
<a href="<?php the_permalink(); ?>">
<?php
if ( get_field( 'featured_post' ) && wp_get_attac... | PHP | src/masonry-pinboard/content.php | dominicbusinaro/masonry-pinboard | gpl-2.0 | 2,215 | 60 | codeparrot/github-code |
7d0787ad68467f6a1982943da292ef957a0985156deca2e36102f554efef05ec | /*
* Copyright (c) 2019 by Thomas A. Early N7TAE
*
* 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 | HostQueue.h | n7tae/g2_ircddb | gpl-2.0 | 1,669 | 95 | codeparrot/github-code |
ae32c750d7b71f1f76a2657cd5a5e21a0ff857af6c43486ee0c117fc3253c9cb | /*
* pci.c -- Crude pci handling for early boot.
*
* Copyright (C) 1998, 1999 Gabriel Paubert, paubert@iram.es
*
* Modified to compile in RTEMS development environment
* by Eric Valette
*
* Copyright (C) 1999 Eric Valette. valette@crf.canon.fr
*
* The license and distribution terms for this file may be
... | C | c/src/lib/libbsp/powerpc/shared/bootloader/pci.c | yunusdawji/rtems-at91sam9g20ek | gpl-2.0 | 42,502 | 1,361 | codeparrot/github-code |
70c69e8d8c0b052506b76a06145ddc2a4591ce64af2225fcfbf71b054107b71d | /*
* PartitionEntry.java Copyright (C) 2006-2008 Carnegie Mellon University
*
* Tim Vidas <tvidas at gmail d0t com> Brian Kaplan <bfkaplan at cmu d0t edu>
*
*
* 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 ... | Java | src/cert/forensics/mbr/PartitionEntry.java | eteran/raw2vmdk | gpl-2.0 | 10,899 | 384 | codeparrot/github-code |
d8872198ffee5561328dff0d03d67d0dbb760af2efba2b74b8b70d212a7ae95f | /***************************************************************************
* Copyright (C) 2004,2005 by Maximilian Hrabowski *
* maximilian@hrabowski.net *
* *
* This pr... | C++ | qbeam3d/src/Processor.cpp | HennyN/QBeam3d | gpl-2.0 | 2,936 | 91 | codeparrot/github-code |
e612ea9ec946d442f7e7a297a78f4c32b581c63692d975cc6c156c6b97d9a756 | /**
* jqPlot
* Pure JavaScript plotting plugin using jQuery
*
* Version: 1.0.8
* Revision: 1250
*
* Copyright (c) 2009-2013 Chris Leonello
* jqPlot is currently available for use in all personal or commercial projects
* under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
* versio... | JavaScript | web/js/jqPlot/plugins/jqplot.ohlcRenderer.js | Mariana3/CultExcelEnterprise | gpl-2.0 | 15,132 | 374 | codeparrot/github-code |
5a6d1b3f803d4dae999cf50edd6f819e1cb7787240ab637905f6110fa339df44 | {- |
Module : ./Common/Lib/Maybe.hs
Description : MaybeT monad transformer without the non-portable features
Copyright : C. Maeder and Uni Bremen 2002-2005
License : GPLv2 or higher, see LICENSE.txt
Maintainer : jonathan.von_schroeder@dfki.de
Stability : experimental
Portability : portable
This m... | Haskell | Common/Lib/Maybe.hs | spechub/Hets | gpl-2.0 | 1,090 | 38 | codeparrot/github-code |
8e1723f659ec995335525b654298496833dc8c0a5baa89436d8e7b97040fba9a | <?php
/**
* This file is part of http://github.com/LukeBeer/BroadworksOCIP
*
* (c) 2013-2015 Luke Berezynskyj <eat.lemons@gmail.com>
*/
namespace BroadworksOCIP\api\Rel_17_sp4_1_197_OCISchemaAS\OCISchemaSystem;
use BroadworksOCIP\api\Rel_17_sp4_1_197_OCISchemaAS\OCISchemaSystem\MediaServerDescription;
use Broad... | PHP | src/BroadworksOCIP/api/Rel_17_sp4_1_197_OCISchemaAS/OCISchemaSystem/SystemMediaServerAddRequest14.php | paericksen/broadworks-ocip | gpl-2.0 | 3,824 | 144 | codeparrot/github-code |
07dd44d51a28377a50d5619bdd94b7e026d25d43f3323b96c2c1298efad0f46f |
/*--------------------------------------------------------------------*/
/*--- The address space manager. pub_core_aspacemgr.h ---*/
/*--------------------------------------------------------------------*/
/*
This file is part of Valgrind, a dynamic binary instrumentation
framework.
Copyright (... | C | coregrind/pub_core_aspacemgr.h | rmcilroy/Privgrind | gpl-2.0 | 17,229 | 387 | codeparrot/github-code |
f19e1c4b515cd73ed7a10d460e2f3bcf3ee408e8b1838108bdae8d59cddb3f94 | /***************************************************************************
* Project TUPI: Magia 2D *
* Project Contact: info@maefloresta.com *
* Project Website: http://www.maefloresta.com *
* Project... | C++ | src/framework/tsound/taudioplayer.cpp | KDE/tupi | gpl-2.0 | 4,673 | 134 | codeparrot/github-code |
d14fec81385335d34c5e88b6733778e134ec778f17b5af3e75b95ad1cd64a36a | /*
* Adaptec AIC7xxx device driver for Linux.
*
* $Id: aic7xxx_osm.c,v 1.1.1.1 2007/06/12 07:27:10 eyryu Exp $
*
* Copyright (c) 1994 John Aycock
* The University of Calgary Department of Computer Science.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GN... | C | drivers/scsi/aic7xxx/aic7xxx_osm.c | sdwuyawen/linux2.6.21_helper2416 | gpl-2.0 | 72,607 | 2,582 | codeparrot/github-code |
708ca39cd1f775c2f90fa440be6667279d1a3fcff72218c7434b4aee256f602f | package com.fsck.k9.remotecontrol;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
class AccountReceiver extends BroadcastReceiver
{
K9AccountReceptor receptor = null;
protected AccountReceiver(K9Accou... | Java | test-data/k9/src/AccountReceiver.java | damorim/pbicc | gpl-2.0 | 932 | 34 | codeparrot/github-code |
971a53dd7bc9cd89bbaf52891ae4a070aae27c1c5c9c761677367c6461d215a7 | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | C++ | src/read_data.cpp | zimmermant/dlvo_lammps | gpl-2.0 | 67,455 | 2,021 | codeparrot/github-code |
4d535b04804f7cc8c7b64912d05bb501c89a0676ec5cf37a68fce25c17351867 | <?php
namespace Dropbox;
/**
* Helper functions for security-related things.
*/
class Security
{
/**
* A string equality function that compares strings in a way that isn't suceptible to timing
* attacks. An attacker can figure out the length of the string, but not the string's value.
*... | PHP | wp-content/themes/v2w/library/includes/dropbox-sdk-php-1.1.5/lib/Dropbox/Security.php | MikeEstes/congenial-broccoli | gpl-2.0 | 2,196 | 68 | codeparrot/github-code |
752cf787e359d6b373a58d95d90a29f23f510436427e8935e5717e2c6df0de23 | /*
* KCemu -- The emulator for the KC85 homecomputer series and much more.
* Copyright (C) 1997-2010 Torsten Paul
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of... | C++ | src/kc/pio8.cc | t-paul/kcemu | gpl-2.0 | 11,122 | 643 | codeparrot/github-code |
860c5de3787b4ad3069f628c688f1bfd4d5a458a7154e0ec6e70d59e0132f4ef | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="hevea 1.10">
<LINK rel="stylesheet" type="text/css" href="cascmd_en.css">
<TITLE>... | HTML | giac/giac-1.2.2/doc/en/cascmd_en/cascmd_en465.html | hiplayer/giac | gpl-2.0 | 2,937 | 58 | codeparrot/github-code |
f04c6ea0ef834421330a4592b722f4ffcf2a4f87e8dd93356496e52b43f4b88d | /*
* IRIS -- Intelligent Roadway Information System
* Copyright (C) 2000-2015 Minnesota Department of Transportation
*
* 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 ... | Java | src/us/mn/state/dot/tms/server/comm/ntcip/mib1203/DmsMessageMemoryType.java | CA-IRIS/mn-iris | gpl-2.0 | 1,518 | 55 | codeparrot/github-code |
4985b899229f137fbe00cea4b265cfc75e8aae0c052c970bce2be1787b9937e0 | /*
RFCOMM implementation for Linux Bluetooth stack (BlueZ).
Copyright (C) 2002 Maxim Krasnyansky <maxk@qualcomm.com>
Copyright (C) 2002 Marcel Holtmann <marcel@holtmann.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version... | C | net/bluetooth/rfcomm/core.c | xiandaicxsj/copyKvm | gpl-2.0 | 48,522 | 2,114 | codeparrot/github-code |
8498a49e6dab015b7e27d7e282fded6fd94b7eee25b5f2dcf9f9dd6d8e0139cd | <?php
/**
* IBM_DB2-specific updater.
*
* 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.
*
* This program is dist... | PHP | includes/installer/Ibm_db2Updater.php | 1ec5/mediawiki-core | gpl-2.0 | 5,086 | 97 | codeparrot/github-code |
882c17cfaed2b21c0b515e8f2e22b10c22c64ef4dfa445c76427071933ef0f3c | /* Copyright 2013 David Axmark
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
distr... | C++ | testPrograms/native_ui_lib/AlphabeticalListTest/SettingsScreen.cpp | MoSync/MoSync | gpl-2.0 | 50,710 | 1,231 | codeparrot/github-code |
86bb163b5eaa3f56e37404bb89fbb0e4ef44eb12de950a5094339d68e31bd0a5 | <script>
var menuList = new Array();
var buttonList = new Array();
var scriptList = new Array();
</script>
<ul id="menu">
<?php
foreach($menuList as $i => $menuInfo){
if($menuSelected == $menuInfo['url_section']){
$imgSrc = "hide";
$style = "";
}else{
$imgSrc = "more";
$style = 'none';
}
$button = "i... | PHP | themes/simple/views/adminpanel/adminleftmenu.ctp.php | CreaoticX/Seo-Panel | gpl-2.0 | 8,855 | 197 | codeparrot/github-code |
d9e3dbd67e45d1929b0d1539d19faf3cdc870822c0c40945b5bcb2abe9b7db51 | =begin #(fold)
++
Copyright 2004-2007 Joyent Inc.
Redistribution and/or modification of this code is
governed by the GPLv2.
Report issues and contribute at http://dev.joyent.com/
$Id$
--
=end #(end)
class Organization < ActiveRecord::Base
validates_presence_of :name
validates_presence_of :affiliate_id
bel... | Ruby | app/models/organization.rb | jacques/connector | gpl-2.0 | 4,691 | 175 | codeparrot/github-code |
39ce425119d21d7b583b76a677ad0ac6a0887bd316ca5a7771792311cb4587ba | <?php
/**
* anchorage Theme Modification API
*
* Sets up some helper functions for WP's theme-mod api, which then would be used by child themes
*
* @package WordPress
* @subpackage anchorage
* @since anchorage 1.0
*/
/**
* A global array to which child themes can add values. These values will be parsed by... | PHP | wp-content/themes/anchorage/inc/customization.php | joeross/blog.joeross.me | gpl-2.0 | 5,757 | 172 | codeparrot/github-code |
df2a9bbcec26c3720a7eb9d6566dacf3b5ca684720e6c4cc51f819d52a90fc1f | <?php
/**
* This file is part of http://github.com/LukeBeer/BroadworksOCIP
*
* (c) 2013-2015 Luke Berezynskyj <eat.lemons@gmail.com>
*/
namespace BroadworksOCIP\api\Rel_17_sp4_1_197_OCISchemaAS\OCISchemaSystem;
use BroadworksOCIP\Builder\Types\ComplexInterface;
use BroadworksOCIP\Builder\Types\ComplexType;
use... | PHP | src/BroadworksOCIP/api/Rel_17_sp4_1_197_OCISchemaAS/OCISchemaSystem/SystemPortalPasscodeRulesGetRequest.php | paericksen/broadworks-ocip | gpl-2.0 | 1,173 | 37 | codeparrot/github-code |
d927964782c947a2d01869e5a58b19e3547fead15fdaa2109a241046a4d9f9b2 | /* Subroutines needed for unwinding IA-64 standard format stack frame
info for exception handling.
Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
Contributed by Andrew MacLeod <amacleod@cygnus.com>
Andrew Haley <aph@cygnus.com>
David Mosberger-Tang <davidm@h... | C | gcc/config/ia64/unwind-ia64.c | acassis/xap-gcc | gpl-2.0 | 60,806 | 2,288 | codeparrot/github-code |
c6ec706851c4072b64372a16577cd6da7f335752ce5280d837a2cfd888cb6220 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Guitarmonics.AudioLib.Player;
using Guitarmonics.GameLib;
using Guitarmonics.GameLib.Model;
using Microsoft.Xna.Framework.Input;
using System.Configuration;
namespace Guitarmonics.GameLib.Controller
{
public enum EnumGameRo... | C# | source/ScienceHackDay2013/XnaGuitarDance/Guitarmonics.GameLib/Controller/GtGameRoundController.cs | FabricioMatos/guitarmonics | gpl-2.0 | 13,069 | 381 | codeparrot/github-code |
c1a4afa6fc4159a7bf7f73cb51c1ead5bd3e72111176a73b2fc099bd00689ef6 | using System;
using System.Linq;
using LeagueSharp;
using LeagueSharp.Common;
using Triton.Constants;
using Triton.Logic;
namespace TriKatarina.Logic.Thoughts
{
class AnalyzeThought : ParallelThought
{
public override bool ShouldActualize(object contextObj)
{
return true;
... | C# | TriKatarina/Logic/Thoughts/AnalyzeThought.cs | evilbaby/HuyNK-Ass | gpl-2.0 | 949 | 32 | codeparrot/github-code |
adb65fc5985c91f2ed813b88c7e3d60fd918a8afc22018f55c8a637cd46dd175 | /*
* arch/arm/mach-tegra/board-norrin-power.c
*
* Copyright (c) 2013-2014 NVIDIA Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This p... | C | arch/arm/mach-tegra/board-norrin-power.c | christianjann/L4T_PREEMPT_RT | gpl-2.0 | 10,438 | 401 | codeparrot/github-code |
b8af82f814d3f6541e4a834cc11d52f5b898c0978cf90ae31d48bc0c3e5725c1 | // disk_ripper.h
//
// CD Disk Ripper Dialog for Rivendell
//
// (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.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 Found... | C | rdlibrary/disk_ripper.h | ElvishArtisan/rivendell | gpl-2.0 | 3,997 | 136 | codeparrot/github-code |
3ff50519a3b75effd37394f45f5dabc22254f372be2fa4dddee078b6cf037e62 | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
This software is distributed under the GNU General Public License.
See t... | C++ | src/USER-OMP/pair_dpd_omp.cpp | tm1249wk/WASHLIGGGHTS-2.3.7 | gpl-2.0 | 5,825 | 215 | codeparrot/github-code |
f8255f296aa13300a727a9bb368e473df28d2d7c30b76d149f6590a8b045b2bd | /*
* Delay loops based on the OpenRISC implementation.
*
* Copyright (C) 2012 ARM Limited
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in ... | C | arch/arm/lib/delay.c | wetek-enigma/linux-wetek | gpl-2.0 | 2,600 | 100 | codeparrot/github-code |
379bcd0b1a754f0e5bcfb2bcbb63c1c2da3dc7e649f78ddeaf34eddecae544f3 | /***************************************************************************
qgsgeometryselfintersectioncheck.h
---------------------
begin : September 2015
copyright : (C) 2014 by Sandro Mani / Sourcepole AG
email : smani at sourcepole dot ch
**************... | C | src/plugins/geometry_checker/checks/qgsgeometryselfintersectioncheck.h | drnextgis/QGIS | gpl-2.0 | 3,223 | 65 | codeparrot/github-code |
e5f330a6aea5dbc1cd4ef8eeddea021afe87abc58f23875772fbebd9ef11a92f | <?php
/*
Weaver II Pro Shortcodes - Version 1.0
COMMENT DISCLAIMER
ADMIN+CODE
This code is Copyright 2011 by Bruce Wampler, all rights reserved.
This code is licensed under the terms of the accompanying license file: license.html.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANT... | PHP | wp-content/themes/weaver-ii-pro/includes/pro/weaverii-pro-sc-disclaimer.php | jd101k2000/Veronica | gpl-2.0 | 2,991 | 75 | codeparrot/github-code |
b64fed22e333dbc5bf080c2d6f4be0ee1f706d96f73ad8ff8c43eb432fd68a2b | package org.wordpress.android.fluxc.network.xmlrpc.media;
import android.text.TextUtils;
import android.util.Base64;
import androidx.annotation.NonNull;
import com.android.volley.RequestQueue;
import com.android.volley.Response.Listener;
import com.android.volley.VolleyError;
import org.apache.commons.text.StringEs... | Java | fluxc/src/main/java/org/wordpress/android/fluxc/network/xmlrpc/media/MediaXMLRPCClient.java | wordpress-mobile/WordPress-Stores-Android | gpl-2.0 | 33,179 | 698 | codeparrot/github-code |
c1390f366c6be17ecb6ab6baac20b332eef7f742f492c414c5025f5d470f75c6 | <?php
/*
* Copyright 2005-2015 Centreon
* Centreon is developped by : Julien Mathis and Romain Le Merlus under
* GPL Licence 2.0.
*
* 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... | PHP | www/class/centreon-partition/mysqlTable.class.php | jben94/centreon | gpl-2.0 | 11,569 | 484 | codeparrot/github-code |
407a4adffedd516c74c64ea1cbcae30ecb080ee179a53398fd6aabed0b50c442 | /* Inline functions for dynamic linking.
Copyright (C) 1995-2005,2006,2008,2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the... | C | elf/dynamic-link.h | jjones-cavium/glibc | gpl-2.0 | 12,570 | 342 | codeparrot/github-code |
089786bbb50f8691258e3b913fcf9a1008c929bffded67804db399fc190963e8 | (function () {
angular
.module('jogTracker')
.controller('mainController', mainController);
mainController.$inject = [
'$scope',
'$log',
'$state',
'accountFactory',
'md5',
'notificationUtils'];
function mainController($scope, $log, $state, a... | JavaScript | SPAClient/src/js/controllers/mainController.js | willemodendaal/jog-tracker | gpl-2.0 | 2,115 | 66 | codeparrot/github-code |
fdc253bea7e94bf9a18c22ef3e5c18af36f6533fd7862ebb6cbcf050f1c5da73 | # -*- coding: utf-8 -*-
#
# Copyright (C) 2005 Ole André Vadla Ravnås <oleavr@gmail.com>
# Copyright (C) 2006 Ali Sabil <ali.sabil@gmail.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; ... | Python | papyon/gnet/parser.py | billiob/papyon | gpl-2.0 | 7,285 | 216 | codeparrot/github-code |
7cef7cc52e078e6db80706a76441f71ec30b1d9fbdf71b9d6dfacda1c686065a | /*
* Ping-pong among three threads
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <sthread.h>
static int ping = 0;
static int counter = 0;
static int t1_complete = 0;
static int t2_complete = 0;
static int t3_complete = 0;
void *thread_1(void *);
void *thread_2(void *);
void *thread_3(v... | C | test-sthreads/escalonamento-02.c | joaomlneto/so-sthreads | gpl-2.0 | 1,605 | 100 | codeparrot/github-code |
ceccb08f12d0ac8338745de043781df366022bd35d4760c29f40050cb2585c5a | /*
AlceOSD - Graphical OSD
Copyright (C) 2015 Luis Alves
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 the License, or
(at your option) any later versio... | C | firmware/alce-osd.X/widgets/wind.c | ljalves/alceosd | gpl-2.0 | 3,757 | 130 | codeparrot/github-code |
adb739ef2b8508bc7fd72ca7c31a7ca0ce015927878dd85a5eca26e50a3c2952 | <?php
/**
* ACF 4 Field Class
*
* This file holds the class required for our field to work with ACF 4
*
* @author Daniel Pataki
* @since 3.0.0
*
*/
/**
* ACF 4 Role Selector Class
*
* The role selector class enables users to select roles. This is the class
* that is used for ACF 4.
*
* @author Daniel Pat... | PHP | acf-role_selector-v4.php | wp-plugins/acf-role-selector-field | gpl-2.0 | 6,950 | 244 | codeparrot/github-code |
9ffda9967d10b853b134595ca41a0f7ca1577d810b0996dabfce0f6e53d5bdc3 | /*****************************************************************************
*
* XVID MPEG-4 VIDEO CODEC
* - Motion Compensation related code -
*
* Copyright(C) 2002 Peter Ross <pross@xvid.org>
* 2003 Christoph Lampert <gruel@web.de>
*
* This program is free software ; you can redistribute ... | C | src/motion/motion_comp.c | ShiftMediaProject/xvid | gpl-2.0 | 13,977 | 430 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.