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
6fbbc51f0797a89184902c1acd053550cbfd0dba54222a0965735f308a0c0892
/* * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
Java
jdk/src/java.base/share/classes/java/util/stream/Streams.java
34benma/openjdk
gpl-2.0
29,202
897
codeparrot/github-code
ed3a0a1f84eb5e6d9caa5d4dd1b90f1bd9c2e217c79a547ccb34f8eec6dbb98a
<?php /** That's all, stop editing from here * */ global $rtmedia_backbone, $wpdb; //var_dump($_GET); //var_dump("7006"); $rtmedia_backbone = array( 'backbone' => false, 'is_album' => false, 'is_edit_allowed' => false ); if (isset($_POST['backbone'])) $rtmedia_backbone['backbone'] = $_POST[...
PHP
wp-content/plugins/buddypress-media/templates/media/media-gallery-item.php
olek1984/dremboard
gpl-2.0
17,996
283
codeparrot/github-code
35581b348be83e8673410e5c0d15e2db194d129a102ebaf2254971ea02257ddf
namespace RPG.Graphics { using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; public class Animation { public readonly int FrameWidth; public readonly int FrameHeight; private const int NumOfRows = 4; private float elapsed; private fl...
C#
RPG/Graphics/Animation.cs
Peruvian-lily/OOP-Teamwork
gpl-2.0
2,444
68
codeparrot/github-code
8f76f88498e38081727c1f15f275e1fbba5d4aada611a024cded27a284806624
import Data.Char import Data.List (sort) {- Chapter 7 :: Higher-order functions -} twice :: (a -> a) -> a -> a twice f x = f (f x) map' :: (a -> b) -> [a] -> [b] map' f xs = [f x | x <- xs] -- map defined by recursion map'' :: (a -> b) -> [a] -> [b] map'' f [] = [] map'' f (x:xs) = f x : map'' f xs filter' :: (a ...
Haskell
notes_ch07.hs
rad1al/hutton_exercises
gpl-2.0
6,499
341
codeparrot/github-code
846d99b3886aa7908759e893cc864414c6bb4d4d46d8d0e2dab111e114afafe7
<?php /* //////////////////////////////////////////////////////////////////////// Content Management and OnlineShop Software "shoprex" Copyright (C) {2010-2016} Andreas Rex 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 ...
PHP
__admin/__functions/settings/settings_admin_accounts.php
shoprex/discontinued_shoprex_version_3
gpl-2.0
8,624
261
codeparrot/github-code
005c81cafb4c3f3559716d6cf77c15ca2e1b886529370c5da22de492094953ae
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <time.h> #include "mi_allegro.h" #include "mario.h" #define N 120 #define SPRITESHEET "sprites/loco.png" #define BACKGROUND "sprites/fondo.png" #define DELTA 0.25 enum { KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT }; int main (int argc, char **argv) { ...
C++
1ºDAM/c++/juego final/game.cpp
Dieguiitooo95/programas-de-clase-1-DAM
gpl-2.0
2,748
132
codeparrot/github-code
5263278c5daf7ac3d02c1ae44bdcb59fb2ca5e3ac7040514944a3071d8799863
/* PartitionEntry.java Copyright (C) 2006-2008 Carnegie Mellon University Tim Vidas <tvidas at gmail d0t com> Brian Kaplan <bfkaplan at cmu d0t edu> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the...
Java
cmu/forensics/mbr/PartitionEntry.java
tvidas/OpenLV
gpl-2.0
9,594
303
codeparrot/github-code
dd80657ac340cc2d6fff2cc98ba82c05a1d48859a00c5f1c95bd138dd40c39f0
#include <linux/videodev2.h> #include <linux/i2c.h> #include <media/v4l2-common.h> #include <media/cx25840.h> #include "cx25840-core.h" static int odd_parity(u8 c) { c ^= (c >> 4); c ^= (c >> 2); c ^= (c >> 1); return c & 1; } static int decode_vps(u8 * dst, u8 * p) { static const u8 biphase_tbl[] = { 0xf...
C
drivers/media/video/cx25840/cx25840-vbi.c
leemgs/OptimusOneKernel-KandroidCommunity
gpl-2.0
6,188
248
codeparrot/github-code
468a00311b80ef2afd09af47e6676a33b2d942046f18b0b97f0a3386963e0af8
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LogicAlgebra.DataStructures { class LogicConstantValue : LogicAtom { private static LogicConstantValue lcvTrue; private static LogicConstantValue lcvFalse; pri...
C#
LogicAlgebra/DataStructures/LogicConstantValue.cs
Finibhire/PersonalProjects
gpl-2.0
2,356
106
codeparrot/github-code
4d65e66de4ee9978dc9d34cbc5109e24959b09550e3b3d61deceaa70662f629e
/* ggrd_velinterpol.c */ int ggrd_find_vel_and_der(double *, double, double, struct ggrd_master *, int, unsigned short, unsigned short, double *, double *, double *); void ggrd_get_velocities(double *, double *, double *, int, struct ggrd_master *, double, double); void ggrd_weights(double, double *, int, int, double [...
C
hc_ggrd_auto_proto.h
geodynamics/hc
gpl-2.0
3,211
38
codeparrot/github-code
3cd2570854b509deb1876a225eea2fdc75c27d9912297651dc9712e618360d59
/* * BB: The portable demo * * (C) 1997 by AA-group (e-mail: aa@horac.ta.jcu.cz) * * 3rd August 1997 * version: 1.2 [final3] * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Licences as by published * by the Free Software Foundation; eithe...
C
messager.c
coolwanglu/bb.js
gpl-2.0
5,313
197
codeparrot/github-code
000ea3046fcdd2dff44817735e7d802292bc8275de5066a5f0f6cfb303a5207c
using System; using Server; using Server.Items; namespace Server.Mobiles { [CorpseName( "an taskmaster corpse" )] public class TaskmasterKnight : BaseCreature { [Constructable] public TaskmasterKnight() : base( AIType.AI_NecromageHive, FightMode.Closest, 10, 0, 0.1, 0.2 ) { Name = "A Taskmaster Knight"; ...
C#
Scripts/Mobiles/Epic/TaskmasterKnight.cs
KairiL/runuo
gpl-2.0
3,002
123
codeparrot/github-code
3dfb955a0ed806ff659a7aee6e4bd5d6e821164885201396402bcfd1f4dcf549
// _________ __ __ // / _____// |_____________ _/ |______ ____ __ __ ______ // \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ // / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ | // /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
C++
src/stratagus/script.cpp
bradc6/Stratagus
gpl-2.0
60,162
2,374
codeparrot/github-code
eea6ccbf1c601f8102f4c4ab102a633ae67ba4e4b502bef2aebab49e1a39c25f
/* * Copyright (C) 2003 PMC-Sierra Inc. * Author: Manish Lachwani (lachwani@pmc-sierra.com) * * Copyright (C) 2006 Ralf Baechle (ralf@linux-mips.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 ...
C
arch/mips/pmc-sierra/yosemite/irq.c
Core2idiot/Kernel-Samsung-3.0...-
gpl-2.0
4,717
161
codeparrot/github-code
c46d4229b22b79deb33e0fa15e9585fa3c1b1b2488fe7abd9077717311ec6f25
<?php /********************************************************************* class.filter.php Ticket Filter Peter Rotich <peter@osticket.com> Copyright (c) 2006-2013 osTicket http://www.osticket.com Released under the GNU General Public License WITHOUT ANY WARRANTY. See LICENSE.TXT for d...
PHP
include/class.filter.php
VATSIM-UK/Helpdesk
gpl-2.0
28,269
932
codeparrot/github-code
7ea326e92a06663045e12ab773c8d317f06d424b91c8e94ea96e992820c8d01b
<HTML> <HEAD> <TITLE>Nordita News. 2000, Issue 2</TITLE> </HEAD> <BODY BGCOLOR="#CCCCFF" TEXT="#000000"> <P> <H1>NORDITA &nbsp; NEWS &nbsp; 2000 / 2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; April 1, 2000</H1> <HR> <P>&nbsp;<P> <center> <H3>Ass...
HTML
news/about/archive/issues/nornews00.2.html
nordita-stockholm/norweb-hvzm
gpl-2.0
21,385
706
codeparrot/github-code
be3c4e80c42e7d40e35410bd67d4f3dbceae694b05b21fb45224c335eade7aa3
/* * This file is part of the Advance project. * * Copyright (C) 2012 Andrea Mazzoleni * * 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 op...
C
advance/blit/xbr4x.c
amadvance/advancemame
gpl-2.0
14,790
581
codeparrot/github-code
4d2764ab783e41a572446084c2e44fca84e56ca2732a115984546ca5fb08a522
/* * Este programa es software libre; usted puede redistribuirlo y/o modificarlo bajo los terminos * de la licencia "GNU General Public License" publicada por la Fundacion "Free Software Foundation". * Este programa se distribuye con la esperanza de que pueda ser util, pero SIN NINGUNA GARANTIA; * vea la licenc...
Java
source/adalid-jee1/src/meta/entidad/comun/control/acceso/RolFuncion.java
proyecto-adalid/adalid
gpl-2.0
7,268
162
codeparrot/github-code
d18206a2c125c22318db4f6a93943ae150bb2080cd2ae1c2af4117faace7e96c
<?php /* * Copyright 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
PHP
sites/all/libraries/google-api-php-client/examples/adsensehost/examples/GetAllCustomChannels.php
CouponVoodoo/theshoppingpro
gpl-2.0
1,957
59
codeparrot/github-code
5aa48e280fc604ca4b6e48f9af171aeab0dea099653bdcf9daeefbf5dd69a329
<?php class actionUsersProfileSubscribers extends cmsAction { public $lock_explicit_call = true; public function run($profile){ $tabs = $this->controller->getProfileMenu($profile); if (!isset($this->tabs['subscribers'])){ cmsCore::error404(); } $this->model->joi...
PHP
system/controllers/users/actions/profile_subscribers.php
mafru/icms2
gpl-2.0
2,370
63
codeparrot/github-code
c662f4f295f02b962fdac3f616ceb67965cd460aadedaf49bf84b8344e6edb8d
#include "model.h" double Model::stimulus(double _t) const { if(_t <= 0.0) { return 0; } return 100.0; } void Model::operator() (const state_type &_y, state_type &_dydt, double t) const { /* ydot(1) = (stim(1)/(1+stim(1)))*(par(1)-y(1)) * (1)/(1+y(4)/par(2)) - par(3)*y(3); ydot(2) = ((y...
C++
C++/ClustDesign/models/TNF/model.cpp
stork119/ClustDesign
gpl-2.0
3,611
107
codeparrot/github-code
57c48d39428d6472a3899da64018764eeb272410d270f75c38c8445350e46e6d
/* * The ManaPlus Client * Copyright (C) 2008 Aethyra Development Team * Copyright (C) 2011-2019 The ManaPlus Developers * Copyright (C) 2019-2022 Andrei Karas * * This file is part of The ManaPlus Client. * * This program is free software; you can redistribute it and/or modify * it under the terms o...
C++
src/resources/db/mapdb.cpp
ManaPlus/ManaPlus
gpl-2.0
6,254
242
codeparrot/github-code
2be6cdad38b7e0e4fb058ea24d7b01459b42fd7ac698c3380f26da1acb096199
<?php class RecordTemplatesController extends GxController { public function filters() { return array( 'accessControl', ); } public function accessRules() { return array( array('allow', 'roles' => array('o_manage_recordtemplates')), array...
PHP
www/protected/controllers/RecordTemplatesController.php
daschatten/mcc
gpl-2.0
2,615
106
codeparrot/github-code
be66f631b985d93c42ee22fe1d2d258e535ba920d9faf4ad199f2c9479e56bbc
/** * eCryptfs: Linux filesystem encryption layer * * Copyright (C) 1997-2004 Erez Zadok * Copyright (C) 2001-2004 Stony Brook University * Copyright (C) 2004-2007 International Business Machines Corp. * Author(s): Michael A. Halcrow <mahalcro@us.ibm.com> * Michael C. Thompsion <mcthomps@us.ibm.co...
C
fs/ecryptfs/inode.c
GuoqingJiang/SLE12-clustermd
gpl-2.0
33,632
1,162
codeparrot/github-code
58e8aa0f462607f2101a7b6c3456650cc9a5fc45e6c146bce513db494819d548
/* * linux/drivers/message/fusion/mptctl.c * mpt Ioctl driver. * For use with LSI PCI chip/adapters * running LSI Fusion MPT (Message Passing Technology) firmware. * * Copyright (c) 1999-2008 LSI Corporation * (mailto:DL-MPTFusionLinux@lsi.com) * */ /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=...
C
drivers/message/fusion/mptctl.c
dduval/kernel-rhel5
gpl-2.0
87,022
3,033
codeparrot/github-code
31681394f7ad7d3b21be782a45942f1d25e070e025d65823f9d67997b7047fd9
package org.nextprot.api.isoform.mapper.utils; import java.util.regex.Matcher; import java.util.regex.Pattern; public class SequenceVariantUtils { // TODO: It is false as isoform name can be of "non-iso" format (ex: GTBP-N for NX_P52701) public static boolean isIsoSpecific(String featureName) { if(featureName...
Java
isoform-mapper/src/main/java/org/nextprot/api/isoform/mapper/utils/SequenceVariantUtils.java
calipho-sib/nextprot-api
gpl-2.0
745
34
codeparrot/github-code
ab95e9113344a30a1b7d67e9f88a4d1037a5992d90effe594358d943a3dda957
import time import net.mapserv as mapserv import net.charserv as charserv import commands import walkto import logicmanager import status import plugins from collections import deque from net.inventory import get_item_index, get_storage_index from utils import extends from actor import find_nearest_being from chat impo...
Python
plugins/manaboy.py
mekolat/manachat
gpl-2.0
11,836
528
codeparrot/github-code
91b4b476eec21119faea67f183a2d6ac92f8f7f8baecc0563c48f761eb1b6678
/* * Copyright (C) 2006-2014 Gabriel Burca (gburca dash virtmus at ebixio dot 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)...
Java
VirtMus/src/com/ebixio/virtmus/PlayListSet.java
gburca/VirtMus
gpl-2.0
15,300
427
codeparrot/github-code
e9a4cc7ab6f8425d4a521f946dad26895c6b808b81508a1794a70d584b4b617f
<?php /*********************************************************** Copyright (C) 2010-2013 Hewlett-Packard Development Company, L.P. Copyright (C) 2015 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...
PHP
src/buckets/ui/ui-buckets.php
larainema/fossology
gpl-2.0
20,625
600
codeparrot/github-code
2161d47d427c19d29697eb18fa105ced8f79db18a5c3245eeb04c0916336904f
/* * S390 kdump implementation * * Copyright IBM Corp. 2011 * Author(s): Michael Holzheu <holzheu@linux.vnet.ibm.com> */ #include <linux/crash_dump.h> #include <asm/lowcore.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/gfp.h> #include <linux/slab.h> #include <linux/bootmem.h> #include <li...
C
linux-3.10.0-514.21.1.el7.x86_64/arch/s390/kernel/crash_dump.c
cneira/ebpf-backports
gpl-2.0
16,840
696
codeparrot/github-code
ab81e9036639d0d4816b452f07356a98910eefa936a86d6865645263e2bd793b
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Handles table zoom search tab * * display table zoom search form, create SQL queries from form data * */ /** * Gets some core libraries */ require_once './libraries/common.inc.php'; require_once './libraries/mysql_charsets.lib.php'; require_onc...
PHP
tbl_zoom_select.php
fobia/srv-tools-phpmyadmin
gpl-2.0
17,745
481
codeparrot/github-code
258f009493b6219efb3b567c66c51937900560292849468d317447b358969b38
<html><head> <title>YaST2 Logging</title> </head><body bgcolor=#ffffff> <!-- Author: Michal Svec <msvec@suse.cz> --> <!-- $Id$ --> <h1>YaST2 Logging</h1> <p> This document describes how to use the <b>YaST2</b> logging. </p> <h2>Introduction</h2> <p> During execution <b>YaST2</b> components create log messages. The...
HTML
libycp/doc/logging.html
yast/yast-core
gpl-2.0
8,911
313
codeparrot/github-code
b153b8b38df52a7e99d9a8523ae2dd4bd20ff0411dc0fa3e7871bf41c9fc7299
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
com.ipv.sensetrace.RDFDatamanager/jena-2.11.0/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/index/TupleIndexRecord.java
hdadler/sensetrace-src
gpl-2.0
8,048
253
codeparrot/github-code
8e34aa756d7997251782fc6ce795b3f7ca60049d155b22229ebbb12241770027
/* * Windows networking abstraction. * * For the IPv6 code in here I am indebted to Jeroen Massar and * unfix.org. */ #include <stdio.h> #include <stdlib.h> #include <assert.h> #define DEFINE_PLUG_METHOD_MACROS #include "putty.h" #include "network.h" #include "tree234.h" #include <ws2tcpip.h> #ifndef NO_IPV6 c...
C++
win/putty/WINDOWS/WINNET.C
AudriusButkevicius/TurboVNC
gpl-2.0
44,200
1,631
codeparrot/github-code
3a9fb1c62def01c99dda85454369085e63ae08ac4bddeea11b27ac141215fd11
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- * * Copyright (C) 2004-2006 William Jon McCann <mccann@jhu.edu> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation;...
C
src/gnome-screensaver-command.c
l0b0/screensaver-info
gpl-2.0
12,361
350
codeparrot/github-code
48984467caac9d7276f7be2d2bfd21fd0472fc33cf5d936465297883f94915d3
#ifdef CONFIG_MSM_CAMERA_LEGACY #include "media/msm_camera_legacy.h" #else /* Copyright (c) 2009-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 b...
C
include/media/msm_camera.h
android-armv7a-belalang-tempur/belalang-tempur
gpl-2.0
39,726
1,609
codeparrot/github-code
6331f2734d2bd81722a0ad26409b80c945899d17738626902e583cedac263279
#include "nps_radio_control.h" #include <glib.h> #include <stdio.h> #include <string.h> #include <sys/types.h> #include <glib.h> #include <sys/stat.h> #include <fcntl.h> #include <errno.h> #include <sys/ioctl.h> #include <linux/joystick.h> static gboolean on_js_data_received(GIOChannel *source, GIOCondition condition...
C
sw/simulator/nps/nps_radio_control_joystick.c
pchickey/paparazzi-linux-release
gpl-2.0
1,976
75
codeparrot/github-code
72d50c6e7d19e3ad508f319ba430abf7d6796fb32d75185f4253747a6d7a1e48
<?php /** * Zen Colorbox * * @copyright 2013 C Jones * @copyright Copyright 2003-2017 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: mc12345678 thanks to bislewl 6/9/2015 */ /* V2.1, What chan...
PHP
1_Installer_Files/YOUR_ADMIN/includes/installers/zen_colorbox/2_1_0.php
mc12345678/zen-colorbox
gpl-2.0
32,493
433
codeparrot/github-code
612663b9e12533db606603924333f8b206b388613dce2f32af585b1449d8a756
package m127.smd2e.frontend; import java.awt.event.ActionListener; import javax.swing.JMenu; import javax.swing.JMenuItem; import m127.smd2e.Main; import m127.smd2e.backend.Block; import m127.smd2e.backend.util.BlockGroup; public class BlockChooserMenuConstructor { public static JMenu construct(BlockGroup g, Act...
Java
src/m127/smd2e/frontend/BlockChooserMenuConstructor.java
Megacrafter127/MSBE
gpl-2.0
962
38
codeparrot/github-code
992aa9b41b45dafa693ab0a78a1691a3ab25d067a3eecbd10dc43eb041fb92f4
#ifndef __RFCOMM_H #define __RFCOMM_H #define RFCOMM_PSM 3 #define RFCOMM_CONN_TIMEOUT (HZ * 30) #define RFCOMM_DISC_TIMEOUT (HZ * 20) #define RFCOMM_AUTH_TIMEOUT (HZ * 25) #define RFCOMM_DEFAULT_MTU 127 #define RFCOMM_DEFAULT_CREDITS 7 #define RFCOMM_MAX_L2CAP_MTU 1013 #define RFCOMM_MAX_CREDITS 40 #define RFCO...
C
kernel/include/net/bluetooth/rfcomm.h
luckasfb/OT_903D-kernel-2.6.35.7
gpl-2.0
8,136
351
codeparrot/github-code
db802db0e0c141192a7c5192d23ae4da7d4afca691bab6799939c6c8ccbeda6a
// Scarlet Blaze Article Tool // By: Jose Mulia // http://www.scarletblaze.com // Version: 1.1 ns4 = document.layers; ie = document.all; moz = document.getElementById && !document.all; function changeFontSize (id, isIncrease) { // 1 = increase // 0 = decrease var obj; var size; if (ns4) { alert ("...
JavaScript
wp-content/themes/batavia/sb.js
rjbaniel/upoor
gpl-2.0
2,251
84
codeparrot/github-code
8efd4af789cc2b66cc925db51b930c0d084ada0c826f7ac55a6f506c09805b2a
/* * Offline Message Emulation - Save messages sent to an offline user as pounce * Copyright (C) 2004 * * 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, ...
C
src/public/pidgin/libpurple/plugins/offlinemsg.c
gabrieldelsaint/uol-messenger
gpl-2.0
6,823
258
codeparrot/github-code
f1f98455f5edc359f1c7a4a42e670c204e548cd19bd4f2a81370347aabceb659
<?php $post_sidebar = stm_option('post_sidebar'); if( $post_sidebar == 'left' ) { $before_content = '<div class="row"><div class="col-lg-9 col-md-9 col-lg-push-3 col-md-push-3">'; $after_content = '</div>'; } else if( $post_sidebar == 'right' ) { $before_content = '<div class="row"><div class="col-lg-9 col-md...
PHP
wp-content/themes/healthcoach/content-event.php
BenMacLean/beyondBiceps
gpl-2.0
2,013
71
codeparrot/github-code
6c8a8fdb4e44ceb51c4c7dcd813ce9d9f78829bb0068ea698c87f0d3e9dadddb
package fr.skyforce77.towerminer.api; import java.util.Map; public class PluginInfo { private Map<?,?> map; public PluginInfo(Map<?,?> map) { this.map = map; } public String getName() { return map.get("name").toString(); } public String getVersion() { return map.get("version").toString(); } pub...
Java
src/fr/skyforce77/towerminer/api/PluginInfo.java
skyforce77/TowerMiner
gpl-2.0
516
34
codeparrot/github-code
aead9ad736a85786edc055d362f37ae5c313b35080532bdfb3b8d080ac880f80
<?php if (!is_home()): ?> <?php $title_bar_class = 'one whole'; ?> <?php $iconEnabled = ChtUtils::getOption('page_title_use_icon') == 'true' ? true : false; ?> <div class="cbp-container"> <div class="cbp_widget_box one whole double-padded"> <div class="chp_widget_page_title "> ...
PHP
wp-content/themes/carry-hill/partials/page-title.php
suzybates/LeeWebsiteRedesign
gpl-2.0
3,053
58
codeparrot/github-code
94dcfecd9d3d4b7f8f412f075962e4d4fa2f0444df62e3500a1224e2c4c0c46e
/*************************************************************************** YAM - Yet Another Mailer Copyright (C) 1995-2000 Marcel Beck Copyright (C) 2000-2019 YAM Open Source Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publi...
C
src/mui/TZoneChooser.c
jens-maus/yam
gpl-2.0
4,595
204
codeparrot/github-code
dbb7f2c422e55c87d3ce7588ad5c94d643a928a0bb962a7bbdaba85c7eb48151
// Copyright (c) 2013- PPSSPP 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, version 2.0 or later versions. // This program is distributed in the hope that it will be useful, // b...
C++
GPU/Common/VertexDecoderCommon.cpp
libretro/PSP1
gpl-2.0
31,954
1,133
codeparrot/github-code
07f2924a36161bfd190693eadc609d13ef968ff16d8512360719793155f0b0c1
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 MaNGOS <http://getmangos.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 ver...
C
src/server/game/Entities/Object/Object.h
Sharkss/DiamondCore3
gpl-2.0
39,030
922
codeparrot/github-code
dc93e0aee4aa2839350e8696b66bd33554952d0a27210d66a8e5e2be9494c148
<?php $woo_options = get_option( 'woo_options' ); /*------------------------------------------------------------------------------------ TABLE OF CONTENTS - Theme Setup - Woo Conditionals - Add Google Maps to HEAD - Load style.css in the <head> - Add custom styling - Add layout to body_class output - W...
PHP
wp-content/themes/canvas/includes/theme-actions.php
arckinteractive/mt-landing
gpl-2.0
98,696
2,307
codeparrot/github-code
1d207e26db372f55e9eba22621f4647334fcedb52a8839b5eb31a6b20846a2ac
<?php class qa_html_theme_layer extends qa_html_theme_base { function head_css() { qa_html_theme_base::head_css(); $style_costum = qa_opt('pt_404_costum_css'); $style_final = '<style type="text/css">' . $style_costum . '</style>'; $this->output($style_final); $css_url = qa_opt('site_url').'qa-plugin/'...
PHP
qa-custom-404-page-layer.php
amiyasahu/q2a-custom-404-page
gpl-2.0
1,700
54
codeparrot/github-code
41b3418631767338d1a25f305fd46272c57eb0e650aa4456c18eff1a58967569
<?php /** * Plugin Update Checker Library 2.1.0 * http://w-shadow.com/ * * Copyright 2015 Janis Elsts * Released under the MIT license. See license.txt for details. */ if ( !class_exists('PluginUpdateChecker_2_1', false) ): /** * A custom plugin update checker. * * @author Janis Elsts * @c...
PHP
plugin-updates/plugin-update-checker.php
StrongNettAS/nb-wpml-redirect
gpl-2.0
41,552
1,216
codeparrot/github-code
a386376534fef537b280c6c3fd5e1e25705e29d22911c70edbebf727518c4089
////////////////////////////////////////////////////////////////////////////// // // fdctam32.c - AP922 MMX(3D-Now) forward-DCT // ---------- // Intel Application Note AP-922 - fast, precise implementation of DCT // http://developer.intel.com/vtune/cbts/appnotes.htm // ---------- // // This routine u...
C++
avidemux/ADM_libraries/ADM_libmpeg2enc/fdctdata.cc
BackupTheBerlios/avidemux
gpl-2.0
6,805
149
codeparrot/github-code
92463aae229c8a6cca1ddcd3606f200fa64071d7e9ca2e715a08b7583ab52915
<?php session_start(); $_SESSION["vk_persontype"]["true_connection"] = "true"; ?> <!DOCTYPE html> <html> <head> <title>MindTest</title> <meta charset="UTF-8" /> <link type="text/css" rel="stylesheet" href="./style.css" /> <link href='http://fonts.googleapis.com/css?family=Bitter' rel='stylesheet' ty...
PHP
person_type_complete.php
polyzer/vk_mbti_test
gpl-2.0
60,265
973
codeparrot/github-code
42522b123cf9bd69719432d950c9cad97219650817c3943d01563228db11bdd8
<?php if(!defined('OSTCLIENTINC') || !$thisclient || !$ticket || !$ticket->checkUserAccess($thisclient)) die('Access Denied!'); $info=($_POST && $errors)?Format::htmlchars($_POST):array(); $dept = $ticket->getDept(); //Making sure we don't leak out internal dept names if(!$dept || !$dept->isPublic()) $dept = $cfg...
PHP
include/client/view.inc.php
hmuni006/cplatform
gpl-2.0
7,080
177
codeparrot/github-code
e9ba039b914bd7243ba9fbbad3479652284292c06d5e1ec285e9264bc102ede9
/* * Copyright (c) 2010, 2013, 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
nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ClassGenerator.java
koutheir/incinerator-hotspot
gpl-2.0
15,997
370
codeparrot/github-code
1c051a760b00513afba23fc4aa213d3a1d479ee5bc7cb5192a7b8c8312cd3f04
/* ============================================ G5Framework ============================================= validation.js ============================================== */ var formValidation; (function($){ formValidation = function(){ $('.form-validation').each(function() { var _th...
JavaScript
sites/all/modules/meganav/assets/js/validation.js
agalligani/curly
gpl-2.0
4,061
170
codeparrot/github-code
ba1cd7dafb7667642f588d54b78035c6d3fb11e257e6b797f6da52a9205a67c5
/* * This file is part of the KDE wacomtablet project. For copyright * information and license terms see the AUTHORS and COPYING files * in the top-level directory of this distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License ...
C++
src/kded/xsetwacomproperty.cpp
KDE/wacomtablet
gpl-2.0
6,816
75
codeparrot/github-code
455572d30c08bcf404f94ae2a59320be8ce299e754865c4504118c653efa2f77
package com.jayanslow.qlabMasker.models; import java.util.List; import com.google.common.collect.ImmutableList; public class Polygon { private final String _name; private final RenderMode _renderMode; private final List<Point> _points; public Polygon(final String name, final RenderMode renderMode) { t...
Java
src/com/jayanslow/qlabMasker/models/Polygon.java
janslow/QLabMasker-Server
gpl-2.0
1,219
61
codeparrot/github-code
ab8757e92c3b0116d88ca663aaa25e51dca0ca4be40259cd0829dbc864fed006
# This file is part of Buildbot. Buildbot 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. # # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without eve...
Python
master/buildbot/clients/tryclient.py
cmouse/buildbot
gpl-2.0
32,055
931
codeparrot/github-code
187f81885ea59ac9e95e6fabb50c56afbf3dc5d427295c072036f38925f54007
<?php header("Content-type: application/x-javascript");?> <?php $size = "Size"; $max_size = "Max size"; $defaultvalue=""; //JSON *************** if(isset($_GET["dictionary"])) { $langfile = $_GET["dictionary"]; if(file_exists($langfile)) { $strlang = file_get_contents($langfile); ...
PHP
plugins/fieldsattachment/textarea/js/textarea.js.php
luffy22/Astro
gpl-2.0
4,212
142
codeparrot/github-code
757c891e03e725301c3ccc2b0ff70894b6b5701763a846b596c018e0cb8fa47c
# training.py # This is the training script which will be presented to the participant before they sleep # or remain awake # # TODO # Libraries - these seem fine and should not need altering. from psychopy import visual, event, core, misc, data, gui, sound # Participant needs to press y to continue. def rea...
Python
training/fas-sif/training-fas-sif-5.py
vivithemage/constraints
gpl-2.0
4,969
174
codeparrot/github-code
8856a8503f73e54145ae01c9ed5ad8273255ebd3bd84cf99e6deac41236d6b9b
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-mac-free-3.3.8/doc/sql.doc:37 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>sql/overview/basicbrowsing/main.cpp Example File</title> <style type="text/css"><!-...
HTML
doc/html/sql-overview-basicbrowsing-main-cpp.html
epatel/qt-mac-free-3.3.8
gpl-2.0
3,270
79
codeparrot/github-code
176324593fe9acad44e9f1653f3a7d473bb64991bc74bdd3c74b512a819dbf62
import React from 'react'; import classNames from 'classnames'; import { Button } from 'reakit'; import { Icon, IconName } from 'components'; require('./largeHeaderButton.scss'); type Props = { active?: boolean; className?: string; disabled?: boolean; icon?: React.ReactNode | IconName; label?: | { top?: R...
TypeScript
client/containers/Pub/PubHeader/LargeHeaderButton.tsx
pubpub/pubpub
gpl-2.0
2,940
96
codeparrot/github-code
973f7e965a123683da174f7741ea4614ba78047acc35cfa4d94ac4e7052f0d80
/************************************************************************************* Grid physics library, www.github.com/paboyle/Grid Source file: ./lib/Cshift.h Copyright (C) 2015 Author: Peter Boyle <paboyle@ph.ed.ac.uk> This program is free software; you can redistribute it and/or modify...
C
lib/Cshift.h
mspraggs/Grid
gpl-2.0
1,495
45
codeparrot/github-code
5a2ca6d4f372bcfbc096b6d17c120ca864882d5cc3f0461b77f6aaa819289766
<?php /** * Core file * @author Vince Wooll <sales@jomres.net> * @version Jomres 4 * @package Jomres * @copyright 2005-2011 Vince Wooll * Jomres (tm) PHP files are released under both MIT and GPL2 licenses. This means that you can choose the license that best suits your project, and use it accordingly, however all ...
PHP
jomres/core-plugins/core_gateway_paypal/j00610paypal.class.php
abespalko/estate-agency.com
gpl-2.0
11,851
327
codeparrot/github-code
c1a4986699cce97def982f77b4619d1567667d177b4dd4548cd8770e6763045e
// Copyright © 2009, 2010, Oracle and/or its affiliates. All rights reserved. // // MySQL Connector/NET is licensed under the terms of the GPLv2 // <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most // MySQL Connectors. There are special exceptions to the terms and // conditions of the GPLv2 as ...
C#
MySql.VisualStudio/WebConfig/GenericConfig.cs
elevate/mysqlconnector-.net
gpl-2.0
6,674
161
codeparrot/github-code
78be570e492464ec2fded5b823e9af3f7f6f6a41829ac9ddaef194cc8df470bf
<?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/components/com_courses/admin/views/roles/tmpl/display.php
mulligaj/hubzero-cms
gpl-2.0
5,811
148
codeparrot/github-code
16fb6e6bce02ee1de169ec7a03d64fa3ef6382046c40271f04ce25dcd4a5f0f7
namespace MetroFramework.Design { using MetroFramework.Controls; using MetroFramework.Native; using System; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Drawing; using System.Runtime.InteropServices; using System.Windows.For...
C#
AeraClass/External/MetroFramework/MetroFramework/Design/MetroTabControlDesigner.cs
marhazk/HazTechClass
gpl-2.0
6,148
167
codeparrot/github-code
596248347e5b596edc22778b3568d9c731dc88c209daa8601a20cb284d93402e
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package model; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.runner.RunWith; import org.junit.runners.Suite; /** * * @author kate */ @Ru...
Java
Triary-ejb/test/model/ModelSuite.java
deezzel/triary_main
gpl-2.0
871
39
codeparrot/github-code
db879b6a11264580d6b18d8bbef8702f0968b575be57b643ff5540b80b6cb152
/**************************************************************************** * * Name: eeprom.c * * Description: EEPROM access routines * * Copyright: (c) 2002 Conexant Systems Inc. * ***************************************************************************** This program is free software; you can redistribute...
C
arch/armnommu/mach-cx821xx/eeprom.c
nslu2/linux-2.4.x
gpl-2.0
28,644
1,077
codeparrot/github-code
fd4b64752a9bccb1a266e758b44667a164d889348c3576b258b0aac779663201
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
com.ipv.sensetrace.RDFDatamanager/jena-2.11.0/jena-arq/src/main/java/com/hp/hpl/jena/sparql/expr/E_Divide.java
hdadler/sensetrace-src
gpl-2.0
1,623
48
codeparrot/github-code
61186389d006b49349a3bc9f12037661f2f7f02ea112df7f94e2a91787b06260
#include "port\global.h" #include "scope.h" #include "misc\arena.h" extern TArena GlobalArena; // a global arena used for the strings as well // Array with the default storage and output class for each // scope type // TStorageClass DefaultScopeStorageClass[] = { { SC_NONE, OC_NONE, 0 }, // STRUCT_SCOPE ...
C++
old/cnew/SCOPE.C
tmikov/cfe99-old
gpl-2.0
2,530
95
codeparrot/github-code
6da4e6d503c53dabe27823696f065b314d92eed26f92794b915b57b7e1947b9e
package assets; import net.unikit.database.common.interfaces.DatabaseConfiguration; import net.unikit.database.external.implementations.ImportDatabaseManagerFactory; import net.unikit.database.external.interfaces.*; import net.unikit.database.unikit_.implementations.UniKitDatabaseManagerFactory; import net.unikit.data...
Java
project/app/assets/Global.java
HAW-BAI4-SE2/UniKit
gpl-2.0
4,684
112
codeparrot/github-code
475df0bc63bb8fc1c4208e6bc2f1410674a9b45f1022a10b447e9fafed7209be
/* * Copyright (C) 2008-2010 Martin Riesz <riesz.martin at 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 3 of the License, or * (at your option) any later ve...
Java
src/org/atid/util/GraphicsTools.java
lucenacaio/AtidDesktop
gpl-2.0
9,003
219
codeparrot/github-code
4aac48f6935c603ac63ed479ab811134628698cdef6c837172c2de64f1279ffd
package mx.nic.jool.pktgen.type; import mx.nic.jool.pktgen.BitArrayOutputStream; public class ByteArrayField implements Field { private String name; private byte[] value; public ByteArrayField(String name, byte[] defaultValue) { this.name = name; this.value = defaultValue; } @Override public String toStr...
Java
src/main/java/mx/nic/jool/pktgen/type/ByteArrayField.java
ydahhrk/PktGenerator
gpl-2.0
1,079
59
codeparrot/github-code
9584d6e7f80652c5af702c6be296a249b1056575dad033ce8541aad86c4ddc00
<?php /** * General API for generating and formatting diffs - the differences between * two sequences of strings. * * The original PHP version of this code was written by Geoffrey T. Dairiki * <dairiki@dairiki.org>, and is used/adapted with his permission. * * Copyright 2004 Geoffrey T. Dairiki <dairiki@dairiki...
PHP
wp-includes/Text/Diff.php
richardbota/WordPress-Theme-Development-with-Bootstrap
gpl-2.0
13,068
523
codeparrot/github-code
39a2d6d4246f6c3c2b56b0924120b62602cc12831d9f59bd5bdc1276724e2c98
// Copyright (C) 2002 Ultr@VNC Team Members. All Rights Reserved. // Copyright (C) 2000-2002 Const Kaplinsky. All Rights Reserved. // // Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved. // // This file is part of the VNC system. // // The VNC system is free software; you can redistribute it and...
C
vncviewer/ClientConnection.h
newmind/uvnc_rds
gpl-2.0
28,556
861
codeparrot/github-code
906bbeb1832372dbabc9cf88b72b346e6e95cc4803c0662a3879b3cf67ec852b
/****************************************************************************** * * Copyright( c ) 2009-2014 Realtek Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Founda...
C
rtl8723be/sw.c
arnoldthebat/rtl8188ce-linux-driver
gpl-2.0
14,483
436
codeparrot/github-code
7adb6d55f58b35ccf2feebf78bee5aabf99a57dea0d490baba6da1d7f2f3c138
/* * linux/drivers/ide/pci/sis5513.c Version 0.14ac Sept 11, 2002 * * Copyright (C) 1999-2000 Andre Hedrick <andre@linux-ide.org> * Copyright (C) 2002 Lionel Bouton <Lionel.Bouton@inet6.fr>, Maintainer * May be copied or modified under the terms of the GNU General Public License * * * Thanks : * * SiS Taiwa...
C
drivers/ide/pci/sis5513.c
huangyukun2012/linux-2.4.21
gpl-2.0
31,486
1,108
codeparrot/github-code
a42eb15c505059498694b9cbc809bca75663c32e15c5c1a5ceb004e7b43b5688
package com.lushprojects.circuitjs1.client; import java.util.Vector; import java.util.HashMap; import java.util.Map.Entry; // Circuit element made up of a composition of other circuit elements // Using this will be (relatively) inefficient in terms of simulation performance because // all the internal workings of the...
Java
src/com/lushprojects/circuitjs1/client/CompositeElm.java
sharpie7/circuitjs1
gpl-2.0
11,923
408
codeparrot/github-code
6caf7cdf083ce93fe097ddd1a1bad6e2e0d5f7eb461dee2df1aedaf4c9ab4701
<?php /** * Twenty Eleven functions and definitions * * Sets up the theme and provides some helper functions. Some helper functions * are used in the theme as custom template tags. Others are attached to action and * filter hooks in WordPress to change core functionality. * * The first function, twentyeleven_set...
PHP
wp-content/themes/twentyeleven/functions.php
allentong/wordpress-heroku-setup
gpl-2.0
20,336
589
codeparrot/github-code
e2fc562d0ff1587a10611a94ee354b150a2a745baa2847c3582db1f7f78b924e
<?php /** * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * View class for a list of users. * * @package Joomla.Administrator * @subpackage com_users ...
PHP
administrator/components/com_users/views/debuggroup/view.html.php
tohakotliarenko/personality
gpl-2.0
1,395
58
codeparrot/github-code
aa5eb830f65306ba22b6aaf3e4eaccf7a7938e448e36e2887b1c0bddc75bcb61
# -*- coding: utf-8 -*- # # Copyright 2004-2020 University of Oslo, Norway # # This file is part of Cerebrum. # # Cerebrum 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 # ...
Python
Cerebrum/modules/no/hia/OrgLDIF.py
unioslo/cerebrum
gpl-2.0
4,715
111
codeparrot/github-code
a0613e60d8603e7408fa4722ee1682d163555762940ca0476653ce3510186a71
/* C-Dogs SDL A port of the legendary (and fun) action/arcade cdogs. Copyright (C) 1995 Ronny Wester Copyright (C) 2003 Jeremy Chin Copyright (C) 2003-2007 Lucas Martin-King 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/cdogs/door.c
cxong/cdogs-sdl
gpl-2.0
17,373
573
codeparrot/github-code
06d0f72642fdad3db29735ac4d609866d258910b79c5e84c1132e710de581d0f
<?php class WPML_Settings_Helper { public function set_post_type_translatable( $post_type ) { global $sitepress, $wpml_post_translations; $sync_settings = $sitepress->get_setting( 'custom_posts_sync_option', array() ); $sync_settings[ $post_type ] = 1; $sitepress->set_setting( 'custom...
PHP
wp-content/plugins/sitepress-multilingual-cms/inc/setup/wpml-settings-helper.class.php
ProyectoKamila/gr
gpl-2.0
4,066
128
codeparrot/github-code
33c90a27545c6e2090f1fb2632b2fc9db4dac19e1f23a94bbe274aaa9cbe8f8d
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Security.Principal; using System.Runtime.Inte...
C#
WebSite/Reports/FormPVDelayReport.aspx.cs
hijoy/CPL_ERS
gpl-2.0
3,045
73
codeparrot/github-code
6a7ec45ca4a0eb1a4c67c66fce00ce45746d30865c773363ae640f7a1e590232
/* * Copyright (c) 2003-2010 University of Florida * * 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 prog...
C
sip_shared/malloc_wrapper.c
certik/ACESIII
gpl-2.0
3,415
137
codeparrot/github-code
3d8f6198d204e3ac10cac6892f8a132c5d6922e9afe0eb55fdcbdeb65b5892fd
/* * Copyright (c) 2006 Sean C. Rhea (srhea@srhea.net) * Copyright (c) 2014 Mark Liversedge (liversedge@gmail.com) * * [mostly cut and paste from Zones.cpp] * * 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 * ...
C
src/PaceZones.h
chet0xhenry/GoldenCheetah
gpl-2.0
6,806
208
codeparrot/github-code
d2434a3b1548c94ec493bac1c2df1f363bdadf047efb43a42435ebbe2bb681e2
<?php #----------------------------------------------------------------- # Page Layouts #----------------------------------------------------------------- // Get layout information and assemble page //................................................................ if ( ! function_exists( 'create_theme_layout' ) ) : ...
PHP
wp-content/themes/parallelus-mingle/framework/theme-functions/layout-and-design.php
livi17/buddypress
gpl-2.0
68,439
1,918
codeparrot/github-code
09fbb1091e573574c68ca86c6cc1d0a34cf1ade43d0c29e7d17062bcc46e0bd8
#ifndef _LINUX_SCHED_H #define _LINUX_SCHED_H #include <uapi/linux/sched.h> struct sched_param { int sched_priority; }; #include <asm/param.h> /* for HZ */ #include <linux/capability.h> #include <linux/threads.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/timex.h> #include <linux/jiffies.h...
C
include/linux/sched.h
CertifiedBlyndGuy/hadron-moto-apq8084
gpl-2.0
81,606
2,810
codeparrot/github-code
5bce3ee8b0db38f61c230116c7eeac815468badb6e84bbd6d83d5cee2ee9542f
<?php /* Smarty version 2.6.26, created on 2014-12-22 02:59:09 compiled from /Applications/XAMPP/xamppfiles/htdocs/GALIH//templates/common/details.tpl */ ?> <table border="0" width=100% cellspacing="4" cellpadding="1"> <form name="data"> <input type="hidden" name="to" value="<?php echo $this->_tpl_...
PHP
templates_c/%%2C^2C5^2C523EA9%%details.tpl.php
ramadhanfebbry/system-app
gpl-2.0
7,373
178
codeparrot/github-code
c743604869ba65e80a7fd89df0af177021bc544fcb940b805638d3a5f16382a6
/* * AAC Spectral Band Replication decoding functions * Copyright (c) 2008-2009 Robert Swain ( rob opendot cl ) * Copyright (c) 2009-2010 Alex Converse <alex.converse@gmail.com> * * Fixed point code * Copyright (c) 2013 * MIPS Technologies, Inc., California. * * This file is part of FFmpeg. * * FFmpeg i...
C
libavcodec/aacsbr_template.c
emb-team/loongson-ffmpeg
gpl-2.0
58,800
1,555
codeparrot/github-code
f29b7fb33cf95e48ae35f877f386eb7543df66875610d6950b0f3d02cb4f2e3c
<?php /** * @version SEBLOD 3.x Core ~ $Id: match.php sebastienheraud $ * @package SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder) * @url http://www.seblod.com * @editor Octopoos - www.octopoos.com * @copyright Copyright (C) 2009 - 2016 SEBLOD. All Rights Reserved. * @license GNU General P...
PHP
administrator/components/com_cck/helpers/scripts/match.php
klas/SEBLOD
gpl-2.0
6,091
108
codeparrot/github-code
6dd1416b0400c7f6da6fe132075e957db4eac4fcd8e02b0675d462386733d725
# -*- python -*- # Copyright (C) 2009-2013 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 3 of the License, or # (at your option) any later versio...
Python
mips64-elf/mips64-elf/lib/el/libstdc++.a-gdb.py
bryanperris/winN64dev
gpl-2.0
2,328
61
codeparrot/github-code
1856196624a00521c13d215f77b5c8e897d753447b816b391ca3ee4df712af00
/* vim: set sw=4 sts=4 et foldmethod=syntax : */ /* * Copyright (c) 2007 Andre Matuschek <andre@matuschek.org> * Copyright (c) 2007 David Gies <david-gies@gmx.de> * Copyright (c) 2007 Danny van Dyk <danny.dyk@uni-dortmund.de> * Copyright (c) 2007, 2008 Dirk Ribbrock <dirk.ribbrock@uni-dortmund.de> * * T...
C++
honei/util/unittest.cc
dribbroc/HONEI
gpl-2.0
9,381
329
codeparrot/github-code
69afd2cd0727d8ff550981617d5795926cfeb94c554bc49a72c10785209e9194
<html> <head> <title>How to register a class object</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="stylesheet" href="highlight.css" type="text/css"> </head> <body bgcolor="#FFFFFF" text="#000000"> <p><font size="6"><i><b>How to register a class object</b></i></font></p> <p ...
HTML
doc/devel/howtos/howto_register.html
xuyuan/spark-spl-release
gpl-2.0
6,334
98
codeparrot/github-code
a3a9eec29ba0980399f3ac7e67b7698805fb90ff0752920db54817ff178e3db3
################################################################################ # This file is part of IMTAphy # _____________________________________________________________________________ # # Copyright (C) 2011 # Institute of Communication Networks (LKN) # Department of Electrical Engineering and Information Techno...
Python
modules/phy/imtaphy/testConfigs/config.py
creasyw/IMTAphy
gpl-2.0
29,929
518
codeparrot/github-code
cc340dd819b8653670821f8c3dd4817bc5228795118cb2d3ac8a0e4ad2b3e3be
#!/usr/bin/env python ## Copyright (C) 2008 Red Hat, Inc. ## Copyright (C) 2008 Tim Waugh <twaugh@redhat.com> ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License...
Python
debug.py
KDE/printer-applet
gpl-2.0
1,703
56
codeparrot/github-code
b27c2d2ffce98526871c9db12ad57c8e81a1136725889dd7b5eca0b2d1d552da
/* * Copyright (C) 2008-2010 The Paparazzi Team * * This file is part of paparazzi. * * paparazzi 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 versi...
C
sw/airborne/subsystems/imu.c
monzie9000/rory
gpl-2.0
10,250
269
codeparrot/github-code
7759e625f08294be244ebbe7a2b52f29d157857e9afa7775d87a16ee638c4dd2
<?php /** * Add / Update RaidTracker Own Raids * * @author Sajaki@bbdkp.com * @package bbDkp.acp * @copyright 2010 bbdkp <http://code.google.com/p/bbdkp/> * @license http://opensource.org/licenses/gpl-license.php GNU Public License * $Id$ * */ /** * @ignore */ if (!defined('IN_PHPBB')) { exit; } /** * Thi...
PHP
root/includes/bbdkp/raidtracker/settings/ownraids.php
bbDKP/Raidtracker
gpl-2.0
6,596
220
codeparrot/github-code