repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
Andrew0701/checkstyle | src/tests/com/puppycrawl/tools/checkstyle/api/AutomaticBeanTest.java | 1687 | ////////////////////////////////////////////////////////////////////////////////
// checkstyle: Checks Java source code for adherence to a set of rules.
// Copyright (C) 2001-2014 Oliver Burn
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Publ... | lgpl-2.1 |
yuan39/TuxGuitar | TuxGuitar/src/org/herac/tuxguitar/app/system/config/items/MainOption.java | 6697 | package org.herac.tuxguitar.app.system.config.items;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.widgets.ToolBar... | lgpl-2.1 |
naliboff/dealii | tests/tensors/symmetric_tensor_14.cc | 1446 | // ---------------------------------------------------------------------
//
// Copyright (C) 2005 - 2017 by the deal.II authors
//
// This file is part of the deal.II library.
//
// The deal.II library is free software; you can use it, redistribute
// it, and/or modify it under the terms of the GNU Lesser General
// Pu... | lgpl-2.1 |
hengfanz/franztao.Algorithm.io | SeVN/lib/jgrapht-1.0.1/source/jgrapht-ext/src/main/java/org/jgrapht/ext/CSVFormat.java | 4202 | /*
* (C) Copyright 2016-2017, by Dimitrios Michail and Contributors.
*
* JGraphT : a free Java graph-theory library
*
* This program and the accompanying materials are dual-licensed under
* either
*
* (a) the terms of the GNU Lesser General Public License version 2.1
* as published by the Free Software Foundat... | lgpl-2.1 |
gallardo/opencms-core | src/org/opencms/ui/components/fileselect/CmsResourceTreeTable.java | 14361 | /*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by th... | lgpl-2.1 |
community-ssu/calendar-backend | caltest/test_CComponent.cpp | 8855 | /*
* This file is part of calendar-backend
*
* Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
*
* Contact: Ilias Biris <ilias.biris@nokia.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 ... | lgpl-2.1 |
gerbenvds/ldapchai | src/main/java/com/novell/ldapchai/cr/TextAnswer.java | 2989 | /*
* LDAP Chai API
* Copyright (c) 2006-2010 Novell, Inc.
*
* 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 versi... | lgpl-2.1 |
Jerther/ImoSPC | imo-impl.cpp | 2525 | #include "html5/emapi.h"
#include <stdint.h>
#include "snes_spc/Fir_Resampler.h"
#include "snes_spc/SNES_SPC.h"
#include "snes_spc/SPC_Filter.h"
#define SPC_SAMPLE_RATE 32000
Fir_Resampler<24> *resampler = NULL;
SNES_SPC *spc = NULL;
SPC_Filter *filter = NULL;
// note: imo_set_sample_rate is based on Spc_Emu::set_... | lgpl-2.1 |
fpuna-cia/karaku | src/main/java/py/una/pol/karaku/survey/business/EncuestaLogic.java | 1885 | /*-
* Copyright (c)
*
* 2012-2014, Facultad Politécnica, Universidad Nacional de Asunción.
* 2012-2014, Facultad de Ciencias Médicas, Universidad Nacional de Asunción.
* 2012-2013, Centro Nacional de Computación, Universidad Nacional de Asunción.
*
* This library is free software; you can redistribute it a... | lgpl-2.1 |
shivajimedida/SU2 | SU2_CFD/include/numerics_machine_learning_turbulent.hpp | 3446 | /*!
* \file numerics_machine_learning_direct_turbulent.hpp
* \brief Header for caller functions of the turbulence models.
* \author B. Tracey
* \version 4.0.0 "Cardinal"
*
* SU2 Lead Developers: Dr. Francisco Palacios (Francisco.D.Palacios@boeing.com).
* Dr. Thomas D. Economon (economon@stan... | lgpl-2.1 |
igor-sfdc/qt-wk | examples/script/qscript/main.cpp | 6508 | /****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** No C... | lgpl-2.1 |
benni0815/root | interpreter/llvm/src/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp | 53340 | //===- InstCombineSimplifyDemanded.cpp ------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | lgpl-2.1 |
wshager/exist | extensions/modules/src/org/exist/xquery/modules/cache/CacheFunctions.java | 16969 | /*
* eXist Open Source Native XML Database
* Copyright (C) 2001-2017 The eXist Project
* http://exist-db.org
*
* 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
* o... | lgpl-2.1 |
ake-koomsin/mapnik_nvpr | include/mapnik/line_pattern_symbolizer.hpp | 1462 | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2011 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as p... | lgpl-2.1 |
kobolabs/qt-everywhere-4.8.0 | doc/src/snippets/code/doc_src_q3valuelist.cpp | 3951 | /****************************************************************************
**
** 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 documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** ... | lgpl-2.1 |
kaltsi/qt-mobility | examples/hapticsplayer/main.cpp | 2397 | /****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the examples of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:B... | lgpl-2.1 |
qianqians/abelkhan | cpp_component/3rdparty/boost/libs/math/test/test_rational_instances/test_rational_real_concept2.cpp | 533 | // (C) Copyright John Maddock 2006-7.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/detail/workaround.hpp>
#if !BOOST_WORKAROUND(BOOST_BORLANDC, BOOST_TESTE... | lgpl-2.1 |
jejung/effacious-duck | src/br/com/efficacious/crawler/CrawlerStartUp.java | 3147 | /**
*
*/
package br.com.efficacious.crawler;
import java.util.HashSet;
import java.util.Set;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.logging.Level;
import br.com.efficacious.config.CrawlerConfig;
i... | lgpl-3.0 |
vlinhd11/IBOS | system/modules/file/extensions/alioss/src/Aliyun/Common/Utilities/HttpMethods.php | 316 | <?php
/**
* Copyright (C) Alibaba Cloud Computing
* All rights reserved.
*
* 版权所有 (C)阿里云计算有限公司
*/
namespace Aliyun\Common\Utilities;
class HttpMethods
{
const GET = 'GET';
const PUT = 'PUT';
const POST = 'POST';
const HEAD = 'HEAD';
const DELETE = 'DELETE';
}
| lgpl-3.0 |
makinacorpus/pygal | pygal/graph/pie.py | 3280 | # -*- coding: utf-8 -*-
# This file is part of pygal
#
# A python svg graph plotting library
# Copyright © 2012-2014 Kozea
#
# 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... | lgpl-3.0 |
OldShatterhand77/Portofino | portofino-crud/src/main/java/com/manydesigns/portofino/pageactions/m2m/configuration/ObjectFactory.java | 1145 | /*
* Copyright (C) 2005-2015 ManyDesigns srl. All rights reserved.
* http://www.manydesigns.com/
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 3 of
* the License, or (a... | lgpl-3.0 |
donarus/everBeen | task-api/src/main/java/cz/cuni/mff/d3s/been/taskapi/Task.java | 5352 | package cz.cuni.mff.d3s.been.taskapi;
import java.util.Properties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import cz.cuni.mff.d3s.been.core.StatusCode;
import cz.cuni.mff.d3s.been.core.TaskMessageType;
import cz.cuni.mff.d3s.been.core.TaskPropertyNames;
import cz.cuni.mff.d3s.been.mq.MessagingExcept... | lgpl-3.0 |
bencrundwell/canvas | src/backend-php/public_html/scripts/jquery.fileupload.js | 35420 | /*
* jQuery File Upload Plugin 5.4.4
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2010, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://creativecommons.org/licenses/MIT/
*/
/*jslint white: true, nomen: true, unparam: true, regexp: true */
/*global document,... | lgpl-3.0 |
revelator/Revelation-Engine | Extras/ModSources/grimm/game/Moveable.cpp | 32614 | // Copyright (C) 2004 Id Software, Inc.
//
#include "../idlib/precompiled.h"
#pragma hdrstop
#include "Game_local.h"
/*
===============================================================================
idMoveable
===============================================================================
*/
const idEventDef E... | lgpl-3.0 |
StevieMagaco/PrestaShopLocalFiles | Apache Server Files/prestashop/controllers/front/ContactController.php | 1330 | <?php
/**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not re... | lgpl-3.0 |
cryptobuks/forknote | tests/System/EventTests.cpp | 5786 | // Copyright (c) 2012-2015, The CryptoNote developers, The Bytecoin developers
//
// This file is part of Bytecoin.
//
// Bytecoin is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of t... | lgpl-3.0 |
edwinspire/VSharp | class/System.Web.Extensions/System.Web.UI.WebControls/InsertItemPosition.cs | 1344 | //
// System.Web.UI.WebControls.ListView
//
// Authors:
// Marek Habersack (mhabersack@novell.com)
//
// (C) 2007 Novell, Inc
//
//
// 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 witho... | lgpl-3.0 |
Builders-SonarSource/sonarqube-bis | sonar-db/src/main/java/org/sonar/db/source/package-info.java | 963 | /*
* SonarQube
* Copyright (C) 2009-2016 SonarSource SA
* mailto:contact AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License... | lgpl-3.0 |
AdoptOpenJDK/mjprof | src/main/java/com/performizeit/mjprof/plugins/filters/JStackFilterFieldNotContains.java | 1386 | /*
This file is part of mjprof.
mjprof 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.
mjpro... | lgpl-3.0 |
ruijieguo/firtex2 | app/fsearchd/RPCSearchService.cpp | 4882 | #include "RPCSearchService.h"
#include "../common/SnippetGenerator.h"
#include "firtex/search/XMLResultFormatter.h"
#include "firtex/index/IndexReader.h"
#include "firtex/index/Index.h"
#include "firtex/search/IndexSearcher.h"
#include "../thrift/ThriftSearchServiceHelper.h"
#include "firtex/queryparser/QueryParser.h"
... | lgpl-3.0 |
thogil/MBT | MediaBrowser.Theater/MediaBrowser.Theater.DefaultTheme/Home/ViewModels/TV/ResumeEpisodesViewModel.cs | 4440 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using MediaBrowser.Model.ApiClient;
using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Entities;
using MediaBrowser.Theater.Api.Navigation;
using MediaBrowser.Theater.Api.Playba... | lgpl-3.0 |
Allors/allors2 | Platform/Database/Adapters/Repository/Domain/Adapters/C4.cs | 1958 | // <copyright file="C4.cs" company="Allors bvba">
// Copyright (c) Allors bvba. All rights reserved.
// Licensed under the LGPL license. See LICENSE file in the project root for full license information.
// </copyright>
namespace Allors.Repository
{
using System;
using Allors.Repository.Attributes;
#regio... | lgpl-3.0 |
lourosas/onewireweatherstation | RaspberryPiWeatherStationCode/rosas/lou/weatherclasses/MemoryListener.java | 220 | /**/
package rosas.lou.weatherclasses;
import java.lang.*;
import java.util.*;
import rosas.lou.weatherclasses.MemoryEvent;
public interface MemoryListener{
public void onMemoryEvent(MemoryEvent event);
} | lgpl-3.0 |
pr-of-it/running-dbal | tests/Dbal/StatementTest.php | 4149 | <?php
namespace Runn\tests\Dbal\Statement;
use PDO;
use PHPUnit\Framework\TestCase;
use Runn\Core\Config;
use Runn\Core\Std;
use Runn\Core\TypedCollection;
use Runn\Dbal\Dbh;
use Runn\Dbal\Exception;
use Runn\Dbal\Query;
use Runn\Dbal\Statement;
class testStatement extends Statement
{
public function bindValue($... | lgpl-3.0 |
FAMILIAR-project/VM-language | fr.inria.lang.vm/src-gen/fr/inria/lang/vM/RealAttrDef.java | 2311 | /**
*/
package fr.inria.lang.vM;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Real Attr Def</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link fr.inria.lang.vM.RealAttrDef#getName <em>Name</em>}</li>
* <li>{@link fr.inri... | lgpl-3.0 |
thelia-modules/CustomerGroupAcl | EventListener/ModuleListener.php | 1297 | <?php
namespace CustomerGroupAcl\EventListener;
use CustomerGroupAcl\ACL\AclXmlFileloader;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Thelia\Core\Event\Module\ModuleToggleActivationEvent;
use Thelia\Core\Event\TheliaEvents;
use Thelia\Model\ModuleQuery;
use Thelia\Module\BaseModule;
/**
* L... | lgpl-3.0 |
catedrasaes-umu/emf4cpp-old | emf4cpp.tests/xpand/xpand3/SyntaxElementImpl.cpp | 4503 | // -*- mode: c++; c-basic-style: "bsd"; c-basic-offset: 4; -*-
/*
* xpand3/SyntaxElementImpl.cpp
* Copyright (C) Cátedra SAES-UMU 2010 <andres.senac@um.es>
*
* EMF4CPP 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 S... | lgpl-3.0 |
neubig/travatar | src/bin/tune-travatar.cc | 363 | #include <travatar/config-travatar-tuner.h>
#include <travatar/travatar-tuner.h>
using namespace travatar;
using namespace std;
int main(int argc, char** argv) {
// load the arguments
ConfigTravatarTuner conf;
vector<string> args = conf.loadConfig(argc,argv);
// train the reorderer
TravatarTuner t... | lgpl-3.0 |
brianpenghe/PVZOnlineTool | QuickSearchTool/Properties/Settings.Designer.cs | 1089 | //------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace Q... | lgpl-3.0 |
ChristophBroeker/betsy | src/main/groovy/betsy/bpel/virtual/common/exceptions/ChecksumException.java | 1039 | package betsy.bpel.virtual.common.exceptions;
/**
* The {@link ChecksumException} is thrown if the comparison of the received and
* the expected data failed. Differences could be caused by network transport
* errors or similar operations.
*
* @author Cedric Roeck
* @version 1.0
*/
public class ChecksumException... | lgpl-3.0 |
zeyon/gx-zeyos | src/classes/Timebox.js | 8008 | /**
* @class gx.zeyos.Timebox
* @description Creates a box for times, separating hours, minutes and seconds
* @extends gx.ui.Container
* @implements gx.util.Console
*
* @param {element|string} display The display element
*
* @option {float} time The initial time of the element
* @option {string} unit The defau... | lgpl-3.0 |
jacky8hyf/musique | dependencies/jaudiotagger/src/main/java/org/jaudiotagger/tag/id3/framebody/FrameBodyTYER.java | 2975 | /*
* MusicTag Copyright (C)2003,2004
*
* 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 version.
*
* Th... | lgpl-3.0 |
simeshev/parabuild-ci | 3rdparty/jfreechart0921/source/org/jfree/chart/axis/junit/LogarithmicAxisTests.java | 3193 | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2004, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... | lgpl-3.0 |
SoftwareEngineeringToolDemos/FSE-2011-EvoSuite | master/src/test/java/com/examples/with/different/packagename/stable/IntegerArrayDefault.java | 1467 | /**
* Copyright (C) 2010-2015 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 Public License as published by the
* Free Software Foundation, either version 3.0 ... | lgpl-3.0 |
jgonthier/psi4 | psi4/src/psi4/psimrcc/mrcc_energy.cc | 2971 | /*
* @BEGIN LICENSE
*
* Psi4: an open-source quantum chemistry software package
*
* Copyright (c) 2007-2019 The Psi4 Developers.
*
* The copyrights for code used from other parties are included in
* the corresponding files.
*
* This file is part of Psi4.
*
* Psi4 is free software; you can redistribute it an... | lgpl-3.0 |
1024122298/bergamot | bergamot-compat-nagios/src/main/java/com/intrbiz/bergamot/compat/config/builder/parameter/BooleanParameterParser.java | 470 | package com.intrbiz.bergamot.compat.config.builder.parameter;
import java.lang.reflect.Method;
public class BooleanParameterParser extends ParameterParser
{
public BooleanParameterParser(String name, Class<?> type, Method method)
{
super(name, type, method);
}
@Override
protected Object ... | lgpl-3.0 |
Allors/platform | Platform/Database/Adapters/Tests.Dynamic/Populations/assertions/StrategyAssert.cs | 5332 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="StrategyAssert.cs" company="Allors bvba">
// Copyright 2002-2012 Allors bvba.
//
// Dual Licensed under
// a) the Lesser General Public Licence v3 (LGPL)
// b) the Allors Li... | lgpl-3.0 |
JKatzwinkel/bts | org.eclipse.xtext.ui/src/org/eclipse/xtext/ui/editor/outline/quickoutline/QuickOutlineFilterAndSorter.java | 832 | /*******************************************************************************
* Copyright (c) 2011 itemis AG (http://www.itemis.eu) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distr... | lgpl-3.0 |
agry/NGECore2 | scripts/mobiles/tatooine/tusken_sniper.py | 1332 | import sys
from services.spawn import MobileTemplate
from services.spawn import WeaponTemplate
from resources.datatables import WeaponType
from resources.datatables import Difficulty
from resources.datatables import Options
from java.util import Vector
def addTemplate(core):
mobileTemplate = MobileTemplate()
mobi... | lgpl-3.0 |
dufourpy/authservices | Kentor.AuthServices/WebSSO/AuthServicesUrls.cs | 5136 | using Kentor.AuthServices.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kentor.AuthServices.WebSso
{
/// <summary>
/// The urls of AuthServices that are used in various messages.
/// </summary>
public class ... | lgpl-3.0 |
3dcitydb/importer-exporter-postgis | src/de/tub/citydb/modules/kml/gui/preferences/TransportationBalloonPanel.java | 11743 | /*
* This file is part of the 3D City Database Importer/Exporter.
* Copyright (c) 2007 - 2013
* Institute for Geodesy and Geoinformation Science
* Technische Universitaet Berlin, Germany
* http://www.gis.tu-berlin.de/
*
* The 3D City Database Importer/Exporter program is free software:
* you can redist... | lgpl-3.0 |
CollabsoftDevelopers/saphpire | libs/PHPCore/tests/classes/cLoggerTest.php | 2447 | <?php
require_once '../../../../config.php';
require_once '../../classes/cLogger.php';
/**
* Test class for cLogger
*
* @author Dylan Pruitt
*/
class cLoggerTest extends PHPUnit_Framework_TestCase
{
protected $oLogger;
public function setUp()
{
$... | lgpl-3.0 |
edwinspire/VSharp | class/System.Data.OracleClient/System.Data.OracleClient/OracleCommandBuilder.cs | 18205 | //
// System.Data.OracleClient.OracleCommandBuilder.cs
//
// based on the SqlCommandBuilder in mcs/class/System.Data/System.Data.SqlClient
//
// Authors:
// Atsushi Enomoto <atsushi@ximian.com>
// Tim Coleman (tim@timcoleman.com)
// Daniel Morgan <danielmorgan@verizon.net>
//
// Copyright (C) Tim Coleman, 20... | lgpl-3.0 |
jefalbino/jsmart5 | src/main/java/com/jsmartframework/web/annotation/AuthAccess.java | 1473 | /*
* JSmart Framework - Java Web Development Framework
* Copyright (c) 2015, Jeferson Albino da Silva, 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... | lgpl-3.0 |
simeshev/parabuild-ci | 3rdparty/findbugs086src/test/NullDeref6.java | 665 | import java.util.*;
class NullDeref6 {
// from code in commons-collection,
// org.apache.commons.collections.IteratorUtils.getIterator
Object foo(Object o) {
if (o == null) return o;
if (o instanceof String) return o;
// we should flag the o != null test as redundant
if (o != null && o instanceof Set)... | lgpl-3.0 |
Yvler/aimeos-core | controller/jobs/tests/Controller/Jobs/Order/Service/Delivery/DefaultTest.php | 6492 | <?php
/**
* @copyright Copyright (c) Metaways Infosystems GmbH, 2014
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
*/
class Controller_Jobs_Order_Service_Delivery_DefaultTest extends PHPUnit_Framework_TestCase
{
private $_object;
/**
* Sets up the fixture, for example, opens a network connectio... | lgpl-3.0 |
CollabsoftDevelopers/saphpire | services/ping/classes/cPresPing.php | 2758 | <?php
// include the base class
require_once( sCORE_INC_PATH . '/classes/cBasePresentation.php' );
/**
* Main presentation class for output.
*
* @author Academic Services :: Team Ra
* @version 0.0.0.1
*/
class cPresPing extends cBasePresentation
{
/**
* Get... | lgpl-3.0 |
jswiergo/destin | Destin/TreeMining/CMOrderedTreeMiner/OccLongList.cpp | 24456 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Class: OccLongList
Description: Used to store the occurrence list of a rooted
ordered pattern tree, for CMOrderedTreeMiner algorithms
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "OccLongList.h"
void OccLongList::insert(int... | lgpl-3.0 |
yuripourre/keel | src/test/java/com/harium/keel/core/source/IntArraySourceTest.java | 1147 | package com.harium.keel.core.source;
import com.harium.etyl.commons.graphics.Color;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
public class IntArraySourceTest {
private IntArraySource source;
private final int SOURCE_WIDTH = 2;
private final int SOURCE_HEIGHT = 2;
@Bef... | lgpl-3.0 |
engineyard/vertebra-rb | vendor/thor/lib/thor.rb | 3625 | $:.unshift File.expand_path(File.dirname(__FILE__))
require "thor/options"
require "thor/util"
require "thor/task"
require "thor/task_hash"
class Thor
class << self
attr_reader :before_methods
# run this before other tasks
def before(*methods)
@before_methods = methods
end
end
def self.map... | lgpl-3.0 |
laurentb/weboob | modules/imgur/__init__.py | 837 | # -*- coding: utf-8 -*-
# Copyright(C) 2016 Vincent A
#
# 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 Affero General Public License as published by
# the Free Software Foundation, either version 3 of the Licen... | lgpl-3.0 |
npklein/molgenis | molgenis-core-ui/src/main/java/org/molgenis/util/EntitySerializer.java | 3076 | package org.molgenis.util;
import com.google.gson.*;
import org.molgenis.data.Entity;
import org.molgenis.data.meta.AttributeType;
import org.molgenis.data.meta.model.Attribute;
import java.lang.reflect.Type;
import java.time.Instant;
import java.time.LocalDate;
import static java.lang.String.format;
/**
* Seriali... | lgpl-3.0 |
yuripourre/etyllica | src/main/java/examples/etyllica/procedural/color/ColorChangeExample.java | 654 | package examples.etyllica.procedural.color;
import br.com.etyllica.Etyllica;
import br.com.etyllica.commons.context.Application;
/**
* @author yuripourre
* @license LGPLv3
*/
public class ColorChangeExample extends Etyllica {
private static final long serialVersionUID = 1L;
public ColorChangeExample() {... | lgpl-3.0 |
horrorhag/flitr | Doxygen/html/classflitr_1_1_c_p_u_uniform_noise___shader.js | 645 | var classflitr_1_1_c_p_u_uniform_noise___shader =
[
[ "CPUUniformNoise_Shader", "classflitr_1_1_c_p_u_uniform_noise___shader.html#abdbb5f5e6db7f5cc4e1972d49dad4f7c", null ],
[ "~CPUUniformNoise_Shader", "classflitr_1_1_c_p_u_uniform_noise___shader.html#a0074e55ba396ddc3993f197c85eff51d", null ],
[ "operator... | lgpl-3.0 |
rtyJay14/crowd-farm | web/phpMyAdmin/libraries/PHPExcel/PHPExcel/Cell/IValueBinder.php | 1551 | <?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2010 PHPExcel
*
* 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... | unlicense |
SleepyTrousers/EnderIO | enderio-integration-tic/src/main/java/crazypants/enderio/integration/tic/book/TicBook.java | 503 | package crazypants.enderio.integration.tic.book;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import slimeknights.mantle.client.book.repository.FileRepository;
import slimeknights.tconstruct.library.book.TinkerBook;
public class TicBook {
@SideOnly(Side.CLIENT)
... | unlicense |
fathi-hindi/oneplace | vendor/magento/framework/View/TemplateEngine/Xhtml/Compiler/CommentInterface.php | 511 | <?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\View\TemplateEngine\Xhtml\Compiler;
use Magento\Framework\DataObject;
/**
* Interface CommentInterface
*/
interface CommentInterface
{
/**
* Compiles the Comment nod... | unlicense |
fathi-hindi/oneplace | vendor/magento/module-catalog-rule/Test/Unit/Pricing/Price/CatalogRulePriceTest.php | 7301 | <?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\CatalogRule\Test\Unit\Pricing\Price;
use \Magento\CatalogRule\Pricing\Price\CatalogRulePrice;
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
/**
* Class CatalogRulePric... | unlicense |
M4573R/pc-code | solved/i-k/knights-in-fen/lightoj/knights.cpp | 3227 | #include <cstdio>
#include <stack>
using namespace std;
#define MAX_MOVES 15
#define INF 100
#define GetFS(b) ((b) & -(b))
#define ClrFS(b) (b &= ~GetFS(b))
typedef unsigned u32;
const int moves[8][2] = {
{ -2, -1 },
{ -1, -2 },
{ 1, -2 },
{ 2, -1 },
{ 2, 1 },
{ 1, 2 },
{ -1, 2 },
{ -2, 1 }
};
u... | unlicense |
muneebrbaig/ASP.Net | OLD/WebServices/AjaxPageMethods/AjaxPageMethods/Account/Register.aspx.designer.cs | 1740 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | unlicense |
ksa46/work | library/Flourish/lib/fORMColumn.php | 31303 | <?php
/**
* Provides special column functionality for fActiveRecord classes
*
* @copyright Copyright (c) 2008-2011 Will Bond
* @author Will Bond [wb] <will@flourishlib.com>
* @license http://flourishlib.com/license
*
* @package Flourish
* @link http://flourishlib.com/fORMColumn
*
... | unlicense |
lamassu/lamassu-server | new-lamassu-admin/src/pages/Services/schemas/kraken.js | 808 | import * as Yup from 'yup'
import SecretInputFormik from 'src/components/inputs/formik/SecretInput'
import TextInputFormik from 'src/components/inputs/formik/TextInput'
import secretTest from './helper'
export default {
code: 'kraken',
name: 'Kraken',
title: 'Kraken (Exchange)',
elements: [
{
code:... | unlicense |
SiddharthMishraPersonal/InterviewPreperation | WPF/Installers/Prism/PrismLibrary/Desktop/Prism/Regions/UpdateRegionsException.cs | 1580 | // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System;
namespace Microsoft.Practices.Prism.Regions
{
/// <summary>
/// Represents errors that occured during the regions' update.
/// </summary>
public partial class UpdateR... | unlicense |
neiltest/neil_test_selenium | selenium_test/check_on_hold/selenium_015_fan_page.py | 580 | #coding: utf-8
"""
@Author: Well
@Date: 2014 - 04 - 20
"""
# 15 分页处理
from selenium import webdriver
import os
import time
# 数据初始化
base_url = os.path.dirname(__file__) + '/html/' + 'fan_page.html'
browser = webdriver.Chrome()
# 打开浏览器
browser.get(base_url)
browser.maximize_window()
# 计算页数
total_pages = browser.fi... | unlicense |
fathi-hindi/oneplace | vendor/magento/framework/Setup/SampleData/StateInterface.php | 942 | <?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\Setup\SampleData;
/**
* Interface for SampleData modules installation
*/
interface StateInterface
{
/**
* Current state
*/
const ERROR = 'error';
const I... | unlicense |
Ztiany/CodeRepository | Android/FlatBufferSample/app/src/test/java/com/ztiany/flatbuffersample/ExampleUnitTest.java | 405 | package com.ztiany.flatbuffersample;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public... | apache-2.0 |
fschopp/cloudkeeper | cloudkeeper-core/cloudkeeper-model/src/main/java/xyz/cloudkeeper/model/bare/type/BareTypeVariable.java | 1591 | package xyz.cloudkeeper.model.bare.type;
import xyz.cloudkeeper.model.bare.element.BareSimpleNameable;
import javax.annotation.Nullable;
/**
* Type variable.
*
* <p>This interface corresponds to {@link javax.lang.model.type.TypeVariable}, and both interfaces can be implemented
* with covariant return types.
*
... | apache-2.0 |
GoogleCloudPlatform/google-cloud-visualstudio | GoogleCloudExtension/GoogleCloudExtensionUnitTests/Services/FileSystem/IODirectoryServiceTests.cs | 2767 | // Copyright 2018 Google Inc. All Rights Reserved.
//
// 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 by applicabl... | apache-2.0 |
KevinLoiseau/manageiq | app/helpers/application_helper/button/vm_retire.rb | 302 | class ApplicationHelper::Button::VmRetire < ApplicationHelper::Button::Basic
needs_record
def calculate_properties
self[:enabled] = !(self[:title] = N_("VM is already retired") if disabled?)
end
def skip?
!@record.supports_retire?
end
def disabled?
@record.retired
end
end
| apache-2.0 |
googleapis/python-aiplatform | google/cloud/aiplatform/v1/schema/trainingjob/definition/__init__.py | 4992 | # -*- coding: utf-8 -*-
# Copyright 2020 Google 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 by applicable law or... | apache-2.0 |
ctomc/keytool-maven-plugin | keytool-api-test/src/main/java/org/codehaus/mojo/keytool/requests/AbstractKeyToolImportCertificateRequestIT.java | 1809 | package org.codehaus.mojo.keytool.requests;
/*
* Copyright 2005-2013 The Codehaus
*
* 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
... | apache-2.0 |
jrnail23/sitterswap-ui | src/js/components/app.js | 448 | import React from 'react'
import Header from './common/header'
import {getAllMembers} from '../api/membersApi'
export default class App extends React.Component {
static propTypes = {
children: React.PropTypes.node
}
componentDidMount () {
getAllMembers()
}
render () {
return (
<div>
... | apache-2.0 |
leapmotion/autowiring | contrib/autoboost/autoboost/preprocessor/iteration/detail/rlocal.hpp | 19143 | # /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt... | apache-2.0 |
claudiu-stanciu/kylo | ui/ui-app/src/main/resources/static/js/common/card-filter-header/card-filter-header.js | 3107 | define(['angular','common/module-name'], function (angular,moduleName) {
angular.module(moduleName).directive("tbaCardFilterHeader", function () {
return {
scope: {},
bindToController: {
cardTitle: '=',
viewType: '=',
filterModel: '=',
... | apache-2.0 |
chengpohi/elasticshell | modules/core/src/main/scala/com/github/chengpohi/dsl/serializer/JavaTimeSerializers.scala | 2674 | package com.github.chengpohi.dsl.serializer
import java.time.format.DateTimeFormatter
import java.time.temporal.{TemporalAccessor, TemporalQuery}
import java.time.{Instant, LocalDateTime, LocalTime, ZonedDateTime}
import org.json4s.CustomSerializer
import org.json4s.JsonAST.JString
object JavaTimeSerializer... | apache-2.0 |
apache/tomcat | java/org/apache/tomcat/dbcp/pool2/PooledObjectFactory.java | 5982 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | apache-2.0 |
irenemrisho/UDIHIS | app/models/Price_company.php | 331 | <?php
class Price_company extends Eloquent {
protected $table = 'price_companies';
protected $guarded = array();
public function Service(){
return $this->belongsTo('Services','service_id','id');
}
public function Campany(){
return $this->belongsTo('insuranceCompanies','campany_id','id');
}
... | apache-2.0 |
rsimha-amp/amphtml | ads/vendors/ucfunnel.js | 904 | /**
* Copyright 2019 The AMP HTML Authors. All Rights Reserved.
*
* 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 require... | apache-2.0 |
networksoft/erp.roshlife | application/views/website/bo/configuracion/Bonos/ver_bonos.php | 13440 | <!-- MAIN CONTENT -->
<div id="content">
<div class="row hidden-print">
<div class="col-xs-12 col-sm-9 col-md-9 col-lg-9">
<h1 class="page-title txt-color-blueDark">
<a class="backHome" href="/bo"><i class="fa fa-home"></i> Menu</a>
<span>
> <a href="/bo/administracion/"> Administración</a>
... | apache-2.0 |
chapacua/Estudio | Views/Vistas/PerfilEnd.php | 3788 | <!DOCTYPE html>
<html lang="en">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<head>
<link rel="stylesheet" href="../../Views/Styles/Bootstrap/css/bootstrap.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jque... | apache-2.0 |
zstackorg/zstack-woodpecker | integrationtest/vm/virtualrouter/snapshot/test_crt_other_sp_in_live_vm.py | 2771 | '''
Test create/restore snapshot functions for other, which will be happed on a running VM.
This test is to simulate user save/restore snapshot on a real running VM with other platform.
The test will be skipped, if host doesn't support live snapshot operations.
When delete a snapshot in the middle of snapsh... | apache-2.0 |
octavioturra/phonegap-cli | lib/cli.js | 1794 | /*!
* Module dependencies.
*/
var phonegap = require('./main'),
console = require('./cli/util/console');
/**
* Command line interface object.
*/
function CLI() {
// This can be prevented by using dependency injection
this.cli = this;
this.local.cli = this;
this.remote.cli = this;
}
/**
* Co... | apache-2.0 |
Alphalink/netbox | netbox/circuits/migrations/0007_circuit_add_description.py | 463 | # -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2017-01-17 20:08
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('circuits', '0006_terminations'),
]
operations = [
migrations.AddField(
... | apache-2.0 |
kslundberg/pants | tests/python/pants_test/tasks/test_minimal_cover.py | 3250 | # coding=utf-8
# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
from __future__ import (absolute_import, division, generators, nested_scopes, print_function,
unicode_literals, with_statement)
from textwrap import... | apache-2.0 |
chef/dep-selector-libgecode | ext/libgecode3/vendor/gecode-3.7.3/gecode/int/channel/dom.hpp | 10879 | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Christian Schulte <schulte@gecode.org>
*
* Contributing authors:
* Mikael Lagerkvist <lagerkvist@gecode.org>
*
* Copyright:
* Christian Schulte, 2006
* Mikael Lagerkvist, 2006
*
* Last modified:
* ... | apache-2.0 |
bcec/opennebula3.2.1 | src/rm/RequestManagerVirtualNetwork.cc | 3085 | /* -------------------------------------------------------------------------- */
/* Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | apache-2.0 |
apache/jena | jena-geosparql/src/main/java/org/apache/jena/geosparql/geof/topological/filter_functions/simple_features/SfWithinFF.java | 1883 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
glowroot/glowroot | agent/core/src/main/java/org/glowroot/agent/init/CollectorLogbackAppender.java | 6269 | /*
* Copyright 2015-2019 the original author or authors.
*
* 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 by applica... | apache-2.0 |
dlna/DeveloperToolsForUPnP | Tools/DeviceBuilder/FileStore/Symbian/ILibSymbianSemaphore.cpp | 681 | /*
* Automated license insertion
*/
#include "ILibSymbianSemaphore.h"
#include "e32cmn.h"
void ILibSymbian_CreateSemaphore(void **sem, int initVal)
{
RSemaphore *RetVal = new RSemaphore();
RetVal->CreateLocal(initVal);
*sem = (void*)RetVal;
}
void ILibSymbian_DestroySemaphore(void** sem)
{
(*((RSemaphore**)se... | apache-2.0 |
asimov-deploy/asimov-deploy | app/services/deploy-lifecycle-session.js | 1576 | /*******************************************************************************
* Copyright (C) 2012 eBay Inc.
*
* 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.... | apache-2.0 |