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 |
|---|---|---|---|---|---|
namespace ZeroMQ
{
/// <summary>
/// Specifies possible results for socket receive operations.
/// </summary>
public enum ReceiveStatus
{
/// <summary>
/// No receive operation has been performed.
/// </summary>
None,
/// <summary>
/// The receive op... | zeromq/clrzmq | src/ZeroMQ/ReceiveStatus.cs | C# | lgpl-3.0 | 734 |
<?php
/**
* @author jurgenhaas
*/
namespace GMJH\SQRL\Sample;
use GMJH\SQRL\ClientException;
/**
* An override class for Sample SQRL account
*
* @author jurgenhaas
*
* @link
*/
class Account extends \GMJH\SQRL\Account {
#region Command ==============================================================
/**
... | GMJH/SQRL-PHP-Library | sample/includes/Account.php | PHP | lgpl-3.0 | 1,602 |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Threading;
namespace CoCoL
{
/// <summary>
/// Static helper class to create channels
/// </summary>
public static class Channel
{
/// <summary>
/... | kenkendk/cocol | src/CoCoL/Channel.cs | C# | lgpl-3.0 | 43,301 |
<?php
class CsvTest extends \PHPUnit_Framework_TestCase
{
use ExcelFileTestCase;
protected $class = '\Maatwebsite\Clerk\Files\Csv';
protected $ext = 'csv';
}
| Maatwebsite/Clerk | tests/Files/CsvTest.php | PHP | lgpl-3.0 | 173 |
#region Dapplo 2017 - GNU Lesser General Public License
// Dapplo - building blocks for .NET applications
// Copyright (C) 2017 Dapplo
//
// For more information see: http://dapplo.net/
// Dapplo repositories are hosted on GitHub: https://github.com/dapplo
//
// This file is part of Dapplo.Jira
//
// Dapplo.Jira is... | alfadormx/Dapplo.Jira | src/Dapplo.Jira/Domains/IUserDomain.cs | C# | lgpl-3.0 | 1,161 |
package tk.teemocode.module.base.vo;
import java.io.Serializable;
public class Vo implements Serializable, Cloneable {
private Long id;
private String uuid;
private Integer tag;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getUuid() ... | yangylsky/teemocode | teemocode-modulebase/src/main/java/tk/teemocode/module/base/vo/Vo.java | Java | lgpl-3.0 | 520 |
<!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_14) on Tue Aug 12 15:38:40 EDT 2008 -->
<TITLE>
BlockingInfo (NITRO 2.0-RC1 API)
</TITLE>
<META NAME="keywords" CONTENT="nitf.BlockingInfo class">
... | mdaus/nitro | docs/nitro-nitf.sourceforge.net/apidocs/java/2.0/nitf/BlockingInfo.html | HTML | lgpl-3.0 | 20,203 |
/*******************************************************************************
* Copyright (c) 2011 Dipanjan Das
* Language Technologies Institute,
* Carnegie Mellon University,
* All Rights Reserved.
*
* IntCounter.java is part of SEMAFOR 2.0.
*
* SEMAFOR 2.0 is free software: you can redistribute it an... | jtraviesor/semafor-parser | semafor/src/main/java/edu/cmu/cs/lti/ark/util/ds/map/IntCounter.java | Java | lgpl-3.0 | 8,362 |
/************************************************************************/
/* */
/* FramepaC -- frame manipulation in C++ */
/* Version 2.01 */
/* by Ralf Brown <ralf@cs.cmu.edu> */
/* */
/* File frsymbol.h class FrSymbol */
/* LastEdit: 08nov2015 */
/* */
/* (... | ralfbrown/framepac | src/frsymbol.h | C | lgpl-3.0 | 12,136 |
<?php
/**
* Custom factory for photos with method to get next sort order
*
* @package Modules
* @subpackage PhotoGallery
* @author Peter Epp
* @version $Id: photo_factory.php 13843 2011-07-27 19:45:49Z teknocat $
*/
class PhotoFactory extends ModelFactory {
/**
* Find and return the next sort order to use
*... | theteknocat/Biscuit-PhotoGallery | factories/photo_factory.php | PHP | lgpl-3.0 | 490 |
/*
* Copyright (C) 2010 Tieto Czech, s.r.o.
* All rights reserved.
* Contact: Tomáš Hanák <tomas.hanak@tieto.com>
* Radek Valášek <radek.valasek@tieto.com>
* Martin Kampas <martin.kampas@tieto.com>
* Jiří Litomyský <jiri.litomysky@tieto.com>
*
* This file is part of sfd [Simple Form D... | tomhanak/form-designer | src/common.hpp | C++ | lgpl-3.0 | 1,967 |
/*
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/sms/startondemandappreplicationresponse_p.h | C | lgpl-3.0 | 1,400 |
/*
* Project: NextGIS Mobile
* Purpose: Mobile GIS for Android.
* Author: Dmitry Baryshnikov (aka Bishop), bishop.dev@gmail.com
* Author: NikitaFeodonit, nfeodonit@yandex.com
* Author: Stanislav Petriakov, becomeglory@gmail.com
* ****************************************************************************... | nextgis/android_maplib | src/main/java/com/nextgis/maplib/util/AccountUtil.java | Java | lgpl-3.0 | 5,591 |
package edu.ucsd.arcum.interpreter.ast;
import java.util.List;
import java.util.Set;
import org.eclipse.core.runtime.CoreException;
import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import edu.ucsd.arcum.exceptions.ArcumError;
import edu.ucsd.arcum.exceptions.SourceLocation;
... | mshonle/Arcum | src/edu/ucsd/arcum/interpreter/ast/MapTraitArgument.java | Java | lgpl-3.0 | 2,934 |
package edu.hm.gamedev.server.packets.client2server;
import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonProperty;
import edu.hm.gamedev.server.packets.Packet;
import edu.hm.gamedev.server.packets.Type;
public class JoinGame extends Packet {
private final String gameName;
... | phxql/gamedev-server | src/main/java/edu/hm/gamedev/server/packets/client2server/JoinGame.java | Java | lgpl-3.0 | 1,227 |
#!/usr/bin/env python
import sys, argparse
def main():
parser = argparse.ArgumentParser()
parser.add_argument('-i', '--input', type=str, action='store', dest='input', default=None, help="Input file")
args = parser.parse_args()
stats = dict()
if args.input is None:
print "Error: No input fi... | merlin-lang/kulfi | experiments/testbed/results/plot/sort.py | Python | lgpl-3.0 | 989 |
// Copyright 2017 The AriseID Authors
// This file is part AriseID.
//
// AriseID 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.
//
//... | AriseID/ariseid-core | cmd/puppeth/wizard_genesis.go | GO | lgpl-3.0 | 4,285 |
@echo off
rem HTMLParser Library - A java-based parser for HTML
rem http:remhtmlparser.org
rem Copyright (C) 2006 Derrick Oswald
rem
rem Revision Control Information
rem
rem $URL: file:///svn/p/htmlparser/code/tags/HTMLParserProject-2.1/src/main/bin/beanybaby.cmd $
rem $Author: derrickoswald $
rem $Date: 2006-... | socialwareinc/html-parser | src/main/bin/beanybaby.cmd | Batchfile | lgpl-3.0 | 1,921 |
package uk.co.wehavecookies56.kk.common.container.slot;
import net.minecraft.item.ItemStack;
import net.minecraftforge.items.IItemHandler;
import net.minecraftforge.items.SlotItemHandler;
import uk.co.wehavecookies56.kk.common.item.ItemSynthesisBagS;
import uk.co.wehavecookies56.kk.common.item.base.ItemSynthesisMateri... | Wehavecookies56/Kingdom-Keys-Re-Coded | src/main/java/uk/co/wehavecookies56/kk/common/container/slot/SlotSynthesisBag.java | Java | lgpl-3.0 | 697 |
/*
* 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... | SonarSource/sonarqube | sonar-duplications/src/main/java/org/sonar/duplications/statement/TokenMatcherFactory.java | Java | lgpl-3.0 | 2,239 |
package com.farevee.groceries;
public class BulkItem
implements Item
{
//+--------+------------------------------------------------------
// | Fields |
// +--------+
/**
* The type of food of the bulk item
*/
BulkFood food;
/**
* The unit of the bulk item
*/
Units unit;
/**
* The ... | lordzason/csc207-hw07-combined-with-hw06 | src/com/farevee/groceries/BulkItem.java | Java | lgpl-3.0 | 2,267 |
/********************************************************************
** Image Component Library (ICL) **
** **
** Copyright (C) 2006-2013 CITEC, University of Bielefeld **
** Neuroinformat... | iclcv/icl | ICLFilter/src/ICLFilter/InplaceLogicalOp.h | C | lgpl-3.0 | 4,939 |
#ifndef __TESTNGPPST_TEST_HIERARCHY_SANDBOX_RUNNER_H
#define __TESTNGPPST_TEST_HIERARCHY_SANDBOX_RUNNER_H
#include <testngppst/testngppst.h>
#include <testngppst/runner/TestHierarchyRunner.h>
TESTNGPPST_NS_START
struct TestCaseRunner;
struct TestHierarchySandboxRunnerImpl;
struct TestHierarchySandboxRunner
: pu... | aprovy/test-ng-pp | tests/3rdparty/testngppst/include/testngppst/runner/TestHierarchySandboxRunner.h | C | lgpl-3.0 | 644 |
package org.logicobjects.converter.old;
import java.util.Arrays;
import java.util.List;
import org.jpc.term.Term;
import org.jpc.util.ParadigmLeakUtil;
import org.logicobjects.converter.IncompatibleAdapterException;
import org.logicobjects.converter.context.old.AdaptationContext;
import org.logicobjects.converter.co... | java-prolog-connectivity/logicobjects | src/main/java/org/logicobjects/converter/old/AnnotatedObjectToTermConverter.java | Java | lgpl-3.0 | 4,202 |
<?php
/**
* @copyright Copyright (c) Metaways Infosystems GmbH, 2011
* @license LGPLv3, http://www.arcavias.com/en/license
*/
return array(
'item' => array(
'delete' => '
DELETE FROM "mshop_product"
WHERE :cond AND siteid = ?
',
'insert' => '
INSERT INTO "mshop_product" (
"siteid", "typeid", "c... | Arcavias/arcavias-core | lib/mshoplib/config/common/mshop/product/manager/default.php | PHP | lgpl-3.0 | 1,235 |
/*
Copyright (C) 2007 <SWGEmu>
This File is part of Core3.
This program is free software; you can redistribute
it and/or modify it under the terms of the GNU Lesser
General Public License as published by the Free Software
Foundation; either version 2 of the License,
or (at your option) any later version.
This progra... | kidaa/Awakening-Core3 | src/server/zone/objects/creature/commands/SteadyaimCommand.h | C | lgpl-3.0 | 4,686 |
/*
* 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 | sonar-plugin-api/src/test/java/org/sonar/api/utils/TempFileUtilsTest.java | Java | lgpl-3.0 | 1,443 |
package net.anthavio.sewer.test;
import net.anthavio.sewer.ServerInstance;
import net.anthavio.sewer.ServerInstanceManager;
import net.anthavio.sewer.ServerMetadata;
import net.anthavio.sewer.ServerMetadata.CacheScope;
import net.anthavio.sewer.ServerType;
import org.junit.rules.TestRule;
import org.junit.runner.Desc... | anthavio/anthavio-sewer | src/main/java/net/anthavio/sewer/test/SewerRule.java | Java | lgpl-3.0 | 1,989 |
/*
* 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 | sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/CeTask.java | Java | lgpl-3.0 | 1,287 |
/*
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/rds/applypendingmaintenanceactionrequest.cpp | C++ | lgpl-3.0 | 6,272 |
var KevoreeEntity = require('./KevoreeEntity');
/**
* AbstractChannel entity
*
* @type {AbstractChannel} extends KevoreeEntity
*/
module.exports = KevoreeEntity.extend({
toString: 'AbstractChannel',
construct: function () {
this.remoteNodes = {};
this.inputs = {};
},
internalSend: function (portP... | barais/kevoree-js | library/kevoree-entities/lib/AbstractChannel.js | JavaScript | lgpl-3.0 | 938 |
package calc.lib;
/** Class (POJO) used to store Uninhabited Solar System JSON objects
*
* @author Carlin Robertson
* @version 1.0
*
*/
public class SolarSystemUninhabited {
private String[] information;
private String requirePermit;
private Coords coords;
private String name;
public Strin... | TheJavaMagician/CalculusBot | src/main/java/calc/lib/SolarSystemUninhabited.java | Java | lgpl-3.0 | 977 |
<?php
require_once '../../../config.php';
require_once $config['root_path'] . '/system/functions.php';
include_once $config['system_path'] . '/start_system.php';
admin_login();
if (isset($_POST['delete']) && isset($_POST['id']) && isset($_SESSION['member']['access']['countries'])) {
require_once ROOT_P... | UniPixen/Niradrien | applications/news/ajax/delete.php | PHP | lgpl-3.0 | 681 |
// Catalano Fuzzy Library
// The Catalano Framework
//
// Copyright © Diego Catalano, 2013
// diego.catalano at live.com
//
// Copyright © Andrew Kirillov, 2007-2008
// andrew.kirillov at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser G... | accord-net/java | Catalano.Fuzzy/src/Catalano/Fuzzy/IUnaryOperator.java | Java | lgpl-3.0 | 1,453 |
<?php
namespace Google\AdsApi\Dfp\v201708;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class ReportQueryAdUnitView
{
const TOP_LEVEL = 'TOP_LEVEL';
const FLAT = 'FLAT';
const HIERARCHICAL = 'HIERARCHICAL';
}
| advanced-online-marketing/AOM | vendor/googleads/googleads-php-lib/src/Google/AdsApi/Dfp/v201708/ReportQueryAdUnitView.php | PHP | lgpl-3.0 | 240 |
package flabs.mods.magitech.aura;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.WorldSavedData;
public class AuraSavedData extends WorldSavedData{
public static final String nbtName="MagiAura";
public AuraSavedData(String name) {
super(name);
}
@Override
public void readFro... | froschi3b/Magitech | magitech_common/flabs/mods/magitech/aura/AuraSavedData.java | Java | lgpl-3.0 | 532 |
.iwl-height-full {
height: 100%; }
/*# sourceMappingURL=!design.css.map */ | iwhp/IwStyle | IwStyle/IwStyle.Ui.Web/!Design/theme/!design.css | CSS | lgpl-3.0 | 80 |
--Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later ve... | TheAnswer/FirstTest | bin/scripts/object/tangible/lair/womp_rat/objects.lua | Lua | lgpl-3.0 | 4,715 |
package edu.ut.mobile.network;
public class NetInfo{
//public static byte[] IPAddress = {Integer.valueOf("54").byteValue(),Integer.valueOf("73").byteValue(),Integer.valueOf("28").byteValue(),Integer.valueOf("236").byteValue()};
static byte[] IPAddress = {Integer.valueOf("192").byteValue(),Integer.valueOf("168").by... | huberflores/BenchmarkingAndroidx86 | Simulator/MobileOffloadSimulator/src/main/java/edu/ut/mobile/network/NetInfo.java | Java | lgpl-3.0 | 473 |
/*
Copyright 2009 Semantic Discovery, Inc. (www.semanticdiscovery.com)
This file is part of the Semantic Discovery Toolkit.
The Semantic Discovery Toolkit 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 So... | jtsay362/semanticdiscoverytoolkit-text | src/main/java/org/sd/text/MungedWordFinder.java | Java | lgpl-3.0 | 17,721 |
/*******************************************************************************
* 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/sql/factory/ISqlFactory.java | Java | lgpl-3.0 | 2,507 |
/*
* Copyright (C) 2005-2010 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/repository/source/java/org/alfresco/repo/admin/registry/RegistryService.java | Java | lgpl-3.0 | 3,781 |
Simple-CFG-Compiler
===================
A simple syntax directed translator
| Jay-Krish/Simple-CFG-Compiler | README.md | Markdown | lgpl-3.0 | 78 |
import java.util.*;
import Jakarta.util.FixDosOutputStream;
import java.io.*;
//------------------------ j2jBase layer -------------------
//------ mixin-layer for dealing with Overrides and New Modifier
//------ offhand, I wonder why we can't let j2j map these modifiers
//------ to nothing, instead of le... | SergiyKolesnikov/fuji | examples/AHEAD/j2jBase/ModOverrides.java | Java | lgpl-3.0 | 1,048 |
# -*- coding: utf-8 -*-
"""digitalocean API to manage droplets"""
__version__ = "1.16.0"
__author__ = "Lorenzo Setale ( http://who.is.lorenzo.setale.me/? )"
__author_email__ = "lorenzo@setale.me"
__license__ = "LGPL v3"
__copyright__ = "Copyright (c) 2012-2020 Lorenzo Setale"
from .Manager import Manager
from .Drople... | koalalorenzo/python-digitalocean | digitalocean/__init__.py | Python | lgpl-3.0 | 1,128 |
/*
* Copyright (C) 2003-2014 eXo Platform SAS.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This... | thanhvc/poc-sam | services/src/main/java/org/exoplatform/social/core/storage/proxy/ActivityProxyBuilder.java | Java | lgpl-3.0 | 1,655 |
<?php
namespace Tests\Browser\Pages\Admin;
use Laravel\Dusk\Browser;
use Laravel\Dusk\Page as BasePage;
class FilterAdd extends BasePage
{
/**
* Get the URL for the page.
*
* @return string
*/
public function url()
{
return '/admin/filter/create';
}
/**
* Assert ... | myindexd/laravelcms | tests/Browser/Pages/Admin/FilterAdd.php | PHP | lgpl-3.0 | 1,239 |
/*
* XAdES4j - A Java library for generation and verification of XAdES signatures.
* Copyright (C) 2010 Luis Goncalves.
*
* XAdES4j 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... | entaksi/xades4j | src/main/java/xades4j/xml/unmarshalling/FromXmlSignatureTimeStampConverter.java | Java | lgpl-3.0 | 1,991 |
/*
* Unitex
*
* Copyright (C) 2001-2014 Université Paris-Est Marne-la-Vallée <unitex@univ-mlv.fr>
*
* 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 Lic... | mdamis/unilabIDE | Unitex-Java/src/fr/umlv/unitex/cassys/ConfigurationFileAnalyser.java | Java | lgpl-3.0 | 3,912 |
# Copyright (c) 2010 by Yaco Sistemas <pmartin@yaco.es>
#
# 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.
... | Yaco-Sistemas/django-autoreports | autoreports/urls.py | Python | lgpl-3.0 | 1,686 |
<?php
/*!
* Schedule builder
*
* Copyright (c) 2011, Edwin Choi
*
* Licensed under LGPL 3.0
* http://www.gnu.org/licenses/lgpl-3.0.txt
*/
//ini_set("display_errors", 1);
//ini_set("display_startup_errors", 1);
date_default_timezone_set("GMT");
$timezone = date_default_timezone_get();
if ( !isset($_GET['p'])) ... | JoeParrinello/schedule-builder | datasvc.php | PHP | lgpl-3.0 | 6,667 |
/*
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/lexmodelbuildingservice/deletebotrequest_p.h | C | lgpl-3.0 | 1,445 |
#include <rlib/rbinfmt.h>
static void
dump_opt_hdr (RPeOptHdr * opt)
{
r_print ("\tLinkerVer: %u.%u\n", opt->major_linker_ver, opt->minor_linker_ver);
r_print ("\tEntrypoint: 0x%.8x\n", opt->addr_entrypoint);
r_print ("\tCode addr: 0x%.8x\n", opt->base_code);
r_print ("\tCode size: 0x%.8x\n", opt->size_code... | ieei/rlib | example/rpedump.c | C | lgpl-3.0 | 4,789 |
<?php
return array(
'code' => 'ANG',
'sign' => 'f',
'sign_position' => 0,
'sign_delim' => '',
'title' => 'Netherlands Antillean guilder',
'name' => array(
array('', ''),
'NAƒ',
'NAf',
'ƒ',
),
'frac_name' => array(
array('cent', 'cen... | dmitriyzhdankin/avantmarketcomua | wa-system/currency/data/ANG.php | PHP | lgpl-3.0 | 338 |
# encoding: utf-8
from __future__ import absolute_import, unicode_literals
from apiview.model import AbstractUserMixin, BaseModel
from django.contrib.auth.base_user import AbstractBaseUser
from django.db import models
class User(AbstractUserMixin, BaseModel, AbstractBaseUser):
is_staff = False
def get_short... | 007gzs/django_restframework_apiview | example/example_app/models.py | Python | lgpl-3.0 | 925 |
-- SETTINGS
BLINKY_PLANT_INTERVAL = 3
NEW_STYLE_WIRES = true -- true = new nodebox wires, false = old raillike wires
PRESSURE_PLATE_INTERVAL = 0.1
OBJECT_DETECTOR_RADIUS = 6
PISTON_MAXIMUM_PUSH = 15
MOVESTONE_MAXIMUM_PUSH = 100
| jojoa1997/overcraft_origins | mods/redstone/mesecons/settings.lua | Lua | lgpl-3.0 | 237 |
/**
* Copyright(C) 2009-2012
* @author Jing HUANG
* @file EtoileImageToTexturePlugin.cpp
* @brief
* @date 1/2/2011
*/
#include "EtoileImageToTexturePlugin.h"
#include "util/File.h"
#include "QtTextureLoader.h"
/**
* @brief For tracking memory leaks under windows using the crtdbg
*/
#i... | billhj/Etoile | applications/EtoileQtRendererPlugins/EtoileImageToTexturePlugin.cpp | C++ | lgpl-3.0 | 2,341 |
/*
* #--------------------------------------------------------------------------
* # Copyright (c) 2013 VITRO FP7 Consortium.
* # 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 is ... | vitrofp7/vitro | source/trunk/Demo/vitroUI/vspEngine/src/main/java/vitro/vspEngine/service/common/abstractservice/dao/GatewayDAO.java | Java | lgpl-3.0 | 2,739 |
package org.teaminfty.math_dragon.view.math.source.operation;
import static org.teaminfty.math_dragon.view.math.Expression.lineWidth;
import org.teaminfty.math_dragon.view.math.Empty;
import org.teaminfty.math_dragon.view.math.source.Expression;
import android.graphics.Canvas;
import android.graphics.Paint;
import a... | Divendo/math-dragon | mathdragon/src/main/java/org/teaminfty/math_dragon/view/math/source/operation/Root.java | Java | lgpl-3.0 | 2,494 |
js.Offset = function(rawptr) {
this.rawptr = rawptr;
}
js.Offset.prototype = new konoha.Object();
js.Offset.prototype._new = function(rawptr) {
this.rawptr = rawptr;
}
js.Offset.prototype.getTop = function() {
return this.rawptr.top;
}
js.Offset.prototype.getLeft = function() {
return this.rawptr.left;
... | imasahiro/konohascript | package/konoha.compiler.js/runtime/js.jquery.js | JavaScript | lgpl-3.0 | 24,892 |
package br.gov.serpro.infoconv.proxy.businesscontroller;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
import br.gov.frameworkdemoiselle.stereotype.BusinessController;
import br.gov.serpro.infoconv.proxy.exception.AcessoNegadoException;
import br.gov.s... | infoconv/infoconv-proxy | src/main/java/br/gov/serpro/infoconv/proxy/businesscontroller/ConsultaCNPJBC.java | Java | lgpl-3.0 | 8,058 |
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.18052
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut... | thedava/dh-clickbot | ClickBot/Properties/Settings.Designer.cs | C# | lgpl-3.0 | 1,129 |
/*
* This file is part of Codecrypt.
*
* Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com>
*
* Codecrypt 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 Licens... | exaexa/codecrypt | src/algorithm.h | C | lgpl-3.0 | 2,137 |
/**
* This file is part of the CRISTAL-iSE kernel.
* Copyright (c) 2001-2015 The CRISTAL Consortium. 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 ve... | cristal-ise/kernel | src/main/java/org/cristalise/kernel/lifecycle/instance/stateMachine/TransitionQuery.java | Java | lgpl-3.0 | 1,327 |
<?php
namespace rocket\si\content\impl\iframe;
use n2n\util\type\attrs\DataSet;
use n2n\util\type\ArgUtils;
use rocket\si\content\impl\InSiFieldAdapter;
class IframeInSiField extends InSiFieldAdapter {
private $iframeData;
private $params = [];
public function __construct(IframeData $iframeData) {
$this->ifram... | n2n/rocket | src/app/rocket/si/content/impl/iframe/IframeInSiField.php | PHP | lgpl-3.0 | 1,178 |
using System.Collections;
using System.Linq;
using System.Reflection;
namespace System.ComponentModel.DataAnnotations
{
public class EnsureNoDuplicatesAttribute : ValidationAttribute
{
public EnsureNoDuplicatesAttribute(Type type, string comparassionMethodName)
{
this.type = type;
method = type.GetMethod(... | osjimenez/fuxion | src/core/Fuxion/ComponentModel/DataAnnotations/EnsureNoDuplicatesAttribute.cs | C# | lgpl-3.0 | 2,398 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Henon Map</title>
<style type="text/css">
h1 {text-align: center}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/cs... | SOCR/HTML5_WebSite | SOCR2.8/src/JSci/Demos/Chaos/Henon.html | HTML | lgpl-3.0 | 668 |
#include "NodoTipo.h"
NodoTipo::NodoTipo(Tipo* obj)
{
setTipo(obj);
setDer(NULL);
setIzq(NULL);
_listaISBN = new ListaISBN();
}
NodoTipo*&NodoTipo::getIzq() {
return _izq;
}
void NodoTipo::setIzq(NodoTipo* _izq) {
this->_izq = _izq;
}
NodoTipo*& NodoTipo::getDer() {
return _der;
}
void NodoTipo::setDer(... | jloriag/Bibliotc | NodoTipo.cpp | C++ | lgpl-3.0 | 958 |
#!/bin/bash
#
# RktCopyHosts
#
# Function: RktCopyHosts
# Params: $1 - Host's '/etc/hosts' location
# $2 - Container's '/etc/hosts' location
# Output: (Normal acbuild output)
function RktCopyHosts
{
local HOSTS="/etc/hosts"
local RKT_HOSTS="/etc/hosts"
if [ "${1}" != "" ]; then
HOSTS="${1}"
fi
... | nicrohobak/BashLib | Functions/Rkt/CopyHosts.sh | Shell | lgpl-3.0 | 584 |
// -*- Mode:C++ -*-
/************************************************************************\
* *
* This file is part of Avango. *
* *... | vrsys/avango | attic/avango-osg/python/avango/osg/OSGShader.h | C | lgpl-3.0 | 1,766 |
<?php
/****************************************************************************
* Name: quiverext.php *
* Project: Cambusa/ryQuiver *
* Version: 1.69 *
*... | cambusa/corsaro | _master/cambusa/ryquiver/quiverext.php | PHP | lgpl-3.0 | 13,735 |
/*
* SupplyTask.h - Tasks issued to SupplyManager. Basically, just
* produce Supply Depots while nearing capacity.
*/
#pragma once
#include "Task.h"
class BuildTask: public Task
{
};
| go2starr/CS-638-BWAPI | BasicAIModule/include/Managers/Tasks/SupplyTask.h | C | lgpl-3.0 | 193 |
# -*- coding: utf-8 -*-
# Copyright(C) 2014 smurail
#
# This file is part of a weboob module.
#
# This weboob module 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... | laurentb/weboob | modules/cmso/pro/pages.py | Python | lgpl-3.0 | 10,804 |
// Created file "Lib\src\Uuid\tapi3if_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, b4, b... | Frankie-PellesC/fSDK | Lib/src/Uuid/tapi3if_i0000004D.c | C | lgpl-3.0 | 453 |
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: AssemblyTitle("Si... | pospanet/TurrisGadgets | Sigfox lib/Properties/AssemblyInfo.cs | C# | lgpl-3.0 | 1,091 |
// Copyright 2016 Canonical Ltd.
// Licensed under the LGPLv3, see LICENCE file for details.
package gomaasapi
import "github.com/juju/utils/set"
const (
// Capability constants.
NetworksManagement = "networks-management"
StaticIPAddresses = "static-ipaddresses"
IPv6DeploymentUbuntu = "ipv6-deploym... | voidspace/gomaasapi | interfaces.go | GO | lgpl-3.0 | 10,327 |
/*+@@file@@----------------------------------------------------------------*//*!
\file MMCObj.h
\par Description
Extension and update of headers for PellesC compiler suite.
\par Project:
PellesC Headers extension
\date Created on Sun Aug 7 22:15:35 2016
\date Modified on Sun Aug 7 2... | Frankie-PellesC/fSDK | Include/MMCObj.h | C | lgpl-3.0 | 77,824 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
/*
* Copyright (C) 2008 Sven Herzberg
*
* 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... | gandalfn/geany-vala-toys | plugins/help/devhelp/dh-assistant-view.h | C | lgpl-3.0 | 2,446 |
/* ==========================================
* JGraphT : a free Java graph-theory library
* ==========================================
*
* Project Info: http://jgrapht.sourceforge.net/
* Project Creator: Barak Naveh (http://sourceforge.net/users/barak_naveh)
*
* (C) Copyright 2003-2008, by Barak Naveh ... | tweninger/nina | src/edu/nd/nina/event/GraphEdgeChangeEvent.java | Java | lgpl-3.0 | 3,785 |
<?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... | NickY5/mitko_e_prostak | src/pocketmine/level/format/mcregion/RegionLoader.php | PHP | lgpl-3.0 | 11,885 |
#PBS -S /bin/bash
#PBS -N mnakao_job
#PBS -A XMPTCA
#PBS -q tcaq-q1
#PBS -l select=1:ncpus=1:host=tcag-0001-eth0+1:ncpus=1:host=tcag-0002-eth0+1:ncpus=1:host=tcag-0003-eth0+1:ncpus=1:host=tcag-0004-eth0+1:ncpus=1:host=tcag-0005-eth0+1:ncpus=1:host=tcag-0006-eth0+1:ncpus=1:host=tcag-0007-eth0+1:ncpus=1:host=tcag-0008-et... | omni-compiler/omni-compiler | samples/XACC/HIMENO-C/Global-view/job_scripts/HA-PACS/TCA/tcaq-q1-4x2nodes.sh | Shell | lgpl-3.0 | 989 |
<?php namespace Pardisan\Support\Facades;
use Illuminate\Support\Facades\Facade;
class Menu extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor()
{
return 'menu';
}
}
| lucknerjb/hammihan-online | app/Pardisan/Support/Facades/Menu.php | PHP | lgpl-3.0 | 294 |
package edu.mit.blocks.codeblockutil;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Cursor;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.RenderingHints;
import java.awt.Toolkit;
import ja... | laurentschall/openblocks | src/main/java/edu/mit/blocks/codeblockutil/LabelWidget.java | Java | lgpl-3.0 | 24,554 |
/*
* This class was automatically generated with
* <a href="http://www.castor.org">Castor 1.3.1</a>, using an XML
* Schema.
* $Id: CreditCardCreditModRqTypeDescriptor.java,v 1.1.1.1 2010-05-04 22:06:01 ryan Exp $
*/
package org.chocolate_milk.model.descriptors;
//---------------------------------/
//- Import... | galleon1/chocolate-milk | src/org/chocolate_milk/model/descriptors/CreditCardCreditModRqTypeDescriptor.java | Java | lgpl-3.0 | 10,197 |
/*
* 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... | teryk/sonarqube | sonar-plugin-api/src/test/java/org/sonar/api/technicaldebt/server/internal/DefaultCharacteristicTest.java | Java | lgpl-3.0 | 6,276 |
/*
* @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... | amjames/psi4 | psi4/src/psi4/libscf_solver/uhf.h | C | lgpl-3.0 | 3,521 |
// Created file "Lib\src\ksuser\X64\guids"
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, ... | Frankie-PellesC/fSDK | Lib/src/ksuser/X64/guids000001B3.c | C | lgpl-3.0 | 459 |
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtDeclarative module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:L... | vakkov/qt-components-hildon | src/components/private/qdeclarativecomponent_p.h | C | lgpl-3.0 | 5,239 |
'use strict';
const chai = require('chai');
const assert = chai.assert;
const sinon = require('sinon');
const responseError = require('../../../server/utils/errors/responseError');
describe('responseError', () => {
let spyCall;
const res = {};
let error = 'An error message';
beforeEach(() => {
res.statu... | kn9ts/project-mulla | test/utils/errors/reponseError.js | JavaScript | lgpl-3.0 | 1,168 |
/*
* Copyright (c) 2009 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* includ... | gameview/WareCocos2dx | external/Box2D/Collision/b2DynamicTree.h | C | lgpl-3.0 | 8,362 |
package GT::Signals::Graphical::CandleSticks::BullishHarami;
# Copyright (C) 2007 M.K.Pai
#
# 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... | hunterfu/it-manager | stock_tech/GeniusTrader/GT/Signals/Graphical/CandleSticks/BullishHarami.pm | Perl | lgpl-3.0 | 3,550 |
worldstate-analysis-widgets [](https://ci.cismet.de/view/html5%20javascript/job/worldstate-analysis-widgets/)
===========================
The AngularJS implementation of the Scenario Comparison and Analysis and the Multi-Criteria-Anal... | crismaproject/worldstate-analysis-widgets | README.md | Markdown | lgpl-3.0 | 1,644 |
#include "sensorcontrol.h"
using namespace oi;
/*!
* \brief SensorControl::SensorControl
* \param station
* \param parent
*/
SensorControl::SensorControl(QPointer<Station> &station, QObject *parent) : QObject(parent), station(station), sensorValid(false){
this->worker = new SensorWorker();
this->connectSe... | OpenIndy/OpenIndy-Core | src/sensorcontrol.cpp | C++ | lgpl-3.0 | 20,686 |
#bo general settings
#set default start location
Set-Location C:\
#change how powershell does tab completion
#@see: http://stackoverflow.com/questions/39221953/can-i-make-powershell-tab-complete-show-me-all-options-rather-than-picking-a-sp
Set-PSReadlineKeyHandler -Chord Tab -Function MenuComplete
#eo general settings... | stevleibelt/settings | powershell/Microsoft.PowerShell_profile.ps1 | PowerShell | lgpl-3.0 | 28,712 |
# Copyright (C) 2014 Optiv, Inc. (brad.spengler@optiv.com)
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.cuckoo.common.abstracts import Signature
class InjectionRWX(Signature):
name = "injection_rwx"
description = "Creates R... | lixiangning888/whole_project | modules/signatures_orginal_20151110/injection_rwx.py | Python | lgpl-3.0 | 1,229 |
using System;
namespace MakingSense.AspNetCore.HypermediaApi.Linking.StandardRelations
{
public class RelatedRelation : IRelation
{
public Type InputModel => null;
public bool IsVirtual => false;
public HttpMethod? Method => null;
public Type OutputModel => null;
public string RelationName => "related... | MakingSense/aspnet-hypermedia-api | src/MakingSense.AspNetCore.HypermediaApi/Linking/StandardRelations/RelatedRelation.cs | C# | lgpl-3.0 | 330 |
/*
* Copyright (c) 2005–2012 Goethe Center for Scientific Computing - Simulation and Modelling (G-CSC Frankfurt)
* Copyright (c) 2012-2015 Goethe Center for Scientific Computing - Computational Neuroscience (G-CSC Frankfurt)
*
* This file is part of NeuGen.
*
* NeuGen is free software: you can redistribute it a... | NeuroBox3D/NeuGen | NeuGen/src/org/neugen/gui/NGAboutBox.java | Java | lgpl-3.0 | 9,348 |
/*
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/sagemaker/deleteapprequest.h | C | lgpl-3.0 | 1,343 |
//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.video;
import java.util.List;
import org.opencv.core.Mat;
import org.opencv.core.MatOfByte;
import org.opencv.core.MatOfFloat;
import org.opencv.core.MatOfPoint2f;
import org.opencv.core.Rect;
import org.opencv.core.RotatedRect;
import or... | openstreetview/android | sensorlib/src/main/java/org/opencv/video/Video.java | Java | lgpl-3.0 | 15,311 |
FILE(REMOVE_RECURSE
"CommonBehavior.cpp"
"CommonBehavior.h"
"RGBD.cpp"
"RGBD.h"
"JointMotor.cpp"
"JointMotor.h"
"DifferentialRobot.cpp"
"DifferentialRobot.h"
"moc_specificworker.cxx"
"moc_specificmonitor.cxx"
"moc_genericmonitor.cxx"
"moc_commonbehaviorI.cxx"
"moc_genericworker.cxx"
"ui_main... | ljmanso/prp | components/trainCNN/src/CMakeFiles/trainCNN.dir/cmake_clean.cmake | CMake | lgpl-3.0 | 1,413 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.