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 |
|---|---|---|---|---|---|---|---|---|
934ad471fdb216982213059b5011f75d127e282ca4593aaff5b79bacb61eb724 | /* Copyright (c) 2010-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the ho... | C | include/sound/q6afe.h | widz4rd/WIDzard-A850L | gpl-2.0 | 3,706 | 115 | codeparrot/github-code |
75ba3351b3da7d641871c79ef86735aeaa2d859740aa6cac3fdb5676a7accd2f | /*
* Copyright (c) 2017 MeFisto94. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This co... | C | jdk/src/windows/native/common/winapi_stub.h | MeFisto94/openjdk | gpl-2.0 | 13,262 | 345 | codeparrot/github-code |
48bf6b5df5365ed3e7745ef5b721dac36d414d36cfeec351ea8ee72ac01f6feb | #ifndef DHCPSERVERRLEASE_HH
#define DHCPSERVERRLEASE_HH
#include <click/element.hh>
#include <click/timer.hh>
#include "leasetable.hh"
/*
* =c
* DHCPServerRelease(LEASES)
* =s DHCP
* handles DHCP release address messages
*/
class DHCPServerRelease : public Element
{
public:
DHCPServerRelease();
~DHCPServerR... | C++ | elements/local/agent/dhcp/dhcpserverrelease.hh | TKTL-SDN/SoftOffload-Agent | gpl-2.0 | 652 | 34 | codeparrot/github-code |
fd2745ba594f3b84d97ecef1a19978d76ba2c1dc1f22a8406eee3721f39fadaf | /*
* File: LifeManager.cpp
* Author: pablopernias
*
* Created on 18 de marzo de 2015, 11:23
*/
#include "LifeManager.hpp"
void LifeManager::setup() {
lives = maxLives;
hp = maxHp;
}
void LifeManager::update() {
}
int LifeManager::getHp() {
return hp;
}
int LifeManager::getLives() {
return... | C++ | hito1_old/LifeManager.cpp | pabloppp/FVProject | gpl-2.0 | 1,307 | 79 | codeparrot/github-code |
fa29aa5e65d08065e61cb4deded13bd6f354a7ae28280ac4ddc0428eea196f68 | #!/usr/bin/python
#-*-coding:utf-8-*-
from urlparse import urlparse
from scrapy.http import Request
from scrapy.utils.python import WeakKeyCache
class GoogleCacheMiddleware(object):
"""
this middleware allow spider to crawl the spicific domain url in google caches.
you can define the GOOGLE_CACHE... | Python | tianqi_history/contrib/downloadmiddleware/google_cache.py | eromoe/tianqi_history | gpl-2.0 | 2,485 | 56 | codeparrot/github-code |
d935b808169c11e6ae53cf6cc76a1e09324cb3a4e8931abde84db2b0634fefc3 | /*
* Copyright (c) 1998-2011 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/extra/src/com/caucho/soa/encoding/SourceProviderEncoding.java | dlitz/resin | gpl-2.0 | 3,750 | 115 | codeparrot/github-code |
cbb9c85538163b7caa6349e07be0f483e662eb77cebcda1fa05047f8213ba8df | /*
** llist.c for in /home/querat_g/libmy/src
**
** Made by gwendal querat
** Login <querat_g@epitech.net>
**
** Started on Sun Apr 19 10:26:43 2015 gwendal querat
** Last update Wed May 13 09:57:02 2015 gwendal querat
*/
#include <stdlib.h>
#include "my.h"
#include "my_mem.h"
#include "dlist.h"
t_dlist *rm_firs... | C | src/readline/dlist/dlist_destroy.c | elominp/42sh | gpl-2.0 | 1,213 | 62 | codeparrot/github-code |
221bc9b1d6a66dcc09bdb5d35a562726672fb71b2fe6edcb6c97983e24078471 | /* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope th... | C | drivers/media/video/msm/sensors/s5k4e1_v4l2.c | jameskdev/lge-kernel-d1l_kr | gpl-2.0 | 19,346 | 631 | codeparrot/github-code |
028cc7f36ac5c435deef098bf2f84c032a8cf71a3f8803837f16a34fbfd33d38 | <?php
/**
* Template for looping through expired Events on a member profile page
* You can copy this file to your-theme/buddypress/members/single
* and then edit the layout.
*/
$paged = ( isset( $_GET['ep'] ) ) ? $_GET['ep'] : 1;
$args = array(
'post_type' => 'event',
'author' => bp_displayed_use... | PHP | wp-content/plugins/buddypress-simple-events/templates/members/single/profile-events-archive.php | carlosmoran092/wiki-plataforma | gpl-2.0 | 2,820 | 114 | codeparrot/github-code |
f2913276fcba5cf585941436d994a257d8fac6677db754870bb7c05bd58e64fe | $(document).ready(function() {
$("input[type='number']").live('change',(function() {
var sumaTotalINV = 0;
var sumaApropiacionINV = 0;
var sumaCapacidadesINV = 0;
var sumaPUESTOINV = 0;
//Apropiacion
sumaApropiacionINV = Number($("input[id='puntaje_presenta_c... | JavaScript | mod/evaluadores/vendors/sumar_3_INV.js | jonreycas/enjambre | gpl-2.0 | 6,325 | 133 | codeparrot/github-code |
78116e06c4a8f82bee2662b7a4762981e14a7d841a81a7c65026efebfe489e71 | /**
******************************************************************************
* @file IWDG/IWDG_Reset/main.c
* @author MCD Application Team
* @version V3.5.0
* @date 08-April-2011
* @brief Main program body.
******************************************************************************
* ... | C | KeyBoard/Project/STM32F10x_StdPeriph_Examples/IWDG/IWDG_Reset/main.c | LyndonXu/keyboard_nj_db | gpl-2.0 | 7,120 | 245 | codeparrot/github-code |
0275b60597bab4bc48034fa76af917a85f2bcc5fc58ec8e90f2af6b1dda6d765 | /*
* Copyright (C) 2009 Bjoern Biesenbach <bjoern@bjoern-b.de>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
... | C | Util/hr20cmd/serial.c | sareph/OpenHR20 | gpl-2.0 | 3,475 | 125 | codeparrot/github-code |
d7da83057503681b29a8a0992424f94d0880f649bdf6798805fb171c4f590b61 | /*
ffolders.cpp
Folder shortcuts
*/
/*
Copyright (c) 1996 Eugene Roshal
Copyright (c) 2000 Far Group
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the abo... | C++ | far2l/src/bookmarks/BookmarksMenu.cpp | elfmz/far2l | gpl-2.0 | 6,125 | 222 | codeparrot/github-code |
754c929b73ca890253770d2315c3a8cbd6d63d0731db805c465af5a5798c1a71 | using System;
using Server.Network;
using Server.Items;
namespace Server.Items
{
[FlipableAttribute( 0x26BC, 0x26C6 )]
public class Scepter : BaseBashing
{
public override WeaponAbility PrimaryAbility{ get{ return WeaponAbility.CrushingBlow; } }
public override WeaponAbility SecondaryAbility{ get{ return Weapon... | C# | scripts/legacy/Items/Weapons/Maces/Scepter.cs | brodock/sunuo | gpl-2.0 | 1,322 | 50 | codeparrot/github-code |
ecd7d7cd05f51f17a6855d5d7e39b804ab55eb88d0ac887518fd456fe039a8b9 | /*!
* Tools for inspecting page composition and performance.
*
* @author Ori Livneh
* @since 1.22
*/
/*jshint devel:true */
( function ( mw, $ ) {
var inspect,
hasOwn = Object.prototype.hasOwnProperty;
function sortByProperty( array, prop, descending ) {
var order = descending ? -1 : 1;
return array.sort... | JavaScript | resources/src/mediawiki/mediawiki.inspect.js | muwiki/wiki | gpl-2.0 | 8,528 | 302 | codeparrot/github-code |
d77f0117cae4d860bd85bbf086e0c37bfb44dbd7acf5077a8f6b814f6a75245d | /*
* Linux INET6 implementation
*
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
*
* 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 (a... | C | linux/include/net/ip6_fib.h | rroart/freevms | gpl-2.0 | 4,226 | 187 | codeparrot/github-code |
0def379cf1d21a957d2e9db9e60845e69a9d0d370b18b31a0bddaeca123d0514 | /*
* luaa.h - Lua configuration management header
*
* Copyright © 2008-2009 Julien Danjou <julien@danjou.info>
*
* 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 Li... | C | luaa.h | raedwulf/awesome | gpl-2.0 | 5,871 | 204 | codeparrot/github-code |
ea4ccb24d91bb6658fc7b256deb7f761d81eabd6624d89cc837cdae5445e624d | #include "GlRenderer.hpp"
#include "Kinect.hpp"
#include "ResourceCache.hpp"
#include "Sprite.hpp"
#include "Background.h"
#include "Player.hpp"
#include "Enemy.hpp"
#include "Utils.hpp"
#include <SDL.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <string>
GlRenderer::GlRenderer(const std::shared_ptr<ResourceCa... | C++ | openni/scroll/src/GlRenderer.cpp | vobject/kinect-experiments | gpl-2.0 | 6,089 | 195 | codeparrot/github-code |
afa9c63b9fd352712ead8bae05014434da975bf23eec283af8b0429c6eaa647c | <?php
/**
* Custom template tags for this theme
*
* Eventually, some of the functionality here could be replaced by core features.
*
* @package EmeraldJA
*/
if ( ! function_exists( 'emerald_ja_posted_on' ) ) :
/**
* Prints HTML with meta information for the current post-date/time and author.
*/
function emeral... | PHP | inc/template-tags.php | jennyali/EmeraldJA-wp-theme | gpl-2.0 | 3,263 | 103 | codeparrot/github-code |
f36216a4dfcc618e17e3741edbd92b31e22a11270f53ded1dd7986fe0f64878f | #!/usr/bin/env python3
import os
import sys
import subprocess
######## GLOBALS #########
MAINPREFIX = "z"
PREFIX = "potato_"
##########################
def tryHemttBuild(projectpath):
hemttExe = os.path.join(projectpath, "hemtt.exe")
if os.path.isfile(hemttExe):
os.chdir(projectpath)
ret = su... | Python | tools/build.py | BourbonWarfare/POTATO | gpl-2.0 | 2,898 | 106 | codeparrot/github-code |
e10f1442c84cabe01a0924fb55cb0ef856b12cb68b8df7ed654b654ecfecaf37 | /*
* edac_mc kernel module
* (C) 2003 Linux Networx (http://lnxi.com)
* This file may be distributed under the terms of the
* GNU General Public License.
*
* Written by Thayne Harbaugh
* Based on work by Dan Hollis <goemon at anime dot net> and others.
* http://www.anime.net/~goemon/linux-ecc/
*
* $Id: linux-... | C | drivers/edac/edac_mc.c | dduval/kernel-rhel4 | gpl-2.0 | 56,127 | 2,192 | codeparrot/github-code |
51dbdc660563313e0d5f643eb4bef520f853a3628bad20827950e52167311eba | /***********************************************************************
Copyright (c) 2010, 2012, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; ... | C | storage/innobase/include/srv0mon.h | zhongliangkang/mysql-5.6.6-labs-april-2012-sky | gpl-2.0 | 30,637 | 879 | codeparrot/github-code |
73ddf1618e1820ffdc23250391db2b74ac30b158a1fa1eb49771ef584e726088 | """Module to load py_mem_dump records into RunSnakeRun
memory_dump:
https://launchpad.net/pymemorydump
Produces memory overviews very similar to the run-time overviews
of cProfile. This module maps the memory-dump information into
the recursive records that RunSnakeRun needs to display properly.
"""
import psta... | Python | b3/lib/runsnakerun/memdumploader.py | AusTac/parma | gpl-2.0 | 9,715 | 252 | codeparrot/github-code |
51fc33cf02c188e913f46854f1eaf8290dc3c5787f0696b044db29eb5144786c | <?php
/*
* Copyright (C) 2016 vagner
*
* This file is part of Kolibri.
*
* Kolibri 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 op... | PHP | packages/login/models/autenticator.php | vagnux/kolibri | gpl-2.0 | 1,366 | 53 | codeparrot/github-code |
0836e55c73b763c67851399ef61dcb10ae673cfe7d8a47edb804b2664ce17848 | /*=========================================================================*\
* Serial stream
* LuaSocket toolkit
\*=========================================================================*/
#include <string.h>
#include "lua.h"
#include "lauxlib.h"
#include "auxiliar.h"
#include "socket.h"
#include "options.h"
#inc... | C | source/texk/web2c/luatexdir/luasocket/src/serial.c | omasanori/luatex-mirror | gpl-2.0 | 6,335 | 192 | codeparrot/github-code |
c65294fc45f5cdb2ca3d6affe46670022bb98cdfc3467026604b5510f3462872 | <?php
/**
* abstract filter form.
*/
class Xoonips_AbstractFilterForm
{
/**
* sort key number.
*
* @var int
*/
protected $mSort = 0;
/**
* sort keys.
*
* @var array
*/
protected $mSortKeys = [];
/**
* criteria.
*
* @var Criteria
*/
... | PHP | xoops_trust_path/modules/xoonips/class/AbstractFilterForm.class.php | neuroinformatics/xcl-module-xoonips4 | gpl-2.0 | 2,988 | 153 | codeparrot/github-code |
b785105cff8a9b1c87055d5abbed2ea2bba29b704bbd92081f2c68eddefdc2ed | <?php
namespace CirrusSearch\Maintenance;
use CirrusSearch\Profile\SearchProfileService;
/**
* Update the search configuration on the search backend.
*
* 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 Softwar... | PHP | maintenance/UpdateDYMIndexTemplates.php | wikimedia/mediawiki-extensions-CirrusSearch | gpl-2.0 | 3,356 | 92 | codeparrot/github-code |
fc5c2e2e1082015ea7ea664d8425121b30156b06166031e884922dd51b48df42 | /***************************************************************************
* Copyright (C) 2003-2007 Joachim Eibl <joachim.eibl at gmx.de> *
* *
* This program is free software; you can redistribute it and/or modify *
* it unde... | C++ | kdiff3/src/kdiff3_part.cpp | iegor/kdesdk | gpl-2.0 | 10,110 | 310 | codeparrot/github-code |
6d89cd5ef60c164cbe75e499f2fbdb55a0d1e2a444f87254ca8c77475362e195 | /*
Copyright (C) 2014,2015 Blaise Dias
This file is part of sqzbsrv.
sqzbsrv 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.
sqzbsrv is ... | C | src/sstring.h | blaisedias/sqzbsrv | gpl-2.0 | 5,667 | 187 | codeparrot/github-code |
05aee62c92f3cc643de5aaf198bbc7e40337ccc076444276510a521cd1c64bf5 | <?php
/**
* Main admin class
*
* @author Your Inspiration Themes
* @package YITH Woocommerce Compare
* @version 1.1.1
*/
if ( ! defined( 'YITH_WOOCOMPARE' ) ) {
exit;
} // Exit if accessed directly
$options = array(
'general' => array(
array(
'name' => __( 'General Setti... | PHP | wp-content/plugins/yith-essential-kit-for-woocommerce-1/modules/yith-woocommerce-compare/plugin-options/general-options.php | patrickcurl/monks | gpl-2.0 | 4,544 | 143 | codeparrot/github-code |
9d9381934beca0888025631049e20ec130f903d1e7642a061d3c7985e99ea6e8 |
#ifndef __SOUND_MPU401_H
#define __SOUND_MPU401_H
#include "rawmidi.h"
#include <linux/interrupt.h>
#define MPU401_HW_MPU401 1 /* native MPU401 */
#define MPU401_HW_SB 2 /* SoundBlaster MPU-401 UART */
#define MPU401_HW_ES1688 3 /* AudioDrive ES1688 MPU-401 UART */
#define MPU401_HW_OPL3SA2 4 /* Yamaha OPL3-SA... | C | kernel/include/sound/mpu401.h | luckasfb/OT_903D-kernel-2.6.35.7 | gpl-2.0 | 3,587 | 113 | codeparrot/github-code |
edef7fd11aa698a1586e7913a945c7377ee60bcfae432ebe479982d8bab593d5 | <?php
/*
* Post Notification by Email.
*
* @package Post Notification by Email
* @author Valerio Souza <eu@valeriosouza.com.br>
* @license GPL-2.0+
* @link http://wordpress.org/plugins/notify-users-e-mail/
* @copyright 2013 CodeHost
*
@wordpress-plugin
Plugin Name: Post Notification by Email
P... | PHP | notify-users-e-mail.php | firelf15/post-notification-by-email | gpl-2.0 | 16,651 | 561 | codeparrot/github-code |
e2c68dd819c3892dec34c7eba44e2275f8d90862f35ba1da1b5bd7d540fd8da3 | /*
* This file is part of the coreboot project.
*
* Copyright 2016 Rockchip Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distribu... | C | src/mainboard/google/rk3399evb/mainboard.c | rockchip-linux/coreboot | gpl-2.0 | 1,486 | 63 | codeparrot/github-code |
e23e2ae221a8f71407a84bbc44e3009bd011d3ee5c613222969f6f1f470ceb2b | #ifndef _IDE_H
#define _IDE_H
/*
* linux/include/linux/ide.h
*
* Copyright (C) 1994-2002 Linus Torvalds & authors
*/
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/ata.h>
#include <linux/blkdev.h>
#include <linux/proc_fs.h>
#include <linux/interrupt.h>
#include <linux/bitops.h>
#include <linu... | C | include/linux/ide.h | gchiii/linux-2.6.30.y-lgate | gpl-2.0 | 46,228 | 1,582 | codeparrot/github-code |
7cc94905803539d613a641107abf36e9684feb35dc194241d09f11a068e530e5 | /*
* cAnalyzeGenotype.h
* Avida
*
* Called "analyze_genotype.hh" prior to 12/2/05.
* Copyright 1999-2011 Michigan State University. All rights reserved.
* Copyright 1993-2003 California Institute of Technology.
*
*
* This file is part of Avida.
*
* Avida is free software; you can redistribute it and/o... | C | avida-master/avida-core/source/analyze/cAnalyzeGenotype.h | rholder613/AvidaAR | gpl-2.0 | 21,384 | 568 | codeparrot/github-code |
7422ea1d4a123f133edb6f94708257d5deece0a599cf498abe2a9bd1f35e9971 | # coding: utf-8
class File
def write32(x); self.write [x].pack("L<"); end
def write16(x); self.write [x].pack("S<"); end
def write08(x); self.write [x].pack("C"); end
def writeS32(x); self.write [x].pack("l<"); end
def writeS16(x); self.write [x].pack("s<"); end
def writeS08(x); self.write [x].pack("c"); en... | Ruby | convert/images.rb | HendrikR/NLT-Experimente | gpl-2.0 | 5,143 | 195 | codeparrot/github-code |
54527de75293c37cce61b348f4761a8ed529fdfa3dee798d57c1eac8e027156a | package cse.mlab.hvr.client;
import org.gwtbootstrap3.client.ui.Button;
import org.gwtbootstrap3.client.ui.Form;
import org.gwtbootstrap3.client.ui.Input;
import org.gwtbootstrap3.client.ui.TextBox;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.l... | Java | hvr/src/cse/mlab/hvr/client/TwitterSignup.java | uttam028/IOSMonitorTest | gpl-2.0 | 9,661 | 333 | codeparrot/github-code |
22ec2aab67327accc488604bdeecff799d7e581099432630bed7748113d2f04d | <?php
/*
* This file is part of the Eventum (Issue Tracking System) package.
*
* @copyright (c) Eventum Team
* @license GNU General Public License, version 2 or later (GPL-2+)
*
* For the full copyright and license information,
* please see the COPYING and AUTHORS files
* that were distributed with this source... | PHP | lib/eventum/class.status.php | mariadb-corporation/eventum | gpl-2.0 | 19,813 | 681 | codeparrot/github-code |
ce73da546b11b84686acfa0657bae4b0b44310601eedb7ff4f24f1ac7cef03da | /*
* IBM PowerPC Virtual I/O Infrastructure Support.
*
* Copyright (c) 2003-2005 IBM Corp.
* Dave Engebretsen engebret@us.ibm.com
* Santiago Leon santil@us.ibm.com
* Hollis Blanchard <hollisb@us.ibm.com>
* Stephen Rothwell
*
* This program is free software; you can redistribute it and/o... | C | arch/powerpc/kernel/vio.c | xiandaicxsj/copyKvm | gpl-2.0 | 12,862 | 475 | codeparrot/github-code |
db7abb3951cd699ec7f5110652ce49a41234fc958020ff4bfd8ae76dec78c0ec | /*
* 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/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_ambassador_hellmaw.cpp | AwkwardDev/TrilliumEMU | gpl-2.0 | 5,651 | 207 | codeparrot/github-code |
89a0580c95be3ff0ccc0d6143dcfc3847c2075bd7cc213a2ee5a229bd93b5238 | #include "legalview.h"
#include "model/globaldataobject.h"
#include <QtCore>
#include <QtGui>
#include <qvideowidget.h>
// Needed Symbian specific headers
#ifdef Q_OS_SYMBIAN
#include <eikenv.h>
#include <eikappui.h>
#include <aknenv.h>
#include <aknappui.h>
#endif
LegalView::LegalView(QWidget *pare... | C++ | views/legalview.cpp | matias-pequeno/personaltrainer-nokia-qt-cpp | gpl-2.0 | 2,458 | 77 | codeparrot/github-code |
6947b4262a43586863a9f086b66b1dfad6744f6dcb7ea2d813bd2b3c081c2825 | /**
* Copyright (c) 2006, 2008 LxDE Developers,
* see the file AUTHORS for details.
*
* 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 optio... | C | src/plugins/volume/volume-impl.c | google-code-export/lxpanelx | gpl-2.0 | 6,521 | 213 | codeparrot/github-code |
08fd50f1a0b26528cbe978df6f84a9b9eccf5714ed02b8aaa1e55156e5ad7be7 | /*
* armadillo5x0.c
*
* Copyright 2009 Alberto Panizzo <maramaopercheseimorto@gmail.com>
* updates in http://alberdroid.blogspot.com/
*
* Based on Atmark Techno, Inc. armadillo 500 BSP 2008
* Based on mx31ads.c and pcm037.c Great Work!
*
* This program is free software; you can redistribute it and/or ... | C | arch/arm/mach-imx/mach-armadillo5x0.c | Jackeagle/android_kernel_sony_c2305 | gpl-2.0 | 15,651 | 575 | codeparrot/github-code |
69e9fcc52a08880b82d09f9ea11c14cbbcf077fd730f9c4248094a4ce39c1cbc | // license:BSD-3-Clause
// copyright-holders:Curt Coder
/**********************************************************************
Commodore 2040/3040/4040 Disk Drive emulation
**********************************************************************/
/*
2040/3040 disk initialization
-------------------------... | C++ | src/devices/bus/ieee488/c2040.cpp | GiuseppeGorgoglione/mame | gpl-2.0 | 22,879 | 803 | codeparrot/github-code |
e5ee007a658e0006d6719dc70c21b2b8b5b3202200d2fe2837d1e93eca9fe95d | /*******************************************************************************
* This file is part of OpenWSN, the Open Wireless Sensor Network Platform.
*
* Copyright (C) 2005-2010 zhangwei(TongJi University)
*
* OpenWSN is a free software; you can redistribute it and/or modify it under
* the terms of the GNU ... | C | opennode2010_keil/examples/opennode2010_keil/svc_nio_flood/nio_floodsender.c | openwsn/node | gpl-2.0 | 6,734 | 201 | codeparrot/github-code |
cef486e71ba30eb9d4c57334e3dd84ce77cf719f8b56ea6d4cc78782020f8092 | /*******************************************************************************
File: tmFacet.cpp
Project: TreeMaker 5.x
Purpose: Implementation file for tmFacet class
Author: Robert J. Lang
Modified by:
Created: 2004-04-24
Copyright: ©2004 Robert J. Lang. All Rights Reserved.
*******... | C++ | Source/tmModel/tmTreeClasses/tmFacet.cpp | wesen/TreeMaker | gpl-2.0 | 15,573 | 625 | codeparrot/github-code |
c787d88c6757d108d50acfdc19ed51b1f261edf70d8ae272e6c3124f230744ca | #include <string.h>
size_t strlen(const char *s) {
size_t length = 0;
if(s != NULL) {
for(; *s++ != '\0'; length++) ;
}
return length;
}
void *memset(void *s, int c, size_t n) {
if(s != NULL) {
for(int i = 0; i < n; i++) {
*(char*)s = c;
}
}
return s;
}
... | C | libc/string.c | pacampbell/cse506 | gpl-2.0 | 3,932 | 184 | codeparrot/github-code |
c8526d96b9913d98c64557855e40992db8c3be3b67e6e01832d2f025a5096b61 | /* Definitions of target machine for GNU compiler, for ARM.
Copyright (C) 1991-2013 Free Software Foundation, Inc.
Contributed by Pieter `Tiggr' Schoenmakers (rcpieter@win.tue.nl)
and Martin Simmons (@harleqn.co.uk).
More major hacks by Richard Earnshaw (rearnsha@arm.com)
Minor hacks by Nick Clifton (nic... | C | lib/gcc/arm-unknown-linux-gnueabi/4.8.2/plugin/include/config/arm/arm.h | pinkflozd/arm-eabi-4.8 | gpl-2.0 | 86,786 | 2,347 | codeparrot/github-code |
c8f25ce2b8f9d48c334f4d1665633ce7cd46f2c7c2a4f0ce968d4d013683356f | // Copyright 2008 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "Core/PowerPC/Jit64/Jit.h"
#include <map>
#include <string>
// for the PROFILER stuff
#ifdef _WIN32
#include <windows.h>
#endif
#include "Common/CommonTypes.h"
#include "Common/File.h"
#include "C... | C++ | Source/Core/Core/PowerPC/Jit64/Jit.cpp | delroth/dolphin | gpl-2.0 | 34,236 | 1,039 | codeparrot/github-code |
ed44468b0bde6cd5e60df6bee63ce48bb7c3f98e127f90d72c5806e59383dc21 | /*
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* Copyright (C) 2008-2010 Trinity <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either vers... | C++ | src/server/game/Combat/ThreatManager.cpp | Kirito/PhantomCore | gpl-2.0 | 19,074 | 558 | codeparrot/github-code |
c3f66dc08ecb08cd2c13b2e592ac7ff02fa83fa0714ebac03a2bcbb3d6eff23d | // DlgUusiTuote.cpp : implementation file
//
#include "stdafx.h"
#include "taika.h"
#include "taikaDlg.h"
#include "Props.h"
#include "DlgUusiTuote.h"
// DlgUusiTuote dialog
IMPLEMENT_DYNAMIC(DlgUusiTuote, CDialog)
DlgUusiTuote::DlgUusiTuote(CWnd* pParent /*=NULL*/)
: CDialog(DlgUusiTuote::IDD, pParent)
{}
DlgUusiT... | C++ | VS2005App/DlgUusiTuote.cpp | ptesavol/t-time | gpl-2.0 | 4,892 | 143 | codeparrot/github-code |
7751cad60d58ecc141970249fa37680fb00baff1d4f259c3e9630d03ce558d57 | package br.com.petshop.cadastro.bean;
import java.util.ArrayList;
import java.util.List;
import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProperty;
import javax.faces.bean.ViewScoped;
import org.apache.commons.lang.StringUtils;
import org.jod... | Java | petshop2/src/br/com/petshop/cadastro/bean/UsuarioBean.java | fcoedilson/petshop2 | gpl-2.0 | 7,968 | 227 | codeparrot/github-code |
489d5c4b6dcf8647abc2c729534686742cbab9dc588c3afadbf786383f0ff677 | <?php
namespace acl;
use Graphene\controllers\Action;
use Graphene\controllers\exceptions\GraphException;
class GroupPermissionSet extends Action {
public function run() {
$permissionProto = $this->request->getData()['Permission'];
if (!array_key_exists('group', $permissionProto) || !array_key_exi... | PHP | src/native/acl/actions/acl.GROUP_PERMISSION_SET.php | marcomag89/Graphene | gpl-2.0 | 2,008 | 58 | codeparrot/github-code |
83ca21b65181540f6f929e8a3df72a60669759c7085dad19af106bd8e3ebba18 | #ifndef __PATH__
#define __PATH__
#include "SDL.h"
/*
* Path Finding Module
* Donald Kehoe
* Created: 3/6/05
* Description:
* This file provides the data structures and function prototypes for Path Finding.
* It uses an implementation of the A* algorithm.
* Last Modified : 3/8/05
*
*/
typedef struct ... | C | src/path.h | FratStar/AlienRush | gpl-2.0 | 1,836 | 58 | codeparrot/github-code |
4521675ae2e4494ba66000abfda7ab23378010ed9d49bbfea58ce012d815931d | // --------------------------------------------------------------------------
// United Business Technologies
// Copyright (c) 2000 - 2014 All Rights Reserved.
//
// Source in this file is released to the public under the following license:
// ------------------------------------------------------------------... | C | XMLFoundation/Libraries/XMLFoundation/inc/xmlObject.h | ambilight-4-mediaportal/AtmoWin | gpl-2.0 | 45,386 | 862 | codeparrot/github-code |
d7ee227831f45ed8a2b2d9a1e1fec225dab5e2453af6c35380f46f42e1ebcc79 | #include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#define NTESTS 200
#define TRY(exp) \
printf(" a=0x%08x; taint(&b); b=0x%08x; assert((%s) == 0x%08x);\n", a, b, #exp, exp)
int main(int argc, char *argv[])
{
int i;
printf("#include <assert.h>\n"
"void taint(unsigned *x) { asm(\"\" : \... | C | shared/testcases/later/testgen.c | tommythorn/yari | gpl-2.0 | 1,375 | 70 | codeparrot/github-code |
e52d87d7630f4136f5ec96a5f16609883dae5a16e1a5821a2bdf906863ca644f | /*
Texel - A UCI chess engine.
Copyright (C) 2012-2016 Peter Österlund, peterosterlund2@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,... | C++ | Engines/Windows/texel/src/parameters.hpp | lukasmonk/lucaschess | gpl-2.0 | 18,717 | 537 | codeparrot/github-code |
f74acfb3f6cabaa5ab56881db25b15d8d959a4bf072b78a8a5a7d8d419e6d591 | import optparse
from math import sqrt, pi
import numpy as np
from ase.dft.kpoints import monkhorst_pack
def str2dict(s, namespace={}, sep='='):
"""Convert comma-separated key=value string to dictionary.
Examples:
>>> str2dict('xc=PBE,nbands=200,parallel={band:4}')
{'xc': 'PBE', 'nbands': 200, 'par... | Python | ase/tasks/calcfactory.py | alexei-matveev/ase-local | gpl-2.0 | 6,674 | 205 | codeparrot/github-code |
75643a65a716be6a37bbd6287d4529264d3b6aa16d64b9bc2f37cd082ea0bd9a | class GroupsController < ApplicationController
before_action :check_session
def index
@groups = @current_user.groups
end
def new
@group = Group.new
@items = @current_user.items
end
def create
@group = Group.new(group_params.merge(user_id: @current_user.id))
if @group.save
redir... | Ruby | app/controllers/groups_controller.rb | sammy/measurapp | gpl-2.0 | 1,593 | 63 | codeparrot/github-code |
e675adfe28402f22b53cbcd6577c634d51e1456bf5685ba7eab334db1025add9 | <?php
namespace abrain\Einsatzverwaltung\Shortcodes;
use abrain\Einsatzverwaltung\Data;
use abrain\Einsatzverwaltung\PermalinkController;
/**
* Renders links to yearly archives for the shortcode [einsatzjahre]
*/
class ReportArchives
{
/**
* @var Data
*/
private $data;
/**
* @var Permal... | PHP | src/Shortcodes/ReportArchives.php | jhbriese/einsatzverwaltung | gpl-2.0 | 3,260 | 118 | codeparrot/github-code |
ae61355b915c1b443718886aaa067f1b151934331e4ef312c16f634771f5fd57 | /* linux/arch/arm/plat-s3c24xx/irq.c
*
* Copyright (c) 2003,2004 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
*
* 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 th... | C | arch/arm/plat-s3c24xx/irq.c | sdwuyawen/linux2.6.21_helper2416 | gpl-2.0 | 20,238 | 889 | codeparrot/github-code |
0d05977d2f78e6ff2cb1796c43d3f5a6b4dbc50400a224fbb55702cd7ea352e1 | #ifndef _OMXRTMPOUTTEST_H_
#define _OMXRTMPOUTTEST_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <string.h>
#include <pthread.h>
#include <ctype.h>
#include <OMX_Core.h>
#include <OMX_Component.h>
#include <OMX_Types.h>
#include <OMX_Video.h>
#include <O... | C | test/components/rtmpout/omxrtmpouttest.h | dengxiayehu/orps | gpl-2.0 | 1,157 | 56 | codeparrot/github-code |
282fb414a3451d78c7f34e99cbe86bbc7c0d7ef7a79e8bfc0030d43103408fdf | <?php
/**
* The Template for displaying all single products.
*
* Override this template by copying it to yourtheme/woocommerce/single-product.php
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
// Action: w... | PHP | wp-content/themes/savoy/woocommerce/single-product.php | Sananes/scruplesdecor | gpl-2.0 | 2,354 | 75 | codeparrot/github-code |
64d087e3587f5d84710c7fc1128f0c9bb9a93c227985e8964455008e5b43f879 | /***
This file is part of eudev, forked from systemd.
Copyright 2010-2012 Lennart Poettering
systemd is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at y... | C | src/shared/path-util.c | uarka/eudev | gpl-2.0 | 11,864 | 433 | codeparrot/github-code |
c2c6548cdbfd0d0e95c6287aae7c7795f6055ca4e2d36b4d5eacce3afc93994c | package com.epam.trn.model;
public class UserRole {
private Long id;
private String name;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Override
public boolean eq... | Java | src/main/java/com/epam/trn/model/UserRole.java | Galiaf47/epm-trn | gpl-2.0 | 770 | 40 | codeparrot/github-code |
98645685540830c81de4b33e84af02a4aebb5992d04170e6c1ecfa7351212628 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Mood... | PHP | blocks/quiz_results/edit_form.php | ajv/Offline-Caching | gpl-2.0 | 3,786 | 78 | codeparrot/github-code |
4589db652c75e94d2f2273c055405318cf2a59cc1898eaf6235fd8c60c7ef3c2 | /*
* PUAE - The Un*x Amiga Emulator
*
* Interface to the SDL GUI
* (initially was for GP2X)
*
*/
#include<stdio.h>
#include<stdlib.h>
#include<SDL.h>
#include "vkbd.h"
#ifdef GP2X
#include "gp2x.h"
#endif
#define MIN_VKBD_TIME 100
int32_t vkbd_mode=0;
int32_t vkbd_move=0;
SDLKey vkbd_key=(SDLKey)0;
SDLKey vk... | C++ | src/gui-sdl/vkbd.cpp | Yamakuzure/PUAE | gpl-2.0 | 7,769 | 287 | codeparrot/github-code |
cd1d87eb83a43650fa37313b9a03f8fb22dda37c1b174a43f4a8605f5c671569 | #pragma once
#include <QString>
#include <deque>
#include <functional>
#include <string>
#include <memory>
#include "ui_OBSBasic.h"
class undo_stack {
typedef std::function<void(const std::string &data)> undo_redo_cb;
typedef std::function<void(bool is_undo)> func;
typedef std::unique_ptr<Ui::OBSBasic> &ui_ptr;
... | C++ | UI/undo-stack-obs.hpp | audiohacked/obs-studio | gpl-2.0 | 885 | 47 | codeparrot/github-code |
66fdce22222d587aaef5003cba92676824fa4016a84605a314f42b4121af9390 | /*
* Copyright (c) 2007-2008 Michael Schoonmaker <michael.r.schoonmaker@gmail.com>
* Copyright (c) 2007-2008 Chris Shake <cshake@gmail.com>
* Copyright (c) 2016 Michael Dippery <michael@monkey-robot.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU ... | Java | src/main/java/snodes/fs/FileInfo.java | mdippery/snodes | gpl-2.0 | 2,316 | 94 | codeparrot/github-code |
593ad4679c8470e6630931ec3e42e72fa65048744bfec3b4c0addbdc61a6f14d | //>>built
require({cache:{"manager/DialogSimple":function(){
define("manager/DialogSimple",["dojo/_base/declare","manager/Dialog"],function(_1,_2){
return _1("Manager.DialogSimple",[_2],{});
});
},"manager/Form":function(){
define("manager/Form",["dojo/_base/declare"],function(_3){
return _3("Manager.Form",[],{id:null,... | JavaScript | public/scripts/manager/layers/core.js | joshuacoddingyou/php | gpl-2.0 | 31,060 | 1,187 | codeparrot/github-code |
ceadf9d3baba47ec24a5958a6856cf420508056836e5bf769f8f0c63f1783328 | /*
* linux/drivers/cpufreq/cpufreq.c
*
* Copyright (C) 2001 Russell King
* (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de>
*
* Oct 2005 - Ashok Raj <ashok.raj@intel.com>
* Added handling for CPU hotplug
* Feb 2006 - Jacob Shin <jacob.shin@amd.com>
* Fix handling for CPU hotplug -- affected CP... | C | drivers/cpufreq/cpufreq.c | pierdebeer/Audax_Kernel | gpl-2.0 | 55,791 | 2,150 | codeparrot/github-code |
4b8c68d35d311c5f4012a4ff74cb4b962822d0f8c4e05fcf0cab0155e1aec1f3 | <?php
/**
* sh404SEF - SEO extension for Joomla!
*
* @author Yannick Gaultier
* @copyright (c) Yannick Gaultier 2014
* @package sh404SEF
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @version 4.4.6.2271
* @date 2014-11-03
*/
// Check to ensure this file is included in Joomla!
d... | PHP | administrator/components/com_sh404sef/lib/extplugins/joomsef/joomsef.php | davidguillemet/fashionphotosub | gpl-2.0 | 90,835 | 2,840 | codeparrot/github-code |
6a06a85c401a0dd17193647c91a08e0b1f2af30f7e19862ad256655d41f78c92 | /*
* Autshumato Terminology Management System (TMS)
* Free web application for the management of multilingual terminology databases (termbanks).
*
* Copyright (C) 2013 Centre for Text Technology (CTexT®), North-West University
* and Department of Arts and Culture, Government of South Africa
* Home page: http://ww... | Java | src/tms2/client/admininterface/presenter/TermBaseProjectTabPresenter.java | ismail-l/test-repo | gpl-2.0 | 13,182 | 475 | codeparrot/github-code |
021aaae251f4ed4d62889d788cce4eb7906184ef1e59db140c37197af7639319 | package org.cedar.onestop.registry;
import io.confluent.kafka.serializers.AbstractKafkaAvroSerDeConfig;
import io.confluent.kafka.serializers.KafkaAvroSerializer;
import org.apache.kafka.clients.producer.*;
import org.apache.kafka.clients.producer.KafkaProducer;
import org.apache.kafka.clients.producer.ProducerRecord;... | Java | docs/metadata-manager/v3/sampleCode/kafkaSampleTest.java | cedardevs/onestop | gpl-2.0 | 3,210 | 78 | codeparrot/github-code |
ca81d9e038f521f23eab27bdb464b4234f000ba264b58894243816be5637a7f3 | /*
Theme Name: Fresh Bananas
Description: Bright blues and reds, no yellows.
Author: Jeff Wheeler
Tags: white, blue, two column, custom header, widget, threaded comments
WDP ID: 128
Version: 1.3.7.9
Customiziation should be easy enough. Sorry there aren't more comments in the CSS though. The other files are w... | CSS | wp-content/themes/fresh-bananas/style.css | rjbaniel/upoor | gpl-2.0 | 8,242 | 458 | codeparrot/github-code |
fb097524f4288c631c8ae1146652cb165c58ff42a4fb0ec837516e49db03c0e9 | package com.example.linelook.util;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Random;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import com.example.linelook.R;
import com.example.linelook.entit... | Java | src/com/example/linelook/util/ImageUtil.java | Folyd/Lianliankan | gpl-2.0 | 1,819 | 69 | codeparrot/github-code |
6731417d210b416ec316dd8fbacd0b13d9efd30d33aea8c32081ec4ee57bd4cd | /**
* Copyright (C) 2002-2022 The FreeCol Team
*
* This file is part of FreeCol.
*
* FreeCol 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 optio... | Java | src/net/sf/freecol/server/model/ServerGame.java | FreeCol/freecol | gpl-2.0 | 28,540 | 733 | codeparrot/github-code |
bfee9130249b36573f086f5ab41e11f1a7cad9f73f127a3ab9bd4c258c1d17a0 | /*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/*
WARNING: Clear the browser cache after you modify this file.
If you do not do this, you may notice that the browser is ignoring all your changes.
*/
CKEDITOR.e... | JavaScript | sites/all/libraries/ckeditor/ckeditor.config.js | Lythimus/lptv | gpl-2.0 | 4,104 | 105 | codeparrot/github-code |
7fc3b611d1a1ad6803c86f50848ac59a28ffc7e627f85e34c5a93fed669d6716 | #
# Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2004,
# 2006, 2009, 2011, 2012, 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 Founda... | Makefile | Makefile | joshumax/hurd | gpl-2.0 | 10,997 | 317 | codeparrot/github-code |
9ca82169ad1853d7091eaceb594c0a3b045e505ce18e69d6ea623917c3adf99c | #!/bin/bash
# Copyright 2016 Xiaohui Zhang Apache 2.0.
# This srcipt operates on alignment directories, such as exp/tri4a_ali
# the output is a new ali dir which has alignments from all the input ali dirs
# Begin configuration section.
cmd=run.pl
extra_files=
num_jobs=4
# End configuration section.
echo "$0 $@" # ... | Shell | kaldi/egs/wsj/s5/steps/combine_ali_dirs.sh | michellemorales/OpenMM | gpl-2.0 | 3,363 | 106 | codeparrot/github-code |
17fb2886ec6175451e999e8df8893a3d2f5f55b3568af9dfc29145f72873b257 | /**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2022 UniPro <ugene@unipro.ru>
* http://ugene.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* ... | C++ | src/plugins/GUITestBase/src/runnables/ugene/corelibs/U2Gui/ExportImageDialogFiller.cpp | ugeneunipro/ugene | gpl-2.0 | 7,809 | 223 | codeparrot/github-code |
382ec269af358b51247aa49f8c6ff0f1fbbd7a7db6e84590249a7741132d4fa7 | /*
* Copyright (C) 2008-2013 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; eith... | C++ | src/server/game/Conditions/ConditionMgr.cpp | powerzilly/trinitycore | gpl-2.0 | 92,729 | 2,103 | codeparrot/github-code |
ee16006d76c97262112f05d5d7749a8760f280021f202770a986f9e637b69cb3 | <?php
/**
* Xref table abstract class to create tables specialised doing xref
*
* The pkey is the Where key in the load function,
* the skey is the select key in the load function
*
*
* @package VirtueMart
* @subpackage Helpers
* @author Max Milbers
* @copyright Copyright (c) 2011 VirtueMart Team. All rights ... | PHP | administrator/components/com_virtuemart1/helpers/vmtablexarray.php | cuongnd/test_pro | gpl-2.0 | 10,410 | 317 | codeparrot/github-code |
a3dfddd3b826c11b0e25ea78c74afc160fe15b55a505aa193e0d238b2911c7ea | VERSION:=0.7
OPT:=-O2 -ffast-math
CXXFLAGS := -fno-exceptions -fno-rtti
DEBUG:=-g
AS:=as
NO_EBX := --fixed-ebx
NO_SCHD := -fno-schedule-insns2
# Adjust for your preferred version of GCC, at least 3.3 suggested:
# CC := gcc-3.3
# CXX := g++-3.3
CC := gcc-4.8 -m32
CXX := g++-4.8 -m32
# Adjust to location of libdisas... | Makefile | Makefile | smcc/pittsfield | gpl-2.0 | 4,024 | 117 | codeparrot/github-code |
fff488405326cc04106789f680bbb9dbe63314b5800d2a7c61cb358e1264dac2 | <?php
/*
+---------------------------------------------------------------------------+
| OpenX v2.8 |
| ========== |
| ... | PHP | lib/OX/Extension/deliveryLimitations/DeliveryLimitationsArrayData.php | soeffing/openx_test | gpl-2.0 | 6,535 | 181 | codeparrot/github-code |
bdb87b00bc2a82a882ebeaf88dc28448a8c029c4922dc8ebe90485e8c15c3409 | /*
* Copyright (C) 2004-2016 Michael Medin
*
* This file is part of NSClient++ - https://nsclient.org
*
* NSClient++ is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the L... | C++ | modules/NRDPClient/nrdp.hpp | mickem/nscp | gpl-2.0 | 1,603 | 51 | codeparrot/github-code |
109b8b6107991f68cc90ab1cb756f971b7723a9203c5f42b22034ba47e0cc3db | <?php
//## NextScripts Flipboard Connection Class
$nxs_snapAvNts[] = array('code'=>'FP', 'lcode'=>'fp', 'name'=>'Flipboard');
if (!class_exists("nxs_snapClassFP")) { class nxs_snapClassFP { var $ntInfo = array('code'=>'FP', 'lcode'=>'fp', 'name'=>'Flipboard', 'defNName'=>'', 'tstReq' => false);
//#### Show ... | PHP | wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc-cl/fp.php | designosource/sjarabang-sage | gpl-2.0 | 25,626 | 247 | codeparrot/github-code |
9e497903e067fbee76f293ba4895f1f098c8cbec351b1d3e477121d5bbf4f175 | package com.eshop.utils;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import com.eshop.entrity.AdminUser;
/**
* 获取session中管理员adminuser的相关信息;
* @author xia
*
*/
public class AdminSessionUtils {
public static String getSessionAdminUserCommpany(HttpServletRequest request... | Java | src/com/eshop/utils/AdminSessionUtils.java | 1242157902/eshop | gpl-2.0 | 1,420 | 66 | codeparrot/github-code |
1bda9abbf7292990d34d1db16210f03eae81540f250a58c7638d97996bb110c8 | <?php
require_once 'Zend/Controller/Action.php';
class Admin_EdgesController extends Zend_Controller_Action {
public function addAction() {
// On utilise le layout admin pour la mise en page
$this->_helper->layout->setLayout ( 'admin' );
// Création du formulaire d'ajout
$form = new Form_E... | PHP | application/modules/admin/controllers/EdgesController.php | charlyz/medical-directives-generator | gpl-2.0 | 2,819 | 102 | codeparrot/github-code |
f65fbbb4f3950b45c1a769f939d231827253c308075990e97028940da736165c |
/*
Lightbox v2.5
by Lokesh Dhakar - http://www.lokeshdhakar.com
For more information, visit:
http://lokeshdhakar.com/projects/lightbox2/
Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/
- free for use in both personal and commercial projects
- attribution requ... | JavaScript | wp-content/themes/Art-wordpress/js/lightbox.js | Flangour/artinmusic | gpl-2.0 | 11,734 | 352 | codeparrot/github-code |
268907a1127d9c80918ac27947bbeabcbbccacf9ac45f49a9419c420ea5acd34 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui_fiscal_icfencerrar.ui'
#
# Created: Mon Nov 24 22:25:43 2014
# by: pyside-uic 0.2.15 running on PySide 1.2.2
#
# WARNING! All changes made in this file will be lost!
from PySide import QtCore, QtGui
from PySide.QtGui import QMessage... | Python | scripts/fiscal/ui_fiscal_icfencerrar.py | edineicolli/daruma-exemplo-python | gpl-2.0 | 6,431 | 113 | codeparrot/github-code |
9fe0aa35ef21b1e548fceb53b9b6aadbb4100e07ea7574cb5816566b0f25c5af | /*
* 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 may not use... | Java | nalb2013/src/org/apache/pdfbox/pdmodel/interactive/measurement/PDRectlinearMeasureDictionary.java | sencko/NALB | gpl-2.0 | 8,024 | 295 | codeparrot/github-code |
44a02e6037fba43c7f59caa6e929083a51284e912c83b5a72d7ea4c2f6f12d5d | /**********************************************\
|* (c) 2013-2015 GiR-Zippo *|
|* gir_zippo@hellokitty.com *|
\**********************************************/
#include "WorldObjectScript.hpp"
#include <iostream> // cout
#include <stdio.h> // fopen, fclose
#include <string.h> // s... | C++ | src/Client/GameObjects/WorldObjectScript.cpp | GiR-Zippo/GWAN-Engine | gpl-2.0 | 15,963 | 434 | codeparrot/github-code |
5605621876f64e99732f4b8547e2acd8ee687cb7f752a2dbf318d41d413757f2 | /*
*
*
* Copyright 1990-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* This program 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 | shared/cacao-related/phoneme_feature/midp/src/highlevelui/lcdlf/lfjava/classes/com/sun/midp/chameleon/skins/resources/MenuResources.java | tommythorn/yari | gpl-2.0 | 4,963 | 123 | codeparrot/github-code |
47e733b4b5f1a79423f1d3dfd9401b45ce9ec39072a6bc6619386ab2c56dac43 | package com.funkydonkies.sounds;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;
/**
* tests the powerup inverse end class.
* @author Olivier Dikken
*
*/
public class PowerupInverseEndSoundTest {
private SoundPlayer soundPlayerMock;
/**
* mock a SoundPlayer class.
*/
@Before
... | Java | src/test/java/com/funkydonkies/sounds/PowerupInverseEndSoundTest.java | Denpeer/ContextProject | gpl-2.0 | 588 | 34 | codeparrot/github-code |
826243c918dfa95d3643870078e15cd76f9038b1f61b8de7f0f1ffd58c020f2d | <?php
namespace Data\Field;
class DecimalTest extends \PHPUnit_Framework_TestCase
{
public function testMake()
{
$field = DecimalField::signed(10, 2);
$this->assertSame(false, $field->isNullable());
$this->assertSame(false, $field->isUnsigned());
$this->assertSame(10, $field->g... | PHP | test/DecimalTest.php | vegvari/DataField | gpl-2.0 | 4,057 | 143 | codeparrot/github-code |
faa3103c23280c04d70400ac65920452887b1648e999db946f85318192363d01 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="styles/drugcms.css" />
<meta http-equiv="expires" content="0">
<meta ht... | HTML | drugcms/templates/standard/template.system_purge.html | Spider-IT-Deutschland/drugCMS | gpl-2.0 | 9,138 | 344 | codeparrot/github-code |
fb3484bb8141603cd3ac58c1b5a7c0e0f8e4e108cbdec2909614cf42df998e15 | /**************************************************************************
*
* OUTAGES.C - Nagios 网络中断 CGI
*
*
* License:
*
* 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.
... | C | cgi/outages.c | caidui/nagios4-cn | gpl-2.0 | 18,931 | 655 | codeparrot/github-code |
4ec96eb15e95297e2ce08bd83cde3f83e1e88308509908d8814bf54cb3d8f652 | # -*- coding: utf-8 -*-
"""
* Copyright (C) 2010-2014 Loic BLOT <http://www.unix-experience.fr/>
*
* This program is free software you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation either version 2 of the License, or
* (at your op... | Python | service/WebApp/Z_Eye/engine/Switches/API/__init__.py | nerzhul/Z-Eye | gpl-2.0 | 3,146 | 77 | codeparrot/github-code |
5af85c28e920eca47c019e3515419c187ce0d01b73010aee82f3f9b8841316e3 | package edu.drexel.cci.hiyh.has.driver.insteon;
import java.io.IOException;
public class IRDriver extends AbstractX10Driver {
private Command[] commands;
public IRDriver(PLM plm) {
super(plm);
commands = new Command[0];
}
public IRDriver(PLM plm, Command[] commands) {
super(plm);
this.commands = comma... | Java | src/edu/drexel/cci/hiyh/has/driver/insteon/IRDriver.java | jgm55/FrigidWaters | gpl-2.0 | 692 | 39 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.