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
27d2b5d5546ff00e5bedc9a57518927629606c125ed2e9478b52d46303adfc47
package com.vanyle.sound; // Wav file IO class // A.Greensted // http://www.labbookpages.co.uk // File format is based on the information from // http://www.sonicspot.com/guide/wavefiles.html // http://www.blitter.com/~russtopia/MIDI/~jglatt/tech/wave.htm // Version 1.0 import java.io.*; public class WavFile{ pri...
Java
src/com/vanyle/sound/WavFile.java
vanyle/Explorium
gpl-3.0
22,645
754
codeparrot/github-code
7e37b7adb781238562191d97298d041b5f8011a724f727c54cb6dd4ec5f459ca
package mod.proxy; import mod.commands.CommandMCrafterzzMod; import mod.commands.CommandMM; import mod.commands.CommandSetBlocks; import mod.render.TileEntityIronChestRenderer; import mod.tileentitys.TileEntityIronChest; import net.minecraftforge.fml.client.registry.ClientRegistry; import net.minecraftforge.fml.common...
Java
src/main/java/mod/proxy/ClientProxy.java
MCrafterzz/minecraft-mod
gpl-3.0
888
31
codeparrot/github-code
cecaf56faa8158abfe52ff94b9c74887bb37dcee9d2bddf220c01e5e219f12b5
import os import numpy as np import pandas as pd from pytrack_analysis import Multibench from pytrack_analysis.dataio import VideoRawData from pytrack_analysis.profile import get_profile, get_scriptname, show_profile from pytrack_analysis.posttracking import frameskips, get_displacements, mistracks, get_head_tail, get...
Python
examples/run_post_tracking.py
degoldschmidt/pytrack-analysis
gpl-3.0
5,316
101
codeparrot/github-code
a052343f6f9b3fc4f6ca3a77b00d8870a0cc289e476a312551923675f3860e41
/****************************************************************************** Skulpture - Classical Three-Dimensional Artwork for Qt 4 Copyright (c) 2007-2009 Christoph Feck <christoph@maxiom.de> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General ...
C++
qmidiplayer-desktop/qdialskulpturestyle.cpp
chirs241097/QMidiPlayer
gpl-3.0
17,634
509
codeparrot/github-code
f424ee6a6edf1352fe8139d4d3344a1bec9b87848b11648a14c9d96336163ee1
/* This file is part of Babel. Babel 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. Babel is distributed in the hope that it w...
JavaScript
js/babel.js
hhirsch/babel
gpl-3.0
3,353
118
codeparrot/github-code
de067481e9596ac29251befe90a390628ad02b37cfab96a3d160d8298b7d5569
#!/bin/bash #------------------------------------------------------------------------------- # This software has been developed by Forest Genetics and Physiology Research Group, # Technical University of Madrid (UPM) # Licence: GNU General Public Licence Version 3 #--------------------------------------------------...
Shell
Package/simulation-scripts/simulation-unequal-coverage.sh
GGFHF/ddRADseqTools
gpl-3.0
5,032
150
codeparrot/github-code
64a6952010edd5979702a94527870c85ae6b7cbc752b40cb9176cbedc42b04d4
// Mantid Repository : https://github.com/mantidproject/mantid // // Copyright &copy; 2015 ISIS Rutherford Appleton Laboratory UKRI, // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + #ifndef MANTID_GEOMETRY_MATRIXVECTORPAI...
C
Framework/Geometry/inc/MantidGeometry/Crystal/MatrixVectorPairParser.h
mganeva/mantid
gpl-3.0
9,716
296
codeparrot/github-code
9e5d7aa8279f982ed862f2392f8e72e0677b7290e70b404a19b6087af34675e3
/* * Copyright (c) 2012-2014 Ribesg - www.ribesg.fr * This file is under GPLv3 -> http://www.gnu.org/licenses/gpl-3.0.txt * Please contact me at ribesg[at]yahoo.fr if you improve this file! */ package fr.ribesg.alix.api.bot.command; import fr.ribesg.alix.api.Channel; import fr.ribesg.alix.api.Receiver; import fr.r...
Java
src/main/java/fr/ribesg/alix/api/bot/command/HelpCommand.java
Ribesg/Alix
gpl-3.0
1,942
53
codeparrot/github-code
bf61888dcdd3fc90c294c952c7cf438fefad3d8e99ec954935154f7ccb779fc8
/************************************************************************* ** Copyright (c) 2011-2012 Accusoft ** ** This program is free software, licensed under the GPLv3 ** ** see README.license for details ** ** ** ** For...
C++
control/linebitmaprequester.cpp
mmmovania/libjpeg_VS2012
gpl-3.0
19,640
612
codeparrot/github-code
dad16c569e4cc4b85dc7f8bc6eb321aaefd81c218d946e46c2e3fdfbac54c541
<?php /** * @package Joomla.Platform * @subpackage Feed * * @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; /** * Feed Parser class. * * @sin...
PHP
libraries/joomla/feed/parser.php
MasiaArmato/coplux
gpl-3.0
6,804
283
codeparrot/github-code
7c2e83a4d0c3dc44754cfd12e635b3d7b60500fceebfc2b0a06086d65724f681
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*- # # Copyright (C) 2015-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 ...
Python
snapcraft/internal/sources/__init__.py
snapcore/snapcraft
gpl-3.0
7,056
225
codeparrot/github-code
aa32bbf327d20c0b12581434b2d11db27937ab0fbd9d96bc6be87fed2dbb0481
local Perlin = require 'map_gen.shared.perlin_noise' local seed_provider = require 'map_gen.maps.danger_ores.modules.seed_provider' local b = require 'map_gen.shared.builders' local perlin_noise = Perlin.noise return function(config) local scale = config.water_scale or 1 / 96 local water_threshold = config.wa...
Lua
map_gen/maps/danger_ores/modules/water.lua
Valansch/RedMew
gpl-3.0
1,143
41
codeparrot/github-code
4ddf4f231140272f9dd271a5070e4ff482285d3f75a55cdb0ed1697858b7cdb7
/*! @file StaticGrid.cs @author Woong Gyu La a.k.a Chris. <juhgiyo@gmail.com> <http://github.com/juhgiyo/eppathfinding.cs> @date July 16, 2013 @brief StaticGrid Interface @version 2.0 @section LICENSE The MIT License (MIT) Copyright (c) 2013 Woong Gyu La <juhgiyo@gmail.com> Permission is hereby granted, free of...
C#
PathFind/PathFinder/Grid/StaticGrid.cs
ochensati/CircularEditor2
gpl-3.0
7,198
230
codeparrot/github-code
682fcce44333798a2be336c42132f900b977807ae0759ef8034a7758a3015683
using System; using System.Collections.Generic; using System.Linq; using System.Net.Sockets; using System.Text; using System.Text.RegularExpressions; using System.Threading; using Alchemy.Classes; using Alchemy.Handlers.WebSocket.rfc6455; namespace Alchemy { public class WebSocketClient : IDisposable ...
C#
Source/IPSserver/Alchemy-Websockets-master/src/Alchemy/WebSocketClient.cs
kelvinyap92/WiLocator
gpl-3.0
11,871
381
codeparrot/github-code
8615e51041eaf315f1aaa07a337871bed8a9937da1b0e025ab30124686fb0808
/** * Copyright (C) 2014 Steven Rey Sequeira * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This pro...
Java
DAS PF/src/das/pf/TaskProcessFile.java
stevdrey/daspf
gpl-3.0
4,632
125
codeparrot/github-code
1be2074a0d0fd6a976a98fd30ec7e2b907e520e6e4c0e3b7ad6388613d86d3a4
/****************************************************************************** * * Copyright Saab AB, 2004-2015 (http://safirsdkcore.com) * * Created by: Joel Ottosson / joot * ******************************************************************************* * * This file is part of Safir SDK Core. * * Safir SDK Core is...
C++
src/dots/dots_kernel.ss/src/dots_repository_keeper.cpp
SafirSDK/safir-sdk-core
gpl-3.0
6,962
194
codeparrot/github-code
80edbbadee0b6b783cd4b0a1c8271b4879c0e4d336e755a15781d40f2b36588c
# Copyright (C) 2011, The SAO/NASA Astrophysics Data System # # 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 p...
Python
pipeline_log_functions.py
adsabs/ADS_records_merger
gpl-3.0
1,639
48
codeparrot/github-code
962c5e7440addd0ba134830b26595432bf8fd312697a485663f885a329a11122
import java.io.IOException; import java.net.InetSocketAddress; import java.net.SocketAddress; import java.nio.ByteBuffer; import java.nio.channels.DatagramChannel; import java.nio.channels.Selector; import java.nio.channels.SelectionKey; import java.util.Iterator; /** * 메인 클래스 * @author 문현수 */ public class Main { ...
Java
2016/AdvancedTCPIP/JavaDatagramClient/Main.java
munhyunsu/CNULecture
gpl-3.0
3,136
103
codeparrot/github-code
a5f83a5c61e76d7c83667935417a7d5676c7a371c1f7f247d25e3e490cde282a
#include "stdafx.h" #include "mainfrm.h" #include "TNView.h" #include "NodeView.h" #include "Resource.h" #include "TNApp.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[] = __FILE__; #define new DEBUG_NEW #endif ///////////////////////////////////////////////////////////////////////////// // CNodeView CNode...
C++
TN/NodeView.cpp
davisnju/RepairingInTriangleMesh
gpl-3.0
7,913
299
codeparrot/github-code
1af0fec375d9b8a57c1efac8c98782dda48d7068154725d94cfd362b7d18169d
package dk.codeunited.kulturarv.kulturarvClient.filtering; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; import dk.codeunited.kulturarv.kulturarvClient.util.CoordinateSquareCalculator; import dk.codeunited.kulturarv.model.Building;...
Java
src/dk/codeunited/kulturarv/kulturarvClient/filtering/AdaptiveFilter.java
wadanii/kulturarv
gpl-3.0
5,852
174
codeparrot/github-code
fbfd518c26bb915e4839e2b92ac8272aaff64338e38bbf537a9ffbbab36651d8
/** * Copyright (C) 2007-2012 Hypertable, Inc. * * This file is part of Hypertable. * * Hypertable 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 any later versio...
Java
examples/java/org/hypertable/examples/PerformanceTest/MessageTask.java
deniskin82/hypertable
gpl-3.0
1,414
56
codeparrot/github-code
8bad41e32ba5fc8e433ba836d08989ff37575071b4c748f3458760138e326394
/* Copyright (C) 2011 The SmithDR team, smithdr@labri.fr This file is part of SmithDR. SmithDR 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 opti...
C++
src/imageprocessing/filters/KirschFilter.hpp
ysenel/pdpSmithDr
gpl-3.0
1,309
53
codeparrot/github-code
c08bc5c7ea808971f6dffa3b3d6aaf489b7af366993b56847a0bd1e29794a02f
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <TITLE> NotImplementedException (POI API Documentation) </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javasc...
HTML
CSC 445 WebCentric Programming/Final Project/poi-3.14/docs/apidocs/org/apache/poi/ss/formula/eval/NotImplementedException.html
jmemmons/university-assignments
gpl-3.0
12,385
272
codeparrot/github-code
6a3e52eeb63d51d7387c1ac4976b9827a7d4043ec531584817f198f6d4468733
package net.maizegenetics.baseplugins.numericaltransform; import net.maizegenetics.pal.alignment.Phenotype; import net.maizegenetics.pal.alignment.SimplePhenotype; import net.maizegenetics.pal.ids.IdGroup; import net.maizegenetics.pal.alignment.Trait; import java.math.BigDecimal; import java.util.ArrayList; ...
Java
src/net/maizegenetics/baseplugins/numericaltransform/Conversion.java
guilherme-pereira/tassel4-poly
gpl-3.0
10,495
299
codeparrot/github-code
6f7da753cdbbd40c48674cdc2c43ae867f87716e57fe333b74e2a660c37552d2
/** * GeoDa TM, Copyright (C) 2011-2015 by Luc Anselin - all rights reserved * * This file is part of GeoDa. * * GeoDa 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, o...
C
DialogTools/3DControlPan.h
lixun910/geodacenter_geoda
gpl-3.0
2,801
93
codeparrot/github-code
fe60e39bab583418c1fa15ec8173463d7dcfe441db4b36172e308f2edbd784ad
// RUN: %clang_cc1 -fsyntax-only -verify %s template<typename T, typename U = float> struct A { }; typedef A<int> A_int; typedef float FLOAT; A<int, FLOAT> *foo(A<int> *ptr, A<int> const *ptr2, A<int, double> *ptr3) { if (ptr) return ptr; // okay else if (ptr2) return ptr2; // expected-error{{cannot init...
C++
QMOLEDEV/llvm-2.8/tools/clang-2.8/test/SemaTemplate/class-template-id.cpp
chriskmanx/qmole
gpl-3.0
1,343
48
codeparrot/github-code
6a4ac4a7bd20e484d720ade1d9ce7df41fbf9976e080784c45435ee6fa7c410a
using kOS.Safe.Encapsulation.Suffixes; using kOS.Utilities; using UnityEngine; using System; namespace kOS.Suffixed { public class BodyTarget : Orbitable, IKOSTargetable { public CelestialBody Body { get; set; } override public Orbit Orbit { get { return Body.orbit; } } override publ...
C#
src/kOS/Suffixed/BodyTarget.cs
hIGH-aND-mIGHTY/KOS
gpl-3.0
8,284
203
codeparrot/github-code
8fb064ccdf430e5c9ad7eaa443b761a49a16fccca6b5f016b65aa55f85a18c3a
<?php _JS ('form-preferences') ?> <form action="<?= @$content['form-preferences']['form-action'] ?>" method="post" > <input type="hidden" id="template" name="template" value="<?= $content['form-preferences']['template-name'] ?>" /> <div class="form"> <div class="form-control"> <div class="form-label inp...
PHP
blog/system/theme/templates/form-preferences.tmpl.php
vasyukhin/vasyukhin.ru
gpl-3.0
5,265
176
codeparrot/github-code
4e514311830d6a4225eb13c9c0b8a9d8eef2378d4a9f76201177d923212f3c61
package libhdate import ( "math" ) /** @brief days from 1 january @parm day this day of month @parm month this month @parm year this year @return the days from 1 jan */ func getDayOfYear(day int, month int, year int) int { var jd int /* get todays julian day number */ jd = (1461*(year+4800+(month-14)/12))/4 + (...
GO
libhdate/sun-times.go
dakom/libhdate-go
gpl-3.0
5,410
147
codeparrot/github-code
66a95c9210c3e23e865bd0fc98dcf2ff404ed62e7746a6be6011c463f1cb5c39
/** * GPhoto2 Copyright 2012 Andrew Bythell, abythell@ieee.org * * This file is part of libgphoto2-jna. * * libgphoto2-jna is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation, either version 3 of the License...
Java
src/com/angryelectron/gphoto2/GPhoto2.java
angryelectron/libgphoto2-jna
gpl-3.0
19,700
517
codeparrot/github-code
ef7361240f48b9598d772e3a1cd2d2bb1093d42cbcd4ced1e99ef2ece44ca7cc
package de.dermoba.srcp.model.locomotives; public class MfxLocomotive extends SRCPLocomotive { public final static int MAX_MFX_LOCOMOTIVE_ADDRESS = 511; public final static int FUNCTION_COUNT = 16; public static final String PROTOCOL = "X"; private long mfxUid; public MfxLocomotive(final int bus...
Java
jsrcpc/src/main/java/de/dermoba/srcp/model/locomotives/MfxLocomotive.java
forkch/jsrcpc
gpl-3.0
1,045
34
codeparrot/github-code
1a7e1fd9d7c0b84d41058b629e26269ea7eba5790b02bc9f77deddf6d78e6019
/* Copyright 2014-2018 Daniel Kinsman. This file is part of Stand Alone Map View. Stand Alone Map View 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 la...
C#
comms/time.cs
DanielKinsman/stand-alone-map-view
gpl-3.0
1,351
50
codeparrot/github-code
8ed59580b709d389098f3c3921144434ecc82c2960c0327e4c7f0d563eb00d09
<!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" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script src="https://ajax.googleapis.com/ajax/lib...
HTML
staticDesign/css/web fonts/texgyreheroscn_bolditalic_macroman/texgyreheroscn-bolditalic-demo.html
nishant-jain-94/Cornetto
gpl-3.0
25,165
373
codeparrot/github-code
b45a3cb60815f466ba4a07c920c1df3c390d715ddba38cf4a9c5684dc408a5db
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; using MetaMusic.Sources; namespace MetaMusic.Players { [MusicPlayer] public class FilePlayer : MusicPlayerBase<FileMusic> { private readonly MediaPlayer _player; pub...
C#
MetaMusic/MetaMusic/Players/FilePlayer.cs
einsteinsci/meta-music
gpl-3.0
1,320
72
codeparrot/github-code
ca78f9b295bbfca42f44681b34c94cb2a0e3a8a46ed220a805dc135b076b73ba
{-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TupleSections #-} module Topology.Generate where import GHC.TypeLits -- import Data.Graph (scc, Tree(..) ) import qualified Data.HashSet as H import Data.List (tails) -- import Data.Partition (unitPartition) import Data.Fin1 import Graph import McKay type...
Haskell
old/lib/Topology/Generate.hs
wavewave/qft
gpl-3.0
1,478
47
codeparrot/github-code
59779abed735cdd12025cc24eabf7015463df4ec0efd1f57881c67fc8aefdf75
from __future__ import unicode_literals from django.db import models class Artist(models.Model): first_name = models.CharField(max_length=200) last_name = models.CharField(max_length=200) bio = models.TextField(null=True, blank=True) email_address = models.EmailField() created = models.DateTimeFi...
Python
gallery_api/gallery/models.py
highsineburgh/gallery_api
gpl-3.0
1,130
35
codeparrot/github-code
dea52577ba4512e9a62cb619fa47f55dd815b3e658ea893ceaf3edbda5ca9fae
/**********************************************************************/ /* ____ ____ */ /* / /\/ / */ /* /___/ \ / */ /* \ \ \/ ...
C
ProjectLab2/ProgramCounter/ProgramCounter/isim/Fetch_tb_isim_beh.exe.sim/work/a_0592681318_2372691052.c
FlatTargetInk/UMD_RISC-16G5
gpl-3.0
5,466
233
codeparrot/github-code
8e5f4e301586e386e1654a6f6ec7c70443dcb7d95715a2d424bcefab75ed2824
/* * Copyright (C) 2010-2012 Project SkyFire <http://www.projectskyfire.org/> * Copyright (C) 2005-2012 MaNGOS <http://www.getmangos.com/> * Copyright (C) 2008-2012 Trinity <http://www.trinitycore.org/> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Genera...
C++
src/server/worldserver/Master.cpp
SkyFireArchives/SkyFireEMU_420
gpl-3.0
16,479
494
codeparrot/github-code
a4f7342c9f82f92cf3f13925010438f22669cf75b0e94a7708944f8cfcc04129
subroutine writeham4am use modmain use modldapu use mod_nrkp implicit none integer values(8), seconds, hash, isp, hdim, ntype, itype, istart, l, norb, lnext integer is, ias, ia, nkp real(8) reh, imh, sc, sc1, sc2, sc3, alat(3,3) character*1 xx character(256) block integer, allocatable :: basis_desc(:,:) ! basis_des...
FORTRAN
src/addons/wann/writeham4am.f90
toxa81/exciting-plus
gpl-3.0
6,972
282
codeparrot/github-code
96070dc6f68e3fd6db9a8f5537f68501e69443358ffe01515e97b9014aa5fe21
namespace WindowsFormsApplication2 { partial class Form5 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
C#
WindowsFormsApplication2/Form5.Designer.cs
4rado/RepositoryForProject
gpl-3.0
3,407
87
codeparrot/github-code
c3aeb8d220a452363f83904b5a6cccd023465fcdda93a5c0a64d9f5fae65f231
namespace System { using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Reflection; using System.Reflection.Cache; using System.Reflection.Emit; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; usi...
C#
tags/dotnet/mscorlib/System/Type.cs
NewmanMDB/VimConfig
gpl-3.0
53,228
1,578
codeparrot/github-code
0a91e8d6a2408833a2df6799089e3f35d3b0cbc4d03c21410d29c1c0de98601d
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <!-- Copyright (C) 1988-2019 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later...
HTML
output/common/zsdocs/gcc/Option-Summary.html
ArmageddonGames/ZeldaClassic
gpl-3.0
60,241
1,401
codeparrot/github-code
c58c96da904e668330f9165e93449ef5bbdf4dae7848ec69f71f36191414e6b2
/* * m_ife.c IFE actions module * * This program is free software; you can distribute 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. * * Authors: J Hadi Salim (...
C
src/iproute2-4.8.0/tc/m_ife.c
sora/mgcap
gpl-3.0
7,682
317
codeparrot/github-code
2abf6be922f2a5c45f99823704a32c6410ed7be062664492ad20bc7476c3ec00
package com.scott.dev.taobao.api.tmallbest.domain; /** * 天猫搜索品牌信息 */ public class TmallBrand { /** * 搜索品牌id */ private Long brandId; /** * 搜索品牌名字 */ private String brandName; public Long getBrandId() { return this.brandId; } public String getBrandName() { ...
Java
src/main/java/com/scott/dev/taobao/api/tmallbest/domain/TmallBrand.java
kuiwang/my-dev
gpl-3.0
533
35
codeparrot/github-code
93ae6d975eff4e38d759ebef4750208b49c65e4e57036a61ea03c0d31e6c8b7e
package systems.flowing.cake import systems.flowing.cake._ import scala.collection.mutable.ArrayBuffer import scala.reflect.runtime._ import scala.reflect.runtime.universe._ trait Hierarchy { this: Nodes[_ <: Order] => def order(n: Int) = nodes.zipWithIndex collect { case (o: Order, i: Int) if o.order == n =...
Scala
src/main/scala/systems/flowing/cake/Hierarchy.scala
FlowingSystems/Cake
gpl-3.0
1,136
34
codeparrot/github-code
14f7b616745f219ddfb5e7f6ee6e481aec34e9d29919b911a1682b25082312a1
#!/usr/bin/env python """ Simple-stupid time tracker script ================================= Timetrack opyright (C) 2010, Branko Vukelic <studio@brankovukelic.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Soft...
Python
tt.py
foxbunny/Timetrack
gpl-3.0
7,554
246
codeparrot/github-code
e4a50c5e51d997d89be379a92802a070a8df6294dd0f6423c623f966ad66e605
#!/usr/bin/python # # 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 later version. # # Ansible is distribut...
Python
lib/ansible/modules/network/nxos/nxos_file_copy.py
tsdmgz/ansible
gpl-3.0
7,272
242
codeparrot/github-code
9a161b6d7e7a66653f08fded535be5f9e15b1f4de0ed5537e1a0b357b474b969
/* * Wire * Copyright (C) 2016 Wire Swiss 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 your option) any later version. * * This progr...
Scala
zmessaging/src/test/scala/com/waz/threading/SerialDispatchQueueSpec.scala
wireapp/wire-android-sync-engine
gpl-3.0
2,504
74
codeparrot/github-code
32afdceaba460ccb1d9798e788db22868999e0a552989dee02dcd688db6b2f34
<?php if (!defined('VB_ENTRY')) die('Access denied.'); /*======================================================================*\ || #################################################################### || || # vBulletin 4.1.1 Patch Level 1 - Licence Number VBS309B87F || # -----------------------------------------------...
PHP
otmfaq.com/htdocs/forums/packages/vbcms/route/content.php
chrisplough/otmfaq
gpl-3.0
6,494
237
codeparrot/github-code
50bcf44df973307305c1dac78dbc4603b778e34c6d6a9a305fe90218050e4f82
'use strict'; game.import('card',function(lib,game,ui,get,ai,_status){ return { name:'hearth', card:{ linghunzhihuo:{ fullskin:true, type:'trick', enable:true, filterTarget:true, content:function(){ 'step 0' target.damage('fire'); 'step 1' var hs=player.getC...
JavaScript
card/hearth.js
libccy/noname
gpl-3.0
17,895
742
codeparrot/github-code
3dfd9e0453ae639db4b8ae3b4c41049931d0c46ef1c45764fa6caa107c9115cb
// Copyright (C) 2011 David C. Haws //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 i...
C++
numspanthrackles.cpp
dchaws/SpanningThrackles
gpl-3.0
1,413
65
codeparrot/github-code
3b917effd375ebf7de6704a004d98b17bc788dfe59b7f676842f8643e02c0276
/* * "GEDKeeper", the personal genealogical database editor. * Copyright (C) 2009-2017 by Sergey V. Zhdanovskih. * * This file is part of "GEDKeeper". * * 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 * ...
C#
projects/GKCore/GKCore/Interfaces/IGraphics.cs
ruslangaripov/GEDKeeper
gpl-3.0
3,088
134
codeparrot/github-code
f4ca4cb6fadb645905eec02d19f27cfb5c64f7135709669e2618f735ea19879c
/* Copyright © 2019 by The qTox Project Contributors This file is part of qTox, a Qt-based graphical interface for Tox. qTox is libre software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 ...
C
src/model/chathistory.h
sudden6/qTox
gpl-3.0
3,134
81
codeparrot/github-code
07f3aca5072b4ce154ce0e69ece9e93bbd224228304d455c981174de5ab9a9fc
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\ * Copyright (C) 2011-2013 Claus Schrammel and Claus Fruehwirth * * * * This program is free software: you can redistribute it and/or modify * * it under the...
Java
src/test/java/net/f05fk/backgammon/game/MoveTest.java
f05fk/net.f05fk.backgammon
gpl-3.0
8,911
270
codeparrot/github-code
c5c9cbfd6001014c493d311340e85a1881f99ab18358f308465c5597b0c131e6
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import argparse import glob import logging import string import unicodedata, re from geeknote import GeekNote from storage import Storage from editor import Editor import tools # set default logger (write log to file) def_logpath = os.path.join(os.getenv('USERP...
Python
lib/geeknote/gnsync.py
Xunius/txt2evernote
gpl-3.0
9,526
342
codeparrot/github-code
9c95079e18c44b860cbb6eed7bc66488a88811459522587e340425c172e71b85
// patterntree.cpp // © 2008 by Andreas Maunz, andreas@maunz.de, jul 2008 // Siegfried Nijssen, snijssen@liacs.nl, jan 2004. /* This file is part of LibFminer (libfminer). LibFminer is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by...
C++
patterntree.cpp
amaunz/libfminer
gpl-3.0
38,801
987
codeparrot/github-code
578b7f946ccb0e3d2b6148753c1157064489a583ec69c8492176c8e99b30382b
/* $Xorg: DrRndRect.c,v 1.4 2001/02/09 02:03:52 xorgcvs Exp $ */ /* Copyright 1988, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both...
C
XORG1/libXmu-1.0.4/src/DrRndRect.c
chriskmanx/qmole
gpl-3.0
4,527
183
codeparrot/github-code
8b41cebc364ed91dd09c3afe667f573023702e1e5bb1202c5812bd788fd412e8
//-+-------------------------------------------------------------------- // Igatools a general purpose Isogeometric analysis library. // Copyright (C) 2012-2015 by the igatools authors (see authors.txt). // // This file is part of the igatools library. // // The igatools library is free software: you can use it, redis...
C
include/igatools/geometry/mapping_slice.h
TheProjecter/igatools
gpl-3.0
4,966
146
codeparrot/github-code
c74ac872421e83c48c72a1a7d0d3917b39bf107a2ce8f30efa85d0bd3ce95b3c
# # This file is part of opsd. # # opsd 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. # # opsd is distributed in the hope that it wil...
Python
warwick/observatory/operations/actions/superwasp/park_telescope.py
warwick-one-metre/opsd
gpl-3.0
1,410
39
codeparrot/github-code
9de7900cfbbae14a3fe42937824f2b9a644e91332c6221b27113e846beb40d81
<html lang="en"> <head> <title>Output Variables - GNU Emacs Lisp Reference Manual</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="description" content="GNU Emacs Lisp Reference Manual"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html...
HTML
aquamacs/doc/Aquamacs Help/Emacs Lisp Reference/Output-Variables.html
xfq/aquamacs-emacs
gpl-3.0
10,030
197
codeparrot/github-code
8a7869f3a073dd0a635482daecbcc494d837c3c2b28689c12a3480c8c92f9dfe
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>Uses of Class org.apache.poi.xdgf.usermodel.section.GeometrySection (POI API Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../../../../sty...
HTML
resources/Apache/Apache-POI-3.16-beta2/poi-bin-3.16-beta2-20170202/poi-3.16-beta2/docs/apidocs/org/apache/poi/xdgf/usermodel/section/class-use/GeometrySection.html
doughtnerd/POD
gpl-3.0
8,944
184
codeparrot/github-code
2e1c84111e28ad6d16cb6e342d9f630365d461ebcfeb462240beb154403d7512
if (NOT DEFINED PLUGIN_DISPLAY_NAME) set(PLUGIN_DISPLAY_NAME ${PLUGIN_NAME}) endif (NOT DEFINED PLUGIN_DISPLAY_NAME) if (NOT DEFINED PLUGIN_DESCRIPTION) set(PLUGIN_DESCRIPTION "${PLUGIN_DISPLAY_NAME}") endif (NOT DEFINED PLUGIN_DESCRIPTION) include("${CMAKE_SOURCE_DIR}/src/make/config.cmake") include("${CMAKE_SOURCE...
CMake
src/plugins/plugins.cmake
RoadWorksSoftware/eyecu-qt
gpl-3.0
2,471
67
codeparrot/github-code
0078325514c3f9ab47f4883e3583bad39b10064a09fd526dadf238203648cfea
jQuery(document).ready( function() { /* Use backticks instead of <code> for the Code button in the editor */ if ( typeof( edButtons ) !== 'undefined' ) { edButtons[110] = new QTags.TagButton( 'code', 'code', '`', '`', 'c' ); QTags._buttonsInit(); } /* Tab from topic title */ jQuery( '#ideaboard_topic_title' ...
JavaScript
templates/default/js/editor.js
opentuteplus/ideaboard
gpl-3.0
1,435
50
codeparrot/github-code
73f58a1c5ef343e7ee1f1558245f6f4ca4f17c8310deb26e8cb3d38cb5ec7912
import { decodeGroupOpaqueId } from "@reactioncommerce/reaction-graphql-xforms/group"; import { decodeShopOpaqueId } from "@reactioncommerce/reaction-graphql-xforms/shop"; /** * @name "Mutation.inviteShopMember" * @method * @memberof Accounts/GraphQL * @summary resolver for the inviteShopMember GraphQL mutation *...
JavaScript
imports/plugins/core/accounts/server/no-meteor/resolvers/Mutation/inviteShopMember.js
anthonybrown/reaction
gpl-3.0
1,425
33
codeparrot/github-code
9e033dbc205b25c8d8274b14e4e539b0c409240b22ec4e150b01bc6e3b591e5e
const _ = require('../../utils/underscore.js'); const solc = require('solc'); const Q = require('bluebird'); const BaseProcessor = require('./base'); /** * Process method: eth_compileSolidity */ module.exports = class extends BaseProcessor { /** * @override */ exec(conn, payload) { return Q.try(() => {...
JavaScript
modules/ipc/methods/eth_compileSolidity.js
ethereum/mist
gpl-3.0
1,115
51
codeparrot/github-code
6c9f9da357e560822f9a941cff182e9a9fbcb9bb43deba8a7c9543e91551718e
package eu.ehri.project.models.base; import com.tinkerpop.blueprints.Vertex; import com.tinkerpop.frames.Adjacency; import com.tinkerpop.frames.modules.javahandler.JavaHandler; import com.tinkerpop.frames.modules.javahandler.JavaHandlerContext; import com.tinkerpop.gremlin.java.GremlinPipeline; import eu.ehri.project....
Java
ehri-frames/src/main/java/eu/ehri/project/models/base/AccessibleEntity.java
lindareijnhoudt/neo4j-ehri-plugin
gpl-3.0
2,743
75
codeparrot/github-code
6b02f5c8d5e5235494ff083aaae0dc224fd72855d464070d7f9aca26d6ae9af3
<html lang="en"> <head> <title>Fancy Mail Splitting - Gnus Manual</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="description" content="Gnus Manual"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Get...
HTML
aquamacs/doc/Aquamacs Help/gnus/Fancy-Mail-Splitting.html
xfq/aquamacs-emacs
gpl-3.0
16,227
276
codeparrot/github-code
b3441c86a6e06b084cd867321a91bf4d146f0bf14323231f0130b7243ac8265f
<?php namespace Telegram; class User { public $id = NULL; public $first_name = NULL; public $last_name = NULL; public $language_code = NULL; public $username = NULL; public $is_bot = FALSE; protected $bot; protected $extra = array(); public function __construct($id, $first_name = NULL, $last_name = NULL, $u...
PHP
app-lib/php/classes/3rd-party/telegram-php/src/User.php
taoteh1221/DFD_Cryptocoin_Values
gpl-3.0
1,988
81
codeparrot/github-code
20ed9fdc5bf915e1ce7f52cab79af22dfc3a10957520f29cdcd97ee8fab64791
package fr.guiguilechat.jcelechat.model.sde.types.blueprint; import java.io.InputStreamReader; import java.util.Collections; import java.util.LinkedHashMap; import java.util.Map; import fr.guiguilechat.jcelechat.model.sde.Attribute; import fr.guiguilechat.jcelechat.model.sde.IMetaCategory; import fr.guiguilechat.jcele...
Java
model/sde/SDE-Types/src/generated/java/fr/guiguilechat/jcelechat/model/sde/types/blueprint/SuperWeaponBlueprint.java
guiguilechat/EveOnline
gpl-3.0
2,805
85
codeparrot/github-code
499da392409bb2661477a3a70725f5b56a5f1d2d5c2dbff416381059fa1a1956
using UnityEngine; using System.Collections; namespace OceanSurfaceEffects { /// <summary> /// Add to a game object to make it float on the water. /// This is just a rough method to demonstrate how to /// sample the wave height. You will likely need to /// improve on this for a proper game. /// /// There must...
C#
Assets/WaterEffect/Scripts/AddBuoyancy.cs
vmohan7/NaviPirateDemo
gpl-3.0
1,795
80
codeparrot/github-code
4aedc773dfc7fe98b8210a24a6e609928c4db4e922663ddc387abce7990184c8
<div class="ui-widget addLayer" id="addLayer_<%= shortName %>"> <span id="visible_<%= shortName %>" class="<% if (layer.isVisible()) print('ui-state-active'); else print('ui-state-default'); %> ui-corner-all ui-button"> <span class="ui-icon <% if (layer.isVisible()) print('ui-icon-check'); else print('ui-...
HTML
templates/additionalLayer.html
MizarWeb/MizarWidget
gpl-3.0
3,377
98
codeparrot/github-code
31cd9ef33536009d064f1a3a80802263a6af9d1c11f4f9e4343f8784e671d11d
/* * Decompiled with CFR 0_115. * * Could not load the following classes: * org.json.JSONException * org.json.JSONObject */ package com.android.volley.toolbox; import com.android.volley.NetworkResponse; import com.android.volley.ParseError; import com.android.volley.Response; import com.android.volley.toolbox...
Java
uploads/34f7f021ecaf167f6e9669e45c4483ec/java_source/com/android/volley/toolbox/JsonObjectRequest.java
SPACEDAC7/TrabajoFinalGrado
gpl-3.0
1,835
53
codeparrot/github-code
07137f275878bedc8f485eac875cca9ba2082904f065a1f8d08c6ee8f6f015b3
/************************************************************************ * This file is part of EspoCRM. * * EspoCRM - Open Source CRM application. * Copyright (C) 2014-2021 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko * Website: https://www.espocrm.com * * EspoCRM is free software: you can redistribute...
JavaScript
client/src/views/email-account/fields/test-send.js
ayman-alkom/espocrm
gpl-3.0
2,825
70
codeparrot/github-code
7fce70e174b5252014bee5944985b79bc082f04b61d86c9a2e5b522763e07ee4
/* * Subtitles decoder / rendering * Copyright (C) 2007 - 2010 Andreas Öman * * 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) ...
C
src/video/sub_ass.c
daedalus/showtime
gpl-3.0
12,656
583
codeparrot/github-code
9fda36e5ceb2328c975637f83f923df275ddc91e7832d3a2f4e2f2195a84a701
#include <iostream> #include <cstdlib> #include <cstdint> #include <fcntl.h> #include <errno.h> #include <unistd.h> #include <mqueue.h> using namespace std; #include "apue.h" #define uint_t uint32_t mqd_t mqd; char *buff; mq_attr attr; sigevent sigEv; static void sigUsr1(int); int main(int argc, char* *argv) { ...
C++
cpp/unp2/chap05/code_5_9.cpp
yetship/blog_codes
gpl-3.0
1,073
58
codeparrot/github-code
d6ba77de1ebb481471f886f1b97ebae36d83e3a712d82838e5bf6fe259374207
<?php /* * This file is part of Totara LMS * * Copyright (C) 2010 - 2013 Totara Learning Solutions LTD * * 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, o...
PHP
totara/reportbuilder/embedded/rb_goal_status_history_embedded.php
moodlehq/totara
gpl-3.0
3,820
114
codeparrot/github-code
26d9b93250bc66318f872f8a7a03093db4614bbb1b83428b4776da28478590e8
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file) Stockfish 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++
src/endgame.cpp
ddugovic/Stockfish
gpl-3.0
38,307
973
codeparrot/github-code
6f13cd2997f6b43eaba10a3db72a875024444ab89739c6f5dd5b9cb94023bfb3
package adx.audioxd.customenchantmentapi.events.inventory; import adx.audioxd.customenchantmentapi.enchantment.event.EnchantmentEventWithLevel; import adx.audioxd.customenchantmentapi.enchantment.event.extra.EnchantmentEventWithOwnerAndItem; import adx.audioxd.customenchantmentapi.enums.ArmorType; import org.bukkit.e...
Java
src/main/java/adx/audioxd/customenchantmentapi/events/inventory/EEquipEvent.java
audioXD/CustomEnchantmentAPI
gpl-3.0
966
33
codeparrot/github-code
2b8361edca2217ab0f438ecb4ebd12ec7a665fda48b6ce8262953233f9ee5c88
/***************************************************************************** The Dark Mod GPL Source Code This file is part of the The Dark Mod Source Code, originally based on the Doom 3 GPL Source Code as published in 2011. The Dark Mod Source Code is free software: you can redistribute ...
C++
game/MeleeWeapon.cpp
Extant-1/ThieVR
gpl-3.0
49,650
1,491
codeparrot/github-code
eecf1d95937455d84b5627c7b90b581bf8fad4d07a4fc0cb7e05e0ade15c6686
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2020 - Raw Material Software Limited JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of...
C++
JuceLibraryCode/modules/juce_gui_extra/native/juce_mac_SystemTrayIcon.cpp
danielrothmann/Roth-AIR
gpl-3.0
17,887
440
codeparrot/github-code
535af35fbf1ab2f47e28f93ecd15c296536be77b8f6ad50db254ebd9ec93b0e9
package com.earth2me.essentials.protect; import static com.earth2me.essentials.I18n._; import com.earth2me.essentials.IEssentials; import com.earth2me.essentials.User; import org.bukkit.block.Block; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; import or...
Java
EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java
Bukkit-Forge-Plugins/Essentials
gpl-3.0
1,568
53
codeparrot/github-code
e879654c808bf6ab7731832e4a9aa55e277b4911dd876b7d3d250de65a036a6e
/* * Copyright (C) 2014-2015 Canonical, Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * This program is distributed in the hope that it will be useful, * but WITHOU...
C++
plugins/Ubuntu/Gestures/TouchDispatcher.cpp
jonjahren/unity8
gpl-3.0
14,737
403
codeparrot/github-code
12245c1f6222c6aa0ed3fd634b7aa7e03aebde8f5c62dd116ef5f703fc7addb8
#ifndef zBLEConnect_h #define zBLEConnect_h #ifdef ESP32 # include "ArduinoJson.h" # include "NimBLEDevice.h" # include "config_BT.h" extern void pubBT(JsonObject& data); class zBLEConnect { public: NimBLEClient* m_pClient; TaskHandle_t m_taskHandle = nullptr; zBLEConnect(NimBLEAddress& addr) { m_pClien...
C
main/ZgatewayBLEConnect.h
1technophile/OpenMQTTGateway
gpl-3.0
2,072
71
codeparrot/github-code
5d686b74a998a21bb51b8b476d2d66b49b08090891bf35ddb082ff71bdf8de34
<?php /* * @copyright 2016 Mautic Contributors. All rights reserved * @author Mautic * * @link http://mautic.org * * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ namespace Mautic\DynamicContentBundle\Entity; use Doctrine\ORM\Tools\Pagination\Paginator; use Mautic\CoreBundle...
PHP
app/bundles/DynamicContentBundle/Entity/DynamicContentRepository.php
PatchRanger/mautic
gpl-3.0
6,570
230
codeparrot/github-code
3d43d3353ba864486bb59e4d3e4646e6b98d560564860c2ce2cd5ce07641508a
# -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # Getting Things GNOME! - a personal organizer for the GNOME desktop # Copyright (c) 2008-2012 - Lionel Dricot & Bertrand Rousseau # # This program is free software: you can redistribute it and/or modify it under # t...
Python
GTG/gtk/browser/custominfobar.py
parinporecha/backend_gtgonline
gpl-3.0
8,564
211
codeparrot/github-code
e4b8198f0ca07019d7f8847dad6568706e1de8de1c108f49323dce8951e5add5
package micdoodle8.mods.galacticraft.core.client.fx; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import micdoodle8.mods.galacticraft.api.vector.Vector3; import micdoodle8.mods.galacticraft.core.GalacticraftCore; import micdoodle8.mods.galacticraft.core.network.PacketSimple; import mic...
Java
src/main/java/micdoodle8/mods/galacticraft/core/client/fx/EntityFXLaunchFlame.java
4Space/4Space-5
gpl-3.0
5,189
136
codeparrot/github-code
fa309d8346044504f1135094aa44f43e9648e673f8d8f895fb8bca5abad70276
/* * Copyright (C) 2013 Chabassier Luc * Copyright (C) 2013 Héloïse Badaroux * Copyright (C) 2013 Marie Qiu * Copyright (C) 2013 Marie Elisabelar * * 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 F...
C++
date.hpp
lucas8/snowy
gpl-3.0
1,315
51
codeparrot/github-code
29ecdf982227aef12f95da8cef18945553623457e1f2c8e0b0c6c5a4de999706
#include <stdlib.h> #include <stdio.h> #include <stdbool.h> #include <stdint.h> #include <string.h> #include <sys/types.h> #include <unistd.h> #include <time.h> #include <pthread.h> #include <reverse/reverse.h> #include <reverse/ralloc.h> #include <reverse/fmap.h> #include <gotplt.h> #include "hash.h" #include "util...
C
test/test1.c
HPDCS/libreverse
gpl-3.0
8,930
400
codeparrot/github-code
a2bbc152a7c02510edfe2b5659ee2a078bd8c20d664f0ab4f339d3744fb4b53f
package org.drugis.common.beans; import org.drugis.common.EqualsUtil; import com.jgoodies.binding.value.AbstractConverter; import com.jgoodies.binding.value.ValueModel; public class ValueEqualsModel extends AbstractConverter { private static final long serialVersionUID = 7371154626359770150L; private Object d_exp...
Java
common-lib/src/main/java/org/drugis/common/beans/ValueEqualsModel.java
drugis/drugis-common
gpl-3.0
902
32
codeparrot/github-code
94dc7fb22d711fbda9aba55115b0c327b9a9d818cea9185b976e7116d3c8564a
package org.bukkit.plugin.java; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.Reader; import java.net.URL; import java.net.URLConnection; import java.util.List; import java.util...
Java
src/main/java/org/bukkit/plugin/java/JavaPlugin.java
PipeMC/Pipe
gpl-3.0
13,158
410
codeparrot/github-code
84333cffd0ee158beaca3a389cc3c23da6f495d099c00dcc0741fa0ee378fa56
/* =========================================================================== ARX FATALIS GPL Source Code Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). Arx Fatalis Source Code is free software: you can red...
C++
Sources/HERMES/HERMES_PAK.cpp
okready/ArxFatalis
gpl-3.0
19,685
880
codeparrot/github-code
286eda0d9ad5163043a408cc0e2bd6aff6684f8ae4edbb7955f2ee8b2559fe8e
/** * \file node_generators.hpp * * This library contains a node generator that can be used in RRT-like algorithms. * Essentially, the node generator is a callable object that will perform a "Voronoi-pull" * operation, characteristic of RRT-style algorithms. * * \author Sven Mikael Persson <mikael.s.persson@g...
C++
src/ReaK/ctrl/graph_alg/node_generators.hpp
mikael-s-persson/ReaK
gpl-3.0
13,710
336
codeparrot/github-code
1e89391973cbbc637682077d5775d3a24ee83092153049eafa6cb6c82f516385
#include "Arena.h" #include "ArenaObjects.h" #include "Enemy.h" void Arena::addEnemy() { //all positions are free bool grid[Globals::BLOCKS_X][Globals::BLOCKS_Y] = { false }; //ocupy the positions with already existing objects //All the objects have positions that are multiples of //BLOCK_H and BLOCK_W for (i...
C++
Bomberman Remake/src/ArenaEnemy.cpp
beaverden/Bomberman-Evolved
gpl-3.0
1,610
73
codeparrot/github-code
e40f93c72928c028511e7b7356fc5b02414e02f3c4a6c5d1bc6ec28225e4f9b3
/* * Cantata * * Copyright (c) 2011-2013 Craig Drummond <craig.p.drummond@gmail.com> * * ---- * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (a...
C++
context/contextengine.cpp
polpo/cantata-mac
gpl-3.0
2,044
83
codeparrot/github-code
53475f01869dafe4609749581c17367c1439b4a1a39210e7f499ca37d79d54a1
/* * Unplayer * Copyright (C) 2015-2019 Alexey Rochev <equeim@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later...
C
src/settings.h
equeim/unplayer
gpl-3.0
4,740
124
codeparrot/github-code
bba79fea2b1fb7c6d85a2870312f369c850889bb03ccffe3b3316835c3f1d86d
<?php /* * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione * Copyright (C) DevCode s.r.l. * * 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, ei...
PHP
src/Models/Setting.php
devcode-it/openstamanager
gpl-3.0
1,487
53
codeparrot/github-code
b7e6e7c7f11a34f323f35ea2eaea52a8dfa310b7913f940bcca432664c0d3320
#!/bin/bash <<authors ***************************************************************************** similarity_bt_gnpairs.sh This file is part of the ChimPipe pipeline Copyright (c) 2014 Bernardo Rodríguez-Martín Emilio Palumbo Sarah djebali Computational Biology of RNA Processing group ...
Shell
src/bash/similarity_bt_gnpairs.sh
Chimera-tools/ChimPipe
gpl-3.0
4,805
133
codeparrot/github-code
42f6357c3cea879d17f7dd15f97d49705be41773f95d112a8fcc22e0047fb43c
#!/usr/bin/env python # deals with uploading grbl to arduino # placed in a separate script to secondboot.py because I couldn't figure out how to CD into # the right directory within python, so instead I'll do the "cd'ing" in rc.local, and call standalone script*** #*** EDIT: apparently passing cwd="directory" as an ar...
Python
secondboot_arduino.py
mn1del/rpi_cnc_img
gpl-3.0
1,627
37
codeparrot/github-code
77ad861395166e02e2ab7f61cb312392bf3b7d7ef0c5092cb195ae6be6d77523
/* This file is part of NetCDF4_CXX library. NetCDF4_CXX 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. NetCDF4_CXX is dist...
C++
src/variable.cpp
fbriol/netcdf4_cxx
gpl-3.0
6,494
142
codeparrot/github-code
35d16b79d6591621a77625690ceeb03780732c5d5ff1861d39bbbeb8f768f3a9
import axios from 'axios' const actions = { addCard: (context, card) => { axios.post('cards', card) .then(response => { console.log('Add Card response: ', response) }) .catch(error => { console.log('Add Card error: ', error) }) }, getCards: (context) => { axios.get...
JavaScript
src/store/modules/cards.js
dmikalova/rem-vue
gpl-3.0
771
45
codeparrot/github-code