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 |
|---|---|---|---|---|---|---|---|---|
d30487f9eefaf358895a5fa95359d19215fe5c8872ef4bd2a17e2279cfc15877 | /* -*- OpenSAF -*-
*
* (C) Copyright 2008 The OpenSAF Foundation
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. This file and program are licensed
* under the GNU Les... | C | osaf/services/saf/mqsv/mqd/mqd_tmr.c | kenzaburo/OpenSaf-FrameWork | lgpl-2.1 | 3,798 | 123 | codeparrot/github-code |
c7fc866c5297f2fd9b8f64e2e1e91bf6144087d3210cb168109f76d23ac75e8e | /*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1997-2002
* Sleepycat Software. All rights reserved.
*
* $Id: DbXAResource.java,v 1.1.1.1 2003/11/20 22:13:33 toshok Exp $
*/
package com.sleepycat.db.xa;
import com.sleepycat.db.Db;
import com.sleepycat.db.DbEnv;
import com.sle... | Java | libdb/java/src/com/sleepycat/db/xa/DbXAResource.java | community-ssu/evolution-data-server | lgpl-2.1 | 4,433 | 191 | codeparrot/github-code |
942e5e94ee32516ab5368cf53042d950be418c47003716b60528477b0e3964e1 | # Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import os
from spack import *
TUNE_VARIANTS = (
'none',
'cp2k-lmax-4',
'cp2k-lmax-5',
'cp2k-lmax-6',
... | Python | var/spack/repos/builtin/packages/libint/package.py | rspavel/spack | lgpl-2.1 | 7,364 | 198 | codeparrot/github-code |
059f26abe0896f1ef12ac1f9f40328e306f8f3e6708581dd87f6a11a9db030d6 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection.Emit;
using EmitMapper.AST;
using EmitMapper.AST.Interfaces;
using EmitMapper.AST.Nodes;
using EmitMapper.MappingConfiguration.MappingOperations;
using EmitMapper.AST.Helpers;
using EmitMapper.Utils;
using Emi... | C# | EmitMapper/EmitMapper/EmitBuilders/MappingOperationsProcessor.cs | antonovicha/EmitMapperRedux | lgpl-2.1 | 22,834 | 783 | codeparrot/github-code |
5100c8c31356b751c2b452c0d28ddb396be0879a01f7cd545261b22d7fa55d12 | /*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2002-2010, Open Source Geospatial Foundation (OSGeo)
*
* 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 ... | Java | modules/plugin/jdbc/jdbc-h2/src/test/java/org/geotools/data/h2/H2UuidTestSetup.java | geotools/geotools | lgpl-2.1 | 1,905 | 51 | codeparrot/github-code |
aa6a26610c00536768fccf87c0956231fd2d0172cc8365ffa6126f466233b7bf | /*
* Hibernate OGM, Domain model persistence for NoSQL datastores
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.ogm.datastore.mongodb.test.dialectinvocations;
import... | Java | mongodb/src/test/java/org/hibernate/ogm/datastore/mongodb/test/dialectinvocations/GridDialectOperationInvocationsTest.java | emmanuelbernard/hibernate-ogm | lgpl-2.1 | 6,795 | 249 | codeparrot/github-code |
e41b83ad3ba9fc6942ae0cd8b5e1471b3c092d8d0bcb997c19afeb7fd939cab3 | //$HeadURL$
/*----------------------------------------------------------------------------
This file is part of deegree, http://deegree.org/
Copyright (C) 2013 by:
IDgis bv
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as ... | Java | uncoupled/deegree-spring/src/main/java/org/deegree/spring/db/SpringConnectionProviderMetadata.java | deegree/deegree3 | lgpl-2.1 | 4,216 | 103 | codeparrot/github-code |
e219bdb1288fde63a8165f64489afd107e17a30e52d6ebb60ef7ad997d91089e | /*
* Copyright (C) 2003 Robert Sandilands (Pty) Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This ... | C++ | identifier/reservedword.cpp | rsandila/scriptid | lgpl-2.1 | 2,373 | 94 | codeparrot/github-code |
3dc2163d094c4e80013b4a1829dc48bfe68a8d7e41ba99e22152a34a09a986dc | <?php
/**
* Jojo CMS
* ================
*
* Copyright 2007 Harvey Kane <code@ragepank.com>
* Copyright 2007 Michael Holt <code@gardyneholt.co.nz>
* Copyright 2007 Melanie Schulz <mel@gardyneholt.co.nz>
*
* See the enclosed file license.txt for license information (LGPL). If you... | PHP | jojo_links.php | JojoCMS-Plugins/jojo_links | lgpl-2.1 | 1,740 | 52 | codeparrot/github-code |
7966c61d197f61b3568495111de303d69c33bf8e192f770594fb9b56ffef268c |
#include "CubitCoordinateSystem.hpp"
#include <assert.h>
#include "CubitMessage.hpp"
//! default constructor, initializes to rectangular type with an identity transform
CubitCoordinateSystem::CubitCoordinateSystem(int id)
: mId(id), mType(Rectangular), mMatrix(CubitTransformMatrix()), mReference(0)
{
}
CubitCoord... | C++ | src/cgm/util/CubitCoordinateSystem.cpp | tenpercent/cp-sandbox | lgpl-2.1 | 1,511 | 67 | codeparrot/github-code |
46d3fbadbfe3927f6e5b4e2959d724d4501e6dfce000f9891adac17f9eac1b35 | /*
* Copyright (C) 2011 Piotr Pokora <piotrek.pokora@gmail.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 2 of the License, or
* (at your option) any later v... | C | src/midgard_base_abstract.c | piotras/midgard-core | lgpl-2.1 | 7,063 | 206 | codeparrot/github-code |
a695cc9b7699a12759fd08afcad89d915aaf3b496911010d091ffee0acc5dc58 | /*
© 2011 CloudSixteen.com do not share, re-distribute or modify
this file without the permission of its owner(s).
*/
#include "CEventHandler.h"
#include "Events.h"
CEventHandler::CEventHandler() {}
CEventHandler::~CEventHandler()
{
g_Events->RemoveHandler(this);
}
void CEventHandler::HandleEvent(EventData &even... | C++ | source/CEventHandler.cpp | kurozael/codekiddy | lgpl-2.1 | 557 | 30 | codeparrot/github-code |
e6a9bee68c674e54e3e07863355fc7c832e8b38e17eabc9c459d08ad84aff4d8 | /*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.impl.gui.main.menus;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
import javax.swing.*;
import javax.swing.borde... | Java | src/net/java/sip/communicator/impl/gui/main/menus/AutoAnswerMenu.java | 0xbb/jitsi | lgpl-2.1 | 33,098 | 1,015 | codeparrot/github-code |
064ad348b29162243219ad892db5e80984f2ef321e93a25f63de9869d382fa5d | /*
Copyright (C) 2007 by Marten Svanfeldt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This... | C | include/csplugincommon/rendermanager/viscull.h | crystalspace/CS | lgpl-2.1 | 6,886 | 214 | codeparrot/github-code |
47dab4388de9deed036ec6817e62527d46e9468f06df9084e136e7df8156308a | #pragma once
#include "../macro.hpp"
#include "../common.hpp"
namespace wrd {
using std::string;
class buildFeature {
WRD_DECL_ME(buildFeature)
public:
struct date {
WRD_DECL_ME(date)
public:
static WRD_SINGLETON_GETTER(const string& get(), string, WRD_BU... | C++ | mod/indep/src/helper/buildFeature.hpp | kniz/World | lgpl-2.1 | 2,106 | 80 | codeparrot/github-code |
b526492cc14be920dfc8ce1cf823fa98137181d4b45b296dc69dc70c18ecc85e | /*
* 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 is distributed in the
* hope that it will... | Java | src/com/sun/jna/Platform.java | jenkinsci/jna | lgpl-2.1 | 4,207 | 133 | codeparrot/github-code |
b217463694ca788b5ebdc1f8555df5353ea765929e95df74f696a43faf081ddd | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
//$Id$
package org.hibernate.jpa.test.cascade;
import java.io.Serializable;
import... | Java | sources/FeatureExtractor/lib/hibernate-release-5.1.0.Final/project/hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/cascade/ExtractionDocumentInfo.java | 1fechner/FeatureExtractor | lgpl-2.1 | 3,006 | 128 | codeparrot/github-code |
2310813f88e391db9dcdc6e3b62633d293ff019f08bd2f1fd96b650e711e91f2 | package uk.co.jezuk.mango.iterators;
import java.util.Collection;
import java.util.Iterator;
public class LoopOverIterableIterator<T> implements Iterator<T>
{
private final Collection<? extends T> source_;
private Iterator<? extends T> iter_;
public LoopOverIterableIterator(final Collection<? extends T> source... | Java | src/main/java/uk/co/jezuk/mango/iterators/LoopOverIterableIterator.java | jezhiggins/mango | lgpl-2.1 | 703 | 33 | codeparrot/github-code |
d0787d33f40547e6ee3ffd7e5ecf2e747147d4274754d5ae08d4b2bdd1f2a360 | /*
* HamiltonianMonteCarloOperatorParser.java
*
* Copyright (c) 2002-2017 Alexei Drummond, Andrew Rambaut and Marc Suchard
*
* This file is part of BEAST.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership and licensing.
*
* BEAST is free software; you c... | Java | src/dr/inferencexml/operators/hmc/HamiltonianMonteCarloOperatorParser.java | maxbiostat/beast-mcmc | lgpl-2.1 | 4,729 | 127 | codeparrot/github-code |
433dafc6cbf72648fa46bee88008f0149224ec7f302d0a1a4bc8ef462b4dc00b | /**********************************************************************
* Copyright (c) 2013, 2014 Pieter Wuille *
* Distributed under the MIT software license, see the accompanying *
* file COPYING or http://www.opensource.org/licenses/mit-license.php.*
*******************************... | C | secp256k1/ecmult_impl.h | GroestlCoin/foreign | lgpl-2.1 | 13,362 | 376 | codeparrot/github-code |
e2d1fe216a016762ffcec0777f6108ebfe85de346a809276b62cf2e694e90901 | package com.hpe.iot.dc.trinetra.southbound.converter.impl;
import java.math.RoundingMode;
import java.text.DecimalFormat;
import java.util.Map;
import org.springframework.stereotype.Component;
import com.hpe.broker.utility.UtilityLogger;
import com.hpe.iot.dc.trinetra.model.NotificationRecord;
import com.handson.iot... | Java | transport_lyr_dc/udp/trinetradc/src/main/java/com/hpe/iot/dc/trinetra/southbound/converter/impl/StandardMessageCreator.java | gado4b2/device-controllers | lgpl-2.1 | 4,634 | 122 | codeparrot/github-code |
8ca362bb74647d79975577fb8081e50ac00df8f33626c249ffcd81fc92b3f8a7 | package Mr.Zombie;
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;
import cpw.mods.fml.relauncher.SideOnly;
import cpw.mods.fml.rel... | Java | src/main/java/Mr/Zombie/sekBlock.java | Pleurotus-eryngii/TextCraft | lgpl-2.1 | 2,097 | 65 | codeparrot/github-code |
b50dc99f87cc09170eae3ec09bddd00f5210e5274188db8aaece50511118ea24 | /* libinfinity - a GObject-based infinote implementation
* Copyright (C) 2007-2015 Armin Burgmeier <armin@arbur.net>
*
* 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
* versi... | C | libinfinity/common/inf-error.c | tyll/libinfinity | lgpl-2.1 | 13,053 | 411 | codeparrot/github-code |
2802baaede352b677c29b120fed8bec839c32a133f9ed29f3cabd7b1d983e851 | <?php
// (c) Copyright 2002-2016 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
/**
* Tiki_Profile_List
*
*/
class Tiki_Profile... | PHP | lib/core/Tiki/Profile/List.php | oregional/tiki | lgpl-2.1 | 3,965 | 181 | codeparrot/github-code |
987a055ae9a4399c8dbf2b6faa7edce51e95f7c07a3bc72acb7bf25524909622 | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* Copyright (C) 2009-2015 Richard Hughes <richard@hughsie.com>
*
* Most of this code was taken from Zif, libzif/zif-state.c
*
* Licensed under the GNU Lesser General Public License Version 2.1
*
* This library is free software; you can... | C++ | libdnf/dnf-state.cpp | edynox/libdnf | lgpl-2.1 | 40,590 | 1,451 | codeparrot/github-code |
e5a67516beeeb2a922467bcf09bf357be67cbebf78c75a372cba513b66c3d40d | /* Simple rectangle algebra. Should build rectangle list algebra on top of
* this.
*
* J. Cupitt, 8/4/93.
*
* 17/3/11
* - move to vips_ prefix
* - gtk-doc comments
*/
/*
This file is part of VIPS.
VIPS is free software; you can redistribute it and/or modify
it under the terms of the GNU Les... | C | libvips/iofuncs/rect.c | lovell/libvips | lgpl-2.1 | 5,812 | 263 | codeparrot/github-code |
eeadf9f14ab7c21abddcecfa7d03380c09d5bd406a5fd74d3df597c81b0334b8 | package bards.melodium.song;
import net.minecraft.entity.passive.EntityHorse;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.EnumHand;
import net.minecraft.world.World;
import net.minecraftforge.event.world.NoteBl... | Java | src/main/java/bards/melodium/song/SongHorse.java | TeamMelodium/Melodium | lgpl-2.1 | 2,544 | 96 | codeparrot/github-code |
407fb7c68907b73afd50594665117f08ee885df78005de2e576d86e482711177 | // -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// Molecular Mechanics: Amber force field class
#ifndef BALL_MOLMEC_AMBER_AMBER_H
#define BALL_MOLMEC_AMBER_AMBER_H
#ifndef BALL_COMMON_H
# include <BALL/common.h>
#endif
#ifndef BALL_MOLMEC_COMMON_FORCEFIELD_H
# include <BALL/MOLMEC/COMMON/forceField.h>
#endif... | C | include/BALL/MOLMEC/AMBER/amber.h | tkemmer/ball | lgpl-2.1 | 5,947 | 275 | codeparrot/github-code |
a3835d3da0c0cdeb74602c780de64ea7cdca6b57e81021312f4b74b5d2d9ccdb | /*
* This file is part of JGAP.
*
* JGAP offers a dual license model containing the LGPL as well as the MPL.
*
* For licensing information please see the file license.txt included with JGAP
* or have a look at the top of class org.jgap.Chromosome which representatively
* includes the JGAP license policy a... | Java | src/main/java/org/jgap/gp/function/Abs.java | jsubercaze/parallelJGAP | lgpl-2.1 | 2,265 | 83 | codeparrot/github-code |
a29d4f5346a757b440871a5bf34b50aa96c93f76d7934e5f687c71f09323cad9 | # -*- coding: utf-8 -*-
#
# PySPED - Python libraries to deal with Brazil's SPED Project
#
# Copyright (C) 2010-2012
# Copyright (C) Aristides Caldeira <aristides.caldeira at tauga.com.br>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public Lice... | Python | pysped/nfe/leiaute/nfe_310.py | aricaldeira/PySPED | lgpl-2.1 | 81,085 | 2,352 | codeparrot/github-code |
6abfabda5d5f2b7192947c7f3261152c9e551b5452774190d2b903433ddc8ae1 | <?php
namespace wcf\system\form\builder\field\validation;
use wcf\system\WCF;
/**
* Represents an error that occured during the validation of a form field.
*
* @author Matthias Schmidt
* @copyright 2001-2019 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.ph... | PHP | wcfsetup/install/files/lib/system/form/builder/field/validation/FormFieldValidationError.class.php | MenesesEvandro/WCF | lgpl-2.1 | 1,725 | 79 | codeparrot/github-code |
48d06843fda1b7a8ff17082af95df4b539fd9918c21dacbb50735e8ba1cdd072 | /*
Simple DirectMedia Layer
Java source code (C) 2009-2011 Sergii Pylypenko
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any pur... | Java | project/java/Video.java | dennis-sheil/commandergenius | lgpl-2.1 | 21,542 | 644 | codeparrot/github-code |
e33bcf461d58e075dbad472957b4f161fde2d197c7e4037d2f1c168dadc3ebc4 | /*
pam.c - pam module functions
Copyright (C) 2009 Howard Chu
Copyright (C) 2009, 2010, 2011 Arthur de Jong
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... | C | pam/pam.c | silkentrance/nss-pam-ldap | lgpl-2.1 | 21,328 | 662 | codeparrot/github-code |
ef5440494dd3dc786cb2d97154f23d53214450a165e064556a418beaca9ff1fe | <HTML>
<HEAD>
<META NAME="copyright" CONTENT="Copyright 2001 by MandrakeSoft S.A.">
<META NAME="Author" CONTENT="Kevin Lawton">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
<TITLE>Running ./configure</TITLE>
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#ececec" LINK="#3333cc" VLI... | HTML | docs-html/configure.html | fenghaitao/unilator | lgpl-2.1 | 10,108 | 257 | codeparrot/github-code |
62460207b12a683731fcc4b1e0873cc5da16621b72193ab945c581016808503d | /*
* Copyright (C) 2003-2012 David E. Berry
*
* 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 ... | Java | cpo-jdbc/src/test/java/org/synchronoss/cpo/jdbc/BlobTest.java | cpo-org/cpo-api | lgpl-2.1 | 10,680 | 384 | codeparrot/github-code |
1683877356f94fd74a838093e46e68663c94b8e4e6759e35101050597cd38337 | package org.ivis.layout;
import java.util.*;
import java.awt.Point;
import java.awt.Rectangle;
/**
* This class represents a graph (l-level) for layout purposes. A graph
* maintains a list of nodes and (intra-graph) edges. An l-level graph is always
* a child of an l-level compound node. The root of the c... | Java | layout-cytoscape-impl/src/main/java/org/ivis/layout/LGraph.java | cytoscape/cytoscape-impl | lgpl-2.1 | 16,873 | 683 | codeparrot/github-code |
b80cdb4f3098fa9196afdbc58e9935911f4d471166fc41b816064188a415d26e | #include <cppunit/TestAssert.h>
#include <cppunit/portability/FloatingPoint.h>
CPPUNIT_NS_BEGIN
void assertEquals(const char* expected, const std::string& actual, SourceLine sourceLine, const std::string& message)
{
assertEquals<std::string>(expected, actual, sourceLine, message);
}
void assertEquals(int expected, ... | C++ | src/cppunit/TestAssert.cpp | ryancalhoun/cppunit | lgpl-2.1 | 2,685 | 81 | codeparrot/github-code |
bbd026bf125389e12888069cdc0742ed9be2f5b95f00604cffb43068189c8de6 | //$HeadURL$
/*----------------------------------------------------------------------------
This file is part of deegree, http://deegree.org/
Copyright (C) 2001-2009 by:
Department of Geography, University of Bonn
and
lat/lon GmbH
This library is free software; you can redistribute it and/or modify it under
the ... | Java | deegree-services/deegree-services-commons/src/api/java/org/deegree/services/controller/AbstractOWS.java | deegree/deegree3 | lgpl-2.1 | 23,060 | 532 | codeparrot/github-code |
5507684f35e71f616881f57e0f2537411877b789ce5346224f2d40246dd140be | /*
*
* SOCLIB_LGPL_HEADER_BEGIN
*
* This file is part of SoCLib, GNU LGPLv2.1.
*
* SoCLib 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 2.1 of the License.
*
* SoCLib is distribut... | C++ | soclib/platform/topcells/caba-vgmn-block_device-mips32el/top.cpp | walafc0/soclib | lgpl-2.1 | 5,563 | 178 | codeparrot/github-code |
370115e1b0e33aa8db5ac33073a3aa295b6cd070ff4b3d6b845b34b16aaa0598 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qgraphicsscen... | HTML | doc/html/qgraphicsscenecontextmenuevent-members.html | sicily/qt4.8.4 | lgpl-2.1 | 11,852 | 228 | codeparrot/github-code |
d6d4b96c4e60a9a85be60f7e73bf807bec20d38491e83b4cd6c114a96763ce75 | #include "downloadfilejob.h"
#include <QtNetwork/QNetworkReply>
#include <QtCore/QFile>
#include <QtCore/QTemporaryFile>
using namespace QMatrixClient;
class DownloadFileJob::Private
{
public:
Private() : tempFile(new QTemporaryFile()) { }
explicit Private(const QString& localFilename)
... | C++ | lib/jobs/downloadfilejob.cpp | Fxrh/libqmatrixclient | lgpl-2.1 | 4,098 | 124 | codeparrot/github-code |
00628b355745c2a6da9754f4802a5653a2ed85ba7549eef786f4cb2923b5b929 | /* ************************************************************************* */
/* environment.c: binding of addresses (strings) to dimensions */
/* ************************************************************************* */
/* This file is part of the APRON Library, released under LGPL license. Please
read the C... | C | apron/ap_environment.c | nberth/apron4opam | lgpl-2.1 | 29,295 | 1,054 | codeparrot/github-code |
670c64dec7f0986acb022dea0f23992a27bcef4e786c89806bb12c92fcb48a7a | /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/***
Copyright 2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
python-systemd 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; ei... | C | systemd/_daemon.c | again4you/python-systemd | lgpl-2.1 | 10,593 | 337 | codeparrot/github-code |
84087735b0e027dfbeedf378453054c9c01903e024f060a66142dc0ba03022cd | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This 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
* th... | Java | xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-test/xwiki-platform-extension-test-pageobjects/src/main/java/org/xwiki/extension/test/po/ExtensionPane.java | xwiki/xwiki-platform | lgpl-2.1 | 14,780 | 431 | codeparrot/github-code |
749e56ca33b81a383407e69648e2873e79c9dba288b06ecfcd4a16d3a9ce516b | package org.jetel.data.primitive;
import org.jetel.data.Defaults;
import org.jetel.test.CloverTestCase;
import org.jetel.util.bytes.CloverBuffer;
import org.jetel.util.formatter.NumericFormatterFactory;
import edu.umd.cs.findbugs.annotations.SuppressWarnings;
@SuppressWarnings("FE")
public class DecimalNumericTest e... | Java | cloveretl.engine/test/org/jetel/data/primitive/DecimalNumericTest.java | CloverETL/CloverETL-Engine | lgpl-2.1 | 24,413 | 557 | codeparrot/github-code |
b522d44febde2bbc68cfb9c1b5a6d14a759b012f7358576c6f51b94aa2cbb34d | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | C | src/plugins/glsleditor/glslhighlighter.h | richardmg/qtcreator | lgpl-2.1 | 2,559 | 77 | codeparrot/github-code |
d94daa766875156f64acca67ca07bae930c35c18ece141f870e3dd2d987e90d2 | <?php $root=""; ?>
<?php require($root."navigation.php"); ?>
<html>
<head>
<?php load_style($root); ?>
</head>
<body>
<?php make_navigation("reduced_basis_ex4",$root)?>
<div class="content">
<a name="comments"></a>
<br><br><br> <h1> The source file assembly.h with comments: </h1>
<div class = "comment">
</div... | PHP | doc/html/reduced_basis_ex4.php | markcmiller86/libmesh_silo | lgpl-2.1 | 92,892 | 2,407 | codeparrot/github-code |
ec79d327355527d820564668693d7ae1833bcbce77136a233ae36cd73f8643f0 | /**
* NativeFmodEx Project
*
* Want to use FMOD Ex API (www.fmod.org) in the Java language ? NativeFmodEx is made for you.
* Copyright © 2005-2010 Jérôme JOUVIE (Jouvieje)
*
* Created on 23 feb. 2005
* @version file v1.5.0
* @author Jérôme JOUVIE (Jouvieje)
* @site http://jerome.jouvie.free.fr/
* @mail ... | Java | src-java-fmoddesigner/org/jouvieje/fmoddesigner/enumerations/FMOD_EVENT_SOUNDDEF_ENTRYTYPE.java | jerome-jouvie/NativeFmodEx | lgpl-2.1 | 5,859 | 141 | codeparrot/github-code |
2f23aad5d390dab27f84961f7d1d66278b51c014741c207f5b36d1b309668a1f | /*
* Copyright (C) 2011, 2012, 2013 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this lis... | C | Source/JavaScriptCore/bytecode/ValueProfile.h | KnightSwarm/WebKitTi | lgpl-2.1 | 8,142 | 248 | codeparrot/github-code |
d2b45046be7f2db0cebc88ef89027a3da915077a1900a2b5f03df95d6bf72cf3 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>PEAR API Documentation :: Net_SmartIRC</title>
<link rel="stylesheet" href="../media/style.css" />
<script language="javascript" type="text/javascript">
var subdir = "../";
</script>
<script src="../media/lib/classTree.js"><... | HTML | docs/HTML/Net_SmartIRC/mybot.html | pear/Net_SmartIRC | lgpl-2.1 | 25,280 | 443 | codeparrot/github-code |
6698791a3f0a201c7bf8635f6d164643a773c3dbe98392a32b4d77642f11dcde | package com.endercrest.voidspawn.modes;
import com.endercrest.voidspawn.TeleportManager;
import com.endercrest.voidspawn.TeleportResult;
import com.endercrest.voidspawn.modes.status.Status;
import org.bukkit.entity.Player;
public class TouchMode extends BaseMode {
@Override
public TeleportResult onActivate(P... | Java | src/main/java/com/endercrest/voidspawn/modes/TouchMode.java | endercrest/VoidSpawn | lgpl-2.1 | 816 | 34 | codeparrot/github-code |
600b71a7e99a66f673e8fbdd2b88d914a271dc8ead04d1830905a0fe4546a58d | <?php
/**
* @package tikiwiki
*/
// (c) Copyright 2002-2013 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id: tiki-upload_file.php 4626... | PHP | tiki-upload_file.php | maestrano/tikiwiki | lgpl-2.1 | 8,043 | 242 | codeparrot/github-code |
94bea7eb36faec052de2c38a24bb2894643cf05b369629f99a9595668afc8d6e | /*
* BinomialLikelihood.java
*
* Copyright (C) 2002-2009 Alexei Drummond and Andrew Rambaut
*
* This file is part of BEAST.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership and licensing.
*
* BEAST is free software; you can redistribute it and/or modif... | Java | src/dr/inference/distribution/BinomialLikelihood.java | benb/beast-mcmc | lgpl-2.1 | 4,244 | 138 | codeparrot/github-code |
6c2ea2c22041e1bb1b4a694fa48e0b4d461b0322d86230a7c5ee0633829ac35e | /**
* Copyright 2009-2017 Three Crickets LLC.
* <p>
* The contents of this file are subject to the terms of the LGPL version 3.0:
* http://www.gnu.org/copyleft/lesser.html
* <p>
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly f... | Java | components/scripturian/source/com/threecrickets/scripturian/exception/PreparationException.java | tliron/scripturian | lgpl-3.0 | 1,774 | 64 | codeparrot/github-code |
46a4ac7e61728fcd28470f2d1bd1cd521c90fdfa13ec6920d90639a48555b040 | #include <algorithm>
#include <Git/AnnotatedDiff.h>
#include <Review/DiffDelta.h>
#include <Review/DiffModel.h>
namespace review {
DiffModel::DiffModel()
{
}
DiffModel::DiffModel(const std::string& from,
const std::string& to,
const std::string& repo_path)
{
auto repo = std::make_shared<git::Repo>(repo_path);
au... | C++ | components/Review/src/DiffModel.cpp | neexee/review | lgpl-3.0 | 1,183 | 49 | codeparrot/github-code |
bfcbf8cb17a2d2cc34aed71a8853bb909928195ee1ef2a21f960809daddcc43d | /**
* Copyright (c) 2000-2012 Liferay, 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 2.1 of the License, or (at your option)
* any later... | Java | portlet/docroot/WEB-INF/service/gr/open/marketplace/model/AdminIPConfigurationSoap.java | technopolis/role-access-lists | lgpl-3.0 | 3,046 | 132 | codeparrot/github-code |
0b637e6f7a4966813851bc2bce2adb24ff2bd3ba4bdd71ae3fcf0f137c366973 | package org.sahsu.rif.services.test.services.pg;
import java.util.List;
import org.junit.Ignore;
import org.junit.Test;
import org.sahsu.rif.generic.concepts.User;
import org.sahsu.rif.generic.system.RIFGenericLibraryError;
import org.sahsu.rif.generic.system.RIFServiceException;
import org.sahsu.rif.services.concept... | Java | rifServices/src/test/java/org/sahsu/rif/services/test/services/pg/GetSexes.java | smallAreaHealthStatisticsUnit/rapidInquiryFacility | lgpl-3.0 | 5,047 | 172 | codeparrot/github-code |
3345ac6ec71952c92b91b45078143b3f84fd1f3ccbb824bce906643c6999202c | /* =========================================================================
* This file is part of NITRO
* =========================================================================
*
* (C) Copyright 2004 - 2010, General Dynamics - Advanced Information Systems
*
* NITRO is free software; you can redistribute it ... | C | c/cgm/source/EllipticalArcCloseElement.c | hobu/nitro | lgpl-3.0 | 3,933 | 126 | codeparrot/github-code |
5efd9da0b12263b94718f70fc82d5abfbd5efdb9bc8c44cb1991dad7536aa687 | /*
* SonarQube Java
* Copyright (C) 2012-2017 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 Licen... | Java | java-checks/src/main/java/org/sonar/java/checks/NotifyCheck.java | mbring/sonar-java | lgpl-3.0 | 1,675 | 44 | codeparrot/github-code |
20897765ac8506974f58e644f2ee0142f3944ad4646744e3ea51576bba2f82c3 | // LDSigDlg.cpp : CLDSigDlg ÌCve[V
//#define NOTWINDOWSH
//#define NEEDMFCH
//#define NEEDAFXDLGSH
#include "stdafx.h"
#include "LDSigDlg.h"
#include <Commdlg.h>
//#include <Afxdlgs.h>
#include "GetDlgParams.h"
////////////////////////////////////////////////////////////////////////... | C++ | RokDeBone2DX/LdSigDlg.cpp | Ochakko/RokDeBone2 | lgpl-3.0 | 3,534 | 159 | codeparrot/github-code |
4be4b766b769c2d6f6c35d91e915877f9fae7715747576633466ad6ff1795e3d | /*
* Copyright (C) 2016 TIBCO Jaspersoft Corporation. All rights reserved.
* http://community.jaspersoft.com/project/mobile-sdk-android
*
* Unless you have purchased a commercial license agreement from TIBCO Jaspersoft,
* the following license terms apply:
*
* This program is part of TIBCO Jaspersoft Mobile SDK ... | Java | core/src/main/java/com/jaspersoft/android/sdk/service/exception/ServiceException.java | Jaspersoft/js-android-sdk | lgpl-3.0 | 1,865 | 59 | codeparrot/github-code |
68c74e1f399a95f8993cead526504d25ea25c855e1dd8dd39733b729c75b88bb | // <copyright file="KenticoMediaLibraryService.cs" company="Chris Crutchfield">
// Copyright (C) 2017 Chris Crutchfield
//
// 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 o... | C# | src/PoshKentico.Core/Providers/ContentManagement/MediaLibraries/KenticoMediaLibraryService.cs | clcrutch/posh-kentico | lgpl-3.0 | 11,682 | 298 | codeparrot/github-code |
44e69e1ffb990fbebe1766bb8b7b8e60040a43612e3068f80f718f07af3a57fb | /*
* Forge Mod Loader
* Copyright (c) 2012-2013 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v2.1
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
... | Java | forge/fml/common/cpw/mods/fml/common/modloader/ModLoaderFuelHelper.java | HATB0T/RuneCraftery | lgpl-3.0 | 807 | 35 | codeparrot/github-code |
8d9353a38eb70ca1371b8a1a222ebb40f9b6c43e94a482e010d68a346bc1baba | /*
* =================================================
* Copyright 2011 tagtraum industries incorporated
* All rights reserved.
* =================================================
*/
package com.tagtraum.pcmsampledsp;
import javax.sound.sampled.AudioFormat;
import javax.sound.sampled.AudioInputStream;
import java... | Java | src/main/java/com/tagtraum/pcmsampledsp/StereofyAudioInputStream.java | hendriks73/pcmsampledsp | lgpl-3.0 | 5,614 | 181 | codeparrot/github-code |
fdcb3a9c48aa810b506de6491dfc4f7383fe67aca2b9db629c6fae53ea82578e | <?php
require_once("dbconn.php");
require_once("simple_html_dom.php");
/*
{
//对数据库进行转码 GBK->UTF8
echo("convert singer\n");
$result = mysql_query('select id,name from singer;');
while ($row = mysql_fetch_array($result))
{
$name = $row['name'];
$id = $row['id'];
$name = iconv('GBK','... | PHP | music/grab_ysong/getmusic.php | CathAssist/Web | lgpl-3.0 | 5,012 | 177 | codeparrot/github-code |
7b3ca8cf0d6b16ad8dc33c88853aca212b55c5598a3315f92db8a17c364fe3cf | /*+@@file@@----------------------------------------------------------------*//*!
\file streamdescription.h
\par Description
Extension and update of headers for PellesC compiler suite.
\par Project:
PellesC Headers extension
\date Created on Sat Sep 17 01:41:49 2016
\date Modified on S... | C | Include/streamdescription.h | Frankie-PellesC/fSDK | lgpl-3.0 | 26,226 | 366 | codeparrot/github-code |
1c8aad5296c7cc6d71628f0dbaad2d5593cfa3a2657d5e1344524cd40c1466e8 |
// Copyright (c) rryqszq4
#ifndef _MAD_EXCEPT_H_INCLUDED_
#define _MAD_EXCEPT_H_INCLUDED_
typedef struct _mad_except_t mad_except_t;
typedef struct _mad_except_frame_t mad_except_frame_t;
enum {
mad_except_entered=0,
mad_except_raised,
mad_except_handled,
mad_except_finalized
};
extern mad_except_frame_t *mad... | C | src/core/mad_except.h | rryqszq4/MadzMQ | lgpl-3.0 | 1,731 | 61 | codeparrot/github-code |
c88b19d79ac8dbc68d25c4e0d4bb21c7049c47d6c31ab3b5e3c3f4983b1c3a63 | <?php
/**
* This file is part of contao-community-alliance/dc-general.
*
* (c) 2013-2020 Contao Community Alliance.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* This project is provided in good faith and hope to be usable by ... | PHP | src/Data/DefaultDataProvider.php | contao-community-alliance/dc-general | lgpl-3.0 | 30,721 | 1,001 | codeparrot/github-code |
2a97f311622f452234c7cfe8ffb1bcc9c83b189c5f1e7d704424fbd2ea519ff1 | /*
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/sagemaker/describemodelpackageresponse_p.h | pcolby/libqtaws | lgpl-3.0 | 1,361 | 48 | codeparrot/github-code |
fff520d86d00d26231734af49ee4c73d70e18924bed67b33096aff043f08b4c1 | import smtplib
import email.mime.text
mail_host = "" # "smtp.xxx.com"
mail_user = "" # "xxx@xxx.com"
mail_pass = "" # "xxx"
mail_postfix = "" # "xxx.com"
mailto_list = [""] # ["xxx@xxx.com"]
def send_mail(to_list, sub, content):
me = "hello"+"<"+mail_user+"@"+mail_postfix+">"
msg = email.mim... | Python | tools/mail.py | followcat/predator | lgpl-3.0 | 884 | 32 | codeparrot/github-code |
de3b0f4e42c6e2045b31008dfbf598a1e3a4e25b7ac737dca5d0795bd095dd53 | package com.darkona.adventurebackpack.item;
import com.darkona.adventurebackpack.client.models.ModelCopterPack;
import com.darkona.adventurebackpack.init.ModNetwork;
import com.darkona.adventurebackpack.inventory.InventoryCopterPack;
import com.darkona.adventurebackpack.network.GUIPacket;
import com.darkona.adventureb... | Java | src/main/java/com/darkona/adventurebackpack/item/ItemCopterPack.java | Mazdallier/AdventureBackpack2 | lgpl-3.0 | 9,575 | 300 | codeparrot/github-code |
85a662adc8bf1df014f4576b913c38892d5cd18486c3fe69d252dbe01389e420 | /**
* Multiparty Off-the-Record Messaging library
* Copyright (C) 2014, eQualit.ie
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of version 3 of the GNU Lesser General
* License as published by the Free Software Foundation.
*
* This library is distributed in the ... | C | src/session_id.h | Yawning/np1sec | lgpl-3.0 | 2,739 | 99 | codeparrot/github-code |
340624bd1dc136d379c0759f0f22e32559ddd34afa1398721af16d0427f7968b | using System;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace WebNotifier
{
/// <summary>
/// Gets the values from the AssemblyInfo.cs fi... | C# | AssemblyInfo.cs | Nomcodio-Automation-Systems/WebNotifier | lgpl-3.0 | 10,278 | 371 | codeparrot/github-code |
0e31180896077b2f3766731b89551be35a7e354f5f2a229c08419e7de0eac04c | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
A simulated world featuring 36 Casus and 36 bees.
"""
from assisipy import sim
from math import pi, sin, cos
from random import random
import threading
if __name__ == '__main__':
simctrl = sim.Control()
# Parameters of the CASU array.
casu_rows = 6
... | Python | bees_in_casu_array/spawn_bees_in_casu_array.py | assisi/assisipy-examples | lgpl-3.0 | 1,170 | 47 | codeparrot/github-code |
50ed2c46b59f609bddb666db14159d93d1af1bdc1d2f269f82e3a28481a5ea17 | # -*- coding: utf-8 -*-
"""
pyxs
~~~~
Pure Python bindings for communicating with XenStore.
:copyright: (c) 2011 by Selectel, see AUTHORS for more details.
:license: LGPL, see LICENSE for more details.
"""
__all__ = ["Router", "Client", "Monitor",
"PyXSError", "ConnectionError", "Unexp... | Python | pyxs/__init__.py | selectel/pyxs | lgpl-3.0 | 966 | 34 | codeparrot/github-code |
46670c2aa4a0501caf18d8f2e8cc37deb9e643c4f33d34bb6fc135c28209bd98 | /*+@@file@@----------------------------------------------------------------*//*!
\file ADSIid.h
\par Description
Extension and update of headers for PellesC compiler suite.
\par Project:
PellesC Headers extension
\date Created on Fri Jul 1 12:59:42 2016
\date Modified on Fri Jul 1 1... | C | Include/ADSIid.h | Frankie-PellesC/fSDK | lgpl-3.0 | 2,284 | 65 | codeparrot/github-code |
09d69f24fe0c629c2e56209e240d8b37c6345eb203a892b345cb8ffa9e431da8 | /*
* 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_8_R3/src/main/java/de/Keyle/MyPet/compat/v1_8_R3/entity/ai/movement/EatGrass.java | jjm223/MyPet | lgpl-3.0 | 4,805 | 120 | codeparrot/github-code |
a4824307f9826ef174262d886017a4dd575ff7184d26f17cb9ea69a3ea250f2b | #!/bin/sh
# Script that synchronizes the local library dependencies
#
# Version: 20210513
EXIT_SUCCESS=0;
EXIT_FAILURE=1;
GIT_URL_PREFIX="https://github.com/libyal";
LOCAL_LIBS="libcerror libcnotify libfdatetime libuna";
OLDIFS=$IFS;
IFS=" ";
for LOCAL_LIB in ${LOCAL_LIBS};
do
GIT_URL="${GIT_URL_PREFIX}/${LOCAL_LI... | Shell | synclibs.sh | libyal/libfusn | lgpl-3.0 | 4,693 | 203 | codeparrot/github-code |
f4cb57b694f2f7ba87a3800a5ec7e24c44346912f723b36e00354f8d202a2038 | from __future__ import print_function
#from collections import defaultdict
#from functools import reduce
from six import iteritems, string_types, PY2
#from six.moves import zip, range
import numpy as np
from numpy import (array, unique, arange, searchsorted,
setdiff1d, intersect1d, asarray)
from ... | Python | pyNastran/bdf/mesh_utils/bdf_equivalence.py | saullocastro/pyNastran | lgpl-3.0 | 12,362 | 344 | codeparrot/github-code |
9947bfb4bdcccb6babd2a6044200afddc907a5b4e7aab7122c2489a49578c1b0 | using System;
using System.Collections.Generic;
using System.Text;
using LibMinecraft.Entity;
using LibNbt.Tags;
namespace LibMinecraft.Level
{
public class McLevelEntities
{
public List<McEntity> Entities { get; set; }
public McLevelEntities()
{
Entities = new List<McEnti... | C# | src/Level/McLevelEntities.cs | aphistic/libminecraft | lgpl-3.0 | 1,360 | 50 | codeparrot/github-code |
a6f8d3db747912c32ef3cebf5ba170c19dcc5fe084af54f118e9c104cb76115e | /*
* Copyright Jouko Kalmari 2017-2019
*
* This file is part of HHFFT.
*
* HHFFT 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 la... | C | src/common/hhfft_common_d.h | logdoida/hhfft | lgpl-3.0 | 3,037 | 85 | codeparrot/github-code |
bd3f5ed994f81dbfd97e1101a502c379eae045548767f73e35cd7e601878fd11 | /*
* SonarQube
* Copyright (C) 2009-2022 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... | TypeScript | server/sonar-web/src/main/js/apps/create/project/BitbucketImportRepositoryForm.tsx | SonarSource/sonarqube | lgpl-3.0 | 3,586 | 106 | codeparrot/github-code |
ff51294da8dc8695c60a2c7af53060d7f578732fffaf01aabbdad8cbacc95256 | package org.molgenis.data.annotation.core.entity.impl.snpeff;
import com.google.common.collect.Iterators;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.molgenis.data.Entity;
import org.molgenis.data.annotation.core.effects.EffectsMetaData;
import org.molgenis.data.annotation.core.utils.JarRunner;... | Java | molgenis-data-annotators/src/test/java/org/molgenis/data/annotation/core/entity/impl/snpeff/SnpEffRunnerTest.java | marissaDubbelaar/GOAD3.1.1 | lgpl-3.0 | 42,524 | 916 | codeparrot/github-code |
3dcaabc111b2b35430c39f9cb208b14709c02e3f8e29f23e92b0b85c5e4f55e8 | namespace CelestialEngine.Extensions.WebUI.Demo
{
using CelestialEngine.Core;
using CelestialEngine.Game;
using CelestialEngine.Game.PostProcess.Lights;
using Microsoft.Xna.Framework;
using System;
/// <summary>
/// This is the main type for your game.
/// </summary>
public class D... | C# | src/CelestialEngine.Extensions.WebUI.Demo/DemoGame.cs | wgraham17/celestialengine-webui | lgpl-3.0 | 5,249 | 150 | codeparrot/github-code |
cd2c2856cdd0457c6e8c342d4250fa90c53f120747fd3d347a5313eed8de87eb | /**********
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 later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This librar... | C++ | liveMedia/H264VideoRTPSink.cpp | DeeHants/liveMedia | lgpl-3.0 | 5,168 | 132 | codeparrot/github-code |
5d92a18abe482f45a4757680a23fd374ece989edd6b9c5684d0f75cb33d7d2e0 | package org.opennaas.core.persistence;
/**
*
* @author Valery Abu-Eid (Dynamic Java.org)
*/
public class PersistenceException extends RuntimeException {
private String persistenceUnit;
public PersistenceException() {
super();
}
public PersistenceException(String message, Throwable cause) {
super(message, c... | Java | core/persistence/src/main/java/org/opennaas/core/persistence/PersistenceException.java | eenbp/OpenNaaS-0.14-Marketplace | lgpl-3.0 | 748 | 35 | codeparrot/github-code |
54ee888bf4c31702ef24ed55ed765f8c1c86761eb7ba2b10edebf7b0a00a91dc | // Copyright 2015 The go-earthdollar Authors
// This file is part of the go-earthdollar library.
//
// The go-earthdollar 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 th... | GO | whisper/topic.go | Tzunami/go-earthdollar | lgpl-3.0 | 3,976 | 106 | codeparrot/github-code |
32a619a42ac691222580e863d2e830133992cb955390151818fc35b63f67996b | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Ap... | HTML | src/minecraft/org/apache/commons/io/package.html | copyliu/Spoutcraft_CJKPatch | lgpl-3.0 | 1,830 | 48 | codeparrot/github-code |
fc373d934fffa865a11e98bb7d89142c52d11721b6ade0eab8d92d3c099ed8c8 | #!/bin/bash
################################################################################
# Bashor Framework
#
# LICENSE:
# This software is released under the GNU Lesser General Public License version 3.
# http://www.gnu.org/licenses/lgpl-3.0.txt
#
# Copyright 2010-2013 the bashor project authors. All rights reserv... | Shell | lib/Bashor/ErrorHandler.sh | killmag10/bashor | lgpl-3.0 | 4,308 | 156 | codeparrot/github-code |
c5b3321c3e50cf2d40540e70c61679bcb9c1db92cef45db4800cf9aba35d7cca | /**
@cond
############################################################################
# LGPL License #
# #
# This file is part of the Machine Learning Framework. ... | C++ | clustering/nonsupervised/neuralgas.hpp | flashpixx/MachineLearning | lgpl-3.0 | 49,760 | 1,092 | codeparrot/github-code |
c7fa98570c4b2daa96b6018e2ee97f6db123f1010e20ab51b5cc94e82a9d3269 | /***************************************************
*
* cismet GmbH, Saarbruecken, Germany
*
* ... and it just works.
*
****************************************************/
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package de.cismet.projecttracker... | Java | src/main/java/de/cismet/projecttracker/client/common/ui/report/ReportFilterPanel.java | cismet/project-tracker | lgpl-3.0 | 30,907 | 841 | codeparrot/github-code |
bceec87e898c0032ca0babfde0eff19ed8e1c91cbad129bd464eda0d5e0e216a | // Copyright 2017 The go-xenio Authors
// Copyright 2015 The go-ethereum Authors
//
// This file is part of the go-xenio library.
//
// The go-xenio 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 Foundat... | GO | accounts/abi/abi.go | xenioplatform/go-xenio | lgpl-3.0 | 6,208 | 225 | codeparrot/github-code |
c63a5c98f1b284136a7860248c952e785251ae969bde07ea12e23f86e569f65f | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="iso-8859-1">
<title>Apache Commons DbUtils 1.6 API</title>
<script type="text/javascript">
targetPage = "" + win... | HTML | ExtendPackageTest/lib/commons-dbutils-1.6/apidocs/index.html | DeanAaron/Projects | lgpl-3.0 | 2,860 | 75 | codeparrot/github-code |
819d62aa7a3c0b365d3a2ebf9ac51e52b54369b4478a074826a409ec1cd44340 | #include "eudaq/DetectorEvent.hh"
#include "eudaq/RawDataEvent.hh"
#include <ostream>
#include <memory>
namespace eudaq {
EUDAQ_DEFINE_EVENT(DetectorEvent, str2id("_DET"));
DetectorEvent::DetectorEvent(Deserializer &ds) : Event(ds) {
unsigned n;
ds.read(n);
// std::cout << "Num=" << n << std::endl;
... | C++ | main/lib/src/DetectorEvent.cc | freidt/eudaq | lgpl-3.0 | 1,626 | 61 | codeparrot/github-code |
3fb2d9ca7b08586daca34b0bffe7543791a53280f0f5d4d4d0ee2033104737a2 | /* --------------------------------------------------------------------------
* Copyrights
*
* Portions created by or assigned to Cursive Systems, Inc. are
* Copyright (c) 2002-2008 Cursive Systems, Inc. All Rights Reserved. Contact
* information for Cursive Systems, Inc. is available at
* http://www.curs... | C# | test/bedrock/collections/ByteStackTest.cs | goldpicker/jabber-net | lgpl-3.0 | 3,025 | 90 | codeparrot/github-code |
2799de56716448ac7a927a99cefa911e0ffb5b4fdf6ba2021c9547dbe76f70dd | //>>built
define("dojox/string/sprintf", [
"dojo/_base/kernel", // dojo.getObject, dojo.mixin
"dojo/_base/lang", // dojo.extend
"dojo/_base/sniff", // dojo.isOpera
"./tokenize"
], function(dojo, lang, has, tokenize){
var strLib = lang.getObject("string", true, dojox);
strLib.sprintf = function(/*String*/ format... | JavaScript | dojox/string/sprintf.js.uncompressed.js | felixgers/CoG2Web3D | lgpl-3.0 | 11,950 | 411 | codeparrot/github-code |
1179c309d3f626cdb2593f8c55db4a877bb186b32c8907146a095fe10639b10e | /*
* 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.
*
* This program is distributed in the hope that it will... | Java | src/test/java/com/github/stephanarts/cas/ticket/registry/support/JSONRPCExceptionTest.java | stephanarts/cas-integration-zeromq | lgpl-3.0 | 1,898 | 64 | codeparrot/github-code |
60e410dbdbad7b8d3ea1a0c0bb3b2511ef63eedbb083e0d5029de4fc4a49dfe5 | /*
* 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/Skills/src/main/java/de/Keyle/MyPet/skill/skills/Control.java | jjm223/MyPet | lgpl-3.0 | 3,573 | 117 | codeparrot/github-code |
553bb051c10709d154e378424d8581c0b6f9b53023f7fa9b7cd55c227c5d3c42 | <?php
require_once("entete.php");
require_once("MySQLConnect.php");
function affiche_ligne( $lib_medaille, $tableau_ligne, $valeur_actuelle = 0)
{
echo "<tr>";
echo "<td>".$lib_medaille."</td>";
$valeur_min = 0;
$valeur_max = "";
foreach ( $tableau_ligne as $valeur )
{
if ( $valeur_actuelle >= $valeur )
... | PHP | www/medals.php | StefTocup/ingressAvancementTracker | lgpl-3.0 | 2,706 | 91 | codeparrot/github-code |
39b96794ee800af053a9256e36a5efadbda481063c63afb4a1853aac971e6a43 | package nota.oxygen.epub;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.xml.sax.*;
import org.xml.sax.helpers.DefaultHandler;
public class SplitHandler extends DefaultHandler {
private Map<String, String> html... | Java | addins/src/nota/oxygen/epub/SplitHandler.java | Notalib/nota.oxygen | lgpl-3.0 | 2,985 | 104 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.