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
9d2de7f68821e865d38866ac7ecee1ac5e750c70216638f83751b4e8b053ca1d
#ifndef MESSAGE_H #define MESSAGE_H #include <QString> #include "enums.h" #include "abstractdata.h" namespace QAprs { class Message : public AbstractData { public: Message(); // Getters QString inline getRecipient() { return recipient; } QString inline...
C
include/qaprsclass/message.h
aso824/qaprsclass
lgpl-3.0
906
37
codeparrot/github-code
30d04f8882cde0a463f9d3a68f0a428989bd77c8f2598adfe78dbddcb064b4e1
package org.molgenis.file.ingest.impl; import java.io.File; import java.util.Date; import org.apache.commons.lang3.StringUtils; import org.molgenis.auth.MolgenisUser; import org.molgenis.data.DataService; import org.molgenis.data.Entity; import org.molgenis.data.jobs.JobMetaData; import org.molgenis.data.meta.EntityM...
Java
molgenis-file-ingester/src/main/java/org/molgenis/file/ingest/impl/FileIngesterLoggerImpl.java
erwinwinder/molgenis
lgpl-3.0
5,143
136
codeparrot/github-code
b528038d6de96566e568aeb05b504238862efc8c54ab7ab782e3bd056992192c
/** * @cond LICENSE * ###################################################################################### * # LGPL License # * # # * # This file is part of Lig...
Java
src/main/java/org/lightvoting/simulation/action/message/random_basic/CSendRB.java
sdennisen/LightVoting
lgpl-3.0
5,806
141
codeparrot/github-code
9a5b00f78f8831e63b094690deae8627e86cae09da2dbd81a617959b5aeb470a
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
C
src/ec2/createlaunchtemplaterequest_p.h
pcolby/libqtaws
lgpl-3.0
1,466
48
codeparrot/github-code
24981ff9135a3a9dd5c64f67ab1e3ca6a3b64ab24e3758964561d60326eb771f
/******************************************************************************* * Gisgraphy Project * * 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 * versio...
Java
src/main/java/com/gisgraphy/helper/GisFeatureHelper.java
delphiprogramming/gisgraphy
lgpl-3.0
4,129
114
codeparrot/github-code
25b1b8489aa9e3c05051df1887a1730b9377fc350dcd6a2bd98e01fe7a0c9587
\section{P\+H\+P\+Excel\+\_\+\+Writer\+\_\+\+Excel5\+\_\+\+B\+I\+F\+Fwriter Class Reference} \label{class_p_h_p_excel___writer___excel5___b_i_f_fwriter}\index{P\+H\+P\+Excel\+\_\+\+Writer\+\_\+\+Excel5\+\_\+\+B\+I\+F\+Fwriter@{P\+H\+P\+Excel\+\_\+\+Writer\+\_\+\+Excel5\+\_\+\+B\+I\+F\+Fwriter}} Inheritance diagram fo...
TeX
php/planificateur de reunion/doc/latex/class_p_h_p_excel___writer___excel5___b_i_f_fwriter.tex
amirdine/academic-projects
lgpl-3.0
8,289
158
codeparrot/github-code
cdc196bd778471c1846ff3ac8c5c0783fa0cd03603d51ac04dff5fb2b2eed955
/* * Sonar, open source software quality management tool. * Copyright (C) 2008-2011 SonarSource * mailto:contact AT sonarsource DOT com * * Sonar 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
sonar-core/src/main/java/org/sonar/core/plugins/RemotePlugin.java
leodmurillo/sonar
lgpl-3.0
2,934
107
codeparrot/github-code
b2b7c74f969af109b27b86b727251533935b27f191b805bb79ae6afdbf695e53
package liquibase.diff; import liquibase.change.Change; import liquibase.change.ColumnConfig; import liquibase.change.ConstraintsConfig; import liquibase.change.core.*; import liquibase.changelog.ChangeSet; import liquibase.database.Database; import liquibase.database.structure.*; import liquibase.database.typeconvers...
Java
trunk/portofino-database/liquibase-core-2.0.5-sources/liquibase/diff/DiffResult.java
hongliangpan/manydesigns.cn
lgpl-3.0
37,629
1,129
codeparrot/github-code
0ac81db62e892a7838f7b4ed4637d86615c3e3438792be5646a3f01be90d0b07
package org.javlo.service; import java.lang.reflect.InvocationTargetException; import javax.servlet.http.HttpServletRequest; import org.apache.commons.beanutils.BeanUtils; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import org.javlo.helper.StringHel...
Java
src/main/java/org/javlo/service/PDFLayout.java
Javlo/javlo
lgpl-3.0
4,384
185
codeparrot/github-code
eb46111667a04335afc748feafb9d97ac2cf2950ff2c841eb6247d4d42c8521a
package com.kamesuta.mc.signpic.gui; import java.awt.Toolkit; import java.awt.datatransfer.Transferable; import java.util.concurrent.TimeUnit; import javax.annotation.Nonnull; import javax.annotation.Nullable; import org.lwjgl.input.Keyboard; import com.kamesuta.mc.bnnwidget.WBase; import com.kamesuta.mc.bnnwidget....
Java
src/main/java/com/kamesuta/mc/signpic/gui/GuiMain.java
Team-Fruit/SignPicture
lgpl-3.0
20,461
595
codeparrot/github-code
38d4fa1dec8471c860e648cf6ea74cc7d270e068b6cde8a91e816348f73d6e98
// -*- Mode:C++ -*- /************************************************************************\ * * * This file is part of Avango. * * *...
C
avango-daemon/include/avango/daemon/HIDInput.win.h
vrsys/avango
lgpl-3.0
8,753
267
codeparrot/github-code
b53bc00d005bed1ef67d4f0500b1f9b5a125c77a5627ddf3b03e82b3405bc715
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
C
src/elasticloadbalancing/describeinstancehealthresponse.h
pcolby/libqtaws
lgpl-3.0
1,637
52
codeparrot/github-code
51b2d113e9df5ec5fa2b10bb7d05f8efd786a8ed7f8d7c198860d2bb7ac08782
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
C
src/servicequotas/getawsdefaultservicequotaresponse.h
pcolby/libqtaws
lgpl-3.0
1,632
52
codeparrot/github-code
804951e3d8eb0c38882927049e7579cd215ed4792ef5c23702fed867c2f892cc
#include <libgen.h> #include <string.h> #include <stdlib.h> char *dirname(char *path) { char *slash = path; if(strrchr (path, '/') == NULL) { slash = NULL; } if (slash == path) { ++slash; } else if (slash != NULL && slash[1] == '\0') { slash = memchr (path, slash - path, '/'); } ...
C
libgen/dirname.c
infinitycoding/mercury
lgpl-3.0
570
35
codeparrot/github-code
1bc3797b813efc7b0bc0eb64d832a1144ad734b998abc44a03295ff98eaed56f
/** * DataCleaner (community edition) * Copyright (C) 2014 Neopost - Customer Information Management * * This copyrighted material is made available to anyone wishing to use, modify, * copy, or redistribute it subject to the terms and conditions of the GNU * Lesser General Public License, as published by the Free...
Java
monitor/services/src/test/java/org/datacleaner/monitor/jobwizard/common/SelectTableWizardPageTest.java
anandswarupv/DataCleaner
lgpl-3.0
4,135
88
codeparrot/github-code
31740c634322846b077060cb74f091b70edf5f8524f951db3345410b7bda4c36
using System; using System.Drawing; using System.IO; namespace FFmpeg.AutoGen.Example { public sealed unsafe class H264VideoStreamEncoder : IDisposable { private readonly Size _frameSize; private readonly int _linesizeU; private readonly int _linesizeV; private readonly int _li...
C#
FFmpeg.AutoGen.Example/H264VideoStreamEncoder.cs
Ruslan-B/FFmpeg.AutoGen
lgpl-3.0
3,625
90
codeparrot/github-code
25a6b5d293941c270a3032da2b85cc6f20e6e1e4b8b0d1f4ce2c1506106bc578
/** * DataCleaner (community edition) * Copyright (C) 2014 Neopost - Customer Information Management * * This copyrighted material is made available to anyone wishing to use, modify, * copy, or redistribute it subject to the terms and conditions of the GNU * Lesser General Public License, as published by the Free...
Java
engine/core/src/main/java/org/datacleaner/metadata/DatastoreMetadataImpl.java
anandswarupv/DataCleaner
lgpl-3.0
2,027
62
codeparrot/github-code
10ece7d84688babc124f8927c829aceece96d38c3bd79f6611474f1bce0c5310
<?php namespace Yen\Router; use Yen\Router\Contract\IRouter; use Yen\Router\Exception\RouteNotFound; use Yen\Router\RoutesFileParser\Parser; class Router implements IRouter { private $routes; public function __construct() { $this->routes = []; } /** * @return Yen\Router\Contract\IR...
PHP
src/Yen/Router/Router.php
nullptr-cc/yen2
lgpl-3.0
1,710
77
codeparrot/github-code
5b6c00f956b886e5c0ab9da2f818fddf64ea04c798940f2b4f51452df1097c6f
#ifndef R_PKCS7_H #define R_PKCS7_H #ifdef __cplusplus extern "C" { #endif typedef struct r_pkcs7_certificaterevocationlists_t { ut32 length; RX509CertificateRevocationList **elements; } RPKCS7CertificateRevocationLists; typedef struct r_pkcs7_extendedcertificatesandcertificates_t { ut32 length; RX509Certificate...
C
libr/include/r_util/r_pkcs7.h
kamou/radare2
lgpl-3.0
2,190
82
codeparrot/github-code
142975bc514111565db83e873d1a5f047205b48c6ce6519de519d57f8f64b170
void fsm_msgCipherKeyValue(CipherKeyValue *msg) { CHECK_INITIALIZED CHECK_PARAM(msg->has_key, _("No key provided")); CHECK_PARAM(msg->has_value, _("No value provided")); CHECK_PARAM(msg->value.size % 16 == 0, _("Value length must be a multiple of 16")); CHECK_PIN const HDNode *node = fsm_getDerivedNode(SECP256...
C
firmware/fsm_msg_crypto.h
jhoenicke/trezor-mcu
lgpl-3.0
11,819
337
codeparrot/github-code
841b78c34ce328347defb0359ce33a859cc72efb2cbf2149c64ee16a5f18f37f
#include "fullkey_array.h" #include "../../base.h" namespace md5db { fullkey_array_t::fullkey_array_t ( ) { } fullkey_array_t::~ fullkey_array_t ( ) { close (); } void fullkey_array_t::close ( ) { for ( int i = 0; i < COUNT_OF ( m_fullkeys ); ++ i ) { ...
C++
hustdb/db/server/module/kv/md5db/fullkey_array.cpp
Qihoo360/huststore
lgpl-3.0
2,215
92
codeparrot/github-code
125810478edaf78b90a2ab79173b90db76937001c6ae107e3352b2f248f4e8d8
#include <rx/iterate.hpp> #include <rx/sum.hpp> #include <rx/take.hpp> #include <rx/select.hpp> #include <rx/where.hpp> #include <rx/concurrency.hpp> #include <boost/lexical_cast.hpp> #include <iostream> template<class T> class ConsoleWriter { public: typedef T value_type; void onnext(T const& value) { ...
C++
main.cpp
andreo/rxcpp
lgpl-3.0
2,430
137
codeparrot/github-code
6534f9a4a5db13c6cc7bf6740a64cf78f4ba38c7de89f5a5ac21a8414b62225c
/* * SonarQube, open source software quality management tool. * Copyright (C) 2008-2014 SonarSource * mailto:contact AT sonarsource DOT com * * SonarQube 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 Found...
Java
server/sonar-server/src/main/java/org/sonar/server/component/db/ComponentDao.java
jblievremont/sonarqube
lgpl-3.0
8,754
230
codeparrot/github-code
407def5e1944117fd80d8f456ba1c4f5903d7a9328157072de01a91f16d55fb6
package ch.spacebase.npccreatures.npcs.nms; import java.util.ConcurrentModificationException; import java.util.List; import org.bukkit.Location; import org.bukkit.craftbukkit.entity.CraftPlayer; import org.bukkit.entity.Player; import net.minecraft.server.DamageSource; import net.minecraft.server.Entity; import net....
Java
src/main/java/ch/spacebase/npccreatures/npcs/nms/NPCZombie.java
vanZeben/NPCCreatures
lgpl-3.0
1,523
73
codeparrot/github-code
5b1436027d2ecd8b6ff2cf9b762c008575e04847b4a43d8f6f8003fc7c213123
# -*- coding: utf-8 -*- import re from DelogX.utils.i18n import I18n from DelogX.utils.path import Path from DelogX.utils.plugin import Plugin class DelogReadMore(Plugin): i18n = None def run(self): conf = self.blog.default_conf self.i18n = I18n( Path.format_url(s...
Python
DelogX/defaults/plugins/delog_readmore/__init__.py
deluxghost/DelogX
lgpl-3.0
1,320
41
codeparrot/github-code
2ce09062937acbb0a87baaca04e0947afa983ca6b9c30600aae9e074f37e85ed
<?php namespace app\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\Darsenaestado; /** * DarsenaestadoSearch represents the model behind the search form about `app\models\Darsenaestado`. */ class DarsenaestadoSearch extends Darsenaestado { /** * @inheritdoc */ ...
PHP
basic/models/DarsenaestadoSearch.php
unajPrSwGrupo1/OrgLogist2015
lgpl-3.0
1,441
67
codeparrot/github-code
b4784cfd582fa6830b6d810a94aa5c00c52e9e1d1702f9b9a076a3aee1cca86d
<? /* $Id: FoafPerson.php,v 1.1 2005/11/02 22:59:33 terraces Exp $ This file is part of PHOAF - http://gna.org/projects/phoaf/ Copyright (c) 2005 Alexandre Passant <alex@passant.org> Realeased under GPL version 2 or later, see LICENSE file or <http://www.gnu.org/copyleft/gpl.html> */ class FoafPerson exten...
PHP
common/include/lib/phoaf/FoafClasses/FoafPerson.php
gubi/AIRS
lgpl-3.0
3,888
146
codeparrot/github-code
18b9ba6933fc52c1379abb4f148cb39660b32ec221be527a5574885bfeeb17b3
/* * Copyright (c) 2018 Particle Industries, Inc. All rights reserved. * * 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 3 of the License, or (at your option) any ...
C
hal/inc/ble_hal.h
spark/firmware
lgpl-3.0
41,792
1,199
codeparrot/github-code
d084dfe562d97d7d1c2afeb852269014920a49365fc59e3343c96f4b15d2aa8b
#include "Orbit.hpp" #include <cmath> Orbit::Orbit(ThreeVector startPosition, ThreeVector startVelocity, time_t startTime) { currentPosition = startPosition::DeepCopy(); currentVelocity = startVelocity::DeepCopy(); time_t = startTime; } float Orbit::EscapeVelocity() { } float Orbit::RadiusOfPeriapsis() { ...
C++
src/Orbit.cpp
christok/ksatsim
lgpl-3.0
1,202
86
codeparrot/github-code
46088054199d51ff615674271e176a2950789c07fa32b58c8c71281fdae0b168
/* * Copyright (c) 2014 Rosie Alexander and Scott Killen. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 3 of the License, or (at your option) any * later version....
Java
src/main/java/mod/steamnsteel/block/SteamNSteelMachineBlock.java
AtomicBlom/SteamNSteel
lgpl-3.0
4,873
147
codeparrot/github-code
2ba230b56b18d215e9c78913be336ab6343168ff0479da5bee9d39e18206346c
/* * @BEGIN LICENSE * * Psi4: an open-source quantum chemistry software package * * Copyright (c) 2007-2017 The Psi4 Developers. * * The copyrights for code used from other parties are included in * the corresponding files. * * This file is part of Psi4. * * Psi4 is free software; you can redistribute it an...
C++
psi4/src/psi4/libdpd/buf4_mat_irrep_rd_block.cc
jH0ward/psi4
lgpl-3.0
18,464
544
codeparrot/github-code
c726e9b1374f30639758c795115eb5a6e9084cee2c8955c24423cb1021c13801
package org.glydar.core.protocol.packet; import io.netty.buffer.ByteBuf; import org.glydar.api.model.geom.FloatVector3; import org.glydar.api.model.geom.IntVector2; import org.glydar.api.model.geom.LongVector3; import org.glydar.core.protocol.Packet; import org.glydar.core.protocol.PacketType; import org.glydar.core....
Java
glydar-core/src/main/java/org/glydar/core/protocol/packet/Packet09Shoot.java
Glydar/Glydar.next
lgpl-3.0
4,822
177
codeparrot/github-code
269e914875dcbe5ca1a8c79d7fc37d8242f30fcb13b2857323525cf120096513
/* * This file is part of MyPet * * Copyright © 2011-2016 Keyle * MyPet is licensed under the GNU Lesser General Public License. * * MyPet 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...
Java
modules/v1_9_R2/src/main/java/de/Keyle/MyPet/compat/v1_9_R2/skill/skills/ranged/nms/MyPetSmallFireball.java
jjm223/MyPet
lgpl-3.0
3,092
97
codeparrot/github-code
b629466e9543a338a9e4bbd10b445e6fa513f89884331ab4b1f723b130c5ec79
/* ** This file is part of the Hpc Template Library (Htl or HTL). ** It is based on a merger of QT, STL, and SigSlots along with development of new classes. ** License information is in the HtlLicense.h file ** This software was merged and developed by: ** ** Anthony Daniels ** QT, STL, SigSlots ** ** HTL...
C++
GtCore/GtBase/GtByteArray.cpp
trident99/granturismo
lgpl-3.0
26,333
1,026
codeparrot/github-code
4f4091796fd363a516d60158c2cc85ca569d567da8869cd38524d9df02bcc2ed
/* $Id: ncbi_lb.c 451391 2014-11-06 15:31:05Z lavr $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" unde...
C
src/ncbi-blast-2.5.0+/c++/src/connect/ncbi_lb.c
kyungtaekLIM/PSI-BLASTexB
lgpl-3.0
6,774
188
codeparrot/github-code
d36f29831c88ea261e0a2c703951b91b2e448e913295e90fb3cf0e344dd7af7c
package amd.strainer.display; import java.awt.Graphics2D; import java.util.HashSet; import amd.strainer.display.util.DiffLetterInfo; import amd.strainer.objects.SequenceFragment; public class LettersDisplayGeometry extends DisplayGeometry { private HashSet<DiffLetterInfo> mLetters = new HashSet<DiffLetterInfo>(); ...
Java
src/amd/strainer/display/LettersDisplayGeometry.java
jmeppley/strainer
lgpl-3.0
1,914
81
codeparrot/github-code
a53d0dd4ca10287aec6435e1a97ac07854cc7a0726d878ffccf7326502446c0f
from msaf.models import dbsession, Sample, Marker, Batch from msaf.lib.analytics import SampleSet from itertools import cycle import yaml def load_yaml(yaml_text): d = yaml.load( yaml_text ) instances = {} for k in d: if k == 'selector': instances['selector'] = Selector.from_dic...
Python
msaf/lib/queryutils.py
trmznt/msaf
lgpl-3.0
4,648
182
codeparrot/github-code
506eb2dba916baf495245df831f15da6a6caa63b69a18f2894d5bf4a949008d5
package net.minecraft.block; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import java.util.List; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.entity.Entity; import net.minecraft.util.AxisAlignedBB; import ...
Java
forge/mcp/temp/src/minecraft/net/minecraft/block/BlockHalfSlab.java
HATB0T/RuneCraftery
lgpl-3.0
4,843
111
codeparrot/github-code
993d492236c87016b9632e646f34e6b45c5314d97c87c6428cbd2e6e9f04496d
// LICENSE: LGPL 3 - https://www.gnu.org/licenses/lgpl-3.0.txt // s. http://blog.marcel-kloubert.de using System; using System.IO; namespace MarcelJoachimKloubert.CLRToolbox.IO { /// <summary> /// Arguments for events that tell that two <see cref="FileSystemInfo" /> objects are different. /// </summary...
C#
MarcelJoachimKloubert.CLRToolbox.20/IO/FoundDifferentFileSystemItemsEventArgs.cs
mkloubert/CLRToolbox
lgpl-3.0
2,257
71
codeparrot/github-code
90fbb40e70549fab13aa2857d75a184f70f1ef91ed0ffd79579d735b8b7d93db
/*---------------------------------------------------------------------------*\ * * bitpit * * Copyright (C) 2015-2021 OPTIMAD engineering Srl * * ------------------------------------------------------------------------- * License * This file is part of bitpit. * * bitpit is free software: you can redis...
C++
src/patchkernel/adaption.hpp
optimad/bitpit
lgpl-3.0
3,114
148
codeparrot/github-code
c47d92a5a1d6a92ce1cad9e809dff43ce4574a9afb266febe32a6fde7cd3a88d
package com.zenoton.TunnelLWJGL.java.Inventory.Tools; import com.zenoton.TunnelLWJGL.java.helpers.InputMouse; import com.zenoton.TunnelLWJGL.java.helpers.Resources; import com.zenoton.TunnelLWJGL.java.helpers.Texture; import org.lwjgl.opengl.GL11; import static org.lwjgl.opengl.GL11.*; /** * Created by CAMPBELL MIL...
Java
Tunnel/src/com/zenoton/TunnelLWJGL/java/Inventory/Tools/Tools.java
Zenoton/Tunnel
lgpl-3.0
1,386
44
codeparrot/github-code
00537deda9e4ca3b1dc8d238063387692f74c821996b2d0391cb6e7891e39d77
/******************************************************************** ** Image Component Library (ICL) ** ** ** ** Copyright (C) 2006-2013 CITEC, University of Bielefeld ** ** Neuroinformat...
C
ICLIO/src/ICLIO/Grabber.h
iclcv/icl
lgpl-3.0
18,580
395
codeparrot/github-code
2539408e4862f8bd6ddfe2b2f69c71be45ddbfcf6b2c2cd6fcc53362e8945f3e
/* * Copyright © gaosong * * This program and the accompanying materials are licensed under * the terms of the GNU Lesser General Public License version 3.0 * as published by the Free Software Foundation. */ package org.gsimple.common.tuple; /** * Quintet tuple * * @param <A> * First value of Qui...
Java
gsimple/gsimple-common/src/main/java/org/gsimple/common/tuple/Quintet.java
dean2015/gs-simple
lgpl-3.0
1,532
72
codeparrot/github-code
b650a8dffa855bc51dccc3a5a94b5a2be4fc1d7069b4b3f1c6528cb753da3853
<?php /* * * ____ _ _ __ __ _ __ __ ____ * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \ * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) | * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/ * |_| \___/ \___...
PHP
src/pocketmine/block/TNT.php
DualNova-Team/DualNova
lgpl-3.0
2,176
86
codeparrot/github-code
df07d8c4c9a42ded950e5c308b5bc438338f1fea6a6afc0b67365dce25ffa470
#!/usr/bin/env python # pylint: disable=R0903 # # A library that provides a Python interface to the Telegram Bot API # Copyright (C) 2015-2021 # Leandro Toledo de Souza <devs@python-telegram-bot.org> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser Public L...
Python
telegram/parsemode.py
leandrotoledo/python-telegram-bot
lgpl-3.0
1,783
46
codeparrot/github-code
1c0ce2c7881922734346f95769b9916711dd0910792ea36a66db90b630d6ece0
<?php /** * This file is part of InfectedAPI. * * Copyright (C) 2017 Infected <http://infected.no/>. * * 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 3.0 of the ...
PHP
json/team/removeUserFromTeam.php
InfectedLan/InfectedAPI
lgpl-3.0
2,056
66
codeparrot/github-code
0991ee784ab19882097dabe954090d5b317f6c5e35f33ab3e72f213ea50bfd94
#ifndef RENDER_DEBUG_H #define RENDER_DEBUG_H #include <stdint.h> #include <SDL2/SDL_platform.h> #include <SDL2/SDL_opengl.h> #define R_DRAW_WIRE 0x00000001 // Wireframe rendering #define R_DRAW_ROOMBOXES 0x00000002 // Show room bounds #define R_DRAW_BOXES 0x00000004 // S...
C
src/render/render_debug.h
opentomb/OpenTomb
lgpl-3.0
3,797
96
codeparrot/github-code
2c617274147332ddc1f80c2edcf8ab093dda44e303fa5f893ec01d55265d265e
var vueBody = new coreBody({ el: 'body', data : { user : "leasunhy", selectedTab : 'All Questions', currentOrder : 'vote', orders : ['vote', 'view', 'time'], page : 1, tasks : [], sear...
JavaScript
server/static/js/taskhall/taskhall_index.js
igemsoftware/SYSU-Software-2015
lgpl-3.0
2,207
66
codeparrot/github-code
d04725c2cefb474d850bdfdbd8f82c772fcb1972fbcf23e4ea8ec1a383387b4e
// // Producer for the ALICE pALPIDEfs chip // Author: Jan.Fiete.Grosse-Oetringhaus@cern.ch // #include "eudaq/Producer.hh" #include "eudaq/Configuration.hh" #include <mutex> #include <thread> #include <queue> #include <tinyxml.h> // pALPIDEfs driver #include "TTestsetup.h" // #define DEBUG_USB struct SingleEvent...
C++
producers/palpidefs/include/PALPIDEFSProducer.hh
freidt/eudaq
lgpl-3.0
8,292
305
codeparrot/github-code
38a4a70528ed5444e7f42b51e9e57c677024fa37ef1fd8dd766406c8a8bed4a2
/* * SonarQube * Copyright (C) 2009-2019 SonarSource SA * mailto:info AT sonarsource DOT com * * This program 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, o...
Java
server/sonar-server/src/main/java/org/sonar/server/platform/monitoring/WebSystemInfoModule.java
Godin/sonar
lgpl-3.0
3,228
90
codeparrot/github-code
958fdc938d9e4bb9053a2dc4cc06cd0d37d62bbd99ec80099dc1287136dfd1cc
-- ************************************************************************ -- * -- * THIS IS A SCHEMA ALTER SCRIPT - IT CAN BE RE-RUN BUT THEY MUST BE RUN -- * IN NUMERIC ORDER -- * -- ************************************************************************ -- -- ******************************************************...
SQL
rifDatabase/SQLserver/alter scripts/v4_0_alter_12.sql
smallAreaHealthStatisticsUnit/rapidInquiryFacility
lgpl-3.0
9,182
209
codeparrot/github-code
64578eb3860ef1ab6428cfd944c6c5e0831af21649dbe72f1d21c7a625f840f0
/* * This file is part of Log4jHttpAppender. * * Log4jHttpAppender is free software: you can redistribute it and/or modify * it under the terms of the Lesser GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later versio...
Java
src/main/java/fr/bettinger/log4j/HttpLayout.java
Tillerino/log4j-http-appender
lgpl-3.0
4,148
161
codeparrot/github-code
f529fd78bcf99951d44c3d89998c7f0d3ff01ca89611e826b434ed205677d553
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
C
src/chime/getaccountsettingsresponse.h
pcolby/libqtaws
lgpl-3.0
1,522
52
codeparrot/github-code
61f35caee282240b49c835515934fb53fb2651f0a4f69d675946217b0e6719fb
var User = require('../config/Sequelize.js').import('../models/User.js'); module.exports = function(app) { function indexController(request, response) { User.findOne({ where: { 'username': 'admin' } }).then(function(userObj) { if(userObj === null) { var salt = User.generateS...
JavaScript
webapp/controllers/index.js
edelatin/terrama2
lgpl-3.0
1,508
48
codeparrot/github-code
361d7b08eadd1516db1a4234501485282c11661a565a8b9a45ee4ba91125390f
/** @file log.c @brief create .log file @author Eugene Kolivoshko (ekolivoshko@gmail.com) @date August 9 2015 @version 1.0 @copyright GNU Public License. */ #include <stdlib.h> #include <stdio.h> #include <stdarg.h> #include <Windows.h> #define LOGFILE "mdRun.log" /**< all ReportM...
C
src/out/log.c
zhekan/durkMD
lgpl-3.0
2,876
131
codeparrot/github-code
09120ca25e0beeab205ae5cf46eb63db21430665fa61e5400f291b979d53d68e
<?php namespace ch\metanet\formHandler\renderer; use ch\metanet\formHandler\field\DateField; /** * @author Pascal Muenst <entwicklung@metanet.ch> * @copyright Copyright (c) 2014, METANET AG */ class SelectDateFieldRenderer extends DateFieldRenderer { const LOCALIZED_MONTH_FULL = '%B'; const LOCALIZED_MONTH_SHOR...
PHP
lib/ch/metanet/formHandler/renderer/SelectDateFieldRenderer.php
METANETAG/formHandler
lgpl-3.0
2,869
99
codeparrot/github-code
2db41460cf001e152858d80ade96bd7b0086074e75eab41d0a8617b31285e953
/*======================================================================*\ * Safe Recursive mutex implementation. * Diego Nehab, 12/3/2001 * RCS Id: $Id: srm.c,v 1.2 2001/12/14 21:55:13 diego Exp $ \*======================================================================*/ #include <stdlib.h> #include "pt.h" ...
C
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/luathread/srm.c
kveratis/GameCode4
lgpl-3.0
2,460
88
codeparrot/github-code
216feb9996826b1321cc01ff1489e85d7aacebde4bb48b7d19a96d145c3f407e
package com.googlecode.sarasvati.env; import java.security.SecureRandom; import java.util.Arrays; import org.junit.Assert; import org.junit.Test; public class Base64Test { @Test public void test() { SecureRandom rand = new SecureRandom(); for (int i = 1; i < 1024; i++) { byt...
Java
sarasvati-core/src/test/java/com/googlecode/sarasvati/env/Base64Test.java
plorenz/sarasvati
lgpl-3.0
859
39
codeparrot/github-code
8cc3c632f4080a29439dcef8ad72ffe4bed1aa9635b38124c9a91d1070b7f21a
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
C
src/apigateway/updaterequestvalidatorrequest.h
pcolby/libqtaws
lgpl-3.0
1,452
51
codeparrot/github-code
09772094a02ee52a8e73ef854ba5b800627adafdbac2985a59e9b9c37f2192a5
/*+@@file@@----------------------------------------------------------------*//*! \file listeneradapter.h \par Description Extension and update of headers for PellesC compiler suite. \par Project: PellesC Headers extension \date Created on Sun Jul 17 22:03:03 2016 \date Modified on Sun...
C
Include/listeneradapter.h
Frankie-PellesC/fSDK
lgpl-3.0
4,291
55
codeparrot/github-code
153a77ffbf3d03fc9c183a01fe5e536257262d2263a3325ae2935ab761fd152e
package com.towel.cfg; import java.util.Arrays; import java.util.Collections; import java.util.List; public class ProgressiveString { private List<CharInterval> charsIntervals; private int charIntervalIndex; private int minChar; private int maxChar; private char[] string; public ProgressiveString(...
Java
src/com/towel/cfg/ProgressiveString.java
MarkyVasconcelos/Towel
lgpl-3.0
3,407
128
codeparrot/github-code
076d969552747b49cca76943d67bd7429cb31269a9436330c8269abc0d87e37f
/* * Copyright (C) 2015 higherfrequencytrading.com * * This program 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. * * This program is ...
Java
src/main/java/net/openhft/chronicle/hash/serialization/impl/AbstractCharSequenceUtf8DataAccess.java
lburgazzoli/Chronicle-Map
lgpl-3.0
2,427
90
codeparrot/github-code
c3243b22c4c7ed9625798dc76a39bfbf1fbc0408d5d5f959d66d3b38f1585954
/* * Model Tools. * Copyright (C) 2013 Pal Hargitai (pal@lunarray.org) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) an...
Java
src/main/java/org/lunarray/model/descriptor/builder/annotation/base/listener/operation/result/SetRelationListener.java
lunarray-org/model-descriptor
lgpl-3.0
3,067
69
codeparrot/github-code
1ab82c1a968d4dfa9d6e0a45c8be57084f1a804650909e6b7c0360e568449ff4
package org.bladerunnerjs.utility; import java.io.File; import java.io.PrintWriter; import java.io.StringWriter; import org.apache.commons.io.filefilter.PrefixFileFilter; import org.bladerunnerjs.logging.Logger; import org.bladerunnerjs.memoization.MemoizedFile; import org.bladerunnerjs.model.App; import org.bladerun...
Java
brjs-core/src/main/java/org/bladerunnerjs/utility/UserCommandRunner.java
andreoid/testing
lgpl-3.0
3,624
111
codeparrot/github-code
b3b15578929933fea926a222929194c59f93c77ebf6426f11d8e6934bc256cd1
# -*- coding: utf-8 -*- """ Base version of package/tasks.py, created by version 0.3.0 of package/root/dir> dk-tasklib install (it should reside in the root directory of your package) This file defines tasks for the Invoke tool: http://www.pyinvoke.org Basic usage:: inv -l # list all availabl...
Python
tasks.py
datakortet/dk
lgpl-3.0
4,792
166
codeparrot/github-code
c4e7132d9abd4c9e7f47dffe3098aac64691ae3a198a501ef81baf7bd28731fe
/* * This file is part of the LAIK library. * Copyright (c) 2018 Alexander Kurtz <alexander@kurtz.be> * * LAIK 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, version 3 or later. * * LAIK is dis...
C
src/backends/tcp/socket.c
envelope-project/laik
lgpl-3.0
13,618
401
codeparrot/github-code
4b4b331b2280ab312136c8c6ebbc74bc3652d97d1e06d54b5ee95e888b83ef14
package be.kwakeroni.workshop.java9.solution.language; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import java.util.function.Supplier; // Examples // V1 - Replace type declarations with var // V2 - Inference of generic parameters (to Object) // V3 - Inference of intersection types ...
Java
java9/solution/src/test/java/be/kwakeroni/workshop/java9/solution/language/Var.java
kwakeroni/workshops
lgpl-3.0
3,850
123
codeparrot/github-code
b8c44651f0ed7668947d654c51b32d22700fe2e313cf72b9eec227ace14b00ab
/*************************************************************** RayCaster - A Simple C++ Ray Caster Game Copyright 2013 Core S2 - See License.txt for details This source file is developed and maintained by: + Jeremy Bridon jbridon@cores2.com File: Utilities.cpp/h Desc: Dozen helpful structures or functions...
C
RayCaster/Utilities.h
nint22/RayCaster
lgpl-3.0
5,274
197
codeparrot/github-code
6f303d6a24f4ddf5804fc9d4f7e4e764aa14894d71e027644c9c0deded3a43b4
#!/bin/bash # Exit immediately on error set -eu -o pipefail # Python module where to install libs PYTHON_VERSION=2.7.11 PYTHON_MODULE=mugqic/python/${PYTHON_VERSION} module load $PYTHON_MODULE ## Install Python libraries #pip easy_install pip # cython #easy_install http://cython.org/release/Cython-0.23.4.tar.gz pip...
Shell
resources/modules/python_lib.sh
ccmbioinfo/mugqic_pipelines
lgpl-3.0
1,899
64
codeparrot/github-code
dd265f31d94cf33c08418f0e1562e2175cccf677df062f1a81f6770ef4fa6202
/** * Copyright © 2002 Instituto Superior Técnico * * This file is part of FenixEdu Academic. * * FenixEdu Academic 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...
Java
src/main/java/org/fenixedu/academic/domain/EmptyDegree.java
FenixEdu/fenixedu-academic
lgpl-3.0
10,703
356
codeparrot/github-code
d9892c13d6eaab4a8511e15492df042d51d6b37ba870dfa836529fadeb715f9b
package net.warpgame.engine.graphics.rendering; import net.warpgame.engine.core.context.service.Profile; import net.warpgame.engine.core.context.service.Service; import net.warpgame.engine.core.context.task.RegisterTask; import net.warpgame.engine.core.execution.task.EngineTask; import net.warpgame.engine.graphics.cam...
Java
graphics/src/main/java/net/warpgame/engine/graphics/rendering/RenderTask.java
WarpOrganization/warp
lgpl-3.0
6,415
164
codeparrot/github-code
8f126783bcb780c79c6088719a9c89a97a39126bab16c8dcf89ae45c2ead9c99
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Copyright (c) 2014-2020 The plumed team (see the PEOPLE file at the root of the distribution for a list of names) See http://www.plumed.org for more information. This file is part of plumed, version 2. plumed is free software...
C++
src/tools/MultiValue.cpp
PabloPiaggi/plumed2
lgpl-3.0
4,622
121
codeparrot/github-code
5ee9405ee92b9042fb6c9bbeed61a2db338e3b55a1b7e012dcc4d6c24756e5cf
using System; using System.Linq; using CoCoL; using System.Threading.Tasks; #if NETCOREAPP2_0 using TOP_LEVEL = Microsoft.VisualStudio.TestTools.UnitTesting.TestClassAttribute; using TEST_METHOD = Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute; #else using TOP_LEVEL = NUnit.Framework.TestFixtureAttr...
C#
src/UnitTest/ExecutionContextTests.cs
kenkendk/cocol
lgpl-3.0
3,752
126
codeparrot/github-code
6bf7bdfd0da97c01254e4c8d1fe7ca276e8d456489b8bb1814957b84e4e1ac0c
if(typeof define !== 'function') var define = require('amdefine')(module); define(["require","deep/deep", "./ajax"],function (require, deep, Ajax) { deep.store.jqueryajax = deep.store.jqueryajax || {}; deep.store.jqueryajax.HTML = deep.compose.Classes(Ajax, { headers:{ "Accept" : "text/html; charset=utf-8" ...
JavaScript
lib/html.js
philid/deep-jquery-ajax
lgpl-3.0
1,000
35
codeparrot/github-code
3d6a1bd511dbc8abdf2dc5a6057d6886e9a9c5cd66ae505062da66a61c715230
package dk.dma.ais.abnormal.analyzer.services; import dk.dma.enav.model.geometry.Ellipse; import dk.dma.enav.model.geometry.Position; import org.apache.commons.configuration.Configuration; import org.jmock.Expectations; import org.jmock.integration.junit4.JUnit4Mockery; import org.junit.Before; import org.junit.Ignore...
Java
ais-ab-analyzer/src/test/java/dk/dma/ais/abnormal/analyzer/services/SafetyZoneServiceTest.java
dma-ais/AisAbnormal
lgpl-3.0
7,500
169
codeparrot/github-code
289603761a13f22711729c9c96263f15573339f76921d6a96e3a3e82633f0614
from typing import Optional from UM.Logger import Logger from cura.CuraApplication import CuraApplication from cura.PrinterOutput.Models.MaterialOutputModel import MaterialOutputModel from .BaseCloudModel import BaseCloudModel ## Class representing a cloud cluster printer configuration # Spec: https://api-staging....
Python
plugins/UM3NetworkPrinting/src/Cloud/Models/CloudClusterPrinterConfigurationMaterial.py
Patola/Cura
lgpl-3.0
3,000
56
codeparrot/github-code
feb229c6ce7683fc8524439c2e1557247b58e3728c95d8a341959207e773e9b0
/* * This file is part of VirtualFile. * * Copyright 2016 by Bernd Riedl <bernd.riedl@gmail.com> * * Licensed under GNU Lesser General Public License 3.0 or later. * Some rights reserved. See COPYING, AUTHORS. */ package at.beris.virtualfile.client.http; import at.beris.virtualfile.attribute.FileAttribute; imp...
Java
src/main/java/at/beris/virtualfile/client/http/HttpClient.java
berisd/VirtualFile
lgpl-3.0
2,155
118
codeparrot/github-code
84d780bf5c399cb465b9d567eb5eee9e3dbd401acfd6b96c32c74521b69b4039
package com.zhp.base.ui.widget.ptr.lib.header; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.PointF; import android.view.animation.Animation; import android.view.animation.Transformation; import java.util.Random; /** * Created by srain on 11/6/14. */ public class StoreHouse...
Java
base/src/main/java/com/zhp/base/ui/widget/ptr/lib/header/StoreHouseBarItem.java
pzhangleo/android-base
lgpl-3.0
2,111
74
codeparrot/github-code
9719bc1615771c6fe46b57f4e4df8d1289509ae3d61388bdcacab29ad31a6e85
/* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify i...
Java
src/main/java/com/example/switchyard/switchyard_example/KeystorePasswordCallback.java
pazfernando/switchyard-bean-wssecurity-example
lgpl-3.0
2,263
66
codeparrot/github-code
b99abbfbe0d74a331e980fb0151ccb94b046c896fbdc60201d8d2a2de3282ecb
/* * #%L * Alfresco Repository * %% * Copyright (C) 2005 - 2016 Alfresco Software Limited * %% * This file is part of the Alfresco software. * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * provided under the...
Java
src/main/java/org/alfresco/opencmis/search/CMISQueryServiceImpl.java
Alfresco/alfresco-repository
lgpl-3.0
8,952
246
codeparrot/github-code
c856fcd41b102406190caf9eeb835f5286c8fb881c11229a0a8a3691d1439eee
package au.edu.unimelb.plantcell.servers.msconvertee.impl; import java.io.IOException; import java.io.StringReader; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.logging.Logger; import javax.annotation.Resource; import javax.ejb.EJB; import javax.ejb.Me...
Java
msconvertee/src/au/edu/unimelb/plantcell/servers/msconvertee/impl/MSConvertJobProcessor.java
ozacas/bioee
lgpl-3.0
3,069
88
codeparrot/github-code
9b7a4dd279a4710bd32c35f7875e91682ff32dc8eeb11104a70ebc8dcaba4ed9
package org.cpsolver.studentsct.model; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import org.cpsolver.coursett.model.Placement; im...
Java
src/org/cpsolver/studentsct/model/Section.java
UniTime/cpsolver
lgpl-3.0
38,061
976
codeparrot/github-code
9445e3f7998027b4c199b8af88b33bdb50db7df301448ecad5b562ee5819b4ec
<?php /* * Copyright (c) 2012-2016, Hofmänner New Media. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This file is part of the N2N FRAMEWORK. * * The N2N FRAMEWORK is free software: you can redistribute it and/or modify it under the terms of * the GNU Lesser General Public License ...
PHP
src/app/n2n/core/config/ErrorConfig.php
n2n/n2n
lgpl-3.0
3,995
130
codeparrot/github-code
9e3f4acd6b19eaf639d4a354695bb6c841e272d5dc4b99f30075cf8c9313cb1f
package repack.org.bouncycastle.util.test; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.security.SecureRandom; public class FixedSecureRandom extends SecureRandom { private byte[] _data; private int _index; private int _intPad; pub...
Java
src/bouncycastle/repack/org/bouncycastle/util/test/FixedSecureRandom.java
bullda/DroidText
lgpl-3.0
3,088
136
codeparrot/github-code
8dbbefdec10c764373763fd3aedd292aeb99a9635a76bed82c2fa20d78443994
//============================================================================ //RF Explorer for Windows - A Handheld Spectrum Analyzer for everyone! //Copyright (C) 2010-21 RF Explorer Technologies SL, www.rf-explorer.com // //This application is free software; you can redistribute it and/or //modify it under the ter...
C#
RFExplorerCommunicator/RFEConfiguration.cs
RFExplorer/RFExplorer-for-.NET
lgpl-3.0
19,313
343
codeparrot/github-code
a8ba27154c1fcdc93aad2ddb04d5c800d79515b7df83c0b406226289b84a5796
import weakref import logging logger = logging.getLogger(__name__) import core.cons as cons from core.api import api from core.config import conf from qt import signals #Config parser OPTION_IP_RENEW_ACTIVE = "ip_renew_active" OPTION_RENEW_SCRIPT_ACTIVE = "renew_script_active" class IPRenewerGUI: """""" de...
Python
addons/ip_renewer/ip_renewer_gui.py
nitely/ochDownloader
lgpl-3.0
2,017
63
codeparrot/github-code
4bce6d496348cdcd2c966f846e07427cec868023be51e6e00628fea08be786a4
// This file is part of rgtk. // // rgtk is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // rgtk is distributed in the hop...
Rust
src/gtk/widgets/menubutton.rs
zploskey/rgtk
lgpl-3.0
2,057
64
codeparrot/github-code
293a862220e307545e6136d8c03997b8e775feb160d93a4687113b41087f5428
/* ANCH Framework: ANother C++ Hack is a C++ framework based on C++11 standard Copyright (C) 2012 Vincent Lachenal This file is part of ANCH Framework. ANCH Framework 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 Fre...
C++
anch-crypto/inc/crypto/cipher/aes256.hpp
vlachenal/anch-framework
lgpl-3.0
3,520
87
codeparrot/github-code
0e32ba75fd9dc2f5e60c29f31bce72ce1220b3211bb79062d413f14c81d4c0f6
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
C
Compile/CompileDependencies/ThirdParty/PhysX/PhysX_3.4/Source/LowLevel/API/include/PxvSimStats.h
Bang3DEngine/Bang
lgpl-3.0
4,147
115
codeparrot/github-code
e4bf119dc6e10632ea3639af26054d0d88aee61e51f723ea5bd570bf3ee36768
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>The source code</title> <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="../resources/prettify/prettify.js"></script> <style type="t...
HTML
doc/js/source/ButtonGroup.html
tonybaloney/Cloud-auto-scaling
lgpl-3.0
6,834
210
codeparrot/github-code
b77ca51b543984e1a1f34346c3e1dc443d365f27cc11d581eb2bb38c68c90a74
/* * gpio.c: * Swiss-Army-Knife, Set-UID command-line interface to the Raspberry * Pi's GPIO. * Copyright (c) 2012-2014 Gordon Henderson *********************************************************************** * This file is part of wiringPi: * https://projects.drogon.net/raspberry-pi/wiringpi/ * * wiringPi ...
C
gpio/gpio.c
synthead/wiringPi
lgpl-3.0
32,518
1,356
codeparrot/github-code
4a1b8395054efc02283031fd16f22b554d982ffaf92a1ef8e07e0309ecb0b13b
#!/usr/bin/env python3 # coding: utf-8 """Launcher of the Mikado pick step.""" import argparse import re import sys import os from typing import Union, Dict from ._utils import check_log_settings_and_create_logger, _set_pick_mode import marshmallow from ..configuration import DaijinConfiguration, MikadoConfiguration ...
Python
Mikado/subprograms/pick.py
lucventurini/mikado
lgpl-3.0
23,916
420
codeparrot/github-code
9f7fde764e17a1e14bf3d4c0e26063ac978d809ba8467d53dc3763ef37e2a6f8
package com.sirma.itt.sep.properties.unique; import com.sirma.itt.seip.rest.exceptions.BadRequestException; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.InjectMocks; import org.mockito.runners.MockitoJUnitRunner; import java.io.IOException; import java.io.InputSt...
Java
docker/sirma-platform/platform/seip-parent/api-gateway/ui-gateway/src/test/java/com/sirma/itt/sep/properties/unique/UniqueValueRequestBodyReaderTest.java
SirmaITT/conservation-space-1.7.0
lgpl-3.0
3,956
96
codeparrot/github-code
39afc4251e1bcc9b1252b083867c5648820ba7f4efd95e5f21e08878febd4c96
package candy.factions.faction; public enum EnumRank { FOREIGNER, CITIZEN, GUARD, ADVISER, LEADER; public int toInt() { switch (this) { case FOREIGNER: return 0; case CITIZEN: return 1; case GUARD: return 2; case ADVISER: return 3; case LEADER: return 4; default: Sy...
Java
src/main/java/candy/factions/faction/EnumRank.java
candyninja001/Factions
lgpl-3.0
780
43
codeparrot/github-code
df7f14bce74804eea0933e167a4c76bc917a97b3d503eba0eab50ba2bbdc5cfc
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="es" sourcelanguage="en"> <context> <name>AboutPage</name> <message> <location filename="../qml/pages/AboutPage.qml" line="8"/> <source>The server has to be used with the client program that is able to display maps, ...
TypeScript
translations/harbour-osmscout-server-es.ts
XOleg/osmscout-server
lgpl-3.0
78,284
1,561
codeparrot/github-code
26e777e9d07e9a799f48ee9a317081d1767efed7ab4887cff27d5222be8dafd6
/* * Copyright (c) 1995-2012, The University of Sheffield. See the file * COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt * * This file is part of GATE (see http://gate.ac.uk/), and is free * software, licenced under the GNU Library General Public License, * Version 2, June 1991 (in ...
Java
src/gate/gui/ontology/OntologyEditor.java
liuhongchao/GATE_Developer_7.0
lgpl-3.0
92,742
2,385
codeparrot/github-code
b900dd8a253dda8d32761773c1893e83b936d0d27388739ccd72c3d515502018
package eu.europa.echa.iuclid6.namespaces.endpoint_study_record_directobservationsclinicalcases._6; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlElementDecl; import javax.xml.bind.annotation.XmlRegistry; import javax.xml.namespace.QName; /** * This object contains factory methods for each...
Java
iuclid_6_4-io/src/main/java/eu/europa/echa/iuclid6/namespaces/endpoint_study_record_directobservationsclinicalcases/_6/ObjectFactory.java
ideaconsult/i5
lgpl-3.0
24,144
410
codeparrot/github-code
805fb393303e5350e0d095586d5016f26e9ed68eafa8afc28dddc414df97407a
{-# LANGUAGE LambdaCase #-} -- | Parsers for 'MidiMessage' and its components, implemented as Attoparsec -- parsers. See "Data.Attoparsec.ByteString" for how to run them. In most common -- use cases, the 'decodeMidi' function in "Sound.MIDI" should suffice. module Sound.MIDI.Parser where import Control.Applicative imp...
Haskell
src/Sound/MIDI/Parser.hs
tsahyt/midi-simple
lgpl-3.0
5,229
165
codeparrot/github-code
09120927fb310d48636e4a0b50e5c4c21fce67cafba8782b955f1224bd1e7a63
using System.Data.Entity.Infrastructure; using TrackerEnabledDbContext.Common.Configuration; namespace TrackerEnabledDbContext.Common.Auditors.Helpers { public class DbEntryValuesWrapper { protected readonly DbEntityEntry _dbEntry; private DbPropertyValues _entryValues = null; private...
C#
TrackerEnabledDbContext.Common/Auditors/Helpers/DbEntryValuesWrapper.cs
bilal-fazlani/tracker-enabled-dbcontext
lgpl-3.0
993
35
codeparrot/github-code
8725f6a87c35397fb6f439d275ba35116adb1e8daf7f745b156c442d653805de
/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * Copyright (C) 2013 Kouhei Sutou <kou@clear-code.com> * * 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 ve...
C
groonga-gobject/ggrn-error.c
groonga/groonga-gobject
lgpl-3.0
8,118
268
codeparrot/github-code