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
4116a8e266ed82543beffbab8d834cce6b9b3d832e38490feba005f31ec89c18
package fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses; import fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.structures.get_characters_character_id_medals_status; public class R_get_characters_character_id_medals { /** * corporation_id integer */ public int corporation_i...
Java
model/esi/JCESI/src/generated/java/fr/guiguilechat/jcelechat/model/jcesi/compiler/compiled/responses/R_get_characters_character_id_medals.java
guiguilechat/EveOnline
gpl-3.0
2,716
86
codeparrot/github-code
d2b61ee21aad15484acb49f13f5bd8c96453056c1f786c3d94f26831a6e42b1f
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <!-- This is the GNU Emacs Lisp Reference Manual corresponding to Emacs version 25.1. Copyright © 1990-1996, 1998-2016 Free Software Foundation, Inc...
HTML
aquamacs/doc/Aquamacs Help/EmacsLispReference/Mouse-Position.html
davidswelt/aquamacs-emacs
gpl-3.0
10,355
271
codeparrot/github-code
6552aadc519022a1ff11d319ad0f5d63e92e4ea5dadc8748b47e134d4dd42a33
from trueskill import TrueSkill, Rating, rate import argparse import requests from datetime import datetime #from pytba import api as tba class FrcTrueSkill: def __init__(self): self.env = TrueSkill(draw_probability=0.02) self.trueskills = {} self.events = {} self.get_previous_matc...
Python
frc_trueskill.py
Ninjakow/TrueSkill
gpl-3.0
3,512
94
codeparrot/github-code
34415aba05d87071126a2e347d5750aa572200d70557f1bcd73ed5e9e20f1c2f
/* * SandBox_require.cpp * * Created on: Jun 7, 2017 * Author: lion */ #include "object.h" #include "SandBox.h" #include "path.h" namespace fibjs { v8::Local<v8::Value> SandBox::get_module(v8::Local<v8::Object> mods, exlib::string id) { Isolate* isolate = holder(); v8::Local<v8::String> strEntry =...
C++
fibjs/src/sandbox/SandBox_require.cpp
xicilion/fibjs
gpl-3.0
4,474
158
codeparrot/github-code
3b51f91b778ac62a857c10cd57393d4c005790a0fcc7ff9594cb9a93353f57eb
/************************************************************************* * Copyright 2009-2013 Eucalyptus Systems, 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; version 3 of the ...
Java
clc/modules/cloudformation/src/main/java/com/eucalyptus/cloudformation/resources/standard/actions/AWSIAMInstanceProfileResourceAction.java
davenpcj5542009/eucalyptus
gpl-3.0
7,659
164
codeparrot/github-code
3db3529c66d706815b4a09023cd2fcf9a4ec82565dcb49bdd2cad6b35d36f5f5
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. \\/ M anipulation | ---------------...
C++
src/lagrangian/molecularDynamics/general/distributions/radialDistribution/derived/rdfModel/rdfModel.H
MicroNanoFlows/OpenFOAM-2.4.0-MNF
gpl-3.0
3,348
138
codeparrot/github-code
64dd45c32efea22c685c95917f482c4b896939a3c48794f6d89484a43b6ccfe2
package FAtiMA.socialRelations; import java.io.File; import java.io.Serializable; import java.util.ArrayList; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; import FAtiMA.Core.AgentModel; import FAtiMA.Core.Display.AgentDisplayPanel; import FAtiMA.Core.componentTypes.IAppra...
Java
AgentMind/branches/FAtiMA-Modular/FAtiMA.SocialRelations/src/FAtiMA/socialRelations/SocialRelationsComponent.java
nurv/lirec
gpl-3.0
7,525
235
codeparrot/github-code
946d41f7a5ceb9105ed202cdb54772c2429834eea780c688743fde12563d2e9f
<?php /* ====================================================== Activacion de estilos y scripts ====================================================== */ function redlece_script_enqueue() { wp_enqueue_style('redlece-material-icons', 'https://fonts.googleapis.com/icon?family=Material+Icons', array(), '', ...
PHP
functions.php
carloscarvallo/RedleceWpTheme
gpl-3.0
13,275
323
codeparrot/github-code
4d3128aa766f3ff617e3adee5f8319114dbdcabd9e6998849e34a3bec31f9bc0
# -*- coding: utf-8 -*- """ Terminal view. """ # system import os import sys # pipped if os.name != 'nt': from blessings import Terminal # color codes TERM_ORANGE = 0 TERM_RED = 1 TERM_GREEN = 2 TERM_YELLOW = 3 TERM_BLUE = 4 TERM_PINK = 5 TERM_CYAN = 6 class TerminalView: """ Terminal view to basic CLI inf...
Python
projy/TerminalView.py
stephanepechard/projy
gpl-3.0
997
47
codeparrot/github-code
d9cb1e4336f11a362ec7f896c0dc37ad5f64d4171cd3360449de028001cff2ed
package DiscoveryService; import mil.army.cpi.ba4.discoveryLib.AbstractDiscoveredSystem; public class DiscoveryService extends AbstractDiscoveredSystem{ private int URN; private long Timestamp; SelfIdentity identity; //SelfIdentity private int systemType; private int platformType; priva...
Java
aci/java/DiscoveryService/DiscoveryService.java
ihmc/nomads
gpl-3.0
5,849
173
codeparrot/github-code
833c405aea8075ca93baa377b042e9d7e3b2f6178ab1670e853eddea77ae8952
//====================================================================================================================== // // This file is part of waLBerla. waLBerla 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 F...
C
src/field/CellCounter.h
lssfau/walberla
gpl-3.0
8,474
248
codeparrot/github-code
cfb13b4065d0ca32ed32f2c6f8868d4d9de9e006bf9cee1e9d02a724e2634821
/* * Cryptographic API. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; withou...
C
crypto/lzo.c
williamfdevine/PrettyLinux
gpl-3.0
2,676
126
codeparrot/github-code
5d89d3dd187ce4a81422320ef7f89d2dd439f6bcacff5284d6b1540ee9409f96
# -*-coding: utf-8-*- from sqlalchemy import ( Column, Integer, String, Table, ForeignKey, ) from sqlalchemy.orm import relationship, backref from sqlalchemy.ext.hybrid import hybrid_property from ..models import ( DBSession, Base ) employee_contact = Table( 'employee_contact', B...
Python
travelcrm/models/employee.py
mazvv/travelcrm
gpl-3.0
6,963
322
codeparrot/github-code
b4033434e0d9651477c5836a6e29c9ebec32612f25709ab61d4047d8d174509e
package de.konfetti.controller; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import de.konfetti.controller.mapper.ChatMapper; import de.konfetti.controller.mapper.NotificationMapper; import de.konfetti.controller.mapper.PartyMapper; import de.konf...
Java
src/main/java/de/konfetti/controller/PartyController.java
rootzoll/konfetti-api
gpl-3.0
63,570
1,188
codeparrot/github-code
3d7d47ced7ea0c201636f0796de02e6f7606bc581fdaf4473336550a95d67bdc
#!/bin/bash # parameters source parameter data_tag='DATA_obs' velocity_dir=$1 SAVE_FORWARD=false # local id (from 0 to $ntasks-1) if [ $system == 'slurm' ]; then iproc=$SLURM_PROCID elif [ $system == 'pbs' ]; then iproc=$PBS_VNODENUM fi #iproc=${OMPI_COMM_WORLD_RANK} # allocate tasks over all sources # nta...
Shell
seisDD/scripts/prepare_data.sh
yanhuay/seisDD
gpl-3.0
2,376
65
codeparrot/github-code
80c705285c354e7e7cfe42fd3875d0e21047fc21619c107d714d941c82c9f250
// Decompiled with JetBrains decompiler // Type: MongoDB.Bson.Serialization.Serializers.ThreeDimensionalArraySerializer`1 // Assembly: MongoDB.Bson, Version=1.6.1.21837, Culture=neutral, PublicKeyToken=f686731cfb9cc103 // MVID: 93880221-3735-46FB-8891-84D897158E28 // Assembly location: C:\Users\CGA Computer\Desktop\LE...
C#
LoCO Client Files/Decompressed Client/Extracted DLL/MongoDB.Bson/Serialization/Serializers/ThreeDimensionalArraySerializer`1.cs
mater06/LEGOChimaOnlineReloaded
gpl-3.0
5,883
134
codeparrot/github-code
01c8bb1d52de70ec0af077fc51f5584ffb5fd01471cb72f79fdd249a722744de
import datetime from jinja2 import Environment, PackageLoader from mailer import Mailer, Message from models.config import config from models.jobrunhistory import jobrunhistory from lib.jinjafilters import jinjafilters from lib.logger import logger class statusemail(): jobrunhistory = None history = None ...
Python
src/lib/statusemail.py
Nextpertise/autorsyncbackup
gpl-3.0
11,943
267
codeparrot/github-code
e0432c7c1c6207967fc0eba50d1790d2af36c1468e1b33cc6881598089ef43b0
/* * Copyright (C) 2008-2010 Institute for Computational Biomedicine, * Weill Medical College of Cornell University * * 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
test-src/org/bdval/io/compound/TestCompoundFile.java
CampagneLaboratory/bdval
gpl-3.0
9,872
257
codeparrot/github-code
ff9663d077ff69a0ccfd58f6294517ada62b3f1b27484feb786ec4a37c9a6905
package com.fuav.android.core.drone; import android.content.Context; import android.os.Bundle; import android.os.Handler; import android.text.TextUtils; import android.util.Log; import com.MAVLink.MAVLinkPacket; import com.MAVLink.Messages.MAVLinkMessage; import com.MAVLink.ardupilotmega.msg_mag_cal_progress; import ...
Java
Android/src/com/fuav/android/core/drone/DroneManager.java
forgodsake/TowerPlus
gpl-3.0
24,652
674
codeparrot/github-code
0c1f5c22658f0bfebe0efa8d1c9911894421d2754f5313af4bb12f9eed9f320c
package be.kzen.ergorr.model.rim; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; /** * Abstract Base type for all types of Actions. * * <p>Java class for ActionType complex t...
Java
ErgoRR/ErgoRR-jaxb/src/main/java/be/kzen/ergorr/model/rim/ActionType.java
IntecsSPA/buddata-ebxml-registry
gpl-3.0
819
37
codeparrot/github-code
cb2d396a967aee8e9889ea0635b2594f12bd2c2b859d7f3fdd560df3c35249ef
/* * 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...
Java
library/src/main/java/com/pokegoapi/api/gym/Battle.java
Grover-c13/PokeGOAPI-Java
gpl-3.0
33,367
1,096
codeparrot/github-code
3f791be3821fa5f80945fa3ce753a7487758287bee11f2322f67066a02e59319
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html><head><title></title> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <link rel="stylesheet" type="text/css" href="search.css"/> <script type="text/javascript" src="search...
HTML
doc/html/search/all_61.html
andijakl/nfcinteractor
gpl-3.0
9,170
120
codeparrot/github-code
f5be59673452968dd3a3b0a58c8713ae00812ab13ab316ee95a0b7c84a035b26
#region License Information /* HeuristicLab * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) * * This file is part of HeuristicLab. * * HeuristicLab 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#
HeuristicLab.Problems.Instances.CFG/BenchmarkSuite/XWordLines.cs
t-h-e/HeuristicLab.CFGGP
gpl-3.0
7,196
153
codeparrot/github-code
64f670b2327e27fec0eb6d20ea4ea76948d08055100f672d966869913807f9df
#!/usr/bin/env python # -*- coding: utf-8 -*- import unittest import re import writeXml import io import logging import collections import os from mutagen.mp3 import MP3 dictionary = { 'eng': [u'and', u'of', u'the', u'to', u'and' , u'from'], 'fra': [u'et']} def maxSplit(language, p): ...
Python
split.py
DarthVeder/daFre
gpl-3.0
12,276
311
codeparrot/github-code
5bb8e010bf861fff2d861a060eac1d2b0506600a9c799052e56f41b775119060
package nano.Mobo.Sens; import com.LiuLab.Mobo.Sens.R; import android.app.Dialog; import android.app.ProgressDialog; import android.graphics.Bitmap; import android.graphics.Color; import android.graphics.Typeface; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.util.Log; import and...
Java
src/nano/Mobo/Sens/TwitterDialog.java
WuhanMonkey/MoboSensAndroid
gpl-3.0
5,024
153
codeparrot/github-code
be9aafcb931ec3be09d64923f701eeef876d37c84fe41f59f287873f9c8ebf36
//===--- BackendUtil.cpp - LLVM Backend Utilities -------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
C++
external/clang/lib/CodeGen/BackendUtil.cpp
s20121035/rk3288_android5.1_repo
gpl-3.0
22,232
613
codeparrot/github-code
65ee4c7698f1301933498132c9295512b6ac13bfc432c2e6f070fa434073c3e1
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * 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. * * T...
Java
src/com/watabou/pixeldungeon/items/armor/MageArmor.java
rodriformiga/pixel-dungeon
gpl-3.0
2,642
87
codeparrot/github-code
af3569fcba9bf2da3cf4114265e7aba8f0802bbbe5a5bdc091d8bf91bda953c3
using System; using System.Linq; using ExorAIO.Utilities; using EloBuddy; using LeagueSharp.SDK; using LeagueSharp.SDK.Core.Utils; using LeagueSharp.Data.Enumerations; using SharpDX; using Geometry = ExorAIO.Utilities.Geometry; namespace ExorAIO.Champions.MissFortune { /// <summary> /// The logics class. ...
C#
Dual-Port/Exory/ExorMissFortune/Properties/Modes/PvP/Killsteal.cs
concko/PortAIO
gpl-3.0
6,441
135
codeparrot/github-code
39fc2bc29ad29aa05843c6085630a0716d1fe652df35247d332c53cb7dfdece3
/** * Jergus Lysy (374217) * Zadanie 3 */ #include <stdio.h> #include <unistd.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #include <openssl/ssl.h> #include <openssl/err.h> #define POP3_PORT 995 int main(int argc, char *argv[]) { char buf[256]; int sockfd; int e...
C
labak/02/ssl_client.c
j3rgus/assignments
gpl-3.0
1,657
93
codeparrot/github-code
c31b60ca1ee5f9468f5decb11400b0eaa3bcc6c151ef3ca8df414600e8b3bfbe
// Copyright 2018 The NATS Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
C
externals-win/cnats/1.8.0/sources/src/stan/msg.c
ihmc/nomads
gpl-3.0
2,921
128
codeparrot/github-code
adb9db278855b67dba342d1339daf1e383bc8786d7e290cb76eec7ee7ff35293
----------------------------------- -- Area: Sealion's Den -- NPC: Iron Gate -- !pos 612 132 774 32 ----------------------------------- require("scripts/globals/teleports"); require("scripts/globals/missions"); require("scripts/globals/titles"); require("scripts/globals/bcnm"); ----------------------------------- fun...
Lua
scripts/zones/Sealions_Den/npcs/_0w0.lua
m3rlin87/darkstar
gpl-3.0
1,320
47
codeparrot/github-code
e42473276e5177445623e96a1e23dcb06609adfa9f0bafacde70006117fb9e12
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerStone : MonoBehaviour { // Use this for initialization void Start() { theStateManager = GameObject.FindObjectOfType<StateManager>(); targetPosition = this.transform.position; } ...
C#
Assets/Scripts/PlayerStone.cs
quill18/TheRoyalGameOfUr3D
gpl-3.0
10,870
372
codeparrot/github-code
d5853324173896d20d2d8a8b21d2eeb50069823a9d5573711c9c4377763245c8
/** <module> polyhedra_optimizations This module implements some predicates to optimize polyhedral operations. These optimizations are based on separating the sets of constraints into independent subsets and operating with each of the subsets independently. This is specially effective for operations that involve...
Perl
src/utils/polyhedra_optimizations.pl
aeflores/CoFloCo
gpl-3.0
12,306
283
codeparrot/github-code
76523d5e0f87d9fb31c0a61d6021727f7b5be7508cf958f4efd94357224603ea
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <!-- This file documents IDLWAVE, a major mode for editing IDL files with Emacs, and interacting with an IDL shell run as a subprocess. This is edit...
HTML
aquamacs/doc/Aquamacs Help/misc/idlwave.html/The-IDLWAVE-Major-Mode.html
davidswelt/aquamacs-emacs
gpl-3.0
7,696
247
codeparrot/github-code
98390c894fc50181e1d205643190b1c612b7df87184856397bbe86ab873bb445
<!DOCTYPE html> <html lang="en-us"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>JavaScript模块化开发</title> <meta name="description" content=" John Doe&#39;s Personal blog about everything"> <meta name="generator" content="Hugo 0.24" /> <meta property="og:titl...
HTML
public/2014/03/javascript模块化开发/index.html
wangchi/hugo-blog
gpl-3.0
17,088
362
codeparrot/github-code
e28c75f184cedc156c90ac906b307667a267e0bf08c57fa8964fcc54803cc9fa
/** * Copyright 2010 by Benjamin J. Land (a.k.a. BenLand100) * * This file is part of SJVM the Simple Java Virtual Machine. * * SJVM 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 ve...
C
Arrays.h
BenLand100/SJVM
gpl-3.0
1,735
70
codeparrot/github-code
78e45c995031287cf19417b1dbc2d3a452c7fb5e9e472c4238c93a62f478b46a
using UnityEngine; using System.Collections; using System.Collections.Generic; public class StoragesManager : Singleton<StoragesManager> { private Dictionary<string, Dictionary<int, Dictionary<string, object>>> dbCahes; public void Awake(){ Storages.OpenDB (); Instance = this; } public bool Ex...
C#
Scripts/Storages/Storages/StoragesManager.cs
minhdu/mfpscore
gpl-3.0
2,569
92
codeparrot/github-code
4a1b83b3949ccead48eb4c536f42c2080a7656a64607f569834031190c65dcbc
# (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible 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
lib/ansible/inventory/__init__.py
retr0h/ansible
gpl-3.0
15,950
455
codeparrot/github-code
d2c69a7b2306c0c236b79c9ee4b2aa208f9448c4e9f5fbba7d72093e27cbc685
<?php class ControllerCheckoutCoupon extends Controller { public function index() { if ($this->config->get('coupon_status')) { $this->load->language('checkout/coupon'); $data['heading_title'] = $this->language->get('heading_title'); $data['text_loading'] = $this->language->get('text_loading'); ...
PHP
catalog/controller/checkout/coupon.php
vincentgy/rubys
gpl-3.0
2,110
68
codeparrot/github-code
89888a2551765b3f80d6dd6e61a812d6f41777d2f8a30787f723c25ab37a208e
package mpj_express_debugger; /* The MIT License Copyright (c) 2005 - 2013 1. SEECS National University of Sciences and Technology (NUST), Pakistan 2. Amjad Aziz (2013 - 2013) 3. Rizwan Hanif (2013 - 2013) 4. Mohsan Jameel (2013 - 2013) 5. Aamir Shafi (2005 -2013) 6. Bryan Carpenter (2005 - 2013) Permissio...
Java
lib/mpj-v0_44/debugger/src/mpj_express_debugger/RemoteMPJExpressTabGroup.java
statalign/statalign
gpl-3.0
2,339
69
codeparrot/github-code
6f1da91ba944a0b6724f2e2acabe80aa0cf74d0b457badc4fb6d75f033a21aea
package federation // // GangGo Federation Library // Copyright (C) 2017-2018 Lukas Matt <lukas@zauberstuhl.de> // // 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 Lice...
GO
apu_entity_like.go
ganggo/federation
gpl-3.0
3,515
132
codeparrot/github-code
020d58f80748c1120d8fc8522ea21c07e537491c06bf577d787ee80b8d1861a4
<?php /** * Admin Reports * * Functions used for displaying sales and customer reports in admin. * * @author WooThemes * @category Admin * @package WooCommerce/Admin/Reports * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } if ( ! class_exists( 'WC_Admi...
PHP
includes/admin/class-wc-admin-reports.php
paulwilde/woocommerce
gpl-3.0
5,068
172
codeparrot/github-code
6bc6cdd0e01ca6b594b333946c7c7d6616fa86a4eada8aae78c9b17625fa3eea
package main import ( "fmt" ) /*457. Circular Array Loop https://leetcode.com/problems/circular-array-loop/description/ You are given an array of positive and negative integers. If a number n at an index is positive, then move forward n steps. Conversely, if it's negative (-n), move backward n steps. Assume the ...
GO
leetcode/golang/lc457-circular-array-loop.go
openqt/algorithms
gpl-3.0
1,026
38
codeparrot/github-code
7d85e4a7df9337ae31477a0b5717c30105bd531a97b1b31167f63cdd1488183a
package de.uniwue.web.config; import java.util.concurrent.TimeUnit; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.http.CacheControl; import org.springframe...
Java
src/main/java/de/uniwue/web/config/MvcConfiguration.java
chreul/LAREX
gpl-3.0
1,845
54
codeparrot/github-code
747dd120787addff4c971faae2339a5a4cc58ceb6ba37e7c9de0e66769a2f302
/* * Copyright (C) 2016 Álinson Santos Xavier <isoron@gmail.com> * * This file is part of Loop Habit Tracker. * * Loop Habit Tracker 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 t...
Java
app/src/main/java/com/beakon/newheart/automation/FireSettingReceiver.java
seklum/NewHeart
gpl-3.0
3,266
115
codeparrot/github-code
c8b1df7558b53c5f973d53d2cdff2fbfb6548e5b11197c91f3c0a32838c7b284
#ifndef SOCKET_H #define SOCKET_H #include <stddef.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> class Socket{ private: int skt; public: //Dado un puerto y una ip, crea un socket. Socket(char* puerto, char* ip); //Destruye un socket (hace close). ...
C
src/Comun/socket.h
czarnia/Megaman
gpl-3.0
1,483
46
codeparrot/github-code
8d213804ef68ad8c2040b8696cb56f013d385f71b5aff8812e35aad6e2f4b672
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder #ifndef _CHRIF_H_ #define _CHRIF_H_ #include "../common/cbasetypes.h" #include <time.h> enum sd_state { ST_LOGIN, ST_LOGOUT, ST_MAPCHANGE }; struct auth_node { int account_id, char_id; int...
C
src/map/chrif.h
nornaro/nornaro
gpl-3.0
2,807
69
codeparrot/github-code
468bf9d69893b27786a891f196821fef8067b26d9c1963b5b1a3d970691c9c57
namespace InsuranceSystem.BLL.Services.Catalogs { using AutoMapper; using DTO.Catalogs; using Infrastructure; using Interfaces.Catalogs; using Library.Models.Catalogs; using System; using System.Collections.Generic; using UnitOfWork.Catalogs; using static Validation.CheckValues; ...
C#
InsuranceSystem.BLL/Services/Catalogs/VehicleService.cs
mishakos/InsuranceSystem.Library
gpl-3.0
4,916
146
codeparrot/github-code
f61bbb7dad734b3ba093ab2ffb1d84791883d071c832584843f398e7e2c68046
package bourgeoisarab.divinealchemy.common.item; import java.util.List; import net.minecraft.block.Block; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemBlock; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.S...
Java
src/main/java/bourgeoisarab/divinealchemy/common/item/ItemBlockBrewingCauldron.java
BourgeoisArab/DivineAlchemy
gpl-3.0
773
32
codeparrot/github-code
b73538ec5c15fd01f807cde84dc205a221647da49a004c4fa35fba406f41409b
'''Main simulation run: Simulation of a stationary bump.''' from __future__ import absolute_import, print_function, division from numpy.random import choice from nest.hl_api import NESTError from grid_cell_model.models.parameters import getOptParser from grid_cell_model.models.gc_net_nest import BasicGridCellNetwork ...
Python
grid_cell_model/simulations/common/simulation_stationary.py
MattNolanLab/ei-attractor
gpl-3.0
3,476
100
codeparrot/github-code
6595c947addd046e9a7572d9a217daa440ec554e262452d9f87f169f40400342
package de.luc1412.em.configuration; import de.luc1412.em.EasyMaintenance; import org.bukkit.configuration.file.YamlConfiguration; import java.io.File; import java.util.Map; /** * Created by Luc1412 on 03.10.2017 at 18:09 */ public class DefaultConfig { private File file = new File(EasyMaintenance.getInstance()....
Java
src/main/java/de/luc1412/em/configuration/DefaultConfig.java
Luc1412/EasyMaintenance
gpl-3.0
900
41
codeparrot/github-code
f3f27361729ceb1b87c56b51c3dca912cf7e44ec2b3977ad4966fcb3efbb49a1
/* * Copyright (C) 2012 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
C++
WebKit/Source/WebCore/editing/SurroundingText.cpp
cs-au-dk/Artemis
gpl-3.0
3,693
89
codeparrot/github-code
f6f1d8178dd3b49f52f1be20c5db7aa3d648c5d813dbaad033d0b92f0e1686dd
#include <iomanip> #include <iostream> #include <string> using namespace std; class papkaclass{ string name; double size; bool password; public: //Конструктор с полями по умолчанию papkaclass(string n="Новая папка", double s=0, bool p=false); //Деструктор ~papkaclass(); //Методы void info(); void ...
C++
Course III/УП/Лекции/Лекция 4/meow.cpp
GeorgiyDemo/KIP
gpl-3.0
1,138
64
codeparrot/github-code
b2228b3b67911f8e8bdd1e996099dc8184af14920fdf237d7576aad77cd9f942
# Author: Mr_Orange <mr_orange@hotmail.it> # URL: http://code.google.com/p/sickbeard/ # # This file is part of Sick Beard. # # Sick Beard 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...
Python
sickbeard/providers/piratebay/__init__.py
mozvip/Sick-Beard
gpl-3.0
15,509
404
codeparrot/github-code
a5807f1e3697f8540711b878d0780306423c8071783ea7b77b8a494a9881c1ad
using System.Collections.Generic; using ProceduralWorldGeneration.MythObjects; using ProceduralWorldGeneration.Generator; using ProceduralWorldGeneration.Main; using ProceduralWorldGeneration.Attributes; namespace ProceduralWorldGeneration.MythActions.CreateSapientSpeciesActions { class SetSpeciesType : MythActio...
C#
ProceduralWorldGeneration/ProceduralWorldGeneration/MythActions/CreateSapientSpeciesActions/SetSpeciesType.cs
Kordishal/ProceduralWorldGeneration
gpl-3.0
2,499
69
codeparrot/github-code
4d6e47fe54518f23a11dc82db1585f3db0ef473b182dee3abf4e2bab32ef4604
package schema import ( "entgo.io/ent" "entgo.io/ent/dialect/entsql" "entgo.io/ent/schema/edge" "entgo.io/ent/schema/field" "github.com/google/uuid" ) // Script holds the schema definition for the Script entity. type Script struct { ent.Schema } // Fields of the Script. func (Script) Fields() []ent.Field { re...
GO
ent/schema/script.go
gen0cide/laforge
gpl-3.0
1,773
67
codeparrot/github-code
7afe973ecbee8ff018fdd7b2564775eb1791ef4dbc72635a7fc4165d4d3ba0cf
/* Copyright 2013 PLP 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) any later version. This program is dis...
Java
src/plptool/ThreadSync.java
Progressive-Learning-Platform/PLPTool
gpl-3.0
1,382
75
codeparrot/github-code
ccafa847ebc7033306339d0f6e13704a103b5ecf6bf70e3752777f35a3a1579a
/* * Lumeer: Modern Data Definition and Processing Platform * * Copyright (C) since 2017 Lumeer.io, s.r.o. and/or its affiliates. * * 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 ...
TypeScript
src/app/shared/utils/array.utils.ts
livthomas/Lumeer-web-ui
gpl-3.0
2,801
82
codeparrot/github-code
b94d71ea28c5fabff4b72350c4acb36f568901a4394afd747d5aadb944046813
/* DA-NRW Software Suite | ContentBroker Copyright (C) 2015 LVR InfoKom 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 ver...
Java
ContentBroker/src/main/java/de/uzk/hki/da/core/IntegrityService.java
da-nrw/DNSCore
gpl-3.0
7,548
232
codeparrot/github-code
84cd7c86f8b06f80a1028b5319713d334a9b4c22a289eb9d1052361b6f1e8528
package at.dcosta.brew.io; import at.dcosta.brew.db.IOData; import at.dcosta.brew.db.IOLog; public abstract class AbstractRelay implements Relay { private final IOLog ioLog; private final String id; private boolean controlledManually; public AbstractRelay(String name, int pi4jPinNumber) { this.id ...
Java
brew-controller/src/at/dcosta/brew/io/AbstractRelay.java
coschtl/brew-controller
gpl-3.0
923
47
codeparrot/github-code
2f38950b5aa23389d910e97153de4e100bd808662db1fd10eddee984d52f5b6e
<?php class AdtracksTypesController extends GxController { public $displayMenu = true; public function filters() { return array( 'accessControl' ); // perform access control for CRUD operations } public function accessRules() { return array( array('allow', 'expres...
PHP
TGD/protected/controllers/AdtracksTypesController.php
thegooddata/webapp
gpl-3.0
2,196
97
codeparrot/github-code
9877e40dc7ac848120fa4e6222252a0cef66bf230de5c07ca4ed52f7a7c7766c
/* Copyright (C) 2012 by Olivier Delande my_first_name dot my_last_name at gmail dot com This file is part of QGameTrainer. QGameTrainer 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 vers...
C++
src/Client/Client/ProcessDialog.cpp
odelande/QGameTrainer
gpl-3.0
6,113
177
codeparrot/github-code
d8dcdab7ca2b6e24f94b7aeb9f1841267529219674c3d3d985094321ea636304
using System; using SmartStore.Core.Infrastructure; using System.Linq.Expressions; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SmartStore.Core.Data { public class DbContextScope : IDisposable { private readonly IDbContext _ctx; private readonly bool _autoDe...
C#
src/Libraries/SmartStore.Core/Data/DbContextScope.cs
smartstoreag/SmartStoreNET
gpl-3.0
3,190
111
codeparrot/github-code
c4926878fbb97a84cef55d6565192f7f9178d9560f64c2c4f219840e39b851f1
package berlin.meshnet.cjdns; import android.app.DialogFragment; import android.app.Fragment; import android.app.FragmentManager; import android.app.FragmentTransaction; import android.content.Intent; import android.content.res.Configuration; import android.content.res.TypedArray; import android.os.Bundle; import andr...
Java
src/main/java/berlin/meshnet/cjdns/MainActivity.java
sssemil/android-cjdns
gpl-3.0
9,816
266
codeparrot/github-code
eb0e05a09de6e9137cf8f68d94ae6b7f4d2b9cbc576417961b02a8866ace900c
/* This file is part of Mitsuba, a physically based rendering system. Copyright (c) 2007-2014 by Wenzel Jakob and others. Mitsuba 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. ...
C++
src/librender/vpl.cpp
amyspark/mitsuba
gpl-3.0
8,328
238
codeparrot/github-code
6e0c6f773fcf850fb366b5d8dcd25156b35546e073f7ce5d7ec1ccb4b6cc5e06
using System.Data; using System.Data.SqlClient; using System.Text; namespace Foundation.Data.SqlClient { public static class SqlParameterExtensions { public static string GetDataTypeName(this SqlParameter parameter) { var stringBuilder = new StringBuilder(); stringBuild...
C#
Foundation/.NetStandard-2.0/Data/SqlClient/SqlParameterExtensions.cs
csbernath/DataCommander
gpl-3.0
1,362
42
codeparrot/github-code
c3660ab852d858a8350e5e144001d46f14c43808d29d9a78f8d35cb8b3d09aba
package Client; public interface DefaultKeybinds { public final int CAMERA_TURN_LEFT = 1; public final int CAMERA_TURN_UP = 3; public final int CAMERA_TURN_RIGHT = 2; public final int CAMERA_TURN_DOWN = 4; public int[][] keybinds = { {0, 0}, {1, 1}, {2, 2}, {3, 3}, {4, 4}, {5, 5}, {6, 6}, ...
Java
src/Client/DefaultKeybinds.java
marmalmstudent/TestClient
gpl-3.0
2,260
139
codeparrot/github-code
1c74668e01000669d6d38d653dd9c0c844052bd5d8efb16c0eb66eed02a93ee0
using System; using System.IO; using System.Windows.Media.Imaging; using Mox.Database; namespace Mox.UI { internal class GathererSymbolLoader : ImageLoader { #region Constants private const string SymbolBaseUrl = "http://gatherer.wizards.com/Handlers/Image.ashx?type=symbol&size={0}&name={1}";...
C#
Source/Mox.UI/Project/Images/Loaders/GathererSymbolLoader.cs
fparadis2/mox
gpl-3.0
7,532
241
codeparrot/github-code
86b3d5b5adab5db772a9e2194d9fe3531f3a0584126dd39b1d4d9e6c076c7f1b
<?php // This file is part of the Magic Square Quiz Maker (magicsq) application. // Copyright (C) 2014-2016 Ken Lowrie // // magicsq 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 Li...
PHP
src/php/datautil.php
kenlowrie/magicsq
gpl-3.0
1,962
57
codeparrot/github-code
6eb7d389e245ef845d5ffae46c900b5afae061a5ef7613d1aa835ef1e9a2a344
/* Copyright (C) 2006 Steffen Dienst This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope ...
Java
taskmodel/taskmodel-core/src/main/java/de/thorstenberger/taskmodel/complex/complextaskdef/subtaskdefs/impl/GenericSubTaskDefImpl.java
smee/elateXam
gpl-3.0
1,618
54
codeparrot/github-code
f2860fad700d0c897699fe09334e388d6b28ba55834b4168fbf43fb8ad90a729
require 'diary-ruby/ext/concern' module Diary module ModelQuery extend ActiveSupport::Concern # Instance Methods def timestamp_sql "strftime('%Y-%m-%dT%H:%M:%S+0000')" end module ClassMethods def columns @columns ||= connection.execute("PRAGMA table_info(#{table_name})") ...
Ruby
lib/diary-ruby/model.rb
abachman/diary-ruby
gpl-3.0
2,152
99
codeparrot/github-code
f944b9c0cb30e7e5cb0f6573e26d06e72d06a06d0cbf5dcd6602448deba9fbfa
package com.entrepidea.algo.data_structure.stack;//source: https://leetcode.com/problems/basic-calculator-ii/ /* Implement a basic calculator to evaluate a simple expression string. The expression string contains only non-negative integers, +, -, *, / operators and empty spaces . The integer division should truncate ...
Java
java/java.core/src/test/java/com/entrepidea/algo/data_structure/stack/BasicCalculatorII.java
entrepidea/projects
gpl-3.0
4,444
105
codeparrot/github-code
81610f4d474a4307f08e8873c7d60ce966a0433f68cf56845f1c23f91de0feb1
from nbodykit.base.catalog import CatalogSource from nbodykit.io.stack import FileStack from nbodykit import CurrentMPIComm from nbodykit import io from nbodykit.extern import docrep from six import string_types import textwrap import os __all__ = ['FileCatalogFactory', 'FileCatalogBase', 'CSVCatalog', 'Bi...
Python
nbodykit/source/catalog/file.py
nickhand/nbodykit
gpl-3.0
7,330
207
codeparrot/github-code
f317eb3733ee0f09658cfae73a9aeb985ee774a854124e6ef1da24e3d5b8b24b
/*************************************************************************** FileName : HashTable_WithStandardKeys.cc SystemName: ParSyn : Parallel Boolean Funciton Synthesis Tool/ Parallel Skolem Function Generation Tool. Description: This file contains an implementation of hash tables Copyright (C) 2017 Supratik ...
C++
src/SkolemFunctionGenerator/HashTableManager/HashTable_WithStandardKeys.cc
parSyn/BooleanFunctionSynthesis
gpl-3.0
16,078
614
codeparrot/github-code
c2238a85053a1841368e730db1a84bcd08f8bc5c95d19cc6af4ae0549018ed14
<?php /** * */ class Ashtree_Form_Widget_Text extends Ashtree_Form_Widget { public $placeholder; public function __invoke($print=TRUE) { $dom = $this->dom; $this->id = (isset($this->id)) ? $this->id : $this->name; // Field $div = $dom->createElement('div'); $div->setAttribute('class', 'field-wrappe...
PHP
Form/Widget/Text.class.php
AshtreeCC/Ashtree
gpl-3.0
2,182
69
codeparrot/github-code
d552965e800906ea8f1ced8b41d28a9213ae34ca6f0c43b0919d61f7cf73f977
/** * Simple Image Processing Library * Copyright Erik Smistad 2012 * See LICENSE file for information on use */ #ifndef SIPL_TYPES #define SIPL_TYPES #include <math.h> namespace SIPL { typedef unsigned char uchar; typedef unsigned short ushort; typedef unsigned int uint; typedef struct color_float { float red...
C++
SupportExt/SIPL/Types.hpp
baldavenger/BaldavengerOFX
gpl-3.0
12,776
551
codeparrot/github-code
01f58b29e98c1781122149547237a32c842b3eed95c859d401aa90cc05b57f39
/* -*- c++ -*- */ /* * Copyright 2004,2010 Free Software Foundation, Inc. * * This file is part of GNU Radio * * GNU Radio 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, or (at your...
C++
gnuradio-core/src/lib/gengen/gr_sig_source_c.cc
owaiskhan/Retransmission-Combining
gpl-3.0
6,668
243
codeparrot/github-code
53803399c1e9a0edad2a3c487d2b7fc36886c95ef6379b60d4fafe79ce7b9dc5
package org.esa.snap.remote.execution.local.folder; import org.esa.snap.remote.execution.utils.CommandExecutorUtils; import org.esa.snap.ui.loading.AbstractTimerRunnable; import org.esa.snap.ui.loading.LoadingIndicator; public class UnmountWindowsLocalDriveTimerRunnable extends AbstractTimerRunnable<Void> { priv...
Java
snap-remote-execution-ui/src/main/java/org/esa/snap/remote/execution/local/folder/UnmountWindowsLocalDriveTimerRunnable.java
senbox-org/snap-desktop
gpl-3.0
1,481
45
codeparrot/github-code
fdcf9888ba9404fbc8adca4cc109746fb5cbf93b802ed82ca49db1c7e7c8b46d
#ifdef _MSC_VER #include <gtest\gtest.h> #include <libipcpp\Process.h> #include <libipcpp\Utility.h> #include <Psapi.h> #include <algorithm> #include <thread> #include <chrono> #include <fstream> #include "Globals.h" using namespace ipc; template <typename T> using vector = std::vector < T > ; using string = std::stri...
C++
test/win32/ProcessTest.cpp
chronos38/libipc-
gpl-3.0
9,921
388
codeparrot/github-code
fe8fc90a3a742408bd8325ee19434ae0f2d7099807f076fb9b8049192a12befe
#include <stdlib.h> #include <stdio.h> #include <time.h> #include "header.h" /* */ void Sort(double **data, int first, int last, int col) { QuickSort(data, first, last, col); return; } void MergeSort(double **data, int first, int last, int col) { if (first >= last) return; int mid =...
C
CML/Face/ada_boost/sort.c
kernel-bz/ml
gpl-3.0
6,525
270
codeparrot/github-code
16b384c5ffe755e39adb49a46746ad5bba920f3831d48babc6f8053fa4c4c691
<?php /** * Donut Social Network - Yet another experimental social network. * Copyright (C) 2016-2017, Dejan Angelov <angelovdejan92@gmail.com> * * This file is part of Donut Social Network. * * Donut Social Network is free software: you can redistribute it and/or modify * it under the terms of the GNU General ...
PHP
src/AppBundle/FeatureContexts/ThoughtsContext.php
angelov/donut
gpl-3.0
6,354
206
codeparrot/github-code
822dc96c355dd8280c3ff37af219175a3b0c0a89d5819b14250e5165cff0a79c
<?php abstract class TpDataApiObject implements ArrayAccess { /** * TpAbstractModel constructor. * * @param array $data */ public function __construct(array $data = array()) { $keys = static::keys(); $filtered = TpUtils::filterKeys($data, $keys); foreach($filtered as $key => $value) { $this[$key] =...
PHP
lib/dataApi/TpDataApiObject.php
WebChemistry/ThePay
gpl-3.0
3,379
155
codeparrot/github-code
9d0ff4390110c9dda5ed08991907210b4caa2e55a0f22514113f0658af9ead8d
// JavaScript Document var manimate = function (h) { var a = document.getElementById(h), o = 0, e = {}, l = 10, k = function (b, c, g, d) { return-g * (b /= d) * (b - 2) + c }, n = function (b, c) { var g, d = /^([+-\\*\/]=)([-]?[\d.]+)/; if (d.test(b)) { d = b.match(d); ...
JavaScript
js/animate.js
moretv/tvhtml5
gpl-3.0
4,846
140
codeparrot/github-code
f2f0de2d608d7dd022e88978127adc64f38ec700be9d27a209e3011a0fcac68a
package eu.siacs.conversations.ui.adapter; import android.Manifest; import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.con...
Java
src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java
Kandru/KandruIM
gpl-3.0
44,378
1,111
codeparrot/github-code
ca135f0d487efa6cfe1fe492fbcde14fb272e3be2582a96a28c9fd07b1eb6626
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Herd; use App\Breeding; use App\Treatment; class DashboardController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { ...
PHP
app/Http/Controllers/DashboardController.php
Ceece/manakulfarm.app
gpl-3.0
1,549
61
codeparrot/github-code
897b3f1cb7b53914475827a23b4bbc29899250eea8358cb7287e534d74b05e31
/* * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator/BasicAuthenticator.java,v 1.12 2002/03/23 17:52:16 remm Exp $ * $Revision: 1.12 $ * $Date: 2002/03/23 17:52:16 $ * * ==================================================================== * * The Apache Software ...
Java
src/main/java/org/apache/catalina/authenticator/BasicAuthenticator.java
c-rainstorm/jerrydog
gpl-3.0
8,839
240
codeparrot/github-code
9f2bc40b81fabe999c2cda3e7138ce237cbc9b746626efd3712430f196272e95
package ve.com.gem.entities; import java.sql.Timestamp; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Inheritance; import javax.persistence.InheritanceT...
Java
gem-backend/src/main/java/ve/com/gem/entities/Risk.java
gomezCarlos/gem-backend
gpl-3.0
3,427
169
codeparrot/github-code
89898ee7ad54d3e8982abc16effe6b32ec9640446ccea043272128e2d3b18b76
#!/usr/bin/env python3 # This file is part of OpenSoccerManager. # # OpenSoccerManager 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...
Python
uigtk/window.py
OpenSoccerManager/opensoccermanager
gpl-3.0
3,411
111
codeparrot/github-code
634e7d7338ce259512361f7581d920e2fbc307b403ee4303f5dd55cdb285a8eb
/*========================================================================= Program: C3D: Command-line companion tool to ITK-SNAP Module: SetOrientation.h Language: C++ Website: itksnap.org/c3d Copyright (c) 2014 Paul A. Yushkevich This file is part of C3D, a command-line companion tool to ITK-S...
C
adapters/SetOrientation.h
vfonov/Convert3D
gpl-3.0
1,394
49
codeparrot/github-code
c601bc928a2e88082b3bca9a7c697941ab4b14d8b98bb54e9fd7f540603c7ae0
/******************************************************************************* * NGSEP - Next Generation Sequencing Experience Platform * Copyright 2016 Jorge Duitama * * This file is part of NGSEP. * * NGSEP is free software: you can redistribute it and/or modify * it under the terms of the GNU Genera...
Java
src/ngsep/alignments/io/ReadAlignmentFileReader.java
NGSEP/NGSEPcore
gpl-3.0
12,824
347
codeparrot/github-code
01ca970067d43484653ac8c67d7d1ba160e99e5dd4203243fe4f707b188ea590
/* * mission.cc - Predefined game mission maps * * Copyright (C) 2013 Jon Lund Steffensen <jonlst@gmail.com> * * This file is part of freeserf. * * freeserf 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 Founda...
C++
src/mission.cc
tomsoftware/freeserf
gpl-3.0
8,663
406
codeparrot/github-code
533c826d978f00c31f24e6379b71c3e73a270d7cb5f38ad1732f00163013c664
import * as userActions from '../actions/user'; const defaultState = { currentUser: {}, profileUsers: {}, selectedProfile: null, profileUserFetching: false }; export default function user(state = defaultState, action) { switch (action.type) { case userActions.UPDATE_CURRENT_USER: return { ...state, ...
JavaScript
src/client/app/reducers/user.js
johndiiorio/bughouse
gpl-3.0
800
40
codeparrot/github-code
2bbd4818d8c3bbe3dac9d8fe554f83d276373bb49daa5aa1611a649af57c54a6
# -*- coding: utf-8 -*- ############################################################################ # Copyright (C) 2008 by Michael Goerz # # http://www.physik.fu-berlin.de/~goerz # # ...
Python
Texpreview/TexpreviewPrinter.py
goerz/texpreview
gpl-3.0
7,524
183
codeparrot/github-code
bc69ac01e8707d25dcc7960402aca093ecd9d29444b7c5421e7525f77035e39a
package com.github.edouardswiac.zerotier; import com.github.edouardswiac.zerotier.api.ZTNetwork; import com.github.edouardswiac.zerotier.api.ZTNetworkMember; import com.github.edouardswiac.zerotier.api.ZTStatus; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import java.util.Map; impo...
Java
src/test/java/com/github/edouardswiac/zerotier/ZTServiceTest.java
edouardswiac/zerotier-api-java
gpl-3.0
4,372
123
codeparrot/github-code
e78e566bc499b720e387e6370066fd17b962fbe3dfc034b0ff95e6432515ba37
package com.jdc.book.model; import java.util.Arrays; import java.util.List; import javax.annotation.PostConstruct; import javax.enterprise.context.ApplicationScoped; import javax.enterprise.inject.Produces; import javax.inject.Named; import com.jdc.book.entity.Item; @ApplicationScoped public class ItemProvider { ...
Java
book-corner-tut/src/main/java/com/jdc/book/model/ItemProvider.java
minlwin/javaee7-tutorials
gpl-3.0
688
35
codeparrot/github-code
9e4bf5b9d24ae6d2d39c6e445ed163c0047e82594072314819af1861fe547d7b
<?php class ControllerExtensionPaymentDivido extends Controller { private $error = array(); public function index() { $this->load->language('extension/payment/divido'); $this->document->setTitle($this->language->get('heading_title')); $this->load->model('setting/setting'); $th...
PHP
admin/controller/extension/payment/divido.php
Copona/copona
gpl-3.0
10,902
248
codeparrot/github-code
8977158ff8eb64ae5d47d4e28d75c22decc442d736a48d73986db3c30a554abb
/* * venncommand.cpp * Mothur * * Created by Sarah Westcott on 3/30/09. * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved. * */ #include "venncommand.h" #include "ace.h" #include "sobs.h" #include "chao1.h" //#include "jackknife.h" #include "sharedsobscollectsummary.h" #include "sharedchao1.h"...
C++
source/commands/venncommand.cpp
mothur/mothur
gpl-3.0
23,895
549
codeparrot/github-code
a5f1ae5a70b2a72b0efc0550d3dea52fa743cd4eaf073e987bad0574cfb1ff0e
/* * This file is part of Cleanflight. * * Cleanflight 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. * * Cleanflight is distr...
C
src/main/scheduler/scheduler.c
andre92/inav
gpl-3.0
11,011
313
codeparrot/github-code
21bd0610ab08e0fa5a0e7987404b58300af0fdb93308d9992f2aa4abe0978781
// Region.cs // (c) Copyright Sarah Plotkin (splotkin@gmail.com) // // This file is part of GRGL. // GRGL 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 y...
C#
GRGL/GRGL/World/Region.cs
pushasha/GRGL
gpl-3.0
1,782
63
codeparrot/github-code
b6896a785cb9a4afca505bbe5027bacee665865ea78943c026ee41e6bd960ad7
/* * This file is part of the libsigrok project. * * Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de> * * 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,...
C
hardware/common/dmm/es51922.c
adlerweb/libsigrok
gpl-3.0
12,528
432
codeparrot/github-code