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 |
|---|---|---|---|---|---|---|---|---|
9a3ac6cf87336817b8b6522447b6ced957957ee10e0c343fe9935d8676399f96 | /******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... | C | SofaKernel/framework/sofa/helper/fixed_array.h | FabienPean/sofa | lgpl-2.1 | 13,794 | 510 | codeparrot/github-code |
937c1b29c37a3656e05d5dfd2c0dff58610c497226eeecaece1a3f154c0e9c9f | <?php
/**
* File containing the PaymentMethodAbstract class
*/
/**
* Base class that all payment plugins must extend
*
* @author Corina Udrescu (corina.udrescu@arnia.ro)
*/
abstract class PaymentMethodAbstract extends AbstractPlugin
{
static protected $frontend_form = 'form_payment.html';
static protected... | PHP | plugins_payment/PaymentMethodAbstract.php | xpressengine/xe-module-shop | lgpl-2.1 | 5,935 | 260 | codeparrot/github-code |
bcb5de4b215920e30d61a3d2461061b1d3f10407b9c19fe82b81548bab70ab32 | import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.sql.SQLException;
import java.util.Hashtable;
import java.util.zip.DataFormatException;
import javax.naming.NamingException;
import javax.naming.directory.DirCo... | Java | samples/BED_Sample.java | mebigfatguy/fb-contrib | lgpl-2.1 | 2,975 | 121 | codeparrot/github-code |
2809f087fc28a7cd9e2c237b7f3f35898898a3ed1a66c9374d4843bad17f069f | package modules.admin.ControlPanel.actions;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.util.UUID;
import javax.tools.JavaFileObject;
import org.skyve.content.MimeType;
import org.skyve.domain.messages.DomainException;
import org.skyve.metadata.controller.Download;
import org.skyve.metadat... | Java | skyve-ejb/src/main/java/modules/admin/ControlPanel/actions/DownloadSAIL.java | skyvers/skyve | lgpl-2.1 | 3,268 | 90 | codeparrot/github-code |
6b518af66a56791f0132dfa3297d7187ab998663bff3d22dfb91531524d3adcd | <?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" />
<!-- qvaluespacepu... | HTML | doc/html/qvaluespacepublisher.html | robclark/qtmobility-1.1.0 | lgpl-2.1 | 22,853 | 324 | codeparrot/github-code |
a10c55749e78e1bfa1a2ff8c84aac1a7a28bcc1ceb34a4770ee5483489b4d7c1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Fosstrak ALE Middleware - CPD Results</title>
<style type="text/css" media="all">
@import url("./css/maven-base.c... | HTML | fc/cpd.html | Fosstrak/fosstrak.github.io | lgpl-2.1 | 6,653 | 263 | codeparrot/github-code |
7cf9be6e78d22ef23a03f89c4f93add0491e3ba199935ef63187d0e0aa0ba13a | package com.trinia.model;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
public class ModelAmulet extends ModelBiped
{
ModelRenderer Shape1;
ModelRenderer Shape2;
ModelRenderer Shape3;
ModelRenderer Shape4;
ModelR... | Java | src/main/java/com/trinia/model/ModelAmulet.java | papertazer/Trinia-Mod | lgpl-2.1 | 3,690 | 117 | codeparrot/github-code |
6fdc45ea95fa35e1a1b0d0834d18d4d0267528b04006c150282e4b78cb904c2a | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2017 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as p... | C++ | test/unit/datasource/postgis.cpp | naturalatlas/mapnik | lgpl-2.1 | 18,823 | 449 | codeparrot/github-code |
9cd4b98a3e7f2efc9c059fb0cc064ebb47b5f36fca1687549492c376b4d8dbab | /**
@author Daniel Sidlauskas Miller
Source code for flight control support functions
*/
#include <stdlib.h>
#include "../../drivers/avr_compiler.h"
#include "../../drivers/usart_driver.h"
#include "../../drivers/twi_master_driver.h"
#include "support.h"
#include <stdio.h>
void sendchar(USART_data_t * uart, char bu... | C | Software/Testing/91311/flight/support.c | osuar/iarc | lgpl-2.1 | 9,154 | 406 | codeparrot/github-code |
e8904dacefd26471b9757466335657912c7d847597d94523ed09e1859b266af8 | /***************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (directui@nokia.com)
**
** This file is part of libmeegotouch.
**
** If you have questions regarding the use of this ... | C++ | src/extensions/mashup/appletinstallation/mappletinstantiator.cpp | dudochkin-victor/libgogootouch | lgpl-2.1 | 5,467 | 123 | codeparrot/github-code |
23cf4855728fcad35012c3a2b6fa92475eaac5c13e85f55f545fb7330a4b6e95 | /*
* GPAC - Multimedia Framework C SDK
*
* Authors: Jean Le Feuvre, Pierre Souchay
* Copyright (c) Telecom ParisTech 2000-2019
* All rights reserved
*
* This file is part of GPAC / common tools sub-project
*
* GPAC is free software; you can redist... | C | include/gpac/cache.h | RodolpheFouquet/gpac | lgpl-2.1 | 7,814 | 283 | codeparrot/github-code |
f8c987cfdcfe26fee00e28a77ff762be085d91a100dee7b11996b5d87e626b8b | /*******************************************************************************
* Tree container
*/
ul.dynatree-container
{
font-family: tahoma, arial, helvetica;
font-size: 10pt; /* font size should not be too big */
white-space: nowrap;
padding: 3px;
margin: 0; /* issue 201 */
background-color: white;
borde... | CSS | src/main/webapp/css/ui.dynatree.css | stanxii/wen9000 | lgpl-2.1 | 9,905 | 441 | codeparrot/github-code |
c1623c7f24476b160eef6aa595e7e11e8ef9cb00152d38504a4d89a1aa107a15 | /* LabQ2LabS
*
* 17/11/93 JC
* - adapted from im_LabQ2LabS()
* 16/11/94 JC
* - uses new im_wrap_oneonebuf() fn
* 9/2/95 JC
* - new im_wrapone function
* 2/11/09
* - gtkdoc
* 21/9/12
* - redo as a class
*/
/*
This file is part of VIPS.
VIPS is free software; you can redistribute it and/or m... | C | libvips/colour/LabQ2LabS.c | Web5design/libvips | lgpl-2.1 | 3,273 | 146 | codeparrot/github-code |
c904ce6b9eb5d5528a401cb9280d1986d7069e6f1d65bb9715c9a4a9959cfee0 |
package jastadd.soot.JastAddJ;
import java.util.HashSet;import java.util.LinkedHashSet;import java.io.File;import java.util.*;import jastadd.beaver.*;import java.util.ArrayList;import java.util.zip.*;import java.io.*;import java.io.FileNotFoundException;import java.util.Collection;import soot.*;import soot.util.*;impo... | Java | src/jastadd/soot/JastAddJ/URShiftExpr.java | plast-lab/soot | lgpl-2.1 | 4,118 | 140 | codeparrot/github-code |
1f5a5171fcd2e00e5a98579efb1de729819960c6ac31b37668e47096c57acb82 | <?php
/*******************************************************************************
* Ringside Networks, Harnessing the power of social networks.
*
* Copyright 2008 Ringside Networks, Inc., and individual contributors as indicated
* by the @authors tag or express copyright attribution
* statements applie... | PHP | api/test/functional/api/DataSetUserPreferenceTestCase.php | jkinner/ringside | lgpl-2.1 | 4,706 | 93 | codeparrot/github-code |
1731e5cd5bc0eb3bf08f329eedf9c73bd80ae7e0990140fb0f0da5521522a6d4 | package com.Acrobot.ChestShop.Commands;
import com.Acrobot.ChestShop.Configuration.Messages;
import org.apache.commons.lang.Validate;
import org.bukkit.Bukkit;
import org.bukkit.OfflinePlayer;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import ... | Java | src/main/java/com/Acrobot/ChestShop/Commands/Toggle.java | ChestShop-authors/ChestShop-3 | lgpl-2.1 | 2,048 | 76 | codeparrot/github-code |
ea0bb98c6ac60495c10c7be8c668457f6e84fba6abff41331a7f3e3fa1e48b04 | /*
* Miro VideoXL codec
* Copyright (c) 2004 Konstantin Shishkov
*
* This file is part of FFmpeg.
*
* FFmpeg 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... | C | libav/libavcodec/xl.c | blstream/OpenVideoHub | lgpl-2.1 | 3,864 | 140 | codeparrot/github-code |
2b1a02a1dbb717202b4fc7f73f99beb9a9505555e7ec7c6d92acc35c98077d04 | package org.kurento.tree.server.kms.loadmanager;
import org.kurento.tree.server.kms.Kms;
import org.kurento.tree.server.kms.Pipeline;
public class MaxWebRtcLoadManager implements LoadManager {
private int maxWebRtcPerKms;
public MaxWebRtcLoadManager(int maxWebRtcPerKms) {
this.maxWebRtcPerKms = maxWebRtcPerKms;... | Java | kurento-tree/kurento-tree-server/src/main/java/org/kurento/tree/server/kms/loadmanager/MaxWebRtcLoadManager.java | MLSDev/kurento-java | lgpl-2.1 | 850 | 37 | codeparrot/github-code |
7b78ba42d5414ec81948e89fb67c5d5f51740309116d1b2d6b8bd7562e00354a | /*
* Copyright (C)2012 D. Plaindoux.
*
* 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, or (at your option) any
* later version.
*
* This program is distributed i... | Java | contrail-core/src/main/java/org/contrail/stream/codec/stringify/Encoder.java | d-plaindoux/contrail | lgpl-2.1 | 1,739 | 58 | codeparrot/github-code |
043a10a651f75989ebdcb2f60402731e0848d98999c9e7826b3a6991215a5d9c | package com.njbd.ao.pojo;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Table(name = "t_collect")
public class Collect {
private String collectId;
private String groupId;
private String userI... | Java | dao/src/main/java/com/njbd/ao/pojo/Collect.java | niithub/angelonline | lgpl-2.1 | 2,158 | 90 | codeparrot/github-code |
18ffa8a75b357eb2da396ca48c83c8198da12c9ceae1b53d10bd10caa29808b1 | /*
* Transform.java
*
* Copyright (c) 2002-2015 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 can redistribute it and/or ... | Java | src/dr/util/Transform.java | codeaudit/beast-mcmc | lgpl-2.1 | 7,057 | 244 | codeparrot/github-code |
d2ccf44df14365355b25eba6a49bd67706e0d088e06491ab0abafab61fcd79ca | <?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" />
<!-- qservicemanag... | HTML | doc/html/qservicemanager.html | robclark/qtmobility-1.1.0 | lgpl-2.1 | 34,398 | 354 | codeparrot/github-code |
72957324584c887b0eb4c8f0d990c740f2f5eb93140aa3487da9b29b6abdba19 | /*
oscpack -- Open Sound Control packet manipulation library
http://www.audiomulch.com/~rossb/oscpack
Copyright (c) 2004-2005 Ross Bencina <rossb@audiomulch.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documen... | C++ | src/osgPlugins/osc/ip/IpEndpointName.cpp | hyyh619/OpenSceneGraph-3.4.0 | lgpl-2.1 | 2,986 | 93 | codeparrot/github-code |
2123684233bfa967c099bf30b2babf57dcf500861feca17e1b749e22cf079f4d | package org.bitrepository.integrityservice.cache;
/**
* Class to carry information of collection specific pillar metrics.
* The class exists as java is not able to handle simple tuples,
* so the class is meant to carry data in a specific context.
* @see org.bitrepository.integrityservice.cache.database.IntegrityD... | Java | bitrepository-integrity-service/src/main/java/org/bitrepository/integrityservice/cache/PillarCollectionMetric.java | bitrepository/reference | lgpl-2.1 | 1,101 | 35 | codeparrot/github-code |
c62b7e80c145ce1401764cae26b0a9dba4e344b0f08c5e20559be667536e1929 | //---------------------------------------------------------------------------
#ifndef FilaIntH
#define FilaIntH
#include "TeStatDefines.h"
class STAT_DLL TFilaInt
{
private:
typedef struct it {
int Raiz;
struct it *Proximo;
}Item_t,*Item_ptr;
typedef struct Fila {
Item... | C | src/terralib/stat/filaInt.h | Universefei/Terralib-analysis | lgpl-2.1 | 643 | 32 | codeparrot/github-code |
2445bc8430cd1193777a587341a9e8c10df1147acf715c7948d7680eb3ec0c8b | /*
* This file contains the function `handleGeometry` which handles everything related to the generation of Geometry/3D model files.
*/
#include "IfcReader.hpp"
#include <ifcpp/model/IfcPPModel.h>
#include <ifcpp/IFC4/include/IfcProduct.h>
#include <ifcpp/IFC4/include/IfcGloballyUniqueId.h>
#include <fstream>
#include... | C++ | IfcReader/src/geometry/Geometry.Builders.cpp | mbinette91/ConstructionLCA-IfcReader | lgpl-2.1 | 3,609 | 156 | codeparrot/github-code |
bf9f36aaafe174ea29cf7b5945b467b0f5349e32ed7c8c660a1a8e142a379d61 | #pragma once
#include <OpenGP/GL/gl.h>
#include <OpenGP/GL/Buffer.h>
#include <OpenGP/GL/VertexArrayObject.h>
#include <OpenGP/SurfaceMesh/SurfaceMesh.h>
//=============================================================================
namespace OpenGP {
//==============================================================... | C | src/OpenGP/GL/GPUMesh.h | OpenGP/OpenGP | lgpl-2.1 | 2,983 | 134 | codeparrot/github-code |
acd1fd67c5797e7feaf72096157c2ef7ffaad01e073f8a4d620c90f95f4fc4b0 | //
// Copyright (c) 2013, Ford Motor Company
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must retain the above copyright notice, this
// list of condit... | C++ | SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/AddCommand_response.cpp | Luxoft/SDLP | lgpl-2.1 | 2,533 | 76 | codeparrot/github-code |
4b4446128c7f414998623fa0ee50520c2a25deed7f4171774dc19f894685f519 | /*
* The PlaybaK Multimedia Player's library.
* Copyright (C) 2010 PlaybaK Development Team (see AUTHORS file)
*
* 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... | C | src/ui/widgets/PlaybakSliderWidget.h | sandsmark/playbak | lgpl-2.1 | 2,340 | 83 | codeparrot/github-code |
f44e501df223412fa3ad228fc72fd5b769c8551f8e1bb2221c1150d9b45f8a16 | #ifndef YACAS_MEMPOOL_H
#define YACAS_MEMPOOL_H
#include "noncopyable.h"
#include <cstddef>
#include <cstdint>
class MemPool: NonCopyable {
public:
explicit MemPool(unsigned block_size, unsigned no_blocks);
~MemPool() noexcept;
void* alloc();
void free(void *p) noexcept;
private:
unsigned _bloc... | C | cyacas/libyacas/include/yacas/mempool.h | grzegorzmazur/yacas | lgpl-2.1 | 821 | 44 | codeparrot/github-code |
5c48c3e687601b5edc4341b0e9810e24a994d0fd2c5e784165c571ad6302545f | /* gtktreeview.h
* Copyright (C) 2000 Red Hat, Inc., Jonathan Blandford <jrb@redhat.com>
*
* 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 (... | C | gtk/gtktreeview.h | community-ssu/gtk | lgpl-2.1 | 25,059 | 468 | codeparrot/github-code |
28a3022477efa120010f5ec3ae5889bdd6277b839e876c7bd036aafb5ee2dea5 | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2005, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... | Java | lib/jfreechart-1.0.1/src/org/jfree/chart/plot/CombinedDomainCategoryPlot.java | raedle/univis | lgpl-2.1 | 20,335 | 599 | codeparrot/github-code |
389d67315db4a3c074ea092bc3dfda782b45467b4e1c48e80e71090de87ba96d | <?php
// (c) Copyright 2002-2015 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$
function prefs_fgal_list()
{
return array(
'fgal_... | PHP | lib/prefs/fgal.php | changi67/tiki | lgpl-2.1 | 10,564 | 295 | codeparrot/github-code |
5cabff8f480af5eb753f57b13ebe3e18c35f59c03fe6c9375466ebb9452cf6bc | package org.regadou.mime;
import com.google.gson.JsonArray;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseException;
import com.google.gson.JsonSerializationContext;
import com.google.gson.JsonSerializer;
... | Java | damac/src/main/java/org/regadou/mime/GsonScriptContextAdapter.java | regadou/damap | lgpl-2.1 | 1,715 | 50 | codeparrot/github-code |
e086f4d48ba0b381aba5c5481a1bfeff9ff53c44fb4e570348ad9e290c85d57f | module md_grid
!////////////////////////////////////////////////////////////////
! Module contains global variables defining the model grid.
! A module 'gridvars_*' must contain the following subroutines:
! - getgrid
!
! ... and define the following variables that are global within
! 'sofun' (but passed o... | FORTRAN | src/grid_global.mod.f90 | stineb/sofun | lgpl-2.1 | 11,218 | 311 | codeparrot/github-code |
0201008e8b72f7b791e2312ad7cf8f8b7d1e2a518e9b2d0de21190bcab2679c7 | using static NCDK.FaulonSignatures.AbstractVertexSignature;
namespace NCDK.FaulonSignatures.Chemistry
{
public class MoleculeSignature : AbstractGraphSignature
{
private Molecule molecule;
private InvariantType invariantType;
public MoleculeSignature(Molecule molecule)
: t... | C# | NCDK/FaulonSignatures/Chemistry/MoleculeSignature.cs | kazuyaujihara/NCDK | lgpl-2.1 | 1,764 | 58 | codeparrot/github-code |
a23c09c8b2ae9ea10137db06b01698b18f48776d5b23c055bb2b286d7790f93c | // Copyright 2013-2015, Durachenko Aleksey V. <durachenko.aleksey@gmail.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
// version 2.1 of the License, or (at your option... | C | src/signal/qsesignalcanvasplot.h | AlekseyDurachenko/QtSampleEngine | lgpl-2.1 | 2,133 | 69 | codeparrot/github-code |
5868fa6af685837c6ba9bc924078c01c6f1be06448f3d9282d689ca8f3eaaf1b | /*
Copyright (C) 2001 Free Software Foundation, Inc.
Author: Nicola Pero <n.pero@mi.flashnet.it>
Date: November 2001
This file is part of GNUstep.
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
th... | Java | Testing/Java/Base/Benchmarks/Vector7Benchmark.java | gnustep/java | lgpl-2.1 | 1,313 | 50 | codeparrot/github-code |
ab0642c074f785e721690acda724f63fcfb9cfb6f6f4b8d62a54dc9e7eba5ab6 | /**
* DSS - Digital Signature Services
* Copyright (C) 2015 European Commission, provided under the CEF programme
*
* This file is part of the "DSS - Digital Signature Services" project.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Publ... | Java | dss-asic-cades/src/test/java/eu/europa/esig/dss/asic/cades/extension/asice/DSS2049Test.java | esig/dss | lgpl-2.1 | 6,072 | 128 | codeparrot/github-code |
33ddf576b1e6e7cc070780b7101ee54263c942563c63c26c191b766bd3f9b149 | /*
* wocky-jingle-content.c - Source for WockyJingleContent
* Copyright (C) 2008 Collabora Ltd.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the Licens... | C | wocky/wocky-jingle-content.c | freedesktop-unofficial-mirror/wocky | lgpl-2.1 | 40,719 | 1,424 | codeparrot/github-code |
96781f8164c6c1530b9315f603842426a42825609c279d7fbe7bb2c57d9d0c74 | /*
* Copyright 2015 The Solmix Project
*
* 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
* the License, or (at your option) any later version.
*
* This softw... | Java | wmix/src/main/java/org/solmix/datax/wmix/serializer/DSResponseSerializer.java | solmix/datax | lgpl-2.1 | 4,638 | 114 | codeparrot/github-code |
2be1604f1cd5a44ccdd853615fc74169c84b62beaf5f3fc91b6642bdaaea0794 | /*
* iter.rs: Iterator implementation for rbtree.
* Copyright (C) 2019 Oddcoder
* 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 optio... | Rust | rtrees/src/rbtree/iter.rs | oddcoder/rair | lgpl-3.0 | 2,385 | 72 | codeparrot/github-code |
697ca32d007aafb017d08f2b7b833f94c272ba2d9971fd21c47cde2c6b04d82a | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <mpi.h>
#define N 480
#define DEBUG 1
#define EPS 1.0e-18
int myid, numprocs;
void myMatMat(double [N][N], double [N][N], double [N][N], int);
int main(int argc, char* argv[])
{
double t0, t1, t2, t_w;
double dc_inv, d_mflops;
i... | C | package/konoha.mpi/bench/mat-mat/single.c | imasahiro/konohascript | lgpl-3.0 | 2,193 | 109 | codeparrot/github-code |
08980237af08d1d836ef745b2ca1c67a2f5d0d0a729ae2cc7290c6e5c5abda5e | <!-- File: delete.php -->
<?php
$pageTitle = 'Manage Lists';
$subPage = 'delete';
require('./requireHeader.php');
require('./requireDB.php');
/*if the user is logged then show the page content*/
if(isset($_SESSION['login'])){
require('./requireGest.php');
/*do this if the form is send*/
if (($_SERVER['REQUEST_METH... | PHP | delete.php | dcabjan/iawProject | lgpl-3.0 | 2,956 | 108 | codeparrot/github-code |
ab791723dd8e2f7f001593f80ea33788b91232a79e8fca703079f1ce13629710 | /*
* Copyright (C) Maddie Abboud 2016
*
* FontVerter 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.
*
* FontVerter is d... | Java | src/main/java/org/mabb/fontverter/opentype/OpenTypeFont.java | m-abboud/FontVerter | lgpl-3.0 | 14,251 | 445 | codeparrot/github-code |
ecb5bb59c406a08dc704923abc24ee10871cea6df0b2c15905125b4730fa6e15 | /*
* SonarQube
* Copyright (C) 2009-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 License, o... | Java | server/sonar-server/src/main/java/org/sonar/server/permission/ws/PermissionsWsModule.java | lbndev/sonarqube | lgpl-3.0 | 3,223 | 75 | codeparrot/github-code |
552bf963d26b41545a0ec85b98929ee85e68a88bee12ba5d2baff3d4f2fedf51 | /*
* 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... | Java | server/sonar-server-common/src/main/java/org/sonar/server/permission/index/IndexPermissions.java | SonarSource/sonarqube | lgpl-3.0 | 1,959 | 72 | codeparrot/github-code |
44c31fc78366e3dd5e8def69ba46672d89b2a07bfdb305a48fe2fd486ade98e1 | #include "qappmainwindow.h"
#include "ui_qappmainwindow.h"
#include "qprojectproperties.h"
#include "qcodeeditwidget.h"
#include <QInputDialog>
#include <QMessageBox>
#include <QFileDialog>
#include <QtWebKit>
QAppMainWindow::QAppMainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::QAppMainWindow)... | C++ | src/cfeditor/qappmainwindow.cpp | bokic/mkfusion | lgpl-3.0 | 16,556 | 670 | codeparrot/github-code |
74ca7e58b572bfeaff898bc7c481e17ef6e9095c52251bbc21252d7cf3bc6345 | package javax.media.control;
import javax.media.*;
/**
* Standard JMF class -- see <a href=
* "http://java.sun.com/products/java-media/jmf/2.1.1/apidocs/javax/media/control/PortControl.html"
* target="_blank">this class in the JMF Javadoc</a>. Complete.
*
* @author Ken Larson
*
*/
public interface PortContro... | Java | src/javax/media/control/PortControl.java | Metaswitch/fmj | lgpl-3.0 | 892 | 32 | codeparrot/github-code |
cdd935cb602092e04a0becfa49f00911b51b61d59641bc61bbb3294301feba94 | // gophoto - libgphoto2 bindings for golang
// Copyright (C) 2015 Johan Nordberg <code@johan-nordberg.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
//... | GO | camera.go | jnordberg/gophoto | lgpl-3.0 | 7,301 | 305 | codeparrot/github-code |
1fd28ce6092b96dc7bece21fbc9b07b1968c6c02c370178e857458447701db28 | package fr.univmobile.backend.json;
import static com.google.common.base.Preconditions.checkNotNull;
import static org.apache.commons.lang3.StringUtils.repeat;
import static org.apache.commons.lang3.StringUtils.substringBetween;
import java.io.EOFException;
import java.io.IOException;
import java.util.ArrayList;
impo... | Java | unm-backend-app/src/main/java/fr/univmobile/backend/json/JsonHtmler.java | univmobile/unm-backend | lgpl-3.0 | 8,403 | 407 | codeparrot/github-code |
4ec7ebe5b28b10e45e31f4282141b170d75364ef8014fc1b19e4e747f5354393 | package sample2_waypoints;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.swing.JFrame;
import org.jxmapviewer.JXMapViewer;
import org.jxmapviewer.OSMTileFactoryInfo;
import org.jxmapviewer.viewer.DefaultTileFactory... | Java | examples/src/sample2_waypoints/Sample2.java | richardeigenmann/jxmapviewer2 | lgpl-3.0 | 2,928 | 83 | codeparrot/github-code |
efb757c36d8da7fa8c1833e7e8263937309f72bc736f616f3fed567a32d9cbae | #
# Copyright 2009 Andrei <vish@gravitysoft.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your opti... | Python | lib/primus/fileartifact.py | barmalei/primus | lgpl-3.0 | 6,594 | 186 | codeparrot/github-code |
d83fd51ada920a71113ea96f606078bdb5b53243dcafe046ba79db84939bc28a | /*******************************************************************************
* 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
* version 2... | Java | src/main/java/com/gisgraphy/domain/repository/GenericGisDao.java | delphiprogramming/gisgraphy | lgpl-3.0 | 25,095 | 713 | codeparrot/github-code |
4e77796b57956d131bc37124aef19cce43ac73f53cfee0cb01ae41c92e910553 | package org.zywx.wbpalmstar.plugin.uexbaidumap;
import com.baidu.mapapi.MKAddrInfo;
import com.baidu.mapapi.MKBusLineResult;
import com.baidu.mapapi.MKDrivingRouteResult;
import com.baidu.mapapi.MKPoiResult;
import com.baidu.mapapi.MKSearchListener;
import com.baidu.mapapi.MKSuggestionResult;
import com.baidu.... | Java | uexBaiduMap2.0/src/org/zywx/wbpalmstar/plugin/uexbaidumap/DefaultMKSearchCallback.java | Git-tl/appcan-plugin-baidumap_old-android | lgpl-3.0 | 1,362 | 59 | codeparrot/github-code |
1e826f81891a372952602e118ff619abf6c13daddd120842a53f396bb5b2d25c |
/*
* Copyright (C) 2009-2015 José Flávio de Souza Dias Júnior
*
* This file is part of José Flávio Livre - <http://www.joseflavio.com/livre/>.
*
* José Flávio Livre is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by... | Java | fonte/com/joseflavio/tqc/servlet/FormularioCampoDadosTag.java | joseflaviojr/livre | lgpl-3.0 | 3,656 | 119 | codeparrot/github-code |
b3e6bbafa5d3cd9b1a3fb527b31dbbffcd3a5621f3d85a460e3324c0b8627997 | /* readable.c: check if a filename is a readable non-directory file.
Copyright 1993, 1995, 1996, 2008, 2011, 2012, 2016, 2018 Karl Berry.
Copyright 1998, 1999, 2000, 2001, 2005 Olaf Weber.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Pub... | C | source/texk/kpathsea/readable.c | blipvert/metapost | lgpl-3.0 | 4,346 | 148 | codeparrot/github-code |
adfa3782a4f382381ce2355ea491e725fab856d7cfda287340e1a0da899efe69 | <?php
/*************************************************************************************/
/* This file is part of the Thelia package. */
/* */
/* Copyright (c) OpenStudio ... | PHP | core/lib/Thelia/Core/Template/Loop/Delivery.php | Judi95/thelia | lgpl-3.0 | 7,371 | 203 | codeparrot/github-code |
3582cabdd1cfb23c7f91486bfd87650b5757820f46fdfc9887970c3f3a507767 | <!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>资源列表 ... | HTML | src/main/webapp/WEB-INF/views/admin/resource_list.html | 15365067936/NongKenShop | lgpl-3.0 | 5,870 | 141 | codeparrot/github-code |
b394cbb18353f69b521ba6601d1c3211589b6b7d8a25a5518a02e74737be6c5a | /*******************************************************************************
* Copyright (C) 2009-2020 Human Media Interaction, University of Twente, the Netherlands
*
* This file is part of the Articulated Social Agents Platform BML realizer (ASAPRealizer).
*
* ASAPRealizer is free software: you can redistrib... | Java | HmiMath/src/hmi/math/Bezier1f.java | ArticulatedSocialAgentsPlatform/HmiCore | lgpl-3.0 | 6,231 | 174 | codeparrot/github-code |
1ed4586bbebd1f0a8e22ca0f001c624d769d81c7ef222f76ce1a0e06a59aabbb | // Copyright 2005, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... | C | test/gtest/src/gtest-internal-inl.h | kwanty/sdrdab | lgpl-3.0 | 58,207 | 1,219 | codeparrot/github-code |
33d2c5ae0e31ba88429ec6845cd341d3d208b161b973bbf1b52088543adc7d63 | /*
* SonarQube
* Copyright (C) 2009-2016 SonarSource SA
* mailto:contact 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... | JavaScript | server/sonar-web/src/main/js/apps/coding-rules/filters-view.js | joansmith/sonarqube | lgpl-3.0 | 1,490 | 44 | codeparrot/github-code |
006e941cd8c0621e4ca7cdaf69f2e3878b4910797e2dd09eaa5f3666bdd7f589 | /*
-----------------------------------------------------------------------------
This source file is part of OSTIS (Open Semantic Technology for Intelligent Systems)
For the latest info, see http://www.ostis.net
Copyright (c) 2010 OSTIS
OSTIS is free software: you can redistribute it and/or modify
it under the terms ... | C | libpm/libpm/nsm/nsm_pattern.h | laz2/sc-core | lgpl-3.0 | 5,921 | 232 | codeparrot/github-code |
fbc5bca7be0353d565c0da6612a31a8cc62b60f8e7145a473dbdb2caa88979da | <?php
namespace PHPDaemon\Clients\HTTP\Examples;
use PHPDaemon\HTTPRequest\Generic;
class SimpleRequest extends Generic
{
/**
* Constructor
* @return void
*/
public function init()
{
try {
$this->header('Content-Type: text/html');
} catch (\Exception $e) {
... | PHP | PHPDaemon/Clients/HTTP/Examples/SimpleRequest.php | kakserpom/phpdaemon | lgpl-3.0 | 777 | 40 | codeparrot/github-code |
67c939e0b3b05143822f616976c952ee1326ef740a0b8a44d9c5b12f53bfb082 | package com.github.erozabesu.yplkart.object;
import java.util.UUID;
/**
* ラップタイムを格納するオブジェクトクラス
* @author erozabesu
*/
public class LapTime implements Comparable {
/** 周回数 */
private int numberOfLaps;
/** UUID */
private UUID uuid;
/** ラップタイム */
private double lapTime;
... | Java | src/com/github/erozabesu/yplkart/object/LapTime.java | qpwakaba/YPLKart | lgpl-3.0 | 2,138 | 98 | codeparrot/github-code |
5dcac2d575db4c3ceec57cca6367cc19c0947ece8435de0843fc5cdb2495a0f8 | #ifndef SERIENJUNKIESPROVIDERPLUGIN_H
#define SERIENJUNKIESPROVIDERPLUGIN_H
#include "downloadproviderplugin.h"
class QSerienJunkiesReply;
class SerienjunkiesProviderPlugin : public DownloadProviderPlugin
{
Q_OBJECT
public:
SerienjunkiesProviderPlugin(QObject *parent = 0);
void searchSeries(const QStrin... | C | Server/src/plugins/downloadProviders/serienjunkiesproviderplugin.h | Kampfgnom/MorQ | lgpl-3.0 | 854 | 39 | codeparrot/github-code |
bd89cddb53be9e1a9f1a94962c2e0bdc1029f4b44c99c7eaf5cb74c9c1a04acb | #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#
# This file is part of the E-Cell System
#
# Copyright (C) 1996-2016 Keio University
# Copyright (C) 2008-2016 RIKEN
# Copyright (C) 2005-2009 The Molecular Sciences Institute
#
#:::::::::::::::::::::::::::::::::::::::... | Python | ecell/frontend/model-editor/ecell/ui/model_editor/ClassEditorWindow.py | ecell/ecell3 | lgpl-3.0 | 4,556 | 155 | codeparrot/github-code |
e6208510cdb5d3c5aa797e796927b8f6460283c90bc626b707360d4b5b7f921f | /*
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/backup/getsupportedresourcetypesrequest.h | pcolby/libqtaws | lgpl-3.0 | 1,456 | 51 | codeparrot/github-code |
d43b215621a2bf7ce067fced37868f32908b3373e68d9a362472fcd4026137ac | /* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Copyright (c) 2017-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/isdb/MetainferenceBase.h | jandom/plumed2 | lgpl-3.0 | 12,092 | 387 | codeparrot/github-code |
6c1be01744b1262fa6d3b152e1d04ba4624ebc2435dc501396287089798b8cf7 | /* ====================================================================
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 Y... | Java | stratchpad/org/apache/poi/hsmf/datatypes/ChunkGroup.java | rmage/gnvc-ims | lgpl-3.0 | 1,394 | 37 | codeparrot/github-code |
ae64ea1961af73866b5033d735fdcf58d1f31c3329dbce46919117fd8768fa38 | /**
* Copyright (C) 2015 Michael Schnell. All rights reserved.
* http://www.fuin.org/
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your... | Java | es-maven-plugin/src/main/java/org/fuin/esmp/EventStoreStopMojo.java | fuinorg/event-store-maven-plugin | lgpl-3.0 | 4,774 | 141 | codeparrot/github-code |
e415e7d9d1b19885ebf5124d36c4ac751010f0a5899405f8d8a90ef92fba3dbc | #include <Python.h>
#include <ffi.h>
#ifdef MS_WIN32
#include <windows.h>
#else
#include <sys/mman.h>
#include <unistd.h>
# if !defined(MAP_ANONYMOUS) && defined(MAP_ANON)
# define MAP_ANONYMOUS MAP_ANON
# endif
#endif
#include "ctypes.h"
/* BLOCKSIZE can be adjusted. Larger blocksize will take a larger... | C | kbe/src/lib/python/Modules/_ctypes/malloc_closure.c | Orav/kbengine | lgpl-3.0 | 2,846 | 112 | codeparrot/github-code |
e73552b9f4682010f01367da860da98657e07b5964e799f243d0328d01e0657b | #ifndef QMOVIE
#define QMOVIE
class DummyQMovie : public DummyQObject {
Q_OBJECT;
public:
knh_RawPtr_t *self;
std::map<std::string, knh_Func_t *> *event_map;
std::map<std::string, knh_Func_t *> *slot_map;
knh_Func_t *error_func;
knh_Func_t *finished_func;
knh_Func_t *frame_changed_func;
knh_Func_t *resized_func... | C++ | package/konoha.qt4/include/KQMovie.hpp | imasahiro/konohascript | lgpl-3.0 | 1,252 | 49 | codeparrot/github-code |
dd5c00f5b8df5cab220b92482b0c5ecacc7973b836e24d5dce07f15f0f7ed5e5 | package nuthatch.rascal.pattern.impl;
import nuthatch.pattern.BuildContext;
import nuthatch.pattern.Environment;
import nuthatch.pattern.NotBuildableException;
import nuthatch.pattern.Pattern;
import nuthatch.pattern.impl.AbstractPattern;
import nuthatch.rascal.adapter.ValuesCursor;
import nuthatch.tree.TreeCursor;
i... | Java | nuthatch-rascal/src/nuthatch/rascal/pattern/impl/TypedConsPattern.java | nuthatchery/nuthatch | lgpl-3.0 | 2,521 | 93 | codeparrot/github-code |
019da93a801d2afdd7b5189d0bb696322a6e3e1d7e6fe5f1a1650b2b318d8766 | /*
* @BEGIN LICENSE
*
* Psi4: an open-source quantum chemistry software package
*
* Copyright (c) 2007-2019 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/fnocc/ccsd.cc | CDSherrill/psi4 | lgpl-3.0 | 92,228 | 2,297 | codeparrot/github-code |
8f28537847252591872764588930abcbbfee3809faa9c0134b330b96b48326c0 | /**
* DataCleaner (community edition)
* Copyright (C) 2014 Free Software Foundation, Inc.
*
* 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 Software F... | Java | desktop/api/src/main/java/org/datacleaner/util/WidgetUtils.java | datacleaner/DataCleaner | lgpl-3.0 | 27,707 | 703 | codeparrot/github-code |
fbb76b76958e7a78392cf0dd0ebeec855f14950858939cb9b3596f47594bd71d | package net.silentchaos512.gems.world.feature;
import com.google.common.collect.ImmutableMap;
import com.mojang.datafixers.Dynamic;
import com.mojang.datafixers.types.DynamicOps;
import net.minecraft.block.BlockState;
import net.minecraft.block.Blocks;
import net.minecraft.world.gen.feature.IFeatureConfig;
import net.... | Java | src/main/java/net/silentchaos512/gems/world/feature/GemGeodeFeatureConfig.java | SilentChaos512/SilentGems | lgpl-3.0 | 1,647 | 41 | codeparrot/github-code |
21d9fe5987a053271bf4133eee179babfebb92185e4dbe8885ca259b8d51dd71 | /**
* This file is part of Mob Heads.
*
* Copyright (C) 2013 Evil-Co <http://www.evil-co.com>
* Mob Heads is licensed under the GNU Lesser General Public License.
*
* Mob Heads is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
*... | Java | src/main/java/com/evilco/bukkit/mobheads/MobHeadsPlugin.java | Evil-Co-Legacy/bukkit-mobheads | lgpl-3.0 | 4,277 | 148 | codeparrot/github-code |
82ca498694a9bdc62837994e9d344b5d0bfe4a3ed2e1cf149d5d0180cd4614b8 | package ch.hsr.geohash.util;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.util.HashSet;
import java.util.Set;
import org.junit.Test;
import ch.hsr.geohash.BoundingBox;
import ch.hsr.geohash.GeoHash;
/**
* Created by... | Java | src/test/java/ch/hsr/geohash/util/BoundingBoxSamplerTest.java | bluecliff/geohash-java | lgpl-3.0 | 1,514 | 53 | codeparrot/github-code |
bd435b33820f175c0f5c4d318fd6a30c51ee1687bd0d3a52fa5e07b03d914d27 | <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Class: Origami::Annotation::RichMedia::Settings</title>
... | HTML | doc/classes/Origami/Annotation/RichMedia/Settings.html | cheapbytz/borderless-origami-pdf | lgpl-3.0 | 2,610 | 118 | codeparrot/github-code |
37aecb184fb6d9ca04b1720f621e9c0bfee42a524b3c48ce1bbd875238fd639d | <?php
App::uses('AppModel', 'Model');
/**
* DeliveryChallanDetail Model
*
* @property DeliveryChallan $DeliveryChallan
* @property PurchaseOrder $PurchaseOrder
* @property Product $Product
* @property Device $Device
* @property SystemTable $SystemTable
* @property MasterListOfFormat $MasterListOfFormat
*/
clas... | PHP | app/Model/DeliveryChallanDetail.php | Techmentis/flinkiso-lite | lgpl-3.0 | 4,298 | 183 | codeparrot/github-code |
5aff0f3997cbc6d9a477a2772a14874b03ca936ef6d5cb3f111812e811d95e19 | /*
This source file is part of KBEngine
For the latest info, see http://www.kbengine.org/
Copyright (c) 2008-2012 KBEngine.
KBEngine 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... | C++ | kbe/src/server/tools/billing_system/anonymous_channel.hpp | amyvmiwei/kbengine | lgpl-3.0 | 1,466 | 58 | codeparrot/github-code |
080f33ff19ba9605730cd7fa3b3e06290a5ac560b1fed98ac964fb145411d4b2 | package liquibase.precondition.core;
import liquibase.changelog.DatabaseChangeLog;
import liquibase.changelog.ChangeSet;
import liquibase.database.Database;
import liquibase.exception.PreconditionErrorException;
import liquibase.exception.PreconditionFailedException;
import liquibase.exception.ValidationErrors;
import... | Java | trunk/portofino-database/liquibase-core-2.0.5-sources/liquibase/precondition/core/NotPrecondition.java | hongliangpan/manydesigns.cn | lgpl-3.0 | 1,509 | 46 | codeparrot/github-code |
5ffe96320b0d84766fea39f93ec1b117ba53a14936bac8fa5bf1b08eafc094c7 | /* GStreamer
* Copyright (C) <2005> Wim Taymans <wim@fluendo.com>
*
* 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... | C | third-party/gstreamer/gst-plugins-good/gst/rtp/gstrtpmp4vdepay.c | cpopescu/whispermedialib | lgpl-3.0 | 7,147 | 250 | codeparrot/github-code |
0bafb7523173ba07e3dfe37881583a0c9a2a8fe5a0263a64bb4b53e145d058c5 | # coding: utf-8
"""
This module defines a containers that hold transcripts excluded from further consideration.
It is invoked when all transcripts in a locus have a score of 0 and the "purge"
option has been enabled.
"""
from .abstractlocus import Abstractlocus
from ..transcripts import Transcript
class Excluded(Ab... | Python | Mikado/loci/excluded.py | lucventurini/mikado | lgpl-3.0 | 3,468 | 93 | codeparrot/github-code |
93eae594e59238c9a012f5a20abeb9882fe15b5572518439d569e6b5134947d7 | #include "pix5core.h"
#include <unistd.h>
#include <errno.h>
FileUnix::FileUnix(const FilePath& path, FileAccess::Type access, int f)
{
_path = path;
_access = access;
_f = f;
}
FileUnix::~FileUnix()
{
close();
}
void FileUnix::close()
{
if(_f!=-1)
{
::close(_f);
_f = -1;
}
}
int64_t FileUnix::size()
{
... | C++ | core/FileUnix.cc | juunsuke/pix5 | lgpl-3.0 | 1,828 | 95 | codeparrot/github-code |
2b193d859b4dd29832c94e153a87bc6c1957b503c44cb41d03490f07b2bbfdbc | (function () {
if (!String.prototype.replaceAll) {
String.prototype.replaceAll = function (stringToFind, stringToReplace) {
if (stringToFind === stringToReplace) return this;
var temp = this;
var index = temp.indexOf(stringToFind);
while (index != -1) {
... | JavaScript | src/components/Number/Number.js | guiseek/components | lgpl-3.0 | 6,664 | 180 | codeparrot/github-code |
ab52228a28c5ad6662bbf23347c6f1bef37e1d53f1fafdcde6636cc5d699bb77 | /*
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/schemas/listschemasresponse_p.h | pcolby/libqtaws | lgpl-3.0 | 1,272 | 48 | codeparrot/github-code |
f53ce2ef1567a53a105c7eed9021e4418442d9640aca48afd7dcdee8dd22f44e | <?php
/**
* Class Allegro_Web_Api_DoGetShopCatsDataResponse
* @package Allegro_Web_Api
* @author Paweł Cieślik <cieslix@gmail.com>
* @licence http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
*/
class Allegro_Web_Api_DoGetShopCatsDataResponse extends Allegro_Web_Api_Abstr... | PHP | src/Allegro/Web/Api/DoGetShopCatsDataResponse.php | cieslix/allegro | lgpl-3.0 | 1,045 | 42 | codeparrot/github-code |
9bcae9e9357f066b4853adb6dac950acd72e7203be486ef07cae15dafc80244c | package com.strightflow.core.dform;
/**
* Created by yermak on 23/5/14.
*/
public class Hidden extends FormElement {
private String value;
private String name;
private String id;
public Hidden(String id, String name, String value) {
this.id = id;
this.name = name;
this.value ... | Java | web/src/main/java/com/strightflow/core/dform/Hidden.java | yermak/StraightFlow | lgpl-3.0 | 797 | 46 | codeparrot/github-code |
d27de02612a88d6bcc1d759e392b82af365ddf77a420e056003cc94c2f8c7c9a | #pragma once
#include "itemnode.h"
namespace engine
{
namespace items
{
class CutsceneActor : public ModelItemNode
{
public:
CutsceneActor(const gsl::not_null<Engine*>& engine,
const gsl::not_null<const loader::file::Room*>& room,
const loader::file::Item& item,
... | C | src/engine/items/cutsceneactors.h | stohrendorf/OpenTomb | lgpl-3.0 | 2,038 | 71 | codeparrot/github-code |
bd02a77c09b1479db04cbfd8ff70dbad8fa2e1855e9819eb8dd8b27bd901d231 | /*
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/guardduty/guarddutyrequest_p.h | pcolby/libqtaws | lgpl-3.0 | 1,677 | 52 | codeparrot/github-code |
20bf8b64d93d31c9b16583dec415c42b9e74794c8d480185af723f8081d6b267 | package com.brucegiese.doliststuff;
import com.google.gson.annotations.Expose;
import java.io.Serializable;
public class Step implements Serializable {
private static final String TAG = "com.brucegiese.step_list";
@Expose
private int mId;
@Expose
private String mTitle;
@Expose
private Str... | Java | DoListStuff/app/src/main/java/com/brucegiese/doliststuff/Step.java | BruceGiese/misc | lgpl-3.0 | 1,142 | 62 | codeparrot/github-code |
4446b7299a0a6d7e9cd6b58b4006a7d3d9fe8278de373ec5017342aa363594d3 | /*
* 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/test/java/com/jaspersoft/android/sdk/service/report/schedule/ProxyJobSearchTaskTest.java | Jaspersoft/js-android-sdk | lgpl-3.0 | 4,575 | 134 | codeparrot/github-code |
e72e0ae431da2d53793f6fd096c8621ff40beaef6714ca9d23418812e215d204 | function showMenuTabDir(obj, fpath, plist) {
var showObj = obj.nextSibling;
if (showObj.className != "menudir")
return;
if (showObj.attr_Loaded) {
if (showObj.style.display == "none" || plist)
showObj.style.display = "block";
else
showObj.style.display = "none";
return;
}
var ajax = createAjax();
... | JavaScript | js/showMenuTabDir.js | tsaikd/KDBlog | lgpl-3.0 | 1,147 | 45 | codeparrot/github-code |
410dea0ede321ee48e2f2fe971df9799af33e004532b66c3171b5fd8870b5d5d | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | HTML | CoolQPortal/CoolQDoc/output/html/class_service_module.html | qtdevs/qtassistant | lgpl-3.0 | 3,223 | 87 | codeparrot/github-code |
270fbbfa37b589dbe07ae38365c46e18f25c1da9a028e9d8828ebcac66415769 | /******************************************************************************
* Copyright (C) 2015 by Ralf Kaestner *
* ralf.kaestner@gmail.com *
* *
... | C | include/rqt_multiplot/MessageFieldLineEdit.h | ethz-asl/ros-rqt-multiplot-plugin | lgpl-3.0 | 2,433 | 60 | codeparrot/github-code |
87234bd95fccc68b26910ae7586851aae1e107008e6f4fa9649fef0c0f9ddbc7 | <?php
/**
* @copyright Copyright (c) Metaways Infosystems GmbH, 2012
* @license LGPLv3, http://www.arcavias.com/en/license
* @package Client
* @subpackage Html
*/
/**
* Default implementation of standard basket HTML client.
*
* @package Client
* @subpackage Html
*/
class Client_Html_Basket_Standard_Detail_... | PHP | client/html/src/Client/Html/Basket/Standard/Detail/Default.php | Arcavias/arcavias-core | lgpl-3.0 | 1,867 | 56 | codeparrot/github-code |
d50c7350c08d97420af2dcd64ddde5ef2718c0a6cc6e4024d48da67d7e3ffd54 | // Copyright (C) 2007 Magnus Vikstrøm
//
// This file is part of DOLFIN.
//
// DOLFIN 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 ... | C++ | dolfin/common/MPI.cpp | akshmakov/Dolfin-Fijee-Fork | lgpl-3.0 | 5,939 | 198 | codeparrot/github-code |
aa87aa31c7fcf1b811d9b27a2ecc8aa45a6710c062e0c26a9ec7082e4f99e1ac | /**
* Copyright 2011. Adam Lock <locka99@gmail.com>
*
* Available as open source under the terms of LGPLv3
*/
package com.adamlock.cards;
public enum CardSuit {
/**
* Clubs
*/
CLUBS('c'),
/**
* Spades
*/
SPADES('s'),
/**
* Hearts
*/
HEARTS('h'),
/**
* Diamonds
*/
DIAM... | Java | src/main/java/com/adamlock/cards/CardSuit.java | locka99/DeckOfCards | lgpl-3.0 | 3,132 | 159 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.