code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
package org.eso.ias.cdb;
import org.eso.ias.cdb.json.CdbFiles;
import org.eso.ias.cdb.json.CdbJsonFiles;
import org.eso.ias.cdb.json.JsonReader;
import org.eso.ias.cdb.rdb.RdbReader;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.reflect.Constructor;
import java.util.Arrays;
import java.uti... | IntegratedAlarmSystem-Group/ias | Cdb/src/main/java/org/eso/ias/cdb/CdbReaderFactory.java | Java | lgpl-3.0 | 6,266 |
<?php
/**
* Contao Bootstrap form.
*
* @package contao-bootstrap
* @author David Molineus <david.molineus@netzmacht.de>
* @copyright 2017-2019 netzmacht David Molineus. All rights reserved.
* @license LGPL 3.0-or-later
* @filesource
*/
$GLOBALS['TL_LANG']['MSC']['bootstrapUploadButton'] = 'Choose f... | contao-bootstrap/form | src/Resources/contao/languages/en/default.php | PHP | lgpl-3.0 | 326 |
/**
*A PUBLIC CLASS FOR ACTIONS.JAVA
*/
class Actions{
public Fonts font = new Fonts();
/**
*@see FONTS.JAVA
*this is a font class which is for changing the font, style & size
*/
public void fonT(){
font.setVisible(true); //setting the visible is true
font.pack(); //pack the panel
/... | SergiyKolesnikov/fuji | examples/Notepad_casestudies/NotepadBenDelaware/features/Font/Actions.java | Java | lgpl-3.0 | 1,444 |
"""General-use classes to interact with the ApplicationAutoScaling service through CloudFormation.
See Also:
`AWS developer guide for ApplicationAutoScaling
<https://docs.aws.amazon.com/autoscaling/application/APIReference/Welcome.html>`_
"""
# noinspection PyUnresolvedReferences
from .._raw import applicatio... | garyd203/flying-circus | src/flyingcircus/service/applicationautoscaling.py | Python | lgpl-3.0 | 424 |
# == Schema Information
#
# Table name: listing_shapes
#
# id :integer not null, primary key
# community_id :integer not null
# transaction_process_id :integer not null
# price_enabled :boolean not null
# shipping_enabled :boolean ... | ziyoucaishi/marketplace | app/models/listing_shape.rb | Ruby | lgpl-3.0 | 1,463 |
/*
* This file is part of BlendInt (a Blender-like Interface Library in
* OpenGL).
*
* BlendInt (a Blender-like Interface Library in OpenGL) 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, eith... | zhanggyb/BlendInt | include/blendint/gui/color-button.hpp | C++ | lgpl-3.0 | 2,260 |
import java.util.*;
import Jakarta.util.FixDosOutputStream;
import java.io.*;
public class ImpQual {
/* returns name of AST_QualifiedName */
public String GetName() {
String result = ( ( AST_QualifiedName ) arg[0] ).GetName();
if ( arg[1].arg[0] != null )
result = r... | SergiyKolesnikov/fuji | examples/AHEAD/preprocess/ImpQual.java | Java | lgpl-3.0 | 369 |
package com.ihidea.component.datastore.archive;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io... | tyotann/tyo-java-frame | src/com/ihidea/component/datastore/archive/ArchiveController.java | Java | lgpl-3.0 | 15,946 |
/*
* 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 | server/sonar-webserver-webapi/src/main/java/org/sonar/server/almsettings/ws/AlmSettingsSupport.java | Java | lgpl-3.0 | 4,030 |
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* included with ... | onox/osgocean | src/osgOcean/SiltEffect.cpp | C++ | lgpl-3.0 | 23,252 |
/**
* 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
* (at ... | nzheyuti/Aikau | aikau/src/main/resources/alfresco/search/FacetFilter.js | JavaScript | lgpl-3.0 | 8,856 |
<?php
/**
* This file is part of Goodahead_Core extension
*
* This extension is supplied with every Goodahead extension and provide common
* features, used by Goodahead extensions.
*
* Copyright (C) 2013 Goodahead Ltd. (http://www.goodahead.com)
*
* This program is free software: you can redistribute it and/or ... | goodahead/core | Goodahead_Core/app/code/community/Goodahead/Core/Model/Resource/Cms/Update/Collection.php | PHP | lgpl-3.0 | 1,396 |
/******************************************************************************/
/* */
/* EntityCollection.hpp */
/* ... | JSandrew4/FastGdk | include/Fast/EntityCollection.hpp | C++ | lgpl-3.0 | 2,905 |
<?php
$oForm=new plugin_form($this->oAdresse);
$oForm->setMessage($this->tMessage);
?>
<form class="form-horizontal" action="" method="POST" >
<div class="form-group">
<label class="col-sm-2 control-label">rue</label>
<div class="col-sm-10"><?php echo $oForm->getInputText('rue',array('class'=>'form-control')) ... | totobill/CadosProject | data/genere/proj/module/adresse/view/new.php | PHP | lgpl-3.0 | 1,034 |
<import resource="classpath:alfresco/site-webscripts/org/alfresco/callutils.js">
if (!json.isNull("wikipage"))
{
var wikipage = String(json.get("wikipage"));
model.pagecontent = getPageText(wikipage);
model.title = wikipage.replace(/_/g, " ");
}
else
{
model.pagecontent = "<h3>" + msg.get("message.nopage")... | loftuxab/community-edition-old | projects/slingshot/config/alfresco/site-webscripts/org/alfresco/modules/wiki/config-wiki.post.json.js | JavaScript | lgpl-3.0 | 1,134 |
package org.eso.ias.plugin;
/**
* The exception returned by the Plugin
* @author acaproni
*
*/
public class PluginException extends Exception {
public PluginException() {
}
public PluginException(String message) {
super(message);
}
public PluginException(Throwable cause) {
super(cause);
}
public Plu... | IntegratedAlarmSystem-Group/ias | plugin/src/main/java/org/eso/ias/plugin/PluginException.java | Java | lgpl-3.0 | 581 |
package clearvolume.renderer;
/**
* Overlays that implement this interface can declare a key binding that will be
* used to toggle it's display on/off
*
* @author Loic Royer (2015)
*
*/
public interface SingleKeyToggable
{
/**
* Returns key code of toggle key combination.
*
* @return toggle key as short... | ClearVolume/ClearVolume | src/java/clearvolume/renderer/SingleKeyToggable.java | Java | lgpl-3.0 | 587 |
// Copyright 2020 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum 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... | matthieu/go-ethereum | accounts/abi/packing_test.go | GO | lgpl-3.0 | 44,516 |
package co.edu.unal.sistemasinteligentes.ajedrez.agentes;
import co.edu.unal.sistemasinteligentes.ajedrez.base.*;
import co.edu.unal.sistemasinteligentes.ajedrez.reversi.Tablero;
import co.edu.unal.sistemasinteligentes.ajedrez.reversi.Reversi.EstadoReversi;
import java.io.PrintStream;
/**
* Created by jiacontrerasp... | UNColombia/bog-2025995-2-2015-01 | elCinco/MinMax/src/co/edu/unal/sistemasinteligentes/ajedrez/agentes/AgenteHeuristicoBasico.java | Java | lgpl-3.0 | 2,312 |
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 |
/*******************************************************************************
* 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 |
<?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 |
/*
* 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 |
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 |
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 |
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 |
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 |
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 |
<?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 |
/**
* 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 |
/**
* 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 |
#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 |
<?php
/****************************************************************************
* Name: quiverext.php *
* Project: Cambusa/ryQuiver *
* Version: 1.69 *
*... | cambusa/corsaro | _master/cambusa/ryquiver/quiverext.php | PHP | lgpl-3.0 | 13,735 |
# -*- 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 |
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 |
/* ==========================================
* 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 |
<?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 |
'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 |
#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 |
# 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 |
/*
* HA-JDBC: High-Availability JDBC
* Copyright (C) 2013 Paul Ferraro
*
* 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... | ha-jdbc/ha-jdbc | core/src/main/java/net/sf/hajdbc/sql/io/OutputStreamProxyFactory.java | Java | lgpl-3.0 | 1,449 |
/**
* Copyright © 2002 Instituto Superior Técnico
*
* This file is part of FenixEdu Academic.
*
* FenixEdu Academic 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... | sergiofbsilva/fenixedu-academic | src/main/java/org/fenixedu/academic/domain/accounting/AccountingTransaction.java | Java | lgpl-3.0 | 15,077 |
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2014, Arnaud Roques
*
* Project Info: http://plantuml.sourceforge.net
*
* This file is part of... | mar9000/plantuml | src/net/sourceforge/plantuml/graphic/TextBlockGeneric.java | Java | lgpl-3.0 | 2,272 |
/*
* 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 | server/sonar-webserver-webapi/src/test/java/org/sonar/server/authentication/ws/AuthenticationWsModuleTest.java | Java | lgpl-3.0 | 1,286 |
<?php
/*************************************************************************************/
/* This file is part of the RainbowPHP package. If you think this file is lost, */
/* please send it to anyone kind enough to take care of it. Thank you. */
/* ... | lovenunu/RainbowPHP | src/RainbowPHP/Generator/FileGenerator.php | PHP | lgpl-3.0 | 2,135 |
<?php
namespace pocketmine\entity;
use pocketmine\item\Item as ItemItem;
use pocketmine\nbt\tag\IntTag;
class Slime extends Monster{
const NETWORK_ID = self::SLIME;
const DATA_SIZE = 16;
public $height = 2;
public $width = 2;
public $lenght = 2;//TODO: Size
protected $exp_min = 1;
protected $exp_max = 1;//T... | ClearSkyTeam/PocketMine-MP | src/pocketmine/entity/Slime.php | PHP | lgpl-3.0 | 931 |
#include "GAPhysicsBaseTemp.h"
//------------------------------GAPhysicsBase------------------------------------------
GAPhysicsBase::GAPhysicsBase()
{
}
int GAPhysicsBase::testCollideWith(GAPhysicsBase* object2,GAVector3& collidePoint)
{
return 0;
}
//--------------------------------GALine----------------------... | grandiazhao/Grandia-Engine | GrandArtProcessor/GrandArtProcessor/GAPhysicsBaseTemp.cpp | C++ | lgpl-3.0 | 1,506 |
/*******************************************************************************
* Este arquivo é parte do Biblivre5.
*
* Biblivre5 é um software livre; você pode redistribuí-lo e/ou
* modificá-lo dentro dos termos da Licença Pública Geral GNU como
* publicada pela Fundação do Software Livre (FSF); na versão 3 ... | Biblivre/Biblivre-5 | src/java/biblivre/core/JavascriptCacheableList.java | Java | lgpl-3.0 | 2,296 |
// Copyright © 2004, 2010, Oracle and/or its affiliates. All rights reserved.
//
// MySQL Connector/NET is licensed under the terms of the GPLv2
// <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
// MySQL Connectors. There are special exceptions to the terms and
// conditions of the GPLv2 as it is ... | ramayasket/Kwisatz-Haderach | MySql.Data/MySqlClientPermissionAttribute.cs | C# | lgpl-3.0 | 1,830 |
using System;
using System.Linq;
using System.Threading;
using System.Web.Mvc;
using Arashi.Core;
using Arashi.Core.Domain;
using Arashi.Services.Localization;
namespace Arashi.Web.Mvc.Views
{
public abstract class AdminViewUserControlBase : WebViewPage //ViewUserControl
{
private ILocalizationService loc... | aozora/arashi | src/Web.Mvc/Views/AdminViewUserControlBase.cs | C# | lgpl-3.0 | 3,173 |
<?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ ... | zxl777/PocketMine-MP | src/pocketmine/entity/Creeper.php | PHP | lgpl-3.0 | 920 |
/**********************************************************
DO NOT EDIT
This file was generated from stone specification "users"
www.prokarpaty.net
***********************************************************/
#include "dropbox/users/UsersFullAccount.h"
using namespace dropboxQt;
namespace dropboxQt{
namespace use... | kratos83/FabariaGest | qtdropbox/dropbox/users/UsersFullAccount.cpp | C++ | lgpl-3.0 | 2,066 |
# Define helper methods to create test data
# for mail view
module MailViewTestData
def admin_email
@admin_email ||= FactoryGirl.build(:email, address: "admin@marketplace.com")
end
def admin
@admin ||= FactoryGirl.build(:person, emails: [admin_email])
end
def author
@author ||= FactoryGirl.build... | ziyoucaishi/marketplace | app/mailers/mail_view_test_data.rb | Ruby | lgpl-3.0 | 3,816 |
package br.com.vepo.datatransform.model;
import org.springframework.beans.factory.annotation.Autowired;
public abstract class Repository<T> {
@Autowired
protected MongoConnection mongoConnection;
public <V> T find(Class<T> clazz, V key) {
return mongoConnection.getMorphiaDataStore().get(clazz, key);
}
public... | vepo/data-refine | src/main/java/br/com/vepo/datatransform/model/Repository.java | Java | lgpl-3.0 | 399 |
// Copyright 2012, 2013 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package charmrepo_test
import (
jc "github.com/juju/testing/checkers"
gc "gopkg.in/check.v1"
"gopkg.in/juju/charm.v6-unstable"
"gopkg.in/juju/charmrepo.v0"
"gopkg.in/juju/charmrepo.v0/csclient"
charmtesting "gopk... | jrwren/charmrepo | repo_test.go | GO | lgpl-3.0 | 1,499 |
<?php
namespace Clearbooks\Labs\Toggle\Entity;
class Parasol extends ToggleStub
{
protected $name = "Parasol";
protected $desc = "An MASsIVE Umbrella";
protected $id = 2;
protected $toggleTitle = "Parasols 4 Dayz";
} | clearbooks/labs | test/Toggle/Entity/Parasol.php | PHP | lgpl-3.0 | 233 |
package org.com.json;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publ... | jongos/Question_Box_Desktop | Json/src/org/com/json/XML.java | Java | lgpl-3.0 | 14,112 |