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
dd578cacfe3ed629a77a94a5a1a2b69d9318eaf288c93fe8d2f10fc55b84d56d
export class HttpClient { private static defaultHeaders: { [key: string]: string } = { "Accept": "application/json" }; private setRequestHeaders(httpRequest: XMLHttpRequest, headers: { [key: string]: string } = {}) { const h = { ...HttpClient.defaultHeaders, ...headers }; for (const name in h) { i...
TypeScript
src/main/media/ts/_http/client.ts
ThULB/dbt
gpl-3.0
1,345
46
codeparrot/github-code
df15345b3e52ebdd7646ebbbd64574146a62a52a885ffd675b38dda43d4484fb
<?php /** * Base Routing Class * * This class represents a type of base controller class with default REST and Controller functions. */ abstract class Route { //! callback $beforeRenderCallback This callback will get called before render process in afterRoute function protected $beforeRende...
PHP
src/server_stream/core/class/route.php
Kagurame/osb
gpl-3.0
3,601
124
codeparrot/github-code
6c7321767e0dcf8b499f093e7c747286c9704c4d5b2b3adf9270aaf370d245b4
# Eve W-Space # Copyright (C) 2013 Andrew Austin and other contributors # # 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...
Python
evewspace/Map/views.py
viarr/eve-wspace
gpl-3.0
43,116
1,223
codeparrot/github-code
ca6390add9819a087fce29d2c70adcf6f1298587d0de8355c1bc0385f402b13d
<?php function check_htaccess_files($files) { global $config; $files_qty = count($files); foreach($files as $file_idx => $filename) { echo (($file_idx + 1)." / ". $files_qty ." ".$filename."\n"); $file_contents_string = file_get_contents($filename); if (!check_hash($file_contents_string, $filename)) { ...
PHP
includes/functions_htaccess.php
gohdan/DFC
gpl-3.0
1,048
43
codeparrot/github-code
a4f041e1e2e599c8bb4f5e9fe6be66b36d668dc864a370f919d3c82ac12606d0
<?php /** * This class holds only some of the application related functions, * particularly the ones that are easier to code when addressed with an * application ID. */ class ApplicationsController extends AppController { /** * Determines whether users are authorized for actions * * @param array $user Contains ...
PHP
Controller/ApplicationsController.php
jahabrewer/plentyofsubs
gpl-3.0
3,178
97
codeparrot/github-code
4c9858210604b7259fdfe10041577e18eb8c15890de543124c205e55d763f727
<?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
admin/order_cancel.php
Cohaerentis/moodle_local_order
gpl-3.0
3,226
87
codeparrot/github-code
b84d1c788d0c43c64e473c37d1f20b3883b44b51cebf710c3ed79ff74ef4df6c
from datetime import datetime import uuid class Torrent(object): def __init__(self): self.tracker = None self.url = None self.title = None self.magnet = None self.seeders = None self.leechers = None self.size = None self.date = None self.detai...
Python
duvet/objects.py
stopstop/duvet
gpl-3.0
1,485
50
codeparrot/github-code
05ca2a87c595e8b676c7b1800d17fa6174860201c20b780e570efededfc09296
/* * Copyright (c) 2015 Brandon Lyon * * This file is part of Emerge Game Engine (Emerge) * * Emerge is free software: you can redistribute it and/or modify * it under the terms of version 3 of the GNU General Public License as * published by the Free Software Foundation. * * Emerge is distributed in the hope ...
Java
manager/src/main/java/net/etherous/emerge/manager/config/NativeNode.java
Etherous/Emerge
gpl-3.0
2,483
89
codeparrot/github-code
be409315b094fc7c7d7bf332e0ac4dad1ceb0ef3dcfb9aa2cd29030eae291526
/** * <b>项目名:</b><br/> * <b>包名:</b>com.readinglife.b2b.sys.controller<br/> * <b>文件名:</b>SysLoktpeController.java<br/> * <b>描述:</b>TODO<br/> * <b>版本信息:</b>v1.0.0<br/> * <b>Copyright (c)</b> 2013新经典文化有限公司-版权所有<br/> * */ package com.system.controller; import java.util.Map; import javax.servlet.http.HttpServletR...
Java
src/main/java/com/system/controller/SysLoktpeController.java
a254629486/mis-readinglife
gpl-3.0
2,871
99
codeparrot/github-code
e4be9a4391f251ee06c92656a3764cc4eb1278ae8c799ffa05c252b878525738
<?php /************************************************************************ * This file is part of EspoCRM. * * EspoCRM - Open Source CRM application. * Copyright (C) 2014-2022 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko * Website: https://www.espocrm.com * * EspoCRM is free software: you can redist...
PHP
application/Espo/Core/Log/DefaultHandlerLoader.php
espocrm/espocrm
gpl-3.0
4,220
142
codeparrot/github-code
bbbe53912533b293aa383f1393c82f8c1f8db96d2d0c47a856e9b3345c52d419
/* * @Author: zhouben * @Date: 2017-05-10 22:47:18 * @Last Modified by: zhouben * @Last Modified time: 2017-06-15 10:58:43 */ package tapdetect.facade; import org.opencv.core.Mat; import org.opencv.core.MatOfPoint; import org.opencv.core.Point; import org.opencv.core.Size; import org.opencv.imgproc.Imgproc; impo...
Java
tapdetect/src/main/java/tapdetect/facade/Tap.java
hgs1217/Paper-Melody
gpl-3.0
11,860
377
codeparrot/github-code
49186d559493b6a9fc1827dfa5450a4433947479dc6eb62e679def4ae663ae60
using System; using System.Runtime.InteropServices; namespace ManagedXZ { internal enum lzma_ret { LZMA_OK = 0, LZMA_STREAM_END = 1, LZMA_NO_CHECK = 2, LZMA_UNSUPPORTED_CHECK = 3, LZMA_GET_CHECK = 4, LZMA_MEM_ERROR = 5, LZMA_MEMLIMIT_ERROR = ...
C#
src/ManagedXZ/Types.cs
goldenbull/ManagedXZ
gpl-3.0
2,503
90
codeparrot/github-code
492bae92e7741bc49077bb4273a2a9c630c5ee09748bd4b585f4b05d141987ff
/* * This file is part of Applied Energistics 2. * Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved. * * Applied Energistics 2 is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either ver...
Java
src/main/java/appeng/container/slot/SlotFakeBlacklist.java
itachi1706/Applied-Energistics-2
gpl-3.0
1,363
55
codeparrot/github-code
1119bd73ad08398eb571778ed58c83de210ec2dade6676f304ba2aa9f4acd3d3
using System; using System.Linq; using Nop.Core; using Nop.Core.Data; using Nop.Core.Domain.Customers; using Nop.Core.Domain.Messages; using Nop.Data; using Nop.Services.Customers; using Nop.Services.Events; namespace Nop.Services.Messages { /// <summary> /// Newsletter subscription service /// </summary> ...
C#
Libraries/Nop.Services/Messages/NewsLetterSubscriptionService.cs
843366285/NopCommerceExtend
gpl-3.0
14,147
308
codeparrot/github-code
649d1c6ae0f095f44cf711727b41067bd2ca548424256fe8ef1303bd36cb49e5
/* * * Copyright (c) 2011-2016 The University of Waikato, Hamilton, New Zealand. * All rights reserved. * * This file is part of libprotoident. * * This code has been developed by the University of Waikato WAND * research group. For further information please see http://www.wand.net.nz/ * * libprotoident is f...
C++
lib/tcp/lpi_runescape.cc
elnappo/libprotoident
gpl-3.0
2,868
113
codeparrot/github-code
721f8be67d439c9fd07568c787aada8aeb89e5828b4f7c285d3ac17dc38b6711
<?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. // //...
PHP
mod/book/tool/importhtml/locallib.php
ouyangyu/fdmoodle
gpl-3.0
14,279
353
codeparrot/github-code
5e0711af409d21af1c26059504c7d6b7eafaffd4c23893ac19e37d9671151d2a
#include "common_header.h" namespace { using ArrayType = std::vector<std::string>; using DictType = std::unordered_set<std::string_view>; /** Word Break Problem * * @reference Word Break Problem | DP-32 * https://www.geeksforgeeks.org/word-break-problem-dp-32/ * * Given an input string and a dic...
C++
dynamic_programming/word_break.cpp
yyang-even/algorithms
gpl-3.0
5,362
155
codeparrot/github-code
161c62bab3fc8344a46f979a54da52f0974d09617e46675f50ad50e2e7479080
//======================================================================= // Author: Donovan Parks // // Copyright 2009 Donovan Parks // // This file is part of Chameleon. // // Chameleon is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // t...
C++
Src/VisualBranch.cpp
dparks1134/Chameleon
gpl-3.0
9,871
360
codeparrot/github-code
551a23d44cb6beb81fe0f8b6d96e733462f71dfea0ca41b0909e8fbcbfe0eb3e
/* Copyright (C) 2009 AI */ /* Copyright (C) 2011-2012 Yury P. Fedorchenko (yuryfdr at users.sf.net) */ /* * 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 Foundation; either version 2.1 of the Licen...
C++
src/qspsound.cpp
yuryfdr/pbqsp
gpl-3.0
6,448
212
codeparrot/github-code
762c0585ae4444ceeac9bb68286c019cca2df4d0713c9f2bbc0360f0d4d6cc98
/* Copyright 2017 Andrew Dawson * * This file is a part of Tusky. * * 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. ...
Java
app/src/main/java/com/keylesspalace/tusky/util/CountUpDownLatch.java
Vavassor/Tusky
gpl-3.0
1,481
48
codeparrot/github-code
318503afe5e3c0aa764ebcbd857c5316aafb08651a525ee871cc4ab91e151e6e
/*************************************************************************** * Copyright (C) 2009 - 2010 by Simon Qian <SimonQian@SimonQian.com> * * * * This program is free software; you can redistribute it and/or modify * * it ...
C
vsf/hal/cpu/nuc505/uart/NUC505_USART.c
versaloon/vsf
gpl-3.0
11,725
439
codeparrot/github-code
d9384481166bf87469c2c6f9d54db2b2f516e1f2e568f0cf9e8410744d47fb17
''' Nibblegen: A script to convert LaTex text to html usable in Nibbleblog Forked from the latex2wp project (the licenceing for which is below). Copyright (C) 2014 Theodore Jones This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publis...
Python
nibblegen/nibblegen.py
theoj2/Nibbletex
gpl-3.0
19,283
716
codeparrot/github-code
31f7db8b3208a47e2d42002ef3c26750f64d71fbe4701b31793530cfbbf62c4e
/* * aboutdialog.cpp * * Created on: 26.07.2010 * Author: Mike Shatohin (brunql) * Project: Lightpack * * Lightpack is very simple implementation of the backlight for a laptop * * Copyright (c) 2010, 2011 Mike Shatohin, mikeshatohin [at] gmail.com * * Lightpack is free software: you can redistr...
C++
Software/src/aboutdialog.cpp
digitaltoys/pepsi2-light-pack
gpl-3.0
2,730
118
codeparrot/github-code
1c6104d739f6170876aaa399401fb51c49b01721aa77e37798075cdc26b7125c
package com.sk89q.craftbook.circuits.gates.world.blocks; import org.bukkit.Server; import com.sk89q.craftbook.ChangedSign; import com.sk89q.craftbook.circuits.ic.ChipState; import com.sk89q.craftbook.circuits.ic.IC; import com.sk89q.craftbook.circuits.ic.ICFactory; import com.sk89q.craftbook.circuits.ic.SelfT...
Java
src/main/java/com/sk89q/craftbook/circuits/gates/world/blocks/CombineHarvesterST.java
wizjany/craftbook
gpl-3.0
1,257
55
codeparrot/github-code
14a7a9311f56793048cdd6652f548f474117ee027805476693d1e8069bf84027
--[[ Copyright (c) 2010 MTA: Paradise 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 hope ...
Lua
resources/admin/advert.lua
mabako/mta-paradise
gpl-3.0
1,242
43
codeparrot/github-code
af9e8195643a3301a0126c0df6d670d83ca033d80a8d75fae979e80968266af4
# -*- coding: UTF-8 -*- import sys WorkList = None def SH(i): """reformatting .SH""" global WorkList string = WorkList[i] l = len(string) - 2 r = 0 while string[0] == '=' and string[l] == '=': WorkList[i] = string[1:l] string = WorkList[i] l = len(string) - 1 r...
Python
ctr-common/plugins/4e7420cd-904e-4c2a-b08f-02c867ba4cd8/wiki2man.py
franck-talbart/codelet_tuning_infrastructure
gpl-3.0
27,362
635
codeparrot/github-code
6b51f84585c2df64f82890a76f3596ad1235dafbd580c7ef6d055364971a5fa7
/** * Copyright 2019 Google LLC * * 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 is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY...
JavaScript
src/piano/Keyboard.js
googlecreativelab/creatability-seeing-music
gpl-3.0
2,031
78
codeparrot/github-code
5bd511c9d7ac103f863960103ae12b88036813bb8c1cb86abc011ffa394a732f
#ifndef GAMEMENU_H #define GAMEMENU_H #include <OGRE/OgreSingleton.h> #include "OGRE/OgreStringVector.h" using namespace Ogre; namespace Ogre { class OverlayManager; class Overlay; class OverlyContainer; class OverlayElement; class TextAreaOverlayElement; } class GameMenu : public Ogre::Singleto...
C
src/Menu/gamemenu.h
ChadMcKinney/Entropy
gpl-3.0
2,238
88
codeparrot/github-code
6d970a738ca40ca365b66bec7de0c082ba643358f050da5501b95e00506de57e
//Copyright (c) 2011 Municipalidad de Rosario and Coop. de Trabajo Tecso Ltda. //This file is part of SIAT. SIAT is licensed under the terms //of the GNU General Public License, version 3. //See terms in COPYING file or <http://www.gnu.org/licenses/gpl.txt> package ar.gov.rosario.siat.cyq.iface.service; import ar.go...
Java
siat-1.0-SOURCE/src/iface/src/ar/gov/rosario/siat/cyq/iface/service/ICyqDefinicionService.java
avdata99/SIAT
gpl-3.0
3,540
55
codeparrot/github-code
14dcec07ab0a15c9b14b6dc441d4aaed372d1ccbbe864ed972f7e5fd1fc94a8d
#!/usr/bin/env python2 # -*- coding: utf-8 -*- # # Copyright 2012 Unknown <diogo@arch> # # 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...
Python
trifusion/ortho/OrthomclToolbox.py
ODiogoSilva/TriFusion
gpl-3.0
64,833
1,773
codeparrot/github-code
8964436fd1baaddec2ef2192625bf84535f9321965cb34967fe1d5992bce76e0
/* * Copyright (C) 2020 Graylog, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; withou...
TypeScript
graylog2-web-interface/src/logic/users/UserOverview.ts
Graylog2/graylog2-server
gpl-3.0
9,792
406
codeparrot/github-code
d6d9273dbfc0b124a61e5d5e8f819d2fced9716120aa92d191d458429726f3c7
// SuperTux - A Jump'n Run // Copyright (C) 2004 Ingo Ruhnke <grumbel@gmail.com> // Copyright (C) 2006 Christoph Sommer <christoph.sommer@2006.expires.deltadevelopment.de> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as publishe...
C++
src/worldmap/worldmap.cpp
Karkus476/supertux
gpl-3.0
33,592
1,173
codeparrot/github-code
ffb809a439a5db2ff9db86e1425b2ad5cf169a8537e81c1999932ea7858f2850
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE TypeSynonymInstances #-} {-# LANGUAGE EmptyDataDecls #-} {-# LANGUAGE DeriveDataTypeable #-} ---------------------------------------------------------------------------------- -- | -- Module : Tct.Method.Bounds.Automata -- Copyrigh...
Haskell
source/Tct/Method/Bounds/Automata.hs
mzini/TcT
gpl-3.0
9,573
252
codeparrot/github-code
b201898a91cc884306282c5ac8d85d52e39f695cf0f1105329111c67e9b4aaff
using System; using System.Collections.Generic; using System.Linq; using System.Text; using LiteDevelop.Debugger.Net.Interop.Com; using LiteDevelop.Framework.Debugging; using LiteDevelop.Framework.FileSystem.Projects; namespace LiteDevelop.Debugger.Net.Interop.Wrappers { public class RuntimeAppDomain : DebuggerSe...
C#
Extensions/Debuggers/LiteDevelop.Debugger.Net/Interop/Wrappers/RuntimeAppDomain.cs
JerreS/LiteDevelop
gpl-3.0
8,633
281
codeparrot/github-code
ba953a60132de3004f5219908eab8e2750b072533976e7294eb5604b711b5994
/** Copyright (C) 2014 by Krishna C Tripathi, Johns Creek, GA All rights reserved. This file is part of DHCPv6 Library. DHCPv6 Library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, v...
Java
src/java/other/org/himalay/dhcpv6/Authentication.java
krishnact/dhcpv6lib
gpl-3.0
6,957
306
codeparrot/github-code
a25c65cc815b5c9e9b744878dc7daec1882422d4944edc00455b1199347a2872
/* Constants and Copyright (C) 1997-2015 Marco Pedicini This file is part of PELCR. PELCR 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 ...
C
h/var.h
pis147879/PELCR
gpl-3.0
4,730
178
codeparrot/github-code
574d594b484124ca80e65f7dfe2311a2de16ac74e012603dbef72ec0d17b8c2f
/* * Java AniDB API - A Java API for AniDB.net * (c) Copyright 2009 grizzlyxp * http://anidb.net/perl-bin/animedb.pl?show=userpage&uid=63935 * * 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 Foundat...
Java
src/net/anidb/AnimeCharacterType.java
derBeukatt/AniDBTool
gpl-3.0
2,592
93
codeparrot/github-code
2dbac47d3b4d775e3193a8be3203fe9dda4afc3535732e782cd89467aa6b816c
from logger import * # Easy Demo """ log_functions = [('no_negative_ret', 'no_negatives_log')] log_function_args = [] def query(): def sqrt_filter(x): return x[0] < 0 get_log('no_negatives_log').filter(sqrt_filter).print_log() """ # Intermediate Demo """ log_functions = [('add', 'add_log')] lo...
Python
src/spec.py
BluBambu/LumberjackLogger
gpl-3.0
1,357
68
codeparrot/github-code
8040414473fefdae2b57be3ee4e76ecf67a07c4051c67f585d08ebcc84c98708
/* * Forge Mod Loader * Copyright (c) 2012-2013 cpw. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available at * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * ...
Java
lib/1.7.10-10.13.4.1448-1.7.10/unpacked/src/main/java/cpw/mods/fml/common/asm/FMLSanityChecker.java
SchrodingersSpy/TRHS_Club_Mod_2016
gpl-3.0
8,129
186
codeparrot/github-code
5a6aecf7d638b61b745fdeb269a63984056c40bc31b2649aef051940654e9a72
<?php /** * RFC-compliant TCP transport for EPP. * @name GenericEPPTransport * @category EPP-DRS * @package Modules * @subpackage RegistryModules * @sdk-doconly * @author Marat Komarov <http://webta.net/company.html> * @author Igor Savchenko <http://webta.net/company.html> */ abs...
PHP
app/modules/registries/class.GenericEPPTransport.php
DicsyDel/epp-drs
gpl-3.0
10,376
380
codeparrot/github-code
3a00ca23afad5102c43de8f7810c08a608b135ed35c6a499da588c8111eb438f
/******************************************************************************* * Copyright 2008(c) The OBiBa Consortium. All rights reserved. * * This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0. * * You should have received a copy of the GNU Genera...
Java
opal-gwt-client/src/main/java/org/obiba/opal/web/gwt/app/client/magma/view/ContinuousSummaryView.java
apruden/opal
gpl-3.0
5,661
135
codeparrot/github-code
956ea1d29a30094428023e5792f0edc653f915bf8e56a4b156639e2e510d071e
<?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. // ...
PHP
mod/url/lib.php
ouyangyu/fdmoodle
gpl-3.0
11,731
367
codeparrot/github-code
bdf8688de993e477eab54040e5e58944f2daa41759c28882049cf6e6d63eebd4
#!/usr/bin/env python3 # vim: set encoding=utf-8 tabstop=4 softtabstop=4 shiftwidth=4 expandtab ######################################################################### # Parts Copyright 2016 C. Strassburg (lib.utils) c.strassburg@gmx.de # Copyright 2017- Serge Wagener serge@wagener.family ##...
Python
network.py
Foxi352/netlib
gpl-3.0
39,974
997
codeparrot/github-code
0af9593d7465362d804f7a449140fcdaf833e2c88f4e5dad7a6d9abcb1cf3c0c
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>org.apache.poi.poifs.crypt.temp (POI API Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> </head> <bo...
HTML
resources/Apache/Apache-POI-3.16-beta2/poi-bin-3.16-beta2-20170202/poi-3.16-beta2/docs/apidocs/org/apache/poi/poifs/crypt/temp/package-summary.html
doughtnerd/POD
gpl-3.0
5,977
153
codeparrot/github-code
7cce0e1af755d4aecb7379be68b8deab20444836b5ae12678580f629f4854b01
# -*- coding: utf-8 -*- # This file is part of Dyko # Copyright © 2008-2010 Kozea # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any lat...
Python
kalamar/site.py
Kozea/Dyko
gpl-3.0
6,798
167
codeparrot/github-code
02e8feaf998121fb8d37ed64e89ac0d675b6bf62d0310a98a5ea7bdea487af54
/* Ethereal is a UCI chess playing engine authored by Andrew Grant. <https://github.com/AndyGrant/Ethereal> <andrew@grantnet.us> Ethereal 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 versi...
C
src/board.c
AndyGrant/Ethereal
gpl-3.0
11,215
356
codeparrot/github-code
d377f2e72c2227d97f87e5b2bc9bea2c4ac9976db221e945be64b3fe1e120afe
/* $Id: CoinPackedMatrix.hpp 2083 2019-01-06 19:38:09Z unxusr $ */ // Copyright (C) 2000, International Business Machines // Corporation and others. All Rights Reserved. // This code is licensed under the terms of the Eclipse Public License (EPL). #ifndef CoinPackedMatrix_H #define CoinPackedMatrix_H #include "CoinE...
C++
src/Clp-1.17.3/CoinUtils/src/CoinPackedMatrix.hpp
FlyingOE/simplex.q
gpl-3.0
38,648
957
codeparrot/github-code
d132890c5541bfa2dfa60e793cf2d9526978ee83d50e5330d38a767fbd0aabfb
/* * Pixel Dungeon: Rebalanced * Copyright (C) 2012-2015 Oleg Dolya * Copyright (C) 2015 Peter Cassetta * * 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, ...
Java
java/com/petercassetta/pdrebalanced/effects/particles/EnergyParticle.java
PeterCassetta/pixel-dungeon-rebalanced
gpl-3.0
1,899
66
codeparrot/github-code
e3033c57f82b567350b307139df0267beb9d46bb3d0a4969967f5e3d97a214f0
using System; using System.Collections.Generic; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace FETextEditor { public partial class IntegerRequester : Form { public int Value { get; private set; ...
C#
Dependencies/Hacking/GBA/FETextEditor/IntegerRequester.cs
diegoisawesome/AME
gpl-3.0
698
36
codeparrot/github-code
0ecd521bf8ed6a734099859c262b93d1162dde51d77bb703b7c3417339dfd76b
#region Copyright & License Information /* * Copyright 2015- OpenRA.Mods.AS Developers (see AUTHORS) * This file is a part of a third-party plugin for OpenRA, which is * free software. It is made available to you under the terms of the * GNU General Public License as published by the Free Software * Foundation. Fo...
C#
Lint/CheckTargetHealthRadiusAS.cs
GraionDilach/OpenRA.Mods.AS
gpl-3.0
1,544
52
codeparrot/github-code
d06e9973afa1e5b2fb45c83b5f415a2c58b4681a54a41aa8c0abb9bd1f8071a1
using OWDARO.BLL.MediaBLL; using OWDARO.Settings; using OWDARO.Util; using System; using System.Threading.Tasks; using System.Web.UI; namespace OWDARO.UI.UserControls.Components.Others { public partial class ContactUsDetailsComponent : System.Web.UI.UserControl { protected void Page_Load(object sender...
C#
UI/UserControls/Components/Others/ContactUsDetailsComponent.ascx.cs
owdaro/OFrameCMS-WebForms
gpl-3.0
1,157
39
codeparrot/github-code
b6032a81306dcb1de24c0525fbe454e5799e35389c890728bf86a3b8bba2fc0b
/* * Copyright (c) 2017 OBiBa. All rights reserved. * * This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. *...
Java
mica-core/src/main/java/org/obiba/mica/file/NoSuchTempFileException.java
Rima-B/mica2
gpl-3.0
791
33
codeparrot/github-code
0f39db6a5cfdeb75ab67d9443bf15d2659c29079581ccd206af31a35e30975ac
/* * MindmapsDB - A Distributed Semantic Database * Copyright (C) 2016 Mindmaps Research Ltd * * MindmapsDB 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
mindmaps-graql/src/main/java/io/mindmaps/graql/internal/query/aggregate/MaxAggregate.java
duckofyork/mindmapsdb
gpl-3.0
1,527
50
codeparrot/github-code
2ecc749638fa4b94c4c15935a428b07639a9177a35d311d3016ec4aa76610e32
/* * MegaMek - Copyright (C) 2000-2002 Ben Mazur (bmazur@sev.org) * Copyright © 2013 Edward Cullen (eddy@obsessedcomputers.co.uk) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; eithe...
Java
megamek/src/megamek/client/ui/swing/MechTileset.java
chvink/kilomek
gpl-3.0
22,213
510
codeparrot/github-code
21f7354428568abe12ecb0f2784d80b8cf5bd5e51428f1e768f2e750de9ffd53
using UnityEngine; /// <summary> /// Be aware this will not prevent a non singleton constructor /// such as `T myT = new T();` /// To prevent that, add `protected T () {}` to your singleton class. /// /// As a note, this is made as MonoBehaviour because we need Coroutines. /// </summary> public abstract class Sing...
C#
Assets/Scripts/Singletone.cs
randomize/hackagame
gpl-3.0
3,440
98
codeparrot/github-code
f89a9581f794e9324040e263eb6ee9cff048c30d23cbc3c0fe549883fafdc911
package com.hartwig.hmftools.amber; import static org.junit.Assert.assertEquals; import com.hartwig.hmftools.common.amber.BaseDepth; import com.hartwig.hmftools.common.amber.ModifiableBaseDepth; import com.hartwig.hmftools.common.amber.ModifiableTumorBAF; import com.hartwig.hmftools.common.samtools.SamRecordUtils; i...
Java
amber/src/test/java/com/hartwig/hmftools/amber/TumorBAFFactoryTest.java
hartwigmedical/hmftools
gpl-3.0
2,232
64
codeparrot/github-code
bd822286f54cc7da1b465ef81a1f3bae411626789aa74e99a04a22dd96c0ca0e
/* * MJPEG decoder * Copyright (c) 2000, 2001 Fabrice Bellard * Copyright (c) 2003 Alex Beregszaszi * Copyright (c) 2003-2004 Michael Niedermayer * * Support for external huffman table, various fixes (AVID workaround), * aspecting, new decode_frame mechanism and apple mjpeg-b support * ...
C
oss-survey/ffmpeg/libavcodec/mjpegdec.c
DMCsys/smartalkaudio
gpl-3.0
55,693
1,629
codeparrot/github-code
3d3c847ce9de6d4d97be30e4d67e184cecdf0d991f79a17eae5ba20153501ccc
var chrDesktopNotificationsView = new function () { 'use strict'; var that = this; this.ID = 'chrDesktopNotificationsView'; this.ns = {}; this.showChrRichNotificationProgress = function (title, body, sourceUrl, noturl, iconUrl) { try { var opt = { type: 'progre...
JavaScript
src/js/chrDesktopNotificationsView.js
alepolidori/chrome-discourse-notifications
gpl-3.0
2,997
97
codeparrot/github-code
d7dda97f5054ef6982d138509eb3344cb94f1845b13a9390579e77829d9faf21
#!/usr/bin/env python from os import path from collections import defaultdict import math root = path.dirname(path.dirname(path.dirname(__file__))) result_dir = path.join(root, 'results') def get_file_name(test): test = '%s_result' % test return path.join(result_dir, test) def mean(l): return float(sum(l...
Python
script/analysis/analysis.py
sheimi/os-benchmark
gpl-3.0
3,736
121
codeparrot/github-code
d38af51562d6a7f11f9c320c5c3764fd6f0ad2bc0b98f0216b48d1cbd0a33c64
# This file is part of pylabels, a Python library to create PDFs for printing # labels. # Copyright (C) 2012, 2013, 2014, 2015 Blair Bonnett # # pylabels 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 ...
Python
labels/specifications.py
bcbnz/pylabels
gpl-3.0
17,105
395
codeparrot/github-code
00ad1281650367a416c1cac82e17a07d424b246384fdcc1e6f186bdb378b07ad
import java.io.Serializable; class Card implements Serializable { public enum CardName {ACE,TWO,THREE,FOUR,FIVE,SIX,SEVEN,EIGHT,NINE,TEN,JACK,QUEEN,KING} public enum CardSuite {HEART,DIAMOND,SPADE,CLUB} public enum CardColor {RED,BLACK} private final CardName name; private final CardSuite suite; priv...
Java
Card.java
timgcavell/blackjack
gpl-3.0
1,190
56
codeparrot/github-code
115fd8753f195aade4b4ae2b0b9c2f63ae69a6716f6cbe6e331179fd4f516a4b
/* ** Taiga ** Copyright (C) 2010-2017, Eren Okka ** ** 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 pr...
C++
src/base/timer.cpp
wenbei999/taiga
gpl-3.0
2,635
131
codeparrot/github-code
e5e2569355cb700a36f6bf36d41e66b5c6469b75eba492387ee2ce11f9e617de
<?php namespace PanelAdmin\Controllers; use Components\BaseController as BaseController; class ThemesController extends BaseController { public function __construct($app, $user) { parent::__construct($app, $user); } public function register($app) { $app->map(['GET'], '/view', [$...
PHP
protected/modules/panel-admin/controllers/themes_controller.php
mrsvette/slight
gpl-3.0
3,285
104
codeparrot/github-code
5ebe05b328255625d29eeefecab6ae7c94e996639b0ba9092f8cecc5cb16af02
// Copyright 2016 Martin Fracker, Jr. // All Rights Reserved. // // This project is free software, released under the terms // of the GNU General Public License v3. Please see the // file LICENSE in the root directory or visit // www.gnu.org/licenses/gpl-3.0.en.html for license terms. #pragma once #include "de...
C++
entity/a2Object.hh
Towerism/csce441-a2
gpl-3.0
1,277
46
codeparrot/github-code
88e2e409f67f9a1f5bca4f8ae0f385aecb52af85c233e7630fb097a85cbe6f18
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>CTPath2DCubicBezierTo (POI API Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> </head> <body> <scrip...
HTML
resources/Apache/Apache-POI-3.16-beta2/poi-bin-3.16-beta2-20170202/poi-3.16-beta2/docs/apidocs/org/apache/poi/sl/draw/binding/CTPath2DCubicBezierTo.html
doughtnerd/POD
gpl-3.0
12,518
356
codeparrot/github-code
5c6bdc5609b87ba668a14e19516646325c89b8911f30597b28d900ff8e93616f
/* Unix SMB/CIFS implementation. Core SMB2 server Copyright (C) Stefan Metzmacher 2009 Copyright (C) Jeremy Allison 2010 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 v...
C
source3/smbd/smb2_create.c
Zentyal/samba
gpl-3.0
45,843
1,643
codeparrot/github-code
3d79c98a6e67210dc42342f77ceabd80af53bacc0b61a70aa2b44b0420a7d9a4
\hypertarget{classtesting_1_1internal_1_1String}{}\section{testing\+:\+:internal\+:\+:String Class Reference} \label{classtesting_1_1internal_1_1String}\index{testing\+::internal\+::\+String@{testing\+::internal\+::\+String}} {\ttfamily \#include $<$gtest-\/string.\+h$>$} \subsection*{Static Public Member Functions}...
TeX
docs/latex/classtesting_1_1internal_1_1String.tex
SonamYeshe/AStarPathPlanning
gpl-3.0
14,714
210
codeparrot/github-code
0797dcfb7112df2c56c299448cef0c9c2956ec5727c4a4a187073f7a5315dfae
#include <stddef.h> #include <set> #include <sstream> #include <string> #include <vector> #include "ArgumentRule.h" #include "ConstantNode.h" #include "ContinuousCharacterData.h" #include "Func_readContinuousCharacterData.h" #include "ModelVector.h" #include "NclReader.h" #include "RbException.h" #include "RbFileManag...
C++
src/revlanguage/functions/io/Func_readContinuousCharacterData.cpp
revbayes/revbayes
gpl-3.0
11,122
348
codeparrot/github-code
78a7a841af957b3d908e2741ea57f1978badd9dfb866fba3966ef177a1580eb2
package com.jaynopp.saiyancraft.gui; import java.awt.Color; import java.util.ArrayList; import java.util.List; import org.lwjgl.opengl.GL11; import com.jaynopp.saiyancraft.SaiyanCraft; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.gui.Gu...
Java
SaiyanCraft/src/main/java/com/jaynopp/saiyancraft/gui/ScrollView.java
JayTea173/saiyancraft
gpl-3.0
3,294
117
codeparrot/github-code
20d6eea9893a2c6d068a08f8fffabeea838ca466e9d3cfa27782ab8e3abe632a
'''Defines the Special class for theia.''' # Provides: # class Special # __init__ # lines import numpy as np from ..helpers import geometry, settings from ..helpers.units import deg, cm, pi from .optic import Optic class Special(Optic): ''' Special class. This class represents general opt...
Python
theia/optics/special.py
bandang0/theia
gpl-3.0
4,456
134
codeparrot/github-code
a5e589412e7555d8168ac50cd0fc18ac20d1a331e2079b5cbe57ec2635c145bb
package org.baeldung.properties; import java.util.List; import java.util.Map; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.con...
Java
projects/tutorials-master/tutorials-master/spring-boot/src/test/java/org/baeldung/properties/ConfigPropertiesIntegrationTest.java
Niky4000/UsefulUtils
gpl-3.0
3,304
64
codeparrot/github-code
2c2be37d94c96bee66951915b2a1c3aeba92b6027c381b092a2b208641769d74
/* * Copyright (c) 2018 OBiBa. All rights reserved. * * This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. *...
Java
agate-core/src/main/java/org/obiba/agate/repository/AuthorizationRepository.java
meek0/agate
gpl-3.0
1,026
35
codeparrot/github-code
157bcd87e54287b3e2b82808ae57a457fe1fbb30191a868c547b18dc9712ac73
/** * Marlin 3D Printer Firmware * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
C
Marlin/cardreader.h
jbrazio/Marlin
gpl-3.0
7,093
229
codeparrot/github-code
22ae1561932cc02b5e61c1e81b9c2dfbdcdb5db4a253fd7c4f4e3af11485808c
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; using System.Windows.Forms; using LiteDevelop.Framework; using LiteDevelop.Framework.Extensions; using LiteDevelop.Framework.FileSystem; using LiteDevelop.Fra...
C#
Main/LiteDevelop/Gui/Forms/MainForm.cs
JerreS/LiteDevelop
gpl-3.0
48,527
1,267
codeparrot/github-code
1230a9064d8c308b05fd1c5a325b49e044ea910d8238a7660e65fd12f1a88469
local class = require "lib.middleclass" local components = require "core.components.components" local events = require "core.events.events" local systems = require "core.systems.systems" local Serializable = require "data.serializable" local StockSystem = class("StockSystem", System) StockSystem:include(Serializable) ...
Lua
core/systems/event/StockSystem.lua
marqueza/syzygy
gpl-3.0
1,229
46
codeparrot/github-code
14465ea90bf0027796914474a884696b1ce79d79d78be058965f0f42476e6597
/* MonoSLAM: A vision based SLAM program Based upon SceneLib, by Andrew Davison ( http://www.doc.ic.ac.uk/~ajd ) Copyright (C) 2006 Bob Mottram 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...
C#
applications/surveyor/monoslam/threeDdraw.cs
bashrc/sentience
gpl-3.0
36,658
760
codeparrot/github-code
092d4728f0b48f5d2a79d0619cdf804bfb8c6eef2aab5641971369e56058c307
/* # PostgreSQL Database Modeler (pgModeler) # # Copyright 2006-2021 - Raphael Araújo e Silva <raphael@pgmodeler.io> # # 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 3. # # This program ...
C
libs/libgui/src/dbobjects/genericsqlwidget.h
pgmodeler/pgmodeler
gpl-3.0
2,354
73
codeparrot/github-code
ff0a9b8344b5c05c1c4701b3856ca01e0adefa034c611d6238fa0fa7dc013472
/* * Copyright 2016 Nathan Howard * * This file is part of OpenGrave * * OpenGrave 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 ver...
Java
src/main/java/com/opengrave/common/xml/XML.java
AperiStudios/OpenGrave
gpl-3.0
2,277
79
codeparrot/github-code
1c8dd57daa4e23081739bd2b9de71393479edd20433b116ed97d271bc3add6d6
#ifndef EarlyBurstRatesFunction_H #define EarlyBurstRatesFunction_H #include "RbVector.h" #include "TypedFunction.h" namespace RevBayesCore { class DagNode; class Tree; template <class valueType> class TypedDagNode; class EarlyBurstRatesFunction : public TypedFunction< RbVector<double> > { publi...
C
src/core/functions/phylogenetics/tree/EarlyBurstRatesFunction.h
revbayes/revbayes
gpl-3.0
1,395
36
codeparrot/github-code
7621fef9449eaa39372596d19d547dd3319d12b096269479186c2f859447c973
package org.payn.resources.water.channel.boundary.dynamicwave.downstream; import org.payn.chsm.values.ValueDouble; import org.payn.chsm.values.ValueString; import org.payn.neoch.HolonBoundary; import org.payn.neoch.processors.ProcessorDoubleLoadInit; import org.payn.resources.water.ResourceWater; /** * Calc...
Java
src/main/java/org/payn/resources/water/channel/boundary/dynamicwave/downstream/WaterFlow.java
robpayn/resources
gpl-3.0
4,484
168
codeparrot/github-code
17ceb23107d5a28d8ab35353fc90e89fe9e660383a4265cc087c6b3b77293fc4
<?php /* This file is part of CyberGestionnaire. CyberGestionnaire 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. CyberGestion...
PHP
form_preinscription.php
cybergestionnaire/gestionnaire
gpl-3.0
19,647
403
codeparrot/github-code
cc2089aa8d244a47793d6846b3b6371256dae756381f8de8241f47b9fe495820
import { BrowserModule } from '@angular/platform-browser'; import { ErrorHandler, NgModule } from '@angular/core'; import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular'; import { MyApp } from './app.component'; import { HomePage } from '../pages/home/home'; import { ListPage } from '../pages/list/li...
TypeScript
mobile/src/app/app.module.ts
alexeib2014/aphone
gpl-3.0
1,262
49
codeparrot/github-code
86a6b3069cf007b246208b03dec10837e4cd9c65a0db933b9d170879b259191f
package fig.basic; import java.util.ArrayList; import java.util.List; /** * For keeping track of statistics. * Keeps all the data around (can be memory expensive). */ public class FullStatFig extends BigStatFig { public FullStatFig() { } public FullStatFig(Iterable<Double> c) { for(double x : c) add(x); ...
Java
code/fig/basic/FullStatFig.java
timfeu/berkeleycoref-bansalklein
gpl-3.0
1,731
76
codeparrot/github-code
f4f4e21a6bd5da9b1acb5776726b7ea741455b3e98eb9a018fb88cab1af95582
/* Functions to compute MD5 message digest of files or memory blocks. according to the definition of MD5 in RFC 1321 from April 1992. Copyright (C) 1995, 1996, 1997, 1999, 2000, 2001, 2005, 2006, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free...
C
md5.c
guyru/spass
gpl-3.0
15,314
463
codeparrot/github-code
c667db6bd81a393d6a98f95049be705e93d0eb2e9312ae5537105346760fbc5b
using System.Reflection; using HarmonyLib; using NitroxClient.MonoBehaviours.Gui.Input; using NitroxClient.MonoBehaviours.Gui.Input.KeyBindings; using NitroxModel.Helper; namespace NitroxPatcher.Patches.Persistent { public class uGUI_OptionsPanel_AddBindings_Patch : NitroxPatch, IPersistentPatch { pri...
C#
NitroxPatcher/Patches/Persistent/uGUI_OptionsPanel_AddBindings_Patch.cs
SubnauticaNitrox/Nitrox
gpl-3.0
1,099
31
codeparrot/github-code
f75bacc22cf81b62e0286e267125cc5d5da5f191742bcc80e4c3b8e0a70387a1
/* Copyright (c) 2007-2016 Contributors as noted in the AUTHORS file This file is part of libzmq, the ZeroMQ core engine in C++. libzmq is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Found...
C++
src/msg.cpp
jemc/libzmq
gpl-3.0
14,727
598
codeparrot/github-code
363d6be1e4ae6293365d12573aa5aa1f39651186001339257764690f58308cd9
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "platform/testing/TestPaintArtifact.h" #include "cc/layers/layer.h" #include "platform/graphics/paint/DisplayItemClient.h" #include "platform/gr...
C++
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
geminy/aidear
gpl-3.0
3,737
111
codeparrot/github-code
10f83f46d1c1d04b77de406cc3c12a0c3f3a65ff799458a145187621203fe330
package unit.kernel.models.kernel; import kernel.models.Kernel; import kernel.views.CommPortReporter; import org.jmock.Expectations; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertNotNull; /** * Contains unit tests for {@link Kernel#getSerialPortNames()} */ public final class ...
Java
src/test/java/unit/kernel/models/kernel/GetSerialPortNames.java
OmicronProject/BakeoutController-Basic
gpl-3.0
899
38
codeparrot/github-code
22da24670bfe0da9ea53258380f848ae751039a4118dcfd4d5c4e6aad906de7e
""" Message Queue wrapper """ __RCSID__ = "$Id$" from DIRAC.FrameworkSystem.private.standardLogging.Handler.MessageQueueHandler import MessageQueueHandler from DIRAC.Resources.LogBackends.AbstractBackend import AbstractBackend from DIRAC.FrameworkSystem.private.standardLogging.Formatter.JsonFormatter import JsonForma...
Python
Resources/LogBackends/MessageQueueBackend.py
arrabito/DIRAC
gpl-3.0
1,639
45
codeparrot/github-code
8fb936c42a465c0c45a1b535f2ff51ff739333f6e119d251ba834250be067e82
# Copyright 2008 by Kate Scheppke and Wade Brainerd. # This file is part of Typing Turtle. # # Typing Turtle 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 opt...
Python
balloongame.py
godiard/typing-turtle-activity
gpl-3.0
13,291
414
codeparrot/github-code
88e42195d79024b704d3f239beea64337383c86bd0d6fde80548608ecde79c35
//////////////////////////////////////////////////////// // // GEM - Graphics Environment for Multimedia // // Implementation file // // Copyright (c) 2002-2011 IOhannes m zmölnig. forum::für::umläute. IEM. zmoelnig@iem.at // zmoelnig@iem.kug.ac.at // For information on usage and redistribution, and for a DISCLAIMER /...
C++
vendors/pd-extended-0.43.4/externals/Gem/src/openGL/GEMglFeedbackBuffer.cpp
rvega/morphasynth
gpl-3.0
2,845
90
codeparrot/github-code
dd971e67dee74b67526f8f5c96ddcac3154aedc923b44e772107afc36fbc0b8b
import fuzzy from 'fuzzy'; import { resolve } from 'redux-simple-promise'; import { FETCH_POSTS, FETCH_POST, FETCH_PAGE, FETCH_POSTS_CATEGORY, FETCH_POSTS_TAG } from '../actions/index'; const INITIAL_STATE = { all: {}, post: {}, page: {}, category: {} }; export default function (state = INITIAL_STATE, acti...
JavaScript
react-dev/reducers/reducer_posts.js
WDTAnyMore/WDTAnyMore.github.io
gpl-3.0
2,110
83
codeparrot/github-code
a36c8f27c1be35df3e08991f5c604f96656139f5b15c2a10840b5ff0452f8af0
package com.az.gitember.controller.handlers; import com.az.gitember.controller.DefaultProgressMonitor; import com.az.gitember.controller.IntegerlDialog; import com.az.gitember.data.ScmItemDocument; import com.az.gitember.data.ScmRevisionInformation; import com.az.gitember.service.Context; import com.az.gitember...
Java
src/main/java/com/az/gitember/controller/handlers/IndexEventHandler.java
iazarny/gitember
gpl-3.0
3,508
97
codeparrot/github-code
54f48b1176e0ba67c9bfef36a3b92a3d44c00b90de1fbcc788b82158d1519b25
/* Copyright (C) 2016 Krowten11 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 hop...
C
src/iprange.h
Krowten11/PICMP
gpl-3.0
1,367
56
codeparrot/github-code
f431f77d426cd3f6c55b9e24cb92a0dee33892f1adef8a857a94da92e1dc9a29
/******************************************************************************* * Copyright 2012 * FG Language Technologie * Technische Universitaet Darmstadt * * 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...
Java
src/main/java/org/jobimtext/api/configuration/DatabaseThesaurusConfiguration.java
timfeu/berkeleycoref-thesaurus
gpl-3.0
9,826
306
codeparrot/github-code
4938e98bb6ec7888cdfb8aaf5dab12771b7a8f528296bb6f63d5a05a38515242
<html lang="en"> <head> <title>Minibuffer Completion - GNU Emacs Lisp Reference Manual</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="description" content="GNU Emacs Lisp Reference Manual"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index...
HTML
aquamacs/doc/Aquamacs Help/Emacs Lisp Reference/Minibuffer-Completion.html
xfq/aquamacs-emacs
gpl-3.0
8,146
154
codeparrot/github-code
819683ad7ce3f2b89ade3b00d56397fc13bb6de7664ea65ca6a5e3cd9c8361c0
#include "minibidi.h" /************************************************************************ * $Id: minibidi.c 6910 2006-11-18 15:10:48Z simon $ * * ------------ * Description: * ------------ * This is an implemention of Unicode's Bidirectional Algorithm * (known as UAX #9). * * http://www.unicode.org/re...
C
src/minibidi.c
jdmansour/mintty
gpl-3.0
44,857
1,235
codeparrot/github-code
d71ce9b445b67a24bbe6fa718df9d04e22c5e2da5cb10258093ff019436f4f53
package models; import java.util.Date; import java.util.List; import javax.persistence.Entity; import javax.persistence.ManyToOne; import play.data.validation.Required; import play.db.jpa.Model; @Entity public class UserEvent extends Model { public static final int TYPE_LOGIN = 1; public static final int TYPE_LO...
Java
app/models/UserEvent.java
Thierry36tribus/Jeko
gpl-3.0
916
45
codeparrot/github-code
4272bbf441f70e504f92b62fc1ef481274aca24844bce629f46387d5d902a183
<!DOCTYPE html> <html lang="en" class="no-js"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Unity - Scripting API: MasterServer.PollHostList</title> <meta name...
HTML
ScriptReference/MasterServer.PollHostList.html
rakuten/Uinty3D-Docs-zhcn
gpl-3.0
12,202
253
codeparrot/github-code
7bbd682a0355e2a381895e8e48b520f4f85e5f3e86394b970b2b0abeef53ff67
/******************************************************************************* * 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
test/org/worldgrower/goal/UTestCocoonOutsidersGoal.java
WorldGrower/WorldGrower
gpl-3.0
3,579
97
codeparrot/github-code