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 |
|---|---|---|---|---|---|---|---|---|
411623eba53dc7514d06ce62e2bb970da96e88fb55df8b2e4064930a763960be | namespace ZeroMQ
{
using System;
using System.Threading;
using System.Collections.Generic;
/// <summary>
/// Forwards messages received by a front-end socket to a back-end socket, from which
/// they are then sent.
/// </summary>
/// <remarks>
/// The base implementation of <see cref="ZDevice"/> is <b>not</b... | C# | ZDevice.cs | robertpi/clrzmq4 | lgpl-3.0 | 7,656 | 281 | codeparrot/github-code |
0118260196508f9cb297ade31a05e555311fb0a5a43c25c520f261c6a805ba04 | /*
* @BEGIN LICENSE
*
* Psi4: an open-source quantum chemistry software package
*
* Copyright (c) 2007-2018 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/psimrcc/blas_algorithms.cc | amjames/psi4 | lgpl-3.0 | 8,787 | 273 | codeparrot/github-code |
14b04016c269d1d4aaaa34e19be696f55828169c0de7efe574ab9fe52e9300f5 | package com.trentlarson.forecast.core.scheduling;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.... | Java | core/src/main/java/com/trentlarson/forecast/core/scheduling/TimeSchedule.java | trentlarson/Schedule-Forecast | lgpl-3.0 | 86,519 | 2,172 | codeparrot/github-code |
b7d3a2ab8ba4d9d2c27324d22f5aa1bb2c83ba845a868824ac2dabb4f90b4ee3 | import sys
import os
default_variant = 'PySide'
env_api = os.environ.get('QT_API', 'pyqt')
if '--pyside' in sys.argv:
variant = 'PySide'
elif '--pyqt4' in sys.argv:
variant = 'PyQt4'
elif env_api == 'pyside':
variant = 'PySide'
elif env_api == 'pyqt':
variant = 'PyQt4'
else:
variant = default_vari... | Python | Untitled Folder/QtVariant.py | s910324/Sloth | lgpl-3.0 | 1,292 | 48 | codeparrot/github-code |
5577325c2248afcd783a1445e5204b62ed3420c22f09b9546804f8d40ec92f7b | using Microsoft.Win32.SafeHandles;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
namespace OpenInsider.Core.LinkLayer
{
#region Enums
internal enum... | C# | src/Core/LinkLayer/SynchronousFtdiSerialPort.cs | OpenInsider/OpenInsider-gui | lgpl-3.0 | 25,950 | 675 | codeparrot/github-code |
c0a1724152ef56b8061260c71f9f65d768a3386cd3db8a3812b6d4c7d36d152e | /*******************************************************************************
* 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 | HmiXml/test/src/hmi/xml/XMLTokenizerTest.java | ArticulatedSocialAgentsPlatform/HmiCore | lgpl-3.0 | 28,264 | 668 | codeparrot/github-code |
f4bb890ccfe6bef25c642d63ca4b4821abe5d9768ffd5ea06348f8b2e47cfc82 | #ifndef _CSSOM_CSS_PROPERTY_SETTINGS_H
#define _CSSOM_CSS_PROPERTY_SETTINGS_H
#include "CSSPropertyType.h"
#include "LexicalUnitRange.h"
#include <cssom/typedefs.h>
#include <sacc.h>
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef const SAC_LexicalUnit**(*_CSSOM_PropertyHandler)(const CSSOM *c... | C | src/CSSPropertySetting.h | VasilyStepanov/libcssom | lgpl-3.0 | 804 | 42 | codeparrot/github-code |
8ddd06be6af5d2f28ca172d12db777bb18a9a9401bda1162a937b6d5bdb95b12 | package fr.labri.gumtree.gen.antlr;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.antlr.runtime.CommonToken;
import org.antlr.runtime.CommonTokenStream;
import org.... | Java | gen.antlr/src/main/java/fr/labri/gumtree/gen/antlr/AbstractAntlrTreeGenerator.java | taccoraw/gumtree | lgpl-3.0 | 3,096 | 116 | codeparrot/github-code |
bda77b64cb078e16e3151785720ac6d6d1daefc34a09ea2eb375635dddb45209 | <!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">
<head>
<title>SOCR: Statistics Online Computational Resource</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="descri... | HTML | SOCR2.8/SOCR_Cartograhy.html | SOCR/HTML5_WebSite | lgpl-3.0 | 3,569 | 91 | codeparrot/github-code |
78e19acee96eeb0c359a663e82f8ff2f6c214e563a0ed292a9a38492bc75374a | /**
* Copyright (c) 2011-2015, SpaceToad and the BuildCraft Team
* http://www.mod-buildcraft.com
*
* BuildCraft is distributed under the terms of the Minecraft Mod Public
* License 1.0, or MMPL. Please check the contents of the license located in
* http://www.mod-buildcraft.com/MMPL-1.0.txt
*/
package buildcraft... | Java | common/buildcraft/silicon/TileProgrammingTable.java | hea3ven/BuildCraft | lgpl-3.0 | 5,714 | 232 | codeparrot/github-code |
49c44a21da43c1e67031fe87175b85eb479595425140fcd98a20decb851003e6 | /*
This source file is part of KBEngine
For the latest info, see http://www.kbengine.org/
Copyright (c) 2008-2016 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... | C | kbe/src/lib/client_lib/config.h | Orav/kbengine | lgpl-3.0 | 2,507 | 95 | codeparrot/github-code |
43cb1c0ee0f3debe8bfa9803ca01649dfd7f3048ec31e61509d6eba663d25b74 | /*
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/comprehendmedical/stoprxnorminferencejobrequest.cpp | pcolby/libqtaws | lgpl-3.0 | 3,414 | 111 | codeparrot/github-code |
73c814390395dd3e658732b90a5d8272a766c81520f9d279628274e4e87d7835 |
/* * This file is part of MSMTools.
*
* Copyright (c) 2015, 2014 Computational Molecular Biology Group
*
* MSMTools 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... | C | msmtools/estimation/dense/tmat_sampling/src/sample_rev.c | markovmodel/msmtools | lgpl-3.0 | 10,474 | 387 | codeparrot/github-code |
b5b547346cb90dded09e8355c11f93762742f113eb69a1b28b7c5c4c4c60a68d | <?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... | PHP | src/thread/Thread.php | JackNoordhuis/PocketMine-MP | lgpl-3.0 | 1,488 | 58 | codeparrot/github-code |
71c4cc65d0ca8b163908a26c98479d0808b6c6ab741350d25071425536d44dbf | /**
* 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 ... | C++ | examples/geometry/volumes/distance/distancetransform3D.cpp | xprov/DGtal | lgpl-3.0 | 5,060 | 173 | codeparrot/github-code |
950925dca9457f5a0f28500a32cdc93985ccc7dd1a670d9e29bae1810ae86079 | package fr.ortolang.diffusion.template;
/*
* #%L
* ORTOLANG
* A online network structure for hosting language resources and tools.
* *
* Jean-Marie Pierrel / ATILF UMR 7118 - CNRS / Université de Lorraine
* Etienne Petitjean / ATILF UMR 7118 - CNRS
* Jérôme Blanchard / ATILF UMR 7118 - CNRS
* Bertrand Gaiffe /... | Java | comp/src/main/java/fr/ortolang/diffusion/template/MessageResolverMethod.java | Ortolang/diffusion | lgpl-3.0 | 3,043 | 78 | codeparrot/github-code |
cb2e967ce1e563b754652d63f491690a95f24292a4ecbf2fd9c5a0909cb34c71 | // LICENSE: LGPL 3 - https://www.gnu.org/licenses/lgpl-3.0.txt
// s. https://github.com/mkloubert/CLRToolboxReloaded
using MarcelJoachimKloubert.CLRToolbox.Extensions;
using System;
using System.Text;
namespace MarcelJoachimKloubert.CLRToolbox.Serialization
{
/// <summary>
/// A serializer that uses string ... | C# | MarcelJoachimKloubert.CLRToolboxReloaded.NET4_0/Serialization/StringSerializerBase.cs | mkloubert/CLRToolboxReloaded | lgpl-3.0 | 4,866 | 153 | codeparrot/github-code |
e21b62a924c412f0cd469132ca864bea6dd4547c0effbc18da0c563364efdcb9 | /*
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/quicksight/describeiampolicyassignmentresponse.h | pcolby/libqtaws | lgpl-3.0 | 1,637 | 52 | codeparrot/github-code |
2909725dff9a803ca5e0de9983c27b8cd3c4869e80702e743f7530dbd8ecd24c | /*
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/servicecatalog/updateprovisionedproductresponse_p.h | pcolby/libqtaws | lgpl-3.0 | 1,417 | 48 | codeparrot/github-code |
371514936880cea68e95dfab109deae85b8252f41b2ee0c13ff578061a5c6e14 | #region LGPL License
/*----------------------------------------------------------------------------
* This file (Plugins\Advanced\ContextEditor\Wizard\ViewModels\ElementViewModels\CheckBoxExportKeyboardViewModel.cs) is part of CiviKey.
*
* CiviKey is free software: you can redistribute it and/or modify
* it under t... | C# | Plugins/Advanced/ContextEditor/Wizard/ViewModels/ElementViewModels/CheckBoxExportKeyboardViewModel.cs | Invenietis/ck-certified | lgpl-3.0 | 2,203 | 71 | codeparrot/github-code |
0a147e53d6643432588dd6a9f831215c6240bdb6817f23bb8e7d85de6a0e0dab | /*******************************************************************************
* Copyright (C) 2013 Andrei Olaru, Marius-Tudor Benea, Nguyen Thi Thuy Nga, Amal El Fallah Seghrouchni, Cedric Herpson.
*
* This file is part of tATAmI-PC.
*
* tATAmI-PC is free software: you can redistribute it and/or modify it und... | Java | src/tatami/pc/agent/visualization/PCSimulationGui.java | tATAmI-Project/tATAmI-PC | lgpl-3.0 | 2,534 | 69 | codeparrot/github-code |
e1168d3714215925909e89410077ed2ad9b27cc9b6ef97cf84ba44f3672106d6 | /**********
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/StreamReplicator.cpp | DeeHants/liveMedia | lgpl-3.0 | 14,631 | 334 | codeparrot/github-code |
e31c786f39fa6730c2a8dc7f32d5a13e12704550ea203962eb5035d4306499b4 | <?php
namespace Team\Model\Base;
use \DateTime;
use \Exception;
use \PDO;
use Propel\Runtime\Propel;
use Propel\Runtime\ActiveQuery\Criteria;
use Propel\Runtime\ActiveQuery\ModelCriteria;
use Propel\Runtime\ActiveRecord\ActiveRecordInterface;
use Propel\Runtime\Collection\Collection;
use Propel\Runtime\Connection\Con... | PHP | Model/Base/PersonFunctionLink.php | thelia-modules/Team | lgpl-3.0 | 50,426 | 1,499 | codeparrot/github-code |
86bfd64444f2ddf43cf3dfec7f6ec216ef05d00fac44996716b7125cdd5a719f | import _metagam3d
from _metagam3d import AxisAlignment, AlignmentType
from metagam3d.channels import blocking
from metagam3d.scripts import m3d_expr
from concurrence import Tasklet
class LoadError(Exception):
pass
class Object(_metagam3d.Object):
def __init__(self, objid):
_metagam3d.Object.__init__(s... | Python | python/metagam3d/objects.py | JoyTeam/metagam3d | lgpl-3.0 | 3,360 | 100 | codeparrot/github-code |
eb1962bf3eccbc0ca3d308bc53f818b32cc2e784a332af7f82e900ea3adce025 | /*
*
* Copyright © 2015-2016 Agem Bilişim
*
* This file is part of Lider Ahenk.
*
* Lider Ahenk is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your ... | Java | lider-console-core/src/tr/org/liderahenk/liderconsole/core/model/ReportView.java | Agem-Bilisim/lider-console | lgpl-3.0 | 4,074 | 181 | codeparrot/github-code |
5bfb81fed62a1172d06c73d09c7346d19d4c6d00e8c2c283ce7a4b41da1ad9ba | /*
* Tecsinapse Data Input and Output
*
* License: GNU Lesser General Public License (LGPL), version 3 or later
* See the LICENSE file in the root directory or <http://www.gnu.org/licenses/lgpl-3.0.html>.
*/
package br.com.tecsinapse.dataio;
import java.io.File;
import java.io.IOException;
import java.util.Date;... | Java | src/test/java/br/com/tecsinapse/dataio/TableTest.java | tecsinapse/tecsinapse-data-io | lgpl-3.0 | 1,600 | 47 | codeparrot/github-code |
18cb2e38fd9dc6652e96392d072ff76b0cef3e5f45d04b355124cb4b9b2447d5 | <label style='font-weight: bold; margin-top: 12px; width: auto!important;'><?php echo __("Licence"); ?> : </label>
<select name="licence_<?php echo $file->getId(); ?>" id="licence_<?php echo $file->getId(); ?>" class="licence" rel="<?php echo $file->getId(); ?>">
<option value="-1" <?php echo $preset ? ($preset->getLi... | PHP | opendam/apps/backend/modules/file/templates/_copyrightSelected.php | martin-wikipixel/openDAM | lgpl-3.0 | 25,522 | 490 | codeparrot/github-code |
2fb4acb0140458e678d7c60ddc35626250d03b1c56810843a9a7f750514e2789 | package org.athento.nuxeo;
import com.google.inject.Inject;
import com.sun.org.apache.commons.logging.Log;
import com.sun.org.apache.commons.logging.LogFactory;
import org.athento.nuxeo.api.DocumentModelListPageProvider;
import org.athento.nuxeo.operations.CopyFileOperation;
import org.athento.nuxeo.operations.Package... | Java | athento-nx-automation-extended/src/test/java/org/athento/nuxeo/PackageToZipOperationTest.java | athento/athento-nx-automation-extended | lgpl-3.0 | 5,327 | 124 | codeparrot/github-code |
71ec32ce11e8344c9fdaaee416a5b3349d81dd73e876ed299fc9ca27e0d8f7cd | /***************************************************************************
* Copyright (C) 2013 by Ralf Kaestner *
* ralf.kaestner@gmail.com *
* *
* This pr... | C++ | src/lib/blinkm/setcolor.cpp | kralf/libblinkm | lgpl-3.0 | 2,800 | 60 | codeparrot/github-code |
db925f807d67226955c097df381e54c464a9a41cdc01df6bdaf526186a03e6b4 | package fi.dy.masa.minihud.renderer;
import java.util.ArrayList;
import java.util.List;
import org.lwjgl.opengl.GL11;
import com.google.gson.JsonObject;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.OpenGlHelper;
import net.minecraft.en... | Java | src/main/java/fi/dy/masa/minihud/renderer/RenderContainer.java | maruohon/minihud | lgpl-3.0 | 7,875 | 242 | codeparrot/github-code |
af2681a52a982ae5a058e5e9ff4926d8a7c9b9880117634c0bb6127f5c295271 | <?php
/**
* @author stev leibelt <artodeto@arcor.de>
* @since 2013-06-08
*/
namespace Test\Net\Bazzline\Component\TestCase\Answer;
use Mockery;
use Test\Net\Bazzline\Component\TestCase\UnitTestCase;
/**
* Class AnswerAbstractTest
*
* @package Test\Net\Bazzline\Component\TestCase\Answer
* @author stev leibelt... | PHP | test/Net/Bazzline/Component/TestCase/Answer/AnswerAbstractTest.php | stevleibelt/php_component_testcase | lgpl-3.0 | 4,524 | 152 | codeparrot/github-code |
606d94d318e7ad286ed5ba9d2e13cd5e5395e1a75d2e4e37161d71e5757133ec | package exc.xmpF;
import exc.object.*;
import exc.block.*;
import java.util.Vector;
/**
* information for each XMP directive
*/
public class XMPinfo
{
private XMPinfo parent;
private Block block; /* back link */
XMPpragma pragma; /* directives */
XMPenv env;
BlockList body;
XMPobjectsRef on_ref;
Vec... | Java | XcodeML-Exc-Tools/src/exc/xmpF/XMPinfo.java | omni-compiler/omni-compiler | lgpl-3.0 | 4,597 | 192 | codeparrot/github-code |
da9918b67a4c4913064354db83580ec2977e175cfc423958c90b6d92de351e82 | /* This file is part of the LAIK parallel container library.
* Copyright (c) 2017 Josef Weidendorfer
*
* LAIK is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, version 3.
*
* LAIK is distributed in... | C | examples/markov2.c | envelope-project/laik | lgpl-3.0 | 16,018 | 464 | codeparrot/github-code |
6ac0fe5829d7767938facedf17d4f8f0a592ae9e5eb4c2f485c07c0c591e9f99 | package org.zenframework.z8.server.db;
import java.sql.SQLException;
import org.zenframework.z8.server.base.query.Query;
import org.zenframework.z8.server.engine.IDatabase;
import org.zenframework.z8.server.logs.Trace;
import org.zenframework.z8.server.types.guid;
public class Delete extends DmlStatement {
... | Java | org.zenframework.z8.server/src/main/java/org/zenframework/z8/server/db/Delete.java | zenframework/z8 | lgpl-3.0 | 1,362 | 45 | codeparrot/github-code |
fa408f58113a410117e40742433513aa0dcf3b63afb5e69ecf5edc3a74037db0 | // -*- mode: C++; c-file-style: "cc-mode" -*-
//*************************************************************************
// DESCRIPTION: Verilator: Emit C++ for tree
//
// Code available from: https://verilator.org
//
//*************************************************************************
//
// Copyright 2003-2021... | C | src/V3EmitCConstInit.h | mballance/verilator | lgpl-3.0 | 5,211 | 123 | codeparrot/github-code |
22d1d677a9528c3abcc66f637ab8f138f9ba89342a2b8e21fcdd2d5221b74d0d | #pragma once
#include "Object.hpp"
#include "Shader.hpp"
#include "gl_core_3_3.h"
#include <map>
namespace glrage {
namespace gl {
class Program : public Object
{
public:
Program();
~Program();
void bind();
void attach(Shader& shader);
void detach(Shader& shader);
void link();
void fragm... | C++ | glrage_gl/Program.hpp | ata4/glrage | lgpl-3.0 | 1,005 | 40 | codeparrot/github-code |
5a3c1eebe5d6fe57bcdf91ecb831769db0c93357fbfdcdcbecf42dd8123b27a8 | using System;
using System.Collections.Generic;
using DDIClassLibrary.v3_1.physicaldataproduct;
using DDIClassLibrary.v3_1.reusable;
namespace DDIClassLibrary.v3_1.physicaldataproduct_ncube_normal
{
[System.Serializable()]
[System.Xml.Serialization.XmlType(Namespace = "ddi:physicaldataproduct_ncube_normal:3_1... | C# | DDIClassLibrary/v3_1/physicaldataproduct_ncube_normal/RecordLayoutType.cs | snd-sweden/DDI-API | lgpl-3.0 | 1,048 | 33 | codeparrot/github-code |
b3738762bc66eb4ce0a5066c7b4a7d9c91984e422400636f371b6f66718cb3b0 | ---
title: ZKP - Zero Knowledge Proofs
date: 2017-06-09 10:00 UTC
tags:
- ctf
- pwn
- binary
- format string
---
~~~ c
/*
ZKP : Zero Knwoledge Proof (https://en.wikipedia.org/wiki/Zero-knowledge_proof#Abstract_example)
In this example, Peggy knows the secret word to open a magical door in a cave.
... | Markdown | source/blog/2017-06-09-zkp-zero-knowledge-proofs.html.markdown | ParthKolekar/ParthKolekar.github.io | lgpl-3.0 | 9,039 | 294 | codeparrot/github-code |
bb7128175553699bfd95c15939dac157becb2046ad56db915f520a984345d4bc | <?php
/**
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/... | PHP | src/material/block/ore/RedstoneOre.php | Striker209/PocketMine-MP | lgpl-3.0 | 1,447 | 46 | codeparrot/github-code |
d00eceab238efe4302ac146578308d06f39b9a2c3c235d3eb9570700f919c0d5 | package com.darkona.adventurebackpack.block;
import java.util.Random;
import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
impo... | Java | src/main/java/com/darkona/adventurebackpack/block/BlockCampFire.java | Ugachaga/AdventureBackpack2 | lgpl-3.0 | 4,226 | 168 | codeparrot/github-code |
1d9cc4bdd6d989d26a22c7ecfe1877ee9a27dad724ed0b2c8a45a6dc0e6d2bce | <?php
require_once('../assets_backend/be_includes/config.php');
require_once('../assets_backend/be_includes/check_login_easy.php');
//max joblevel accessible
$joblvl=($_SESSION['MVGitHub_joblevel']-2);
// Is there a posted query string?
if (isset($_POST['queryString']))
{
$queryString = mysql_escape_string($_POST[... | PHP | myac/ajax_nextstep_rec.php | CustomerFeedback/System-Files-Installable | lgpl-3.0 | 3,030 | 63 | codeparrot/github-code |
11c01afeb74f2a57621636b3f5089fc8af122af69cee82d37479cea35fc53f21 | /*
*
*
* Copyright CEA/DAM/DIF (2010)
* contributeur : Philippe DENIEL philippe.deniel@cea.fr
* Thomas LEIBOVICI thomas.leibovici@cea.fr
*
*
* 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... | C | include/fsal_glue.h | xushiwei/nfs-ganesha | lgpl-3.0 | 3,008 | 115 | codeparrot/github-code |
bd088f82dd77af2df74a243277e8fcb3039ba38b3dc855220271d59374590606 | using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace ThinkLib.Utilities
{
/// <summary>
/// 加解密工具类
/// </summary>
public static class CryptoUtils
{
/// <summary>
/// 将字符串编码为Base64字符串
... | C# | src/ThinkLib/Utilities/CryptoUtils.cs | imyounghan/thinklib | lgpl-3.0 | 17,956 | 480 | codeparrot/github-code |
3315ed4dc8fde5e5aaa529d587b7f7dec45da2df99df434e48687a60486b51c9 | /*+@@file@@----------------------------------------------------------------*//*!
\file _dbdao.h
\par Description
Extension and update of headers for PellesC compiler suite.
\par Project:
PellesC Headers extension
\date Created on Mon Jul 4 19:00:01 2016
\date Modified on Mon Jul 4 1... | C | Include/_dbdao.h | Frankie-PellesC/fSDK | lgpl-3.0 | 18,873 | 582 | codeparrot/github-code |
d119e8e07577022ef505672bd47928bad9f6bdc77ea4766a8e0b8a50349ed43a | /*
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/inspector/describerulespackagesresponse_p.h | pcolby/libqtaws | lgpl-3.0 | 1,370 | 48 | codeparrot/github-code |
dffd509ff1ca78d93b5c27652e314ad6c3c1ca0d16ac66ea9602ec46fd4e8fd4 | /*
This file is part of mad-phenom.
mad-phenom is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
mad-phenom is distributed in the hope that i... | C | mad-phenom/Common.c | mikedehaan/mad-phenom | lgpl-3.0 | 6,924 | 252 | codeparrot/github-code |
06cd7143a155621558b6654445278403df46cb61288a528ba19808186fad8d1e | package fr.esrf.TangoApi;
import fr.esrf.Tango.DevFailed;
import fr.esrf.Tango.DevState;
import org.junit.Before;
import org.junit.Test;
import static junit.framework.Assert.assertEquals;
import static org.junit.Assert.*;
/**
* @author Igor Khokhriakov <igor.khokhriakov@hzg.de>
* @since 02.10.14
*/
public class D... | Java | common/src/test/java/fr/esrf/TangoApi/DevicePipeTest.java | tango-controls/JTango | lgpl-3.0 | 2,745 | 92 | codeparrot/github-code |
21d4f4909c6ab4c18dbe5c6a6e124ba4be02ea476aa3cd4558fa7c181d7cec69 | /*------------------------------------------------------------------------------------*\
/$$$$$$ /$$
/$$__ $$ | $$
/$$$$$$ /$$$$$$ /$$$$$$ | $$ \__/ /$$$$$$$ /$$$$$$ | $$ /$$$$$$
/... | C | src/simulation_state.h | CFDEMproject/ParScale-PUBLIC | lgpl-3.0 | 3,338 | 105 | codeparrot/github-code |
df5b99d1d5acf1dc1786cb0a49ff683e90dabec838350e1bf821be4d27b18b65 | /* Cepstrum.cpp
*
* Copyright (C) 1994-2014 David Weenink
*
* 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.
*
*... | C++ | sources_5401/LPC/Cepstrum.cpp | PeterWolf-tw/NeoPraat | lgpl-3.0 | 19,197 | 582 | codeparrot/github-code |
96f60bc89138d1dcc9a459e541fcac4b6c56b98181815ea2916b71e23fb24190 | /**
* This file is part of SensApp Acceptance.
*
* SensApp Acceptance is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
... | Java | src/main/java/net/modelbased/sensapp/acceptance/driver/configuration/EndPoints.java | SINTEF-9012/sensapp-acceptance | lgpl-3.0 | 2,360 | 70 | codeparrot/github-code |
ab888fc4b75427a261ff084420116595b367d6aa97e730852b77bcd31ea1c1e3 | import OncoprintModel from "./oncoprintmodel";
import menuDotsIcon from "../img/menudots.svg";
import svgfactory from "./svgfactory";
import $ from "jquery";
import ClickEvent = JQuery.ClickEvent;
import {CLOSE_MENUS_EVENT as TRACK_OPTIONS_VIEW_CLOSE_MENUS_EVENT} from "./oncoprinttrackoptionsview";
const MENU_DOTS_SIZ... | TypeScript | src/js/oncoprintheaderview.ts | cBioPortal/oncoprintjs | lgpl-3.0 | 10,320 | 277 | codeparrot/github-code |
368ca93a3eb0889fe0c2ed66b4712b22b823c3a40b2cc8bb9edd73cf6571f0a5 | //
// Copyright (C) University College London, 2007-2012, all rights reserved.
//
// This file is part of HemeLB and is provided to you under the terms of
// the GNU LGPL. Please see LICENSE in the top level directory for full
// details.
//
#include "extraction/PropertyWriter.h"
namespace hemelb
{
namespace ext... | C++ | Code/extraction/PropertyWriter.cc | jenshnielsen/hemelb | lgpl-3.0 | 1,352 | 46 | codeparrot/github-code |
6bb88d8e5330f4df767bb7e4acda45f2f133de489e4951babe28bb06f29547ff | package za.ac.sun.cs.green.service.factorizer;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
import za.ac.sun.cs.green.Green;
import za.ac.sun.cs.green.Instance;
import za.ac.sun.cs.green.Service;
import za.ac.sun.cs.green.expr.Expression;
import za.ac.sun.cs.... | Java | green/src/za/ac/sun/cs/green/service/factorizer/ModelFactorizerService.java | holycrap872/green-solver | lgpl-3.0 | 3,560 | 111 | codeparrot/github-code |
6f653651107e905eccb367da3fc2c902fdc5dbe6781b5d5f93a04e5cbc5596a3 | package tr.com.agem;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest( Str... | Java | arya-metadata-persistence/src/test/java/tr/com/agem/AppTest.java | Agem-Bilisim/arya | lgpl-3.0 | 639 | 39 | codeparrot/github-code |
d797166e59e632832a230968323d205a8a113e18ace99f73b575737e5e6909f2 | /*
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/storagegateway/listtapepoolsrequest_p.h | pcolby/libqtaws | lgpl-3.0 | 1,444 | 48 | codeparrot/github-code |
a16dc427db5f33412b1ff1a30541d2aee28bbafff7bdad65489c102d80ac3b85 | #!/usr/bin/python
import sys, signal, logging, time, RPi.GPIO as GPIO
FLOATSW_HIGH_WL = 26 # high water level float switch
WATER_VALVE = 10 # GPIO port for the Water Electo valve, High by default after boot
VALVE_CHGSTATE_TIMER = 25 ... | Python | rodi.py | aquamonitor/Aquamonitor | lgpl-3.0 | 4,109 | 119 | codeparrot/github-code |
041fc48db7d37a719a044a565d1ec89f6bc506e967495926ec30262d3b5a0611 | /*
* tuProlog - Copyright (C) 2001-2007 aliCE team at deis.unibo.it
*
* 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 la... | Java | 2p-mvn/tuProlog-3.2.1-mvn/src/alice/tuprolog/BuiltIn.java | zakski/project-soisceal | lgpl-3.0 | 19,659 | 611 | codeparrot/github-code |
77658533c9db2b33366f95fbad5a7b2faf7f51438366e94b2eddc35a3c27ce89 | package ddg.DefUseCFG;
import java.util.Collection;
import java.util.List;
import org.neo4j.graphdb.Direction;
import org.neo4j.graphdb.Node;
import org.neo4j.graphdb.Relationship;
import org.neo4j.graphdb.index.IndexHits;
import databaseNodes.EdgeTypes;
import misc.Pair;
import neo4j.readWriteDB.Neo4JDBInterface;
i... | Java | projects/extensions/joern-fuzzyc/src/main/java/ddg/DefUseCFG/ReadWriteDbFactory.java | octopus-platform/joern | lgpl-3.0 | 3,360 | 140 | codeparrot/github-code |
9b27defd2bc101fb5c16c2964267299eea0277bee874f016ba5013330e05be77 | <?php
/*
* This file is part of facturacion_base
* Copyright (C) 2013-2017 Carlos Garcia Gomez neorazorx@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... | PHP | model/core/linea_albaran_proveedor.php | KalimochoAz/facturacion_base | lgpl-3.0 | 14,095 | 509 | codeparrot/github-code |
2b7c2358da8a58abf99a9ad7cc1e4a08631b1a3c5181fa59faa2b8cf55ed7fef | #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#
# 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/ComplexLine.py | ecell/ecell3 | lgpl-3.0 | 13,350 | 364 | codeparrot/github-code |
3b360b66d48dff62d9253e66439bea857cfb6739fc4467f76efc459fe0d57123 |
#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#ifndef _EXTERN_C_
#ifdef __cplusplus
#define _EXTERN_C_ extern "C"
#else /* __cplusplus */
#define _EXTERN_C_
#endif /* __cplusplus */
#endif /* _EXTERN_C_ */
#ifdef MPICH_HAS_C2F
_EXTERN_C_ void *MPIR_ToPointer(int);
#endif // MPICH_HAS_C2F
#ifdef PIC
/* For... | C | gremlins/exampleFile.c | scott-walker-llnl/libmsr | lgpl-3.0 | 11,623 | 448 | codeparrot/github-code |
015ffb80030fd8838fd502aefc5b3d0ac125ca9b4198eb8e8960ab440cf12e88 | #!/usr/bin/env python
# Copyright (C) 2011-2014 Swift Navigation Inc.
# Contact: Fergus Noble <fergus@swiftnav.com>
#
# This source is subject to the license found in the file 'LICENSE' which must
# be be distributed together with this source. All other rights reserved.
#
# THIS CODE AND INFORMATION IS PROVIDED "AS IS"... | Python | python/sbp/__init__.py | fnoble/libsbp | lgpl-3.0 | 4,591 | 114 | codeparrot/github-code |
4ce985e46b98d65b2d1faa8bc5c94394b21ffdb03fa6399add44c03bfbc8c242 | #Initialisation
from time import sleep
from NaoCommunication import *
nao=NaoControle(Nao())
# 1 - Decrire le resultat de ce morceau de code
# ...
for a in range(16):
if a%2==0:
nao.reglerCouleur(a,a*15,50,50)
else :
nao.reglerCouleur(a,255,0,0)
sleep(0.1)
for a in range(15,-1,-1):
nao.eteind... | Python | TPINFO/Partie3/exercice1.py | AdrienVR/NaoSimulator | lgpl-3.0 | 659 | 31 | codeparrot/github-code |
5b4d4ae5833821f4d8f2944b3d9d15f58a9b38b0da4fc958c8ef4bd195270cfd | package br.com.zalem.ymir.client.android.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.View;
import android.widget.FrameLayout;
import br.com.zalem.ymir.client.android.commons.R;
/**
* SquareLayout é uma extensão de {@link androi... | Java | ymir.client-android.commons/src/main/java/br/com/zalem/ymir/client/android/widget/SquareLayout.java | ZalemSoftware/Ymir | lgpl-3.0 | 4,027 | 109 | codeparrot/github-code |
0945f92d32b5cd1e2cf454293d57deebf95f229d7759f594ec2888273e25ff80 | #include<stdio.h>
#include<stdlib.h>
#include<math.h>
#include<string.h>
//#include "nuc2num.h"
//#include "hashfuc.h"
//#include "statfreq.h"
int hashfuc(char *string,int mer);
int nuc2num(char s);
int main(){
//get the reference from the reference file.
// while (){
// }
//reference example
char *ref;
const ... | C | freq/onlyone.c | zhmz90/November_2014 | lgpl-3.0 | 2,113 | 98 | codeparrot/github-code |
9db60e94dbe4130f285d66020c091eb561ce9a5026242efc0a39b245a624de82 | /*
* Copyright (C) 2010 Teleal GmbH, Switzerland
*
* 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.
*
* Th... | Java | support/src/main/java/org/teleal/cling/support/igd/callback/GetStatusInfo.java | HisenseUSA/Cling-1.0.5 | lgpl-3.0 | 2,339 | 63 | codeparrot/github-code |
726700b1bf9e33109648d549e74295e97cbe05dbd51a63d701ed4d53e85c02ff | /* $Id: PtbguiMain.java 446504 2014-09-16 14:46:53Z gouriano $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Government ... | Java | src/ncbi-blast-2.5.0+/c++/src/build-system/project_tree_builder_gui/src/ptbgui/PtbguiMain.java | kyungtaekLIM/PSI-BLASTexB | lgpl-3.0 | 94,823 | 1,954 | codeparrot/github-code |
8b7d8cb58f1efe5888a80c034e882c300bf975471c529eadc2ff44afb6a3f93b | package be.bendem.bukkit.orebroadcast.updater;
import be.bendem.bukkit.orebroadcast.OreBroadcast;
import net.gravitydevelopment.updater.Updater;
import org.bukkit.command.CommandSender;
import org.bukkit.scheduler.BukkitRunnable;
import java.io.File;
/**
* @author bendem
*/
public class OreBroadcastUpdater {
... | Java | src/main/java/be/bendem/bukkit/orebroadcast/updater/OreBroadcastUpdater.java | bendem/OreBroadcast | lgpl-3.0 | 3,000 | 96 | codeparrot/github-code |
5a8123aa8b59a3907f370f858be76fc39ac71384272485a11e5e63370a616234 | /*
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/codepipeline/listpipelineexecutionsrequest_p.h | pcolby/libqtaws | lgpl-3.0 | 1,533 | 48 | codeparrot/github-code |
9a5a45ca7bde6b7c69fba580b25cf88274ebcfdd6d277e53c3cbb94a31eeac1c | #!/usr/bin/env python
# Copyright (C) 2015 Swift Navigation Inc.
# Contact: Ian Horn <ian@swiftnav.com>
#
# This source is subject to the license found in the file 'LICENSE' which must
# be be distributed together with this source. All other rights reserved.
#
# THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WAR... | Python | gnss_analysis/agg_run.py | imh/gnss-analysis | lgpl-3.0 | 2,348 | 64 | codeparrot/github-code |
77f151bd8851164d80156b17daafeb0bba1c1342cd68e6218c953e7f56053d98 | /********************************************************************
* Copyright © 2016 Computational Molecular Biology Group, *
* Freie Universität Berlin (GER) *
* *
* This file is part of ReaDDy. ... | C | include/readdy/model/topologies/reactions/SpatialTopologyReaction.h | chrisfroe/readdy | lgpl-3.0 | 6,127 | 200 | codeparrot/github-code |
38f1157a05f4b5fac72d6c0690c3df2c3fcf0751a2c740dc8f35382375a57cac | #ifndef _GS_NODE_H_
#define _GS_NODE_H_
#include "gs_types.h"
#include "gs_common.h"
#include "gs_element.h"
#include "gs_edge.h"
#ifdef __cplusplus
extern "C" {
#endif
struct _node {
GSElement parent;
GSGraph *graph;
uint edge_count;
GList *edges;
};
#define GS_NODE(e) ((GSNode*)CHECK_TYPE(e,NODE_... | C | src/gs_node.h | gsavin/GS-C | lgpl-3.0 | 631 | 37 | codeparrot/github-code |
20dc83ee0230cd9df56c5478cb15bd2986bb6391744a1898e3f6a67d56c5945f | /*
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/stopmonitoringmembersrequest_p.h | pcolby/libqtaws | lgpl-3.0 | 1,507 | 48 | codeparrot/github-code |
60663b053568b93ba4a5ad80203dbb99cdf9c97f1f6dfb599a8e17661ec468c9 | /* =========================================================================
* This file is part of NITRO
* =========================================================================
*
* (C) Copyright 2004 - 2010, General Dynamics - Advanced Information Systems
*
* NITRO is free software; you can redistribute it a... | C | c/nitf/source/LookupTable.c | hobu/nitro | lgpl-3.0 | 4,036 | 150 | codeparrot/github-code |
538e8c4c4c14765b337c9e01ded5bfd031e5092efe93779f276932c6dc4efe63 | /*******************************************************************************
* 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 | Engines/AsapAudioEngine/src/asap/audioengine/TimedAbstractAudioUnit.java | ArticulatedSocialAgentsPlatform/AsapRealizer | lgpl-3.0 | 6,784 | 256 | codeparrot/github-code |
225c2a4b7eacfb0c13ed45966c3d41a9ed33821cf2094c1f1fc78ff89a0e050b | /*
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/amplify/listtagsforresourcerequest.cpp | pcolby/libqtaws | lgpl-3.0 | 3,548 | 114 | codeparrot/github-code |
8ab60c7528b5bf2817f68a3b05781f8a0cb1283ae262de60468dc24fd09ef896 | /* String.h - String
** https://github.com/hubenchang0515/Luminous
**
** Copyright (C) 2017 hubenchang0515
** Date : 2017-8-23
** E-mail : hubenchang0515@outlook.com
** Blog : blog.kurukurumi.com
** LISENCE : LGPL v3.0
*/
#ifndef LUMINOUS_STRING_H
#define LUMINOUS_STRING_H
#include "core.h"
#ifdef __cplusplus... | C | string.h | hubenchang0515/Luminous | lgpl-3.0 | 1,974 | 87 | codeparrot/github-code |
a5882a923dec0b3a69ebd6a3cbfad3c57c26adb7542e92908e234b6bab89a608 | module Trestle
class Toolbar
require_relative "toolbar/builder"
require_relative "toolbar/context"
require_relative "toolbar/item"
require_relative "toolbar/menu"
def initialize(builder=Builder)
@builder = builder
clear!
end
def clear!
@blocks = []
end
def grou... | Ruby | lib/trestle/toolbar.rb | TrestleAdmin/trestle | lgpl-3.0 | 1,135 | 48 | codeparrot/github-code |
8cdb8251efd7ecedf4e59adcfc2b8ba9fa661b62c43d846b3bc19632b7344849 | //<TunynetCopyright>
//--------------------------------------------------------------
//<copyright>拓宇网络科技有限公司 2005-2012</copyright>
//<version>V0.5</verion>
//<createdate>2012-05-24</createdate>
//<author>libsh</author>
//<email>libsh@tunynet.com</email>
//<log date="2012-05-24">创建</log>
//----------------------------... | C# | BusinessComponents/Common/SensitiveWord/SensitiveWordService.cs | yesan/Spacebuilder | lgpl-3.0 | 8,058 | 259 | codeparrot/github-code |
c5f29cb97075c0971cd063e2faa830593b5ea2fb1c3c36cbf03646c360c42be8 | #!/usr/bin/env python3
# -*- coding: utf-8; Mode: Python; indent-tabs-mode: nil; tab-width: 4 -*-
# vim: set fileencoding=utf-8 filetype=python syntax=python.doxygen fileformat=unix tabstop=4 expandtab :
# kate: encoding utf-8; bom off; syntax python; indent-mode python; eol unix; replace-tabs off; indent-width 4; tab-... | Python | pylib/neuralnet.py | DevynCJohnson/Pybooster | lgpl-3.0 | 13,720 | 308 | codeparrot/github-code |
4894c35a67e64ef598860bbb688e2a33cae5c0e75b2cb872eef5a0bdc1d6cfdb | #encoding: utf-8
# Calculate axis (only) and draw them
class GraphAxis
attr_reader :technical_graph
# some issues with float precision and rounding
SAFE_ENL_COEFF = 1.1
# Accessor for options Hash
def options
@technical_graph.options
end
# Accessor for DataLayer Array
def layers
@technical... | Ruby | lib/technical_graph/graph_axis.rb | akwiatkowski/technical_graph | lgpl-3.0 | 6,473 | 253 | codeparrot/github-code |
620aff346cba87e9184ff40c1ec56fa541a7d5610d086de7b8d418138a53de12 | #! /usr/bin/false
# $Id$
#
# "HTTP::Lite" version 2.3 $$
package HTTP::Lite;
use 5.005;
use strict;
use Socket 1.3;
use Fcntl;
use Errno qw(EAGAIN);
use vars qw($VERSION);
BEGIN {
$VERSION = "2.3";
}
my $BLOCKSIZE = 65536;
my $CRLF = "\r\n";
my $URLENCODE_VALID = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX... | Perl | src/lib/HTTP/Lite.pm | nanakochi123456/PyukiWikiDevelopmentEnvironment | lgpl-3.0 | 26,608 | 1,062 | codeparrot/github-code |
798c651eb0267c5092433db8ef432ea6a27bfc308a70c2ed4282f61d82d2b42d | // Copyright (c) 2012-2015 Andre Martins
// All Rights Reserved.
//
// This file is part of TurboParser 2.3.
//
// TurboParser 2.3 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 t... | C | MeurboParser/src/multi_parser/DependencyPipe.h | Noahs-ARK/NeurboParser | lgpl-3.0 | 12,501 | 335 | codeparrot/github-code |
2e7ff1beb6cceea766c784db2b353385866e7c055ace68d42b7f5bfefaac4554 | '''
Created on 05.11.2013
@author: gena
'''
from __future__ import print_function
from PyQt4 import QtCore
from escore.plate import Plate
from escore.approximations import indexByName
class PlateRecord(object):
def __init__(self, plate, name,path):
self.plate=plate
self.name=name
self.pat... | Python | src/escore/platemanager.py | GennadiyZakharov/elisasolver | lgpl-3.0 | 4,677 | 129 | codeparrot/github-code |
a0960fc591cc2fea7b9dba499e4559e5fb46df97cb4bc921da363411f2dd4eba | /*
* This file is protected by Copyright. Please refer to the COPYRIGHT file
* distributed with this source distribution.
*
* This file is part of REDHAWK bulkioInterfaces.
*
* REDHAWK bulkioInterfaces is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public L... | Java | libsrc/java/src/bulkio/InUInt16Port.java | RedhawkSDR/framework-bulkioInterfaces | lgpl-3.0 | 14,812 | 522 | codeparrot/github-code |
9fa033832f1f645a74f0732176279ca3a044e2d643dc98ce478af6ee0bed0169 | /*
* Copyright (C) 2015 higherfrequencytrading.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License.
*
* This program is distr... | Java | src/test/java/net/openhft/chronicle/engine/ChassisRFCTest.java | lburgazzoli/Chronicle-Engine | lgpl-3.0 | 9,546 | 233 | codeparrot/github-code |
0edb1072a4211ed69d37cf91d8b134d8974f7bd20295577490488d795f3d012c | /*
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/glue/gettablerequest_p.h | pcolby/libqtaws | lgpl-3.0 | 1,339 | 48 | codeparrot/github-code |
f6a4ac23e18e26bd7bfe7b44b7639788e320281ac518b03b90ec0ca72ba1f885 | /*
* Copyright (C) 2011 ~ 2019 Deepin Technology Co., Ltd.
*
* Author: andywang <wangwei_cm@deepin.com>
*
* Maintainer: andywang <wangwei_cm@deepin.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free... | C | src/frame/window/modules/mouse/touchpadsettingwidget.h | linuxdeepin/dde-control-center | lgpl-3.0 | 2,072 | 73 | codeparrot/github-code |
5f73156a8297fbd207281057f4eb10f13de68590e95101689566fb5aebb9a3c4 | package myokun.mods.elex.core;
import net.minecraftforge.common.ForgeDirection;
/**
* Elemental Experimentation
*
* RenderUtilities
*
* @author Myo-kun
* @credit BuildCraft team
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
*/
public class RenderUtilities {
public stati... | Java | elex_common/myokun/mods/elex/core/RenderUtilities.java | myoKun345/ElementalExperimentation | lgpl-3.0 | 832 | 31 | codeparrot/github-code |
980febf91937d2fa572c7723553e9d52f909a962c01881efe4c67574d843b748 | /*--------------------------------------------------------------------
(C) Copyright 2006-2011 Barcelona Supercomputing Center
Centro Nacional de Supercomputacion
This file is part of Mercurium C/C++ source-to-source compiler.
See AUTHORS file in the top level directory for inform... | C++ | src/tl/tl-for-nest.cpp | sdruix/AutomaticParallelization | lgpl-3.0 | 5,351 | 164 | codeparrot/github-code |
47be30c059561b2b910019d5275f6aaf1e3e627dd271e52d1644377a01315f44 | /*
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/dynamodb/tagresourceresponse.h | pcolby/libqtaws | lgpl-3.0 | 1,467 | 52 | codeparrot/github-code |
efcebcddd2b7ef4cfee4f6825574e0b8ed9dcda632323e6425edd9693e65933d | //
// File viewer
//
// The file viewer can be used as a widget (ViewWidget) or as a
// command that drives the whole viewing system (FullView -- a
// full screen Container)
//
// Supports multiple encodings + raw viewing.
using System;
using System.IO;
using System.Text;
using CursesSharp;
using CursesSharp.Gui;
nam... | C# | CursesSharp.Gui/src/FileViewWidget.cs | sushihangover/CursesSharp | lgpl-3.0 | 10,892 | 537 | codeparrot/github-code |
2a276a7fe5d1429c2ff29fac0fd4fd73d725d1532a102970de7a951c18dd3543 | package org.sahsu.rif.services.graphics;
import java.io.BufferedReader;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Set;
import org.geotools.feature.DefaultFeatureCollection;
import org.json.JSONArray;
import org.json.JSONObject;
import org.sahsu.rif.generic.fileformats.AppFile;
import org.s... | Java | rifServices/src/main/java/org/sahsu/rif/services/graphics/RIFMapsParameters.java | smallAreaHealthStatisticsUnit/rapidInquiryFacility | lgpl-3.0 | 16,616 | 481 | codeparrot/github-code |
4196fdbfdf06d2a99acd6dffc67036d0a2fba360b247e728254e2c3c87114908 | /*
* This file is part of The Memory Tree/ProcessingParis project.
*
* Copyright 2010 Karsten Schmidt (PostSpectacular Ltd.)
*
* MemoryTree 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 versi... | Java | src/memorytree/day1/ContentLoader.java | learn-postspectacular/processing-paris-2010 | lgpl-3.0 | 2,325 | 73 | codeparrot/github-code |
d627e6a63387acaee3bebc2a57884c1959bab8f6f1513d572ef5d31f7f612258 | #!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
#
"""\
# Modifies the pydoc contained in Python to use the member function filelink
# for filelink generation, so it can be later overridden.
# See also http://bugs.python.org/issue902061
"""
#
# Copyright (C) 2009 Rene Liebscher
#
# This program is free software; you... | Python | doc/mypydoc.py | arruda/pyfuzzy | lgpl-3.0 | 7,131 | 171 | codeparrot/github-code |
f4010f96dcb580847f1827e33a8fe5bf7a87350c908940735ead5e4fabbb3f1d | <?php
class tags extends base {
function __construct() {
}
public function getAll($start = 0, $limit = 0, $where = '') {
global $mysql;
$limitQuery = "";
if ($limit != 0) {
$limitQuery = "LIMIT $start, $limit";
}
$whereQuery = '';
if ($where != '') {
$whereQu... | PHP | applications/tags/modeles/tags.class.php | UniPixen/Niradrien | lgpl-3.0 | 2,888 | 154 | codeparrot/github-code |
7182f2dad53be767b057a78b22c49fc92c2e48a313b12c16ce5f1b8b5467bd42 | // CodeRed - 16 Jun 11 - commented back in #include of system_LPC177x_8x.h
/**********************************************************************
* $Id: LPC177x_8x.h 7485 2011-06-03 07:57:16Z sgg06786 $ LPC177x_8x.h 2011-06-02
*//**
* @file LPC177x_8x.h
* @brief Cortex-M3 Core Peripheral Access Layer Header ... | C | fnet_stack/cpu/lpc/gnuc/LPC177x_8x.h | EdizonTN/FNET-NXPLPC | lgpl-3.0 | 57,041 | 1,447 | codeparrot/github-code |
42777c958e0afbf6999080558d2aa6619deaf7f1853dd0acc7c88d9b860564aa | /*
* Copyright (C) 2005-2015 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco 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
... | Java | rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/classification/SecurityClearanceServiceImpl.java | dnacreative/records-management | lgpl-3.0 | 10,710 | 236 | codeparrot/github-code |
a63e07a4364c50ccdb5aa65ff6b22f1d1ac53ff25f7447fc2c8876e95de30f06 | package logging
import (
"time"
"github.com/urandom/readeef/content"
"github.com/urandom/readeef/content/repo"
"github.com/urandom/readeef/log"
)
type tagRepo struct {
repo.Tag
log log.Log
}
func (r tagRepo) Get(id content.TagID, user content.User) (content.Tag, error) {
start := time.Now()
tag, err := r.... | GO | content/repo/logging/tag.go | urandom/readeef | lgpl-3.0 | 1,103 | 56 | codeparrot/github-code |
96ddc1c8280e48af8604f175ada39735b1f03150a4293ebfb1383be86e0d4dbf | /**
* Copyright (C) 2013 Inera AB (http://www.inera.se)
*
* This file is part of Inera Axel (http://code.google.com/p/inera-axel).
*
* Inera Axel is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, e... | Java | shs/shs-broker/shs-agreement-mongodb/src/test/java/se/inera/axel/shs/broker/agreement/mongo/MongoAgreementServiceIT.java | Predictly/axel | lgpl-3.0 | 2,575 | 77 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.