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
47385f2a1ca52d9a1c375ffeb2b0267fd5c2447ab48169a01c3871cc0e5a0657
import chimera.core.log from chimera.core.remoteobject import RemoteObject from chimera.core.exceptions import ChimeraException from chimera.core.version import _chimera_name_, _chimera_long_description_ from chimera.util.coord import Coord from chimera.util.position import Position from chimera.util.filenamesequenc...
Python
src/chimera/util/image.py
wschoenell/chimera_imported_googlecode
gpl-2.0
13,397
458
codeparrot/github-code
213e7caf05cc9cc69d364475b95146a18544856bb6697dd6399e35ba4e841c3a
/** * @file * Artificial intelligence - The computer commands the enemy. */ #include "ai.hpp" #include "../actions.hpp" #include "../manager.hpp" #include "../formula/ai.hpp" #include "../../array.hpp" #include "../../dialogs.hpp" #include "../../game_events/pump.hpp" #include "../../gamestatus.hpp" #include "../...
C++
.MCLP_graveyard/monte/ai.cpp
cbeck88/Wesnoth_MCLP_AI
gpl-2.0
1,809
84
codeparrot/github-code
176ffc2308b8361359f5924d2e1e5697d74dba4f7486bbe6c2dfb88e8edac05c
<?php if(!defined('ABSPATH')) die('Direct access is not allowed.'); /* * SocialBox 1.7.0 * Copyright by Jonas Döbertin * Available only at CodeCanyon: http://codecanyon.net/item/socialbox-social-wordpress-widget/627127 */ class JD_SocialBoxHelper{ /** * Return an array of all supported networks * * @ret...
PHP
wp-content/plugins/socialbox-plugin/classes/SocialBoxHelper.php
iqbaljayadi/bloggoodco
gpl-2.0
987
48
codeparrot/github-code
cb5c82b77fa092a8b7013359e42e24c55bccc99ec77a89b2fba4925512a66109
/* ################################################################################## Written by David Brandyberry, University of Illinois at Urbana-Champaign All rights reserved Last Updated March 2017 ################################################################################## */ #ifndef _SENSITIV...
C
include/SensitivityShapeParameter.h
brandyb2/PIGFEM
gpl-2.0
3,703
87
codeparrot/github-code
4cbf0c36ee475fc49cb86c9f8117445afe7af42e9b5c1126028dd8d3b1de7525
require 'digest/md5' require 'digest/sha1' # @private module Watobo#:nodoc: all module Modules module Active module Sqlinjection class Sql_numerical < Watobo::ActiveCheck @info.update( :check_name => 'Numerical SQL-Injection', # na...
Ruby
modules/active/sqlinjection/sql_numerical.rb
siberas/watobo
gpl-2.0
6,455
142
codeparrot/github-code
ade9ecff9d9d9f21389bee1be8bac42933132743e5ceedea5e5ad3ecbdfd193f
<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>schrodinger.pipeline.stage</title> <link rel="stylesheet" href="epydoc.css" type="text/css"...
HTML
Schrodinger/Schrodinger_2015-2_docs/python_api/api/schrodinger.pipeline.stage-module.html
platinhom/ManualHom
gpl-2.0
15,091
425
codeparrot/github-code
6347d3052c8e5ce68cc2c5fe03cd809ad931cb54c58696d4a0b451adbef9beb4
package org.ecocean.media; import org.ecocean.mmutil.MediaUtilities; public enum MediaAssetType { UNKNOWN(0), IMAGE(1), VIDEO(2), GPS(3); private int code; MediaAssetType(final int code) { this.code = code; } public static MediaAssetType fromCode(final int code) { fo...
Java
src/main/java/org/ecocean/media/MediaAssetType.java
WildbookOrg/Wildbook
gpl-2.0
1,059
56
codeparrot/github-code
3e2ee85a3bdffda3d0cb05bb61ab751b409738a90caa37bb3f0281069a93624e
<?php // // Created on: <16-Apr-2002 11:00:12 amos> // // ## BEGIN COPYRIGHT, LICENSE AND WARRANTY NOTICE ## // SOFTWARE NAME: eZ Publish // SOFTWARE RELEASE: 4.4.0 // COPYRIGHT NOTICE: Copyright (C) 1999-2010 eZ Systems AS // SOFTWARE LICENSE: GNU General Public License v2.0 // NOTICE: > // This program is free soft...
PHP
kernel/class/grouplist.php
liberator44/kindle-publish
gpl-2.0
3,346
101
codeparrot/github-code
95e180dfd5c7b51799e898cb3e16424424211cc7cc96827f99e859d8b71e3678
<?php /** * PHP Sandbox * * @link https://github.com/amcgowanca/php-sandbox * @copyright Copyright (c) 2013 McGowan Corp. (http://www.mcgowancorp.com) * @license https://github.com/amcgowanca/PHP-Sandbox/blob/master/LICENSE.txt */ namespace PhpSandbox\Compiler; use PhpSandbox\Exception; use PhpSandbox\Compiler\...
PHP
src/PhpSandbox/Compiler/SymbolTable.php
jeremymills/PHP-Sandbox
gpl-2.0
2,305
101
codeparrot/github-code
0e138af4720c5045ac1f665d8fd0caec3de505bc6af0c7f64389a85f286f2412
/* FWnull * Copyright (C) 2002-2010 PCSX2 Dev Team * * PCSX2 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 Found- * ation, either version 3 of the License, or (at your option) any later version. * * P...
C++
plugins/FWnull/Windows/Win32.cpp
KitoHo/pcsx2
gpl-2.0
2,720
104
codeparrot/github-code
5d675ae7415ddca1cd7258eaf9b4921ccbe4d29aea61344dccc48824f59ae4ce
import { Gridicon } from '@automattic/components'; import { Fragment } from 'react'; import { ButtonRow, Continue, makeTour, Quit, SiteLink, Step, Tour, } from 'calypso/layout/guided-tours/config-elements'; import { getPluginOnSite, isRequesting } from 'calypso/state/plugins/installed/selectors'; import { getSel...
TypeScript
client/layout/guided-tours/tours/jetpack-plugin-updates-tour/index.tsx
Automattic/wp-calypso
gpl-2.0
2,768
99
codeparrot/github-code
a1ca5cfaf5ad95d882304ff7fb7fe641ab0121261c37f641aa6f9dac3a39717f
<?php /** * @version $Id: mod_pathway.php 85 2005-09-15 23:12:03Z eddieajau $ * @package Joomla * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * Joomla! is free software. This version may have been modified pursuant * to...
PHP
administrator/modules/mod_pathway.php
foresitegroup/sherwin
gpl-2.0
1,262
44
codeparrot/github-code
7346b1ec433a3c045f9e75fb6de6c86d30a3717f0ea118a31f94b74983dcea9c
module Puppet::Network::HTTP end require 'puppet/network/http/api/v1' require 'puppet/network/rest_authorization' require 'puppet/network/rights' require 'resolv' module Puppet::Network::HTTP::Handler include Puppet::Network::HTTP::API::V1 include Puppet::Network::RestAuthorization attr_reader :server, :...
Ruby
lib/puppet/network/http/handler.rb
mikepea/pkg-puppet-debian
gpl-2.0
7,489
230
codeparrot/github-code
6ac615fb1c058e536f480b29bd26d4f700eb83d7e187c10f8e7bdd00e8404d7b
<?php /** * @package AkeebaTicketSystem * @copyright Copyright (c)2011-2015 Nicholas K. Dionysopoulos * @license GNU General Public License version 3, or later */ namespace Akeeba\TicketSystem\Site\View\Mies; use Akeeba\TicketSystem\Admin\Helper\Permissions; use Akeeba\TicketSystem\Site\Model\Tickets; define...
PHP
components/com_ats/View/Mies/Html.php
zanderkyle/zandergraphics
gpl-2.0
1,157
44
codeparrot/github-code
1e9c65b2166b6e1f3a1565766d43579f2bfcd658083eb415969dacaaaeb819dd
#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 late...
C
xbmc/video/windows/GUIWindowFullScreen.h
koying/xbmc-vidonme
gpl-2.0
3,183
95
codeparrot/github-code
587034d2c7888e97f90d886b11bb1644a3c7afd056037ba94e7bea73a9a1d7c4
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- #if !UNITY_EDITOR && (UNITY_IPHONE || UNITY_ANDROID || UNITY_WP8 || UNITY_BLACKBERRY) #define MOBILE #endif using UnityEngine; using Sys...
C#
Assets/NGUI/Scripts/UI/UIInput.cs
ddionisio/WreckingWhore
gpl-2.0
27,196
1,216
codeparrot/github-code
528c18a36b66b03685949b27b615cd6422ae0edc2b9f1786fc55948f1cd9a4ce
<?php /** * @file * * $author Link to author profile. * $comment (object) Comment object as passed to the theme_comment function. * $content Content of link. * $date Formatted date for post. * $directory The directory the theme is located in, e.g. themes/garland or themes/garland/minelli. * $id The sequen...
PHP
sites/all/themes/joinup/templates/comment/comment-topic.tpl.php
Openroadvietnam/openroad
gpl-2.0
2,679
59
codeparrot/github-code
40c3d34514d81a6cb89e41b3271732a40477087295e808a82f588b47cd195717
/* $Id:template-drv.cpp 540 2007-08-20 07:51:56Z mindstorm2600 $*/ /* * 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++
SQL/drivers/template_drv/template-drv.cpp
coredumped/X-VR2
gpl-2.0
12,128
389
codeparrot/github-code
016718cd532e1ff1987817b0f9d7dde7dbcf4f38a8e90f4d01fc0380010e708f
<!DOCTYPE html> <!--[if IE 7]><html lang="sk" class="no-js ie7"><![endif]--> <!--[if IE 8]><html lang="sk" class="no-js ie8"><![endif]--> <!--[if gt IE 8]><!--> <html lang="sk" class="no-js"> <!--<![endif]--> <head> <meta charset="utf-8" /> <!-- Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW) w...
HTML
sites/all/libraries/wet-boew/demos/theme-wet-boew/sk/cont-nosearchlangsitemenubc-sk.html
ccatalina/modulemonday
gpl-2.0
8,568
213
codeparrot/github-code
b74b07e60292a032ef37cf4e29960d3eea03711547c6572a2f6e1fa977f8803c
<?php class WCML_Cart { private $woocommerce_wpml; private $sitepress; public function __construct( &$woocommerce_wpml, &$sitepress ) { $this->woocommerce_wpml = $woocommerce_wpml; $this->sitepress = $sitepress; //cart widget add_action( 'wp_ajax_woocommerce_get_refres...
PHP
wp-content/plugins/woocommerce-multilingual/inc/class-wcml-cart.php
davydavv/carodech2
gpl-2.0
12,301
247
codeparrot/github-code
4f68f37e0bb1c40f48526cdee71fe2fb976971583d083394c1cc64c6c186a6f1
# -*- coding: utf-8 -*- """Error controller""" from tg import request, expose from wiki20.lib.base import BaseController __all__ = ['ErrorController'] class ErrorController(BaseController): """ Generates error documents as and when they are required. The ErrorDocuments middleware forwards to ErrorContro...
Python
py/wiki20/wiki20/controllers/error.py
tdsticks/crontab
gpl-2.0
1,250
39
codeparrot/github-code
99aa8373ae9e91c6fd4601694858c3ff2c116910f9d1b63633d415c8b31b59d0
/* * Copyright (C) 2008 David Müller, <d.mueller@elsoft.ch> * * This program is free software; you can redistribute it and/or modify * it under the terms of the version 2 of the GNU General Public License * as published by the Free Software Foundation * * This program is distributed in the hope that it will be u...
C
drivers/net/can/sja1000/pipcan.c
danguria/linux-kernel-study
gpl-2.0
5,131
213
codeparrot/github-code
9c739b83524ef3f7188e41327aa5fe94ad302e3b3a8e95f309f8024dfbfa75db
using System; using System.Diagnostics; using System.IO; using System.IO.Compression; using System.Reflection; using System.Threading.Tasks; using Xamaridea.Core.Extensions; namespace Xamaridea.Core { public class AndroidProjectTemplateManager { public const string AndroidTemplateProjectResourceName = "Xamaridea....
C#
Xamaridea.Core/AndroidProjectTemplateManager.cs
benoitjadinon/Xamaridea
gpl-2.0
4,629
144
codeparrot/github-code
ecb5b277fa85e2d464246a6e6dcd398478af3b47c2012a0cddc98cb797d01988
// main86.cc is a part of the PYTHIA event generator. // Copyright (C) 2017 Torbjorn Sjostrand. // PYTHIA is licenced under the GNU GPL version 2, see COPYING for details. // Please respect the MCnet Guidelines, see GUIDELINES for details. // This program is written by Stefan Prestel. // It illustrates how to do UMEPS...
C++
examples/main86.cc
vikasnt/pythia8
gpl-2.0
12,387
351
codeparrot/github-code
83cb687c776864bbca8d4810a5fd954ff0a6c9a586b10adb8d74d8e187b21d3b
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * Additional copyright for this file: * Copyright (C) 1994-1998 Revolution Software Ltd. * * ...
C++
engines/sword2/memory.cpp
tramboi/scummvm-test
gpl-2.0
6,773
251
codeparrot/github-code
f89887ab9573d7b618cb40468b0b04b776b7bb69549d12184ab4735ca104a1f3
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C++
engines/wage/saveload.cpp
blorente/scummvm
gpl-2.0
25,730
777
codeparrot/github-code
0f6d5a9ce0a65bbf03000660860c006d736c3867b01fa2e239004e71816a87c9
/* * Copyright (c) 2005-2010 Brocade Communications Systems, Inc. * All rights reserved * www.brocade.com * * Linux driver for Brocade Fibre Channel Host Bus Adapter. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License (GPL) Version 2 a...
C
drivers/scsi/bfa/bfa_ioc.c
serj/kernel_graph_2.6.32_rhel
gpl-2.0
61,455
2,773
codeparrot/github-code
73e1778865f63c4a72b52fe444eab411f508a38f738dab0599363e673f2f56c9
#ifndef __VCR_H__ #define __VCR_H__ #include "../config.h" #ifdef VCR_SUPPORT #ifndef __WIN32__ # include "winlnxdefs.h" #else # include <windows.h> #endif #include "plugin.h" extern void VCR_getKeys( int Control, BUTTONS *Keys ); extern void VCR_updateScreen(); extern void VCR_aiDacrateChanged( int SystemType );...
C
main/vcr.h
cxd4/mupen86
gpl-2.0
714
35
codeparrot/github-code
00b201a6f9a4b748a960952034f5085221c4f75ea1d83532d2d1ad742cb39b36
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C
engines/sci/graphics/palette.h
pdpdds/scummvm
gpl-2.0
4,821
158
codeparrot/github-code
68e9ef65e149b3b6ba067e1982c06606e1e4fbdf6d4704857a19cf0dbf2bcf95
#include <ets_sys.h> #include <osapi.h> #include <os_type.h> #include <gpio.h> #include <ip_addr.h> #include <espconn.h> #include <user_config.h> #include <user_interface.h> #include <mem.h> #include "driver/uart.h" #include "user_tcpserver.h" #include "user_settings.h" #include "user_webserver.h" /* ...
C
user/user_main.c
MF-Technik/Wlan-Steckdose
gpl-2.0
5,713
198
codeparrot/github-code
8d149d07f22f4b2851d4c92810a3b84b74a87bb760ce4dc7cb152794641d4276
/* * 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 saveSystem; import Controleur.Controleur; import Modèle.Bloc; import Modèle.BlocAllumerPin; import Modèle.BlocAttendre; impor...
Java
src/saveSystem/AccesXML.java
FunLABGIT/FunArduino
gpl-2.0
23,628
655
codeparrot/github-code
9e4aa03fcdb096b487f2fb0060906de98f9acc4186fa6e9348a3313d92c5886d
# -*- coding: utf-8 -*- from Plugins.Extensions.MediaPortal.plugin import _ from Plugins.Extensions.MediaPortal.resources.imports import * def flyflv(self, data): parse = re.search('config: "(.*?)"', data, re.I) if parse: urlparts = re.findall("http://www.flyflv.com(.*?)\?e=(\d+)&ip=(.*?)$", parse.group(1)) if ...
Python
lib/python/Plugins/Extensions/MediaPortal/resources/hosters/flyflv.py
n3wb13/OpenNfrGui-5.0-1
gpl-2.0
6,494
154
codeparrot/github-code
68e1130f37352103ec99f50fc6c1ce7abe676d7c2057e48b4d3c1665e93bd070
/****************************************************************************** * * (C)Copyright All Rights Reserved by Telechips Inc. * * This material is confidential and shall remain as such. * Any unauthorized use, distribution, reproduction is strictly prohibited. * *********************************************...
C
arch/arm/mach-tcc893x/vioc/vioc_vin.c
Frank77GLD/android_kernel_YG_m805_892x
gpl-2.0
8,441
255
codeparrot/github-code
95cdfd281eb026de009796f19d8bdb57b53b961296d5ecffe5ed0ba560a3ab96
#ifndef UP_SYS_UTIL_H #define UP_SYS_UTIL_H #ifndef __BREW__ #include <string.h> #include <stdlib.h> #include <stdio.h> #endif #include "um.h" #ifdef __cplusplus extern "C"{ #endif //#define UP_USE_UID_AS_DEVICE_ID typedef enum { UP_CONN_MODE_BLUETOOTH, UP_CONN_MODE_EDGE, UP_CONN_MODE_ETHERENT, UP_...
C
projects/stagefright/jni/src/utils/up_sys_util.h
luquanhong/MyCodec
gpl-2.0
1,519
68
codeparrot/github-code
1b2c13dbd1ef96035e74d6d328ac03cfc1c6bf78472c21ac88854b9f6cf89d37
/* * @(#)Keys.java - static, fixed keys * * Copyright (c) 2005-2013 by dvb.matt, All rights reserved. * * This file is part of ProjectX, a free Java based demux utility. * By the authors, ProjectX is intended for educational purposes only, * as a non-commercial test project. * * * This program is free soft...
Java
src/sk/vzahradn/dvb/projectx/common/Keys.java
vladimir-zahradnik/Project-X
gpl-2.0
31,730
474
codeparrot/github-code
1004c0bf59e31e91e1b017927a91ffd706005d0bb5c15d50faf7113319e90a61
<?php namespace Framework; class BigBang{ private $url; private $file_class_method_parameters; public function __construct() { $this->get_url(); $this->acelerate_return_inexistente_file(); if(!empty($this->return_false)){ http_response_code (404); return false; } if(empty($this->url[0])) { $th...
PHP
framework/BigBang.php
felideo/SianiMVC
gpl-2.0
4,311
159
codeparrot/github-code
e844a67b03ab882b3366842c4aa61de07b495256fc9ea38fec46a9d251b65039
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * Implementation of the Transmission Control Protocol(TCP). * * Authors: Ross Biro * Fred N. van Kempen, <wa...
C
net/ipv4/tcp.c
ShogoFujii/PS-MPTCP
gpl-2.0
85,245
3,259
codeparrot/github-code
30e1362102dd04bb38e46890884fe843317e69e788fd8cc419c49098e8401914
//============================================================================= // // ecos-eyaffs.c // // eyaffs interface to the eCos filesystem layer // //============================================================================= // ####ECOSGPLCOPYRIGHTBEGIN#### ...
C
packages/fs/yaffs/current/src/ecos-yaffs.c
micro2440/ecos_s3c2440
gpl-2.0
33,382
1,058
codeparrot/github-code
727e34e0637390334b16eb04b8cf3522b81fc4faf7b4d92020d338a1279afab3
// bench.cpp - written and placed in the public domain by Wei Dai #include "pch.h" #include "crc.h" #include "adler32.h" #include "md2.h" #include "md5.h" #include "md5mac.h" #include "sha.h" #include "haval.h" #include "tiger.h" #include "ripemd.h" #include "panama.h" #include "idea.h" #include "des.h" #include "rc2...
C++
deps/crypto++/include/bench.cpp
yeyouqun/gimu
gpl-2.0
24,611
655
codeparrot/github-code
916327f1e7090bb6375aaea7cf0cbe0f9dfedc6d21d000e826c0f142883f4167
///////////////////////////////////////////////////////////////////////////// // Name: src/x11/app.cpp // Purpose: wxApp // Author: Julian Smart // Modified by: // Created: 17/09/98 // RCS-ID: $Id: app.cpp 61713 2009-08-20 00:01:55Z VZ $ // Copyright: (c) Julian Smart // Licence: wxWindow...
C++
ap/gpl/amule/wxWidgets-2.8.12/src/x11/app.cpp
hajuuk/R7000
gpl-2.0
23,895
835
codeparrot/github-code
6d4909d302c8cd0521d534011cf748ffdb86d5741ec383740f160cb7bab06f81
/** * Helper for showing/hiding an element based on an input's value */ jQuery(document).ready(function($){ var setupDependents = function(){ var dependent = $(this); var depends_on = dependent.attr('data-depends-on'); var value_is = dependent.attr('data-depends-value'); var value_is_not =...
JavaScript
wp-content/plugins/memberful-wp/js/admin.js
SiliconHarlem/SiliconHarlem
gpl-2.0
1,742
62
codeparrot/github-code
fa2e84061916161828487a59dcc19471ddba0ce213252783e97ae82451967bec
/* $Id$ */ /* * This file is part of OpenTTD. * OpenTTD 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. * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
C++
src/newgrf_debug_gui.cpp
koreapyj/openttd-yacd
gpl-2.0
29,296
866
codeparrot/github-code
1d65784950528d97c8ecc70c06aa9ab58eeaeb676402e587305595b3b1914d73
# -*- coding: utf-8 -*- ## ## This file is part of Invenio. ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 CERN. ## ## Invenio is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either ve...
Python
modules/bibformat/lib/elements/bfe_ILO_conventions_link.py
labordoc/labordoc-next
gpl-2.0
1,688
52
codeparrot/github-code
d08228ebb63c40810b13bb1bcac6fb97368e6820d6f85dfa2d814a46fe04596f
<?php /** * @category WordPress_Plugin * @package Gallery_Grid_Option * @author Jared Cornwall * @license GPL-2.0+ * * Plugin Name: Gallery Grid Option * Plugin URI: https://github.com/jaredkc/wp-gallery-grid-option * Description: Extends the default WordPress [gallery] shortcode. Adds s...
PHP
gallery-grid-option.php
jaredkc/gallery-grid-option
gpl-2.0
3,566
143
codeparrot/github-code
63be6c0f808f16218dc7c5aa94202c80641f199cbdc91f9cc3e64b3ed967365d
/* * Broadcom Dongle Host Driver (DHD), Linux-specific network interface * Basically selected code segments from usb-cdc.c and usb-rndis.c * * Copyright (C) 1999-2009, Broadcom Corporation * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software,...
C
drivers/net/wireless/bcm4325/dhd_linux.c
fards/DellStreak5-GingerBread
gpl-2.0
64,643
2,617
codeparrot/github-code
ed872e054f9579e96a220fbcd5fcf6e525eb4810037a0eff85e871c99b8d7643
#ifndef DELIVERYTEMPLATESGETREQUEST_H #define DELIVERYTEMPLATESGETREQUEST_H #include <TaoApiCpp/TaoRequest.h> #include <TaoApiCpp/TaoParser.h> #include <TaoApiCpp/response/DeliveryTemplatesGetResponse.h> /** * TOP API: 根据用户ID获取用户下所有模板 * * @author sd44 <sd44sdd44@yeah.net> */ class DeliveryTemplatesGetRequest : p...
C
TaoApiCpp/request/DeliveryTemplatesGetRequest.h
sd44/TaobaoCppQtSDK
gpl-2.0
1,337
61
codeparrot/github-code
4cf4c10881b34e4d738a1995b1e108ca5ba2927cd0e7eb1dca9148511c9d79c1
<?php class PhalanxStatsPager extends PhalanxPager { public $qCond = ''; public $pInx = ''; public function __construct( $id ) { parent::__construct(); $this->id = (int) $id; $this->mDb = wfGetDB( DB_SLAVE, array(), $this->app->wg->StatsDB ); $this->mDefaultQuery['blockId'] = $this->id; $this->qCond = 'ps...
PHP
extensions/wikia/PhalanxII/classes/PhalanxStatsPager.class.php
SuriyaaKudoIsc/wikia-app-test
gpl-2.0
1,543
58
codeparrot/github-code
1a1f07dfae5d31b986374b661d29237f96ccbace0b79de874cfd564ce5ec69d5
#include "MetricWiseMeasurer.h" #include "DataStructures/Mesh.h" #include "Samplers/AbstractSampler.h" #include "Evaluators/AbstractEvaluator.h" const double DIFF_THRESHOLD = 0.01; void installCudaMetricWiseMeasurer(); MetricWiseMeasurer::MetricWiseMeasurer() : AbstractMeasurer( "Metric Wise", ...
C++
Measurers/MetricWiseMeasurer.cpp
wibus/GpuMesh
gpl-2.0
7,317
256
codeparrot/github-code
e567aefb2b4b395862d59b39785dd3a7e09bf980ef8579c0f6bab5e082bb13e3
/* * Decompiled with CFR 0_123. */ package com.mojang.escape.gui; import com.mojang.escape.Art; import com.mojang.escape.Game; import com.mojang.escape.entities.Entity; import com.mojang.escape.entities.Player; import com.mojang.escape.gui.Bitmap; import com.mojang.escape.gui.Sprite; import com.mojang.escape.level.L...
Java
apps/PoC/src/main/java/com/mojang/escape/gui/Bitmap3D.java
Pugduddly/enderX
gpl-2.0
13,779
346
codeparrot/github-code
9ff5698ab88d363280824c78e2df1e78e76b39a5ac0fd5d88d3e457d86adeb6f
/** * OWASP Benchmark Project v1.2beta * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The OWASP Benchmark is free software: you can redistribu...
Java
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest01393.java
ganncamp/Benchmark
gpl-2.0
3,762
93
codeparrot/github-code
a69a218c03d4d61a66ec749cb46cd9b040d074c2093804f4a464abe730a15c45
// Copyright (c) 2012, Rick Maddy // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, this // list of conditions an...
Java
TMessagesProj/src/main/java/org/telegram/PhoneFormat/PhoneRule.java
Blaez/ZiosGram
gpl-2.0
3,842
102
codeparrot/github-code
76ef9df54996501e94278ded0866645e21626e6ea89360396fac05364d6b9415
<?php Yii::import('application.modules.user.controllers.YumController'); Yii::import('application.modules.user.models.*'); Yii::import('application.modules.role.models.*'); class YumPermissionController extends YumController { public $defaultAction = 'admin'; public function accessRules() { return array( ar...
PHP
modules/boxomatic/modules/role/controllers/YumPermissionController.php
snapfrozen/boxomatic
gpl-2.0
2,133
80
codeparrot/github-code
3d6d74ddb6a71459796e248ca97689e7ee2ebff3defd97ee694be8fea055ec7b
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="generator" content="JsDoc To...
HTML
www/components/webodf/docs/symbols/gui.ParagraphBoundaryScanner.html
mobwellacademy/librecademy
gpl-2.0
22,526
731
codeparrot/github-code
b524666e16eda3e36490db3dc6e42349788a9c6861b5338efbb13278b106b8c0
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package interface_prediction_dca_crf; import Common.ColPairAndScores.ColPair_Score; import Common.MyIO; import Common.StaticMethod; import LinearAlgebra.FloatMatrix; import Protein.NewProteinComplexSkeleton; import Stat...
Java
src/interface_prediction_dca_crf/AdjustIndex2ResNum.java
dtklinh/Interface_Prediction_DCA_CRF
gpl-2.0
8,870
195
codeparrot/github-code
19968908c92619abce52040b5e2f8b0308a06095cda8c6d3c332e0fafe11c7d2
<?php /* __ * _| |_ * ____ _ _ __ __ _ __ __ ____ |_ _| * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ ...
PHP
src/pocketmine/level/generator/populator/GroundCover.php
PocketMinePlusPlus/PocketMinePlusPlus
gpl-2.0
2,746
66
codeparrot/github-code
42990643c808298522bf5c0ff23fde4cedae1e6b1de1a21390ae8bcb28f092c4
/* (C) 1999-2001 Paul `Rusty' Russell * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> * (C) 2008 Patrick McHardy <kaber@trash.net> * * 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...
C
net/ipv4/netfilter/nf_nat_proto_udplite.c
jeffegg/beaglebone
gpl-2.0
2,871
100
codeparrot/github-code
560121e6fd3d0aab48c031832df51a302c304b1768a2ce32f7dc72c503dfd956
/*************************************************************************** * Copyright (C) 2008-2014 by Andrzej Rybczak * * electricityispower@gmail.com * * * * This pr...
C++
src/playlist.cpp
dpayne/ncmpcpp-colorful
gpl-2.0
9,572
383
codeparrot/github-code
4f219378b752e83fa1990f95cb2e68ea1bde21d23e370e5c7961200548594ff7
<?php /** * File containing the ScopeChangeEvent class. * * @copyright Copyright (C) 1999-2014 eZ Systems AS. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2 * @version //autogentag// */ namespace eZ\Publish\Core\MVC\Symfony\Event; use eZ\Publish\Core\MVC\Sy...
PHP
eZ/Publish/Core/MVC/Symfony/Event/ScopeChangeEvent.php
glye/ezpublish-kernel
gpl-2.0
900
38
codeparrot/github-code
fd690c57036fbc7b407d7777c6fad0cbb7f151c2c4146fea0eeb7454dbd4d9f7
#ifndef CRYPTOPP_WINPIPES_H #define CRYPTOPP_WINPIPES_H #include "config.h" #ifdef WINDOWS_PIPES_AVAILABLE #include "network.h" #include "queue.h" #include <windows.h> NAMESPACE_BEGIN(CryptoPP) //! Windows Handle class WindowsHandle { public: WindowsHandle(HANDLE h = INVALID_HANDLE_VALUE, bool own=false); Window...
C
deps/crypto++/include/winpipes.h
yeyouqun/gimu
gpl-2.0
3,262
142
codeparrot/github-code
64466b91c3e2c663d12f52e1984a5d9cbb8d7d57f0d2b970ae2c33134a235bb9
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This software may be used and distributed according to the terms of the * GNU General Public License version 2. */ use anyhow::{Context, Error}; use bookmarks::{BookmarkUpdateLog, BookmarkUpdateLogEntry, Freshness}; use cloned::cloned; use context::CoreC...
Rust
eden/mononoke/commit_rewriting/commit_validator/src/tail.rs
facebookexperimental/eden
gpl-2.0
5,050
141
codeparrot/github-code
f747a8e6364cc46a163fda931d24c974129a254d203a5e50993a1ad40610ed1d
if(typeof String.prototype.trim !== 'function') { String.prototype.trim = function() { return this.replace(/^\s+|\s+$/g, ''); } } var PVCC = PVCC || { setCookie: function(cname,cvalue,exsecs) { var d = new Date(); d.setTime(d.getTime()+(exsecs*1000)); var expires = "...
JavaScript
web/static/js/ssbc.js
banwagong-news/ssbc
gpl-2.0
3,755
119
codeparrot/github-code
bdae4507d4e6401d510c61acaf040afa178a7aa5fbec03769e821bfb2bc9dfab
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="ru"> <head> <title>Uses of Class org.apache.poi.poifs.property.Property (POI API Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" ...
HTML
lib/docs/apidocs/org/apache/poi/poifs/property/class-use/Property.html
setu9760/Jade_project_repo
gpl-2.0
20,653
341
codeparrot/github-code
96bdee36b2c3260ec031f44600d806756949e301eb5c24e08a8318ccef9789d6
/* * player.h: The basic player interface * * See the main source file 'vdr.c' for copyright information and * how to reach the author. * * $Id: player.h 1.19 2006/01/06 11:29:27 kls Exp $ */ #ifndef __PLAYER_H #define __PLAYER_H #include "device.h" #include "osdbase.h" class cPlayer { friend class cDevice;...
C
player.h
signal2noise/vdr-mirror
gpl-2.0
4,331
92
codeparrot/github-code
835a68460de962c3c349c88230e379158553ab4aa33427df096b6e6f7c6f944e
/* This file is part of KOrganizer. Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org> Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com> Copyright (C) 2010 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.net> Author: Sergio Martins <sergio@kdab.com> This program is fr...
C
korganizer/datenavigatorcontainer.h
chusopr/kdepim-ktimetracker-akonadi
gpl-2.0
5,772
170
codeparrot/github-code
53da2ea16333395ef54618252db1d8bdba31b7b0603eed6f759bd8f2bdaaa21f
--空母軍貫-しらうお型特務艦 function c21293424.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,4,2) c:EnableReviveLimit() --apply the effect local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(21293424,0)) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCou...
Lua
c21293424.lua
Fluorohydride/ygopro-scripts
gpl-2.0
2,582
79
codeparrot/github-code
b368345cd06810428719f176a74c9eb29bf142262be3843dcb10a144a93e89fa
// // (c) Copyright: // X. Chen 2013 // // this 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. // // barion is distributed in the h...
C
setinfo.c
xaratustrah/time2root
gpl-2.0
4,146
144
codeparrot/github-code
eb49b98b33ebee5242c86ef65d8ce6a16316b586c7954414821d17f4cfe5d57a
/* ==================================================================== 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 Y...
C#
AL.Utils/Document/Excel/NPOI/HSSF/Record/Chart/ChartFRTInfoRecord.cs
alexchentao/AL.Web
gpl-2.0
3,958
125
codeparrot/github-code
b6ad7860ebe27134042c2f8ec8da1f8fbd17021154fe0bb3acd96a8884699a13
/* Copyright (C) 2012 Haowen Ning 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 the hope that...
Java
app/src/main/java/org/liberty/android/fantastischmemo/common/AMApplication.java
helloworld1/AnyMemo
gpl-2.0
2,909
92
codeparrot/github-code
c77fd7c9a55da46d3a4ce344bc77f7a09a62cd44587f819383887b028cca8c78
/* * Copyright (C) 2001-2013 Jacek Sieka, arnetheduck on gmail point com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later ...
C
dcpp/ClientManager.h
hjpotter92/dcplusplus
gpl-2.0
7,236
207
codeparrot/github-code
e98ac0268c178561c8b6e95a07ecdc0cdbf5b999d7f95cec2630fb9a95d02e0a
<!DOCTYPE html> <html lang="en-US"> <!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_keygen_get by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:04:15 GMT --> <head> <title>Tryit Editor v2.3</title> <meta id="viewport" name='viewport'> <script> (function() { if ( navigator.userAg...
HTML
Coding/W3School/W3Schools_Offline_2015/www.w3schools.com/jsref/tryit203f.html
platinhom/ManualHom
gpl-2.0
5,281
154
codeparrot/github-code
5fb96bf02e45cfc49f98f74524d65c22233c929db1c41c3c226960daa2a14914
<? /************************************************************************************************** * Archivo: OperacionPorHojaDeRuta.php * ------------------------------------------------------------------------------------------------ * Version: 1.0 * Descripcion: * Modificaciones: * - * * Nota: Registra...
PHP
src/base/servidor/Sysgran/Aplicacion/Entidades/Produccion/OperacionPorHojaDeRuta.php
marcelinoar/FrameworkWeb
gpl-2.0
3,762
133
codeparrot/github-code
17dc38f86a3ee01f54eb905f1d422d4de6ac2f7a03f031a3df4ee1adfe36013a
#!/bin/bash # VM to run program for Dev and PS # VM has it's own rpm repository and maven repo echo "Turning off SELinux" setenforce 0 grep -v setenforce /etc/rc.local && echo "setenforce 0" >>/etc/rc.local # Create local repository directory [ ! -d /var/localrepo ] && mkdir /var/localrepo [ ! -d /var/othersw ] && mk...
Shell
neueda/bin/citivm.sh
stevshil/vagrant
gpl-2.0
11,748
353
codeparrot/github-code
d6e5c62abd37bcddfa8d5f7e7f79ec148d3407bb35e08f9588f34607dc122dc0
/********************************************************************** * * FreeDoko a Doppelkopf-Game * * Copyright (C) 2001-2013 by Diether Knof and Borg Enders * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * publi...
C++
src/player/ai/new_code/heuristics.marriage.cpp
svenihoney/freedoko
gpl-2.0
49,336
1,314
codeparrot/github-code
f761304cdaaf113a376ac7533b403e66d9f4508d75a187a40598a1237e539996
/*========================================================================= Program: Visualization Toolkit Module: $RCSfile: vtkTemporalInterpolator.h,v $ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
C
deps/include/vtk-5.2/vtkTemporalInterpolator.h
erik132/MolekelCUDA
gpl-2.0
4,601
116
codeparrot/github-code
0d05686cf7e44b7e7cfce7c72284bb3d516e3fda0db2ba62d97e1b1afdfcb4a3
/**************************************************************************** * logging.cc: YafaRay Logging control * This is part of the yafray package * Copyright (C) 2010 Rodrigo Placencia Vazquez for original Console_Verbosity file * Copyright (C) 2016 David Bluecame for all changes to convert o...
C++
src/yafraycore/logging.cc
DavidBluecame/Core
gpl-2.0
18,220
468
codeparrot/github-code
497be87968b187253a720bd4f993d001b5f3d73e8659c830dbe0d8795e9ae26d
/* Copyright (C) 2000 MySQL AB 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 WITHOUT AN...
C++
drizzled/internal/iocache.cc
miurahr/drizzle
gpl-2.0
2,543
101
codeparrot/github-code
946d38e8ff5cbd51c4d42fa38802514833e64041b263d42053582b18f14fbc97
/* * abstractanchor.cpp * * Implementation of the AbstractAnchor object's methods. * * This file is distributed as part of Kroket. * Copyright (c) 2010 Nicolas BENOIT * * 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 ...
C++
src/abstractanchor.cpp
nbenoit/kroket
gpl-2.0
1,573
73
codeparrot/github-code
d6ee6b0eafe752ecc046cf781101729e17c8e4eb2ad6134f05b4685b3b5a4e6e
#ifndef INC_datadefsh #define INC_datadefsh /*--------------------------------------------------------------------------- FILENAME: datadefs.h PURPOSE: Provide the wview data definitions. REVISION HISTORY: Date Engineer Revision Remarks 08/24/03 M...
C
common/datadefs.h
oldelvet/wview
gpl-2.0
13,849
376
codeparrot/github-code
8d4692ebd22899bf7882e2513359d4abe50ee01903031273c5ae2b211321d785
package br.com.martinsdev.guiadeseries.util; import android.app.Activity; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; /** * Created by gabriel on 1/18/16. */ public class SearchSeriesDialog extends ProgressDialog { private int numberOfElements; ...
Java
app/src/main/java/br/com/martinsdev/guiadeseries/util/SearchSeriesDialog.java
gamartins/guiaseries
gpl-2.0
956
37
codeparrot/github-code
a600fc30d5b7af71aa10d14c1fb14900426abb37a56b54498134214e6e2700a8
# common.py: global variables # arch-tag: global variables # author: Alberto Griggio <agriggio@users.sourceforge.net> # license: GPL import wx import os, sys, locale, Image import threading __version__ = '0.6.1' if os.path.expanduser('~') != '~': bookmarks_file = os.path.expanduser('~/.cornice/bookmarks') co...
Python
common.py
labordus/cornice
gpl-2.0
8,653
280
codeparrot/github-code
88e37d6f55cd84fcce2c6a09c7add4bb1be6dd54c982edfa5929ee079fd94fdd
import gtk import treetohtml from mensajes import info, yesno from datetime import date, datetime from articulos import DlgArticulo from articulos_produccion import ArticulosEnProduccion from modelo import Model from comunes import punto_coma, coma_punto, caracter_a_logico, logico_a_caracter, calcular_iva_venta, calcul...
Python
actualizacion_de_precios.py
jehomez/pymeadmin
gpl-2.0
1,494
50
codeparrot/github-code
f5dc1ca64c13c7942e652f5e3f564e913f8869dbe15892d4cfafff375526889f
import java.util.Arrays; import java.util.Iterator; import java.util.ArrayList; import java.util.Random; import java.util.Date; import java.time.Clock; public class Process { /* um processo vai ser um objeto com 4 propriedades: > nome > tempo de chegada > tempo de cpu > prioridade */ private static int...
Java
src/Process.java
kstx-evolution/OliverDOS
gpl-2.0
1,821
74
codeparrot/github-code
d52613e9a94c8d982972180425e1a1a8efcb346d285fd09b908c34f766c806ea
/* * Copyright (C) 2004 the ffmpeg project * * This file is part of Libav. * * Libav is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any ...
C
unused/transcoders/libav-11.4/libavcodec/vp3dsp.c
jcmcclurg/serverpower
gpl-2.0
9,800
298
codeparrot/github-code
a9685657daddaf54f0d7a017b78af70c058c4730226ccd19acaa3a5a1340b998
/* KDevelop CMake Support * * Copyright 2006 Matt Rogers <mattr@kde.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...
C++
projectbuilders/makebuilder/makebuilderpreferences.cpp
mali/kdevelop
gpl-2.0
3,423
105
codeparrot/github-code
32c5501f74df8a0b29c07ecdef488a4cf952e8f89e8ee5818eaf097a921bc02a
/*************************************************************************** qgsogrdataitems.cpp ------------------- begin : 2011-04-01 copyright : (C) 2011 Radim Blazek email : radim dot blazek at gmail dot c...
C++
src/providers/ogr/qgsogrdataitems.cpp
imincik/pkg-qgis-1.8
gpl-2.0
11,534
390
codeparrot/github-code
b29cb4c4a34887bb28c20ec976a924ac452fc8b6340192577d68be3adae7747e
/* Pencil - Traditional Animation Software Copyright (C) 2005-2007 Patrick Corrieri & Pascal Naidon 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 w...
C++
src/main.cpp
acekiller/pencil
gpl-2.0
3,997
143
codeparrot/github-code
cf87169cb4110ecf37c65d8c06d44de76e49662a5250bcc94f49be59ab8cf48f
/* sound.c -- Sound emulation. */ #include "shared.h" snd_t snd; static int16 **fm_buffer; static int16 **psg_buffer; int *smptab; int smptab_len; int sound_init(void) { uint8 *buf = NULL; int restore_fm = 0; int i; /* Save register settings */ if(snd.enabled && sms.use...
C
sound/sound.c
cdfmr/smsplus-ezx
gpl-2.0
6,026
265
codeparrot/github-code
804c45e74f5f08843eabb23f34fac77b4d05bd3780b55b50488d6e218187e066
/* * ntpq.h - definitions of interest to ntpq */ #include "ntp_fp.h" #include "ntp.h" #include "ntp_control.h" #include "ntp_string.h" #include "ntp_malloc.h" /* * Maximum number of arguments */ #define MAXARGS 4 /* * Flags for forming descriptors. */ #define OPT 0x80 /* this argument is optional, or'd with ty...
C
user/ntp/ntpq/ntpq.h
kidmaple/CoolWall
gpl-2.0
2,176
91
codeparrot/github-code
7229f4925c59673b095e4f9c0c4b14c2da52210534fe5ab9ff9e18f140f65816
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <!-- /home/test1/tmp/qtopia/qt//qtopia-core-opensource-src-4.3.6/doc/src/qtcore.qdoc --> <head> <title>Qt 4.3: QtCore Mo...
HTML
qtopiacore/qt/doc/html/qtcore.html
muromec/qtopia-ezx
gpl-2.0
20,619
175
codeparrot/github-code
699944062b5100e77bd5798e9e3026f4ecceb706f5589cf3168dcab8cf91ba00
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>The source code</title> <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="../resources/prettify/prettify.js"></script> </head> <body on...
HTML
script/ext-3.4.0/docs/source/Element.traversal-more.html
manureta/sstuv_mapa
gpl-2.0
1,204
30
codeparrot/github-code
5baa573708198574633392ebb5b3300d5e01eae72912c634684dabd2bcae1579
jQuery(document).ready(function() { var jval2 = { 'title' : function() { var ele = jQuery('#author'); if (jQuery(ele).length) { if(ele.val().length < 3 ) { jval2.errors = true; ele.removeClass('normal').addClass('error'); } else { ele.removeClass('error').addClass('normal'); } } ...
JavaScript
wp-content/themes/cherry/assets/js/validation.js
hunghoang179/sitenews
gpl-2.0
1,290
53
codeparrot/github-code
2cbcbd5e1f9eeee4eea3f0237cf233043f034a80ff5efc0872bb0fae7fabcad5
/* Ò»¸öȨÏÞ¼ì²é³ÌÐò£¬Ö÷ÒªÊÇÒòΪBMYÀÏÕ¾µÄÓû§¶¼ÓµÓÐPERM_SPECIAL1ȨÏÞ£¬²»µÃ²»¼ì²éÒ»ÏÂËùÓÐÓû§µÄ ȨÏÞ£¬½«²»Ó¦¸ÃÓÐÕâ¸öȨÏÞµÄÓû§È¡Ïû¸ÃȨÏÞ¡£ mintbaggio@BMY 2004.3.10 */ #include "bbs.h" #define LOG_FILE "check_ulevel.log" #define FILE_NAME "check_ulevel.special" #define SPECIAL_NUM 50 #define OPENFILE_ERROR 1 #def...
C
local_utl/check_ulevel/check_ulevel.c
bmybbs/bmybbs
gpl-2.0
2,458
110
codeparrot/github-code
b7a464cfb5eb5882cfe128536f1b24be8a0edb3b1c83eca9136af674805e78e7
/* * Copyright (c) 2015, 2018, Oracle and/or its affiliates. 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.0, as published by the * Free Software Foundation. * * This program is also distributed with...
Java
3rdParty_sources/mysql-connector/com/mysql/cj/xdevapi/ExprParser.java
lamsfoundation/lams
gpl-2.0
50,771
1,193
codeparrot/github-code
4ed1c4d2f3f7a7a92eb64601f0ddfba2537ca07db53f5e308ca55edcdd9758e3
#!/usr/bin/env python # Copyright (c) 2003 Phil Gregory # # 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 pro...
Python
src/coin.py
yuxans/badgirl
gpl-2.0
1,861
60
codeparrot/github-code
ccb1bf4591ef9b86c73b0832559fbcd0d55b3d48a1e381eab0e6ebf8eb3dd664
import numpy as np from scipy import sparse from scipy.integrate import odeint import matplotlib.pyplot as plt import math as mt # this is the transfer function def phi(x,theta,uc): myphi=nu*(x-theta) myphi[x>uc]=nu*(uc-theta) myphi[theta>x]=0. return myphi def phi_brunel(x,theta,uc): myphi=nu_brunel*((x-theta...
Python
fixedConnectivity/popModel/sequences_random.py
ulisespereira/LearningSequences
gpl-2.0
4,644
181
codeparrot/github-code
9630f10040d16fc75ca795e6b8d342f3104a46295bfeba46a05debae4d141f0e
/* * Atmel AT45xxx DataFlash MTD driver for lightweight SPI framework * * Largely derived from at91_dataflash.c: * Copyright (C) 2003-2005 SAN People (Pty) Ltd * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the F...
C
drivers/mtd/devices/mtd_dataflash.c
RobertCNelson/barebox-boards
gpl-2.0
23,436
889
codeparrot/github-code
ae2729bdb36e7db5b3e7bc048f4735fa400726b0b6045027ccc2de9cb0fb9da5
/* This file is part of the KDE project Copyright (C) 1999-2006 David Faure <faure@kde.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or ...
C++
konqueror/client/kfmclient.cpp
vishesh/kde-baseapps
gpl-2.0
20,911
582
codeparrot/github-code
4a917d1da77e2258c4abe27874fd2d88f1ac7f6e54ada49f3616bb25d8a13913
//Copyright Notice /* eXintegrator integrated expression analysis system Copyright (C) 2004 Martin Jakt & Okada Mitsuhiro This file is part of the eXintegrator integrated expression analysis system. eXintegrator is free software; you can redistribute it and/or modify it under the terms of the G...
C++
exptTable.cpp
lmjakt/exint_client
gpl-2.0
4,434
125
codeparrot/github-code
ee01cf2dfe456b6183d585d1844a45c83e4a59a98e2be54d12621fd03ab1924e
/* Preview widget for KDE Display color scheme setup module * Copyright (C) 2007 Matthew Woehlke <mw_triad@users.sourceforge.net> * eventFilter code Copyright (C) 2007 Urs Wolfer <uwolfer @ kde.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Pub...
C++
kcontrol/colors/previewwidget.cpp
jschwartzenberg/kicker
gpl-2.0
6,631
162
codeparrot/github-code
67a579cd9f2bceb0b03344c974f3144c19e6d725886df09bddfa25910cfcac26
/*************************************************************************** * Copyright (C) 2006 by Nestal Wan * * me@nestal.net * * * * This pr...
C++
libpdfdoc/src/stream/Stream.hh
match41/sumpdf
gpl-2.0
4,550
141
codeparrot/github-code