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
3707965280266748f6a7569cbf0f5ec49f33edf745a1804918e4190b47c30892
/* * Copyright (C) 2010-2011 Project SkyFire <http://www.projectskyfire.org/> * Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * * This program is free software; you can redistribute it and/or modify it * under the t...
C++
src/server/scripts/EasternKingdoms/stormwind_city.cpp
origins/Project_Rebasing
gpl-2.0
22,236
718
codeparrot/github-code
a8ec78057b4961b6998ec5659c6d337c88935f78aac719061618eebdd96d57b5
/* * Raspberry Pi emulation (c) 2012 Gregory Estrade * This code is licensed under the GNU GPLv2 and later. * * This file models the system mailboxes, which are used for * communication with low-bandwidth GPU peripherals. Refs: * https://github.com/raspberrypi/firmware/wiki/Mailboxes * https://github.com/ras...
C
hw/misc/bcm2835_mbox.c
SPICE/qemu
gpl-2.0
9,451
335
codeparrot/github-code
5cf2ca30fecef850d9f720f54a87414595b772efbb65f41be2ce8757e766c956
#ifndef _UAPI_MSM_MDP_H_ #define _UAPI_MSM_MDP_H_ #include <linux/types.h> #include <linux/fb.h> #define MSMFB_IOCTL_MAGIC 'm' #define MSMFB_GRP_DISP _IOW(MSMFB_IOCTL_MAGIC, 1, unsigned int) #define MSMFB_BLIT _IOW(MSMFB_IOCTL_MAGIC, 2, unsigned int) #define MSMFB_SUSPEND_SW_REFRESHER _IOW(MSMFB...
C
include/uapi/linux/msm_mdp.h
premaca/Xiaomi_Kernel_OpenSource
gpl-2.0
31,873
1,193
codeparrot/github-code
f28c4ef89c7b68604166f5f1f1a20ed15133d92c6306320a8f9805c513cce845
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="robots" content="index, follow, all" /> <title>Illuminate\Queue\Capsule\Manager | </title> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css"> </hea...
HTML
public/laravel.com/api/4.1/Illuminate/Queue/Capsule/Manager.html
xwiz/laravel-docs
gpl-2.0
20,294
703
codeparrot/github-code
ec03daded006bc799b9857bcc149d2cba81e2273b2a7d9a03f90df13fc9c84ed
package tools.packet; import client.MapleCharacter; import handling.SendPacketOpcode; import handling.world.PartyOperation; import handling.world.WrodlPartyService; import handling.world.party.MapleExpedition; import handling.world.party.MapleParty; import handling.world.party.MaplePartyCharacter; import hand...
Java
src/tools/packet/PartyPacket.java
icelemon1314/mapleLemon
gpl-2.0
16,496
412
codeparrot/github-code
e271659749579c227a9aea5cc8c82ad5f7a9a70f5c00f73b6ceb44abea238dc9
<?php /** * @package WordPress * @subpackage ParentTheme * @license GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * @version 2.0 **/ #################################################################################################### /** * PostTypeVCWP **/ class PostTypeVCWP { /** * Po...
PHP
depreciated/PostTypeVCWP.php
vc27/random-wp-bits
gpl-2.0
3,593
231
codeparrot/github-code
5147c175200dda65ba82822858cf7dee77849c9e9f7225a400d362fbac8b0c75
/* * Copyright 2011 NTT Software Corporation. * All Rights Reserved. */ package jp.co.ntts.vhut.entity; import java.io.Serializable; import javax.annotation.Generated; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Gen...
Java
src/vHut_server/vhut_v/vhut_server_java/src/main/java/jp/co/ntts/vhut/entity/VmCloudUserMap.java
kuenishi/vHut
gpl-2.0
2,790
93
codeparrot/github-code
4d57580754ac11cafb5c5db0c0828caf32c1464f2431a26b1140040021c51bba
#! /usr/bin/env python import sys import math import collections import dendropy def count_set_size_difference(v1, v2): c1 = collections.Counter(v1) c2 = collections.Counter(v2) counted_matched = c1 & c2 matched = sorted(list(counted_matched.elements())) counted_diffs = (c1 - c2) + (c2 - c1) u...
Python
test/scripts/calc-tree-unlabeled-symmetric-difference.py
jeetsukumaran/pstrudel
gpl-2.0
1,420
50
codeparrot/github-code
5494a881ab670c9129419293d24cfb3d9e1b2f5acba7d1aeb34b17768df18ad3
/********************************************\ * * Sire - Molecular Simulation Framework * * Copyright (C) 2013 Christopher Woods * * 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 Foun...
C++
corelib/src/libs/SireBase/getinstalldir.cpp
michellab/Sire
gpl-2.0
8,863
261
codeparrot/github-code
9c87b773799c74139430677aee3e5623523dfa396be037b2290c086be68f972d
/** * This file is part of the DOM implementation for KDE. * * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2000 Stefan Schimanski (1Stein@gmx.de) * * This library is free software; you can redistribute it and/or * modify it under the terms...
C++
khtml/html/html_objectimpl.cpp
serghei/kde3-kdelibs
gpl-2.0
13,742
473
codeparrot/github-code
d3826a05a2cc2087ccb314ef856615cc5af4f972b3c59f4c4f30e5532a26beb2
# -*- coding: utf-8 -*- #loadmodelcontroller """Survey Controller""" from tg import expose, flash, require, url, lurl, request, redirect, tmpl_context,validate,session from tg.i18n import ugettext as _, lazy_ugettext as l_ from tg.exceptions import HTTPFound from tg import predicates from pollandsurvey import model #f...
Python
pollandsurvey/controllers/script/loadmodelcontroller.py
tongpa/PollSurveyWeb
gpl-2.0
29,331
619
codeparrot/github-code
a15c3ba6fd5f2c0edc04b62e49d115927cc7e9213ebcc1afa7c8e43222b563b8
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Net; using System.ServiceModel.Syndication; using System.Text.RegularExpressions; using System.Windows.Forms; using System.Xml; using MetaComics.Client.Code; namespace MetaComics.Client.Pl...
C#
MetaComics.Client/Plugin/BCComicPlugin.cs
abmv/MetaComic
gpl-2.0
7,646
205
codeparrot/github-code
dc3985d2506936008875a7603dde2aeec90fecedb58b2026073343c9ba8f2e15
<?php /************************************************************************************************** SWISScenter Source Nigel Barnes *************************************************************************************************/ require_once...
PHP
swisscenter/videobash_search.php
Pernod70/SwissCenter
gpl-2.0
5,922
155
codeparrot/github-code
c8d8b9d93033abe6e717c2b3836d92f2a741300bf58a42d6f1d75645ccd38380
<?php /** * Class _WP_Taxonomies */ class _WP_Taxonomies extends WP_Module { static function on_load() { WP::register_helper( __CLASS__ ); add_action( 'init', array( __CLASS__, 'create_initial_taxonomies' ), 0 ); // highest priority } /** * Creates the initial taxonomies. * * This fu...
PHP
www/wp-modules/taxonomies/taxonomies.php
mikeschinkel/wp-re
gpl-2.0
4,938
138
codeparrot/github-code
dcdb71b18af6d7cd6ee693e38589cb3f0b04e0adc70e7fe7b514094f40eb3210
#ifndef _PARISC_BUG_H #define _PARISC_BUG_H #ifdef CONFIG_BUG #define HAVE_ARCH_BUG #define HAVE_ARCH_WARN_ON /* the break instruction is used as BUG() marker. */ #define PARISC_BUG_BREAK_ASM "break 0x1f, 0x1fff" #define PARISC_BUG_BREAK_INSN 0x03ffe01f /* PARISC_BUG_BREAK_ASM */ #if defined(CONFIG_64BIT) #defin...
C
kernel/arch/parisc/include/asm/bug.h
luckasfb/OT_903D-kernel-2.6.35.7
gpl-2.0
2,193
90
codeparrot/github-code
eae4a50eab33f1204442ae99def8b3174a9f6a60da31bb6cde95e86bf6697adb
require File.expand_path('../boot', __FILE__) require 'rails/all' # If you have a Gemfile, require the gems listed there, including any gems # you've limited to :test, :development, or :production. Bundler.require(:default, Rails.env) if defined?(Bundler) module Ransack class Application < Rails::Application #...
Ruby
config/application.rb
amitdotagarwal/ransack
gpl-2.0
1,831
43
codeparrot/github-code
a11d3b4cb208635d9072e7a5a69cb6af1034c7c9a94ce092b5b7767b71a5380d
/*************************************************************************** starobject.cpp - K Desktop Planetarium ------------------- begin : Tue Sep 18 2001 copyright : (C) 2001 by Jason Harris email : kstar...
C++
kstars/skyobjects/starobject.cpp
spacetime/kstars-hackfest
gpl-2.0
20,943
533
codeparrot/github-code
87d607f1839d2959693f7368447da60e3d305637b0cf7c3b204efb5a7d6e7f06
/* linux/arch/arm/plat-s3c24xx/spi-bus0-gpg5_6_7.c * * Copyright (c) 2008 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <ben@simtec.co.uk> * * S3C24XX SPI - gpio configuration for bus 1 on gpg5,6,7 * * This program is free software; you can redistribute it and/or modify * it under the terms of...
C
arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c
Core2idiot/Kernel-Samsung-3.0...-
gpl-2.0
1,437
43
codeparrot/github-code
fc9385d5642e94f893b18a1cd07edfd1d03a78b75c43a770352a9462ea542133
/* * Copyright (C) 2010 Pengutronix * Sascha Hauer <s.hauer@pengutronix.de> * * 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. */ #include <linux/dma-mapping.h> #include <asm/siz...
C
arch/arm/mach-mxs/devices/platform-auart.c
patrikryd/kernel
gpl-2.0
1,680
66
codeparrot/github-code
e7b5fa1c0153b63b83c55fae06b8a7f6b29e435bfa16d5e527efd08365a75813
#include "ICombinatoria.hpp" #include "sinHilos.hpp" #include <algorithm> sinHilos::sinHilos(const std::vector<int>& denominaciones, std::vector<Dinero>& vMonedas) { *denomPermitidas = denominaciones; *monedas = vMonedas; estado = false; } void sinHilos::combinar(int monto) { // prepara el archivoComb...
C++
codigo/sinHilos.cpp
SonidoCristalino/QtCajero
gpl-2.0
3,038
96
codeparrot/github-code
ec4730cb0c28f44ede8ceb8ef7d1b89c1bdde3b8f4ed8e092560353917445ac1
package it.kongaImplementation.actions.esempi; import it.konga.framework.interfaces.KFileWriter; import it.konga.framework.kObjects.MimeType; import it.konga.framework.util.excel.KBasic_ExcelWriter; import it.kongaImplementation.flusso.KACT_FileDownload; import org.apache.struts2.convention.annotation.Action; ...
Java
web_app/src/it/kongaImplementation/actions/esempi/ACT_EsempioGeneraExcel.java
giasap0/konga
gpl-2.0
963
33
codeparrot/github-code
4442d4377379b8b49445eb28c552f7d846a76bdf48e4c6998ae21224bf9beeb4
/* * Copyright (C) 2012 Samsung Electronics * * See file CREDITS for list of people who contributed to this * 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 ...
C
board/samsung/smdk5410/smdk5410.c
medicalwei/u-boot-odroidxu-hyp
gpl-2.0
13,117
438
codeparrot/github-code
d7bc590d09a61e2bc974720402f04689996b193fa00704c58fb78ef6b4216fa4
/* This is a File System Recognizer for IRIG 106 Ch10 Filesystem Copyright (C) 2014 Arthur Walton. Heavily derived from the File System Recognizer for RomFs Copyright (C) 2001 Bo Brantén. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public...
C
ch10fsrec/src/fsrec.c
ArthurWalton/windows-ch10-fs
gpl-2.0
3,984
164
codeparrot/github-code
b8d14cc0e305a3fd96e17ca664da6c61cd7daf51bbc467d34e047b46729d98c2
{% include tabs.html tab1="Right opinion" tab2="With an account" %} <div id="right-opinion" class="ui-body ui-body-a"> {% include pop-image.html lname="Plato" %} <a href="#pop-meno" data-rel="popup" data-position-to="window" data-transition="fade" class="ui-btn ui-btn-a ui-icon-camera ui-btn-icon-right"><h4 class="u...
HTML
epistemology/analysis/value-of-knowledge.html
ehovers10/phil-intro
gpl-2.0
6,008
68
codeparrot/github-code
28d885310ef0fbf56d39303b2abdfd5e2bb53526baca6f439b1da8380a9b0ea9
/*************************************************************************** * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at you...
C++
umbrello/codegenerators/ruby/rubycodegenerationpolicypage.cpp
evaldobarbosa/umbrello
gpl-2.0
2,935
63
codeparrot/github-code
53a14ab9a490c1b499e78d1e6a09f72d59932851dd231b81b3e39b41d507a209
<?php /* V5.20dev ??-???-2014 (c) 2000-2014 John Lim (jlim#natsoft.com). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Set tabs to 4 for best viewing. Latest version is ava...
PHP
common/adodb5/drivers/adodb-odbc_oracle.inc.php
GeorgeStreetCoop/CORE-POS
gpl-2.0
3,138
115
codeparrot/github-code
c6cdb4665261c7c809e455ca3b12bdffd29e5b37b053b26567b15794eb48db4b
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GruntXProductions.Blazar.Assembler.Lexer { public partial class Lexer { private AbstractToken scanIntLiteral() { if ((char)peekChar(0) == '0' && (char)peekChar(1) == 'x') ...
C#
src/BlazarAssembler/Lexer/ScanIntLiteral.cs
GruntTheDivine/BlazarVM
gpl-2.0
1,591
49
codeparrot/github-code
4123f6181963ae825d09288f5da1075ab83ed4c5a90401b70d73f12229510d70
<?php /** * Element: ColorPicker * Displays a textfield with a color picker * * @package NoNumber Framework * @version 12.5.1 * * @author Peter van Westen <peter@nonumber.nl> * @link http://www.nonumber.nl * @copyright Copyright © 2012 NoNumber All Rights Reserved * @license http://www.g...
PHP
plugins/system/nnframework/fields/colorpicker.php
viollarr/alab
gpl-2.0
2,896
97
codeparrot/github-code
6991ee0f548620c85370c2417fc33668b8edbb5a3d901994eee02003f05e237d
/* * Copyright 2006-2021 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/modules/batchmode/BatchModuleWrapper.java
mzmine/mzmine3
gpl-2.0
1,652
61
codeparrot/github-code
5b7c8383a44610fc1686e6f240a66e7cd31891ce41529436bc0d4ac033141f28
/*++ Copyright (c) Realtek Semiconductor Corp. All rights reserved. Module Name: r8185b_init.c Abstract: Hardware Initialization and Hardware IO for RTL8185B Major Change History: When Who What ---------- --------------- ------------------------------- 2006-11-15 Xiong Created Notes: This file is por...
C
drivers/staging/rtl8187se/r8185b_init.c
major91/Zeta-Chromium-N5
gpl-2.0
50,200
1,769
codeparrot/github-code
9ce868cb4eb79775d2ded4725da5d6ac84f02bb1f939ad7973a4475c61933508
package io.github.phantamanta44.sonarous.util.concurrent; import java.util.List; import java.util.concurrent.*; import java.util.function.Function; public class ThreadPoolFactory { private QueueType underlyingPoolType = QueueType.CACHED; private PoolType poolExecutionType = PoolType.EXECUTOR; private int poolSize...
Java
src/main/java/io/github/phantamanta44/sonarous/util/concurrent/ThreadPoolFactory.java
phantamanta44/Sonarous
gpl-2.0
4,375
180
codeparrot/github-code
89f1a35d34c18a87d2a10d7f50a31a28ea7990c0eb8b7d0dc591129df53b6598
<?php /** * Primary function for Elgg's entity and metadata access systems. * * Access is generally saved in the database as access_id. This corresponds to * one of the ACCESS_* constants defined in {@link elgglib.php}, or the ID of an * access collection. * * @package Elgg.Core * @subpackage Access * @link h...
PHP
engine/lib/access.php
aleph1888/lorea
gpl-2.0
27,970
1,001
codeparrot/github-code
6720c3bd9910cb9977706f2cec8fc427626f51f8f879d49dd419f72e60785acd
/* * Druid - a distributed column store. * Copyright (C) 2012, 2013 Metamarkets Group 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 you...
Java
processing/src/main/java/io/druid/query/topn/DimValHolder.java
guod08/druid
gpl-2.0
2,588
111
codeparrot/github-code
a95c98cde921bf0080c4c4e5c6379ce5f6501586a05f152c2d4e18ab36012b99
// Copyright (c) 2011 GeometryFactory (France). // All rights reserved. // // This file is part of CGAL (www.cgal.org); 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 3 of the License, // or (at your o...
C
cgal/include/CGAL/Spatial_sort_traits_adapter_2.h
wschreyer/PENTrack
gpl-2.0
2,890
79
codeparrot/github-code
cff1b8b0ac938521243650718f4739cbad7a42f22de89f2383790da40b3d000d
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <link rel='icon' type='image/png' href='http://fenixapps.fao.org/repository/favicon/faostat.png'> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title></title> <!-...
HTML
projects/countrystat/scatter_kenya_timeserie.html
FENIX-Platform/fenix-map-js
gpl-2.0
10,832
348
codeparrot/github-code
b91611e93cf1f82582482939a62ce4c12de3d5f6710a32007b5d3ade45728337
/* Copyright (C) 1999 Waldo Bastian <bastian@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 version 2 as published by the Free Software Foundation. This library is distributed in the hope that it will be useful,...
C++
tdecore/tdecmdlineargs.cpp
Fat-Zer/tdelibs
gpl-2.0
31,882
1,299
codeparrot/github-code
7eeee409348efd7bfebc8699a8382c3bb5e087c7a950db09c422eaf577ad760c
#include <linux/types.h> #include <linux/if_vlan.h> #include <net/ipv6.h> #include <net/ndisc.h> #include <net/addrconf.h> #include "bonding.h" static void bond_glean_dev_ipv6(struct net_device *dev, struct in6_addr *addr) { struct inet6_dev *idev; struct inet6_ifaddr *ifa; if (!dev) return; idev = in6_dev_...
C
drivers/net/bonding/bond_ipv6.c
leemgs/OptimusOneKernel-KandroidCommunity
gpl-2.0
3,944
181
codeparrot/github-code
42d037e6943842c851bf9afd1afc32e747e30f1930732b64b70c672427cf2bed
------------------------------------------------------- -- This is a Wireshark dissector for the iNet-X packet format -- http://www.cwc-ae.com/custom/pdfs/White%20Paper_iNET-X_packets.pdf ------------------------------------------------------- -- Copyright 2014 Diarmuid Collins dcollins@curtisswright.com -- ht...
Lua
ndp.lua
diarmuidcwc/LuaDissectors
gpl-2.0
10,027
240
codeparrot/github-code
6d6bdec200c469393b22415dae4601f977d0cc3daba473c34df0725896daccfd
import HaloRadio.TopWeb as TopWeb class plugin(TopWeb.TopWeb): def GetReqs(self): return "amv" def handler(self, context): import HaloRadio.UserListMaker as UserListMaker import HaloRadio.User as User ulm = UserListMaker.UserListMaker() ulm.GetAll() users = [] is_admin=0 enable=0...
Python
WebRoot/UserList.py
ph1l/halo_radio
gpl-2.0
2,144
68
codeparrot/github-code
6167acd764c3dc8288401cee746fa10050a4c97c3f9377450eaa26cbb9928823
/* * This is the source code of Hermes for Android v. 1.3.x. * It is licensed under GNU GPL v. 2 or later. * You should have received a copy of the license in this archive (see LICENSE). * * Copyright Nikolai Kudashov, 2013. */ package org.hermes.ui; import android.content.Context; import android.graphics.Bitma...
Java
TMessagesProj/src/main/java/org/hermes/ui/PhotoCropActivity.java
ur0/hermes
gpl-2.0
21,319
473
codeparrot/github-code
95bafa24b4e573311b678f713937b926e81f7144bfe06a5dae3f2f24acaa5524
/* * Copyright (c) 1998-2010 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
Java
modules/resin/src/com/caucho/db/sql/ValidateQuery.java
christianchristensen/resin
gpl-2.0
1,880
73
codeparrot/github-code
13689c9f0eb8eae3ac64b7087676d101cbac1e9484a5c81aade19bec93cefc0e
% andreas %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % main.tex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % load settings, commands and header %%%%%%%%%%%%%%%%...
TeX
doc/latex/template_document/main.tex
dondamage/libhdl
gpl-2.0
2,735
106
codeparrot/github-code
eeede305afb7e64296e92da85f1c468dcd6945ed5dc5320b3b5dcaff1a96b30a
<?php /* * @package Joomla.Framework * @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * * @component Phoca Component * @copyright Copyright (C) Jan Pavelka www.phoca.cz * @license http://www.gnu.org/c...
PHP
administrator/components/com_phocagallery/views/phocagalleryraimg/view.html.php
josemrl7/portalsest
gpl-2.0
2,340
72
codeparrot/github-code
0b172d36ecb9f109807509c4d3418fed31205ce5c17cbf58e15fa20d5b7614ab
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 1999-2002 * Sleepycat Software. All rights reserved. */ #include "db_config.h" #ifndef lint static const char revid[] = "$Id: qam_conv.c,v 11.14 2002/08/06 06:17:02 bostic Exp $"; #endif /* not lint */ #ifndef NO_SYSTEM_INCLUDES #incl...
C
bdb/qam/qam_conv.c
pieter/mysql-server
gpl-2.0
1,602
85
codeparrot/github-code
1781e5b2ea4993fb207c707fb38d3317cebab44d0dfdcd3342057381e8aaa313
/* * Linux driver the digital TV devices equipped with B2C2 FlexcopII(b)/III * flexcop-pci.c - covers the PCI part including DMA transfers * see flexcop.c for copyright information */ #define FC_LOG_PREFIX "flexcop-pci" #include "flexcop-common.h" static int enable_pid_filtering = 1; module_param(enable_pid_filte...
C
drivers/media/dvb/b2c2/flexcop-pci.c
psomas/lguest64
gpl-2.0
12,436
453
codeparrot/github-code
5b04dc2891a40c21f73dcf730182d0febb250f144efa88490ad33ccb2256bd49
/*global VuFind*/ /* Finna Mozilla Persona login. */ finna.persona = (function(finna) { var getDestinationUrl = function(loggingOut) { // After logout always move to the front page. if (loggingOut) { return VuFind.path; } var url = window.location.href; // Check ...
JavaScript
themes/finna/js/finna-persona.js
timolaine/NDL-VuFind2
gpl-2.0
4,042
128
codeparrot/github-code
ce04dcb5a014b6bfc535ebcd7f19744fdfd8296853d90f1b93bf5006b4fa71d6
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"><script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> <script type="text/javascript" src="../resources/dagre-d3.min.js"></script> <style> .type-TK > .label > rect { fill: #00ffd0; } svg { align:center border: 1px solid ...
HTML
src/visualizer/d3/all/visual480.html
cderici/question-analyzer
gpl-2.0
2,274
87
codeparrot/github-code
ae7dbf73d78b37e02d7b12c8ec9ec4a60d67e3d7e5504a3dd05816866ba59876
/* vi: set sw=4 ts=4: */ /* * Utility routines. * * Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org> * * Licengsed under GPLv2 or later, see file LICENSE in this source tree. */ #include "libbb.h" /* Ugsed by NOFORK applets (e.g. cat) - must not use xmalloc. * size < 0 means "ignore write error...
C
libbb/copyfd.c
ThinkIntegrate/busybox
gpl-2.0
2,877
136
codeparrot/github-code
ebc4d96cbdc2215419c7567f087424b578fa501803a5f821e1a97f2eab3d2cce
--- layout: default --- <script src="//code.jquery.com/jquery-1.11.2.min.js"></script> <script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script> <div class="page-header"> <h1>{{ page.title }} {% if page.tagline %}<br/><small>{{page.tagline}}</small>{% endif %}</h1> </div> {% assign this_p...
HTML
_layouts/post.html
wangchuan/wangchuan.github.io
gpl-2.0
4,659
198
codeparrot/github-code
aaad59f5de45a4194aa3c2414d4971de716183e01b691134e77c203b8a7df696
require "rjava" # Copyright 1995-2000 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 Sof...
Ruby
jre4ruby/lib/share/sun/misc/MessageUtils.rb
neelance/jre4ruby
gpl-2.0
4,993
156
codeparrot/github-code
c730aad6992b1ade8fa36473d690bbb1c6e9d99f76730a558dc62d72e10a8b1d
/* Copyright (C) 2013 Webyog 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++
src/FileHelper.cpp
webyog/sqlyog-community
gpl-2.0
6,171
180
codeparrot/github-code
0c3f99e7347754723f1ed8e21df3e3761554ec0f632adb65ab8a8b659f0e37db
/*----------------------------------------------------------------------------*/ /* Xymon message daemon. */ /* */ /* This module receives messages from one channel of the Xymon master daemon....
C
xymond/xymond_channel.c
feld/xymon
gpl-2.0
22,012
818
codeparrot/github-code
6cf29e032c352fa3bd3df493246a5caf381889cea10242b2b1a8062048c970ac
/* * Copyright (C) 2009-2022 Slava Semushin <slava.semushin@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later ve...
Java
src/main/java/ru/mystamps/web/feature/category/SuggestionController.java
php-coder/mystamps
gpl-2.0
1,481
42
codeparrot/github-code
ea92fce0a99c54321c285c87ccea86c28d6e0406d60589604622955504244e9f
using System; using System.ComponentModel; using System.Windows.Forms; using Nexus.Client.Util; using ConditionalTypePattern = Nexus.Client.ModManagement.Scripting.XmlScript.ConditionalOptionTypeResolver.ConditionalTypePattern; namespace Nexus.Client.ModManagement.Scripting.XmlScript.UI.Controls.NodeEditors { ...
C#
XmlScript/UI/Controls/NodeEditors/ConditionalTypePatternEditor.cs
reactormonk/nmm
gpl-2.0
3,838
113
codeparrot/github-code
6a9382033a27d9e5dba9ca93e1dead19b64a38431ba167bb70b3e8f465973ebe
/* * Copyright (C) 2007-2014 Geometer Plus <contact@geometerplus.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 ver...
Java
Main/src/org/geometerplus/zlibrary/ui/android/view/SlideAnimationProvider.java
wangtaoenter/Books
gpl-2.0
1,883
54
codeparrot/github-code
67a46fbafe82317bcdbfd675579a21ea6a1db2fa18ebe9b8468d966ad39b5b5b
/* 3c509.c: A 3c509 EtherLink3 ethernet driver for linux. */ /* Written 1993-2000 by Donald Becker. Copyright 1994-2000 by Donald Becker. Copyright 1993 United States Government as represented by the Director, National Security Agency. This software may be used and distributed according to the terms of the GNU G...
C
drivers/net/3c509.c
sarnobat/knoppix
gpl-2.0
45,789
1,693
codeparrot/github-code
f62b2eebcc5138e203cff26d1c8dea186138fa11459a406583cdfa54cfee84c9
/* * arch/ppc/platforms/lopec_setup.c * * Setup routines for the Motorola LoPEC. * * Author: Dan Cox * danc@mvista.com * * 2001-2002 (c) MontaVista, Software, Inc. This file is licensed under * the terms of the GNU General Public License version 2. This program * is licensed "as is" without any warr...
C
arch/ppc/platforms/lopec_setup.c
sarnobat/knoppix
gpl-2.0
9,460
390
codeparrot/github-code
7fe9e0567aac5449d8d445dd81d638383061058a2b227d600e2793098abfc062
<?php /* This file is part of the Legal Case Management System (LCM). (C) 2004-2006 Free Software Foundation, 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 Licens...
PHP
inc/inc_login.php
hoegrammer/casemanager
gpl-2.0
11,307
300
codeparrot/github-code
1a3de085546867f93baf7ad73946fce5bc329dc603b329945a22e116bb408b99
<?php /** * The Header template for our theme * * Displays all of the <head> section and everything up till <div id="main"> * * @package WordPress * @subpackage Twenty_Thirteen * @since Twenty Thirteen 1.0 */ ?><!DOCTYPE html> <!--[if IE 7]> <html class="ie ie7" <?php language_attributes(); ?>> <![endif]--> <!-...
PHP
wp-content/themes/onepagelayout/header.php
monkeyboz/wordpress-localized-design
gpl-2.0
2,900
76
codeparrot/github-code
5e91f14cd0ec92db1157b63a7fda845873db0c0be263afbbe8ea99db6d3b4f90
# -*- coding: utf-8 -*- ## ## This file is part of Invenio. ## Copyright (C) 2011 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) a...
Python
modules/bibauthorid/lib/bibauthorid_tables_utils.py
valkyriesavage/invenio
gpl-2.0
54,551
1,440
codeparrot/github-code
c6a0bfaa15b95cc73f6dcde6915a8e1d7dfef6d508a396b732cda604cd5e7573
/* * 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. * * PACKET - implements raw packet sockets. * * Authors: Ross Biro * Fred N. van Kempen, <waltje@uWalt.NL.Mugn...
C
net/packet/af_packet.c
de-wolff/android_kernel_motorola_xt320
gpl-2.0
62,687
2,772
codeparrot/github-code
add2294aee16bc48a000ab8ccd304b87303a02cee0f6c14967a7a8a4ebd78966
/*********************************************************************************** * * * Voreen - The Volume Rendering Engine * * ...
C++
Gnorasi/modules/base/processors/volume/volumehalfsample.cpp
gnorasi/gnorasi
gpl-2.0
3,122
67
codeparrot/github-code
562c271926e88f785a7a4bf0abf5e12991e6580f5251dbe23df073f365b01d07
#!/usr/bin/env node require('colors'); var fs = require('fs'); var args = require('optimist') .boolean(['r', 'i']) .argv; var pg = require('./src/pg'); var code = fs.readFileSync(args._[0]).toString(); var newCode; //console.log(args); //try { if (args.r) { newCode = pg.revert(code); } else...
JavaScript
pg.js
Bacher/peelygreen
gpl-2.0
672
35
codeparrot/github-code
ba685ba4342a17c6e0e43701e3d076964b742a40b50d5d1f16048919a49a204a
#ifndef JSBRIDGE_H #define JSBRIDGE_H #include "pdfcache.h" #include <QObject> #include <QFile> #include <QQueue> #include <QWebView> class jsBridge : public QObject { Q_OBJECT public: jsBridge(QObject *parent, pdfCache * pdfc); ~jsBridge(); void setWebView(QWebView *webView); Q_INVOKABLE QStrin...
C
jsbridge.h
Vytax/hippo
gpl-2.0
1,720
66
codeparrot/github-code
a11854e6b29c29381a27519f9623ecaee43239cc2d984b8cebc38b8af00e7a78
/* * Copyright (C) 2005 - 2011 MaNGOS <http://www.getmangos.org/> * * Copyright (C) 2008 - 2011 TrinityCore <http://www.trinitycore.org/> * * Copyright (C) 2011 TrilliumEMU <http://www.trilliumemu.org/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Gene...
C
src/server/game/Chat/Chat.h
AwkwardDev/TrilliumEMU
gpl-2.0
19,041
400
codeparrot/github-code
7deb588818d20a3225bdbe07b5e38f7b5d91f5581c1208fd419c18e712076c24
/* * Copyright (C) 2010 Texas Instruments Inc. * * Modified from mach-omap2/board-zoom-peripherals.c * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <linux/kerne...
C
arch/arm/mach-omap2/board-zoom-display.c
andi34/kernel_samsung_espresso-cm
gpl-2.0
3,631
140
codeparrot/github-code
fd047a569210ae83ecf7754fae37068cf4d764b2d59950a56833463240e41bcb
// Copyright (c) 2014 Jiho Choi. All rights reserved. // To use this source, see LICENSE file. #include "core_first.h" namespace dg { String::String() : buffer_(NULL), convert_buffer_(0), size_(0) { small_buffer_[0] = TXT('\0'); } String::String(Cstr rhs) : buffer_(NULL), convert_buffer_(0), ...
C++
dev/src/core/string.cc
zho7611/dg
gpl-2.0
18,801
774
codeparrot/github-code
e7bbf6a8a02faed61284d2c33329023cf962bf143579b9c1523caa4cc560b08d
/* * File size standard determinator * Version: 0.2b * File: "fsize.h" * (C) 2007-2015 Alex Zorg <azorg@mail.com> */ //---------------------------------------------------------------------------- #include "fsize.h" //---------------------------------------------------------------------------- long fsize_name(cons...
C
fsize.c
azorg/clib
gpl-2.0
931
41
codeparrot/github-code
62779110ec689d0b0f5916a92ed7036864b9bd798614d0bab193a2a590ff137b
/* * %kadu copyright begin% * Copyright 2011 Piotr Galiszewski (piotr.galiszewski@kadu.im) * Copyright 2010, 2011, 2013, 2014 Bartosz Brachaczek (b.brachaczek@gmail.com) * Copyright 2008, 2009, 2010, 2011, 2013, 2014 Rafał Przemysław Malinowski (rafal.przemyslaw.malinowski@gmail.com) * %kadu copyright end% * * T...
C++
kadu-core/widgets/configuration/config-tab.cpp
vogel/kadu
gpl-2.0
3,912
111
codeparrot/github-code
f6f041bb2a2d74b3bb23c8db0a7c5255623fd4c4527faa54e2b325f16a6d7459
/* * Render context management * * Copyright(c) 2011-2013 Intel Corporation. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including witho...
C
drivers/xen/vgt/render.c
actzendaria/xgt
gpl-2.0
61,296
2,188
codeparrot/github-code
a6933bbf6b9c28d320ed364f16a4d7c84aa42afb278478a0440ccd1fb6cab4d4
<?php /** * Test Generated example demonstrating the Contribution.delete API. * * @return array * API result array */ function contribution_delete_example() { $params = array( 'id' => 1, ); try{ $result = civicrm_api3('Contribution', 'delete', $params); } catch (CiviCRM_API3_Exc...
PHP
sites/all/modules/civicrm/api/v3/examples/Contribution/Delete.php
acappellamaniac/eva_website
gpl-2.0
1,778
73
codeparrot/github-code
433e0b74f22cdb53d2ea9ebd9d3d036efe174fc35a68a7364442667a173e1150
package com.easyutils.http.loader; import java.io.InputStream; import org.json.JSONObject; import android.text.TextUtils; import com.easyutils.http.RequestParams; import com.easyutils.http.cache.DiskCacheEntity; import com.easyutils.http.request.UriRequest; import com.easyutils.http.utils.IOUtil; /** * Author: wy...
Java
easyutils/src/com/easyutils/http/loader/JSONObjectLoader.java
KouChengjian/PIForAndroid
gpl-2.0
1,674
67
codeparrot/github-code
0901eb521700ede90a527aa276ff337674444039e6c647abaf03d1d628535dfc
package com.ctreber.acearth.projection; import com.ctreber.acearth.util.Coordinate; import com.ctreber.acearth.util.Point2D; import com.ctreber.acearth.util.Point3D; import com.ctreber.acearth.util.Toolkit; /** * <p>A projection for a globe on a flat surface (must be subclassed). * * <p>&copy; 2002 Christian Trebe...
Java
src/com/ctreber/acearth/projection/Projection.java
jensnerche/plantuml
gpl-2.0
6,867
275
codeparrot/github-code
614babe47cb7878a19c44bbc3014f0d937dd40eec477e4d5337b316b15cfb50e
(function() { var command_name = 'dt_mce_command-columns', plugin_name = 'dt_mce_plugin_shortcode_columns', plugin_title = '分栏', plugin_image = 'columns.png'; tinymce.create( 'tinymce.plugins.' + plugin_name, { init : function( ed, url ) { this._dt_url = url; }, createControl: function(n, ...
JavaScript
wp-content/themes/dt-the7/inc/shortcodes/includes/columns/plugin.js
szpaddy/the7
gpl-2.0
3,493
130
codeparrot/github-code
430c752667dfb4602e852d4c64aeebd066bf56cdcfd1c10324128391417ba19d
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_ #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_ #import <Co...
C
external/chromium_org/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h
qtekfun/htcDesire820Kernel
gpl-2.0
7,799
309
codeparrot/github-code
8e1b4c3bb2c77ad0b3bf39d8fd3bb941bc88e8dda513eb88d081e534239b4fed
/* * HammersburgZone.java * * Created on May 17, 2007, 7:23 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package fi.darkwood.level.two; import fi.darkwood.EquipmentFactory; import fi.darkwood.Game; import fi.darkwood.GameConstants; import fi.darkwood....
Java
fi/darkwood/level/two/BorderKingdomCapital.java
vlehtola/darkwood
gpl-2.0
6,399
139
codeparrot/github-code
916dba0b04a771fa0bb951e3945be591e1bdf5ac17b24cface9419712170bd0c
<?php /* * ### CKFinder : Configuration File - Basic Instructions * * In a generic usage case, the following tasks must be done to configure * CKFinder: * 1. Check the $baseUrl and $baseDir variables; * 2. If available, paste your license key in the "LicenseKey" setting; * 3. Create the CheckAuthenti...
PHP
sites/all/modules/ckeditor/_ckfinder_deprecatedButReady/config.php
osarrat/sigmah-website
gpl-2.0
9,234
297
codeparrot/github-code
4efc55857cca79096bffa3953bcb74ed0e56da4c7b050aa95c4dcf0c7b9c55e4
/* * Copyright (C) 2005-2016 Team XBMC * http://kodi.tv * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * T...
C
xbmc/ServiceBroker.h
fritsch/xbmc
gpl-2.0
3,454
132
codeparrot/github-code
15aabdf755ea12087c2c56b27fe9dc474d161bbf904cc739a983a59e08714b7e
<?php /** * @version $Id: contentadministrator.php 20974 2011-03-16 14:14:03Z chdemko $ * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // no direct access defined('_JEXEC') or die; /** ...
PHP
administrator/components/com_content/helpers/html/contentadministrator.php
scanalesespinoza/battlebit
gpl-2.0
1,213
38
codeparrot/github-code
371ae5310f4fc4f87eb78deb5eb93dcc5104f156e5f9c120805d8812dfbb7432
# Copyright (C) 2009 One Laptop per Child # Licensed under the terms of the GNU GPL v2 or later; see COPYING for details. . $OOB__shlib versioned_fs=$(read_config base versioned_fs) buildnr=$(read_buildnr) BLOCK_SIZE=512 ROOT_PARTITION_START_BLOCK=139264 NUM_HEADS=16 NUM_SECTORS_PER_TRACK=62 # FIXME trap signals and ...
Shell
modules/sd_card_image/image.50.makefs.sh
sugarlabs/olpc-os-builder
gpl-2.0
4,130
146
codeparrot/github-code
0083a1c0b14da7e4a681092d65d2f97557d4cfcb6c9c655be22546c855c0f2f9
/* * ParameterArray.c * * Created on: 06.01.2013 * ------------------------------------------------------------------------------------------------------------------------ * Copyright 2013 Julian Schmidt * Julian@sonic-potions.com * -----------------------------------------------------------------------------...
C
mainboard/firmware/DrumSynth_FPU/src/MIDI/ParameterArray.c
smaolab/LXR-fusion
gpl-2.0
30,023
671
codeparrot/github-code
95d67e7faa2c8101fe0a84d072b3f5726f59aa297056f6d706de4f7679337623
-- psycle plugineditor (c) 2015, 2016 by psycledelics -- File: search.lua -- copyright 2015 members of the psycle project http://psycle.sourceforge.net -- This source 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 -...
Lua
psycle/LuaScripts/plugineditor/search.lua
eriser/psycle
gpl-2.0
8,155
237
codeparrot/github-code
1cac3c4b3c886b0d74fc08618bc3cc2d611bbae9a095aeae9e8c0394a6bb5dec
#include <linux/vmalloc.h> #include <linux/slab.h> #include <asm/uaccess.h> #include "hysdn_defs.h" #include "hysdn_pof.h" #define POF_READ_FILE_HEAD 0 #define POF_READ_TAG_HEAD 1 #define POF_READ_TAG_DATA 2 struct boot_data { unsigned short Cryptor; unsigned short Nrecs; unsigned char pof_state; ...
C
drivers/isdn/hysdn/hysdn_boot.c
leemgs/OptimusOneKernel-KandroidCommunity
gpl-2.0
7,980
388
codeparrot/github-code
168d0a4e2055f597996af9d1832c14906c2c65932501f3fbc0d969d224a796d2
/**************************************************************************** * * ViSP, open source Visual Servoing Platform software. * Copyright (C) 2005 - 2019 by Inria. All rights reserved. * * This software is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public...
C++
modules/tracker/me/src/moving-edges/vpMeEllipse.cpp
fspindle/visp
gpl-2.0
42,211
1,235
codeparrot/github-code
3e67f28f491d6c6058d54872a03843dee7c43590ecdf6802d5e40ea63edc9536
/* ZynAddSubFX - a software synthesizer OSSaudiooutput.h - Audio output for Open Sound System Copyright (C) 2002-2005 Nasca Octavian Paul Author: Nasca Octavian Paul This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by ...
C
src/Nio/OssEngine.h
zynaddsubfx/zynaddsubfx
gpl-2.0
2,320
103
codeparrot/github-code
22ec61231787c0a5f7ed6a0505c40cae55e9afbf5bb01ceccda48fbb95465490
<?php /** * @file views-view-fields.tpl.php * Default simple view template to all the fields as a row. * * - $view: The view in use. * - $fields: an array of $field objects. Each one contains: * - $field->content: The output of the field. * - $field->raw: The raw data for the field, if it exists. This is NOT...
PHP
sites/all/themes/cuwt_france/templates/views/views-view-fields--single-image--block.tpl.php
singhneeraj/fr-portal
gpl-2.0
3,766
73
codeparrot/github-code
788bf4d5010957cbf40817bd6b66e120cae8f2c1769f67d6b50b8df8dcc1b62a
/***************************************************************************** * * SHOWLOG.C - Icinga Log File CGI * * Copyright (c) 1999-2009 Ethan Galstad (egalstad@nagios.org) * Copyright (c) 2009-2012 Icinga Development Team (http://www.icinga.org) * * License: * * This program is free software; you can re...
C
cgi/showlog.c
doubleotoo/icinga
gpl-2.0
41,155
1,099
codeparrot/github-code
88ae3528b32f0ebd2f67b9687b73baecaf65e9e1b4f66bdb512a2b75d0dfc5e8
package com.week1.unionfind; public class QuickFind { private int[] id; public QuickFind(int n) { id = new int[n]; for (int i = 0; i < n; i++) { id[i] = i; } } public boolean connected(int p, int q) { return id[p] == id[q]; } public void union(int p, int q) { int pid = id[p]; int qid = id[q]; ...
Java
Algorithms/src/com/week1/unionfind/QuickFind.java
Piski/VariousSmallProjects
gpl-2.0
552
36
codeparrot/github-code
747eeb005dfb99dc5baf1b53454bd6390fc20e8732959aaa9986e40be70b3a83
<?php /********************** MostRepinned CLASS ***********************/ class MostRepinned { public function __construct() { // MostRecent class constructor } // get most recent pins public function view_most_repinned_pins() { global $wpdb; $user_id = get_current_user_id(); // get current logged ...
PHP
wp-content/themes/passive-interest/internal-plugins/analytics/classes/MostRepinned.class.php
NanoWebTech/wordpress
gpl-2.0
5,295
245
codeparrot/github-code
7f3a5fe687f949c5a1a4e8d503625b3a6a95dc449c8a9786fa6c57cccb393868
package com.tuneit.salsa3.php; import com.tuneit.salsa3.ParserException; import com.tuneit.salsa3.ast.*; public class PHPVariableListHandler implements PHPParserHandler { private VariableList variableList; private Assign assign; private PHPParserHandler parent; public PHPVariableListHandler(PHPParserHandler par...
Java
salsa3/src/com/tuneit/salsa3/php/PHPVariableListHandler.java
myaut/salsa3
gpl-2.0
1,393
57
codeparrot/github-code
f4404a298597df74b805a7186ab6bcd54c66ff57f9cb860bb68f99fc9e3521ec
package OpenInteract2::SQLInstall::Security; # $Id: Security.pm,v 1.5 2005/03/18 04:09:44 lachoy Exp $ use strict; use base qw( OpenInteract2::SQLInstall ); $OpenInteract2::SQLInstall::Security::VERSION = sprintf("%d.%02d", q$Revision: 1.5 $ =~ /(\d+)\.(\d+)/); my @TABLES = ( 'sys_security.sql' ); my %FILES = ( ...
Perl
pkg/base_security/OpenInteract2/SQLInstall/Security.pm
cwinters/OpenInteract2
gpl-2.0
1,513
63
codeparrot/github-code
85f0ac4ed8889e90c1263482ba61fa518af991188aa79097451c07750ba3084c
/* C-Dogs SDL A port of the legendary (and fun) action/arcade cdogs. Copyright (c) 2013-2015, 2021 Cong Xu 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 ret...
C
src/cdogs/config_apply.c
cxong/cdogs-sdl
gpl-2.0
2,035
55
codeparrot/github-code
a227ca4b8215c035592da14cdce4a15309771d4f7c3d60648606ea7e93b73b7d
<?php $wl_theme_options = weblizar_get_options(); ?> <div class="block ui-tabs-panel active" id="option-general" > <form method="post" id="weblizar_theme_options_general"> <div id="heading"> <table style="width:100%;"><tr> <td cols=2 ><h2><?php _e('General Settings','weblizar');?></h2></td> <td style="wi...
PHP
wp-content/themes/green-lantern/core/theme-options/option-settings.php
kingofyeti/wordpress
gpl-2.0
74,444
1,316
codeparrot/github-code
d51fecead632401fd27f5c8e5778c2b5098b2bf844cf98e8fad7e7c8f12aa6ea
#include <libc.h> #include <stats.h> void escriureInt(int i){ char a[1000]; itoa(i,a); int len = strlen(a); write(1, a,len); } void escriureString(char *a){ int len = strlen(a); write(1, a,len); } void escriureEstats(int pid){ struct stats st; get_stats(pid,&st); escriureString(" \n "); escriureStrin...
C
zeos/user.c
alicenara/SOA_ZeOS
gpl-2.0
1,581
78
codeparrot/github-code
5b2be5d08586cf2756e86cb726b0260a639ca9de47d9ce65aa47aff8cdb382b5
<?php /* $Id: breadcrumb.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ class breadcrumb { var $_trail; function breadcrumb() { $this...
PHP
websites/www.amroxonline.com/html/includes/classes/breadcrumb.php
adiabuk/random_scripts
gpl-2.0
1,212
47
codeparrot/github-code
15f72f7426c321be18d793041f55b2b5dd38f232c31505fd36a1603b2036eb45
/// /// \file osbase.h /// Base API class for OpenSync interaction. /// This API will operate both 0.22 and 0.4x /// /* Copyright (C) 2009-2013, Net Direct Inc. (http://www.netdirect.ca/) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Li...
C
desktop/src/osbase.h
NetDirect/barry
gpl-2.0
11,129
356
codeparrot/github-code
539c20d669af6d222ad6c67d7a427d07c56e78db84312952b427fe80aa86d027
<?php /** * @version 1.0.0 * @package com_christianconnect * @copyright Copyright (C) 2013. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @author abhishek <abhishek.gupta@daffodilsw.com> - http:// */ // No direct access. defined('_JEXEC') or d...
PHP
administrator/components/com_christianconnect/controllers/church.php
yogendra9891/christianconnect
gpl-2.0
862
35
codeparrot/github-code
5e33e34f3db181b9f56c76c56878005566ac8d486d964513ff462074ea8139da
// main17.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 is a simple test program. // It illustrates // (a) how to use UserHooks...
C++
examples/main17.cc
vikasnt/pythia8
gpl-2.0
5,875
195
codeparrot/github-code
bf42cfd3293289255813f3589068df391aaa7e51252d8d52eb81ba121f6d79ec
#!perl ################################################################################ ## This script .... ## Author: .... ## Usage: ## use JAI::PDB::Couple ################################################################################ ##############################################################################...
Perl
JAI/PDB/Couple.pm
javieriserte/jai-perl-utils
gpl-2.0
3,559
94
codeparrot/github-code
47129c49b619a11bcf59af5d3666848c975f79727971f9b6fce6cf2086e56068
package liquidhandling import ( "encoding/json" "fmt" "sort" "time" "github.com/pkg/errors" "github.com/qri-io/jsonschema" "github.com/antha-lang/antha/antha/anthalib/wtype" "github.com/antha-lang/antha/antha/anthalib/wunit" driver "github.com/antha-lang/antha/microArch/driver/liquidhandling" simulator "gi...
GO
microArch/scheduler/liquidhandling/summary.go
antha-lang/antha
gpl-2.0
30,783
874
codeparrot/github-code