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
aa6ac0d046e152bf73679d9dd2b82559c4d16660fa272ad428ecb55abb8e9c5f
<?php /** * Nooku Platform - http://www.nooku.org/platform * * @copyright Copyright (C) 2007 - 2014 Johan Janssens and Timble CVBA. (http://www.timble.net) * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> * @link https://github.com/nooku/nooku-platform for the canonical source repository *...
PHP
library/event/mixin.php
babsgosgens/nooku-ember-example-theme
gpl-3.0
9,285
260
codeparrot/github-code
f43c1a3b8c373af2ece7dfcbe36b71065413e8e52ebea133ed2a712cc2b8b002
require 'nokogiri' require 'digest' class XMLReader # uses nokogiri to extract all system information from scenario.xml # This includes module filters, which are module objects that contain filters for selecting # from the actual modules that are available # @return [Array] Array containing Systems objects ...
Ruby
lib/readers/xml_reader.rb
cliffe/SecGen
gpl-3.0
1,407
49
codeparrot/github-code
e95635b611e045b35973226d51ee88a962c6558cf9ce5717cc353e1b0b3712dc
using LeagueSharp.Common; using SharpDX; using EloBuddy; using LeagueSharp.Common; namespace e.Motion_Katarina { public class Dagger { private static readonly int DELAY = 0; private static readonly int MAXACTIVETIME = 4000; private bool Destructable; private Vector3 Position; ...
C#
Core/Champion Ports/Katarina/e.Motion Katarina/Dagger.cs
saophaisau/port
gpl-3.0
1,294
60
codeparrot/github-code
3fbdfc60f921981040088e4a85127a0d496426b478f0bb6f4346da9c730b5082
package org.obiba.mica.search.aggregations; import org.obiba.mica.micaConfig.service.helper.AggregationMetaDataProvider; import org.obiba.mica.micaConfig.service.helper.PopulationIdAggregationMetaDataHelper; import org.springframework.stereotype.Component; import javax.inject.Inject; import java.util.Map; @Component...
Java
mica-search/src/main/java/org/obiba/mica/search/aggregations/PopulationAggregationMetaDataProvider.java
obiba/mica2
gpl-3.0
1,342
43
codeparrot/github-code
514ca1bc89452f59d7d65ee20c6ea32680e3757d4fe6910f5d5845f55bd684ac
/** * This file is part of d:swarm graph extension. * * d:swarm graph extension 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. ...
Java
src/main/java/org/dswarm/graph/delta/match/model/util/CSEntityUtil.java
zazi/dswarm-graph-neo4j
gpl-3.0
1,515
49
codeparrot/github-code
02235fcc283ad3fa7336710f04ca38adea68004fe80376ae2c55772d1da92ab4
<?php echo("Discovery protocols:"); global $link_exists; $community = $device['community']; if ($device['os'] == "ironware") { echo(" Brocade FDP: "); $fdp_array = snmpwalk_cache_twopart_oid($device, "snFdpCacheEntry", array(), "FOUNDRY-SN-SWITCH-GROUP-MIB"); if ($fdp_array) { unset($fdp_links); for...
PHP
includes/discovery/discovery-protocols.inc.php
wojons/librenms
gpl-3.0
6,429
168
codeparrot/github-code
cb57df5bca8efd9c8c511842f59672b008edcc6906e960f67a71b7649f2e7032
/****************************************************************\ * * * Library for HSP sets (high-scoring segment pairs) * * * * Guy St.C. Slater.. mailto:guy@ebi.ac.uk ...
C
src/comparison/hspset.c
hotdogee/exonerate-gff3
gpl-3.0
51,355
1,376
codeparrot/github-code
67a9c908eef61d3f18c1b71fffc125491ab58ae02801533e623af3def37c14dd
/* Copyright 2014 Red Hat, Inc. and/or its affiliates. This file is part of lightblue. 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 ...
Java
lightblue-ldap-hystrix/src/main/java/com/redhat/lightblue/hystrix/ldap/AbstractLdapHystrixCommand.java
dcrissman/lightblue-ldap
gpl-3.0
1,527
44
codeparrot/github-code
909458a50e4a80abe9008359fea12c2398f28b3f77e6687f05f01480f42e98b7
/* * Syncany, www.syncany.org * Copyright (C) 2011 Philipp C. Heckel <philipp.heckel@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (a...
Java
src/com/stacksync/desktop/watch/local/LocalWatcher.java
pviotti/stacksync-desktop
gpl-3.0
4,196
123
codeparrot/github-code
af8949a199159e13f10ba694a24839b7086fd8d1432a4b987afb0c77e6e25b8a
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2017 - ROLI Ltd. JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of both the JUCE 5 End-User Lic...
C++
JuceLibraryCode/modules/juce_gui_basics/layout/juce_ScrollBar.cpp
gbevin/HEELP
gpl-3.0
12,905
431
codeparrot/github-code
9465a8653770a1b756439d9ff84e9c5a179e6bb121bab07a44d2ab0c655f942c
<?php /* ************************************************************************************************************************** ** CORAL Resources Module v. 1.2 ** ** Copyright (c) 2010 University of Notre Dame ** ** This file is part of CORAL. ** ** CORAL is free software: you can redistribute it and/or modify it...
PHP
admin/classes/domain/Resource.php
TAMULib/CORAL-Resources
gpl-3.0
79,589
2,460
codeparrot/github-code
f7ba73464e4357d3584d4a2f2d502c8d24055e2565df66cff130938f68f90833
import logging from borgmatic.borg.flags import make_flags, make_flags_from_arguments from borgmatic.execute import execute_command logger = logging.getLogger(__name__) # A hack to convince Borg to exclude archives ending in ".checkpoint". This assumes that a # non-checkpoint archive name ends in a digit (e.g. from...
Python
borgmatic/borg/list.py
witten/borgmatic
gpl-3.0
3,343
90
codeparrot/github-code
71f3a36f1e396d4dd9ae9f2bf6794125fef1a9275cdb1ce83e34f6f4db388394
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AssociationContains.cs" company="Allors bvba"> // Copyright 2002-2017 Allors bvba. // // Dual Licensed under // a) the Lesser General Public Licence v3 (LGPL) // b) the Allo...
C#
Platform/Database/Adapters/Allors.Adapters.Object.SqlClient/Predicates/AssociationContains.cs
Allors/allors
gpl-3.0
2,811
65
codeparrot/github-code
aee690bd81c9326493317be4fa2f2ae799a6fbef6442247e705f0196e57548b0
using System; using System.Web; using System.Web.Mvc; using SmartStore.Core; using SmartStore.Core.Domain.Catalog; using SmartStore.Core.Domain.Customers; using SmartStore.Core.Domain.Media; using SmartStore.Core.Html; using SmartStore.Services.Catalog; using SmartStore.Services.Media; using SmartStore.Services.Orders...
C#
src/Presentation/SmartStore.Web/Controllers/DownloadController.cs
nitware/estore
gpl-3.0
8,282
245
codeparrot/github-code
ddcb13dffd6ba286228320e7888757b3b87f5d4f88e4d51cc381f109955b9924
/* Copyright © 2014-2015 by The qTox Project Contributors This file is part of qTox, a Qt-based graphical interface for Tox. qTox is libre 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 versi...
C
src/chatlog/content/filetransferwidget.h
apprb/qTox
gpl-3.0
2,829
97
codeparrot/github-code
3a00cf8ea9c49762d701c111f7042748f2c3853919819a089c3bf768aee4a0f7
/*! @file @verbatim $Id: AVIStructures.h 52604 2008-04-23 05:33:29Z jbraness $ Copyright (c) 2007 DivX, Inc. All rights reserved. This software is the confidential and proprietary information of DivX, Inc. and may be used only in accordance with the terms of your license from DivX, Inc. @endverbatim */...
C
mplayer_android/Divx_lib/DivXMediaFormat/src/DMFLayer1/AVI/AVICommon/AVIStructures.h
dr4g0nsr/mplayer-skyviia-8860
gpl-3.0
9,249
379
codeparrot/github-code
04e55a358fda7b3662ce64c404486da0df8733ff39785981c6fb48fa55c949d2
<!DOCTYPE html> <html> <head> <meta charset = "utf-8"> <title>Ghidra Java Coding Standards</title> <style media="screen" type="text/css"> li { margin-left: 90px; font-family:times new roman; font-size:14pt; } h1 { color:#000080; font-family:times new roman; font-size:36pt; font-style:italic; font-weight:bo...
HTML
modules/utilities/unix/audit_tools/ghidra/files/release/docs/GhidraCodingStandards.html
thomashaw/SecGen
gpl-3.0
24,220
499
codeparrot/github-code
8ad20d1ec11019d1617624ea97ffd46599da20fbdf5803183133b8ce1b03f584
/* This source file is part of Rigs of Rods Copyright 2005-2012 Pierre-Michel Ricordel Copyright 2007-2012 Thomas Fischer Copyright 2013-2014 Petr Ohlidal For more information, see http://www.rigsofrods.com/ Rigs of Rods is free software: you can redistribute it and/or modify it under the terms of the GNU Gene...
C++
source/main/gfx/SkyXManager.cpp
ulteq/rigs-of-rods
gpl-3.0
6,681
193
codeparrot/github-code
d4b3c26cef6814604a7f78b495364ebd9d9dc7a040a526c6de501be4074b1ee4
/* Copyright (C) 2011 Andrew Cotter 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 distributed in the ...
C++
src/helpers.hpp
mjmg/Rgtsvm
gpl-3.0
7,286
369
codeparrot/github-code
41be5949db5019685f30d75eec1a6cb1f420383481b37932cbab133637227468
/** * This file is part of a demo that shows how to use RT2D, a 2D OpenGL framework. * * - Copyright 2015 Rik Teerling <rik@onandoffables.com> * - Initial commit * - Copyright 2015 Your Name <you@yourhost.com> * - What you did */ #include "scene01.h" Scene01::Scene01() : SuperScene() { // Start Timer ...
C++
demo/scene01.cpp
Thalliuss/RT2D_Project
gpl-3.0
6,195
153
codeparrot/github-code
512f30565adb9bcac217efdc3d5bb50d8f5f782fe4307fb26e039eb894ae08a0
<?php class OperationData { public static $tablename = "operation"; public function OperationData(){ $this->name = ""; $this->product_id = ""; $this->q = ""; $this->cut_id = ""; $this->operation_type_id = ""; $this->is_oficial = "0"; $this->created_at = "NOW()"; } public function add(){ $sql = "in...
PHP
core/modules/index/model/OperationData.php
cyberiaVirtual/kaluna_vta
gpl-3.0
19,750
556
codeparrot/github-code
a90ab5f60a153a23f28dada90c24f94e670ec8340473e004c5072b897ae20d0b
/**************************************************************************** Copyright (c) 2011-2012 cocos2d-x.org Copyright (c) 2013-2014 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation...
JavaScript
redsentir/static/juego/frameworks/cocos2d-html5/extensions/cocostudio/armature/CCArmature.js
corumcorp/redsentir
gpl-3.0
18,849
592
codeparrot/github-code
fed674b96a9b1af4b69b24efc31db474be6617d739cd216ff22dfa5a4d002ade
#include "jednostki.h" #include "generatormt.h" #include "nucleus_data.h" #include "calg5.h" #include "util2.h" using namespace std; template < class T > static inline T pow2 (T x) { return x * x; } static inline double bessj0(double x) { if(fabs(x)<0.000001) return cos(x); else return sin(x)/x; } static...
C++
src/nucleus_data.cc
cjusz/nuwro
gpl-3.0
68,021
1,629
codeparrot/github-code
c02f09aa4454fbbb3108979349ca260a2ef23e849b820796941fe51ade461652
package org.gnubridge.presentation.gui; import java.awt.Point; import org.gnubridge.core.Card; import org.gnubridge.core.Direction; import org.gnubridge.core.East; import org.gnubridge.core.Deal; import org.gnubridge.core.Hand; import org.gnubridge.core.North; import org.gnubridge.core.South; import org.gnubridge.cor...
Java
src/main/java/org/gnubridge/presentation/gui/OneColumnPerColor.java
pslusarz/gnubridge
gpl-3.0
1,786
61
codeparrot/github-code
877df07d87c21b28a4a6cfd66b5c95d4233af5ec6786caa1ed429130091177d5
/* * Copyright (c) 2000-2005, 2008-2011 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file exc...
C
src/configd/SystemConfiguration.fproj/SCDNotifierCancel.c
LubosD/darling
gpl-3.0
2,715
97
codeparrot/github-code
8cf4f65c7e812ea974dc1454a99c6ef4514f3cf44c6faac4ce2c2a8c5ae2410f
// Copyright CERN and copyright holders of ALICE O2. This software is // distributed under the terms of the GNU General Public License v3 (GPL // Version 3), copied verbatim in the file "COPYING". // // See http://alice-o2.web.cern.ch/license for full licensing information. // // In applying this license CERN does not ...
C
Framework/Core/include/Framework/CallbackRegistry.h
AllaMaevskaya/AliceO2
gpl-3.0
5,160
148
codeparrot/github-code
4c6a7161a5abc409e69aa40d922bd9c919b8f64fc86a697c6d885a63a75a4312
<?php /******* Biblioteka implementująca BotAPI GG http://boty.gg.pl/ Copyright (C) 2013 GG Network S.A. Marcin Bagiński <marcin.baginski@firma.gg.pl> This library 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 Found...
PHP
MessageBuilder.php
michibo112/czacik.pl
gpl-3.0
7,843
336
codeparrot/github-code
3b7b2add34795ddd8cd3e2fa301fc96cbb6c912aa678bbc1c7f48d82b029f58c
<?php /* Gibbon, Flexible & Open School System Copyright (C) 2010, Ross Parker 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. ...
PHP
modules/Application Form/applicationForm.php
dimas-latief/core
gpl-3.0
86,436
2,119
codeparrot/github-code
957ddfca0e92ce98749c604a3f0b43daba9bcd83cf30d01a1e7500052353a19c
// uScript Action Node // (C) 2011 Detox Studios LLC using UnityEngine; using System.Collections; [NodePath("Actions/Assets")] [NodeCopyright("Copyright 2011 by Detox Studios LLC")] [NodeToolTip("Loads a PhysicMaterial")] [NodeAuthor("Detox Studios LLC", "http://www.detoxstudios.com")] [NodeHelp("http://docs.uscript...
C#
Assets/uScript/uScriptRuntime/Nodes/Actions/Assets/uScriptAct_LoadPhysicMaterial.cs
neroziros/GameJam2017
gpl-3.0
1,905
65
codeparrot/github-code
932702f1f74a9c8eea3673a669024884f42e6bbe555c4828f0c6705ae26807b3
/* * Copyright (C) 2013 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryWriter.java
s20121035/rk3288_android5.1_repo
gpl-3.0
4,412
110
codeparrot/github-code
3a178e436cc054604a4fdfc3c62237f5142e68ffa6f6fa0821934779af2b24f7
/* pybind11/attr.h: Infrastructure for processing custom type and function attributes Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "cast.h" N...
C
lanms/include/pybind11/attr.h
argman/EAST
gpl-3.0
18,075
472
codeparrot/github-code
ddc890290fdb813c110a187c8f495b4b1c8933b4f9f5178a7c32f8a30c55efc0
/* Moonshine - a Lua-based chat client * * Copyright (C) 2010 Dylan William Hardison * * This file is part of Moonshine. * * Moonshine 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 o...
C
src/async-queue-test.c
bdonlan/moonshine
gpl-3.0
2,762
101
codeparrot/github-code
ed0b60dff10044c12d4a54d2e04bbf531a007aa4770a20f54ccd5cc5f8ba46d7
/* * linux/kernel/math/div.c * * (C) 1991 Linus Torvalds */ /* * temporary real division routine. */ #include <linux/math_emu.h> static void shift_left(int * c) { __asm__ __volatile__("movl (%0),%%eax ; addl %%eax,(%0)\n\t" "movl 4(%0),%%eax ; adcl %%eax,4(%0)\n\t" "movl 8(%0),%%eax ; adcl %%eax,8(%0)\n\t...
C
linux-0.12/kernel/math/div.c
honyyang/Linux-0.12
gpl-3.0
2,099
110
codeparrot/github-code
7140a9e7f31446e215c218cd508fd4b157e04dd6a5c55e96b8a9d9afa5ced7ba
# Copyright (C) 1998-2014 by the Free Software Foundation, Inc. # # This file is part of GNU Mailman. # # GNU Mailman 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 you...
Python
src/mailman/bin/checkdbs.py
adam-iris/mailman
gpl-3.0
7,696
210
codeparrot/github-code
ad2f526adbca98c7133ac53da057dc129e921ba78c0a2047d4479412dc25b898
#pragma once /* * Nanoflann helper classes * Copyright (C) 2019 Wayne Mogg * * 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...
C
plugins/wm_include/nanoflann_extra.h
waynegm/OpendTect-Plugins
gpl-3.0
1,498
50
codeparrot/github-code
91208d88729b219378247dd1674483c694bf30cdd592a883804a88dad703d59e
require 'uuid' class CompassAeInstance < ActiveRecord::Base attr_protected :created_at, :updated_at has_tracked_status has_many :parties, :through => :compass_ae_instance_party_roles has_many :compass_ae_instance_party_roles, :dependent => :destroy do def owners where('role_type_id = ?', RoleType.com...
Ruby
erp_base_erp_svcs/app/models/compass_ae_instance.rb
xuewenfei/compass_agile_enterprise
gpl-3.0
1,077
38
codeparrot/github-code
597c534ca3d6108215a06c666401f3cff67b65810c9858d4b8fd1f98411e3d7a
/* * ============================================================================ * GNU General Public License * ============================================================================ * * Copyright (C) 2015 Infinite Automation Software. All rights reserved. * * This program is free software: you can redist...
Java
src/main/java/com/serotonin/bacnet4j/type/notificationParameters/CommandFailure.java
mlohbihler/BACnet4J
gpl-3.0
4,277
122
codeparrot/github-code
0b4c8696f5fca4b8f9c7c50e202b5eaba7ee3be36212909aba7dc651ae474278
{-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE ScopedTypeVariables #-} module CO4.Example.Fib where import Language.Haskell.TH (runIO) import qualified Satchmo.Core.SAT.Minisat import qualified Satchmo...
Haskell
test/CO4/Example/Fib.hs
apunktbau/co4
gpl-3.0
1,177
52
codeparrot/github-code
03818db7dfb08ba57c7c7acc4270662a54c352179ce4dbe0720ebe63cd7ce24f
// Font.cpp: ActionScript Font handling, for Gnash. // // Copyright (C) 2006, 2007, 2008, 2009, 2010 Free Software // Foundation, Inc // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation;...
C++
libcore/Font.cpp
atheerabed/gnash-fork
gpl-3.0
8,960
368
codeparrot/github-code
cc7b82361351c1ed666578c2c676ba0d7635687c02c04e37d44388740569645b
<?php /** * MyBB 1.8 Merge System * Copyright 2014 MyBB Group, All Rights Reserved * * Website: http://www.mybb.com * License: http://www.mybb.com/download/merge-system/license/ */ // Disallow direct access to this file for security reasons if(!defined("IN_MYBB")) { die("Direct initialization of this file is no...
PHP
boards/phpbb3/pollvotes.php
PaulBender/merge-system
gpl-3.0
2,116
87
codeparrot/github-code
b00f9e80d511832f5ea67c0431ec9afe831b4ee7dfebd041148afb435bd9f52e
/* * Copyright (C) 2012 Krawler Information Systems Pvt Ltd * All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your optio...
Java
bpm-app/modulebuilder/src/main/java/com/krawler/portal/util/ListUtil.java
ufoe/Deskera-CRM
gpl-3.0
8,286
412
codeparrot/github-code
a6421832aa454e0601758c5cf61ac3e749035abab8cbc0caf33eb712777e348c
<?php /** * Created by PhpStorm. * User: mkt * Date: 2015-10-28 * Time: 14:49 */ namespace view; require_once("view/ListView.php"); /** * View that shows a list of unique sessions * for a specific ip-number */ class SessionListView extends ListView { private $logSessions = array(); private static $...
PHP
view/SessionListView.php
js223kz/PHP_LOGGER
gpl-3.0
3,066
102
codeparrot/github-code
8c4c45376faf1c1bcffbd06a2d902070cfdb6e71b0f9c606fbd21cf11a2074f0
/** * Copyright (c) 2012, Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
packages/apps/UnifiedEmail/src/com/android/mail/compose/FromAddressSpinner.java
s20121035/rk3288_android5.1_repo
gpl-3.0
6,076
172
codeparrot/github-code
08cfbe2bb0a14a8a9297e64c8c282c4d3881e1e8182aad7588aed7da180fea3a
/* * Copyright (C) 2009-2011 Andy Spencer <andy753421@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version....
C
examples/volume/volume.c
GNOME/grits
gpl-3.0
5,906
194
codeparrot/github-code
98c196b46aba366b3f17c7e8f8dc2e93b431c7bf436af10a3b2026b0ed28ec7b
#!/usr/bin/perl #--------------------------------- # Copyright 2011 ByWater Solutions # #--------------------------------- # # -D Ruth Bavousett # #--------------------------------- # # EXPECTS: # -nothing # # DOES: # -corrects borrower zipcodes that start with zero, if --update is given # # CREATES: # -nothing #...
Perl
koha_fixes/zip_code_leading_zero_fix.pl
druthb/koha-migration-toolbox
gpl-3.0
1,912
92
codeparrot/github-code
6e26e4463cf36183ce7294337d736caf892443f0d956ee320f22f8c3d78508ce
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.Design; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace FEFTwiddler.GUI.UnitViewer { [Designer("System.Windows...
C#
FEFTwiddler/GUI/UnitViewer/DragonVein.cs
Soaprman/FEFTwiddler
gpl-3.0
1,796
63
codeparrot/github-code
87a6d67f1506dcf8b774b9e83ea5691d276757b5ee7760ebbed8edf3b72a1c7f
/* * CPAchecker is a tool for configurable software verification. * This file is part of CPAchecker. * * Copyright (C) 2007-2014 Dirk Beyer * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You...
Java
cpachecker/src/org/sosy_lab/cpachecker/cfa/model/ADeclarationEdge.java
nishanttotla/predator
gpl-3.0
1,757
63
codeparrot/github-code
64ac170e8161e1f5368a008b57b5c74f5bdbc3a84fdfd6066b80f7553f07c303
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ExtentTest.cs" company="Allors bvba"> // Copyright 2002-2012 Allors bvba. // // Dual Licensed under // a) the Lesser General Public Licence v3 (LGPL) // b) the Allors Licens...
C#
Platform/Database/Adapters/Tests.Static/Static/object/sqlclient/ExtentTest.cs
Allors/allors
gpl-3.0
10,380
251
codeparrot/github-code
175e497c60e50c333eb0408d16d087b5c1915c7badd9e30612d793703c94dc7a
import { TestData } from '../../test-data'; import { ViewController } from 'ionic-angular'; import { NavParamsMock, BrandsActionsMock, CategoriesActionsMock, ModelsActionsMock, ItemsActionsMock, BrandsServiceMock, CategoriesServiceMock, ModelsServiceMock, ItemsServiceMock, } from '../../mocks'; impor...
TypeScript
src/pages/inventory-filter/inventory-filter.spec.ts
emmanuelroussel/stockpile-app
gpl-3.0
2,887
93
codeparrot/github-code
7bcaf8572a81a689b5118659658a59c5386626a45a9c68b511baf137d2ce584c
#coding=gbk """Convert HTML page to Word 97 document This script is used during the build process of "Dive Into Python" (http://diveintopython.org/) to create the downloadable Word 97 version of the book (http://diveintopython.org/diveintopython.doc) Looks for 2 arguments on the command line. The first argument is t...
Python
python2/diveintopythonzh-cn-5.4b/zh_cn/makerealworddoc.py
qilicun/python
gpl-3.0
2,374
66
codeparrot/github-code
bc31be3fdb50793c873a50117b812878f35c8c687a246651554e3e15b1bd00bb
----------------------------------- -- Area: LaLoff Amphitheater -- NPC: Ark Angel's Tiger ----------------------------------- require("scripts/zones/LaLoff_Amphitheater/TextIDs"); ----------------------------------- -- TODO: Implement shared spawning and victory system with Ark Angel's Mandragora. ----...
Lua
scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_s_Tiger.lua
will4wachter/Project1
gpl-3.0
1,276
54
codeparrot/github-code
31dffd28106d0cb8aa6b4de7c40ce258e79d7a151939bd6f5c8723c4fa6993f8
/* * log_ft_data.cpp * * Created on: Jul 9, 2010 * Author: dc */ #include <iostream> #include <cstdio> #include <cstdlib> #include <syslog.h> #include <signal.h> #include <unistd.h> #include <native/task.h> #include <native/timer.h> #include <boost/thread.hpp> #include <boost/ref.hpp> #include <boost/tup...
C++
sandbox/log_ft_data.cpp
jhu-lcsr-forks/barrett
gpl-3.0
4,369
182
codeparrot/github-code
8a6b62f3dc2e0a9a0cbd32604c9b90dccd078b9cb2fecefdee32b60ab30045e2
/* Lehrstuhl fuer Energietransport und -speicherung UNIVERSITAET DUISBURG-ESSEN ef.Ruhr E-DeMa AP-2 Wissenschaftlicher Mitarbeiter: Dipl.-Ing. Holger Kellerbauer Das Linklayer-Paket "powerline" umfasst eine Sammlung von Modulen, die zur Simulation von Powerline- Uebertragungsstrecken in intelligenten Energieverteil...
C++
plc/src/Adapter_PLC_Base.cc
hoferr/SG_OMNeTpp
gpl-3.0
28,190
801
codeparrot/github-code
0e5c7e739fadaf60d4a7fe7c1dc10b1de050fefe497b951fc1733dc3fa90a33f
/* * Copyright (C) 2008-2009 Martin Willi * 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) any...
C
strongswan-5.5.1/src/libcharon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_card.c
ccwf2006/one-key-ikev2-vpn
gpl-3.0
4,765
187
codeparrot/github-code
7e109b164b31d38708353838f54176befabbd4d97ef1e45fc73ce9e09f72a90a
import leon._ import lazyeval._ import lang._ import annotation._ import collection._ import instrumentation._ import math._ /** * A constant time deque based on Okasaki's implementation: Fig.8.4 Pg. 112. * Here, both front and rear streams are scheduled. * We require both the front and the rear streams to be of al...
Scala
testcases/lazy-datastructures/withconst/Deque.scala
epfl-lara/leon
gpl-3.0
11,454
346
codeparrot/github-code
aa4d5b5860ab00806e7bb732cc61677b9a9229bfd50ab0d569a47b58f7b6c334
## roster_nb.py ## based on roster.py ## ## Copyright (C) 2003-2005 Alexey "Snake" Nezhdanov ## modified by Dimitur Kirov <dkirov@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the...
Python
nbxmpp-0.1/nbxmpp/roster_nb.py
9thSenseRobotics/bosh_server
gpl-3.0
13,001
369
codeparrot/github-code
756def6bf3fc7127f79f43555db57773c8a5568e5540625f7ea14f5ae7068a8b
using System.IO; using System.Text; using Microsoft.WindowsAzure.Storage.Blob; namespace ScrewTurn.Wiki.Plugins.AzureStorage { /// <summary> /// /// </summary> public static class CloudBlobExtensions { /// <summary> /// Uploads a string of text to a block blob. /// </summ...
C#
ScrewTurnWiki.AzureStorageProviders/CloudBlobExtensions.cs
Askanio/STW6
gpl-3.0
6,368
167
codeparrot/github-code
fd0ba707c2b5f6c20feb9caa562c16e7dedc9a2d73d8c67576960445eb2bf633
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using System.Web.Security; using ACE.Web.Models.Account; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using RestSharp; namespace ACE.Web.Controllers { publ...
C#
Source/ACE.Web/Controllers/AccountController.cs
fantoms/ACE
gpl-3.0
2,289
80
codeparrot/github-code
1b23d329bfb086daa9739c8179d674496ce41d113545e51d21e41460119b91e1
""" ================================================================================ Logscaled Histogram ================================================================================ | Calculates a logarithmically spaced histogram for a data map. | Written By: Matthew Stadelman | Date Written: 2016/03/07 | Last Mod...
Python
apmapflow/data_processing/histogram_logscale.py
stadelmanma/netl-ap-map-flow
gpl-3.0
2,486
68
codeparrot/github-code
2a5554c5a1cfcb599e4a49c9938720626c5ccfe5386f6c202adb40c198f27df5
package org.ovirt.engine.core.bll.transport; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import org.ovirt.engine.core.bll.Backend; import org.ovirt.engine.core.common.businessentities.VDS; import org.ovirt.engine.core.common.businessentities.VdsProtocol; import org.ovirt.engine...
Java
ovirt/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/transport/ProtocolDetector.java
jtux270/translate
gpl-3.0
3,963
100
codeparrot/github-code
5894654e70f60677abbb27bcfd9abf9c177c102764fca5ee494bae54091b7dae
/* Creative Machines Lab Aracna Firmware aracna.c - Main Program File Copyright (c) Creative Machines Lab, Cornell University, 2012 - http://www.creativemachines.org Authored by Jeremy Blum - http://www.jeremyblum.com LICENSE: GPLv3 This program is free software: you can redistribute it and/or modify it under t...
C
aracna-embedded-code/aracna/aracna.c
booi/aracna
gpl-3.0
6,751
216
codeparrot/github-code
07ae3657f9443bc00a697461cf09df841a02df2dbf72fcba195d518527b5c168
/* * This file is part of eduVPN. * * eduVPN 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. * * eduVPN is...
Java
app/src/main/java/nl/eduvpn/app/adapter/MessagesAdapter.java
dzolnai/android
gpl-3.0
3,444
103
codeparrot/github-code
fe6c586894dc6303b6ffe7e3ea6d5adb5c9771b210466ead2972ef0a91241a94
/* This file is part of Jellyfish. Jellyfish 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. Jellyfish is distributed ...
C++
jellyfish/parse_dna.hpp
macieksk/Jellyfish
gpl-3.0
7,390
213
codeparrot/github-code
fb4f1f7167beebb76d7a3e543301720d74862dcce8e2ea5553d35b664d298c18
/*************************************************************** * This source files comes from the xLights project * https://www.xlights.org * https://github.com/smeighan/xLights * See the github commit history for a record of contributing * developers. * Copyright claimed based on commit dates recorded in Githu...
C++
xSchedule/PlayList/PlayListItemAudioPanel.cpp
smeighan/xLights
gpl-3.0
6,948
160
codeparrot/github-code
f54cc88f5f322e0200a6be53e8bbc63726924f48a26a28dc933e0e062d27e856
// ************************************************************************** // // // BornAgain: simulate and fit scattering at grazing incidence // //! @file Fit/RootAdapter/GSLMultiMinimizer.h //! @brief Declares class GSLMultiMinimizer. //! //! @homepage http://www.bornagainproject.org //! @license GNU...
C
Fit/RootAdapter/GSLMultiMinimizer.h
waltervh/BornAgain
gpl-3.0
1,782
53
codeparrot/github-code
ae04ebf97f74ed0c423f5cf0cbdf3e1ecbef1ac0f5769fb2016f72de6ab8529d
from __future__ import absolute_import, print_function, division from mitmproxy import exceptions import pprint def _get_name(itm): return getattr(itm, "name", itm.__class__.__name__) class Addons(object): def __init__(self, master): self.chain = [] self.master = master ...
Python
mitmproxy/mitmproxy/addons.py
x2Ident/x2Ident_test
gpl-3.0
2,173
72
codeparrot/github-code
2a524c3e6703b41ca3b04b933e5eb07550eab10d53ea4621ca21c83a0a36d3a7
/* * Copyright (c) 2013 The Interedition Development Group. * * This file is part of CollateX. * * CollateX 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 you...
Java
text-core/src/main/java/eu/interedition/text/xml/WhitespaceCompressor.java
faustedition/text
gpl-3.0
3,002
81
codeparrot/github-code
6a7cea4ff75a87fd69869562529930508811bdf75b132084391a4cb2598be7bc
/* * Copyright (C) 2016-2021 David Rubio Escares / Kodehawa * * Mantaro 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. * M...
Java
src/main/java/net/kodehawa/mantarobot/commands/currency/profile/BadgeUtils.java
Mantaro/MantaroBot
gpl-3.0
2,976
80
codeparrot/github-code
5a74f3c5ff18d60ea0a09122a602edef33435342d83c25bc93f8aa25cfcfba00
# Copyright (C) 2012,2013 # Max Planck Institute for Polymer Research # Copyright (C) 2008,2009,2010,2011 # Max-Planck-Institute for Polymer Research & Fraunhofer SCAI # # This file is part of ESPResSo++. # # ESPResSo++ is free software: you can redistribute it and/or modify # it under the terms of t...
Python
src/integrator/LangevinThermostat.py
capoe/espressopp.soap
gpl-3.0
1,956
56
codeparrot/github-code
c3ea0b8756375ee2f39fa21f50eda0bc7b3e07508bd269367da0b14f0b7221be
/******************************************************************************* * Copyright (c) 2014 Tombenpotter. * All rights reserved. * * This program and the accompanying materials are made available under the terms of the GNU Public License v3.0 * which accompanies this distribution, and is available at ht...
Java
src/main/java/tombenpotter/emt/common/util/ResearchAspects.java
TeamAmeriFrance/Electro-Magic-Tools
gpl-3.0
6,842
66
codeparrot/github-code
801ede0da9504c16a66caee825af60b344937597950447c108c912435f33c84b
#!/usr/bin/env python3 # -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*- # # Copyright (C) 2017 Canonical Ltd # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License version 3 as # published by the Free Software Foundation. # # This program ...
Python
tools/collect_ppa_autopkgtests_results.py
snapcore/snapcraft
gpl-3.0
2,694
96
codeparrot/github-code
dd421c597f452a47f6e38f182ea87e99310c3a350189ea61877be550b44e30fe
/* Copyright (C) 2013 Hong Jen Yee (PCMan) <pcman.tw@gmail.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later ve...
C++
src/file-manager/libfm-qt/filepropsdialog.cpp
MoonLightDE/MoonLightDE
gpl-3.0
15,744
440
codeparrot/github-code
891bfbbe67f205805d5f7c4e1e0cdec02b13d57972a1fe731dedf3aba8cba001
/************************************************************************ Extended WPF Toolkit Copyright (C) 2010-2012 Xceed Software Inc. This program is provided to you under the terms of the Microsoft Public License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license This program can ...
C#
Librairies/WPFToolkit.Extended/Core/Converters/ColorToSolidColorBrushConverter.cs
Emudofus/BehaviorIsManaged
gpl-3.0
2,650
71
codeparrot/github-code
f08345b909479c7aa4a7b045e77ee90bd036010a4a80f4d1263e8d37a6e7d321
package handling.handlers; import java.awt.Point; import client.MapleClient; import handling.PacketHandler; import handling.RecvPacketOpcode; import server.MaplePortal; import tools.data.LittleEndianAccessor; public class UseInnerPortalHandler { @PacketHandler(opcode = RecvPacketOpcode.USE_INNER_PORTAL) public st...
Java
src/handling/handlers/UseInnerPortalHandler.java
Maxcloud/Mushy
gpl-3.0
1,090
39
codeparrot/github-code
839fab10ec926ca0c25828e5e836e19fe71f3b9d244f715cf552f2bd0e2259a3
/* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef _VITELOTTE_BEZIER_PATH_ #define _VITELOTTE_BEZIER_PATH_ #include <cassert> #include <vector> #include <Eig...
C
unsupported/plugins_experimental/filter_multiscale_align/lib/Patate/Vitelotte/Core/bezierPath.h
cnr-isti-vclab/meshlab
gpl-3.0
5,051
199
codeparrot/github-code
b774542f1d70c520a88185012202f4bf86ac2f43a45fa03731364b7cf7be2b17
<!DOCTYPE html> <!-- Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.7 Version: 4.7.1 Author: KeenThemes Website: http://www.keenthemes.com/ Contact: support@keenthemes.com Follow: www.twitter.com/keenthemes Dribbble: www.dribbble.com/keenthemes Like: www.facebook.com/kee...
HTML
metronic_v4.7.1/theme_rtl/admin_5_rounded/page_user_login_3.html
FernandoUnix/AcessoRestrito
gpl-3.0
28,572
467
codeparrot/github-code
fbb7d1653f54dec016e8b0e8d1c8853213342422e3b2dc834ec7dd113cf7e11e
// This file is part of Hermes2D. // // Hermes2D 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. // // Hermes2D is distributed in th...
C++
hermes2d/src/mesh/curved.cpp
filipr/hermes
gpl-3.0
26,263
859
codeparrot/github-code
a84fc691823d7a3128791ca0540cd622285fc9f4fdce74c6a8359ee948da75d5
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. namespace Microsoft.Xna.Framework.Content.Pipeline.Graphics { /// <summary> /// Provides properties for managing a bone weight. ///...
C#
src/libs/MonoGame/MonoGame.Framework.Content.Pipeline/Graphics/BoneWeight.cs
Blucky87/Otiose2D
gpl-3.0
1,468
53
codeparrot/github-code
010b9be0d4cdc9583c07637a672ba36dd980e9a50ff9f86374c56dd77299d31b
<?php namespace TYPO3\Neos\Routing; /* * This file is part of the TYPO3.Neos package. * * (c) Contributors of the Neos Project - www.neos.io * * This package is Open Source Software. For the full copyright and license * information, please view the LICENSE file which was distributed with this * source code. */...
PHP
TYPO3.Neos/Classes/TYPO3/Neos/Routing/BackendModuleArgumentsRoutePartHandler.php
dimaip/neos-development-collection
gpl-3.0
2,168
62
codeparrot/github-code
2c622603fff1178ddc2ab3ac9a2f8436859252de43aabae9a40e292cc2c8e252
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd. \\/ M anipulation | ---------------...
C++
src/meshTools/meshSearch/meshSearch.C
OpenCFD/OpenFOAM-1.7.x
gpl-3.0
22,990
958
codeparrot/github-code
a3aaea7c6612a1bd39741f46057c05d9d5357af79a3cd71d41969c076be46c51
#include "simulation/Elements.h" //#TPT-Directive ElementClass Element_FRZZ PT_FRZZ 100 Element_FRZZ::Element_FRZZ() { Identifier = "DEFAULT_PT_FRZZ"; Name = "FRZZ"; Colour = PIXPACK(0xC0E0FF); MenuVisible = 1; MenuSection = SC_POWDERS; Enabled = 1; Advection = 0.7f; AirDrag = 0.01f...
C++
src/simulation/elements/FRZZ.cpp
jacksonmj/Powder-Toy-Mods
gpl-3.0
1,712
76
codeparrot/github-code
2a80e15d11fa7fbc2def3fd9f266c149aaa0a12554d90f3867963d690c9a330a
package net.minecraft.inventory; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.Item; import n...
Java
eclipse/cauldron/src/main/java/net/minecraft/inventory/ContainerPlayer.java
Scrik/Cauldron-1
gpl-3.0
7,916
231
codeparrot/github-code
41b6e51b7030f7c00a41ebd59a6e1e0eec6e9c95360f9bc8dfdbfb8ee7446116
/* * The copyright in this software is being made available under the 2-clauses * BSD License, included below. This software may be subject to other third * party and contributor rights, including patent rights, and no such rights * are granted under this license. * * Copyright (c) 2005, Herve Drolon, FreeImage T...
C
src/ThirdParty/OpenJPEG/openjpeg-2.4.0/src/lib/openmj2/image.c
AlienCowEatCake/ImageViewer
gpl-3.0
3,859
100
codeparrot/github-code
e43e6a9f77a40e0d46cf556085b5c9c600a4904b8fce511496c117da66f6a7c2
#include "spammer.h" SpammerType Settings::Spammer::type = SpammerType::SPAMMER_NONE; bool Settings::Spammer::say_team = false; bool Settings::Spammer::KillSpammer::enabled = false; bool Settings::Spammer::KillSpammer::sayTeam = false; std::vector<std::string> Settings::Spammer::KillSpammer::messages = { "$nick owne...
C++
src/Hacks/spammer.cpp
sneakyevilSK/sneakyevil.win
gpl-3.0
6,876
216
codeparrot/github-code
a6782fac0478b26ae239c292b6840303da15f9c9b15994b7905c62f2cacf335d
/* * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com> * * This file is part of CasparCG (www.casparcg.com). * * CasparCG 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 Lic...
C
modules/ffmpeg/ffmpeg_error.h
mimiyang/Server
gpl-3.0
3,300
90
codeparrot/github-code
e0fa17460bd16dd685013ee8a7c5c94c56c38323ef60192ebd94bc81b782345b
# # Makefile Makefile for the systemV init suite. # Targets: all compiles everything # install installs the binaries (not the scripts) # clean cleans up object files # clobber really cleans up # # Version: @(#)Makefile 2.85-13 23-Mar-2004 miquels@cistron.nl # C...
Makefile
sysvinit/.pc/40_multiarch_libcrypt.patch/src/Makefile
KubaKaszycki/kubux
gpl-3.0
4,367
185
codeparrot/github-code
9e2922036f47d3c409e016d85c92cb44cb2ffea3c53b65d6b3c8feac16bd52ef
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include <vgui/IBorder.h> #include <vgui/IInputInternal.h> #include <vgui/IPanel.h> #include <vgui/IScheme.h> #...
C++
goldsrc/vgui2/controls/PropertySheet.cpp
projectogs/OpenGoldSrc
gpl-3.0
37,352
1,491
codeparrot/github-code
2864784654e953da7c2e62a74d247520576098c75232cd6ecf6907417aad71b1
import gtk class ExtensionFeatures: SYSTEM_WIDE = 0 class MountManagerExtension: """Base class for mount manager extensions. Mount manager has only one instance and is created on program startup. Methods defined in this class are called automatically by the mount manager so you need to implement them. ""...
Python
application/plugin_base/mount_manager_extension.py
Azulinho/sunflower-file-manager-with-tmsu-tagging-support
gpl-3.0
1,433
62
codeparrot/github-code
aaa73a1690b6e531e0a14501c593feb0090f0c1dae401353cc661b8965f2d0e5
package cn.nukkit.math; /** * author: MagicDroidX * Nukkit Project */ public class Vector3 implements Cloneable { public double x; public double y; public double z; public Vector3() { this(0, 0, 0); } public Vector3(double x) { this(x, 0, 0); } public Vector3(doub...
Java
src/main/java/cn/nukkit/math/Vector3.java
JupiterDevelopmentTeam/JupiterDevelopmentTeam
gpl-3.0
9,009
357
codeparrot/github-code
0f3ed32edec2e659bc2ad84060d9ef1f98500205f1fd3233e60323947c2f9a9a
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2020 - Raw Material Software Limited JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of...
C++
JuceLibraryCode/modules/juce_gui_basics/filebrowser/juce_FileTreeComponent.cpp
danielrothmann/Roth-AIR
gpl-3.0
9,810
332
codeparrot/github-code
46447f4126313346326813f2318356d8f52dccab8b604cf3b59de7d850f226d8
// // StyleDressApp.h // DressApp // // Created by Javier Sanchez Sierra on 12/24/11. // Copyright (c) 2011 Javier Sanchez Sierra. All rights reserved. // // This file is part of DressApp. // DressApp is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as...
C
DressApp/DressApp/StyleDressApp.h
domix/DressApp
gpl-3.0
6,669
222
codeparrot/github-code
e42e07089e6252d963b8c868987bf55cceeae2af63fe8d92aa7a5a149083a45c
/***************************************************************************** * Copyright (c) 2014-2019 OpenRCT2 developers * * For a complete list of all authors, please refer to contributors.md * Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2 * * OpenRCT2 is licensed under the GNU Gener...
C++
src/openrct2/world/TileElement.cpp
IntelOrca/OpenRCT2
gpl-3.0
6,843
247
codeparrot/github-code
009222a235fcb2e1fb1853e20d4cf9a7b5d23537c53ee78c5ba02484eb185e6f
/* FreeRTOS V7.3.0 - Copyright (C) 2012 Real Time Engineers Ltd. FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. *************************************************************************** * ...
C
software/freertos/freertos/Source/portable/MPLAB/PIC32MX/port.c
ilikecake/Rocket-controller
gpl-3.0
10,779
256
codeparrot/github-code
2be66f2d2289c3c76662fc2a5b29c996688c8752750f51929888a11a20271bbb
/* * PktGen by Steffen Schulz © 2009 * * Braindead TCP server that waits for a packet and then * - replies with stream of packets * - with inter-packet delays read as integers from stdin * * Disables Nagle Algo to prevent buffering in local network stack * */ #include <stdio.h> #include <stdlib.h> #include <...
C
code/perfect-hiding-cc/tcpgen.c
chandanmogal/ipsec-tfc
gpl-3.0
2,148
101
codeparrot/github-code
67cc30fbf1b3878e18bce967b259b526f797cec6e767ae3de1e2b43fcc7030d1
----------------------------------- -- Area: Sauromugue Champaign (S) (98) -- Mob: Goblin_Flagman ----------------------------------- -- require("scripts/zones/Sauromugue_Champaign_[S]/MobIDs"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob...
Lua
scripts/zones/Sauromugue_Champaign_[S]/mobs/Goblin_Flagman.lua
Fatalerror66/ffxi-a
gpl-3.0
830
43
codeparrot/github-code
ce4e888095c0c86dd00b0b638bfa94d39c655851c099708196148a88f62ac689
/* Copyright 2013-2015 Skytechnology sp. z o.o. This file is part of LizardFS. LizardFS 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 3. LizardFS is distributed in the hope that it w...
C++
src/common/chunk_read_planner_unittest.cc
lizardfs/lizardfs
gpl-3.0
4,029
118
codeparrot/github-code
fb46ae23d544f1aa559e7d4d3c126cab80508d032f0a980063cb76b24bfc018c
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
PHP
lib/editor/tinymce/plugins/tiny_mce_wiris/lib.php
nitro2010/moodle
gpl-3.0
2,050
50
codeparrot/github-code
d020ef57b5ab004d8b17fe86bf94fe937d82a3934f07a429cce63ff866a6c115
<?php /** * * ThinkUp/webapp/_lib/model/class.UserMySQLDAO.php * * Copyright (c) 2009-2013 Gina Trapani * * LICENSE: * * This file is part of ThinkUp (http://thinkup.com). * * ThinkUp is free software: you can redistribute it and/or modify it under the terms of the GNU General Public * License as published b...
PHP
webapp/_lib/dao/class.UserMySQLDAO.php
agilee/ThinkUp
gpl-3.0
7,596
182
codeparrot/github-code
33711f8922c494568178e774b923a258983a0eeb2d0e11478af04d0f839b76c2
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package VerilogCompiler.SyntacticTree; import VerilogCompiler.SemanticCheck.ErrorHandler; import VerilogCompiler.SemanticCheck.ExpressionType; import VerilogCompiler.SyntacticTree.Expressions.Expression; /** * * @aut...
Java
src/VerilogCompiler/SyntacticTree/Range.java
CastellarFrank/ArchSim
gpl-3.0
1,721
64
codeparrot/github-code
facea338223f74272363d168b471a42fc83094d07f0446105adef10dadc1f931
import random from google.appengine.api import memcache from google.appengine.ext import ndb SHARD_KEY_TEMPLATE = 'shard-{}-{:d}' class GeneralCounterShardConfig(ndb.Model): num_shards = ndb.IntegerProperty(default=20) @classmethod def all_keys(cls, name): config = cls.get_or_insert(name) ...
Python
experimental/shardcounter_sync.py
VirtuosoChris/appengine
gpl-3.0
2,052
70
codeparrot/github-code