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 |
|---|---|---|---|---|---|---|---|---|
e395f30efca5fab79b576f5b7ca6c17c5d3bc9ddcaad80ba10c1637dc8920679 | /*
* Copyright (c) 2010 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributin... | C | external/libvpx/libvpx/vp8/encoder/block.h | qtekfun/htcDesire820Kernel | gpl-2.0 | 3,672 | 160 | codeparrot/github-code |
dd6f86fc07f06f221f4894ab6099a8e7dd9693a0c3126277b4fdc07791855cdb | // **********************************************************************
//
// Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved.
//
// **********************************************************************
#include <Ice/Ice.h>
#include <IceGrid/IceGrid.h>
#include <Hello.h>
using namespace std;
using namespac... | C++ | cpp/IceGrid/customLocator/Client.cpp | lejingw/ice-java | gpl-2.0 | 2,877 | 149 | codeparrot/github-code |
16287de3703bcfc76ec5cdc0e207b85b952f9ae775275f03a30e3363fde602d6 | <?php
/** ---------------------------------------------------------------------
* JavascriptLoadManager.php : class to control loading of Javascript libraries
* ----------------------------------------------------------------------
* CollectiveAccess
* Open-source collections management software
* ----------------... | PHP | app/lib/ca/JavascriptLoadManager.php | avpreserve/nfai | gpl-2.0 | 6,453 | 170 | codeparrot/github-code |
7339a97b08857bf635eb21b905ad093f9f4ce565584de520cdb9c11af5bc9c9d | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Data;
using System.Windows.Controls.Primitives;
using System.Reflection;
using System.Windows.Threading... | C# | MusicCollectionWPF/MusicCollectionWPF/Infra/Element/CustoSlider.cs | David-Desmaisons/MusicCollection | gpl-2.0 | 10,164 | 351 | codeparrot/github-code |
41270121a3f4fbfbe139897842f2d5087220729ad7b36b4f1a7f604205d1740d | // Copyright (c) 2000 Max-Planck-Institute Saarbruecken (Germany).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// You can redistribute it and/or modify it under the terms of the GNU
// General Public License as published by the Free Software Foundation,
// either version 3 of the License, o... | C | cgal/include/CGAL/Partition_2/Rotation_tree_2.h | wschreyer/PENTrack | gpl-2.0 | 5,859 | 191 | codeparrot/github-code |
40e39d5988221af6498f1de52ed316e959775d09df8532daad7777e764f3c35a | # Copyright (C) 2008-2013 Zentyal S.L.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2, as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANT... | Perl | main/samba/src/EBox/Samba/CGI/EditUser.pm | allanjhonne/zentyal | gpl-2.0 | 6,891 | 206 | codeparrot/github-code |
88d690f71ba3ff8d11a96c54d59025fd4f47314ed834d4d4d524452dacf5022b | /*****************************************************************************/
/* */
/* Ittiam 802.11 MAC SOFTWARE */
/* */
... | C | drivers/net/wireless/trout/mac/src/Common/common.c | abgoyal/zen_u105_kernel | gpl-2.0 | 42,309 | 1,147 | codeparrot/github-code |
31645b75e5a8aae7cf134004285ddd14c17cecebce1ab5ad347c9776daac7188 | #include "stdafx.h"
#include "Emu/SysCalls/SysCalls.h"
#include "Emu/SysCalls/SC_FUNC.h"
#include "Emu/GS/GCM.h"
void cellGcmSys_init();
void cellGcmSys_load();
void cellGcmSys_unload();
Module cellGcmSys(0x0010, cellGcmSys_init, cellGcmSys_load, cellGcmSys_unload);
u32 local_size = 0;
u32 local_addr = 0;
enum
{
CE... | C++ | rpcs3/Emu/SysCalls/Modules/cellGcmSys.cpp | unknownbrackets/rpcs3 | gpl-2.0 | 26,937 | 968 | codeparrot/github-code |
a52bbd2b9620b87b2885d88f037b73bf7f3daa93554e137f6dab862c29ccd321 | <?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2021 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET... | PHP | inc/update.class.php | trasher/glpi | gpl-2.0 | 11,319 | 332 | codeparrot/github-code |
abebfff6954305b24d97e3fcd2aa352083de28b8239750b53e9e958fa259e212 | =head1 NAME
POSIX - Perl interface to IEEE Std 1003.1
=head1 SYNOPSIS
use POSIX ();
use POSIX qw(setsid);
use POSIX qw(:errno_h :fcntl_h);
printf "EINTR is %d\n", EINTR;
$sess_id = POSIX::setsid();
$fd = POSIX::open($path, O_CREAT|O_EXCL|O_WRONLY, 0644);
# note: that's a filedescriptor, *... | Perl | strawberry-perl-5.20.0.1-32bit-portable/perl/lib/POSIX.pod | mishin/dwimperl-windows | gpl-2.0 | 67,024 | 2,368 | codeparrot/github-code |
74f04a7f4996e87742dbf6339f5b60c7edfe5dea578b78061da876e74ea59b8f | using System;
using Server.Engines.Craft;
namespace Server.Items
{
public abstract class BaseRing : BaseJewel
{
public BaseRing(int itemID)
: base(itemID, Layer.Ring)
{
}
public BaseRing(Serial serial)
: base(serial)
{
}
public o... | C# | Scripts/Items/Equipment/Jewelry/Ring.cs | ppardalj/ServUO | gpl-2.0 | 2,101 | 99 | codeparrot/github-code |
130bf7bb450d2dfa240f1fb2931be22f8f3e9e02a6de9845b50f49a3ff43e645 | # plugins module for amsn2
"""
Plugins with amsn2 will be a subclass of the aMSNPlugin() class.
When this module is initially imported it should load the plugins from the last session. Done in the init() proc.
Then the GUI should call plugins.loadPlugin(name) or plugins.unLoadPlugin(name) in order to deal with plugins.... | Python | amsn2/plugins/core.py | amsn/amsn2 | gpl-2.0 | 2,184 | 71 | codeparrot/github-code |
d8bed4b043a298e9d8c3eaff3fee624f274c1bbf828b989e90239e6689204016 | <?php
/*
Plugin Name: PoP CDN WordPress
Description: Implementation of the CDN for PoP
Plugin URI: https://getpop.org
Version: 0.1
Author: Leonardo Losovizen/u/leo/
*/
//-------------------------------------------------------------------------------------
// Constants Definition
//-------------------------------------... | PHP | layers/Legacy/Schema/packages/migrate-everythingelse/migrate/plugins/pop-cdn-wp/pop-cdn-wp.php | leoloso/PoP | gpl-2.0 | 1,305 | 51 | codeparrot/github-code |
291b336420f1ac6d1aa7d9926206c6fa7cc679e13ac4962214d654dece0c96d1 | #
# Copyright 2014 Red Hat, Inc.
#
# This software is licensed to you under the GNU General Public
# License as published by the Free Software Foundation; either version
# 2 of the License (GPLv2) or (at your option) any later version.
# There is NO WARRANTY for this software, express or implied,
# including the implie... | Ruby | app/lib/katello/util/errata.rb | dustints/katello | gpl-2.0 | 1,852 | 64 | codeparrot/github-code |
a42ee152f1ba3d832dab882216acb95fa30a0d2941fccd2e5e0d20cb2e489cbd | function playAudioVisualize(track) {
var bars = 50;
var waveResolution = 128;
var style = "bars"; //set default style upon loading here
var audio = new Audio();
var canvas, source, context, analyser, fFrequencyData, barX, barWidth, barHeight, red, green, blue, ctx;
audio.controls = true;
... | JavaScript | visualizer.js | cp2846/audio-visualizer | gpl-2.0 | 3,591 | 96 | codeparrot/github-code |
67a6d38caa77234ece6ea939bd707dd854dd5032ff64c0a9de4c2dade9b4e075 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="shortcut icon" type="image/x-icon" href="../../../../../../../favicon.ico" /... | HTML | Components/googleplayservices-16.0/lib/android/16/content/google-play-services/docs/reference/com/google/android/gms/maps/model/CircleOptions.html | ismailsunni/UwongNdePoint | gpl-2.0 | 63,399 | 2,146 | codeparrot/github-code |
373c822384e49c72243683797930289e7d0b6c09d7481fb04c409754290f736c | /**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | Java | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest10564.java | iammyr/Benchmark | gpl-2.0 | 2,498 | 86 | codeparrot/github-code |
ee847f0b6ff7cbbf991b8f841595ed16c0341c3736dcf3b77e977c290cd2a59e | <?php
/**
* Plugin Name: Category Image Video
* Plugin URI: https://github.com/cheh/
* Description: This is a WordPress plugin that adds two additional fields to the taxonomy "Category".
* Version: 1.0.0
* Author: Dmitriy Chekhovkiy <chehovskiy.dima@gmail.com>
* Author URI: https://github.com/cheh/
* ... | PHP | category-image-video.php | cheh88/category-image-video | gpl-2.0 | 2,076 | 65 | codeparrot/github-code |
6b670ff38cc98e8e37c16845e68c409a60b01e23105db0fa51a0f284f1052412 | /*
* Asterisk -- An open source telephony toolkit.
*
* Copyright (C) 2005-2006, Kevin P. Fleming
*
* Kevin P. Fleming <kpfleming@digium.com>
*
* See http://www.asterisk.org for more information about
* the Asterisk project. Please do not directly contact
* any of the maintainers of this project for assistance;... | C | main/dnsmgr.c | nicwolff/asterisk-agi-mp3 | gpl-2.0 | 11,631 | 438 | codeparrot/github-code |
10bf91428a7cbdd4126f7e3fa1b996aeefe80d537a83bda7eebefa9ea888ec5e | <?php
/*------------------------------------------------------------------------
# view.html.php - TrackClub Component
# ------------------------------------------------------------------------
# author Michael
# copyright Copyright (C) 2014. All Rights Reserved
# license GNU/GPL Version 2 or later - http://www.gn... | PHP | administrator/components/com_trackclubs/views/athletes/view.html.php | mstewartua/newprod | gpl-2.0 | 2,263 | 91 | codeparrot/github-code |
6475b2550a4783bfb74c8e94db93bcdf257848330fe1001e0c8ba3bd795cba44 | /* pictool: ANSI C converter for Tibia's PIC files
* (c) 2007-2009 Ivan Vucica
* Part of OpenTibia project
*
* Although written in ANSI C, this makes use of #pragma pack(),
* make sure your compiler supports packed structures, or else.
*
* This program is free software; you can redistribute it and/or
* modify i... | C | tools/pictool/picfuncs.c | opentibia/yatc | gpl-2.0 | 7,210 | 297 | codeparrot/github-code |
bc381f0d3515736db403a869ccc06a37412363884a623e36ad1e3fb3eb01349a | <?php
/*
Plugin Name: Vertical marquee post title
Description: This plug-in will create the vertical marquee effect in your website, if you want your post title to move vertically (scroll upward or downwards) in the screen use this plug-in.
Author: Gopi Ramasamy
Version: 2.5
Plugin URI: http://www.gopiplus.com/wo... | PHP | wp-content/plugins/vertical-marquee-post-title/vertical-marquee-post-title.php | SK8-PTY-LTD/PinkRose | gpl-2.0 | 19,986 | 424 | codeparrot/github-code |
0033f3f2ef380c6ecfd9e33065f18368f17e3ec5c87f63400654f7b9c07fc276 | <?php
namespace Icinga\Module\Businessprocess\Web\Form;
use Icinga\Application\Icinga;
use Icinga\Exception\ProgrammingError;
use Icinga\Web\Notification;
use Icinga\Web\Request;
use Icinga\Web\Response;
use Icinga\Web\Url;
use Exception;
/**
* QuickForm wants to be a base class for simple forms
*/
abstract class ... | PHP | library/Businessprocess/Web/Form/QuickForm.php | Icinga/icingaweb2-module-businessprocess | gpl-2.0 | 12,131 | 503 | codeparrot/github-code |
45a06ff35a4af00c3bf769444b084a3dbe6adff417d68060b5a6efb5ddb7c45e | <?php
/****************************************************************************************\
** @name EXP Autos 2.0 **
** @package Joomla 1.6 **
** @author EXP TEAM::Alexey Kurguz (Grusha) ... | PHP | components/com_expautospro/controllers/explist.php | Chubaskin/buscarautos | gpl-2.0 | 4,236 | 82 | codeparrot/github-code |
68248bb1c1edcef34de9acbe562313678efa87be02c8ee86bd50033701066dfb | #include"population.h"
population::population() {
pop.clear();
}
population::population(Random *r) {
pop.clear();
this->r = r;
}
population::population(int n_individuos, int n_gene, Random *r) {
pop.clear();
for(int i = 0; i < n_individuos; i++) pop.push_back(*(new individuo(n_gene, r)));
this->... | C++ | src/genetic_algorithm/population.cc | dmelo/uspds | gpl-2.0 | 5,814 | 247 | codeparrot/github-code |
afdacd2a94a124d667bd64a5dc42e0ecee087c731d1ac4cccbbdc5408909b370 | package com.javarush.task.task11.task1109;
/*
Как кошка с собакой
*/
public class Solution {
public static void main(String[] args) {
Cat cat = new Cat("Vaska", 5);
Dog dog = new Dog("Sharik", 4);
cat.isDogNear(dog);
dog.isCatNear(cat);
}
public static class Cat {
... | Java | JavaRushTasks/2.JavaCore/src/com/javarush/task/task11/task1109/Solution.java | biblelamp/JavaExercises | gpl-2.0 | 1,194 | 59 | codeparrot/github-code |
53de3d7defff39efcdca59e7bd2fde96de959e54a7aa5457c832c7d61ee089ed | <?php
/**
* @package FOF
* @copyright Copyright (c)2010-2020 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 2, or later
*/
namespace FOF30\Less\Parser;
use FOF30\Less\Less;
use Exception;
defined('_JEXEC') or die;
/**
* This class is taken verbatim from:
*
* lessphp ... | PHP | libraries/fof30/Less/Parser/Parser.php | pabloarias/Joomla3-Base | gpl-2.0 | 39,937 | 2,240 | codeparrot/github-code |
02e66729ffc47ee348ed9f72f6aadd4d9ba65d6e8ea3da5fde6b884becd9742a | #ifndef _LOCKHELP_H
#define _LOCKHELP_H
#include <generated/autoconf.h>
#include <linux/spinlock.h>
#include <asm/atomic.h>
#include <linux/interrupt.h>
#include <linux/smp.h>
/* Header to do help in lock debugging. */
#if 0 //CONFIG_NETFILTER_DEBUG
struct spinlock_debug
{
spinlock_t l;
atomic_t lock... | C | include/linux/netfilter_ipv4/lockhelp.h | ndmsystems/linux-2.6.36 | gpl-2.0 | 5,197 | 130 | codeparrot/github-code |
1113438271d12818c6a00cf8c1d5e7f811915821eb3f9f8b2d391071f4f0698f | /*
* $Id: x2c.c,v 1.7 2009/06/02 09:40:53 bnv Exp $
* $Log: x2c.c,v $
* Revision 1.7 2009/06/02 09:40:53 bnv
* MVS/CMS corrections
*
* Revision 1.6 2008/07/15 07:40:54 bnv
* #include changed from <> to ""
*
* Revision 1.5 2008/07/14 13:08:16 bnv
* MVS,CMS support
*
* Revision 1.4 2002/06/11 12:37:15 ... | C | lstring/x2c.c | vlachoudis/brexx | gpl-2.0 | 1,386 | 64 | codeparrot/github-code |
ad893ed4453663d60da79aa8e4c339c6089ed9a9e9edc76df28803ba06e3175d | <?php
/**
* @version 1.0.0
* @package com_somosmaestros
* @copyright Copyright (C) 2015. Todos los derechos reservados.
* @license Licencia Pública General GNU versión 2 o posterior. Consulte LICENSE.txt
* @author Daniel Gustavo Álvarez Gaitán <info@danielalvarez.com.co> - http://danielalvarez.... | PHP | components/com_somosmaestros/models/formacions.php | emeraldstudio/somosmaestros | gpl-2.0 | 7,853 | 298 | codeparrot/github-code |
5a7733b6f94b0d7e30f890f9be44af9583f06df458c49f05cc8381924d0d8dbb | /*
* This file is part of mpv.
*
* mpv 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.
*
* mpv is distributed in the hope that ... | C | options/m_config.c | Floens/mpv | gpl-2.0 | 33,574 | 1,008 | codeparrot/github-code |
7f006d73e3ffcf0c9f018bbe59bf052e69d691de1be91159f12a30e29def382d | #include <dfsch/lib/crypto.h>
static void ecb_setup(dfsch_block_cipher_mode_context_t* cipher,
uint8_t* iv,
size_t iv_len){
if (iv_len != 0){
dfsch_error("ECB mode has no IV", NULL);
}
}
static void ecb_encrypt(dfsch_block_cipher_mode_context_t* context,
... | C | lib/crypto/modes.c | adh/dfsch | gpl-2.0 | 12,669 | 430 | codeparrot/github-code |
91a9be2446f2a0911da91ce762e7fe7fb23567f5f25498d629d0c78ccc9bb320 | class Admin::BadgesController < Admin::AdminController
def badge_types
badge_types = BadgeType.all.to_a
render_serialized(badge_types, BadgeTypeSerializer, root: "badge_types")
end
def create
badge = Badge.new
update_badge_from_params(badge)
badge.save!
render_serialized(badge, BadgeSeria... | Ruby | app/controllers/admin/badges_controller.rb | vipuldadhich/discourse | gpl-2.0 | 1,097 | 43 | codeparrot/github-code |
cfb17054910eedfdc6cb12e9e2bce99f44efcf35694bb4f6cce9667615e93b47 | /*
* arch/arm/mach-tegra/tegra3_dvfs.c
*
* Copyright (C) 2010-2011 NVIDIA Corporation.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is... | C | arch/arm/mach-tegra/tegra3_dvfs.c | AndroidDeveloperAlliance/ZenKernel_Grouper | gpl-2.0 | 37,574 | 971 | codeparrot/github-code |
83e4cd01a27684e69b169d69fa3ac3c9ffaf9e182760647b8f81a9a9f516987b | <?php
class UsuarioController extends Controller
{
/**
* @var string the default layout for the views. Defaults to '//layouts/column2', meaning
* using two-column layout. See 'protected/views/layouts/column2.php'.
*/
public $layout='//layouts/column2';
/**
* @return array action filters
*/
public functi... | PHP | protected/controllers/UsuarioController.php | bbidesenvolvimento/dm | gpl-2.0 | 4,143 | 172 | codeparrot/github-code |
f66555f1d9a33438e5bbf091d4e95fc6ddee6e01eebf83b78a7a029817dcc8ec | /**
* @file id_10361.c
* @brief AOAPC I 10361
* @author chenxilinsidney
* @version 1.0
* @date 2015-03-24
*/
#include <stdio.h>
#include <string.h>
#define MAX_LINE_LENGTH 101
char line[2][MAX_LINE_LENGTH];
int main()
{
int num_case;
scanf("%d\n", &num_case);
while (num_case--) {
gets(*line... | C | acm/aoapc/id_10361.c | chenxilinsidney/funnycprogram | gpl-2.0 | 1,360 | 49 | codeparrot/github-code |
712593510b6297583d75bcb89bc71744b412c154b68b1929293d69c4138649c0 | #! /usr/bin/env python
from __future__ import print_function
import StringIO
import os
import os.path
import errno
import sqlite3
from nose.tools import *
import smadata2.db
import smadata2.db.mock
from smadata2 import check
def removef(filename):
try:
os.remove(filename)
except OSError as e:
... | Python | smadata2/db/tests.py | NobodysNightmare/python-smadata2 | gpl-2.0 | 8,741 | 296 | codeparrot/github-code |
a14be2adbe031d2d5b71517a32211f85f3b48a4c28d76b8959e94b2e72186b93 | # Makefile.in generated automatically by automake 1.5 from Makefile.am.
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modification... | Makefile | doc/Makefile | kassanmoor/Scout-Resurrected | gpl-2.0 | 8,065 | 289 | codeparrot/github-code |
1dc715e50d7c917dac4e71706ddcd44a16280b034dfb59a0fef5a51598c89028 | package edu.xored.tracker;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
public class Issue {
private String hash;
private String summary;
private String de... | Java | src/main/java/edu/xored/tracker/Issue.java | edu-xored/tracker-web | gpl-2.0 | 2,861 | 124 | codeparrot/github-code |
ea389ad6587399c7f9a1497bfe01c1d75fbacf189eafad66fde7fda0b031c1d0 | /*
NEshare is a peer-to-peer file sharing toolkit.
Copyright (C) 2001, 2002 Neill Miller
This file is part of NEshare.
NEshare is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the... | C++ | ne_client/neshareclientthreads.cpp | thecodefactory/neshare | gpl-2.0 | 13,553 | 391 | codeparrot/github-code |
ab9065e3fc9f0accef46092d187078dd79f980021029d54503594cb6f6b9bd0e |
final class Class3_Sub28_Sub2 extends Class3_Sub28 {
private static Class94 aClass94_3541 = Class3_Sub4.buildString("yellow:");
static int anInt3542;
private static Class94 aClass94_3543 = Class3_Sub4.buildString("Loading config )2 ");
static Class94 aClass94_3544 = aClass94_3541;
Class140_Sub2 ... | Java | src/Class3_Sub28_Sub2.java | Lmctruck30/RiotScape-Client | gpl-2.0 | 2,501 | 65 | codeparrot/github-code |
10647c17e1c8d181b8b618492bd98848ee78422fdc5b4a68fd8d5b836ded1140 | NAME Parser
; Contains from the point of view of the Motor board,
; ParseSerialChar, which is a finite state machine
; that parses passed characters into serial commands,
; and its helper functions.
;
; Last Revision 12/27/2014 SSundaresh created
; 12/29/2014 SSundaresh restricted
; alphabet for hw9
; Base Co... | Assembly | Motor/Parser.asm | sssundar/RoboTrike | gpl-2.0 | 45,643 | 1,424 | codeparrot/github-code |
059bbe9a90112d312b398f0a75625b54aeaa5b326d943a4b4a9b3791150e9278 | //
// Copyright (C) 2010 Piotr Zagawa
//
// Released under BSD License
//
#pragma once
#include "sqlite3.h"
#include "SqlCommon.h"
#include "SqlFieldSet.h"
#include "SqlRecordSet.h"
namespace sql
{
class Table
{
private:
sqlite3* _db;
string _tableName;
RecordSet _recordset;
public:
T... | C | easySQLite/SqlTable.h | WhiteWind/wwdedup | gpl-2.0 | 1,295 | 71 | codeparrot/github-code |
9482be3db45396d281ad754fa42194fb3a2ed798e89450ec1ac7a4aff03ef337 | /* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2011 David Capello
*
* 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 l... | C | src/commands/filters/filter_window.h | Skiles/aseprite | gpl-2.0 | 2,945 | 88 | codeparrot/github-code |
240e236279245e9b7b722eb0db9dc87ffcf3fcef3f3da07b958be063e62cb0cf | <?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\CatalogImportExport\Model\Import\Product;
use Magento\CatalogImportExport\Model\Import\Product;
use Magento\Framework\Validator\AbstractValidator;
use Magento\Catalog\Model\Product\Attribute\Backen... | PHP | app/code/Magento/CatalogImportExport/Model/Import/Product/Validator.php | kunj1988/Magento2 | gpl-2.0 | 10,485 | 364 | codeparrot/github-code |
8cef96c977076f5ac7c40f986082ff7d86cb69bdbcb13ddbabe09355aef353e6 | <?php
/**
* Humescores functions and definitions.
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package Humescores
*/
if ( ! function_exists( 'humescores_setup' ) ) :
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* Note tha... | PHP | functions.php | spraveenitpro/humescores | gpl-2.0 | 6,984 | 217 | codeparrot/github-code |
d4b6fda24daabf30d6ec6e84a10600b3b4450e113d53dcebd413a60a55fb3bde | /* -*- mode: c -*- */
/* $Id$ */
/* Copyright (C) 2004-2013 Alexander Chernov <cher@ejudge.ru> */
/*
* 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
* (... | C | checkers/read_int.c | misty-fungus/ejudge-debian | gpl-2.0 | 1,296 | 52 | codeparrot/github-code |
b856efb4d85af5f16c9b58621be38ccd7bacc8b7d7b8d5db12ca411e878a6f0b | require("libraries/timers")
function LifeSteal( keys )
local caster = keys.caster
local ability = keys.ability
local ability_level = ability:GetLevel() - 1
local cooldown = ability:GetCooldown(ability_level)
if ability:IsCooldownReady() then
ability:StartCooldown(cooldown)
caster:EmitSound("Hero_LifeStealer.Open... | Lua | game/dota_addons/barebones/scripts/vscripts/abilities/heroes/hero_kobold_knight.lua | RodneyMcKay/x_hero_siege | gpl-2.0 | 5,591 | 147 | codeparrot/github-code |
aaf095e74621bc9420a5e75940931404f371c82e6ba018a76f16c1287a661ffb | /*
* 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/Contacts/src/com/android/contacts/model/dataitem/SipAddressDataItem.java | rex-xxx/mt6572_x201 | gpl-2.0 | 1,543 | 50 | codeparrot/github-code |
323dca15d24b950875734a5b9c5af01d16c25e45ae488116cb56138db3cc9c1b | #include "stdafx.h"
#include "Emu/System.h"
#include "Emu/ARMv7/PSVFuncList.h"
#include "sceAppUtil.h"
s32 sceAppUtilInit(vm::psv::ptr<const SceAppUtilInitParam> initParam, vm::psv::ptr<SceAppUtilBootParam> bootParam)
{
throw __FUNCTION__;
}
s32 sceAppUtilShutdown()
{
throw __FUNCTION__;
}
s32 sceAppUtilSaveDataS... | C++ | rpcs3/Emu/ARMv7/Modules/sceAppUtil.cpp | Syphurith/rpcs3 | gpl-2.0 | 2,648 | 95 | codeparrot/github-code |
baa4aadc11dc3ed304571f7ea0c10cc7630756527748413c052cd245b782e906 | @echo off
cd ..
setlocal ENABLEDELAYEDEXPANSION
cmdwiz setfont 8 & cls
set /a W=176, H=80
set /a W8=W/2, H8=H/2
mode %W8%,%H8% & cmdwiz showcursor 0
set FNT=1& rem 1 or a
if "%FNT%"=="a" mode 30,10
for /F "Tokens=1 delims==" %%v in ('set') do if not %%v==FNT if not %%v==W if not %%v==H set "%%v="
set /a XC=0, YC=0, XC... | Batchfile | legacy/noserver-wave-cube.bat | misol1/cmdgfx | gpl-2.0 | 4,147 | 70 | codeparrot/github-code |
a88fff16697647aa14441f2173efd4621d1df72024b2f19c24b8d29a7603aea1 | /* 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 | arch/arm/mach-msm/devices-msm7x27a.c | cuteprince/ics_kernel_3.0.16_htc_pico | gpl-2.0 | 17,688 | 825 | codeparrot/github-code |
bedb0c7099cad1780590be34f889ecad4113416a9f79d60087b86039d6b58b0f | using System;
using System.Globalization;
using System.IO;
using System.Security.Permissions;
using System.Security.Policy;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class UserProfile : Page
{
protected void Page_Load(object sender, EventArgs e)
{
... | C# | Profile.aspx.cs | botezatumihaicatalin/Asp.net-Forum | gpl-2.0 | 5,816 | 169 | codeparrot/github-code |
b1ef4776f7fb9d674a8d13555df0a48f640158fb7e001c2c1d86fd236ae6ddc4 | #ifndef MANAGER_RENDER_H
#define MANAGER_RENDER_H
#include "manager_space.h"
#include <vector>
#include <string>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/glm.hpp>
using namespace std;
class render_obj {
public:
render_obj();
render_obj(GLuint _vao, GLuint _vbo);
render_obj(GLuint _vao, GLuint... | C | include/render_manager.h | Ughuuu/SDL_Tests | gpl-2.0 | 1,231 | 56 | codeparrot/github-code |
b1bfd459c37e6b3bf01b1a4ec635de00e8ee8307d90a5630027ea9fa0ffb9e7d | /*
* Copyright (C) 2012-2017 Jacob R. Lifshay
* This file is part of Voxels.
*
* Voxels 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 of the License, or
* (at your option) any ... | C | include/generate/decorator/cobblestone_spike.h | programmerjake/voxels-0.7 | gpl-2.0 | 3,787 | 106 | codeparrot/github-code |
0df2077973b624b0bf0277249f158affebede281afb26d79be1823da85404cda | package speiger.src.api.common.recipes.squezingCompressor.parts;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import net.minecraftforge.fluids.FluidStack;
import net.minecraftforge.fluids.FluidTank;
import speiger.src.api.common.recipes.squezingCompressor.EnumRecipeType;
import speiger... | Java | src/speiger/src/api/common/recipes/squezingCompressor/parts/SqueezerRecipe.java | TinyModularThings/TinyModularThings | gpl-2.0 | 1,458 | 69 | codeparrot/github-code |
228e2471d282b59cb688c4cc4bc884ba1a4a9e6d8189919310bb261af3ad1802 | <?php
/**
* @package Joomla.Administrator
* @subpackage com_newsfeeds
*
* @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\Component\Newsfeeds\Administrator\View\Newsfeeds;
... | PHP | administrator/components/com_newsfeeds/src/View/Newsfeeds/HtmlView.php | twister65/joomla-cms | gpl-2.0 | 5,288 | 186 | codeparrot/github-code |
8dc757f833bbb891c429ffaac71f629e8f0a0fdf7fa76ea2ab8f49c9aa83a75d | #include <cxxtools/http/request.h>
#include <cxxtools/http/reply.h>
#include <cxxtools/http/responder.h>
#include <cxxtools/arg.h>
#include <cxxtools/jsonserializer.h>
#include <cxxtools/serializationinfo.h>
#include <cxxtools/utf8codec.h>
#include <vdr/epg.h>
#include <vdr/plugin.h>
#include "tools.h"
#include "epgse... | C | searchtimers.h | Saman-VDR/vdr-plugin-restfulapi | gpl-2.0 | 2,609 | 81 | codeparrot/github-code |
425cea6f7a2023ce51d298cb4ca6e194ff888ee879360116acd5f21f80a9652c | <?php
namespace Cachan\Bbst\Context;
use Behat\Behat\Tester\Exception\PendingException;
use Cachan\Bbst\TestType\HttpTestType;
use Behat\Behat\Context\Context;
use Behat\Behat\Context\SnippetAcceptingContext;
/**
* Defines application Context from the specific context.
*/
class HttpContext implements Context, Snipp... | PHP | src/Cachan/Bbst/Context/HttpContext.php | cachan/bbst | gpl-2.0 | 2,550 | 99 | codeparrot/github-code |
53ed7545005fa5ae20f03ae069b8e3c2ffa4d462780a0a06d516ed4bb633a5a2 | package gof.structure.proxy;
public class ProxySubject extends Subject {
private RealSubject realSubject;
public ProxySubject(){
}
/* (non-Javadoc)
* @see gof.structure.proxy.Subject#request()
*
* Subject subject = new ProxySubject();
* subject.request();
*/
@Override
public v... | Java | src/gof/structure/proxy/ProxySubject.java | expleeve/GoF23 | gpl-2.0 | 560 | 37 | codeparrot/github-code |
ad70ace01917d6bdcbed9f078e981395eb3543478f7976e10c19f7eacdfacda6 | /* linux/drivers/media/video/samsung/tv20/s5pv210/hdcp_s5pv210.c
*
* hdcp raw ftn file for Samsung TVOut driver
*
* Copyright (c) 2010 Samsung Electronics
* http://www.samsungsemi.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publ... | C | drivers/media/video/samsung/tv20/s5pv210/hdcp_s5pv210.c | Jolocotroco/android_kernel_samsung_smdkv210 | gpl-2.0 | 38,054 | 1,703 | codeparrot/github-code |
f8c63e76b0d901098fab191c8b77aa58f18005c1daa33bfaf14117bc95adb6d0 | /** @file esetinternal.h
* @brief Xapian::ESet::Internal class
*/
/* Copyright (C) 2008,2010 Olly Betts
*
* 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 | common/esetinternal.h | ystk/debian-xapian-core | gpl-2.0 | 3,091 | 113 | codeparrot/github-code |
91912a89c5c929c9613fd30c962cbb3ca72e8b44134e508d566a48ccb3b8410c | /******************************************************************************
* File : velocity_tria3.c *
* Author : Carlos Rosales Fernandez (carlos@ihpc.a-star.edu.sg) *
* Date : 01-09-2006 *
... | C | src/velocity_tria3.c | carlosrosales/stksolver | gpl-2.0 | 4,564 | 95 | codeparrot/github-code |
40c5fb4f636f602c318bed75c8d6bdd1495201e26b5db0d5c9d0a701dfb2c537 | <?php
/**
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
namespace eZ\Publish\Core\Search\Legacy\Content\Location\Gateway\CriterionHandler;
use eZ\Publish\Core\Search\Legacy\Content\Common\... | PHP | eZ/Publish/Core/Search/Legacy/Content/Location/Gateway/CriterionHandler/Ancestor.php | ezsystems/ezpublish-kernel | gpl-2.0 | 1,991 | 62 | codeparrot/github-code |
76f70275e5dadcb23a31056972e2cb0d9935f71c3848c551343c846570032991 | using System;
using System.Collections.Generic;
using System.Management;
using System.Security.Principal;
using Microsoft.Win32;
using PowerPointLabs.ActionFramework.Common.Log;
namespace PowerPointLabs.Utils
{
/// <summary>
/// A class that allows watching of Registry Key values.
/// </summary>
class... | C# | PowerPointLabs/PowerPointLabs/Utils/RegistryWatcher.cs | PowerPointLabs/PowerPointLabs | gpl-2.0 | 3,323 | 109 | codeparrot/github-code |
27d1708aa9351a95748ae210316f2da6976e1bc367c343e65b54dce0900f4d89 | <?php
namespace App\Controller;
use App\Controller\AppController;
/**
* Customers Controller
*
* @property \App\Model\Table\CustomersTable $Customers
*/
class CustomersController extends AppController
{
/**
* Index method
*
* @return void
*/
public function index()
{
$this... | PHP | src/Controller/CustomersController.php | thinkingwise/cakephp3crm | gpl-2.0 | 3,197 | 106 | codeparrot/github-code |
d802aecff7aa166867584b5aacdb556317f76c3bff4e9db6a3a45e6b305d65e0 | # force floating point division. Can still use integer with //
from __future__ import division
# This file is used for importing the common utilities classes.
import numpy as np
import matplotlib.pyplot as plt
import sys
sys.path.append("../../../../../")
from EnergyLandscapes.Lifetime_Dudko2008.Python.TestExamples.U... | Python | EnergyLandscapes/Lifetime_Dudko2008/Python/TestExamples/Examples/Example_Dudko_Fit.py | prheenan/BioModel | gpl-2.0 | 889 | 35 | codeparrot/github-code |
116d9dd4861099549908ab9b2f5a50c56856decdba84bea98d8d4b3f85de89e8 | // Wildebeest Migration Framework
// Copyright © 2013 - 2018, Matheson Ventures Pte Ltd
//
// This file is part of Wildebeest
//
// Wildebeest is free software: you can redistribute it and/or modify it under
// the terms of the GNU General Public License v2 as published by the Free
// Software Foundation.
//
// Wildebe... | Java | MV.Wildebeest.Core/source/test/java/co/mv/wb/plugin/generaldatabase/dom/AnsiSqlDomServiceUnitTests.java | zendigitalstudios/wildebeest | gpl-2.0 | 7,440 | 238 | codeparrot/github-code |
2a529d80de88df84fd3d911430db0ccf443fc900a7cabe6ed6d503e63fc706bd | #include <string.h>
#include <sys/time.h>
#include <sys/resource.h>
///////////////////////////////////////
// Function: trim - Remove "\n" //
///////////////////////////////////////
int trim(char *line) {
int end_pos = strlen(line) - 1;
if (line[end_pos] == '\n') {
line[end_pos] = '\0';
return 1;
... | C++ | src/helpers.cpp | pfaucon/PBSIM-PacBio-Simulator | gpl-2.0 | 1,764 | 84 | codeparrot/github-code |
69facea9ef6862613b274d55477ffccf7cf560f38b73a29a065b95866bb8f2b3 | #ifndef _INCLUDE_DECODER_H
#define _INCLUDE_DECODER_H
#include <sys/time.h>
#include <string>
#include <map>
using std::string;
using std::map;
enum sensor_e {
TFA_1=0, // IT+ Klimalogg Pro, 30.3180, 30.3181, 30.3199(?)
TFA_2, // IT+ 30.3143, 30.3146(?), 30.3144
TFA_3, // 30.3155
TX22, // LaCrosse TX22
T... | C | decoder.h | baycom/tfrec | gpl-2.0 | 1,500 | 76 | codeparrot/github-code |
c4acb5032c3a31318c87ad3b18be6feca5e818fb7168f1a1a1d2b293a1914627 | //
// --------------------------------------------------------------------------
// Gurux Ltd
//
//
//
// Filename: $HeadURL$
//
// Version: $Revision$,
// $Date$
// $Author$
//
// Copyright (c) Gurux Ltd
//
//------------------------------------------------------------... | C# | Development/Plc/GXPlcSettings.cs | Gurux/Gurux.DLMS.Net | gpl-2.0 | 17,732 | 513 | codeparrot/github-code |
d23c4004f62a185a39187940ae0e20fd45d50d80b684221bbd81bc1f3473a7f6 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/js.cookie.js"></script>
<title>BenchmarkTest01074<... | HTML | src/main/webapp/BenchmarkTest01074.html | ganncamp/Benchmark | gpl-2.0 | 1,776 | 48 | codeparrot/github-code |
d6687337f79642f448768da81907fe876c0b96181d03ceca55f5e38103d4e54e | '========================================================================
'Kartris - www.kartris.com
'Copyright 2021 CACTUSOFT
'GNU GENERAL PUBLIC LICENSE v2
'This program is free software distributed under the GPL without any
'warranty.
'www.gnu.org/licenses/gpl-2.0.html
'KARTRIS COMMERCIAL LICENSE
'If a ... | Visual Basic | UserControls/Back/_BasketView.ascx.vb | cactusoft/kartris | gpl-2.0 | 30,509 | 792 | codeparrot/github-code |
03cb3eb458606a173c1c9295180aca7a53fe02f3d35290c10be871169179dfa2 | /***********************************************************************
*
* avra - Assembler for the Atmel AVR microcontroller series
*
* Copyright (C) 1998-2004 Jon Anders Haugum, TObias Weber
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General P... | C | src/macro.c | pearsonalan/avra | gpl-2.0 | 15,499 | 641 | codeparrot/github-code |
cdb465659e2f83af5459db5ed04f1e2f1efef7cdb0a50606d251ef33d60401b6 | {% extends "base.html" %}
{% load staticfiles %}
{% block head_title %}{% block listing_head_title %}{% endblock %}{% endblock %}
{% block content %}
<div id="account" class="ui centered two column grid stackable container" style="margin-top: 20px;">
<div class="four wide column">
<div class="ui large one item m... | HTML | templates/listing/listing_base.html | NilsJPWerner/Sublet-Uchicago | gpl-2.0 | 5,380 | 151 | codeparrot/github-code |
b89a397749b6a46d25843d31985c4b03485fa7043e7c8fee2304167f8c4e0c2c | /*
* linux/init/main.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* GK 2/5/95 - Changed to support mounting root fs via NFS
* Added initrd & change_root: Werner Almesberger & Hans Lermen, Feb '96
* Moan early if gcc is old, avoiding bogus kernels - Paul Gortmaker, May '96
* Simplified starting of in... | C | init/main.c | flar2/ElementalX-m9 | gpl-2.0 | 18,082 | 828 | codeparrot/github-code |
0172bb9c79c299804321148ee0b6c766766ae66557b3cfc9b14ee8be2fb70466 | /***********************************************************************
* d:/Werk/src/csmash-0.3.8.new/conv/parts.h
* $Id: parts.h,v 1.16 2003/07/28 17:03:10 nan Exp $
*
* Copyright by ESESoft.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the... | C | parts.h | ironsteel/cannon-smash | gpl-2.0 | 9,100 | 329 | codeparrot/github-code |
acfc64b84ccfcca388b40840b389333f5bf9dc45a8500c2fd4f53a958d87cc28 | /* Festalon - NSF Player
* Copyright (C) 2004 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, or
* (at your option) any later version.
*
* T... | C | src/nes/cart.c | ahefner/festalon | gpl-2.0 | 4,179 | 198 | codeparrot/github-code |
0edd1c47ba14835d93c68b4627ce86ec69d2482b2d36b9c511d90570d1f56560 | <div id="roomTitle">Welcome to Agavi :: home of the convention nazis :: 911GT2 coming soon :: http://www.agavi.org :: http://svn.agavi.org/branches/0.11/ if you want to use SVN (don't use trunk, earth will explode) :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're lo... | PHP | app/modules/Web/templates/IndexSuccess.php | dzuelke/Chuckwalla | gpl-2.0 | 7,471 | 144 | codeparrot/github-code |
3db95d5576e48b37c4ebc0876c800695a62606686e5d1ae1f42bc14bcd644465 | /*
* 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 | src/com/androidtweak/inputmethod/myanmar/SynchronouslyLoadedUserBinaryDictionary.java | soeminnminn/MyanmarIME | gpl-2.0 | 1,712 | 48 | codeparrot/github-code |
9873e702d74c4eda0abb685591357d7e9e66027986dad9c6b1250b8e488fb2fb | /******************************************************************************
*
* This file is provided under a dual BSD/GPLv2 license. When using or
* redistributing this file, you may do so under either license.
*
* GPL LICENSE SUMMARY
*
* Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
*
... | C | drivers/net/wireless/iwlwifi/mvm/d3.c | freedesktop-unofficial-mirror/tegra__linux | gpl-2.0 | 53,080 | 1,944 | codeparrot/github-code |
7eff42bf2f1c4a91bdbf78d828bdb4fe72bf3d64e85b1f68f8c08437181cfd2c | <?php
/**
* Display single product reviews (comments)
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.1.0
*/
global $woocommerce, $product;
if ( ! defined( 'ABSPATH' ) )
exit; // Exit if accessed directly
if ( ! comments_open() )
return;
?>
<div id="reviews">
<div ... | PHP | wp-content/plugins/woocommerce/templates/single-product-reviews.php | mickburgs/sjaaktramper | gpl-2.0 | 4,254 | 97 | codeparrot/github-code |
90a24d7920731b1809afe0dff7d3d36f178ac98fdff4d3d15827df82668722a9 | package com.atux.bean.consulta;
import com.atux.comun.FilterBaseLocal;
/**
* Created by MATRIX-JAVA on 27/11/2014.
*/
public class UnidadFlt extends FilterBaseLocal {
public static final String PICK = "PICK";
public UnidadFlt(String unidad) {
this.unidad = unidad;
}
publi... | Java | atux-domain/src/main/java/com/atux/bean/consulta/UnidadFlt.java | AlanGuerraQuispe/SisAtuxVenta | gpl-2.0 | 719 | 39 | codeparrot/github-code |
6aafe2199090c62fe8a21f8eee1d393e00f09e362b5b59e8db42bda1df2096e0 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Project WiSH</title>
<style fprolloverstyle>A:hover {color: red; font-weight: bold}
</style>
</head>
<body style="background-attachment: fixed">
<p align="center">
<A href="http://sourceforge.net"> <IMG src="http... | HTML | html/index.html | jralls/Wish2 | gpl-2.0 | 2,224 | 56 | codeparrot/github-code |
d6a34a94d655d8d1417515ad22806b0ea6e1d9f7b7e58cb5d5047a290a64e20c | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright © 2000-2004 Marco Pesenti Gritti
* Copyright © 2009 Collabora Ltd.
* Copyright © 2011 Igalia S.L.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public ... | C | src/window-commands.c | jdapena/epiphany | gpl-2.0 | 40,637 | 1,517 | codeparrot/github-code |
fdfa8a4d9b1a850628fb3aec353321cde5830bf135e565a94ba2d40453b771b5 | // Locale support (codecvt) -*- C++ -*-
// Copyright (C) 2015 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 Foundati... | C++ | libstdc++-v3/src/c++11/codecvt.cc | villevoutilainen/gcc | gpl-2.0 | 39,721 | 1,413 | codeparrot/github-code |
9d0831aef40c56043f203ef1e2eafa9b5cfd9c7edb0454f9cf249e7506574dac | /**
* Provides a DataSchema implementation which can be used to work with
* delimited text data.
*
* @module dataschema
* @submodule dataschema-text
*/
/**
Provides a DataSchema implementation which can be used to work with
delimited text data.
See the `apply` method for usage.
@class DataSchema.Text
@extends ... | JavaScript | public/js/yui3-3.12.0/src/dataschema/js/dataschema-text.js | schancel/gameserver | gpl-2.0 | 6,718 | 179 | codeparrot/github-code |
a1c2921a865bff847f43c10080b6cd5af11b06e0cf69cffe68d7d26e7c513d75 | <?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 2.2 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2009 |
+---------------------... | PHP | sites/all/modules/civicrm/CRM/Grant/Selector/Search.php | btribulski/girlsknowhow | gpl-2.0 | 16,778 | 423 | codeparrot/github-code |
e588c75e2f2427e8f2b15933c2a2520efef7a715fa16b50fb0e39d060c68f4c8 | /*
* Copyright (C) 2013 Andreas Steffen
* HSR Hochschule fuer Technik Rapperswil
*
* 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) a... | C | src/libpts/tcg/swid/tcg_swid_attr_tag_inv.c | maire/strongswan | gpl-2.0 | 7,725 | 314 | codeparrot/github-code |
53804ec421291583f682292b80ce0b997636f55ce7a522294163a8170865487e | using System;
namespace Server.Items
{
public class LanternHand : BaseLight, IFlipable
{
public override int LabelNumber { get { return 1011221; } } // lantern
public override int LitItemID { get { return ItemID == 0xA471 ? 0xA472 : 0xA476; } }
public override int UnlitItemID { get { r... | C# | Scripts/Items/Decorative/ArtisanFestivalRewards/LanternHand.cs | kevin-10/ServUO | gpl-2.0 | 1,255 | 48 | codeparrot/github-code |
5eb946b0efebc9115aa3a8659997116753a9034c3bd666e622df5cafa59930c8 | /* HTVMS_WAISProt.c
**
** Adaptation for Lynx by F.Macrides (macrides@sci.wfeb.edu)
**
** 31-May-1994 FM Initial version.
**
**----------------------------------------------------------------------*/
/*
** Routines originally from WProt.c -- FM
**
**---------------------------------------------------------------... | C | WWW/Library/Implementation/HTVMS_WaisProt.c | avsm/openbsd-lynx | gpl-2.0 | 69,533 | 2,503 | codeparrot/github-code |
b2a017c23cf4758bd91d261952b1e833984efe475f52226edc4a44a4e1a40e07 | <?php
defined('ABSPATH') OR exit;
if(!class_exists('Picturefill_WP_Function_Helpers')){
class Picturefill_WP_Function_Helpers{
private $filter = '';
private $cache_duration = 86400;
private $image_sizes_to_remove = array();
private $image_size_to_add = '';
private $insert_before = '';
private... | PHP | wp-content/plugins/picturefillwp/inc/class-picturefill-wp-function-helpers.php | fndtn357/client | gpl-2.0 | 8,987 | 218 | codeparrot/github-code |
f971c5636438923a41b33ca350c804125e23605810dd6723e6d4efb1bc4e3ff7 | /******************************************************************************
** kjmp2 -- a minimal MPEG-1/2 Audio Layer II decoder library **
** version 1.1 **
*******************************************************************************
... | C++ | src/backend/audio/mp2processor.cpp | JvanKatwijk/qt-dab | gpl-2.0 | 24,771 | 661 | codeparrot/github-code |
5ece78136c2d11d2a4244a2d1c3501d16273eb84f9a64f008aa10b527486ce1b |
#include <QApplication>
#include <QMenuBar>
#include <QMessageBox>
#include <QFileDialog>
#include <QVBoxLayout>
#include <QDockWidget>
#include <QProgressDialog>
#include <QDesktopWidget>
#include "vfs_dialog.h"
#include "save_manager_dialog.h"
#include "kernel_explorer.h"
#include "game_list_frame.h"
#include "debu... | C++ | rpcs3/rpcs3qt/main_window.cpp | PeterMcteague/rpcs3 | gpl-2.0 | 49,565 | 1,602 | codeparrot/github-code |
a4d8d53ab24cbe0b71b1720b7079a876fb4fa8eefa96ee1a2ea370537de561c7 | <?php
/**
*
* @package phpBB.de pastebin
* @copyright (c) 2015 phpBB.de, gn#36
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
namespace goztow\edit_has_topicreview\event;
/**
* @ignore
*/
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/**
* Event li... | PHP | event/base_events.php | goztow/edit_has_topicreview | gpl-2.0 | 1,058 | 51 | codeparrot/github-code |
5c27114f57e4a2c9900427a7cce1a315b92b005f7ecf89cb12a35afd8c4587f1 | <?php
/**
* Custom template tags for this theme
*
* Eventually, some of the functionality here could be replaced by core features.
*
* @package UnlockingSilentHistories
*/
if ( ! function_exists( 'unlockingsilenthistories_posted_on' ) ) :
/**
* Prints HTML with meta information for the current post-date/time ... | PHP | inc/template-tags.php | jhyun94/WP-USH | gpl-2.0 | 3,526 | 103 | codeparrot/github-code |
0dd1be66d12df93c19113721dc77859669e3b294af995d5683b3ce567a7c94e4 | package uq.androidhack.flashspeak;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.Drawable;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.L... | Java | app/src/main/java/uq/androidhack/flashspeak/VisualisationFragment.java | andyepx/flashspeak | gpl-2.0 | 5,028 | 155 | codeparrot/github-code |
93fef4018b3b81b0534dc117fa3179a1de318753d9c52d0b3839cde7624fc6bc | package jrpsoft;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.geom.Ellipse2D;
import java.util.Random;
public class Fantasma extends Actor {
protected static final int FANTASMA_SPEED = 1;
public boolean up, down, right, left;
static Boolean[] dir = new Boolean[4];
in... | Java | src/jrpsoft/Fantasma.java | jesusnoseq/JComococos | gpl-2.0 | 2,570 | 117 | codeparrot/github-code |
786e2dc8d98f6d249a7f2034971c5445850c51500f6f2db90bb16d5a05c6ce4e | /****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the Graphics Dojo project on Qt Labs.
**
** This file may be used under the terms of th... | C++ | halfscale/halfscale.cpp | anak10thn/graphics-dojo-qt5 | gpl-2.0 | 7,095 | 215 | codeparrot/github-code |
c177d84a599d20981855eae619c7341cb909f5ba96234f1ed8bc6fba5a7aa077 | /* This code is part of Freenet. It is distributed under the GNU General
* Public License, version 2 (or at your option any later version). See
* http://www.gnu.org/ for further details of the GPL. */
package freenet.clients.http;
////import org.tanukisoftware.wrapper.WrapperManager;
import freenet.client.filter.HT... | Java | src/freenet/clients/http/SimpleToadletServer.java | deepstupid/fred | gpl-2.0 | 39,516 | 1,259 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.