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
b73b38c43a595dce9449e6330ca6f2323dbc5f4a328371cdd44ba34b0b844745
/* * Copyright (C) 2014 Institute for Bioinformatics and Systems Biology, University Giessen, Germany * * 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 ...
Java
readxplorer-tools-transcriptionanalyses/src/main/java/de/cebitec/readxplorer/transcriptionanalyses/wizard/TranscriptionAnalysesWizardIterator.java
rhilker/ReadXplorer
gpl-3.0
13,878
349
codeparrot/github-code
1d3b5cfc48d04633b03c5f8759f53c76a7b13cf57b48317873de33e71bd5f8ed
/* * 08/06/2004 * * RSyntaxUtilities.java - Utility methods used by RSyntaxTextArea and its * views. * * This library is distributed under a modified BSD license. See the included * RSyntaxTextArea.License.txt file for details. */ package com.fr.design.gui.syntax.ui.rsyntaxtextarea; import java.aw...
Java
designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/RSyntaxUtilities.java
fanruan/finereport-design
gpl-3.0
42,360
1,310
codeparrot/github-code
76193a84516a8cb460214538198770df835ec1bb4b20b05263edba52433650ff
#include "utf8.hpp" #include "utf8/utf8.h" #include <cstring> namespace core { UTF8String::UTF8String() {} UTF8String::UTF8String(const UTF8String& cp) : m_src(cp.m_src) {} UTF8String::UTF8String(const std::string& src) : m_src(src) {} UTF8String::~UTF8String() { ...
C++
src/core/utf8.cpp
DWARVES/Project-Warrior
gpl-3.0
1,932
96
codeparrot/github-code
f8df4522ca81b3cc828ca06f5b74beb154f6d7dd41240f0786159edc0d3ea16d
/* Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments Copyright (C) ITsysCOM GmbH 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 yo...
GO
engine/balances.go
TeoV/cgrates
gpl-3.0
23,880
861
codeparrot/github-code
41ec80b26273760f34a6cb5076d1490cc14a3b1beb3a986e667232e0d30ddeff
package com.earth2me.essentials.textreader; import com.earth2me.essentials.CommandSource; import com.earth2me.essentials.I18n; import static com.earth2me.essentials.I18n._; import java.util.List; import java.util.Locale; import java.util.Map; public class TextPager { private final transient IText text; private fin...
Java
Essentials/src/com/earth2me/essentials/textreader/TextPager.java
DarkSino98/Essentials
gpl-3.0
4,488
174
codeparrot/github-code
673844bed2b384ce74c094168702aa23e614cb7cbc2561c6e176d21b0a9497f8
// Copyright 2015 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 "base/trace_event/trace_log.h" #include <algorithm> #include <cmath> #include <memory> #include <utility> #include "base/base_switches.h" #incl...
C++
chromium/src/base/trace_event/trace_log.cc
golden1232004/webrtc_new
gpl-3.0
59,466
1,752
codeparrot/github-code
500c000988b8214a4fb0d377c4100eb35f7b3a8eac8c833545463a44f9823341
/* * 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 that it w...
Java
adams-core/src/main/java/adams/core/logging/MultiHandler.java
waikato-datamining/adams-base
gpl-3.0
4,758
187
codeparrot/github-code
e4353093eef3aa2b6576a01ce97d0c2794d7b38ab7fc0e1d7d06b82957ea653e
package org.saga.shape; import org.bukkit.Material; import org.bukkit.block.Block; import java.util.HashSet; public class BlockFilter implements ShapeFilter { /** * Materials. */ private HashSet<Material> materials = new HashSet<>(); /** * If true then the check will return the reverse result. */ priva...
Java
src/org/saga/shape/BlockFilter.java
Olyol95/Saga
gpl-3.0
957
67
codeparrot/github-code
b4bc87f123a79bb06fd34c20b8826d47211c0761dd625f31fd358ef2da935f04
package org.activityinfo.ui.client.component.importDialog.validation; /* * #%L * ActivityInfo Server * %% * Copyright (C) 2009 - 2013 UNICEF * %% * 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 Foun...
Java
server/src/main/java/org/activityinfo/ui/client/component/importDialog/validation/ValidationMappingGrid.java
LeoTremblay/activityinfo
gpl-3.0
1,707
50
codeparrot/github-code
2b6ee51e4223aae990fe422dc299b2d85759efdc862b4cdd238f6a0c9c8febbe
// // ccallsign.h // xlxd // // Created by Jean-Luc Deltombe (LX3JL) on 31/10/2015. // Copyright © 2015 Jean-Luc Deltombe (LX3JL). All rights reserved. // // ---------------------------------------------------------------------------- // This file is part of xlxd. // // xlxd is free software: you can redistri...
C
src/ccallsign.h
LX3JL/xlxd
gpl-3.0
3,105
101
codeparrot/github-code
1613dbf9b9cef9634f443ab517b4470630ff766a72ff57fd0ecd5d4928c4f5a9
/******************************************************************************* * Copyright (c) 2011-2014 SirSengir. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v3 * which accompanies this distribution, and is available at...
Java
src/main/java/forestry/apiculture/gui/ContainerAlveary.java
AnodeCathode/ForestryMC
gpl-3.0
1,213
33
codeparrot/github-code
79a938c787724195a616febb5413282a22216aa69485ad2d5c0351909a35e4e0
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Threading; using System.Threading.Tasks; using System.Windows.Controls; using System.Xml; using System.Diagnostics; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace RunMusicOpenWPF { pub...
C#
RunMusicOpenWPF/Center/AppCenter.cs
Dorion300/PlaylistMusicRun
gpl-3.0
2,244
77
codeparrot/github-code
e12fe232134eb39f2152555da1a8fb8a06f5c6c9880488434fa87a9cf4105422
var com = com || {}; com.hiyoko = com.hiyoko || {}; com.hiyoko.component = com.hiyoko.component || {}; com.hiyoko.component.UlList = function($html){}; com.hiyoko.util.extend(com.hiyoko.component.ApplicationBase, com.hiyoko.component.UlList); com.hiyoko.component.UlList.prototype.renderDefaultLi = function($li, item)...
JavaScript
jquery/com/hiyoko/components/v1/UlList.js
Shunshun94/shared
gpl-3.0
2,032
79
codeparrot/github-code
32fe52ff5fc0f0a4ef05b18d6c08309dcab4d2901a2a4ce5ba963582aa9f93bf
/* This file is part of SevenZipSharp. SevenZipSharp 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 3 of the License, or (at your option) any later version. SevenZipS...
C#
SevenZip/COM.cs
Nhakin/hakchi2
gpl-3.0
39,540
1,248
codeparrot/github-code
f416fdbb248ea8f78553f04496256975f7ea676711cb3ec4fc03c8fe16c9ba72
/* va_list error handler for noninteractive utilities Copyright (C) 2006-2007, 2009-2018 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; either version 3 of...
C
lib/verror.c
pexip/os-coreutils
gpl-3.0
2,631
78
codeparrot/github-code
9227fbcf622315bc5bcbf328cde7c4840de8555cd9d647fab3a3c395cb8bd132
/** Copyright 2010 Christian Kästner This file is part of CIDE. CIDE 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 of the License. CIDE is distributed in the hope th...
Java
CIDE2_ast/src/cide/gast/ASTStringNode.java
ckaestne/CIDE
gpl-3.0
1,275
51
codeparrot/github-code
36974d92f38e261b31e505cf815836d4fd7c426afedd65a71c852ab57904657d
<html lang="en"> <head> <title>Text Coding - GNU Emacs Manual</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="description" content="GNU Emacs Manual"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Interna...
HTML
aquamacs/doc/Aquamacs Help/Emacs Manual/Text-Coding.html
xfq/aquamacs-emacs
gpl-3.0
7,249
129
codeparrot/github-code
2a7422cf8eee9b1a1c47ed036956d4d65656200301cec9fe4bc6524c2450d993
<?php /** * @package pkg_projectspoon * * @author Kon Angelopoulos (angek) * @copyright Copyright (C) 2018 Kon Angelopoulos. All rights reserved. * @license http://www.gnu.org/licenses/gpl.html GNU/GPL, see LICENSE.txt */ // No direct access. defined('_JEXEC') or die; class PktimeControllerT...
PHP
source/components/com_pktime/admin/controllers/timesheets.json.php
angek/ProjectSpoon
gpl-3.0
1,779
73
codeparrot/github-code
143d61456aeb6cfcf98ab9fa8840e7a207c65881988d6fc5bc03e89f847b6d21
/** * BoxTest.java - test for the Box class * * Copyright 2011 Jeffrey Finkelstein * * This file is part of jeffraytracer. * * jeffraytracer 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...
Java
src/test/java/jeffraytracer/surfaces/BoxTest.java
jfinkels/jeffraytracer
gpl-3.0
3,385
124
codeparrot/github-code
02527d68dde3e644ce0d2e1d08540c43129a13afe3a785052b472eef83bca8d4
//========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============ // // Purpose: // // $NoKeywords: $ //============================================================================= #ifndef DATAMAP_H #define DATAMAP_H #ifdef _WIN32 #pragma once #endif #ifndef VECTOR_H #include "vector.h" #endif // SIN...
C
root/public/datamap.h
RaisingTheDerp/raisingthebar
gpl-3.0
15,781
342
codeparrot/github-code
8498c77260eb2cd83d96ee9d3fda0d0c1cfc7d83015b71b7b5c7159781c5a766
/* Craft Compiler v0.1.0 - The standard compiler for the Craft programming language. Copyright (C) 2016 Daniel McCarthy This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ver...
C++
codegens/8086CodeGen/src/OffsetableBranch.cpp
nibblebits/craft-compiler
gpl-3.0
2,100
68
codeparrot/github-code
80a0a63f800415099b1e5d778c3052cbb8ef6d00cfec1cafecdc6bfa4e446d1a
// -*- Mode: Go; indent-tabs-mode: t -*- /* * Copyright (C) 2016-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 is distributed in the hop...
GO
interfaces/ifacetest/backendtest.go
kenvandine/snapd
gpl-3.0
4,726
208
codeparrot/github-code
bd2584044a678f09ab19c3636390b4731525bb3c4353e8308150b68ee4fb3efa
Fox.define('language', [], function () { var Language = function (cache) { this.cache = cache || null; this.data = {}; }; _.extend(Language.prototype, { data: null, cache: null, url: 'I18n', has: function (name, category, scope) { if (scope ...
JavaScript
client/src/language.js
ilovefox8/zhcrm
gpl-3.0
3,025
118
codeparrot/github-code
ee18affc00e0620e5c5747394dec5c2fc1976d1541fa2d7b6d85aa585f1f3946
//////////////////////////////////////////////////////////////////////////// // Created : 04.03.2010 // Author : Dmitriy Iassenev // Copyright (C) GSC Game World - 2010 //////////////////////////////////////////////////////////////////////////// #ifndef N_ARY_TREE_WEIGHT_NODE_H_INCLUDED #define N_ARY_TREE_WEIGHT_NOD...
C
xray/animation/sources/mixing_n_ary_tree_weight_node.h
hpl1nk/nonamegame
gpl-3.0
2,250
53
codeparrot/github-code
c2857834e2f6836db9b96d558f7e406c1bd2ec7861e03fedc0de6a184418239f
/* * fsarchiver: Filesystem Archiver * * Copyright (C) 2008-2017 Francois Dupoux. 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 v2 as published by the Free Software Foundation. * * This program is distrib...
C
qt5-fsarchiver/src/dico.h
Rudlandh/qt-fasarchiver
gpl-3.0
2,276
66
codeparrot/github-code
8eb8fa3953f6d00d7baddae911696bfdca8743a797d4bc1c6bdd70d3bd010154
//============================================================================ // Name : Tarray.h // Author : Trevor Fisher // Version : 0.2 // Description : Tarray (Terrific Array) is a generic template to handle // an array of any class. //================================================...
C
src/Tarray.h
jellowman/EclipseR
gpl-3.0
8,896
362
codeparrot/github-code
91cd9e4f478da1bdb593b579df19e6fe990b4326f64b23e580a942315866885c
# Copyright 2015 The TensorFlow Authors. 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 may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
Python
bin/cifar10test/cifar10_train.py
dpaschall/test_TensorFlow
gpl-3.0
4,167
121
codeparrot/github-code
e15e1a649d4fb6dcbde61b5e7b0a28bb2f3539ad41027641d43f2879b9702384
package net.shadowmage.ancientwarfare.automation.container; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.Slot; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagList; import net.minecraftforge.common.util.Constants; i...
Java
src/main/java/net/shadowmage/ancientwarfare/automation/container/ContainerWarehouseStorage.java
GotoLink/AncientWarfare2
gpl-3.0
7,239
199
codeparrot/github-code
d14fcf5b26779101023fde41fd81eac2a6cef1d4e435de34fe050f7367914655
/* This file is part of the OdinMS Maple Story Server Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc> Matthias Butz <matze@odinms.de> Jan Christian Meyer <vimes@odinms.de> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero Genera...
Java
src/server/maps/MapleTVEffect.java
am910021/YuriMS
gpl-3.0
2,984
86
codeparrot/github-code
d0a658cd2eced3d81b61d59b42fe1e402fd944b21f3d1da92d4b6290ad73898f
//Created by: Jack Melvin //RPG game //v0.36 //Rules of the program //Variables are lowercase. //Functios start with upper case per word //Known Bugs //Hp doesnt raise after you talk with the inn keeper. //doom doesnt kill you. //Always glanceing blow. //To-Do //Finish Atk formula //equip items //working backpack //...
C++
RPG game base v0.36.cpp
M-Tech212/TRPG-game
gpl-3.0
21,180
941
codeparrot/github-code
7cdcc490468dd875da4204a4f2186b8cf726c32123fb8e79c6918f0330b67fbb
/* * Copyright (c) 2012 University of Padua, Department of Mathematics * * This file is free software: you may copy, redistribute 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 la...
C
kernel/middleware/portutils.c
UPD-RTS/mppa-TiCOS
gpl-3.0
13,162
476
codeparrot/github-code
5afe861a6dedd4c6f9d2299bdd097612c5c63b44d0e8bf5fc6025dbe1b86ecec
// Copyright 2015 Google Inc. 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 may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
C++
libcxx/libcxx/utils/google-benchmark/src/json_reporter.cc
HexHive/datashield
gpl-3.0
5,178
179
codeparrot/github-code
e3e96b005f5ffdab34401d0fd2cce6b68daa54c7ce9b42785ec87cc363fd1f5a
#include "mk20dx128.h" #include "core_pins.h" #include "HardwareSerial.h" // UART0 and UART1 are clocked by F_CPU, UART2 is clocked by F_BUS // UART0 has 8 byte fifo, UART1 and UART2 have 1 byte buffer #define TX_BUFFER_SIZE 40 static volatile uint8_t tx_buffer[TX_BUFFER_SIZE]; static volatile uint8_t tx_buffer_head ...
C
teensy3/serial3.c
cepr/hummingdroid-teensy
gpl-3.0
3,871
161
codeparrot/github-code
ffcbbc361f6487554c3e8fc3d508ab9b1de4fe339be74406f93523ef2c5b2621
/* Copyright (c) 2015-2018 Idiap Research Institute, http://www.idiap.ch/ Written by James Newling <james.newling@gmail.com> All rights reserved. eakmeans is a library for exact and approximate k-means written in C++ and Python. This file is part of eakmeans. See file COPYING for more details. This file is part of ea...
C
src/exactsimplebatch.h
idiap/eakmeans
gpl-3.0
2,602
79
codeparrot/github-code
a3c773a04555159eb9fd0eb9bb9491f0470d225558aaed137435947505eae4b7
/* * ARTarget.cpp * ARToolKit5 * * This file generate a special actor who defines a NFT target * File descriptions: ARTarget contains very important features like size of the target, * the offset calcultation for the NFT track point, a plane to display the target just for editor mode * * ARToolKit is free softwar...
C++
AR/Source/AR/Private/ARTarget.cpp
zkarmakun/ARToolKit-5.3-for-Unreal-Engine
gpl-3.0
7,722
232
codeparrot/github-code
0388390e0c48ad54fbbc41b93645627d33b6e501ee8c70ecfeceabdfefeefa2d
// RUN: %clang_cc1 -fsyntax-only -fopenmp -x c++ -std=c++11 -fexceptions -fcxx-exceptions -verify %s class S { int a; S() : a(0) {} public: S(int v) : a(v) {} S(const S &s) : a(s.a) {} }; static int sii; #pragma omp threadprivate(sii) static int globalii; int test_iteration_spaces() { const int N = 100; ...
C++
3rd/templight/llvm/tools/clang/test/OpenMP/parallel_for_loop_messages.cpp
syntheticpp/metashell
gpl-3.0
22,881
626
codeparrot/github-code
7ba938f9a2e081b4366973d9b89b31f515154592395503343417b50a5038bd85
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> === * * Copyright 2010-2011, Christian Muehlhaeuser <muesli@tomahawk-player.org> * Copyright 2010-2012, Jeff Mitchell <jeff@tomahawk-player.org> * * Tomahawk is free software: you can redistribute it and/or modify * it under ...
C
src/libtomahawk/ArtistPlaylistInterface.h
pmpontes/tomahawk
gpl-3.0
3,010
87
codeparrot/github-code
32ef7d4225aba27a49472c2a55fe80b780bb7d6deec3580d302aad074afe9bfc
/* * Copyright (C) 2017 Saxon State and University Library Dresden (SLUB) * * 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...
Java
src/main/java/de/slub/urn/URNSyntaxError.java
slub/urnlib
gpl-3.0
4,308
141
codeparrot/github-code
34b19a561829fabd267e4128efb443e19fa1a66fa726804ef4039373ef61c1e1
using System.IO; using System.Runtime.Serialization; using WolvenKit.CR2W.Reflection; using FastMember; using static WolvenKit.CR2W.Types.Enums; namespace WolvenKit.CR2W.Types { [DataContract(Namespace = "")] [REDMeta] public class CStorySceneEventScenePropPlacement : CStorySceneEvent { [Ordinal(1)] [RED("propI...
C#
WolvenKit.CR2W/Types/W3/RTTIConvert/CStorySceneEventScenePropPlacement.cs
Traderain/Wolven-kit
gpl-3.0
1,221
35
codeparrot/github-code
37ad8f315fe3f2b04d383e64530db4cb3cf79f9208b74607ed0c5a199cb9a3cc
/******************************************************************************** ** Form generated from reading UI file 'mainwindow.ui' ** ** Created: Thu Jan 30 17:04:41 2014 ** by: Qt User Interface Compiler version 4.8.2 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ******...
C
MARTIN/ihm2/ui_mainwindow.h
estei-master/segment_SOL
gpl-3.0
15,998
321
codeparrot/github-code
2415992370d50e90815c543ad154d6fa0279ba01642cdb28e389820116e089c7
/* md5.c - interface for checking and setting program environment. This is an OpenSSL-compatible implementation of the RSA Data Security, Inc. MD5 Message-Digest Algorithm (RFC 1321). <http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5> Copyright (c) 2001 Alexander Peslyak <...
C
src/md5.h
cedricfrancoys/tagger
gpl-3.0
1,118
35
codeparrot/github-code
c9d8b7784b0145a5bc6dd79f11640f30ac33200b76c21f53f414c8e4a1cbe4c3
function parseCategory(aCategory, aFunction) { if(document.location.host == '' || document.location.host == 'localhost' ) var url = 'test.html'; else var url = categoryGetURLPrivate(aCategory); $.ajax({ type: "GET", url: url, dataType:'html', success: function(responseText) { var aData...
JavaScript
lib/ODP/categoryParser.js
titoBouzout/ODPy
gpl-3.0
3,590
107
codeparrot/github-code
758436229b627473d3ad059a6f8ac91cef0d9d237abe8a9445b347be843920d2
# coding: utf-8 class EditorController < ApplicationController before_filter :authenticate_user! def index if params.has_key? 'order' order = params[:order] else order = 'name' end if params.has_key? 'show' show = params[:show] else show = 10 end @tex...
Ruby
app/controllers/editor_controller.rb
bjesus/asam
gpl-3.0
1,252
55
codeparrot/github-code
9518ae12e7503fde791223ed24a4e9a8a3bc984aa1f9d670ab7cc619ac347660
/* * file_utils.cc * Copyright (C) 2016 elasticlog <elasticlog01@gmail.com> * * Distributed under terms of the GNU GENERAL PUBLIC LICENSE. */ #include "file_utils.h" #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <fcntl.h> #include <dirent.h> #include <errno.h> #include <string.h> #inc...
C++
src/agent/file_utils.cc
elasticlog/elasticlog
gpl-3.0
1,065
53
codeparrot/github-code
0fb92e950762b82e7d4919b76decca2324eb3fd67263cffd2914559ef12647ff
import re CJDNS_IP_REGEX = re.compile(r'^fc[0-9a-f]{2}(:[0-9a-f]{4}){7}$', re.IGNORECASE) class Node(object): def __init__(self, ip, version=None, label=None): if not valid_cjdns_ip(ip): raise ValueError('Invalid IP address') if not valid_version(version): raise ValueErro...
Python
raptiformica_map/graph.py
vdloo/raptiformica-map
gpl-3.0
1,111
49
codeparrot/github-code
dce346de846f0eb2321f645081fe75781a5176e0084ea7bd65adebbaf88dddb7
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Yet Another Pixel Dungeon * Copyright (C) 2015-2016 Considered Hamster * * 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, eith...
Java
app/src/main/java/com/consideredhamster/yetanotherpixeldungeon/levels/traps/AlarmTrap.java
ConsideredHamster/YetAnotherPixelDungeon
gpl-3.0
1,902
53
codeparrot/github-code
c73e50820b57d31871b4d25d19ba40e095b605c8d09190cfe040f7c5e73a6963
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
C++
IPL/include/opencv/opencv2/stereo.hpp
cpvrlab/ImagePlay
gpl-3.0
14,099
277
codeparrot/github-code
61034154006c7b6373d7a19f9cfcf574460c0c7d72bbd0a7b0ee68ffb873dd47
/************************************************************************** * * Copyright 2003 Tungsten Graphics, Inc., Cedar Park, Texas. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Softwa...
C
utils/Mesa/Mesa-7.8.2/src/gallium/drivers/i915/i915_debug.c
CPFDSoftware-Tony/gmv
gpl-3.0
26,242
899
codeparrot/github-code
5bbbba4462028898d655407258f382430cb1d0f93780c6550a6a404a4dcb8f17
package org.hl7.v3; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>DataTypePointInTimeのJavaクラス。 * * <p>次のスキーマ・フラグメントは、このクラス内に含まれる予期されるコンテンツを指定します。 * <p> * <pre> * &lt;simpleType name="DataTypePointInTime"> * &lt;restriction base="{urn:hl7-org:v3}...
Java
ricecakesoftware.communitymedicallink.hl7/src/org/hl7/v3/DataTypePointInTime.java
ricecakesoftware/CommunityMedicalLink
gpl-3.0
690
37
codeparrot/github-code
bc8960a0f0dc2fb64559e55ab52337222516d6f207896ca099de435ad8a156a0
/* * HMM_multiForwardBackward.c * ========================================================================= * * Copyright (C) 2014 Martin Lindén, E-mail: bmelinden@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 publishe...
C
HMMcore/HMM_multiForwardBackward.c
bmelinden/vbSPT
gpl-3.0
6,734
218
codeparrot/github-code
385412a06e047462206d19fcb61108ca7e624676b650a53ddf14c48314000485
Mobile Router 2 – with NAS_MPLS_PMIP working MR2_NAS.SH source params.sh sysctl -w net.ipv6.conf.all.forwarding=1 $OPENAIR3_SCRIPTS_PATH/mr2_del_mpls.sh $OPENAIR3_SCRIPTS_PATH/mr2_conf_nas.sh #$OPENAIR3_SCRIPTS_PATH/mr2_mpls_nas.sh #MN1MN2 $OPENAIR3_SCRIPTS_PATH/mr2_mpls_nas.sh $MR2_CH1_LABEL_IN $CH2_IN_ADDR ...
Shell
openair3/EXAMPLES/CHORIST092008/TEMP/MR2_092008.sh
mspublic/openair4G-mirror
gpl-3.0
3,087
89
codeparrot/github-code
f4698e90ee43e562e614afd811a164f03cb0a381253b854575328ea0de0fc8f3
<?php /********************************************************************************* * Zurmo is a customer relationship management program developed by * Zurmo, Inc. Copyright (C) 2012 Zurmo Inc. * * Zurmo is free software; you can redistribute it and/or modify it under * the terms of t...
PHP
app/protected/modules/import/utils/analyzers/RelatedModelNameOrIdValueTypeBatchAttributeValueDataAnalyzer.php
theclanks/zurmo
gpl-3.0
7,298
163
codeparrot/github-code
228b24b73f5ec95ece1064edd9c841d0595e8552e4a71d96e915dddeb0380edf
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2014-2016 Alberto Gacías <alberto@migasfree.org> # Copyright (c) 2015-2016 Jose Antonio Chavarría <jachavar@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 publish...
Python
migasfree_indicator/console.py
migasfree/migasfree-launcher
gpl-3.0
2,188
67
codeparrot/github-code
0e6eebb8ec95b1e57a6d38023e5ddcd958e688385442eaaea2af6e4be94b98f0
/* Copyright 2010 Statoil ASA. This file is part of The Open Porous Media project (OPM). OPM 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 ...
C++
examples/upscale_relperm.cpp
lkerrand/opm-upscaling
gpl-3.0
43,571
848
codeparrot/github-code
067077c7732ad20c7460d3ec5fed646e767780e8e837dd9f81abb056696db181
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ #include "ns3/uinteger.h" #include "ns3/names.h" #include "tracker-helper.h" namespace ns3 { TrackerHelper::TrackerHelper () { m_factory.SetTypeId (Tracker::GetTypeId ()); SetAttribute ("Port", UintegerValue (9)); SetAttribute ("RemoteAddress", Ad...
C++
source/tracker/helper/tracker-helper.cc
sT4R3K/Tracker-2013
gpl-3.0
3,628
128
codeparrot/github-code
cf78515fc1546e5d9d7fead322ecd7bc3f1d728483f8622375cfd6d00267c8a3
/** \file wxsimagetreeeditordlg.cpp * * This file is part of wxSmith plugin for Code::Blocks Studio * Copyright (C) 2010 Gary Harris * * wxSmith 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...
C++
src/plugins/contrib/wxSmith/wxwidgets/properties/wxsimagetreeeditordlg.cpp
SaturnSDK/Saturn-SDK-IDE
gpl-3.0
34,340
1,090
codeparrot/github-code
3a79d31fc8dadc37566d0591ab7b0a26d0d7f580edac3a180d5acd9fca794654
import React, { Component } from 'react' import PropTypes from 'prop-types' import ModalsContainer from '../containers/ModalsContainer' import { bytesToSize } from '../common' const Store = window.require('electron-store') import './ViewSwitcher.css' class PersonalFiles extends Component { constructor(props) { ...
JavaScript
src/components/PersonalFiles.js
Scille/parsec-gui
gpl-3.0
10,525
311
codeparrot/github-code
eb3ffce4e3d90a95e65d0260b1a4cdad741f5312b3be1b1ad15045f8a3e42977
package com.bukkit.gemo.FalseBook.Cart.utils; import net.minecraft.server.v1_6_R3.Container; import net.minecraft.server.v1_6_R3.EntityHuman; import net.minecraft.server.v1_6_R3.InventoryCrafting; import net.minecraft.server.v1_6_R3.ItemStack; public class FBInventory extends InventoryCrafting { private ItemStack...
Java
src/main/java/com/bukkit/gemo/FalseBook/Cart/utils/FBInventory.java
Escapecraft/FalseBook
gpl-3.0
1,292
65
codeparrot/github-code
3d9e94d75f121b3cbdafabd833316e1c279db68e6feff0543555ef49d7a22f57
package com.github.bordertech.wcomponents; import com.github.bordertech.wcomponents.util.Util; import java.util.Arrays; import java.util.List; import java.util.Map; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; /** * WVideo is used to display video content on the clie...
Java
wcomponents-core/src/main/java/com/github/bordertech/wcomponents/WVideo.java
Joshua-Barclay/wcomponents
gpl-3.0
21,133
736
codeparrot/github-code
af609b36031ccc4114672226b6802c6b9fe2c76351184f447a1f71dc2bde4804
/** * @file * Generic MIB tree structures. * * @todo namespace prefixes */ /* * Copyright (c) 2006 Axon Digital Design B.V., The Netherlands. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are ...
C
Middlewares/Third_Party/LwIP/src/include/lwip/apps/snmp_core.h
gnitnaw/stm32_linux
gpl-3.0
14,512
361
codeparrot/github-code
413fee2d73949b27d364d5d0bc5e3403a0536f3eb0b015b4da8835a171974cca
/******************************************************************************** ** Form generated from reading UI file 'zlprojet.ui' ** ** Created by: Qt User Interface Compiler version 5.1.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ******************************************...
C
crml uqtr 2013 code source/zLProjet/zLProjet/GeneratedFiles/ui_zlprojet.h
elmarouane/CRML_UQTR_Image_Processing_Software
gpl-3.0
9,474
192
codeparrot/github-code
6b08641177b1265e596a0ea047548b9de56e34e8c030ab6291d0ab15095338a7
package me.ccrama.redditslide.Activities; import android.app.Activity; import android.content.SharedPreferences; import android.os.Bundle; import java.net.MalformedURLException; import java.net.URL; import me.ccrama.redditslide.SettingValues; /** * Created by ccrama on 9/28/2015. */ public class MakeExternal exte...
Java
app/src/main/java/me/ccrama/redditslide/Activities/MakeExternal.java
ccrama/Slide
gpl-3.0
972
34
codeparrot/github-code
5ecad42bfc02bce543b6fd53980b5d1e272efdbc93d3a92302adca169a4a05dc
#include<bits/stdc++.h> using namespace std; #define pii pair<int,int> #define pip pair<int,pii> #define ff first #define ss second #define FOR(i,n) for(int i=0; i<(int)n ;i++) #define REP(i,a,n) for(int i=a;i<(int)n;i++) #define pb push_back #define mp make_pair typedef ...
C++
SPOJ/SEGSQRSS.cpp
ProgDan/maratona
gpl-3.0
3,479
160
codeparrot/github-code
1d76d9327d4a99f5b43f4abc54dc7f106cef3b7e4cd5c4355fc102a6a9c5462d
/* * Copyright 2013-2014 Giulio Camuffo <giuliocamuffo@gmail.com> * * This file is part of Orbital * * Orbital 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++
src/client/services/mixer/pulseaudiomixer.cpp
giucam/orbital
gpl-3.0
5,443
193
codeparrot/github-code
3478001740575d6808c6b3c8df19ed534b543e1d497f39c7937bca1d27c19ab1
#!/usr/bin/env python ################################################## # Gnuradio Python Flow Graph # Title: Clock offset corrector # Author: Piotr Krysik # Generated: Wed Nov 19 08:38:40 2014 ################################################## from gnuradio import blocks from gnuradio import filter from gnuradio imp...
Python
python/misc_utils/clock_offset_corrector.py
martinjlowm/gr-gsm
gpl-3.0
4,498
101
codeparrot/github-code
94c9e511a356263ea3b5bbea18fdc024888fc06c1926439e9dca9b29f26d8696
// ================================================================== // @(#)dp_rules.c // // @author Bruno Quoitin (bruno.quoitin@uclouvain.be) // @date 13/11/2002 // $Id: dp_rules.c,v 1.23 2009-08-04 06:06:10 bqu Exp $ // // C-BGP, BGP Routing Solver // Copyright (C) 2002-2008 Bruno Quoitin // // This program is free...
C
src/bgp/dp_rules.c
lvanbever/cbgp
gpl-3.0
25,536
865
codeparrot/github-code
3458895ed15419f2041a01d884b5f538ca7b5704a591abb5edcbeb2c90c713a0
#define GLM_ENABLE_EXPERIMENTAL #include <glm/gtc/noise.hpp> #include <glm/gtc/type_precision.hpp> #include <glm/gtx/raw_data.hpp> int test_simplex() { int Error = 0; glm::u8vec4 const PixelSimplex2D(glm::byte(glm::abs(glm::simplex(glm::vec2(0.f, 0.f))) * 255.f)); glm::u8vec4 const PixelSimplex3D(glm::by...
C++
external/glm-0.9.9.2/test/gtc/gtc_noise.cpp
rktrlng/rt2d
gpl-3.0
1,472
49
codeparrot/github-code
f005508831ff5503b8bf018eeb997c59713821adf111d13cf961b4797b1bb4d7
package br.org.otus.laboratory.project.builder; import java.util.ArrayList; import java.util.List; import org.bson.Document; import org.bson.conversions.Bson; import com.google.gson.GsonBuilder; public class ExamResultQueryBuilder { private ArrayList<Bson> pipeline; public ExamResultQueryBuilder() { this....
Java
source/otus-persistence/src/main/java/br/org/otus/laboratory/project/builder/ExamResultQueryBuilder.java
ccem-dev/otus-api
gpl-3.0
2,339
85
codeparrot/github-code
ead7c9ed1498e57ebf90118db484640d11f000684768a4fa9c737dc5ea8324b9
/*************************************************************************** SRC/MIXMOD/XEMOutputControler.cpp description copyright : (C) MIXMOD Team - 2001-2011 email : contact@mixmod.org ******************************************************************...
C++
lib/src/mixmod/MIXMOD/XEMOutputControler.cpp
openturns/otmixmod
gpl-3.0
5,794
210
codeparrot/github-code
67344a09da06f2d17f0e4dee65227b20c6750e0ebf25940bb4d6fea324737559
/* * This file is part of Pentachoron. * * Pentachoron 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. * * Pentachoron is dis...
C++
src/culling.cpp
ekpyron/pentachoron
gpl-3.0
3,808
150
codeparrot/github-code
d138e5140cc6fa1b01e03e32a0702b554c2d1ba0aa992e3e4ecafacce1ec7293
package scheduler import ( "fmt" "github.com/jonaz/astrotime" "os/exec" "strconv" "time" ) func isSunset(latitude float64, longitude float64) bool { t := astrotime.NextSunset(time.Now(), latitude, longitude) // tzname, _ := t.Zone() // fmt.Println(tzname) // fmt.Printf("The next sunrise is %d:%02d %s on %d/%...
GO
scheduler/scheduler.go
icecreammatt/gopherwink
gpl-3.0
1,839
61
codeparrot/github-code
e0f142e627ba5eeeedc0e4fb21003df137f6ce2e88ee24a467d3ca7bb84d182f
package greymerk.roguelike.dungeon.settings; import java.util.Collection; import java.util.Random; import greymerk.roguelike.config.RogueConfig; import greymerk.roguelike.util.WeightedChoice; import greymerk.roguelike.util.WeightedRandomizer; import greymerk.roguelike.worldgen.Coord; import greymerk.roguelike.worldge...
Java
src/main/java/greymerk/roguelike/dungeon/settings/SettingsResolver.java
Greymerk/minecraft-roguelike
gpl-3.0
4,942
155
codeparrot/github-code
019cded31520c7821271f20edbbbe134bf0cab49938a4cee673ae9419b3efae7
package de.uni_koeln.spinfo.textengineering.ir.eval; import java.util.ArrayList; import java.util.List; import de.uni_koeln.spinfo.textengineering.ir.basic.Work; import de.uni_koeln.spinfo.textengineering.ir.boole.PositionalIndex; import de.uni_koeln.spinfo.textengineering.ir.preprocess.Preprocessor; /* * Erstellun...
Java
ir2017/src/main/java/de/uni_koeln/spinfo/textengineering/ir/eval/GoldStandard.java
claesn/ir2017
gpl-3.0
1,250
45
codeparrot/github-code
e04dca382586a56a8533442a25307b24f3afb6bf317140307b417a145f1aae4c
import { check } from "meteor/check"; import processDoc from "./processDoc"; /** * getDoc * fetch repo profile from github and store in RepoData collection * @param {Object} doc - mongo style selector for the doc * @returns {undefined} returns */ function getDoc(options) { check(options, Object); // get ...
JavaScript
packages/redoc-core/server/methods/getDoc.js
reactioncommerce/redoc
gpl-3.0
875
41
codeparrot/github-code
db130e33d13d81e7245b8abf8e0fb86d787b1ad7f86575e6db45026d459af557
package ahmad.aghazadeh.recyclerviewcardview.logic; import android.databinding.BindingAdapter; import android.databinding.BindingConversion; import android.graphics.Bitmap; import android.graphics.Typeface; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.os.Bui...
Java
app/src/main/java/ahmad/aghazadeh/recyclerviewcardview/logic/BindingCustom.java
ahmadaghazadeh/recyclerviewcardview
gpl-3.0
2,117
61
codeparrot/github-code
10457eb1c941f73728d3ad958a2e17291e821af45fce25fb3def97e3be6008f9
require 'rails/generators/named_base' require 'rails/generators/resource_helpers' module Rails module Generators class JbuilderGenerator < NamedBase include Rails::Generators::ResourceHelpers source_root File.expand_path('../templates', __FILE__) argument :attributes, type: :array, default: [...
Ruby
jbuilder_generator.rb
dima4p/rails4_jbuilder_with_rspec_generator
gpl-3.0
2,160
72
codeparrot/github-code
12f6d07cd2798990d647c15af1f1864673296c0c7c397e5a93c14645182dd5c3
package com.gustavomaciel.enterprise; import com.badlogic.gdx.utils.Array; import com.gustavomaciel.enterprise.CollisionGroups.CollisionGroup; /** * Created by Gustavo on 5/22/2016. */ public class CollisionResolver { public static void checkAndResolve(Array<Entity> entities) { for(int i = 0, s = entiti...
Java
core/src/com/gustavomaciel/enterprise/CollisionResolver.java
tavomaciel/games-for-enterprise-programmers
gpl-3.0
1,986
42
codeparrot/github-code
1f50ccd0a94fa84ec318a8dbe76047e26a051a926d181c16e3e4be524fd4e688
/* * Copyright (c) 2013 Qualcomm Atheros, Inc.. * All Rights Reserved. * Qualcomm Atheros Confidential and Proprietary. */ #include "qcom_common.h" #include "threadx/tx_api.h" #include "qcom_cli.h" #include "threadxdmn_api.h" #include <aj_target.h> #include "aj_status.h" #include "aj_wifi_ctrl.h" TX_THREAD ho...
C
target/demo/aj/alljoyn/applications/sample_apps/tcl/ServicesSamples/target/aj_qca4004/aj_ServiceSample/aj_ServiceSample.c
dengcj0/QCA4010
gpl-3.0
3,229
125
codeparrot/github-code
8285be81e136a1b96a687095a5e157d8d4373eb1fc429fb5302277c642bc7c4a
// Decompiled with JetBrains decompiler // Type: System.Xml.Serialization.CaseInsensitiveKeyComparer // Assembly: System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // MVID: 50ABAB51-7DC3-4F0A-A797-0D0C2D124D60 // Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Xml.dl...
C#
LoCO Client Files/Decompressed Client/Extracted DLL/System.Xml/System/Xml/Serialization/CaseInsensitiveKeyComparer.cs
mater06/LEGOChimaOnlineReloaded
gpl-3.0
973
34
codeparrot/github-code
c014d9f9001ab8245c4938d97739dff7c6e448d42135e4da9f54b9af4707060e
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ /* Sonic Visualiser An audio file viewer and annotation editor. Centre for Digital Music, Queen Mary, University of London. This file copyright 2006 Chris Cannam. This program is free software; you can redistribute ...
C++
svcore/base/TempDirectory.cpp
praaline/Praaline
gpl-3.0
7,104
279
codeparrot/github-code
87d9e4171937a7535923af87454c8f969697c1e122a3684b7093559c7327a01b
package service; import java.util.List; import java.util.Map; import util.DataBaseUtils; public class ArticleService { /** * 通过类别获取文章列表 * @param categoryId * @param start * @param end */ public List<Map<String,Object>> getArticlesByCategoryId(Integer categoryId,Integer start,Integer end)...
Java
src/service/ArticleService.java
DannyHui/Article
gpl-3.0
1,018
34
codeparrot/github-code
ca65d8ed6cda86c7e32482f3c9bd9d854f2cb58d0ae22643ef7f8e46f75acd9c
/* * Copyright (C) 2000 - 2008 TagServlet Ltd * * This file is part of Open BlueDragon (OpenBD) CFML Server Engine. * * OpenBD is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * Free Software Foundation,version 3. * * Open...
Java
src/com/naryx/tagfusion/cfm/xml/ws/dynws/StubInfo.java
OpenBD/openbd-core
gpl-3.0
4,431
191
codeparrot/github-code
3097e4cdab201c5975c73267a660274c2b93b16737267d7629ca82a861435f5d
<?php /** * Ludus.php * * @package Embera * @author Michael Pratt <yo@michael-pratt.com> * @link http://www.michael-pratt.com/ * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Embera\Provider; use Embera\Url; /** *...
PHP
src/library/mpratt/embera/src/Embera/Provider/Ludus.php
OSTraining/OSEmbed
gpl-3.0
2,084
81
codeparrot/github-code
72ca6e1157af74700bb0168fdc4ff0b92f4f87ebdc93da089ed13c9726945586
/* * MMSE_SENIA_IU.h * This routine performs MMSE detection with SENIA and IU * Created on: Mar 16, 2016 * Author: tianpei.chen@mail.mcgill.ca */ #ifndef MMSE_SENIA_IU_H_ #define MMSE_SENIA_IU_H_ #include "SENIA.h" #include "IU.h" void MMSE_SENIA_IU(gsl_vector_complex *preceived, gsl_matrix_complex *pH, d...
C
source code/MMSE_SENIA_IU.h
PrestonChen/Integrated-Simulation-Platform-for-LS-MIMO-uplink-detection
gpl-3.0
2,566
66
codeparrot/github-code
e13eafdd448dd7669fcb95803c0b3a36b2aaac4c4221e97493ea2875eea0efbb
package net.infernalized.infernalutils.client.gui; import cpw.mods.fml.client.IModGuiFactory; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiScreen; import java.util.Set; public class GuiFactory implements IModGuiFactory { @Override public void initialize(Minecraft minecraftInstan...
Java
src/main/java/net/infernalized/infernalutils/client/gui/GuiFactory.java
Infernalized/InfernalUtils
gpl-3.0
681
31
codeparrot/github-code
b97a420f045b399136a505a734343356f5c7a85e0dccc8ce75e20083f1df457e
#!/usr/bin/python import numpy as np mdir = "mesh3d/" fname = "out_p6-p4-p8" #################### print "input mesh data file" f1 = open(mdir+fname+".mesh", 'r') for line in f1: if line.startswith("Vertices"): break pcount = int(f1.next()) xyz = np.empty((pcount, 3), dtype=np.float) for t in range(pcount): xyz...
Python
mesh2vtk.py
jrugis/cell_mesh
gpl-3.0
2,909
102
codeparrot/github-code
ca7ea7f0f52b3681d4d335260518beeadf14393369c761074b4bec0008b7ad35
/******************************************************************************* * Copyright (c) 2012 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 Licen...
Java
opal-gwt-client/src/main/java/org/obiba/opal/web/gwt/app/client/administration/presenter/RequestAdministrationPermissionEvent.java
apruden/opal
gpl-3.0
1,805
56
codeparrot/github-code
9dcc670bc482b8cacbd6c2d58d31da1920a44a74738b20ee88e921b7103180df
package fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses; public class R_get_universe_systems_system_id { /** * The constellation this solar system is in */ public int constellation_id; /** * name string */ public String name; /** * planets array */ ...
Java
model/esi/JCESI/src/generated/java/fr/guiguilechat/jcelechat/model/jcesi/compiler/compiled/responses/R_get_universe_systems_system_id.java
guiguilechat/EveOnline
gpl-3.0
2,884
91
codeparrot/github-code
aa82f31b0b4b925014a5100d414875bf8ca30f3fb264257426a0062128913b27
#ifndef DECOMPRESSOR_HPP #define DECOMPRESSOR_HPP #include <unordered_map> #include <queue> // #include <memory> #include <iostream> #include <fstream> #include <cassert> #include <queue> // #include "InputBuffer.hpp" #include "OffsetsStream.hpp" #include "EditsStream.hpp" #include "ClipStream.hpp" #include "ReadIDS...
C++
include/decompress/Decompressor.hpp
Kingsford-Group/referee
gpl-3.0
22,429
708
codeparrot/github-code
550a2deee7b280ee96a695b7b153a95d400e11a92a31f7918c24477651a63ba5
import csv import decimal import os import datetime from stocker.common.events import EventStreamNew, EventStockOpen, EventStockClose from stocker.common.orders import OrderBuy, OrderSell from stocker.common.utils import Stream class CompanyProcessor(object): def __init__(self, dirname, company_id): self....
Python
stocker/SEP/processor.py
donpiekarz/Stocker
gpl-3.0
3,868
113
codeparrot/github-code
fcc39cc0a194440fd3c0feb9d648603bb2038a91c791d7ad05c0b651ecc92175
package com.gmail.altakey.ray; import android.app.Activity; import android.os.Bundle; import android.os.Parcelable; import android.net.Uri; import android.content.Intent; import android.widget.Toast; import android.util.Log; import android.net.http.AndroidHttpClient; import org.apache.http.client.methods.HttpPost; im...
Java
src/com/gmail/altakey/ray/EnqueueActivity.java
taky/ray
gpl-3.0
10,120
268
codeparrot/github-code
fd4441621f15269884be55f66f36de5c9b8abc841148257429fec8d972ae90d9
package br.edu.utfpr.cm.pi.controller; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.H...
Java
src/main/java/br/edu/utfpr/cm/pi/controller/LoginUsuarioServlet.java
sergioramossilva/Sistema-Pagamento-RU
gpl-3.0
1,740
53
codeparrot/github-code
72a2f1f82786e2afcccd7efc765040e5ffbf1e6fe5777027094febcbbfda0901
/* * GrGen: graph rewrite generator tool -- release GrGen.NET 4.4 * Copyright (C) 2003-2015 Universitaet Karlsruhe, Institut fuer Programmstrukturen und Datenorganisation, LS Goos; and free programmers * licensed under LGPL v3 (see LICENSE.txt included in the packaging of this file) * www.grgen.net */ // by Edgar...
C#
engine-net-2/src/lgspBackend/InterpretationPlanBuilder.cs
jblomer/GrGen.NET
gpl-3.0
39,542
851
codeparrot/github-code
c55f664e6d3efff92bad618050ae92c7efa0cf949ae9467cc3957857527c697f
using System; using Org.BouncyCastle.Asn1.Pkcs; namespace Org.BouncyCastle.Asn1.Smime { public class SmimeCapability : Asn1Encodable { /** * general preferences */ public static readonly DerObjectIdentifier PreferSignedData = PkcsObjectIdentifiers.PreferSignedData; ...
C#
Sorlov.PowerShell/Lib/BouncyCastle/asn1/smime/SMIMECapability.cs
DSorlov/Sorlov.PowerShell
gpl-3.0
2,695
100
codeparrot/github-code
5616f9826395ef544fa70a47f528ae8f014ac2bb0e26e2de2c3a44ca240c472b
#ifndef __NTFS_H__ #define __NTFS_H__ #include <windows.h> #include <math.h> #include "list.h" #include "drive.h" #include "efs.h" #pragma pack(push, 1) // Блок параметров BIOS. typedef struct _BIOS_PARAMETER_BLOCK { WORD BytesPerSector; // Количество байт на сектор. BYTE SectorsPerCluster; // Коли...
C
efspr/sources/ntfs.h
ks-gayduk/efspr
gpl-3.0
11,386
278
codeparrot/github-code
198b8bc883847a28c69ac5fc9c02e282950117c69ceb92b893f038ec9ada2cc5
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace ProyectoFinalMacoRios { public class Garaje:Propiedades { string abierto; string bodega; public string Abierto { get { return abierto; ...
C#
ProyectoFinalMacoRios/ProyectoFinalMacoRios/Garaje.cs
MacoRios1/ProyectoFinalM
gpl-3.0
625
40
codeparrot/github-code
cbc60e486d7a7b5b5588ffd5a3b7c418832084c561dc2f9e2943c5310bcd5eb4
<?php namespace reservas\Http\Controllers\Auth; use reservas\User; use reservas\Rol; use Validator; use reservas\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ThrottlesLogins; use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Inp...
PHP
app/Http/Controllers/Auth/AuthController.php
hgonzalezgaviria/diheke
gpl-3.0
7,867
309
codeparrot/github-code
a6967b8aa18b592f0c4cee3f4faaab673dcb9d3459cb387f8c38f9c55884338a
//////////////////////////////////////////////////////////////////////////// // Created : 04.03.2010 // Author : Armen Abroyan // Copyright (C) GSC Game World - 2010 //////////////////////////////////////////////////////////////////////////// #ifndef TERRAIN_MANAGER_H_INCLUDED #define TERRAIN_MANAGER_H_INCLUDED #in...
C
xray/render/common/sources/terrain.h
hpl1nk/nonamegame
gpl-3.0
3,042
100
codeparrot/github-code
53587ccbbc7849d66c0e03987b18e9c66463819244595c2d3312a446c950b288
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace ptConfigurator { public partial class frmConnect : Form { int iProgressCounter = 0; public frmConnect() { ...
C#
ptConfigurator/frmConnect.cs
custom-ds/arduinotrack-configurator
gpl-3.0
964
37
codeparrot/github-code
b6fa59a419fc23b1118374b47f98c9cc5fd0672c89ac6043c26504bb6cfc808c
package Aula_4.Carro; import java.awt.Graphics2D; public class RodaAros extends Roda { int n; public RodaAros(int n, int raio, int xi, int yi) { super(raio, xi, yi, 0); this.n = n; } /*public RodaAros(int xi, int yi) { super(17, xi, yi, 0); n = 8; raio = 17; }*/ public void dra...
Java
src/Aula_4/Carro/RodaAros.java
mini890/2D-Computer-Graphics
gpl-3.0
818
40
codeparrot/github-code