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 |
|---|---|---|---|---|---|---|---|---|
ed6adcd434f9a9fc121340d7e00adf23b24b858c9900cfd58049f2a2e3059b90 | import math
class ColorPoint:
"""
Simple color-storage class; stores way-points on a color ramp
"""
def __init__(self,idx,col,colType):
# index, X-coordinate, on a palette
self.idx = idx
# color; usually an RGBA quad
self.color = col
# One of ColorTypes members
... | Python | python/pymol/colorramping.py | gratefulfrog/lib | gpl-2.0 | 13,994 | 471 | codeparrot/github-code |
538b760a33f7796046090b28588833264229f56308e54de3a9364908372b31af | /*****************************************************************************
* evt_scroll.hpp
*****************************************************************************
* Copyright (C) 2003 the VideoLAN team
* $Id: evt_scroll.hpp 14187 2006-02-07 16:37:40Z courmisch $
*
* Authors: Cyril Deguet <asmax@via... | C++ | user/blkfin-apps/vlc/vlc-0.8.6b/modules/gui/skins2/events/evt_scroll.hpp | scs/uclinux | gpl-2.0 | 2,141 | 65 | codeparrot/github-code |
d6c11ea60aecc7501c85e8afcb15fa35e15ad56e90840326305f7905347f0958 | /*
-----------------------------------------------------------------------------
$Id: cli.c,v 1.2 2010/03/07 20:12:49 carl Exp $
-----------------------------------------------------------------------------
Copyright (c) 2001-2007 gogo6 Inc. All rights reserved.
For license information refer to CLIENT-LICENSE.TXT... | C | jni/gogoc-1_2-RELEASE/gogoc-tsp/src/lib/cli.c | aelmahmoudy/gogodroid | gpl-2.0 | 3,690 | 159 | codeparrot/github-code |
3f990a66e8cc7b86b1a28b4a384f305a4ed029c58cad219a3b21f61d6d8a440a | /* stringprep.h Header file for stringprep functions. -*- c -*-
* Copyright (C) 2002, 2003 Simon Josefsson
*
* This file is part of GNU Libidn.
*
* GNU Libidn is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... | C | src/libidn/stringprep.h | Tallefer/bombusng-md | gpl-2.0 | 7,015 | 221 | codeparrot/github-code |
601eeb499db414cded46182986814ee9afb389cbc533df06ad3dc1e09adea504 | #include "debug.h"
#include <fstream>
namespace joker
{
using std::endl;
using std::cout;
using std::cerr;
using std::string;
using namespace cocos2d;
std::ostream & operator << (std::ostream & out, const Vec2 & v)
{
out << v.x << ' ' << v.y << endl;
return ou... | C++ | Classes/utils/debug.cpp | doyoubi/Joker | gpl-2.0 | 1,897 | 67 | codeparrot/github-code |
a5fceff2f392d3c05cf649936541395aa083d5be0203707aa6d2985f42abe105 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rirbatch.Commands.HelperClasses
{
/// <summary>
/// Handles the jump to / label logic
/// </summary>
public class Jumper : Nop
{
//int countTiefe;
List<String... | C# | src/Commands/HelperClasses/Jumper.cs | SolidLeon/CSScriptor | gpl-2.0 | 6,050 | 178 | codeparrot/github-code |
e7ac19f5dd281e0752ec0a726f8d3d59145934efb385e35bc5b57a6da2577eb8 | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | C++ | src/USER-REAXC/pair_reaxc.cpp | andeplane/lammps | gpl-2.0 | 23,598 | 840 | codeparrot/github-code |
90fd2035740ac84e621e832a6b332b68b69c956a49e6509dfacfb7805bd5b188 | /*******************************************************************************
* style.scss
*
* This file shouldn't directly contain any SCSS code, instead it only serves to
* combine the SCSS contained in other Sass partials through @import directives.
*
* BASE............Styling for common HTML and Drupal ele... | CSS | sites/all/themes/seamaster/css/seamaster.styles.css | pbonnefoi/iaab | gpl-2.0 | 12,472 | 486 | codeparrot/github-code |
66297f0ce1736033b89a351964514d9548ad44400e02edda36acfc19ba410cff | /*************************************************************************/ /*!
@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved ... | C | drivers/staging/imgtec/intel/bufferclass_video_linux.c | BenzoPlayer/kernel_asus_fugu | gpl-2.0 | 24,733 | 956 | codeparrot/github-code |
479a201aa6b57a009c046d6c36d9ec80d4231aa8b0f02fef72665e5da899bda9 | <?php
/**
* プロフィール表示テンプレート
*
* @package ystandard
* @author yosiakatsuki
* @license GPL-2.0+
*/
defined( 'ABSPATH' ) || die();
/**
* 著者情報の表示は基本的にショートコードで処理しています。
*/
if ( empty( $author_data ) ) {
return;
}
?>
<div class="author-box">
<div class="author-box__header">
<?php if ( $author_data['avatar'] ) :... | PHP | template-parts/parts/author.php | yosiakatsuki/ystandard | gpl-2.0 | 1,387 | 52 | codeparrot/github-code |
73f6a0b5a14b23003950cac32c93b549e1802ac135e984c4258a284c112727a7 | #include "stdafx.h"
#if 0
void cellHttpUtil_init();
Module cellHttpUtil(0x0002, cellHttpUtil_init);
int cellHttpUtilParseUri()
{
UNIMPLEMENTED_FUNC(cellHttpUtil);
return CELL_OK;
}
int cellHttpUtilParseUriPath()
{
UNIMPLEMENTED_FUNC(cellHttpUtil);
return CELL_OK;
}
int cellHttpUtilParseProxy()
{
UNIMPLEMENTED_... | C++ | rpcs3/Emu/SysCalls/Modules/cellHttpUtil.cpp | Syphurith/rpcs3 | gpl-2.0 | 2,905 | 154 | codeparrot/github-code |
17f35fd33fc366c8a551a3be7ba795e1c2c48cd3646b8fb8803e4aad826e68ca | /*
* C Implementation: tunnel
*
* Description:
*
*
* Author: Simon Morlat <simon.morlat@linphone.org>, (C) 2009
*
* Copyright (C) 2010 Belledonne Comunications, Grenoble, France
*
*/
#include "TunnelManager.hh"
#include "ortp/rtpsession.h"
#include "linphonecore.h"
#include "linphonecore_utils.h"
#includ... | C++ | coreapi/TunnelManager.cc | hvatum/dcm-linphone | gpl-2.0 | 12,866 | 441 | codeparrot/github-code |
1439a37966ea76464c17440b541234b0b75b92a597f9f93d714655e311a72bd0 | <?php
/**
* @package ThemeName
* @version 0.1.0
* @author Your Name <you@youremailprovider.com>
* @copyright Copyright (c) 2013, Your Name
* @link http://yoursite.com/themes/theme-slug
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
/* Add the child theme setup function t... | PHP | functions.php | sheabunge/stargazer-child | gpl-2.0 | 4,180 | 125 | codeparrot/github-code |
9fefdd82ea4b2d8eb103314a4d7e756a9083a70dbf295f53fbe713011b7f92f8 | package mispruebas;
import clases.Persona;
import com.opensymphony.xwork2.ActionSupport;
import java.util.Map;
import org.apache.struts2.interceptor.SessionAware;
/**
*
* @author fer
*/
public class pruebaAction extends ActionSupport implements SessionAware {
private Map<String,Object> session;
p... | Java | src/java/mispruebas/pruebaAction.java | arkadoel/Struts2-sessions | gpl-2.0 | 1,216 | 64 | codeparrot/github-code |
a07b1e17252bbde56110b84e208b80b2337a17961a8eba9f3d3d3f611ed410a3 | package radium.json;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.JsonNode;
import com.github.fge.jsonschema.core.exceptions.ProcessingException;
import com.github.fge.jsonschema.main.JsonSc... | Java | src/main/java/radium/json/JsonSchemaUtil.java | radium226/json | gpl-2.0 | 1,317 | 35 | codeparrot/github-code |
c32fbc4373c47dc6dc2403bb40d06df762d813c8a25431744a58e538074e1b87 | // VirtualDub - Video processing and capture application
// Graphics support library
// Copyright (C) 1998-2009 Avery Lee
//
// 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 o... | C | src/h/vd2/Kasumi/pixel.h | shekh/VirtualDub2 | gpl-2.0 | 3,249 | 72 | codeparrot/github-code |
3b7d49680aad18d90d70aeb1f1c81b6db91114446586982c2968fa0b0861d699 | /* $Id: //depot/sw/releases/9.5.3/linux/kernels/mips-linux-2.6.31/drivers/isdn/hysdn/hycapi.c#1 $
*
* Linux driver for HYSDN cards, CAPI2.0-Interface.
*
* Author Ulrich Albrecht <u.albrecht@hypercope.de> for Hypercope GmbH
* Copyright 2000 by Hypercope GmbH
*
* This software may be used and distributed accord... | C | git_home/linux.git/drivers/isdn/hysdn/hycapi.c | jameshilliard/WM2500RP-V1.0.0.34_gpl_src | gpl-2.0 | 23,221 | 799 | codeparrot/github-code |
ccc25888b130d515d4e7bfc47005c1a10de0969250f82bc478d8dfddcbcc781b | /*
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later ve... | C++ | src/server/game/OutdoorPvP/OutdoorPvP.cpp | TheGhostGroup/TC-Enhanced | gpl-2.0 | 19,525 | 613 | codeparrot/github-code |
54a5016da70baf68a873215552fd860c4e2c14881e47cd4e332ca6cbd9677e70 | <?
/**[N]**
* JIBAS Education Community
* Jaringan Informasi Bersama Antar Sekolah
*
* @version: 2.6.0 (January 14, 2012)
* @notes: JIBAS Education Community will be managed by Yayasan Indonesia Membaca (http://www.indonesiamembaca.net)
*
* Copyright (C) 2009 Yayasan Indonesia Membaca (http://www.indon... | PHP | jibas/infoguru/infosiswa/catatansiswaadd.php | nurulimamnotes/sistem-informasi-sekolah | gpl-2.0 | 6,882 | 190 | codeparrot/github-code |
1dc223b94e37b9b6cd6dfb0740978bdce1f577187b4b52eb5e284f2152112115 | #!/usr/bin/env python
# encoding: utf-8
"""
instrumentation.py
This file defines the various 'events' that can happen in the simlir system. Every
time an object in the simulation does something significant, it sends a message
to a global instrumentation object, which currently has a mild wrapping around them
for textu... | Python | instrumentation.py | niallrmurphy/simlir | gpl-2.0 | 8,970 | 254 | codeparrot/github-code |
c814194a7949e3c374eec88d597dbb1ce5c3069911164164664df1c1edae0484 | /* FCE Ultra - NES/Famicom Emulator
*
* Copyright notice for this file:
* Copyright (C) 2003 Xodnizel
*
* 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, o... | C | src/fceu.c | matthewbauer/fceumm | gpl-2.0 | 10,488 | 526 | codeparrot/github-code |
20b6cebd154c6b4168db030e33413838bb67304854223af5540f0405eb8afe05 | package Slash::SearchToo::Plucene;
# STILL IN PROGRESS NOT READY FOR USE
use strict;
use File::Spec::Functions;
use Slash::Utility;
use Slash::DB::Utility;
use Slash::SearchToo::Classic;
use vars qw($VERSION);
use base 'Slash::SearchToo::Indexer';
use Plucene::Document;
use Plucene::Document::DateSerializer;
use Plu... | Perl | plugins/SearchToo/SearchToo/Plucene.pm | jmcvetta/slashcode | gpl-2.0 | 9,439 | 386 | codeparrot/github-code |
4dd8a944dc65eb5d246465095511fc1bc75f48625533fe3c4c141d18db78532f | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M anipulation |
------------------... | C++ | src/meshTools/cellClassification/cellClassification.C | Unofficial-Extend-Project-Mirror/openfoam-extend-Core-OpenFOAM-1.5-dev | gpl-2.0 | 23,087 | 901 | codeparrot/github-code |
31c2005ee0b0d5be02a589a6662deeb078c9df3d9913e7094a2c77978d55bdb4 | // -*- C++ -*-
//=============================================================================
/**
* @file Local_Name_Space_T.h
*
* $Id: Local_Name_Space_T.h 80826 2008-03-04 14:51:23Z wotte $
*
* @author Prashant Jain <pjain@cs.wustl.edu>
* @author Irfan Pyarali <irfan@wuerl.wustl.edu> and
* ... | C | dep/ACE_wrappers/ace/Local_Name_Space_T.h | web0316/WOW | gpl-2.0 | 10,166 | 281 | codeparrot/github-code |
6a31171b0179daec65b2595a3eadf6755d27799c36daea759355086ee8506fc8 | /* SPDX-License-Identifier: LGPL-2.1+ */
/***
Copyright © 2014 Intel Corporation. All rights reserved.
***/
#include <netinet/in.h>
#include <linux/if.h>
#include "sd-radv.h"
#include "sd-dhcp6-client.h"
#include "hashmap.h"
#include "hostname-util.h"
#include "missing_network.h"
#include "network-internal.h"
#inc... | C | src/network/networkd-dhcp6.c | pwithnall/systemd | gpl-2.0 | 24,006 | 688 | codeparrot/github-code |
76137ec0f4417797f185917ab80c0f153c03e7d604d6ef139fac877cc5ccb8fd | /*!
* btoa-umd
*
* @link https://github.com/t1st3/btoa-umd
* @author t1st3
* @version 1.1.0
* @license https://github.com/t1st3/btoa-umd/blob/master/LICENSE
*
*/
/* global define,describe,it,mocha,chai */
/* jshint unused:false */
'use strict';
(function (root, factory) {
if (typeof define === 'function' && define... | JavaScript | test/tests.js | T1st3/btoa-umd | gpl-2.0 | 4,397 | 164 | codeparrot/github-code |
75c648422fb754ee57a806284fb16061ba3e6be0698631470823785ab6ffd372 | /******************************************************************************
* xc_domain_restore.c
*
* Restore the state of a guest session.
*
* Copyright (c) 2003, K A Fraser.
* Copyright (c) 2006, Intel Corporation
* Copyright (c) 2007, XenSource Inc.
*
* This library is free software; you can redistribut... | C | tools/libxc/xc_domain_restore.c | virt2x/xen2 | gpl-2.0 | 80,132 | 2,400 | codeparrot/github-code |
901d9c0374e079a36b50e00a77e817c31d267b8ac07178cd9cd671b265eea03d | <?php
/*
* Title : Booking System PRO (WordPress Plugin)
* Version : 2.0
* File : views/locations/views-backend-locations.php
* File Version : 1.0
* Created / Last Modified : 13 October 2014
* Author : Dot on Paper
* Copyright ... | PHP | wp-content/plugins/dopbsp/views/locations/views-backend-locations.php | yousseffakih1/wordpress | gpl-2.0 | 3,811 | 88 | codeparrot/github-code |
fe098bb04519717b80b06dabc66d19e4892b6600ac283d9f460eca30244f464c | <?php
class SchedulesController extends AppController
{
public function beforeFilter()
{
parent::beforeFilter();
$this->Auth->allow('index','detalhar');
}
public function cms_cadastrar()
{
$this->layout = 'cms';
if ($this->request->is(array('post', ... | PHP | app/Controller/SchedulesController.php | felipearomani/jatobacultural | gpl-2.0 | 5,238 | 149 | codeparrot/github-code |
0059c603f45ce77b087543b7bec633df612426fc0912de97ddc1472cf8d4d17f | <?php
/**
* @file
* Returns the HTML for a single Drupal page.
*
* Complete documentation for this file is available online.
* @see https://drupal.org/node/1728148
*/
?>
<div id="page">
<header class="header" id="header" role="banner">
<?php if ($logo): ?>
<a href="<?php print $front_page; ?>" titl... | PHP | templates/page.tpl.php | dennisheaney/zenden | gpl-2.0 | 3,865 | 121 | codeparrot/github-code |
1d6d7a1c27852d2a4fca9b379f57b671dc4f6a7ddf4e3c45da063e57f1019405 | <?php
/*
Title: WP E-Commerce
Origin plugin: wp-e-commerce/wp-shopping-cart.php
*/
?>
<?php
if ( !function_exists('add_action') ) {
header('Status: 403 Forbidden');
header('HTTP/1.1 403 Forbidden');
exit();
}
$variations_skip = array( 'categories','status');
ob_clean();
if(isset($_REQUEST['keep... | PHP | shops/wpsc.php | wp-plugins/excel-like-product-attribute-and-tag-manager | gpl-2.0 | 74,998 | 2,195 | codeparrot/github-code |
38bdc43b25f8042a0fbe796df74f960c6a2778bc03892b85c0b6d5ba5d5ae3b6 | <?php
/*******************************************************************************
Copyright 2014 Foods Co-op
This file is part of CORE-POS.
CORE-POS 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 ... | PHP | fannie/item/vendors/SkuMapPage.php | GeorgeStreetCoop/CORE-POS | gpl-2.0 | 9,570 | 268 | codeparrot/github-code |
44cb347966aa7123346b72a6546fe98bcfa33f8e7cea92f9599670ad7a83ebaf | <?php
/*
Plugin Name: Development Environment Notification
Plugin URI: http://www.alexphelps.me
Description: A simple plugin to help signify a wordpress environement is development and not production for developers so we don't get confused.
Version: 0.1
Author: Alex Phelps
Author Email: alex@alexphelps.me
*/
//if c... | PHP | devbar-notification.php | alexphelps/WordPress-Admin-Bar-Dev-Notification | gpl-2.0 | 1,603 | 56 | codeparrot/github-code |
453aa9bd7696f9a389cccb108172149a1fe973178003f6aed5245bd834add8fa | /*
* Copyright (C) 2006 Aurelien Jacobs <aurel@gnuage.org>
*
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at ... | C | unused/transcoders/libav-11.4/libavcodec/vp5.c | jcmcclurg/serverpower | gpl-2.0 | 10,814 | 296 | codeparrot/github-code |
7c2c683bf004ae96a6ddc2a1436e28576c9ad4728d38ff9f3dd2b652f32fedcd | /* $Id: main_symbian.cpp 3553 2011-05-05 06:14:19Z nanang $ */
/*
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Li... | C++ | pjsip-apps/src/symbian_ua/main_symbian.cpp | silvansky/pjsip_mod | gpl-2.0 | 2,282 | 83 | codeparrot/github-code |
4fed39268ef47c36c4b2bcda20d43e56da280afc46cf72068f575bc96622d50b | /*
* w1.c
*
* Copyright (c) 2004 Evgeniy Polyakov <zbr@ioremap.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 of the License, or
* (at your option) any later ... | C | drivers/w1/w1.c | VegaDevTeam/android_kernel_n9009 | gpl-2.0 | 29,072 | 1,169 | codeparrot/github-code |
cc9e3f3c58d29b42d375c309d7c467883d84277318e984d531873cb818507959 | /**
* @file
* Form Styling
*/
.form-item { /* Wrapper for a form element (or group of form elements) and its label */
margin: 1.5em 0;
}
.form-item input.error,
.form-item textarea.error,
.form-item select.error { /* Highlight the form elements that caused a form submission error */
border: 1px solid #c00;
}
... | CSS | sites/all/themes/hub_zen/css/forms.css | alexgl/hub-demo | gpl-2.0 | 2,884 | 148 | codeparrot/github-code |
2dbf96ca1930af5bad5319072507cf6e86ca5ddaae9c007c72c938e47b1dfb16 | /*
* 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/ecmascript/src/com/caucho/eswrap/java/io/ReaderEcmaWrap.java | dlitz/resin | gpl-2.0 | 2,345 | 108 | codeparrot/github-code |
881e314a1fad1ea2b1e925454e4d040d5fce776dc04dbf2cc7b228ca4fca4c1b | using Server.Engines.Craft;
using System;
namespace Server.Items
{
public class FemaleGargishLeatherChest : BaseArmor
{
[Constructable]
public FemaleGargishLeatherChest()
: this(0)
{
}
[Constructable]
public FemaleGargishLeatherChest(int hue)
... | C# | Scripts/Items/Equipment/Armor/FemaleGargishLeatherChest.cs | Argalep/ServUO | gpl-2.0 | 2,327 | 80 | codeparrot/github-code |
ca63b4266c6b2a628b4b44944877585ca30df00c4e161cff11a59c96374d538c | /**
* @project: irCbot - An Internet Relay Chat bot written in C
* @file: events.c
* @authors: Djole, King_Hual <djolel@net.dut.edu.vn>, <king_hell@abv.bg>
*/
#include "events.h"
void IRC_ProcessEvents(INSTANCE iInstance, char *pLine)
{
char **pParts;
unsigned int iSize;
iSize = explode(&pParts, pLin... | C | src/events.c | iZN1337/irCbot | gpl-2.0 | 3,367 | 130 | codeparrot/github-code |
a5f05005f3ae5f14a0ab7f444c503f968e311a0ea6b318803378b2a0c2eff3d9 | //Copyright 2003-2005 Arthur van Hoff, Rick Blair
//Licensed under Apache License version 2.0
//Original license LGPL
package javax.jmdns.impl;
import java.io.IOException;
import java.net.DatagramPacket;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.jmdns.impl.constants.DNSConstants;
... | Java | src/main/java/javax/jmdns/impl/SocketListener.java | blackshadowwalker/log4j-collector | gpl-2.0 | 3,512 | 111 | codeparrot/github-code |
ee63ab74071ea9d33919c2efc8a8012176e22eaf172d4a5b6da432bee204c264 | /*
* Copyright (C) 2012 The Android Open Source Project
*
* 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 app... | Java | packages/apps/Settings/src/com/android/settings/wifi/WpsDialog.java | rex-xxx/mt6572_x201 | gpl-2.0 | 9,052 | 272 | codeparrot/github-code |
a11c8e454f944f02081f39282b67b22799b3d1ba887ec07c89297962d1cde41a | package MusicBrainz::Server::Edit::Release::EditReleaseLabel;
use Moose;
use Moose::Util::TypeConstraints qw( find_type_constraint subtype as );
use MooseX::Types::Moose qw( Int Str );
use MooseX::Types::Structured qw( Dict );
use MusicBrainz::Server::Constants qw( $EDIT_RELEASE_EDITRELEASELABEL );
use MusicBrainz::Se... | Perl | lib/MusicBrainz/Server/Edit/Release/EditReleaseLabel.pm | mwiencek/musicbrainz-server | gpl-2.0 | 6,222 | 213 | codeparrot/github-code |
5dbade99b86ba45df6c233ff0fdf42b732c4e98ebd4c58cef537e303ce497c2f | /*****************************************************************************
* dvb.h : functions to control a DVB card under Linux with v4l2
*****************************************************************************
* Copyright (C) 1998-2005 the VideoLAN team
*
* Authors: Johan Bilien <jobi@via.ecp.fr>
* ... | C | modules/access/dvb/dvb.h | epitech-labfree/vlc-1.1-encre | gpl-2.0 | 7,522 | 257 | codeparrot/github-code |
4c7b82b60e1cab9b72b0eaa7892401b0479ae8e7caca09e153b49de38a67fb45 | /******************************************************************************
* WNS (Wireless Network Simulator) *
* __________________________________________________________________________ *
* *
... | C++ | framework/library/src/ldk/HasUpPort.hpp | creasyw/IMTAphy | gpl-2.0 | 3,025 | 82 | codeparrot/github-code |
83103384c57cb356610441c661f214548aad136c5fa87f692b0940d7359c12dd | #------------------------------------------------------------------------------
# File: OpenEXR.pm
#
# Description: Read OpenEXR meta information
#
# Revisions: 2011/12/10 - P. Harvey Created
#
# References: 1) http://www.openexr.com/
#----------------------------------------------------------------------... | Perl | import-fuji-settings.lrplugin/bin/lib/Image/ExifTool/OpenEXR.pm | avdeveloper/import-fuji-settings | gpl-2.0 | 10,343 | 324 | codeparrot/github-code |
99719d479aaed411fcd9231d43d470475e38c9654eaa1373b725853ed08bbe02 | /**
* 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-jdbc/jena-jdbc-driver-mem/src/main/java/org/apache/jena/jdbc/mem/MemDriver.java | hdadler/sensetrace-src | gpl-2.0 | 8,040 | 196 | codeparrot/github-code |
02a841385f58651522138793b36c055d11a6f9a1ef45806601ede7248fbbd104 | /**
* @created on : 31-jul-2017, 9:40:27
* @see
* @since
* @version
* @author Raul Vela Salas
*/
package java_ejemplo_comprobar_valores;
import java.util.Scanner;
public class ComprobarWhile {
private static String c;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in... | Java | Java_Ejemplos/src/java_ejemplo_comprobar_valores/ComprobarWhile.java | NoTengoNombre/Java_ActualizarConocimientos | gpl-2.0 | 763 | 32 | codeparrot/github-code |
87be3506fe2f3716f57f58a01a8104eea3eb00772b374b87ef9f15964b435960 | /* commview.c
* Routines for opening CommView file format packet captures
* Copyright 2007, Stephen Fisher (see AUTHORS file)
*
* $Id: commview.c 46776 2012-12-26 12:05:48Z guy $
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* Based on csids.... | C | wiretap/commview.c | Abhi9k/wireshark-dissector | gpl-2.0 | 12,700 | 425 | codeparrot/github-code |
e39784dea19ef1bd25704a0230ea74606c4789dd77ac1c0d5f6fadf5f1bfa31d | #
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2000-2006 Donald N. Allingham
# Copyright (C) 2011 Tim G L Lyons, Nick Hall
#
# 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 Found... | Python | gramps/gui/views/treemodels/citationbasemodel.py | arunkgupta/gramps | gpl-2.0 | 6,368 | 211 | codeparrot/github-code |
0476d392687b35166197868c0b43564340bfb5058d59db2249bcbb4eb3a8cb88 | /*
BlueZ - Bluetooth protocol stack for Linux
Copyright (C) 2000-2001 Qualcomm Incorporated
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
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 ... | C | linux-2.6.x/drivers/bluetooth/hci_uart.h | xerpi/3ds-arm9-linux | gpl-2.0 | 2,393 | 83 | codeparrot/github-code |
c359a53c7926d23a06907e5c58e75647b42fb38ace1fa0ce66fcc68d6bdb139e | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.biblioteca.clases;
import com.biblioteca.entidad.Documento;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.IOException;
import j... | Java | src/java/com/biblioteca/clases/IndexarDirectorio.java | jimaguere/Biblioteca | gpl-2.0 | 6,490 | 166 | codeparrot/github-code |
9cd34ea154e3694d84b14a31f2bd37f46b0c6a5c9f82e1bb3f2950312c747151 | /*
* Copyright (C) 2005-2012 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 version 2 of the License, or
* (at your option) any later version.
*
... | C | src/game/Opcodes.h | kotishe/temp | gpl-2.0 | 67,872 | 1,141 | codeparrot/github-code |
f0f9515d4960c9a7555145c33ba4605c426e5ebd7049fd1b834b144623e20d1b | /* ContactDetailsViewController.h
*
* Copyright (C) 2012 Belledonne Comunications, Grenoble, France
*
* 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, o... | C | Classes/ContactDetailsViewController.h | africallshop/africallshop-iphone | gpl-2.0 | 2,093 | 50 | codeparrot/github-code |
e4abb230d304607bb5821f4a46f9f714f40e156a70b25fda0a8f7e61bcdeb895 | <?php
/* -----------------------------------------------------------------------------------------
$Id: iclear.php 1200 2010-08-23 14:51:10Z dokuman $
xtcModified - community made shopping
http://www.xtc-modified.org
Copyright (c) 2010 xtcModified
-------------------------------------------------------... | PHP | includes/modules/payment/iclear.php | kiang/xtcmodified | gpl-2.0 | 17,113 | 261 | codeparrot/github-code |
71d75b11be408c0a495ad1346491445023ed87acd0572eddc2be6035461ce5ea | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* This file is part of guh. *
* *
* Guh is f... | C++ | server/jsonrpc/ruleshandler.cpp | mzanetti/guh | gpl-2.0 | 7,136 | 171 | codeparrot/github-code |
d62a8a150caaa12523aa0aede961adfd441a76833423d48f4fa6aac58df13a36 | /*
* Copyright (C) 2008-2011 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/Chat/Chat.h | wonopon/chupalaquecuelga | gpl-2.0 | 19,238 | 406 | codeparrot/github-code |
dcd1db06d4f25dfa8e6a8080d7bb6b61b5cff1d05de623c9a0e8884c710e745f | #!/bin/bash
#
# Takes a list of record in a file ($1)
# Imports records to FreeIPA only if necessary.
#
# To build the list:
# dig AXFR @$DNS $DOMAIN | grep "A\|CNAME" | awk '{ print $4" "$1" "$5 }' \
# | grep -v 'SOA ' | grep -v '<<>>' | sort -k1,2 \
# | tr '[:upper:]' '... | Shell | freeipa/ipa.dns.import-from-axfr.sh | uZer/rootools | gpl-2.0 | 7,261 | 265 | codeparrot/github-code |
ab30189f7df88885ab241c35f7884d2e97f5e5ead7f184fca83c69840a77abfe | package com.newgaea.openEnd.schematics;
import java.io.IOException;
import java.io.InputStream;
import com.newgaea.openEnd.OpenEndMod;
import com.newgaea.openEnd.lib.Reference;
import net.minecraft.nbt.CompressedStreamTools;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import ... | Java | openend_common/com/newgaea/openEnd/schematics/SchematicManager.java | nekosune/OpenEnd | gpl-2.0 | 1,959 | 74 | codeparrot/github-code |
0b050fdac471273ebfddc12ca9ddf6cfd708957fb11fa5d18d099b41579d41de | /*
* Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
* Copyright (C) 2005 Eric Seidel <eric@webkit.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
*... | C | modules/web/src/main/native/Source/WebCore/platform/graphics/filters/FEColorMatrix.h | teamfx/openjfx-8u-dev-rt | gpl-2.0 | 3,434 | 96 | codeparrot/github-code |
5b58f66db80abfd366706f3762abeca7ff672ffb972938685ed2e34b468dd33f | ## This file is part of Invenio.
## Copyright (C) 2012, 2013 CERN.
##
## Invenio is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License as
## published by the Free Software Foundation; either version 2 of the
## License, or (at your option) any later version.
##
... | Python | modules/bibdocfile/lib/bibdocfile_webinterface.py | kaplun/ops | gpl-2.0 | 26,790 | 555 | codeparrot/github-code |
340d33c8639fc329f769d29cdddb1f847dfc7b6052cc6299a7d84d2d13d08009 | /*
* Copyright (C) 2011-2014 GUIGUI Simon, fyhertz@gmail.com
*
* This file is part of libstreaming (https://github.com/fyhertz/libstreaming)
*
* Spydroid 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... | Java | app/src/main/java/net/majorkernelpanic/streaming/mp4/MP4Config.java | Oo-Dev/OoDroid2 | gpl-2.0 | 2,628 | 97 | codeparrot/github-code |
4fde1d81b4cd36b4cce40aa347f436015bf1ba485f1216ffb67de455355c7d23 | /* | https://webnalist.com | v1.0.0 | Copyright (c) 2015 Webnalist Sp. z o.o. All rights reserved. | */
var WN = WN || {};
WN = (function (window, document, app) {
var qs = function (selector, scope) {
return (scope || document).querySelector(selector);
},
qsa = function (selector, scope... | JavaScript | src/webnalist.js | webnalist/WebnalistFrontend | gpl-2.0 | 9,804 | 261 | codeparrot/github-code |
f64686ad400dae504fe0df0ae67099b0ae0e4026ff29dc77ab9b6027be6a6c6b | /*
* SARG Squid Analysis Report Generator http://sarg.sourceforge.net
* 1998, 2010
*
* SARG donations:
* please look at http://sarg.sourceforge.net/donations.php
* Support:
* http://sourceforge.net/projects/sarg/forums/forum/363374
* -----... | C | topuser.c | stephdl/sarg | gpl-2.0 | 17,274 | 417 | codeparrot/github-code |
572c4460e14880a6f90ce4d9f0c4e136f2840506393b412b817b681fc7fd41ef | #include <set>
#include <algorithm>
#include <QtDebug>
#include "Task.h"
#include "CharmConstants.h"
#include "CharmExceptions.h"
Task::Task()
: m_id(0)
, m_parent(0)
, m_subscribed(false)
, m_trackable(true)
{
}
Task::Task(TaskId id, const QString& name, TaskId parent, bool subscribed)
: m_id(i... | C++ | Core/Task.cpp | endocode/Charm | gpl-2.0 | 10,254 | 358 | codeparrot/github-code |
a019b43558525dcebe5a5a5a3ba70b0c55a7d0fe0fb253383bf264bdf573f92f | #include "disassembler.h"
#include "instruction.h"
#include "instructiondata.h"
#include "log.h"
#include "memory.h"
#include "ppc.h"
#include "trace.h"
#include "system.h"
#include "kernelfunction.h"
template<typename... Args>
static void
debugPrint(fmt::StringRef msg, Args... args) {
auto out = fmt::... | C++ | src/trace.cpp | cfwprpht/wiiu-emu | gpl-2.0 | 7,265 | 318 | codeparrot/github-code |
968771971cd512c947e428999db1fa9f868010572cf7160a6beb3cf9950bcd91 | #include <string>
#include <map>
#include <fstream>
#include <cstdlib>
#include "KeyConfig.h"
using namespace std;
/* Converts the action string from the config file into
* the corresponding enum value
*/
int convertStringToAction(string str_action)
{
if(str_action == "DECREASE_SPEED")
return KeyConfi... | C++ | KeyConfig.cpp | gnorkx/omxplayer | gpl-2.0 | 6,159 | 189 | codeparrot/github-code |
869302ad07b010a5e9ec1045141fadbb2de9a2d926a1aba6c07db9f042b9be2e | __author__ = 'Ivan Dortulov'
from web.ServerBase import *
from web.RequestHandler import *
from web.async.AsyncRequestHandler import *
from web.async.EventDispatcher import *
from web.async.Connection import *
import socket
import errno
class AsyncServer(BaseServer, EventDispatcher):
def __init__(self, address... | Python | WebServer/1.0/JUNK/backup/web/async/AsyncServer.py | IceCubeDev/hackerschool | gpl-2.0 | 3,762 | 102 | codeparrot/github-code |
a85df20779f921678d65ea8feeaf952905b5055a06658c72fbd035cad2bd67ef | /*
* Copyright (C) 2009 Matthew Gates
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is dist... | C++ | plugins/TextUserInterface/src/TextUserInterface.cpp | nabychan/stellarium | gpl-2.0 | 32,795 | 843 | codeparrot/github-code |
97b37f306cbd1395be4ef000736f8eaf7eb12c37ffa51c5c2de3edaa3f3e3acb | /*
* Bricks-OS, Operating System for Game Consoles
* Copyright (C) 2008 Maximus32 <Maximus32@bricks-os.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of ... | C | include/posix/time.h | rickgaiser/bricks-os | gpl-2.0 | 1,491 | 55 | codeparrot/github-code |
61562c20dcd7d8df152fbc2bf6f5aed87e52671b3211d6f1e155f2b9924211b0 | <?php
if (!defined('FORUM_ROOT'))
define('FORUM_ROOT', './');
require FORUM_ROOT.'include/common.php';
$appr = $forum_user['g_moderator'] || ($forum_user['g_id'] == FORUM_ADMIN);
$limit = 23;
$query = array(
'SELECT' => 'users.id as i, username, SUM(IF(mark=1,1,0)) as o, SUM(IF(mark=-1,1,0)) as p, SUM(mark) as q... | PHP | plusiki.php | torepublic/torepublic | gpl-2.0 | 9,224 | 300 | codeparrot/github-code |
4bf57f8c29d611059f8100cfb16b8cbe2fbbeac10d1f7a32890aae0016ebef12 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title></title>
<link rel="stylesheet" media="screen" type="text/css" href="./style.css" />
<link rel="stylesheet" media="screen" type="text/css" href="./design.css" />
<link ... | HTML | docs/wiki/gsoc2007_projects.html | alyoshin/geda-gaf | gpl-2.0 | 31,443 | 591 | codeparrot/github-code |
47a4928f5c13020d59352c80a4cac870ec554982db552e7d44e49f94a3bb5ae2 | ///
/// \file bmp.cc
/// BMP conversion routines
///
/*
Copyright (C) 2009-2010, Net Direct Inc. (http://www.netdirect.ca/)
Copyright (C) 2008-2009, Nicolas VIVIEN
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/bmp.cc | adetaylor/barry-usbrelay | gpl-2.0 | 4,458 | 163 | codeparrot/github-code |
901b3b4fdbc255c720d50296db08c51fc414fd6e3044a74f41566d29c3baa304 | #include "ExtensionsTest.h"
#include "../testResource.h"
#include "AssetsManagerExTest/AssetsManagerExTest.h"
#include "NotificationCenterTest/NotificationCenterTest.h"
#include "ControlExtensionTest/CCControlSceneManager.h"
#include "CocosBuilderTest/CocosBuilderTest.h"
#if (CC_TARGET_PLATFORM != CC_PLATFORM_EMSCRIPTE... | C++ | GridViewTest/ExtensionsTest.cpp | yszheda/cocos2d-x-GridView | gpl-2.0 | 6,778 | 202 | codeparrot/github-code |
c7fc67701e9ef489adf50cd14580dcc925753de0cb0467b893be85f86abfb933 | /*****************************************************************************
*
* File name : clock-stx7111.c
* Description : Low Level API - HW specific implementation
*
* COPYRIGHT (C) 2009 STMicroelectronics - All Rights Reserved
* May be copied or modified under the terms of the GNU General Public
* Licen... | C | drivers/stm/clocks/clock-stx7111.c | suzuke/kernel-pdk7105 | gpl-2.0 | 56,976 | 2,060 | codeparrot/github-code |
f63c2f6f220b8921e78a5b47a72a96e1bb620c3bf8bc9e5c871cf763dc268609 | <?php
/* twig/upper/menu.twig */
class __TwigTemplate_d9eb12b2dbc87f3c4c9797f8e5937756a8e9a223879fa749a1d1c4182b0ed810 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}... | PHP | templates/web_default/cache/d9/eb/12b2dbc87f3c4c9797f8e5937756a8e9a223879fa749a1d1c4182b0ed810.php | shcms5/shcms_engine | gpl-2.0 | 987 | 39 | codeparrot/github-code |
60c27eaf7994e0b44e4edd3ceb8cb8cd696705c87e37d04ffd13b7d8126f44b7 | <?php
// Copyright SQCRM. For licensing, reuse, modification and distribution see license.txt
/**
* Create report step5 view
* @author Abhik Chakraborty
*/
$do_report_fields = new ReportFields();
$primary_module_id = $_SESSION["primary_module"] ;
$secondary_module_id = $_SESSION["secondary_module"];
$primary_report_... | PHP | view/create_report_step5_view.php | sQcrm/sqcrm | gpl-2.0 | 7,331 | 151 | codeparrot/github-code |
7a6d1a01e3e283fd752b75718cba6e15c215571bb9586296b66f7b570325b21c | <?php
/**
* DLcrumbs snippet
*
* @license GNU General Public License (GPL), http://www.gnu.org/copyleft/gpl.html
* @author Agel_Nash <Agel_Nash@xaker.ru>
*/
if (!defined('MODX_BASE_PATH')) {
die('HACK???');
}
$_out = '';
if ( isset( $modx->event->params['config'] ) ) {
require_once MODX_BASE_PATH . 'asset... | PHP | assets/snippets/DocLister/snippet.DLCrumbs.php | AgelxNash/DocLister | gpl-2.0 | 1,649 | 57 | codeparrot/github-code |
1dd7a717b0817cc64ce98d727671454775920cdea7dfc9f7aad5355261386072 | //////////////////////////////////////////////////////////////////////
// Yet Another Tibia Client
//////////////////////////////////////////////////////////////////////
//
//////////////////////////////////////////////////////////////////////
// This program is free software; you can redistribute it and/or
// modify i... | C | net/encryption.h | opentibia/yatc | gpl-2.0 | 1,758 | 65 | codeparrot/github-code |
d22fc3c7a86012908e726d0a6cb45cc8bc8a9f3c1bbe912aff7dd1bd84a20bff | /*
* Copyright (c) 2012 Patrick Meyer
*
* 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 version.
*
* This program is dist... | Java | src/main/java/com/itemanalysis/jmetrik/stats/ranking/RankingCommand.java | meyerjp3/jmetrik | gpl-2.0 | 3,937 | 87 | codeparrot/github-code |
c23d1db7ca68dc33a108e444f5dafd079d23bbab8b537ebe926b969b95bc8757 | <?php
use Centreon\Test\Behat\CentreonContext;
use Centreon\Test\Behat\Configuration\ServiceTemplateConfigurationPage;
use Centreon\Test\Behat\Configuration\ServiceTemplateConfigurationListingPage;
use Centreon\Test\Behat\Configuration\HostConfigurationPage;
use Centreon\Test\Behat\Configuration\ServiceCategoryConfigu... | PHP | features/bootstrap/ServiceTemplateConfigurationContext.php | centreon/centreon | gpl-2.0 | 15,427 | 412 | codeparrot/github-code |
3350dc0d3f49ca906182ff6fe6d9945c6d5b76abf2582e143c9ccebbc1062580 | <?php
// $HeadURL: https://joomgallery.org/svn/joomgallery/JG-2.0/Module/JoomImages/trunk/tmpl/default.php $
// $Id: default.php 3070 2011-05-13 12:57:15Z aha $
defined('_JEXEC') or die('Restricted access');
// Defining sectiontableentry class
$sectiontableentry = "sectiontableentry";
$secnr = 1;
$count_img_per_row = ... | PHP | modules/mod_joomimg/tmpl/default.php | 2inchesofwater/N4C | gpl-2.0 | 3,904 | 144 | codeparrot/github-code |
e7aeb4721827dfac62ada9676327160341c17881a6e705735bdd2ec0ecbd4dea | /*
* Copyright © 2011 Intel Corporation
*
* 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 to use, copy, modify, merge, pub... | C | drivers/gpu/drm/i915/intel_sprite.c | intel-linux-graphics/drm-intel | gpl-2.0 | 29,881 | 1,087 | codeparrot/github-code |
e2049bdd6ab19ce1a76e116227d13120d8af013434228748e345602b52066049 | /*
* Copyright IBM Corp. 2007, 2009
* Author(s): Utz Bacher <utz.bacher@de.ibm.com>,
* Frank Pavlic <fpavlic@de.ibm.com>,
* Thomas Spatzier <tspat@de.ibm.com>,
* Frank Blaschka <frank.blaschka@de.ibm.com>
*/
#define KMSG_COMPONENT "qeth"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include <linux/mo... | C | drivers/s390/net/qeth_l2_main.c | Stefan-Schmidt/linux-wpan-next | gpl-2.0 | 70,272 | 2,532 | codeparrot/github-code |
bbe65cb2a7057a4c3f5e80319bb9c0cdce30034526b2b1fe9c4802f5da5817fd | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML5 Games | Easy Learn Tutorial | Free Programming Lessons</title>
<link href="http://easylearntutorial... | HTML | game-dev-ai/index.html | formigone/easylearntutorial | gpl-2.0 | 7,306 | 159 | codeparrot/github-code |
30aba3a47f68f0faf6d6484080922316034af575f450d9ca91328042a76d0271 | <?php
defined('_JEXEC') or die;
abstract class RFReservationRepeatAbstract implements IRepeatOptions
{
/**
* @var int
*/
protected $_interval;
/**
* @var Date
*/
protected $_terminationDate;
/**
* @return Date
*/
public function terminationDate()
{
return $this->_terminationDate;
}
/**
* @p... | PHP | source/pkg_jongman/libraries/jongman/reservation/repeat/abstract.php | Hill2/JONGman | gpl-2.0 | 1,061 | 53 | codeparrot/github-code |
7905221ca5281e6bf3d36653092a8018806a1de2d87809f2f0c57943a2fbcbc3 | #include "map.h"
#include <sstream>
#include <fstream>
#include "compression.h"
#include "log_macros.h"
#include <gtc/matrix_transform.hpp>
Map::Map() {
}
Map::~Map() {
}
bool Map::Build(std::string zone_name, bool ignore_collide_tex) {
LoadIgnore(zone_name);
eqLogMessage(LogTrace, "Attempting to load %s.eqg as a... | C++ | src/azone/map.cpp | EQEmu/zone-utilities | gpl-2.0 | 32,180 | 1,004 | codeparrot/github-code |
f4c419916d41d39e8b78a82a8b2ee07ee852b78d5b1a16005567ca9635b83457 | package com.tincent.android.view;
import android.content.Context;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.text.Editable;
import android.text.TextWatcher;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.EditText;
public class TXEd... | Java | libtincent/src/com/tincent/android/view/TXEditText.java | tincent/libtincent | gpl-2.0 | 2,422 | 96 | codeparrot/github-code |
e77ee16b9e5d5ccc963f86ca6c3734001234d559db9e60f77635fadefa12810a | /*
* Copyright (C) 2011-2012 WCloudEMU <http://www.WCloud.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
... | C | src/server/game/Movement/MotionMaster.h | Enturion/WCloud | gpl-2.0 | 7,170 | 191 | codeparrot/github-code |
66e1f1475bcae41ab8dfd6789f091f1006e187f277158e71247ad640d7fe4578 | /* **********************************************
File Name: 4110.cpp
Auther: zhengdongjian@tju.edu.cn
Created Time: 2015年08月18日 星期二 08时41分08秒
*********************************************** */
#include <bits/stdc++.h>
using namespace std;
const int MAX = 2048;
int a[MAX];
int main() {
int T;
cin >> T;
w... | C++ | toj/4110.cpp | 3013216027/acm | gpl-2.0 | 732 | 43 | codeparrot/github-code |
0962af63e77297008e18476b1d17304a64961435e4c9bf5bcba5efac42d04936 | /*
Copyright (C) 2003 Robert Lipe, robertlipe@usa.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 of the License, or
(at your option) any later version.
... | C | navicache.c | alexbirkett/GPSBabel | gpl-2.0 | 6,465 | 288 | codeparrot/github-code |
48ce3c5a05a6bc30eff3e6bbdf809c0806948864098bf7e51a2f6e7422be9099 | /*******************************************************************************
* Copyright (c) 2013 Jannis Koenig.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* ht... | Java | OSAFT/src/de/uni_hannover/osaft/plugins/connnectorappdata/tables/LiveSearchTableModel.java | j-koenig/osaft | gpl-2.0 | 3,192 | 102 | codeparrot/github-code |
4f9f9a039f75b18450a84afc6cd686ec2d2ec7a051813a7c380b13843958f06b | <?php
/**
* ClickHeat - Clicks' heatmap
*
* @link http://www.dugwood.com/clickheat/index.html
* @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
* @version $Id$
*
* @package Piwik\Plugins\ClickHeat
*/
namespace Piwik\Plugins\ClickHeat;
use Piwik\Translate;
use Piwik\Piwik;
us... | PHP | piwik/Controller.php | selfnavi/piwik-clickheat | gpl-2.0 | 9,139 | 308 | codeparrot/github-code |
f2a8452b2b303e58b97a1fa83b67ba3ec685604d80f5171213b7013cd5f6f51d | <?php
/*======================================================================*\
|| #################################################################### ||
|| # ---------------------------------------------------------------- # ||
|| # com_jobs is a native Job Management Component for Joomla # ||
|| # This co... | PHP | components/lknlibrary/lknlibrary/functions.base.php | macartuche/Bolsa-Empleo | gpl-2.0 | 5,463 | 158 | codeparrot/github-code |
f4ffb2a32ca36eaa72ef40631c862ccebad18681baa414fbf103e49ffd5ba93c | // ======================================================================
//
// simple_stats: yield simple statistics from individually-presented data
//
// ======================================================================
#include "cetlib/simple_stats.h"
#include "cetlib/pow.h" // square
#include "cpp0x/alg... | C++ | FNALCore/cetlib/cetlib/simple_stats.cc | DUNE/FNALCore | gpl-2.0 | 2,988 | 126 | codeparrot/github-code |
f7799c2040ccdaf2a11db72913c88ea8b1b59e62e119745ec4466b135feaf9e3 |
package com.sencko.nalb.db;
import java.util.ArrayList;
import java.util.List;
import com.google.appengine.api.datastore.DatastoreService;
import com.google.appengine.api.datastore.DatastoreServiceFactory;
import com.google.appengine.api.datastore.Entity;
import com.google.appengine.api.datastore.PreparedQu... | Java | nalb2013/src/com/sencko/nalb/db/RosterSpot.java | sencko/NALB | gpl-2.0 | 3,223 | 111 | codeparrot/github-code |
9dda1ca42375a38189ffd2d0ea78add5147efa520e8eadb63120fc42f972a627 | {-# LANGUAGE DeriveDataTypeable #-}
{- |
Module : ./OWL2/Sublogic.hs
Copyright : (c) Dominik Luecke, Felix Gabriel Mance
License : GPLv2 or higher, see LICENSE.txt
Maintainer : f.mance@jacobs-university.de
Stability : provisional
Portability : portable
Complexity analysis of OWL2
-}
module OWL2.... | Haskell | OWL2/Sublogic.hs | spechub/Hets | gpl-2.0 | 9,855 | 264 | codeparrot/github-code |
9ea47de7b3f1cc2f5600cd24ebb932127366022d73d70abb1872c2528bba6476 | /*****************************************************************************
* Help.cpp : Help and About dialogs
****************************************************************************
* Copyright (C) 2007 the VideoLAN team
* $Id$
*
* Authors: Jean-Baptiste Kempf <jb (at) videolan.org>
* Rémi Dur... | C++ | modules/gui/qt4/dialogs/help.cpp | cmassiot/vlc-broadcast | gpl-2.0 | 9,136 | 287 | codeparrot/github-code |
3bc5423291a9cfa85974576024a106fb3b0975d84a5197c832d342a49de8f717 | /** -*- Mode: c++ -*-
* IPTVFeederWrapper
* Copyright (c) 2006 by Mickaël Remars
* Distributed as part of MythTV under GPL v2 and later.
*/
#ifndef _IPTV_FEEDER_WRAPPER_H_
#define _IPTV_FEEDER_WRAPPER_H_
#include <vector>
using namespace std;
#include <qmutex.h>
#include <qstring.h>
class IPTVFeeder;
class T... | C | libs/libmythtv/iptv/iptvfeederwrapper.h | neuros/neuroslink-mythtv-0.21.0-fixes18722 | gpl-2.0 | 1,157 | 55 | codeparrot/github-code |
28a768474a46c0fb6d3bc23e0c8645ce1bcc2bb7b40c881c7a3d17b50b28b089 | package com.newway.morsecodetyper;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
/**
* a class for morse code interpretation
* @author wei
*
*/
public class MorseCoder {
private HashMap<Character,String> morseMap;
//private String digits[];
//private String alphabet[];
... | Java | src/com/newway/morsecodetyper/MorseCoder.java | newwaylw/MorseCodeTyper | gpl-2.0 | 2,349 | 70 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.