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
ffa95b42bd070ec22e0fa307dd4c4231ef83f969cfdd7168a99a680b2d27400d
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator https://lammps.sandia.gov/, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC...
C++
src/fix_nve.cpp
rbberger/lammps
gpl-2.0
4,538
172
codeparrot/github-code
f23a3f0a62530c11526be320c136c3aa1049238899481eca407128a55b05e8d9
/* * blockio.cc * * */ #define _LARGEFILE_SOURCE #define _FILE_OFFSET_BITS 64 #include "version.h" #include "blockio.h" #include "osutils.h" #include <stdio.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <stdint.h> __ID("@(#) $Id: blockio.cc 20...
C++
src/core/blockio.cc
kaseya/lshw
gpl-2.0
891
45
codeparrot/github-code
18bdd1c6dc24b8ea24a671437b171b4bc8a5be23fc85fe41455043cd3475842d
/* * Copyright (C) 2003 Robert Kooima * * NEVERBALL 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 d...
C
share/solid_sim_sol.c
drodin/neverball-old
gpl-2.0
19,801
799
codeparrot/github-code
a015c897659e351ff42396ef384439a4b73dc688aafc57065be084fa14812ba6
/* * PS3 Media Server, for streaming any medias to your PS3. * Copyright (C) 2012 Ph.Waeber * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; version 2 * of the License only. * * This ...
Java
core/src/main/java/net/pms/medialibrary/commons/dataobjects/DOThumbnailPriority.java
taconaut/pms-mlx
gpl-2.0
3,813
128
codeparrot/github-code
adcdfc91a9565d5f318b9f53dc1dd739c01872de6d82a9f2ef2c2b8fa2cc0a78
<?php include_once('sites/all/themes/artonair/custom_functions/custom_variable.php'); /* mp3 folder path */ ?> <?php include_once('sites/all/themes/artonair/custom_functions/default_image.php'); /* function for displaying default images */ ?> <?php $listen_url = "/drupal/play/" . $node->nid . "/" . $node->path; ?> ...
PHP
sites/all/node-blog-body.tpl.php
artonair/clocktower
gpl-2.0
11,545
346
codeparrot/github-code
d45071322845e075a55c872f4d68252bbdf52ee0a1e9fba9b9b689ba1923ada6
<?php /* * @version $Id: preference.php 20129 2013-02-04 16:53:59Z moyo $ ------------------------------------------------------------------------- GLPI - Gestionnaire Libre de Parc Informatique Copyright (C) 2003-2013 by the INDEPNET Development Team. http://indepnet.net/ http://glpi-project.org -------------...
PHP
front/preference.php
opusappteam/PLGLPI0842
gpl-2.0
2,239
78
codeparrot/github-code
6294bd3711b122bcc9d879d85a9f9ed441893071ef36a64f9dccae39ba21aa8d
<?php /** * @package Joomla.Administrator * @subpackage com_templates * * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; // Include the component HTML helpers. J...
PHP
administrator/components/com_templates/views/template/tmpl/default.php
ylahav/joomla-cms
gpl-2.0
16,786
487
codeparrot/github-code
879735e0a0bce9e888b2d185944383d29b7e3e9e947a68ec819322ada26e1eee
<!-- This HTML file has been created by texi2html 1.27 from emacs.texi on 3 March 1994 --> <TITLE>GNU Emacs Manual - Commands for Human Languages</TITLE> <P>Go to the <A HREF="emacs_24.html">previous</A>, <A HREF="emacs_26.html">next</A> section.<P> <A NAME="IDX723"></A> <A NAME="IDX724"></A> <H1><A NAME="SEC155"...
HTML
doc/emacs/emacs_25.html
alji2106/CS1300Terminal
gpl-2.0
58,474
1,227
codeparrot/github-code
a69bdcea04f18a78ba6ddb88433f56cbbd96d458ae6aa1476594990d5f601730
/* $Id: mpnotification-r0drv-solaris.c $ */ /** @file * IPRT - Multiprocessor Event Notifications, Ring-0 Driver, Solaris. */ /* * Copyright (C) 2008-2015 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; ...
C
src/VBox/Runtime/r0drv/solaris/mpnotification-r0drv-solaris.c
miguelinux/vbox
gpl-2.0
4,766
140
codeparrot/github-code
9a170166bb34c47953a93e2012471e6e066b33c6fbc49517d20a1776c48088a8
(function($) { function ACFTableField() { var t = this; t.version = '1.3.4'; t.param = {}; // DIFFERENT IN ACF VERSION 4 and 5 { t.param.classes = { btn_small: 'acf-icon small', // "acf-icon-plus" becomes "-plus" since ACF Pro Version 5.3.2 btn_add_row: 'acf-icon-plus -plus', btn_add...
JavaScript
advanced-custom-fields-table-field/tags/1.3.4/js/input-v5.js
johannheyne/acf-table
gpl-2.0
26,869
1,291
codeparrot/github-code
3f2e1c63981219a5bd0e3776761bfcac360865978e75147d97d5eca2dab901c4
/* * Rasengan - Manga and Comic Downloader * Copyright (C) 2013 Sauriel * * 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 ...
Java
src/de/sauriel/rasengan/ui/DownloadDialog.java
Sauriel/rasengan
gpl-2.0
2,082
69
codeparrot/github-code
f8c5edf2e145b83d152ca18c712b6f3e612e0fced7c81f59da52954a8f357f17
/** * App Control * * Central controller attached to the top level <html> * element */ "use strict"; ( function ( angular, app ) { // get user profile data app.controller( "AppCtrl", [ '$rootScope', '$scope', '$state', 'UserService', function ( $rootScope, $scope, $state, UserService ) { // // bodyCl...
JavaScript
scripts/controllers/app-controller.js
Kevinlearynet/angular-trial-app
gpl-2.0
901
40
codeparrot/github-code
01ceb503d8b1af6f395af3bbe3d935f25ee2c7d31f1aa70bdac8cabf5b660770
package org.hectordam.proyectohector; import java.util.ArrayList; import org.hectordam.proyectohector.R; import org.hectordam.proyectohector.base.Bar; import com.google.android.gms.common.ConnectionResult; import com.google.android.gms.common.GooglePlayServicesNotAvailableException; import com.google.android.gms.com...
Java
AgenBar/src/org/hectordam/proyectohector/Mapa.java
gilmh/PracticaAndroid
gpl-2.0
3,630
139
codeparrot/github-code
2555498e813f6ae2fa19841e1e5958b7d5653b5cb1bb9bdebc8d2b6aacf85781
/* * mms_ts.c - Touchscreen driver for Melfas MMS-series touch controllers * * Copyright (C) 2011 Google Inc. * Author: Dima Zavin <dima@android.com> * Simon Wilson <simonwilson@google.com> * * ISP reflashing code based on original code from Melfas. * * This program is free software; you can redistribu...
C
drivers/input/touchscreen/mms_ts.c
kunato/s3-u6
gpl-2.0
78,817
3,228
codeparrot/github-code
8b673b39c3f197bc22b750939d3dc12a72f2efc50aeb640d349df37090c8c101
/* $Id$ */ /* Copyright (C) 2003 - 2013 by David White <dave@whitevine.net> Part of the Battle for Wesnoth Project http://www.wesnoth.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 Foundatio...
C++
src/video.hpp
battle-for-wesnoth/svn
gpl-2.0
4,277
176
codeparrot/github-code
c515ca00ba37d604b09d78edb16b75c35b17e8bf074074effebf4bb99fbce86f
/* * Fast Userspace Mutexes (which I call "Futexes!"). * (C) Rusty Russell, IBM 2002 * * Generalized futexes, futex requeueing, misc fixes by Ingo Molnar * (C) Copyright 2003 Red Hat Inc, All Rights Reserved * * Removed page pinning, fix privately mapped COW pages and other cleanups * (C) Copyright 2003, ...
C
kernel/futex.c
Psycho666/Simplicity_trlte_kernel
gpl-2.0
77,612
2,921
codeparrot/github-code
8c9a4476a3d041f50822f31250d149908f71c54dbc089d8851bb26a90adbd655
<?php namespace Bookly\Backend; use Bookly\Backend\Modules; use Bookly\Frontend; use Bookly\Lib; /** * Class Backend * @package Bookly\Backend */ class Backend { public function __construct() { // Backend controllers. $this->apearanceController = Modules\Appearance\Controller::getInstan...
PHP
wp-content/plugins/appointment-booking/backend/Backend.php
Tjdowdell/Susan_Batchelor_Website
gpl-2.0
7,231
131
codeparrot/github-code
4a6206b321f9e09f64d10ce2cc3b08d0ab71681fdc95c79c9c365cbf00d84eda
#include <QDebug> #include <net/if.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/ioctl.h> #include "monitor.h" Monitor::Monitor() { running = 0; } void Monitor::start() { int rc; int s; fd_set rdfs; int nbytes; struct sockaddr_can addr; struct canfd_frame frame; struct iovec iov; char ctr...
C++
canmon/monitor.cpp
timrule/qt-projects
gpl-2.0
2,638
140
codeparrot/github-code
7f78777c27b389cfd937cfe94382e729f1dc9999300d0a62111a0cd6f652f9ce
/* Copyright (c) 2009-2013, The Linux Foundation. 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...
C
drivers/char/msm_rotator.c
AdrianoMartins/android_kernel_lge_v500
gpl-2.0
88,858
3,120
codeparrot/github-code
7663aa8af7cebdd5b722524d4b1dc3ea3c354041e48057d7fdb4479e418a61ac
using System; using Server; using Server.Gumps; using Server.Network; namespace Server.Items { public class PowerScroll : Item { private SkillName m_Skill; private double m_Value; private static SkillName[] m_Skills = new SkillName[] { SkillName.Blacksmith, SkillName.Tailoring, ...
C#
Scripts/Items/Special/Special Scrolls/PowerScroll.cs
alucardxlx/kaltar
gpl-2.0
11,516
402
codeparrot/github-code
28fda2af1029cc64fea76cb056052581e062fa95191fe671232906ccbf902384
/* Copyright (c) 2010-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 ...
C
drivers/media/video/msm/ov2655.h
rex-xxx/Explay_A350_kernel_source_code
gpl-2.0
22,304
977
codeparrot/github-code
0b5f9b6ec0f5b998f81f805bd89add070b57101ce72e18625110b9ecd8fa2fd4
from django.db import models from django.contrib.auth.models import User class OrganisationType(models.Model): type_desc = models.CharField(max_length=200) def __unicode__(self): return self.type_desc class Address(models.Model): street_address = models.CharField(max_length=100) city = model...
Python
src/authentication/models.py
saloni10/librehatti_new
gpl-2.0
1,479
48
codeparrot/github-code
ce40d7b0620d9fa2feeb8651482a3a6bf0a8000ff26ba42e23f9ea0bf34aea91
/* * Copyright (C) 2008-2015 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/Handlers/CharacterHandler.cpp
Rastrian/ElunaTrinityWotlk
gpl-2.0
80,672
2,172
codeparrot/github-code
061886923ffc64ce01f6936155ad56b5537c0fa975de6326bb5ad089d11e2c28
/* * 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/Entities/Creature/TemporarySummon.cpp
sucofog/chaoscore
gpl-2.0
9,947
394
codeparrot/github-code
e04319cb758c914a6394757e95fd0da9b4e550640ab389c1a19233ca2585f07f
/* ** Zabbix ** Copyright (C) 2001-2018 Zabbix SIA ** ** 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 pro...
C
src/libs/zbxhistory/history.h
zyongqing/okp
gpl-2.0
1,884
53
codeparrot/github-code
4cbb87f48628e955170431191dc78147f30bd75fc5733618517f684d79a5596a
package com.orange.documentare.core.comp.clustering.tasksservice; /* * Copyright (c) 2016 Orange * * Authors: Christophe Maldivi & Joel Gardes * * 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 Softw...
Java
simdoc/core/java/Comp/src/test/java/com/orange/documentare/core/comp/clustering/tasksservice/ClusteringTasksServiceTest.java
Orange-OpenSource/documentare-simdoc
gpl-2.0
5,621
138
codeparrot/github-code
400a60d6e48c0e6598d5f22759fc7e2909de1362e7d8e13b390292522d74935d
#!/bin/bash if [ -z $1 ] then exit 0 fi ip=$1 rules=$2 trunk=$3 access=$4 general_rules='/etc/isida/isida.conf' get_uplink=`grep 'uplink' $general_rules | cut -d= -f2 | sed -e s/%ip/$ip/` ism_vlanid=`grep 'ism_vlanid' $general_rules | cut -d= -f2` port_count=`echo $5 | sed -e s/://` args='' count=0 enum_pars=`cat $...
Shell
usr/local/sbin/fix_3528.sh
vlad-syan/isida
gpl-2.0
11,905
230
codeparrot/github-code
75be66ad19d77b541ce5d383d89e1f5744f464559633cc00467d9e90c52c4cbb
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package database.parse.util; import almonds.Parse; import almonds.ParseObject; import database.parse.tables.ParsePhenomena; import da...
Java
sensite/src/main/java/database/parse/util/DBGlobals.java
jried31/SSKB
gpl-2.0
1,007
34
codeparrot/github-code
f1afed1d2e2353ac6e33a5ab2d666dfdefaa5022365687e20aa817e407d65d71
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * * 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 dis...
C++
src/mesh/model/dot11s/hwmp-protocol.cc
hbarghi/VirtualBattery1
gpl-2.0
94,361
2,341
codeparrot/github-code
f1975820cccd711328049fce4c31696639fa64ed8206b0790a401edde67a48e8
/* Copyright (C) 2001 artofcode LLC. All rights reserved. This software is provided AS-IS with no warranty, either express or implied. This software is distributed under license and may not be copied, modified or distributed except as expressly authorized under the terms of the license contained in the...
C
sys/src/cmd/gs/src/gp_stdia.c
brho/plan9
gpl-2.0
1,087
34
codeparrot/github-code
446c83cf71609ccb1ad4f89d7097afaa770f6144e1084b705731b03b9cc994e3
## Copyright (C) 2007-2012 Red Hat, Inc., Bryn M. Reeves <bmr@redhat.com> ### This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later ve...
Python
sos/plugins/sysvipc.py
portante/sosreport
gpl-2.0
1,199
33
codeparrot/github-code
f74894f169d26e11a43b49ddb15e137330dd9728d8e3978b3f7b09e4a2436a2c
package com.pingdynasty.blipbox; import java.util.Map; import java.util.HashMap; import javax.sound.midi.*; import com.pingdynasty.midi.ScaleMapper; import org.apache.log4j.Logger; public class MidiOutputEventHandler extends MultiModeKeyPressManager { private static final Logger log = Logger.getLogger(MidiOutputE...
Java
src/com/pingdynasty/blipbox/MidiOutputEventHandler.java
pingdynasty/BlipBox
gpl-2.0
12,949
394
codeparrot/github-code
a5cfc30422ed6628cc83eab55bce653f4987822d9558a160e8a79b78ab12ef36
/* * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Fou...
Java
mjavac/langtools/test/tools/apt/mirror/type/EnumTyp.java
unktomi/form-follows-function
gpl-2.0
2,590
99
codeparrot/github-code
7006feab140c3e9e7802ab888c651e3f32e2dc0eeac996705f0fe8f5bf2a117e
package org.zanata.dao; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; import org.hibernate.Criteria; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.criterion.Restrictions; import org.jboss.seam.ScopeType; import org.jboss.seam.annot...
Java
zanata-war/src/main/java/org/zanata/dao/AccountRoleDAO.java
itsazzad/zanata-server
gpl-2.0
3,235
101
codeparrot/github-code
adf90f52e5a66f724ea932332bdd2a58c7de264bb44d5a0be7871f4e78f679f0
/* Copyright (C) 2009 - 2015 by Yurii Chernyi <terraninfo@terraninfo.net> Part of the Battle for Wesnoth Project http://www.wesnoth.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;...
C++
src/formula_debugger.cpp
techtonik/wesnoth
gpl-2.0
8,738
393
codeparrot/github-code
3eb1c0a26e76e9be1053f4608d5a4b1ed749c1d500da94999609e5ffd10dd72b
#include "botpch.h" #include "../../playerbot.h" #include "BuyAction.h" #include "../ItemVisitors.h" #include "../values/ItemCountValue.h" using namespace ai; bool BuyAction::Execute(Event event) { string link = event.getParam(); ItemIds itemIds = chat->parseItems(link); if (itemIds.empty()) retu...
C++
src/modules/Bots/playerbot/strategy/actions/BuyAction.cpp
H0zen/M0-server
gpl-2.0
1,267
54
codeparrot/github-code
47ed6f0b2cbcd5885c1be022220c4235dbd65459a27552d79f521e0580d7c7f9
/* * main.cpp * * Created on: 30 Xan, 2015 * Author: marcos */ #include "common.h" extern "C" { #include "perm.h" } /** * \brief Print application help */ void printHelp() { cout << "diffExprpermutation: Find differentially expressed genes from a set of control and cases samples using a permutation st...
C++
main.cpp
MarcosFernandez/diffExprPermutation
gpl-2.0
8,112
268
codeparrot/github-code
2bae41bbfae42f920eccae20b673a69440aa4f25b8bb27175337d9a30594103c
<?php include_once '../libs/Connection.php'; include_once '../libs/tree_editor.php'; class tree_performance extends tree_editor{ public function __construct(){ parent::__construct(); if(!isset($_POST['action'])){ header("content-type:text/xml;charset=UTF-8"); if(isset($_GET['refresh'])){ ...
PHP
connectors/tree_performance.php
ya6adu6adu/schoolmule
gpl-2.0
8,691
282
codeparrot/github-code
3f16435fb5093eda7f2dab11479d12f1866505df9c06175dc7f34c5fcdfbf4d5
package imageresizerforandroid; import java.awt.image.BufferedImage; import java.io.File; import javax.swing.ImageIcon; /** * * @author fonter */ public class ImageContainer { private final BufferedImage image; private ImageIcon cache; private final File file; public ImageContainer (BufferedImage ...
Java
ImageResizerForAndroid/src/imageresizerforandroid/ImageContainer.java
pinkiesky/ImageResizerForAndroid
gpl-2.0
995
52
codeparrot/github-code
eb3b47c1322d54f13c6f4b13ef49f5d2890f463b5fd0fa1b6162c085dadbee68
from buildbot.status.web.auth import IAuth class Authz(object): """Decide who can do what.""" knownActions = [ # If you add a new action here, be sure to also update the documentation # at docs/cfg-statustargets.texinfo 'gracefulShutdown', 'forceBuild', 'forceAllBui...
Python
buildbot/status/web/authz.py
centrumholdings/buildbot
gpl-2.0
2,513
73
codeparrot/github-code
5c8702d62b19f256f95e1cb4f1334d423362ed92fb06fb58e248664757b4f09a
## IGSuite 4.0.1 ## Procedure: SpreadsheetWriteExcelUtility.pm ## Last update: 01/07/2010 ############################################################################# # IGSuite 4.0.1 - Provides an Office Suite by simple web interface # # Copyright (C) 2002 Dante Ortolani [LucaS] ...
Perl
IG/SpreadsheetWriteExcelUtility.pm
polettix/igsuite-unofficial
gpl-2.0
29,176
906
codeparrot/github-code
dea81927cd17495e7931608ed4c3bc972b11cd88bd0e0fc9775b029affee8897
<?php /** * Helpers for handling timezone based event datetimes. * * In our timezone logic, the term "local" refers to the locality of an event * rather than the local WordPress timezone. */ class E_Register_NowTimezones { const SITE_TIMEZONE = 'site'; const EVENT_TIMEZONE = 'event'; /** * Container for r...
PHP
backup/event-tickets 1.2.3/common/src/e_register_now/Timezones.php
romangrb/register-now-plugin
gpl-2.0
9,222
353
codeparrot/github-code
b2a234acc30b356e6fdccdea820e1532475915c7095ca84cdc435e09b751089a
/***************************************************************************** * Copyright (C) 2009 by Peter Penz <peter.penz@gmx.at> * * * * This library is free software; you can redistribute it and/or * * m...
C
ui/kedittagsdialog_p.h
KDE/nepomuk-widgets
gpl-2.0
2,652
80
codeparrot/github-code
7f1be25f0cda4474a24ff9c051e4b85c6cc9be8d5c4c68fa9fbbe0f197fc4ed7
using UnityEngine; using System.Collections; public class EndScreenController : ScreenController { public UnityEngine.UI.Text winnerText; public UnityEngine.UI.Text player1Text; public UnityEngine.UI.Text player2Text; public UnityEngine.UI.Text nextLeftPlayers; public UnityEngine.UI.Text nextRightPlayers; pr...
C#
ubwtv/Assets/Scripts/EndScreenController.cs
hackcraft-sk/swarm
gpl-2.0
2,117
85
codeparrot/github-code
890641e0e5ce66d1151d93e86737ae761d1c6e46b1cfd04dd7549fa8fab19915
package fortesting; import java.io.IOException; public class RunTransformTim { /** * Loads data into appropriate tables (assumes scheme already created) * * This will import the tables from my CSVs, which I have on dropbox. Let me * (Tim) know if you need the CSVs No guarantee that it works ...
Java
cassandra/Tim Cassandra Testing and Table Creation/RunTransformTim.java
ZheyuJin/CS8674.FALL2015.NEUSeattle
gpl-2.0
1,948
48
codeparrot/github-code
17b286107abfa45c3e6c61bf0f15849dc0dc0b1a39db69dd93c70f6f52daefe9
package edu.cmu.cs.cimds.geogame.client.ui; import java.util.ArrayList; import java.util.Collections; import java.util.List; import com.google.gwt.user.client.ui.Grid; import com.google.gwt.user.client.ui.Image; import com.google.gwt.user.client.ui.Label; import com.google.gwt.user.client.ui.VerticalPanel; import com...
Java
src/edu/cmu/cs/cimds/geogame/client/ui/InventoryGrid.java
grapesmoker/geogame
gpl-2.0
2,903
93
codeparrot/github-code
fc9335a6c790abde590d3bc11200866be060601f2b9777bb6d84776cfea56999
<?php /** * @package phposm * @copyright Copyright (C) 2015 Wene - ssm2017 Binder ( S.Massiaux ). All rights reserved. * @link https://github.com/ssm2017/phposm * @license GNU/GPL, http://www.gnu.org/licenses/gpl-2.0.html * Phposm is free software. This version may have been modified pursuant * to the GN...
PHP
includes/helpers/archive.php
ssm2017/phposm
gpl-2.0
2,275
78
codeparrot/github-code
14eb48a03d4332519ced4f564e35905c32292958a370ad26fd8a4ce2f6db253c
<?php /** * NoNumber Framework Helper File: Assignments: Tags * * @package NoNumber Framework * @version 14.9.9 * * @author Peter van Westen <peter@nonumber.nl> * @link http://www.nonumber.nl * @copyright Copyright © 2014 NoNumber All Rights Reserved * @license ...
PHP
plugins/system/nnframework/helpers/assignments/tags.php
rusuni/unicyclingru
gpl-2.0
2,138
97
codeparrot/github-code
44107c92f192f0d516708823151033e3ebb68bb89210fd744bca94d4beb9c37d
/* GStreamer * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu> * 2005 Wim Taymans <wim@fluendo.com> * * gstaudiosink.c: simple audio sink base class * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * Li...
C
gst-libs/gst/audio/gstaudiosink.c
iperry/gst-plugins-base
gpl-2.0
18,574
644
codeparrot/github-code
7f46b8f329cd33c31d67dae0b364522e8f9e055a074094b6e95d3d3dae3081ae
/** @file TextOutput.cpp @maintainer Morgan McGuire, http://graphics.cs.williams.edu @created 2004-06-21 @edited 2010-03-14 Copyright 2000-2010, Morgan McGuire. All rights reserved. */ #include "G3D/TextOutput.h" #include "G3D/Log.h" #include "G3D/fileutils.h" #include "G3D/FileSystem.h" namespace G3D...
C++
dep/g3dlite/source/TextOutput.cpp
SeTM/MythCore
gpl-2.0
11,994
426
codeparrot/github-code
e25267f3fa5df905b3b51ac52e2f494418c20e950b062b8d61d4dff9799dd048
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- Taken from from http://easy-code.ru/lesson/formatting-numeric-output-java ...
HTML
tutorials/java/data/numberformat.html
blacky0x0/java-docs-ru
gpl-2.0
26,782
822
codeparrot/github-code
e87c1d52ffcbda1e4d2f4a43abead6e3da82e94806c196818c22a29b5941cc75
## Xrt3d.pm is a sub-module of Graph.pm. It has all the subroutines ## needed for the Xrt3d part of the package. ## ## $Id: Xrt3d.pm,v 1.30 2006/06/07 21:09:33 emile Exp $ $Name: $ ## ## This software product is developed by Michael Young and David Moore, ## and copyrighted(C) 1998 by the University of California, Sa...
Perl
Graph/Xrt3d.pm
gitpan/Chart-Graph
gpl-2.0
18,578
621
codeparrot/github-code
9da673266f25ca69f0718922cbf124a151e6fa01652a24e4507e6db0dfae981d
package mx.gob.sct.utic.mimappir.admseg.postgreSQL.services; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import mx.gob.sct.utic.mimappir.admseg.postgreSQL.model.SEGUSUARIO; import org.springframework.beans.factory.annotation.Autowired; import o...
Java
MiMappir/src/mx/gob/sct/utic/mimappir/admseg/postgreSQL/services/CustomUserDetailsService.java
IvanSantiago/retopublico
gpl-2.0
3,913
115
codeparrot/github-code
b1e14edbf33d4744d5bc05cfccdcac158742d6e4de11999d0591bcbb0e1883b2
<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>translate.storage.pypo</title> <link rel="stylesheet" href="epydoc.css" type="text/css" /> ...
HTML
translate/doc/api/translate.storage.pypo-module.html
jagg81/translate-toolkit
gpl-2.0
18,885
477
codeparrot/github-code
c2ff2753bcb4ca4d0efe0f160f3c911fd980444d5a4fee02dfbe17567fb61ed3
<?php /* core/themes/classy/templates/views/views-view-grid.html.twig */ class __TwigTemplate_b1b5e6a9a8cd209497117279c69ebc6612c8c2cb7794b0f45dd07835addb061c extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; ...
PHP
sites/default/files/php/twig/59bab1c8da2f0_views-view-grid.html.twig_EPlGe06aVJoi4zUrFjATKjYCr/1EZjvIiVVOjfsiRwHdlwVHySb4hg_3u82WztPZQxA3Y.php
jeetpatel/commerce
gpl-2.0
17,619
346
codeparrot/github-code
ee340ffe9b42299555c1c5b0983477af6a0c1f2b4df01a296b514b5a5db8c682
# This Makefile is for the VFS dumper extension to perl. # # It was generated automatically by MakeMaker version # 7.0401 (Revision: 70401) from the contents of # Makefile.PL. Don't edit this file, edit Makefile.PL instead. # # ANY CHANGES MADE HERE WILL BE LOST! # # MakeMaker ARGV: () # # MakeMaker Paramete...
Makefile
homeworks/vfs_dumper/Makefile
Kwisats/JAH
gpl-2.0
25,348
843
codeparrot/github-code
e2cfd9b1db26574337cbff5f61d13fab9ec29c2fe7893c1a7ce2ee457095e8e3
package org.ljc.adoptojdk.class_name; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; public class ResolveSimpleNameClassName { private Collection<String> packages = null; public Collection<String> getPackages() { Set...
Java
src/main/java/org/ljc/adoptojdk/class_name/ResolveSimpleNameClassName.java
neomatrix369/OpenJDKProductivityTool
gpl-2.0
1,001
39
codeparrot/github-code
b5ee40c8a943df0835cf1ea60e78c3edf6e9db72f82bfc766bad739ed9707ec6
#!/usr/bin/env python # ********************************************************************** # # Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved. # # This copy of Ice is licensed to you under the terms described in the # ICE_LICENSE file included in this distribution. # # *************************************...
Python
py/test/Ice/faultTolerance/Client.py
joshmoore/zeroc-ice
gpl-2.0
1,608
68
codeparrot/github-code
b14dd3b6710a86b86df51e10c56000952b59e706691e7d51ff5e66c199402d75
/* * Copyright (C) 2000 Matthias Elter <elter@kde.org> * Copyright (C) 2001-2002 Raffaele Sandrini <sandrini@kde.org) * Copyright (C) 2003 Waldo Bastian <bastian@kde.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as pu...
C++
kmenuedit/treeview.cpp
Fat-Zer/tdebase
gpl-2.0
42,979
1,582
codeparrot/github-code
4f0458f4feee09adee6de13f4cd5724f3be6f4439e2947f39e1e5a9566cf2edb
/* * Copyright (C) Dag Henning Liodden Sørbø <daghenning@lioddensorbo.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 the Free Software Foundation. * * This program is distributed in the hope that it ...
C++
app/main.cpp
Soerboe/Urim
gpl-2.0
3,408
123
codeparrot/github-code
4eb07e19b43a35809a966a3fe624fecbb3aa709eed70ecc64af2534c9a955ae9
#include "../comedidev.h" #include "comedi_pci.h" #include "8255.h" #define PCI_VENDOR_ID_CB 0x1307 /* PCI vendor number of ComputerBoards */ #define EEPROM_SIZE 128 /* number of entries in eeprom */ #define MAX_AO_CHANNELS 8 /* maximum number of ao channels for supported boards */ /* PCI-DDA base addresses */ ...
C
kernel/drivers/staging/comedi/drivers/cb_pcidda.c
luckasfb/OT_903D-kernel-2.6.35.7
gpl-2.0
20,633
745
codeparrot/github-code
fdd3cbce393655e056470a13ec8579c8f0a15bf6d45886ee635031c1142e4d1e
#ifndef SCSI_TRANSPORT_SRP_H #define SCSI_TRANSPORT_SRP_H #include <linux/transport_class.h> #include <linux/types.h> #include <linux/mutex.h> #define SRP_RPORT_ROLE_INITIATOR 0 #define SRP_RPORT_ROLE_TARGET 1 struct srp_rport_identifiers { u8 port_id[16]; u8 roles; }; struct srp_rport { struct device dev; u8...
C
kernel/include/scsi/scsi_transport_srp.h
luckasfb/OT_903D-kernel-2.6.35.7
gpl-2.0
903
41
codeparrot/github-code
695a6c827915cb965734d727ae18c097bb52bacdfbb882ee5c6a61331f022c98
/* * Copyright (C) 2014-2017 StormCore * * 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 dis...
C++
src/server/scripts/Northrend/VaultOfArchavon/boss_koralon.cpp
Ragebones/StormCore
gpl-2.0
9,922
304
codeparrot/github-code
67b05ad489fccf6a9967e51823f230511c5c1ee4429867d76306799bf30632bf
<?php /** * @version SEBLOD 3.x Core ~ $Id: version.php sebastienheraud $ * @package SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder) * @url http://www.seblod.com * @editor Octopoos - www.octopoos.com * @copyright Copyright (C) 2009 - 2016 SEBLOD. All Rights Reserved. * @license GNU General...
PHP
administrator/components/com_cck/models/version.php
klas/SEBLOD
gpl-2.0
3,951
143
codeparrot/github-code
89887f44b82b0a425dbd78076ae2f7cdb889c8d18a919f4e2aa43036506d5c60
<!DOCTYPE html> <!--[if IE 7]> <html class="ie ie7" lang="en-US" prefix="og: http://ogp.me/ns#"> <![endif]--> <!--[if IE 8]> <html class="ie ie8" lang="en-US" prefix="og: http://ogp.me/ns#"> <![endif]--> <!--[if !(IE 7) | !(IE 8) ]><!--> <html lang="en-US" prefix="og: http://ogp.me/ns#"> <!--<![endif]--> <head> <meta ...
HTML
wp-content/cache/supercache/teamcalbaseball.com/profile/brevenhonda/index.html
hschaen/teamcalbaseball
gpl-2.0
20,553
379
codeparrot/github-code
625bf10798c6816c8960c0033ee8cd183115026d29f211b9a8ecf46f9dba1ecc
/* How would you design a stack which, in addition to push and pop, also has a function min which returns the minimum element? Push, pop and min should all operate in O(1) time. */ #include <stdio.h> #include <map> using namespace std; #define N 500 typedef struct Stack { int top; int min; int value[N]; m...
C++
3_2.cpp
pgxiaolianzi/cracking-the-code-interview
gpl-2.0
1,447
114
codeparrot/github-code
b2edc3b9446752a9749a017bf44e627a816f4b3795b1830db4a2c546e9c89f4b
/** * MaNGOS is a full featured server for World of Warcraft, supporting * the following clients: 1.12.x, 2.4.3, 3.3.5a, 4.3.4a and 5.4.8 * * Copyright (C) 2005-2022 MaNGOS <https://getmangos.eu> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Publ...
C++
src/game/WorldHandlers/NPCHandler.cpp
mangostwo/server
gpl-2.0
30,883
1,033
codeparrot/github-code
4f7634262047485e6e460f2db8144e9538a2ee65ab18d257d169d5249dc0e183
<?php /* TwigBundle:Exception:exception_full.html.twig */ class __TwigTemplate_12d6106874fca48a5e6b4ba3ab89b6fc520d1b724c37c5efb25ee5ce99e9e8da extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = $this->env->loadTemplate("Twig...
PHP
app/cache/dev/twig/12/d6/106874fca48a5e6b4ba3ab89b6fc520d1b724c37c5efb25ee5ce99e9e8da.php
fjbatresv/REMIS
gpl-2.0
2,475
76
codeparrot/github-code
2f2791fcdadf700e0c198a9ca1dbace31b90a881fa78342038f90308e8aeba83
<?php class ezxpdfpreview { function ezxpdfpreview() { $this->Operators = array( 'pdfpreview' ); } /*! \return an array with the template operator name. */ function operatorList() { return $this->Operators; } /*! \return true to tell the template engine t...
PHP
classes/ezxpdfpreview.php
xrowgmbh/pdfpreview
gpl-2.0
2,967
86
codeparrot/github-code
8eeab47c230808a2986273f96136c58f8bde61e705b2ac34b0099e93b34a8a85
<?php /* * Copyright (C) 2015 andi * * 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 distr...
PHP
module/ErsBase/src/ErsBase/View/Helper/Session.php
inbaz/ers
gpl-2.0
1,154
39
codeparrot/github-code
64b813743860f82653b5ff26d706237a1f1eaa63202d1796ed5d5baccf12a0a8
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2018-2020 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2020 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
Java
features/kafka/producer/src/main/java/org/opennms/features/kafka/producer/OpennmsKafkaProducer.java
jeffgdotorg/opennms
gpl-2.0
28,520
716
codeparrot/github-code
037ec68861fcb4568235df1690b4ff5d6a1f1b98b029b38008ce5267c3a9618a
/* * This file Copyright (C) Mnemosyne LLC * * This file is licensed by the GPL version 2. Works owned by the * Transmission project are granted a special exemption to clause 2 (b) * so that the bulk of its code can remain under the MIT license. * This exemption does not extend to derived works not owned by * th...
C
gtk/util.h
cfpp2p/Transmission-basin
gpl-2.0
4,153
143
codeparrot/github-code
a549d5f87d4614d63e9f8e6adf25c9e8b68f8f45677b4577d60f1c7e41e007ea
/** * The routes worker process * * This worker process gets the app routes by running the application dynamically * on the server, then stores the publicly exposed routes in an intermediate format * (just the url paths) in Redis. * From there, the paths are used by the live app for serving /sitemap.xml and ...
JavaScript
server/workers/routes/lib/index.js
localnerve/wpspa
gpl-2.0
2,589
86
codeparrot/github-code
8409b518b35a41c8e667fec1db7fb589ee7fa65ad494401bc9af13cbab6d20bc
/* * Vulcan Build Manager * Copyright (C) 2005-2012 Chris Eldredge * * 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 vers...
Java
plugins/vulcan-subversion/source/main/java/net/sourceforge/vulcan/subversion/SubversionRepositoryAdaptor.java
chriseldredge/vulcan
gpl-2.0
23,349
682
codeparrot/github-code
7268016f49a3a0628ef1f65d32c97872759a4d88a1a531290161260fcefeae08
/* dia -- an diagram creation/manipulation program * Copyright (C) 1998 Alexander Larsson * * dia_svg.c -- Refactoring by Hans Breuer from : * * Custom Objects -- objects defined in XML rather than C. * Copyright (C) 1999 James Henstridge. * * This program is free software; you can redistribute it and/or modif...
C
lib/dia_svg.c
GNOME/dia
gpl-2.0
53,495
1,811
codeparrot/github-code
953b68078538b5d694f51d9f5ae54c40a02d3a96a9cc8de4b2b6563b44d96bb9
/* * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
C
modules/graphics/src/main/native-glass/gtk/glass_window.h
maiklos-mirrors/jfx78
gpl-2.0
14,351
445
codeparrot/github-code
a8e0147dd16da02ac71f54a3834690624373a91bee2198aee63809c4eb83c3bf
<?php /** * The template for displaying Comments. * * The area of the page that contains both current comments * and the comment form. The actual display of comments is * handled by a callback to hoshin_comment which is * located in the functions.php file. * * @package WordPress * @subpackage Twenty_Ten * @s...
PHP
wp-content/themes/hoshin/comments.php
artzstudio/hoshinbudo.com
gpl-2.0
3,028
80
codeparrot/github-code
f0d3d243c19095fb755e3282613ea556943d7bbcfb91888312e70ce576b5bfe3
/* This program was written with lots of love under the GPL by Jonathan * Blandford <jrb@gnome.org> */ #include <config.h> #include <stdlib.h> #include <string.h> #include <gtk/gtk.h> #include <gio/gio.h> #include <gdk/gdkx.h> #include <X11/Xatom.h> #include <glib/gi18n.h> #include <gdk/gdkkeysyms.h> #if GTK_CHECK_...
C
capplets/keybindings/mate-keybinding-properties.c
City-busz/mate-control-center
gpl-2.0
58,766
1,969
codeparrot/github-code
3f39a8f08da50533780664b4152a702218e502506170f252bbb122efbda63f41
/****************************************************************************** * * Copyright (C) 1997-2013 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby * granted. No representations ar...
C++
src/xmlgen.cpp
bo0ts/doxygen-fixes
gpl-2.0
62,426
2,054
codeparrot/github-code
c626c658ec3e973e2237ec7d0559ae239a69740c552287c368f450d30e88f04b
<?php /** * @package hubzero-cms * @copyright Copyright (c) 2005-2020 The Regents of the University of California. * @license http://opensource.org/licenses/MIT MIT */ namespace Components\Events\Api; use Hubzero\Component\Router\Base; /** * Routing class for the component */ class Router extends Base {...
PHP
core/components/com_events/api/router.php
hubzero/hubzero-cms
gpl-2.0
1,353
73
codeparrot/github-code
e73b3b03f19e9a916c93005691847cfce73e983f458068a259e75b8e913e42e5
/** * Setup (required for Joomla! 3) */ if(typeof(akeeba) == 'undefined') { var akeeba = {}; } if(typeof(akeeba.jQuery) == 'undefined') { akeeba.jQuery = jQuery.noConflict(); } akeeba.jQuery(document).ready(function($){ function atsAssignmentClick() { var parent = akeeba.jQuery(this).parent('td'); var id...
JavaScript
www/media/com_ats/js/tickets.js
SirPiter/folk
gpl-2.0
3,563
116
codeparrot/github-code
97a8c677d94fe1e9dafb8e700dce2c4ea87e4bc537fbe2ab04e3260b59bc1754
/* * BackFS Filesystem Cache * Copyright (c) 2010-2014 William R. Fraser */ #define _XOPEN_SOURCE 500 // for pread() #include "fscache.h" #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <stdbool.h> #include <stddef.h> #include <errno.h> #include <string.h> #include <unistd.h> #include <sys/st...
C
fscache.c
ninoles/backfs
gpl-2.0
35,045
1,246
codeparrot/github-code
eec74621de36a4b8420043b2ad4957de1431c08c18144d0ecf50aaa55021c583
/* * Intel 3000/3010 Memory Controller kernel module * Copyright (C) 2007 Akamai Technologies, Inc. * Shamelessly copied from: * Intel D82875P Memory Controller kernel module * (C) 2003 Linux Networx (http://lnxi.com) * * This file may be distributed under the terms of the * GNU General Public License...
C
drivers/edac/i3000_edac.c
jeffegg/beaglebone
gpl-2.0
14,324
554
codeparrot/github-code
62f8abd5edd91cb4085b2200c6d2635aec78bf3c23558f6fb29eae3fa0276273
/*********************************************************************************** * * * Voreen - The Volume Rendering Engine * * ...
C
Gnorasi/modules/itk_generated/processors/itk_MathematicalMorphology/closingbyreconstructionimagefilter.h
gnorasi/gnorasi
gpl-2.0
3,591
81
codeparrot/github-code
57e561594b624d29e9d599c078462e86063cac250b7e1586cee617d355244a53
# Based partially on (wongsyrone/hbl0307106015) versions include $(TOPDIR)/rules.mk PKG_NAME:=samba PKG_VERSION:=4.12.3 PKG_RELEASE:=5 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:= \ https://ftp.gwdg.de/pub/samba/stable/ \ https://ftp.heanet.ie/mirrors/ftp.samba.org/stable/ \ https://ftp.riken....
Makefile
net/samba4/Makefile
eduardoabinader/packages
gpl-2.0
15,559
445
codeparrot/github-code
5aa88e161dee371efccb589fc0926df9921cd07a134ec04fed2799cc225e0e90
<?php namespace webfilesframework\core\datasystem\file\system\dropbox; use webfilesframework\core\datasystem\file\system\MFile; /** * description * * @author Sebastian Monzel < mail@sebastianmonzel.de > * @since 0.1.7 */ class MDropboxFile extends MFile { protected $dropboxAccount; ...
PHP
source/core/datasystem/file/system/dropbox/MDropboxFile.php
sebastianmonzel/webfiles-framework-php
gpl-2.0
2,375
92
codeparrot/github-code
2c8010fa8eeb63077781b5c9587566a49a6479958982602498878e32b29eb341
package openra.server; import openra.core.Unit; public class UnitAnimEvent extends ActionEvent { private Unit un; private UnitAnimEvent scheduled; public UnitAnimEvent(int p, Unit un) { super(p); //logger->debug("UAE cons: this:%p un:%p\n",this,un); this.un = un; //un.referTo(); ...
Java
java/src/openra/server/UnitAnimEvent.java
damiencarol/openredalert
gpl-2.0
965
50
codeparrot/github-code
a7e47a38bfeeafa1184f35e356a5d10a53ad3bdf1333391a1e893bfab81a2d70
/** * Copyright (C) 2013, Moss Computing Inc. * * This file is part of simpledeb. * * simpledeb is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version...
Java
core/src/main/java/com/moss/simpledeb/core/action/LaunchScriptAction.java
mosscode/simpledeb
gpl-2.0
4,990
172
codeparrot/github-code
f87d08a6228903e608e3ab3004a0fb98a1501be13c5cd226da58d08eae0d8321
/*µü´úÆ÷ģʽ * * ±éÀú¼¯ºÏµÄÖ°Ôð·ÖÀë³öÀ´£» */ /**°×Ïä¾ÛºÏ+Íâµü´ú×Ó*/ public interface Iterator { public Object first(); public Object next(); //µÃµ½µ±Ç°¶ÔÏó public Object currentItem(); //ÊÇ·ñµ½Á˽áβ public boolean isDone(); } //ÕýÐòµü´úÆ÷ public class ConcreteIterator imple...
Java
document/设计模式/3行为型/3迭代器.java
creary/company
gpl-2.0
2,882
147
codeparrot/github-code
be6c5e53a2f36a47166aec7757fbe4f1a1858540113747f2aa65d03215db4a2a
/* $Id$ */ /** @file * VMM - Raw-mode Context. */ /* * Copyright (C) 2006-2012 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it under the terms of the GNU * Gen...
C++
src/VBox/VMM/VMMRC/VMMRC.cpp
fintler/vbox
gpl-2.0
11,065
382
codeparrot/github-code
0f7470b20aac52f8d2ba06843d7d5f90290c7fe9c01391cf64bbbf6b6983f1aa
package yuka.detectors; import yuka.containers.News; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.net.URLConnection; import java.util.HashMap; import java.util.Map; /** * Created by imyuka on 18/08/2016. ...
Java
AFL/src/main/java/yuka/detectors/FigureDetector.java
imyuka/AFL
gpl-2.0
2,274
81
codeparrot/github-code
79d40564c4adecd45b0da4075af2c775f9e0d8dfd1ad77952e7ddb81f9ecf677
# Copyright 2014-2017 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in...
Python
lib/vdsm/v2v.py
EdDev/vdsm
gpl-2.0
48,122
1,449
codeparrot/github-code
f13402419e46f204d52337e7d6db12ff924a48ada33a7e438627a4a719ff09f0
/*****************************************************************************\ * $Id: fillfile.c 77 2006-02-15 01:00:42Z garlick $ ***************************************************************************** * Copyright (C) 2001-2008 The Regents of the University of California. * Produced at Lawrence Livermore...
C
src/fillfile.c
tjohansen14/diskscrub
gpl-2.0
8,230
302
codeparrot/github-code
4d1548b81322ed056534ce249d74e6c300560eed07a8f02d3c0fb0ed6375da15
using System; namespace Server.Items { public class ArachnidDoom : BaseInstrument { [Constructable] public ArachnidDoom() : base(0x0EB3) { RandomInstrument(); this.Hue = 1944; this.Weight = 4; this.Slayer = SlayerName.Arachnid...
C#
Scripts/Services/CleanUpBritannia/Items/ArachnidDoom.cs
tbewley10310/Land-of-Archon
gpl-2.0
1,188
57
codeparrot/github-code
1291f1435f1c47da9938ff7838e380c55bc758c7eb14d930c5bb49e31da69389
<?php /** * * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) * @author Andreas Gohr <andi@splitbrain.org> */ // must be run within Dokuwiki if(!defined('DOKU_INC')) die(); /** * Class syntax_plugin_data_entry */ class syntax_plugin_data_entry extends DokuWiki_Syntax_Plugin { /** * @var he...
PHP
lib/plugins/data/syntax/entry.php
tsolucio/coreBOSDocumentation
gpl-2.0
17,100
478
codeparrot/github-code
4bd50ff63e9fc8e23e10759ec7e501f78ad0446b9b9caa4ebfa6dddf8756375c
/* packet-laplink.c * Routines for laplink dissection * Copyright 2003, Brad Hards <bradh@frogmouth.net> * * $Id: packet-laplink.c 42632 2012-05-15 19:23:35Z wmeier $ * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free softwa...
C
epan/dissectors/packet-laplink.c
Abhi9k/wireshark-dissector
gpl-2.0
7,776
252
codeparrot/github-code
4285ca697c021bc5e0f89e0a39788feea2fec54277be53e28eeb4a08f6a27192
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pe.edu.upeu.modelo; import java.io.Serializable; import java.util.Collection; import java.util.Date; import javax....
Java
WebSgeUPeU/src/java/pe/edu/upeu/modelo/ConfPeriodo.java
AngieChambi/ProFinal
gpl-2.0
8,395
253
codeparrot/github-code
b5bc09a9b5311fad6fee02b50b0a7367fa768f9903d6547feb94d0cbf82cc29c
package com.atlach.trafficdataloader; import java.util.ArrayList; /* Short Desc: Storage object for Trip info */ /* Trip Info > Trips > Routes */ public class TripInfo { private int tripCount = 0; public ArrayList<Trip> trips = null; public String date; public String origin; public String destination; ...
Java
ViajeUi/src/com/atlach/trafficdataloader/TripInfo.java
linusmotu/Viaje
gpl-2.0
2,363
114
codeparrot/github-code
47591339418f9d82443f56dea0815176a1de0b8f9272d8f7ef65d13f69e06ae6
package org.adastraeducation.liquiz.equation; import java.util.*; import java.util.regex.*; import org.adastraeducation.liquiz.*; /** * Present equations with random variables. * It has two ways to parse the equations in string[]. One is in infix, and the other is in the RPN. * @author Yingzhu Wang * */ public ...
Java
LiquiZ/src/org/adastraeducation/liquiz/equation/Equation.java
hydrodog/LiquiZ
gpl-2.0
4,219
182
codeparrot/github-code
a04504c7b11cd1824c1d2111ab875dea3d007340f023a5c32283fc1ab8cda458
package com.github.luksdlt92; import java.util.ArrayList; /* * DoubleJumpReload plugin * Made by luksdlt92 and Abdalion */ import org.bukkit.event.Listener; import org.bukkit.plugin.java.JavaPlugin; import com.github.luksdlt92.commands.DoubleJumpCommand; import com.github.luksdlt92.listeners.JumpListener; pub...
Java
DoubleJumpReload/src/main/java/com/github/luksdlt92/DoubleJumpReload.java
luksdlt92/doublejumpreload
gpl-2.0
871
38
codeparrot/github-code