code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
using System;
using System.IO;
using Microsoft.Net.Http.Headers;
namespace Slickflow.Designer.Controllers.WebApi
{
public static class MultipartRequestHelper
{
// Content-Type: multipart/form-data; boundary="----WebKitFormBoundarymx2fSWqWSd0OxQqq"
// The spec says 70 characters is a reasonable... | besley/Slickflow | NETCORE/Slickflow/Source/Slickflow.Designer/Controllers/WebApi/MultipartRequestHelper.cs | C# | lgpl-3.0 | 2,150 |
const kevoree = require('kevoree-library');
const modelValidator = require('kevoree-validator');
const monkeyPatch = require('./util/monkey-patch');
// statements list
const statements = {
addRepo: require('./statements/addRepo'),
add: require('./statements/add'),
move: require('./statements/move'),
attach: re... | kevoree/kevoree-js | tools/kevoree-kevscript/lib/interpreter.js | JavaScript | lgpl-3.0 | 4,996 |
package org.concord.qm2d.model;
/**
* @author Charles Xie
*
*/
public class PointSource extends Source {
private float sigma = 1;
public PointSource(float xcenter, float ycenter, int nx, int ny, float xmin, float xmax, float ymin, float ymax) {
super(nx, ny, xmin, xmax, ymin, ymax);
setLocation(xcenter, yc... | charxie/quantumworkbench | src/org/concord/qm2d/model/PointSource.java | Java | lgpl-3.0 | 1,131 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Copyright © 2014 Tekla Corporation. Tekla is a Trimble Company">
// Copyright (C) 2013 [Jorge Costa, Jorge.Costa@tekla.com]
// </copyright>
// --... | jmecsoftware/QualityProfileEditorPlugin | SqaleEditor/Properties/AssemblyInfo.cs | C# | lgpl-3.0 | 3,594 |
/*
* Metadata functions for the Python object definition of the libvmdk handle
*
* Copyright (C) 2009-2016, Joachim Metz <joachim.metz@gmail.com>
*
* Refer to AUTHORS for acknowledgements.
*
* This software is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General P... | uckelman/libvmdk | pyvmdk/pyvmdk_metadata.c | C | lgpl-3.0 | 13,299 |
/*
* Copyright (C) 2008 Universidade Federal de Campina Grande
*
* This file is part of OurGrid.
*
* OurGrid 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... | OurGrid/OurGrid | src/main/java/org/ourgrid/peer/ui/async/gui/actions/AddBrokerAction.java | Java | lgpl-3.0 | 1,576 |
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
extern int base64encode(const void* data_buf, size_t dataLength, char* result, size_t resultSize);
extern int base64decode(char *in, size_t inLen, unsigned char *out, size_t *outLen);
int main(int argc, char *argv[])
{
return 0;
}
| NaMorham/QUT-Tutoring-1-C | Base64/main.c | C | lgpl-3.0 | 297 |
package game.handle;
import agents.Vacuum;
public class VacuumHandle extends AgentHandle {
public VacuumHandle(Vacuum agent) {
super(agent);
}
public static VacuumHandle createVacuum() {
return new VacuumHandle(new Vacuum());
}
@Override
public long getTimeRemaining() {
... | istvanszoke/softlab4 | src/main/game/handle/VacuumHandle.java | Java | lgpl-3.0 | 572 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_22) on Thu Dec 13 08:48:04 PST 2012 -->
<TITLE>
SegmentNode (JTS Topology Suite version 1.13)
</TITLE>
<META NAME="keywords" CONTENT="com.v... | ace-design/island | external/jts-1.13/com/vividsolutions/jts/noding/SegmentNode.html | HTML | lgpl-3.0 | 16,482 |
var assert = require('assert');
var path = false;
var path2 = false;
// Normal switch
var test = "B";
switch (test) {
case "A":
assert(false);
break;
case "B":
path = true;
break;
default:
assert(false);
}
assert(path)
// Strict equality in switch test
path = false;
var test2 = 0;
switch (test2) ... | PaulBernier/castl | test/switch.js | JavaScript | lgpl-3.0 | 2,489 |
set(CCOS_CMAKECONFIG_DIR ${CMAKE_CURRENT_SOURCE_DIR}/CMakeConfig)
################################################################################
# Setup default installation targets for a project
################################################################################
macro(CcOSSetInstall ProjectName )
ins... | AndyD87/CcOS | CMakeConfig/ProjectMacros.cmake | CMake | lgpl-3.0 | 5,236 |
/*
* SonarQube
* Copyright (C) 2009-2019 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, o... | Godin/sonar | server/sonar-server/src/main/java/org/sonar/server/platform/ws/DbMigrationJsonWriter.java | Java | lgpl-3.0 | 5,619 |
import pytest
from forte.solvers import solver_factory, HF
def test_df_rhf():
"""Test DF-RHF on HF."""
ref_energy = -100.04775218911111
# define a molecule
xyz = """
H 0.0 0.0 0.0
F 0.0 0.0 1.0
"""
# create a molecular model
input = solver_factory(molecule=xyz, basis='cc-pVTZ',... | evangelistalab/forte | tests/pytest/hf/test_df_hf.py | Python | lgpl-3.0 | 1,224 |
<?php
/**
* The MetaModels extension allows the creation of multiple collections of custom items,
* each with its own unique set of selectable attributes, with attribute extendability.
* The Front-End modules allow you to build powerful listing and filtering of the
* data in each collection.
*
* PHP version 5
*
... | designs2/core | src/MetaModels/BackendIntegration/BackendModuleBuilder.php | PHP | lgpl-3.0 | 10,334 |
<?php
/**
* This file is part of PhpCocktail. PhpCocktail 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.
* PhpCocktail is... | phpcocktail/cocktail | src/Cocktail/Beautify/Beautify.class.php | PHP | lgpl-3.0 | 5,342 |
package eu.europa.echa.iuclid6.namespaces.endpoint_study_record_repeateddosetoxicityother._2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import eu.europa.echa.iuclid6.namespace... | ideaconsult/i5 | iuclid_6_2-io/src/main/java/eu/europa/echa/iuclid6/namespaces/endpoint_study_record_repeateddosetoxicityother/_2/GuidelineEntry.java | Java | lgpl-3.0 | 4,194 |
using System;
namespace SharpPcap.WinpkFilter
{
/// <summary>
/// Used to set the adapter flags.
/// </summary>
[Flags]
public enum AdapterModes : uint
{
/// <summary>
/// No flags.
/// </summary>
None = 0x00000000,
/// <summary>
/// Receive pac... | chmorgan/sharppcap | SharpPcap/WinpkFilter/AdapterModes.cs | C# | lgpl-3.0 | 1,892 |
#include <QtGui/QApplication>
#include <QTextCodec>
#include "keyboard.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QTextCodec::setCodecForTr( QTextCodec::codecForName("GB2312") ); //ÔÚÒÆÖ²Ê±¿ÉÄܳöÏÖ±àÂëÎÊÌâ
keyboard w;
w.show();
return a.exec();
}
| newdebug/NewDebug | Qt/KuInput/main.cpp | C++ | lgpl-3.0 | 294 |
/* QEPushButton.cpp
*
* This file is part of the EPICS QT Framework, initially developed at the
* Australian Synchrotron.
*
* Copyright (c) 2009-2021 Australian Synchrotron
*
* The EPICS QT Framework is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Pub... | qtepics/qeframework | qeframeworkSup/project/widgets/QEButton/QEPushButton.cpp | C++ | lgpl-3.0 | 4,248 |
/*
This file is part of Poti
Poti is free software: you can redistribute it and/or modify
it under the terms of the GNU Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Poti is distributed in the hope that it w... | schnorr/poti | examples/header.c | C | lgpl-3.0 | 2,782 |
/*
* Copyright 2000-2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | Xyene/JBL | src/test/java/benchmark/bcel/verifier/exc/InvalidMethodException.java | Java | lgpl-3.0 | 1,153 |
<?php
namespace Swoole;
use Swoole;
class Response
{
public $http_protocol = 'HTTP/1.1';
public $http_status = 200;
public $head;
public $cookie;
public $body;
static $HTTP_HEADERS = array(
100 => "100 Continue",
101 => "101 Switching Protocols",
200 => "200 OK",
... | chenqingji/qing-sw | libs/Swoole/Response.php | PHP | lgpl-3.0 | 3,914 |
Rebuilding database. This may take a few minutes.
| nicolasbrailo/potzify | templates/rebuild_db.html | HTML | lgpl-3.0 | 52 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_65) on Thu Nov 26 15:41:17 PST 2015 -->
<title>MLIRL</title>
<meta name="date" content="2015-11-26">
<link rel="stylesheet" type="text/css" hre... | gauravpuri/MDP_Repp | doc/burlap/behavior/singleagent/learnfromdemo/mlirl/MLIRL.html | HTML | lgpl-3.0 | 27,140 |
import time
import sys
def sizeof_fmt(num, unit='B'):
# source: http://stackoverflow.com/questions/1094841/reusable-library-to-get-human-readable-version-of-file-size
for uprexif in ['', 'Ki', 'Mi', 'Gi', 'Ti', 'Pi', 'Ei', 'Zi']:
if abs(num) < 1024.0:
return "{:3.2f} {}{}".format(num, upre... | JuniorJPDJ/pyChomikBox | ChomikBox/utils/FileTransferProgressBar.py | Python | lgpl-3.0 | 3,099 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Tue Nov 02 05:44:46 MDT 2010 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class cs236.lab1.Tokenize... | beatgammit/cs236-labs | dist/javadoc/cs236/lab1/class-use/Tokenizer.html | HTML | lgpl-3.0 | 7,324 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | DavidS/MailSystem.NET | Class Library/ActiveUp.Net.WhoIs.Compact/Properties/AssemblyInfo.cs | C# | lgpl-3.0 | 1,392 |
/*
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... | pcolby/libqtaws | src/lexmodelsv2/deleteresourcepolicyrequest.cpp | C++ | lgpl-3.0 | 3,102 |
# <center>**C++ Web Template Library Project**</center>
**Software Requirements Specification**
**Author**: Pedro Henrique
**Contact**: ph.geekstuff@gmail.com
**Document Name**: srs.md (Markdown)
**Document Version**: 0.1b (for Coimbra Engineering Institute)
**Updated at**: May 10, 2016
**GitHub**: https://github... | phgeekstuff/wtl | doc/srs.md | Markdown | lgpl-3.0 | 4,423 |
<?php
/**
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2019-2022
* @package Controller
* @subpackage Jobs
*/
namespace Aimeos\Controller\Jobs\Stock\Import\Csv;
/**
* Stock import controller factory for CSV files.
*
* @package Controller
* @subpackage Jobs
*... | aimeos/ai-controller-jobs | src/Controller/Jobs/Stock/Import/Csv/Factory.php | PHP | lgpl-3.0 | 6,395 |
// Copyright (C) 2011 Yann Grandmaitre
//
// This file is part of scribelog
//
// 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) a... | ikir/scribelog | src/log.cc | C++ | lgpl-3.0 | 3,309 |
/****************************************************
Statistics Online Computational Resource (SOCR)
http://www.StatisticsResource.org
All SOCR programs, materials, tools and resources are developed by and freely disseminated to the entire community.
Users may revise, extend, redistribute, modify under the term... | SOCR/HTML5_WebSite | SOCR2.8/src/edu/ucla/stat/SOCR/analyses/result/TwoPairedSignTestResult.java | Java | lgpl-3.0 | 1,402 |
/* -*-c++-*- */
/* osgEarth - Dynamic map generation toolkit for OpenSceneGraph
* Copyright 2015 Pelican Mapping
* http://osgearth.org
*
* osgEarth 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... | omega-hub/osgearth | src/osgEarthAnnotation/AnnotationNode.cpp | C++ | lgpl-3.0 | 13,525 |
#!/usr/bin/perl
# Makes the test run with tracing enabled by default, can be overridden
# with --notrace
unshift(@ARGV, "--trace");
if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); die; }
# DESCRIPTION: Verilator: Verilog Test driver/expect definition
#
# Copyright 2019 by Todd Strader. Thi... | toddstrader/verilator-dev | test_regress/t/t_prot_lib.pl | Perl | lgpl-3.0 | 1,735 |
<?php
class UrlComponent extends Component
{
protected $url_original;
protected $url_trim;
protected $url_array;
protected $url_section_count;
protected $levels;
function initialize(Controller $controller)
{
$here = $controller->request->here;
$request_url = ($controller->requ... | DevUtils/devutils-cakephp-plugin | Controller/Component/UrlComponent.php | PHP | lgpl-3.0 | 5,782 |
#include <Wt/WWidget>
#include <Wt/WText>
#include <Wt/WSignal>
#include <Wt/WImage>
#include <Wt/WHBoxLayout>
#include <boost/algorithm/string.hpp>
#include "logger.h"
#include "contactentry.h"
void ContactEntry::ensureProperTextLength(std::string& text)
{
if(text.size() > 17)
{
text.resize(15);
... | ntszar/axg | Ui/contactentry.cpp | C++ | lgpl-3.0 | 1,433 |
#pragma once
#include <QtWidgets/QDialog>
#include <QtGui/QFont>
#include <QtCore/QString>
#include <QtCore/QStringList>
namespace Ui {
class EditHeadlineDialog;
}
class EditHeadlineDialog : public QDialog
{
Q_OBJECT
public:
explicit EditHeadlineDialog(QWidget *parent = nullptr);
~Edi... | b0bh00d/Newsroom | editheadlinedialog.h | C | lgpl-3.0 | 1,021 |
/*
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... | pcolby/libqtaws | src/ssm/describeeffectivepatchesforpatchbaselinerequest.cpp | C++ | lgpl-3.0 | 5,892 |
/*
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... | pcolby/libqtaws | src/waf/createwebaclrequest_p.h | C | lgpl-3.0 | 1,378 |
package nl.siegmann.epublib.html.htmlcleaner;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamWriter;
import org.htmlcleaner.CleanerProperties;
import org.htmlcleaner.CommentNode;
import org.htmlcleaner.ContentNode;
... | narrative-technologies/epublib | epublib-tools/src/main/java/nl/siegmann/epublib/html/htmlcleaner/XmlSerializer.java | Java | lgpl-3.0 | 3,933 |
package net.timmytech.learnmod;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import net.timmytech.learnmod.proxy.IP... | timmyforchelsea/LearningModding | src/main/java/net/timmytech/learnmod/learnmod.java | Java | lgpl-3.0 | 997 |
/// <reference path="../references.d.ts" />
/// <reference path="./gameManager.service.ts" />
/// <reference path="../kdarts.ts" />
var kdarts;
(function (kdarts) {
var game;
(function (game) {
var X01SidenavController = (function () {
function X01SidenavController($state, $mdSidenav, $mdDia... | tiborbotos/kdarts | archive/public/kdarts2/scripts/game/x01sidenav.controller.js | JavaScript | lgpl-3.0 | 1,622 |
h1, h2, h3, h4, h5, h6 {
color : Navy;
}
.varname {
background-color: #FFB;
font-weight: bold;
}
.classname {
color: #A00;
}
.function, .methodname {
color: #0A0;
}
.navheader, .navfooter {
background-color: #EEF;
}
.programlisting {
border: 2px solid gray;
border-style: groove;
... | mischat/rdfapi-php | doc/manual.css | CSS | lgpl-3.0 | 453 |
/*
*
* SchemaCrawler
* http://www.schemacrawler.com
* Copyright (c) 2000-2015, Sualeh Fatehi.
*
* 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, ... | ceharris/SchemaCrawler | schemacrawler-api/src/main/java/schemacrawler/crawl/MetadataResultSet.java | Java | lgpl-3.0 | 11,937 |
Status
--------------------------------------------------------------------------------
This is a pre-release repository. It's not yet fully ready for use in real applications,
but can be already used for familiarization.
Information
--------------------------------------------------------------------------------
RDRS... | FoxWorks/RDRS | README.md | Markdown | lgpl-3.0 | 957 |
/*
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... | pcolby/libqtaws | src/emr/createsecurityconfigurationrequest_p.h | C | lgpl-3.0 | 1,543 |
/**
* Copyright (C) 2010-2017 Gordon Fraser, Andrea Arcuri and EvoSuite
* contributors
*
* This file is part of EvoSuite.
*
* EvoSuite 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 vers... | sefaakca/EvoSuite-Sefa | master/src/test/java/com/examples/with/different/packagename/testcarver/InnerConstructor.java | Java | lgpl-3.0 | 1,009 |
/**
* Copyright (C) 2010-2017 Gordon Fraser, Andrea Arcuri and EvoSuite
* contributors
*
* This file is part of EvoSuite.
*
* EvoSuite 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 vers... | sefaakca/EvoSuite-Sefa | master/src/test/java/org/evosuite/seeding/NumericDynamicSeedingSystemTest.java | Java | lgpl-3.0 | 5,701 |
/**
* Copyright (c) 2014, Ruediger Moeller. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later... | RuedigerMoeller/fast-cast | src/main/java/org/nustaq/fastcast/config/SubscriberConf.java | Java | lgpl-3.0 | 4,223 |
from ctypes import*
import math
lib = cdll.LoadLibrary("Z:\\Documents\Projects\\SWMMOpenMIComponent\\Source\\SWMMOpenMIComponent\\bin\\Debug\\SWMMComponent.dll")
print(lib)
print("\n")
finp = b"Z:\\Documents\\Projects\\SWMMOpenMIComponent\\Source\\SWMMOpenMINoGlobalsPythonTest\\test.inp"
frpt = b"Z:\\Documents\\Pr... | cbuahin/SWMMOpenMIComponent | Source/SWMMOpenMINoGlobalsPythonTest/SWMMOpenMINoGlobalsPythonTest.py | Python | lgpl-3.0 | 1,641 |
/**
* Squidy Interaction 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.
*
* Squidy Interaction Library is distri... | raedle/Squidy | squidy-nodes/src/main/java/org/squidy/nodes/tracking/CameraConfigComm.java | Java | lgpl-3.0 | 14,362 |
// Created file "Lib\src\mfuuid\mfinternal_i"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, b... | Frankie-PellesC/fSDK | Lib/src/mfuuid/mfinternal_i00000055.c | C | lgpl-3.0 | 467 |
package com.sirma.itt.seip.eai.content.tool.params;
import static org.junit.Assert.assertNotNull;
import java.util.HashMap;
import java.util.Map;
import org.junit.Test;
import org.mockito.Mockito;
import com.sirma.itt.seip.eai.content.tool.exception.EAIRuntimeException;
import javafx.application.Application.Parame... | SirmaITT/conservation-space-1.7.0 | docker/sirma-platform/eai/eai-domain-tools/eai-content-tool/src/test/java/com/sirma/itt/seip/eai/content/tool/params/ParametersProviderTest.java | Java | lgpl-3.0 | 1,396 |
package bpellint.core.validators.xml;
import org.pmw.tinylog.Logger;
import api.ValidationException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import java.nio.file.Path;
public class XMLValidator {
private static DocumentBuilderFactory dbf = DocumentBuilderFact... | uniba-dsg/BPELlint | src/main/java/bpellint/core/validators/xml/XMLValidator.java | Java | lgpl-3.0 | 735 |
<?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... | LeverylTeam/Leveryl | src/pocketmine/event/player/PlayerCreationEvent.php | PHP | lgpl-3.0 | 3,131 |
/*
* This file is part of MyPet
*
* Copyright © 2011-2019 Keyle
* MyPet is licensed under the GNU Lesser General Public License.
*
* MyPet is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version... | xXKeyleXx/MyPet | modules/GUI/src/main/java/de/Keyle/MyPet/skilltreecreator/WebServer.java | Java | lgpl-3.0 | 5,650 |
var gui={};
(function() {
try {
var open = require("open");
var fs = require("fs");
} catch(e) {
var open = function(path) {
window.open("file://"+path);
}
}
var state = document.getElementById("state"),
statemsg = document.getElementById("statemsg"),
progress = document.getElementById("progress"),... | lovasoa/doublons-js | src/gui.js | JavaScript | lgpl-3.0 | 3,002 |
/**
* This file is part of FoxBukkitChat.
*
* FoxBukkitChat 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.
*
* ... | FoxelBox/FoxBukkitChat | src/main/java/com/foxelbox/foxbukkit/chat/json/MessageType.java | Java | lgpl-3.0 | 877 |
/*
* codeare Copyright (C) 2007-2010 Kaveh Vahedipour
* Forschungszentrum Juelich, Germany
*
* 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 versio... | kvahed/codeare | src/modules/EstimateSensitivitiesRadialVIBE.cpp | C++ | lgpl-3.0 | 5,178 |
<?php
namespace App\Models;
use T4\Orm\Model;
/**
* Class Songs
* @package App\Models
*
* @property string $song
* @property string $link
* @property \App\Models\Albums $album
*/
class Songs extends
Model
{
public static $schema = [
'table' => 'songs',
'columns' => [
'song... | Mike0712/phpT4 | protected/Models/Songs.php | PHP | lgpl-3.0 | 570 |
/*
* Copyright (C) 1998, 2009 John Pritchard and the Alto Project Group.
*
* 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... | nypgit/alto | src/alto/sec/TrustStoreSpi.java | Java | lgpl-3.0 | 9,316 |
namespace SampleHistoryTesting
{
using System;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Collections.Generic;
using Ecng.Xaml;
using Ecng.Common;
using Ecng.Collections;
using Ookii.Dialogs.Wpf;
using StockSharp.Algo;... | Enterprize-1701/robot | Samples/Testing/SampleHistoryTesting/MainWindow.xaml.cs | C# | lgpl-3.0 | 17,350 |
#ifndef UITEXTCURSOR_H
#define UITEXTCURSOR_H
#include "Bang/BangDefines.h"
#include "Bang/ComponentMacros.h"
#include "Bang/LineRenderer.h"
#include "Bang/String.h"
#include "Bang/Time.h"
namespace Bang
{
class UITextCursor : public LineRenderer
{
COMPONENT(UITextCursor)
public:
UITextCursor();
virtual ... | Bang3DEngine/Bang | include/Bang/UITextCursor.h | C | lgpl-3.0 | 647 |
/*
* File: DistanceToBall2.h
* Author: chung
*
* Created on January 14, 2016, 2:02 AM
*/
#ifndef DISTANCETOBALL2_H
#define DISTANCETOBALL2_H
#include "Function.h"
#include <cmath>
/**
* \class DistanceToBall2
* \brief Distance from the unit ball of R^n
* \version version 0.1
* \ingroup Functions
* \dat... | lostella/libForBES | source/DistanceToBall2.h | C | lgpl-3.0 | 4,280 |
#include <esdm-internal.h>
#include "dummy/dummy.h"
#ifdef ESDM_HAS_S3
# include "s3/s3.h"
# pragma message("Building ESDM with support for S3 backend.")
#endif
#ifdef ESDM_HAS_POSIX
# include "posix/posix.h"
# pragma message("Building ESDM with support for generic POSIX backend.")
#endif
#ifdef ESDM_HAS_IME
#... | ESiWACE/esdm | src/backends-data/init.c | C | lgpl-3.0 | 1,819 |
package schemacrawler.tools.executable;
import schemacrawler.schemacrawler.SchemaCrawlerException;
import schemacrawler.schemacrawler.SchemaCrawlerOptions;
import schemacrawler.tools.options.OutputOptions;
public interface CommandProvider
{
Executable configureNewExecutable(SchemaCrawlerOptions schemaCrawlerOptio... | ceharris/SchemaCrawler | schemacrawler-tools/src/main/java/schemacrawler/tools/executable/CommandProvider.java | Java | lgpl-3.0 | 480 |
import pytest
import importlib
from mpi4py import MPI
from spectralDNS import config, get_solver, solve
from TGMHD import initialize, regression_test, pi
comm = MPI.COMM_WORLD
if comm.Get_size() >= 4:
params = ('uniform_slab', 'nonuniform_slab',
'uniform_pencil', 'nonuniform_pencil')
else:
param... | spectralDNS/spectralDNS | tests/test_MHD.py | Python | lgpl-3.0 | 1,847 |
// Copyright © 2011 - Present RealDimensions Software, LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
//
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required ... | peterstevens130561/sonarlint-vs | its/choco-master_3a5f2b6843/src/chocolatey/infrastructure.app/domain/RegistryApplicationKey.cs | C# | lgpl-3.0 | 4,450 |
/* Copyright radare2 2014-2020 - Author: pancake, vane11ope */
#include <r_core.h>
/* few remaining static functions */
static bool __init_panels_menu(RCore *core);
static bool __init_panels(RCore *core, RPanels *panels);
static void __init_menu_screen_settings_layout(void *_core, const char *parent);
static void __i... | unixfreaxjp/radare2 | libr/core/panels.c | C | lgpl-3.0 | 195,125 |
//
// Copyright 2012 Square Inc.
// Portions Copyright (c) 2016-present, Facebook, Inc.
//
// All rights reserved.
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS fi... | ios-plugin/uexDemo | 3rdParty/src/SocketRocket/SocketRocket/SRWebSocket.h | C | lgpl-3.0 | 14,815 |
package repack.org.bouncycastle.cms;
import repack.org.bouncycastle.asn1.ASN1EncodableVector;
import repack.org.bouncycastle.asn1.ASN1InputStream;
import repack.org.bouncycastle.asn1.ASN1Object;
import repack.org.bouncycastle.asn1.ASN1Set;
import repack.org.bouncycastle.asn1.BEROctetStringGenerator;
import repack.org.... | SafetyCulture/DroidText | app/src/main/java/bouncycastle/repack/org/bouncycastle/cms/CMSUtils.java | Java | lgpl-3.0 | 8,921 |
<!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... | kidaa/Awakening-Core3 | doc/html/class_forage_area.html | HTML | lgpl-3.0 | 16,461 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Found... | jblievremont/sonarqube | server/sonar-server/src/main/java/org/sonar/server/qualityprofile/RuleActivatorContext.java | Java | lgpl-3.0 | 7,290 |
/*
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... | Orav/kbengine | kbe/src/lib/network/endpoint.h | C | lgpl-3.0 | 4,821 |
/*
* 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... | lbndev/sonarqube | server/sonar-process-monitor/src/main/java/org/sonar/application/Scheduler.java | Java | lgpl-3.0 | 1,096 |
/***************************************************************************
* Copyright (C) 2006 by Dominik Seichter *
* domseichter@web.de *
* *
* This pr... | GkmSoft/podofo-capi | src/snippets/PoDoFo/PdfAction.h | C | lgpl-3.0 | 3,148 |
<?php
/*
* This file is part of the Blast Project package.
*
* Copyright (C) 2015-2017 Libre Informatique
*
* This file is licenced under the GNU LGPL v3.
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
namespace Sil\Bundle\Sto... | sil-project/StockBundle | src/Domain/Repository/InMemory/MovementRepository.php | PHP | lgpl-3.0 | 743 |
/*
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... | pcolby/libqtaws | src/ec2/cancelcapacityreservationresponse.h | C | lgpl-3.0 | 1,582 |
/**
* Copyright © 2014 Instituto Superior Técnico
*
* This file is part of FenixEdu CMS.
*
* FenixEdu CMS 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
* (a... | jcarvalho/fenixedu-cms | src/main/java/org/fenixedu/cms/ui/CreateSite.java | Java | lgpl-3.0 | 3,540 |
using ToastNotifications;
using ToastNotifications.Core;
namespace CustomNotificationsExample.CustomMessage
{
public static class CustomMessageExtensions
{
public static void ShowCustomMessage(this Notifier notifier,
string title,
string message,
MessageOptions me... | raflop/ToastNotifications | Src/Examples/CustomNotificationsExample/CustomMessage/CustomMessageExtensions.cs | C# | lgpl-3.0 | 462 |
<?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... | pmmp/PocketMine-MP | src/block/Stair.php | PHP | lgpl-3.0 | 4,591 |
// -*- Mode:C++ -*-
/************************************************************************\
* *
* This file is part of AVANGO. *
* *... | vrsys/avango | attic/avango-shade/core/src/types/Vec3Accessor.cpp | C++ | lgpl-3.0 | 1,738 |
package com.bluevia.android.directory.parser;
import java.io.IOException;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
import android.util.Log;
import com.bluevia.android.commons.parser.ParseException;
import com.bluevia.android.commons.parser.xml.XmlParserSerializerUtils;
im... | BlueVia/Official-Library-Android | library/src/com/bluevia/android/directory/parser/XmlDirectoryAccessInfoParser.java | Java | lgpl-3.0 | 3,255 |
#pragma once
#include "../data.h"
#include "../type.h"
#include "../value.h"
#include "stacktrace.h"
#include <string>
#include <memory>
namespace sqf
{
namespace runtime
{
struct t_stacktrace : public type::extend<t_stacktrace> { t_stacktrace() : extend() {} static const std::string name() { return "VM-STACKTRAC... | X39/sqf-vm | src/runtime/diagnostics/d_stacktrace.h | C | lgpl-3.0 | 1,563 |
package pdemanget.javafx.protocol;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringReader;
import java.net.URL;
import java.net.URLConnection;
import java.net.URLStreamHandler;
import java.net.URLStreamHandlerFactory;
import org.apache.commons.io.inpu... | pdemanget/examples | java/javaFx/src/main/java/pdemanget/javafx/protocol/LessLoader.java | Java | lgpl-3.0 | 2,912 |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ SonarQube, open source software quality management tool.
~ Copyright (C) 2008-2014 SonarSource
~ mailto:contact AT sonarsource DOT com
~
~ SonarQube is free software; you can redistribute it and/or
~ modify it under the terms of the GNU Lesser General Public
~... | vamsirajendra/sonarqube | it/it-tests/src/test/resources/qualityGate/QualityGateUiTest/should_display_quality_gates_page.html | HTML | lgpl-3.0 | 1,844 |
// Created file "Lib\src\Uuid\propkeys"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, b5... | Frankie-PellesC/fSDK | Lib/src/Uuid/propkeys0000033B.c | C | lgpl-3.0 | 453 |
/*******************************************************************************
* Copyright (c) 2015 Open Software Solutions GmbH.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v3.0
* which accompanies this distribution, and... | OpenSoftwareSolutions/PDFReporter | pdfreporter-core/src/org/oss/pdfreporter/compilers/jeval/functions/DateStringConverter.java | Java | lgpl-3.0 | 1,587 |
<?php
/**
* Part of Windwalker Packages project.
*
* @copyright Copyright (C) 2021 __ORGANIZATION__.
* @license __LICENSE__
*/
declare(strict_types=1);
namespace Windwalker\Uri;
use Psr\Http\Message\UriFactoryInterface;
use Psr\Http\Message\UriInterface;
/**
* The UriFactory class.
*/
class UriFactory i... | ventoviro/windwalker | packages/uri/src/UriFactory.php | PHP | lgpl-3.0 | 493 |
/**
* No8 Copyright (C) 2015 no8.io
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is dist... | daniloqueiroz/no8 | src/test/java/no8/application/ApplicationLoopTest.java | Java | lgpl-3.0 | 1,650 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Signum.Entities.Basics;
using Signum.Entities;
using Signum.Utilities;
using System.Collections.ObjectModel;
using System.Reflection;
namespace Signum.Entities.Authorization
{
[Serializable]
public class D... | mapacheL/extensions | Signum.Entities.Extensions/Authorization/ServicesData.cs | C# | lgpl-3.0 | 11,739 |
/* ztgsyl.f -- translated by f2c (version 20061008).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of... | pnlnum/pnl | src/liblapack/ztgsyl.c | C | lgpl-3.0 | 21,050 |
<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
<head>
<title></title>
<meta charset="utf-8">
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, ... | AppCanOpenSource/appcan-native-helper | source/phone/dev4/ui/uexScanner/source_content.html | HTML | lgpl-3.0 | 3,291 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Input_API;
namespace HaptiQ_API
{
/// <summary>
/// LinearBehaviour behaviour defines a set of behaviours where
/// an actuator or a set of actuators change the height linearly
/// </summary>
public class... | sic2/HaptiQ | HaptiQ/HaptiQ_API/Behaviours/LinearBehaviour.cs | C# | lgpl-3.0 | 4,469 |
<?php
/**
* Smarty PHPunit tests of modifier
*
* @package PHPunit
* @author Rodney Rehm
*/
/**
* class for modifier tests
*/
class PluginModifierLowerTest extends PHPUnit_Framework_TestCase
{
public function setUp() {
$this->smarty = SmartyTests::$smarty;
SmartyTests::init();
}
public func... | chriseling/brainy | test/PluginModifierLowerTest.php | PHP | lgpl-3.0 | 1,566 |
/* -*- C -*-
* mmap.c -- memory mapping for the sculld char module
*
* Copyright (C) 2001 Alessandro Rubini and Jonathan Corbet
* Copyright (C) 2001 O'Reilly & Associates
*
* The source code in this file can be freely used, adapted,
* and redistributed in source or binary form, so long as an
* acknowledgment a... | xiaoqing-yuanfang/test | ko/ldd3-3.4.108/sculld/mmap.c | C | lgpl-3.0 | 3,358 |
/*
* Copyright (C) 2005-2011 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
... | loftuxab/community-edition-old | projects/core/source/java/org/alfresco/query/PagingResults.java | Java | lgpl-3.0 | 3,118 |
ipos
====
ipos
| wilmandx/ipos | README.md | Markdown | lgpl-3.0 | 16 |
"""
Sample a specific geometry or set of geometries.
"""
import numpy as np
import nomad.core.glbl as glbl
import nomad.core.trajectory as trajectory
import nomad.core.log as log
def set_initial_coords(wfn):
"""Takes initial position and momentum from geometry specified in input"""
coords = glbl.properties['i... | mschuurman/FMSpy | nomad/initconds/explicit.py | Python | lgpl-3.0 | 1,004 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
:copyright:
Wenjie Lei (lei@princeton.edu), 2016
:license:
GNU General Public License, Version 3
(http://www.gnu.org/copyleft/gpl.html)
"""
from __future__ import (absolute_import, division, print_function) # NOQA
from .adjoint_source import calculate_adj... | wjlei1990/pytomo3d | pytomo3d/adjoint/__init__.py | Python | lgpl-3.0 | 573 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.