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
070b0ea80fb85f8fc1523764dc9bdede9ad58a14a2c673d6b5f6607d7771d564
package net.minecraft.client.particle; import net.minecraft.world.World; public class ParticleEnchantmentTable extends Particle { private final float oSize; private final double coordX; private final double coordY; private final double coordZ; protected ParticleEnchantmentTable(World worldIn, dou...
Java
mcp/src/minecraft/net/minecraft/client/particle/ParticleEnchantmentTable.java
MartyParty21/AwakenDreamsClient
gpl-3.0
3,014
89
codeparrot/github-code
0a60052e4c6bdea1f220ba630624713b433fd5c49cf2c4a760ac79d2c88f681c
/* * inode.c --- utility routines to read and write inodes * * Copyright (C) 1993, 1994, 1995, 1996, 1997 Theodore Ts'o. * * %Begin-Header% * This file may be redistributed under the terms of the GNU Library * General Public License, version 2. * %End-Header% */ #include "config.h" #include <stdio.h> #include...
C
src/ext2fs/inode.c
AdamRLukaitis/rufus
gpl-3.0
29,359
1,108
codeparrot/github-code
348f5e79dae731144ceb1284e65c14efd4b7d023c04589da2c8c2790c8cabb3b
#region Header // **************************************\ // _ _ _ __ ___ _ _ ___ | // |# |# |# |## |### |# |# |### | // |# |# |# |# |# |# |# |# |# | // |# |# |# |# |# |# |# |# |# | // _|# |#__|# _|# |# |#__|# |#__|# | // |## |## |## |# |## |### ...
C#
Server/Network/NetState.cs
greeduomacro/JustUO-1.0
gpl-3.0
31,215
1,375
codeparrot/github-code
1c98862bf96e9f490d09c5948139aa1f75213caaa71258bc1dcb190221319d63
#include "Plane.h" #if LOGGING_ENABLED == ENABLED // Write an attitude packet void Plane::Log_Write_Attitude(void) { Vector3f targets; // Package up the targets into a vector for commonality with Copter usage of Log_Wrote_Attitude targets.x = nav_roll_cd; targets.y = nav_pitch_cd; targets.z = 0;...
C++
ArduPlane/Log.cpp
mirkix/ardupilot
gpl-3.0
20,182
544
codeparrot/github-code
e18f7cdd954703f1859b0f9e62395066393ec158c06d6d8a0cf952f58831dcfd
<?php /** * * @package mahara * @subpackage export * @author Catalyst IT Ltd * @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later * @copyright For copyright information on Mahara, please see the README file distributed with this software. * */ defined('INTERNAL') || die(); req...
PHP
htdocs/export/lib.php
ImaPotato/Mahara
gpl-3.0
35,536
911
codeparrot/github-code
38625a8f2129c917ba73341a2f671f8a2585e041f4b068608b509272dd650719
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder #include "../common/cbasetypes.h" #include "../common/nullpo.h" #include "../common/random.h" #include "../common/showmsg.h" #include "../common/malloc.h" #include "map.h" #include "battle.h" #include "pa...
C
src/map/path.c
dudufangor/CelticRo
gpl-3.0
10,773
470
codeparrot/github-code
897067e1b4a39136a5b9060cb63df63d3f4f25b0b1222b7e8ea14f0129366322
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2009 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
C++
dependencies/Ogre/OgreMain/src/OgreBone.cpp
gorkinovich/DefendersOfMankind
gpl-3.0
5,226
137
codeparrot/github-code
47a644d9de1aa6c0e61e67e1060886f5a49d74e3c534b8682400bcccc02ce9e7
// // VMime library (http://www.vmime.org) // Copyright (C) 2002-2013 Vincent Richard <vincent@vmime.org> // // 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...
C++
src/vmime/security/digest/messageDigest.cpp
tijuca/libvmime
gpl-3.0
1,602
58
codeparrot/github-code
1ba1b2da1a0ff37b91bbec01ff62fcf1a243c4f4b2fdf6abb8e1ee6342f8359c
/* Copyright (C) 2014-2016 de4dot@gmail.com This file is part of dnSpy dnSpy 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 late...
C#
dnSpy.Shared/Resources/ResourceHelper.cs
congviet/dnSpy
gpl-3.0
2,363
78
codeparrot/github-code
05f7833e4777aa7577c2d325117c289d72a37b4f60561319e47ce9df47ca4abe
/* @license * This file is part of the Game Closure SDK. * * The Game Closure SDK is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version....
C++
gradleops/AndroidSeed/tealeaf/src/main/jni/js/js_timer.cpp
hashcube/native-android
gpl-3.0
3,044
101
codeparrot/github-code
3f7541bf2a9ab11fe431bff98acb4baa1129383346fcfbb403438ea7a87a2afd
/* -*- Mode: jQuery; tab-width: 4; indent-tabs-mode: nil -*- */ /** * This file is part of * Kimai - Open Source Time Tracking // https://www.kimai.org * (c) 2006-2009 Kimai-Development-Team * * Kimai is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as...
JavaScript
js/init.js
simonschaufi/kimai
gpl-3.0
3,162
121
codeparrot/github-code
899b9a47b97fb77558164bf0d3315a9f6241ace3e4706dd5a0fc5657fd406ae5
# Copyright (C) IBM Corp. 2017. # # 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...
Python
lib/subcommands/update_metapackage.py
open-power-host-os/builds
gpl-3.0
2,543
67
codeparrot/github-code
14eb9ac04acc1dbcd6faa469d7574f825682b1ff515b3d44a488cf3e366a9523
/* This file is part of ZAX. ZAX 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. ZAX is distributed in the hope that it will be useful...
Java
src/main/java/com/inovex/zabbixmobile/listeners/OnAcknowledgeEventListener.java
inovex/zax
gpl-3.0
1,138
37
codeparrot/github-code
d2940d4c7ad4075904907c148b2a857fb62598b63ec64e64d8cc78cd63f63a39
#ifndef __SECAL06_HELPERS_H__ #define __SECAL06_HELPERS_H__ 1 #include "DD4hep/DetFactoryHelper.h" #include "DDRec/DetectorData.h" #include "XML/Layering.h" #include "XML/Utilities.h" #include "DD4hep/Segmentations.h" #include "DDSegmentation/MultiSegmentation.h" #include <iostream> #undef NDEBUG #include <asser...
C
detector/calorimeter/SEcal06_Helpers.h
iLCSoft/lcgeo
gpl-3.0
8,697
309
codeparrot/github-code
cc21a779a66f81414f2cd69450eda8a3ee0399f68f6712cce220ef530d6e447f
/** * Copyright (C) 2010-2016 Structr GmbH * * This file is part of Structr <http://structr.org>. * * Structr 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 y...
Java
structr-rest/src/main/java/org/structr/rest/resource/MaintenanceResource.java
joansmith/structr
gpl-3.0
5,169
192
codeparrot/github-code
1c66b672402e702c96684ea3931ea73060486ce5c0cff5c613fa318c95bc409b
/** * @license Highcharts JS v4.0.4 (2014-09-02) * Plugin for displaying a message when there is no data visible in chart. * * (c) 2010-2014 Highsoft AS * Author: Oystein Moseng * * License: www.highcharts.com/license */ (function (H) { var seriesTypes = H.seriesTypes, chartPrototype = H.Chart.pro...
JavaScript
src/main/webapp/stat/highcharts/js/modules/no-data-to-display.src.js
teclxl/myraptest
gpl-3.0
3,401
131
codeparrot/github-code
9aa533ea09b662f7091e7984464baca264184fb0f97338064e7a9959bab8bf2c
package games.strategy.triplea.ui.mapdata; import games.strategy.ui.Util; import java.awt.Polygon; import java.util.List; import java.util.Map; import java.util.Set; import java.util.function.Function; import java.util.function.Predicate; import java.util.stream.Collectors; import lombok.experimental.UtilityClass; @U...
Java
game-core/src/main/java/games/strategy/triplea/ui/mapdata/IslandTerritoryFinder.java
DanVanAtta/triplea
gpl-3.0
3,303
80
codeparrot/github-code
bae98318d23396ec633970a2e845ad3f658ee7228e5f0aabcd34ca97b6ff4fea
/**CFile**************************************************************** FileName [bmcICheck.c] SystemName [ABC: Logic synthesis and verification system.] PackageName [SAT-based bounded model checking.] Synopsis [Performs specialized check.] Author [Alan Mishchenko] Affiliation [UC Berke...
C
lib/abc/src/sat/bmc/bmcICheck.c
Kinghsy/Approxiamate-Logic-Synthesis
gpl-3.0
18,779
541
codeparrot/github-code
fc50383b7016234a64338e877d8f3372f27ed888807485d029f10a2eac442261
----------------------------------- -- Area: Port Bastok -- NPC: Paujean -- Starts & Finishes Quest: Silence of the Rams -- !pos -93.738 4.649 34.373 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Bastok...
Lua
scripts/zones/Port_Bastok/npcs/Paujean.lua
RebootRevival/FFXI_Test
gpl-3.0
2,587
80
codeparrot/github-code
78044514e8e7388dcf4380d1d67419cbf9ae8e755a272d639fe3109041e6ba53
# # Copyright 2008-2018 Universidad Complutense de Madrid # # This file is part of PyEmir # # PyEmir 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 l...
Python
emirdrp/tools/merge_bounddict_files.py
guaix-ucm/pyemir
gpl-3.0
3,275
93
codeparrot/github-code
c305771cf633d89318dd626b51087ed6e63d4f515388d6952dc1a9a47a6b2f82
// TraceLab - Software Traceability Instrument to Facilitate and Empower Traceability Research // Copyright (C) 2012-2013 CoEST - National Science Foundation MRI-R2 Grant # CNS: 0959924 // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as...
C#
Main/TraceLab/TraceLab.Core.Test/Components/ConfigWrapperTest.cs
SoftwareEngineeringToolDemos/ICSE-2012-TraceLab
gpl-3.0
18,143
367
codeparrot/github-code
b30e2ef02142adc4affa36d5db101f6befb9325d5316fb431e1d30cf9c6e0559
//===--- ParseTemplate.cpp - Template Parsing -----------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
C++
3rd/templight/clang/lib/Parse/ParseTemplate.cpp
sabel83/metashell
gpl-3.0
71,528
1,829
codeparrot/github-code
d7cc550f387578ab9973f359ad5376b2a111644c5a813328f36b5dda021b5b04
/* * Wapiti - A linear-chain CRF tool * * Copyright (c) 2009-2013 CNRS * 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 co...
C
tools/wapiti-1.5.0/src/pattern.c
besacier/WCE-LIG
gpl-3.0
14,282
398
codeparrot/github-code
ec3426f37b478f80933c0e3936ba5814ad7791d72855df1bca5e6fbe8fa636c5
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using LeagueSharp; using LeagueSharp.Common; using SharpDX; using Color = System.Drawing.Color; using BadaoMissFortune; using EloBuddy; using LeagueSharp.Common; namespace BadaoKingdom.BadaoChampion.B...
C#
Core/Champion Ports/Miss Fortune/Badao Miss Fortune/BadaoChampion/BadaoMissFortune/BadaoMissFortuneJungleClear.cs
tk8226/YamiPortAIO-v2
gpl-3.0
5,532
106
codeparrot/github-code
3b8985eff1e505a59986f8719c57aa96806285e2876d90775ee8937a8d8e5e71
class Insertion_Sort { // function for insertion sort public static void InsertionSort(int[] array, int size) { int temp, j; for(int i = 1; i < size; i++) { temp = array[i]; j = i - 1; // Do swapping while(j >= 0 && array[j] > temp) ...
Java
Insertion_Sort/Insertion_Sort.java
algobook/Algo_Ds_Notes
gpl-3.0
871
43
codeparrot/github-code
5ec0be298428d0ccec7dac6d7022339060fb9e81e0d72a20175ecca38452d27c
/* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be usefu...
C
libraries/AP_GPS/AP_GPS.h
kellyschrock/ardupilot
gpl-3.0
21,636
553
codeparrot/github-code
7b7205b30f3edf14fd42093182ec7f55e40f4d4a92a73b13705194b7f19ba707
<?php namespace Icap\BlogBundle\Form; use Icap\BlogBundle\Form\DataTransformer\IntToBlogTransformer; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; use JMS\DiExtraBundle\Annotation as DI; /** * @DI\Service("icap_blog.f...
PHP
plugin/blog/Form/WidgetListBlogType.php
ClaroBot/Distribution
gpl-3.0
1,811
64
codeparrot/github-code
65e3072cb4af236cd4b406becb2e8d5a8725835be8879a13e75ffd61d1166873
<?php class Est_Message { const ERROR = 0; const WARNING = 1; const OK = 2; const SKIPPED = 3; const INFO = 4; /** * @var string */ protected $text; /** * @var string */ protected $level; /** * Constructor * * @param string $text * @pa...
PHP
Est/Message.php
AOEpeople/EnvSettingsTool
gpl-3.0
1,457
72
codeparrot/github-code
8330b2fa7a5ce16408abd4ff3982cd693e0a1c4a2bcabd59abb6ba16fb4b2010
/* * Copyright (C) 2008-2012 OMRON SOFTWARE Co., Ltd. * * 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 appl...
Java
packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/SymbolList.java
s20121035/rk3288_android5.1_repo
gpl-3.0
8,378
249
codeparrot/github-code
66c9593b504323709cf272776ed5015456545a17c5e91048673a8b5fcb029d2b
# encoding: utf-8 class Sns::Admin::Profiles::VideosController < Sys::Controller::Admin::Base include Sys::Controller::Scaffold::Base layout :select_layout def pre_dispatch @created_user = Sns::Profile.find(:first, :conditions=>{:account=>params[:account]}) return redirect_to "/_admin" if @created_user.b...
Ruby
app/controllers/sns/admin/profiles/videos_controller.rb
ryo-on/joruriplus
gpl-3.0
2,402
84
codeparrot/github-code
364f76cb5421311378b71b6d85e3071ba21a3a0b0748d52b17ffb2c83c7fa0a1
var YF="runCallbacks",ZF="end";function $F(a,b,c){return a.indexOf(b,c)}function aG(a){var b=Tl,c,d,e;e=a==b.f?ue:ud+a;$stats&&(e=Yl(e,ZF,a),$stats(e));a<b.i.length&&em(b.i,a,null);Wl(b,a)&&b.j.b++;b.b=-1;b.d[a]=!0;cm(b);e=b.a[a];if(null!=e){$stats&&(c=Yl(YF+a,Ec,-1),$stats(c));em(b.a,a,null);for(c=0,d=e.length;c<d;++c...
JavaScript
question/type/jme/jsme/jsme/deferredjs/183042A4CE9F9960596D1C592395F266/8.cache.js
saylordotorg/Moodle_Saylor
gpl-3.0
70,239
163
codeparrot/github-code
d989a5c98691638f593b91447f9407f5d53976036fd34f1fce04aa0e17a1d70b
import os from fabric.api import run, sudo, cd, env, task, settings from ..literals import FABFILE_MARKER def delete_mayan(): """ Delete Mayan EDMS files from an Linux system """ sudo('rm %(virtualenv_path)s -Rf' % env) def install_mayan(): """ Install Mayan EDMS on an Linux system ...
Python
fabfile/platforms/linux.py
appsembler/mayan_appsembler
gpl-3.0
922
34
codeparrot/github-code
250a87546c8260e89e7c8acffa6669ac1506ebe519e96a299e912626611588b1
/* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. This program is distributed in the hope that it would...
C
osprey/libF77/mips/quad/q_int.c
uhhpctools/openuh
gpl-3.0
1,629
61
codeparrot/github-code
983ce85376e2779702e7fc20b753c99c6807dcfbd741363ecd772c05e3728b95
/* grub-script-check.c - check grub script file for syntax errors */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 2003,2004,2005,2006,2007,2008,2009,2010 Free Software Foundation, Inc. * * GRUB is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public Li...
C
util/grub-script-check.c
xxha/grub-1.98
gpl-3.0
5,057
255
codeparrot/github-code
c92b43aa859a6c3335b8d2c0d0ebbb1636b7323e803cdee110df6252477afec9
/* ---------------------------------------------------------------------------- * SAM Software Package License * ---------------------------------------------------------------------------- * Copyright (c) 2015, Atmel Corporation * * All rights reserved. * * Redistribution and use in source and binary fo...
C
Keil-FreeRTOS-Sample-Project/Keil-FreeRTOS/FreeRTOSv9.0.0/FreeRTOS/Demo/CORTEX_A5_SAMA5D2x_Xplained_IAR/AtmelFiles/target/sama5d2/board_lowlevel.c
RobsonRojas/frertos-udemy
gpl-3.0
5,459
180
codeparrot/github-code
8b2936d4af0363251d333e8668fb5fa895003d48c7ab57ee32dbcc009acbc27f
/******************************************************************************* * IMS (It Makes Sense) -- NUS WSD System * Copyright (c) 2013 National University of Singapore. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as publish...
Java
de.tudarmstadt.ukp.dkpro.wsd.supervised.ims-gpl/src/main/java/sg/edu/nus/comp/nlp/ims/implement/WSDTest.java
canunal/dkpro-wsd-gpl
gpl-3.0
11,713
371
codeparrot/github-code
5256e0cb4a237fcd12916ef1d8f366b75a8287948b7fe70914c0ec62a46304c8
// TP OpenGL: Joerg Liebelt, Serigne Sow // classe abstraite pour regrouper differentes approches // .. pour la generation de terrain #ifndef __TERRAIN_H__ #define __TERRAIN_H__ #include <stdlib.h> #include <qimage.h> #include <QGLViewer/qglviewer.h> //pour qglwidget #define TRN_NUM_TILES 5 // structure contenant le...
C
examples/contribs/terrain/terrain.h
kerautret/libQGLViewer
gpl-3.0
6,975
265
codeparrot/github-code
88895d8845b221a5ee7a1ab7419c20948aded6595cb2b7526514f1c6a3a7f3fc
/**************************************************************************//** * @file system_msp432p401r.c * @brief CMSIS Cortex-M4F Device Peripheral Access Layer Source File for * MSP432P401R * @version V2.1.0 * @date 2016-01-26 * * @note View configuration instructions embedded in comment...
C
Keil-FreeRTOS-Sample-Project/Keil-FreeRTOS/FreeRTOSv9.0.0/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/system/CCS/system_msp432p401r.c
RobsonRojas/frertos-udemy
gpl-3.0
14,592
400
codeparrot/github-code
d8fef3cea6110d5f3ed7b94ad80407072e5739decfff8956e6bd3a9c37195f26
package net.minecraft.server; import java.util.Random; public class WorldGenPackedIce1 extends WorldGenerator { private Block a; private int b; public WorldGenPackedIce1(int i) { this.a = Blocks.PACKED_ICE; this.b = i; } public boolean generate(World world, Random random, BlockP...
Java
src/main/java/net/minecraft/server/WorldGenPackedIce1.java
bergerkiller/SpigotSource
gpl-3.0
1,648
48
codeparrot/github-code
546a1f03377ff8dbe4311f6be472d8c3a79a0db252c7190142fc4dca27811e9c
/* This file is part of KDE. Copyright (c) 2009 Frederik Gladhorn <gladhorn@kde.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License,...
C
linux26333/systems/redhat/usr/include/attica/metadata.h
aJanker/TypeChef-LinuxAnalysis
gpl-3.0
2,451
91
codeparrot/github-code
848fcd2e1c4822d96eba8a7f973cbdee48f1f25ad6f14aa770dd42431d67fd57
package org.ovirt.engine.ui.uicommonweb.models.events; import java.util.ArrayList; import org.ovirt.engine.core.common.action.RemoveAuditLogByIdParameters; import org.ovirt.engine.core.common.action.VdcActionParametersBase; import org.ovirt.engine.core.common.action.VdcActionType; import org.ovirt.engine.core.common....
Java
ovirt/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/events/AlertListModel.java
jtux270/translate
gpl-3.0
3,573
103
codeparrot/github-code
581f2f64fafdf670492ec264636883637df8a691623f9b221b088223883ccfef
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 ...
Lua
game/modules/tome/data/chats/shertul-fortress-butler.lua
naclander/tome
gpl-3.0
11,366
224
codeparrot/github-code
bbaa611247fb594a397c182afad0fc42078112546317ba811bab0c509b9ebdd9
/* * (C) 2003-2006 Gabest * (C) 2006-2015 see Authors.txt * * This file is part of MPC-HC. * * MPC-HC is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at...
C++
src/mpc-hc/PPageExternalFilters.cpp
wozio/mpc-hc
gpl-3.0
28,418
946
codeparrot/github-code
84ae677c20c72215cdac5764597b374696317d1d4e16abd4e05d97730ee524cc
package agent import ( "fmt" "io" "log" "net" "net/http" "os" "os/exec" "sync" "syscall" "time" "github.com/armon/circbuf" docker "github.com/fsouza/go-dockerclient" "github.com/hashicorp/consul/consul/structs" "github.com/hashicorp/consul/lib" "github.com/hashicorp/consul/types" "github.com/hashicorp...
GO
command/agent/check.go
Pivotal-Pierre-Delagrave/consul
mpl-2.0
19,300
704
codeparrot/github-code
3c102ca1e0dceca76f7cd87aab946170eaf76c2feb59ad616d5fc798dce2598a
// Copyright 2008 the V8 project authors. 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 ...
JavaScript
testsrc/assert.js
HtmlUnit/htmlunit-rhino-fork
mpl-2.0
13,197
418
codeparrot/github-code
5f1b36bf56b6f8e84e08c471381c07c6688f2337dfccdf116b46cafc1adb1b2f
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #![cfg_attr(feature = "unstable", feature(core_intrinsics))] #![cfg_attr(feature = "unstable", feature(on_unimplem...
Rust
components/script/lib.rs
dati91/servo
mpl-2.0
6,355
224
codeparrot/github-code
2bb50930d6fd8a9e08c7baba0dc01ea822a1e12e08dd70ea712de6389176a6ab
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
C
third_party/libcurl/curl/lib/pingpong.c
michaelforfxhelp/master
mpl-2.0
15,630
536
codeparrot/github-code
a70db0b7f5ff7726118cdd65537f758e323027d28eeb7f6cd7f8aa678c42129f
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use crate::dom::bindings::cell::DomRefCell; use crate::dom::bindings::codegen::Bindings::BlobBinding::BlobMethods...
Rust
components/script/dom/filereader.rs
pyfisch/servo
mpl-2.0
15,900
499
codeparrot/github-code
2921a003b6f995a0c394c908b8030df678985a0bced9abffaace589c7e0bc1bf
/* Copyright (C) 1999 Claude SIMON (http://q37.info/contact/). This file is part of the Epeios framework. The Epeios framework is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the ...
C
stable/ias.h
epeios-q37/epeios
agpl-3.0
13,205
546
codeparrot/github-code
fca41a8d5a54195187aea725df7151617281255ad811369051530d84fb52b4c5
import escapeTextContentForBrowser from 'escape-html'; import loadPolyfills from '../mastodon/load_polyfills'; import ready from '../mastodon/ready'; import { start } from '../mastodon/common'; import loadKeyboardExtensions from '../mastodon/load_keyboard_extensions'; start(); window.addEventListener('message', e => ...
JavaScript
app/javascript/packs/public.js
kazh98/social.arnip.org
agpl-3.0
8,326
260
codeparrot/github-code
293f530c6ef58489bdc39c21b821f407b05e73929950a2dda00e558bb6a00c94
// Copyright 2010-2012 RethinkDB, all rights reserved. #ifndef ARCH_TIMING_HPP_ #define ARCH_TIMING_HPP_ #include "concurrency/signal.hpp" #include "arch/timer.hpp" /* Coroutine function that delays for some number of milliseconds. */ void nap(int64_t ms) THROWS_NOTHING; /* This variant takes an interruptor, and th...
C++
src/arch/timing.hpp
rocio/rethinkdb
agpl-3.0
1,470
57
codeparrot/github-code
4d9047f369c6202cbc9fe2969dcb8d5ec50f5f3e4bcb973b5a4cef10e411375d
// Copyright 2012-2014 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package main import ( "fmt" "io" "io/ioutil" "os" "path/filepath" "runtime" "strings" "time" "github.com/juju/cmd" "github.com/juju/errors" "github.com/juju/loggo" "github.com/juju/utils/exec" jujucmd "git...
GO
cmd/jujud/main.go
fwereade/juju
agpl-3.0
6,527
232
codeparrot/github-code
5017b2263d51a45b76b5429dc2cd0030b208c5fdecd6578d17550fe2f317cef8
/* * This confidential and proprietary software may be used only as * authorised by a licensing agreement from ARM Limited * (C) COPYRIGHT 2013 ARM Limited * ALL RIGHTS RESERVED * The entire notice above must be reproduced on all authorised * copies and copies may only be made to the extent permitted * b...
C++
src/virtual-machine/opencl/common/common.cpp
elspru/spel
agpl-3.0
17,283
510
codeparrot/github-code
d939c9bc69f60d33464371ef23d512fdd41684e9bed45a2e05512333ce7423f1
/** * Copyright (C) 2001-2015 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published b...
Java
src/main/java/com/rapidminer/operator/util/annotations/AnnotationsToData.java
brtonnies/rapidminer-studio
agpl-3.0
3,887
95
codeparrot/github-code
024a847de3dd401e208e5225abdc837ec85bcdf48bbd4268650b82792e92f243
<?php require "../common.php"; require "../global.php"; require "../mysql/mysql.php"; require "../mysql/commonmysql.php"; require "../localization/language.php"; require "admins.php"; $debug=false; $action='none'; // // start session and check login // start_nonametv_session(); $dadmin = get_session_data(); if( !...
PHP
web/standard/web-admin/admin/myadmin.php
NonameTV/nonametv
agpl-3.0
7,167
246
codeparrot/github-code
0e3a378c9450e445edc19334d1b2b406cd32d75f71fe03faf68bd0d70d6b888c
// Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/> // Copyright (C) 2010 Winch Gate Property Limited // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version ...
C++
ryzom/server/src/entities_game_service/entity_manager/bypass_check_flags.cpp
osgcc/ryzom
agpl-3.0
2,256
86
codeparrot/github-code
616f45c6a59611702c21a23b7756be6383729b71d99849dfc73fdae4d50be575
// Object Viewer Qt - MMORPG Framework <http://dev.ryzom.com/projects/nel/> // Copyright (C) 2010 Winch Gate Property Limited // Copyright (C) 2011 Dzmitry Kamiahin <dnk-88@tut.by> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License...
C
nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/value_gradient_dialog.h
osgcc/ryzom
agpl-3.0
13,260
470
codeparrot/github-code
dd314304ce1ae16afc1403849b18593711b05f9bacd1f0f96611a4671380d7dc
/* * Kuali Coeus, a comprehensive research administration system for higher education. * * Copyright 2005-2016 Kuali, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, eithe...
Java
coeus-impl/src/main/java/org/kuali/kra/irb/actions/approve/ProtocolApproveBean.java
kuali/kc
agpl-3.0
2,961
89
codeparrot/github-code
6aa93a278b150411e2d84c061da4d2d583893169c87492ca98a08d963b38277e
/* This file is part of the Palabos library. * * Copyright (C) 2011-2015 FlowKit Sarl * Route d'Oron 2 * 1010 Lausanne, Switzerland * E-mail contact: contact@flowkit.com * * The most recent release of Palabos can be downloaded at * <http://www.palabos.org/> * * The library Palabos is free software: you can r...
C
src/complexDynamics/advectionDiffusionDynamics.h
josepedro/palabos_acoustic
agpl-3.0
17,130
372
codeparrot/github-code
363c2a01637eb033ffe88cf1327f692d9f4196aef67b28e45b5aeed0cb834515
package com.artifex.mupdf.android; import android.annotation.SuppressLint; import android.os.Build; import android.view.View; public class Stepper { private final View mPoster; private final Runnable mTask; private boolean mPending; public Stepper(View v, Runnable r) { mPoster = v; mTask = r; mPending = f...
Java
platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/Stepper.java
lustersir/MuPDF
agpl-3.0
814
54
codeparrot/github-code
89f4cba6c9628f6845808410deb77fdb2919ff1eb66912cd5c1b375a04e4162b
/** * This file is part of mycollab-mobile. * * mycollab-mobile 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. * * mycollab-mo...
Java
mycollab-mobile/src/main/java/com/esofthead/mycollab/mobile/module/crm/events/ContactEvent.java
uniteddiversity/mycollab
agpl-3.0
2,363
85
codeparrot/github-code
787d797a2e08bc4b56fe7d1207b46f2ab684852c46fe302e1395d67ac563f519
/** * This file is part of mycollab-dao. * * mycollab-dao 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. * * mycollab-dao is d...
Java
mycollab-dao/src/main/java/com/esofthead/mycollab/core/arguments/CollectionValueSearchField.java
uniteddiversity/mycollab
agpl-3.0
1,657
68
codeparrot/github-code
10e7299692f3f84396ae3dda146d5fb0021f4c7414aa3b7f0803af4e3fd589ab
// Copyright 2016 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package context import ( "io" "os" "path/filepath" charmresource "github.com/juju/charm/v9/resource" "github.com/juju/errors" "github.com/juju/loggo" "github.com/juju/utils/v2" "github.com/juju/juju/resource" "gith...
GO
resource/context/context.go
freyes/juju
agpl-3.0
3,789
133
codeparrot/github-code
476478a5141771de95a070a17e79ed5358236664106a793be41d031fe50b04d8
/* Copyright © 2013 Canonical Limited * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library...
C
gio/thumbnail-verify.c
endlessm/glib
lgpl-2.1
7,845
249
codeparrot/github-code
a9da74209abf96bdc8c51d5d6c6c2c98da4c51b416e800dff058d45424c492d2
/* * LensKit, an open source recommender systems toolkit. * Copyright 2010-2014 LensKit Contributors. See CONTRIBUTORS.md. * Work on LensKit has been funded by the National Science Foundation under * grants IIS 05-34939, 08-08692, 08-12148, and 10-17697. * * This program is free software; you can redistribute it...
Java
lenskit-knn/src/main/java/org/lenskit/knn/item/model/SimilarityMatrixModel.java
blankazucenalg/lenskit
lgpl-2.1
4,017
115
codeparrot/github-code
1999425d43e4524914e5a0e02b65692c8588957bcafd34d9898b51dbeb400781
/* * FindBugs - Find bugs in Java programs * Copyright (C) 2003-2005 University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, o...
Java
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindNonShortCircuit.java
sewe/spotbugs
lgpl-2.1
8,359
289
codeparrot/github-code
a1050fcca73ab84656a81534c96c96c1892ef98937e6ca58102701f635513c11
package railo.commons.net; import java.io.IOException; import java.io.Serializable; import java.net.Inet6Address; import java.net.InetAddress; import java.net.UnknownHostException; import railo.commons.lang.StringUtil; import railo.runtime.type.util.ListUtil; public class IPRange implements Serializable { /** *...
Java
railo-java/railo-core/src/railo/commons/net/IPRange.java
JordanReiter/railo
lgpl-2.1
5,253
212
codeparrot/github-code
9bf8d5aa373ed3f0ecbedd0b77f583175a776c3a8f95956781a6b45bfb486492
/************************************************************************** ** ** Copyright (C) 2011 - 2013 Research In Motion ** ** Contact: Research In Motion (blackberry-qt@qnx.com) ** Contact: KDAB (info@kdab.com) ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid comme...
C
src/plugins/qnx/bardescriptordocumentnodehandlers.h
aizaimenghuangu/QtTestor
lgpl-2.1
9,904
303
codeparrot/github-code
50cd2f268a6f0d79b216ddb5311d12761ccf1c01d715e5e58e66fff21f957455
/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtXmlPatterns module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:L...
C
src/xmlpatterns/acceltree/qacceltree_p.h
kobolabs/qt-everywhere-4.8.0
lgpl-2.1
14,843
405
codeparrot/github-code
03f3a68b00a9cd3003e4cb9b6b72f1bac916e1a5b9c27f83e541bd9e74bf0703
/* liblouis Braille Translation and Back-Translation Library Based on the Linux screenreader BRLTTY, copyright (C) 1999-2006 by The BRLTTY Team Copyright (C) 2004, 2005, 2006, 2009 ViewPlus Technologies, Inc. www.viewplus.com and JJB Software, Inc. www.jjb-software.com This program is free software...
C
tools/lou_checkhyphens.c
IndexBraille/liblouis
lgpl-2.1
5,391
211
codeparrot/github-code
e6d78e9ff907d4152213d7be3df31e7e289e1420e3406a5ef0b0b84a88beb96c
/* Base type for supported image formats. Subclass this to add a new * format. */ /* This file is part of VIPS. VIPS is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2...
C
libvips/include/vips/foreign.h
mcanthony/libvips
lgpl-2.1
16,938
543
codeparrot/github-code
bb8641d3a09bbdc44d4c7e3020a251eb6b43221445c1504c4f9397c8af5c95d7
/* * BioJava development code * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. If you do not have a copy, * see: * * http://www.gnu.org/copyleft/lesser.html * * Copyright for t...
Java
biojava-structure-gui/src/main/java/org/biojava/nbio/structure/align/gui/aligpanel/StatusDisplay.java
fionakim/biojava
lgpl-2.1
5,510
248
codeparrot/github-code
65653e2ce369c40064022b120bb559443919570a8fb66336c08a399e5ecb2029
/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Designer of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** G...
C++
tools/designer/src/components/tabordereditor/tabordereditor_tool.cpp
kobolabs/qt-everywhere-4.8.0
lgpl-2.1
3,370
115
codeparrot/github-code
1c7ab652cd09384945c4a7ec32698181935cede6a629a33262512e583dc63449
<?xml version="1.0" encoding="utf-8"?> <!-- vim: set expandtab tabstop=2 shiftwidth=2 foldmethod=marker: --> <!-- vim: set encoding=utf-8: --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> ...
HTML
legacy/documentation/install.html
donis/php-ipp
lgpl-2.1
11,897
360
codeparrot/github-code
725e77105e289641729c5068bb41cf6e17cf086ae3be725e031c56b10e788254
/* KNode, the KDE newsreader Copyright (c) 1999-2006 the KNode authors. See file AUTHORS for details 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 Li...
C++
knode/kngroup.cpp
lefou/kdepim-noakonadi
lgpl-2.1
29,550
1,157
codeparrot/github-code
83deee833df7b219044e99aea8526ad77ffe09255398b305e6e28cd5ec3b9388
// // This file is part of the Marble Virtual Globe. // // This program is free software licensed under the GNU LGPL. You can // find a copy of this license in LICENSE.txt in the top directory of // the source code. // // Copyright 2006-2007 Torsten Rahn <tackat@kde.org> // Copyright 2007 Inge Wallin <ingwa@kde.o...
C++
tools/svg2pnt/svg2pnt.cpp
thdtjsdn/Marble-1
lgpl-2.1
1,114
46
codeparrot/github-code
444f58621fa47962e21d5d8c190b44551838313c9e8a3b16f1d1acdb8f83c927
/****************************************************************/ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* All contents are licensed under LGPL V2.1 */ /* See LICENSE for full restrictions ...
C++
modules/richards/src/userobjects/RichardsSeff2gasRSC.C
raghavaggarwal/moose
lgpl-2.1
3,156
71
codeparrot/github-code
11a5933d9f2039fb902d19d89be05979d1bb1a28161b26facfbeb3fc81eafb60
/* * BioJava development code * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. If you do not have a copy, * see: * * http://www.gnu.org/copyleft/lesser.html * * Copyright for t...
Java
biojava-structure/src/main/java/org/biojava/nbio/structure/xtal/UnitCellBoundingBox.java
fionakim/biojava
lgpl-2.1
3,642
123
codeparrot/github-code
68d6e6b8df95e26c8ebb013c883e4ab5125650232e1cd20fc62f36800ce9acef
/* Soot - a J*va Optimization Framework * Copyright (C) 1999 Patrice Pominville, Raja Vallee-Rai * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the Licens...
Java
src/soot/toolkits/graph/UnitGraph.java
cfallin/soot
lgpl-2.1
12,120
414
codeparrot/github-code
eec6cdb4a76ee007f59630b606047ebd3f00810b9624f4cdf51f1c03f04e71e6
<!DOCTYPE html><html><head><title>Sencha Documentation Project</title><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../prettify.css" type="text/css"><link rel="stylesheet" href="../prettify_sa.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script></h...
HTML
webapp/lazyplanner/ext-4.0.0/docs/source/CompositeSprite.html
bibryam/lazyplanner
lgpl-2.1
8,139
293
codeparrot/github-code
baa007192fdef43d561ecaddc74ea984341145dad9581a16d7c4d78c7d034566
/* QuasselDroid - Quassel client for Android Copyright (C) 2015 Ken Børge Viktil Copyright (C) 2015 Magnus Fjell Copyright (C) 2015 Martin Sandsmark <martin.sandsmark@kde.org> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public Licen...
Java
QuasselDroid/src/main/java/com/iskrembilen/quasseldroid/protocol/state/IrcUser.java
justjanne/QuasselDroid
lgpl-2.1
3,834
121
codeparrot/github-code
88110760a5afef1b5255e29bee52debe62af22a7d9782103b1076f57061f2b21
/** * Handles a user ban. * * @author Joshua Ruesweg * @copyright 2001-2021 WoltLab GmbH * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php> * @module WoltLabSuite/Core/Acp/Ui/User/Action/Handler * @since 5.5 */ import * as Ajax from "../../../../../Ajax"; i...
TypeScript
ts/WoltLabSuite/Core/Acp/Ui/User/Action/Handler/Ban.ts
Cyperghost/WCF
lgpl-2.1
964
44
codeparrot/github-code
481682e30684d79bdca128c739ec6e75578179772aff2b8a588ddbc282580ae5
#include "CryOpenFile.h" #include <sys/types.h> #include <fcntl.h> #include "CryDevice.h" #include <fspp/fs_interface/FuseErrnoException.h> using std::shared_ptr; using cpputils::unique_ref; using cryfs::parallelaccessfsblobstore::FileBlobRef; using cryfs::parallelaccessfsblobstore::DirBlobRef; //TODO Get rid of t...
C++
src/cryfs/impl/filesystem/CryOpenFile.cpp
davesteele/cryfs
lgpl-3.0
2,025
72
codeparrot/github-code
cdf2985f8371c6dba89787a762187ea24d9246df3fb66d58e2396d345588a036
module OrigenTesters module PatternCompilers class Job # Pattern to be compiled, is Pathname class. Will use full path attr_accessor :pattern # Type of pattern as designated by the LinuxPatternCompiler attr_accessor :id # Where the job is to be executed, either locally ('local') o...
Ruby
lib/origen_testers/pattern_compilers/job.rb
priyavadan/origen_testers
lgpl-3.0
3,129
97
codeparrot/github-code
a161cd2ac8c5c6e820ddf6900d302fa3282133889017937d9cc89c288fdfca65
package CIF::Router; use strict; use warnings; use Mouse; use CIF qw/init_logging $Logger/; use CIF::Message; use CIF::Router::RequestFactory; use CIF::StorageFactory; use ZMQx::Class; use JSON::XS; use Try::Tiny; use Data::Dumper; # constants use constant DEFAULT_FRONTEND_PORT => CIF::DEFAULT_FRONTEND_PORT...
Perl
src/lib/CIF/Router.pm
lampwins/massive-octo-spice
lgpl-3.0
7,441
276
codeparrot/github-code
9005a457da4fcef7f837f83b8ba2b8c2954c813e350125b14a20990430900b2b
///////////////////////////////////////////////////////////////////////////// // Name: wx/osx/statbox.h // Purpose: wxStaticBox class // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 // Copyright: (c) Stefan Csomor // Licence: wxWindows licence //////////////////////////...
C
thirdparty/wxWidgets-3.0.0/include/wx/osx/statbox.h
dariusliep/LogViewer
lgpl-3.0
1,617
53
codeparrot/github-code
d7c01e0f73a3b5cff349493ad1d3aa6ab1493a904ca91b9c2efb75bc9db15b25
/** * Copyright (C) 2013 Inera AB (http://www.inera.se) * * This file is part of Inera Axel (http://code.google.com/p/inera-axel). * * Inera Axel 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, e...
Java
test/system-test/src/test/java/se/inera/axel/test/st2/TS2_IT.java
sklaxel/inera-axel
lgpl-3.0
2,379
73
codeparrot/github-code
12d1a5d2034bc8e219652425859aac776b1b2d5f9f70401d043a7fb3e8fe27d7
<?php /* * * ____ _ _ __ __ _ __ __ ____ * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \ * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) | * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/ * |_| \___/ \___...
PHP
src/pocketmine/inventory/ShapedRecipe.php
Nekiechan/NekoMine-MP
lgpl-3.0
3,341
154
codeparrot/github-code
6369aadcb1fcb9f02cece3f26020170e8e2b4592fb997c9f02f664caf113826a
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE file at the root of the source * tree and available online at * * https://github.com/keeps/roda */ package org.roda.core.data.v2.index.facet; import java.io.Serializable; import java.util.HashMap; import java.util....
Java
roda-common/roda-common-data/src/main/java/org/roda/core/data/v2/index/facet/Facets.java
rui-castro/roda
lgpl-3.0
2,108
86
codeparrot/github-code
6e0dc1cffae0ca7fdbfdcf4ffc351fae5ecdd570eecdd6965fe2e4ae3ff0fea9
/** * The Land of Alembrum * Copyright (C) 2006-2013 Evariste Boussaton * * * 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...
Java
zeditor/src/zeditor/core/selection/PersoSelection.java
PiRSquared17/zildo
lgpl-3.0
1,234
48
codeparrot/github-code
932a14e0eae47b6bf876d34faa769f3be29b139e7b09eafa4e5e3b8986c6cf02
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <title>Source code</title> <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> </head> <body> <div class="sourceContainer"> <pre><span class="sourceLin...
HTML
lib/JFreeChart-1.0.17/javadoc/src-html/org/jfree/chart/renderer/xy/StandardXYBarPainter.html
GliderWinchItems/GliderWinchj2
unlicense
20,790
298
codeparrot/github-code
9047cd60e06823f2d45a5d155be5ca2fccb2f1bccf2199c7d13b11c93ea3bcb9
package egovframework.com.uss.ion.rec.service; /** * * 추천사이트정보를 처리하는 VO 클래스 * @author 공통서비스 개발팀 박정규 * @since 2009.04.01 * @version 1.0 * @see * * <pre> * << 개정이력(Modification Information) >> * * 수정일 수정자 수정내용 * ------- -------- --------------------------- * 20...
Java
common-component/v3.9.0/src/main/java/egovframework/com/uss/ion/rec/service/RecomendSiteVO.java
dasomel/egovframework
apache-2.0
4,807
238
codeparrot/github-code
31ed5ce6190ea0bd133b6f309754f9786ddf0b5f80ccfe4974fb248c0d305b8b
using System; using System.Threading.Tasks; using Elasticsearch.Net; using System.Threading; namespace Nest { public partial interface IElasticClient { /// <inheritdoc/> IDeleteUserResponse DeleteUser(Name username, Func<DeleteUserDescriptor, IDeleteUserRequest> selector = null); /// <inheritdoc/> IDeleteU...
C#
src/Nest/XPack/Security/User/DeleteUser/ElasticClient-DeleteUser.cs
CSGOpenSource/elasticsearch-net
apache-2.0
2,077
49
codeparrot/github-code
a8816506a57ce3b99be21399c3d8bb95ac310d701c44824a1954570f2c0f1aae
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
Java
src/test/java/rx/internal/operators/SingleFromEmitterTest.java
davidmoten/RxJava
apache-2.0
6,078
222
codeparrot/github-code
4c2ac0a859a489ee61cb8e0643d1b9ae3c49063677823fc37b7b6da5ad9aa129
/* * Copyright (C) 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
gapic/src/main/com/google/gapid/widgets/LoadablePanel.java
eternity74/gapid
apache-2.0
4,919
161
codeparrot/github-code
39ee16810dc2975c4fc4055ec9acacbcd81f5983f9c14a05c51c522009b8626e
/******************************************************************************* * Copyright 2002-2017, OpenNebula Project, OpenNebula Systems * * 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 Licens...
Java
src/oca/java/src/org/opennebula/client/group/GroupPool.java
juanmont/one
apache-2.0
2,911
104
codeparrot/github-code
aa8a43525c9d355fa7bda15ef97a4ce730b8dc54d7d3f7072b0a113794504509
/* 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 writing, software * distributed...
Java
modules/flowable-ui/flowable-ui-common/src/main/java/org/flowable/ui/common/security/AjaxAuthenticationFailureHandler.java
dbmalkovsky/flowable-engine
apache-2.0
1,400
36
codeparrot/github-code
b1c456bb35617fa7e63fe8a81a76a7eab595704329f2ef53af603a594c116bc8
# Copyright 2016 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
Python
scripts/verify_included_modules.py
jgeewax/gcloud-python
apache-2.0
6,286
206
codeparrot/github-code
f9682cff4cdcc39df0690b7a2cc8d6e4a219c27e5ddaf55bca239b4098bc9125
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C
tensorflow/core/kernels/eigen_pooling.h
sarvex/tensorflow
apache-2.0
24,839
622
codeparrot/github-code
505e011b6b2420d40090d123866484bbf7a881c93fcdaca9a0e17b703550375c
/* * noVNC: HTML5 VNC client * Copyright (C) 2019 The noVNC Authors * Licensed under MPL 2.0 (see LICENSE.txt) * * See README.md for usage and integration instructions. */ /* * Logging/debug routines */ let _logLevel = 'warn'; let Debug = () => {}; let Info = () => {}; let Warn = () => {}; let Error = () => ...
JavaScript
systemvm/agent/noVNC/core/util/logging.js
GabrielBrascher/cloudstack
apache-2.0
1,351
57
codeparrot/github-code