repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
himynameismax/codeigniter | glpi/inc/interfacetype.class.php | 3097 | <?php
/*
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2015-2016 Teclib'.
http://glpi-project.org
based on GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2014 by the INDEPNET Development Team.
---------... | mit |
DanielParra159/EngineAndGame | Engine/extern/BOOST/include/boost/fusion/container/vector/vector_fwd.hpp | 854 | /*=============================================================================
Copyright (c) 1999-2003 Jaakko Jarvi
Copyright (c) 2001-2006 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0... | cc0-1.0 |
cronchinsky/dh-drupal-8 | vendor/consolidation/filter-via-dot-access-data/tests/FactoryTest.php | 4164 | <?php
namespace Consolidation\Filter;
use PHPUnit\Framework\TestCase;
use Dflydev\DotAccessData\Data;
class FactoryTest extends TestCase
{
protected $factory;
public function setUp()
{
$this->factory = LogicalOpFactory::get();
}
/**
* Data provider for testFactoryParsing.
*
... | gpl-2.0 |
dmlloyd/openjdk-modules | jdk/src/java.sql/share/classes/java/sql/Connection.java | 84366 | /*
* Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | gpl-2.0 |
agiliopadua/lammps | lib/mdi/Install.py | 6330 | #!/usr/bin/env python
# install.py tool to do a generic build of a library
# soft linked to by many of the lib/Install.py files
# used to automate the steps described in the corresponding lib/README
from __future__ import print_function
import sys,os,subprocess
import glob
sys.path.append('..')
from install_helpers ... | gpl-2.0 |
moljac/sharpen | src/main/sharpen/core/framework/BindingUtils.java | 8837 | /* Copyright (C) 2004 - 2008 Versant Inc. http://www.db4o.com
This file is part of the sharpen open source java to c# translator.
sharpen is free software; you can redistribute it and/or modify it under
the terms of version 2 of the GNU General Public License as published
by the Free Software Foundation and as clar... | gpl-2.0 |
jack51706/FuzzLabs | agents/FuzzlabsAgentLinux/connection.cpp | 603 | #include "connection.h"
Connection::Connection(int c_fd, struct sockaddr_in *c_sin) {
sock = c_fd;
sin = c_sin;
client_addr = (char *)inet_ntoa(sin->sin_addr);
}
int Connection::socket() {
return sock;
}
char *Connection::address() {
return client_addr;
}
int Connection::transmit(char *data, uns... | gpl-2.0 |
sevir/laaam | pomo/streams.php | 4481 | <?php
/**
* Classes, which help reading streams of data from files.
* Based on the classes from Danilo Segan <danilo@kvota.net>
*
* @version $Id$
* @package pomo
* @subpackage streams
*/
if ( !class_exists( 'POMO_Reader' ) ):
class POMO_Reader {
var $endian = 'little';
var $_post = '';
function POMO_Reader... | gpl-2.0 |
misilot/vufind | module/VuFind/src/VuFind/View/Helper/jQueryMobile/MobileMenu.php | 2161 | <?php
/**
* MobileMenu view helper
*
* PHP version 5
*
* Copyright (C) Villanova University 2010.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is dist... | gpl-2.0 |
SuriyaaKudoIsc/wikia-app-test | extensions/wikia/ImageServing/Test/ImageServingTest.alias.php | 146 | <?php
$specialPageAliases = array();
/** English */
$specialPageAliases['en'] = array(
'ImageServingTest' => array( 'ImageServingTest' ),
); | gpl-2.0 |
cronchinsky/dh-drupal-8 | core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxFormCacheTest.php | 3843 | <?php
namespace Drupal\FunctionalJavascriptTests\Ajax;
use Drupal\Core\EventSubscriber\MainContentViewSubscriber;
use Drupal\Core\Form\FormBuilderInterface;
use Drupal\Core\Url;
use Drupal\FunctionalJavascriptTests\WebDriverTestBase;
/**
* Tests the usage of form caching for AJAX forms.
*
* @group Ajax
*/
class ... | gpl-2.0 |
baxtree/OKBook | sites/all/modules/neologism/includes/rap/sparql/SparqlEngine/ResultRenderer/XML.php | 4523 | <?php
require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/ResultRenderer.php';
/**
* XML result renderer for SparqlEngine
*
* @author Tobias Gauß <tobias.gauss@web.de>
* @author Christian Weiske <cweiske@cweiske.de>
* @license http://www.gnu.org/licenses/lgpl.html LGPL
*
* @package sparql
*/
... | gpl-2.0 |
MonsieurTweek/PitchMyGame | kernel/shop/discountgroupedit.php | 1371 | <?php
/**
* @copyright Copyright (C) 1999-2012 eZ Systems AS. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
* @version 2012.6
* @package kernel
*/
$module = $Params['Module'];
$discountGroupID = null;
if ( isset( $Params["DiscountGroupID"] ) )
$discount... | gpl-2.0 |
bellodox/joomla25 | components/com_foxcontact/lib/loader.php | 2103 | <?php defined('_JEXEC') or die('Restricted access');
/*
This file is part of "Fox Joomla Extensions".
You can redistribute it and/or modify it under the terms of the GNU General Public License
GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
You have the freedom:
* to use this software for both commercial and non-c... | gpl-2.0 |
ahuraa/TrinityCore-Blabla | src/server/scripts/Kalimdor/boss_azuregos.cpp | 5175 | /*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* 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 ... | gpl-2.0 |
ndtrung81/lammps | src/OPENMP/pair_lj_cut_tip4p_long_soft_omp.cpp | 15594 | // clang-format off
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
This software is distributed under the GNU General Public... | gpl-2.0 |
alexknowshtml/discourse | app/assets/javascripts/discourse/routes/discourse_location.js | 4375 | /*global historyState:true */
/**
@module Discourse
*/
var get = Ember.get, set = Ember.set;
var popstateReady = false;
/**
`Ember.DiscourseLocation` implements the location API using the browser's
`history.pushState` API.
@class DiscourseLocation
@namespace Discourse
@extends Ember.Object
*/
Ember.Discou... | gpl-2.0 |
haovn577/openemr | interface/globals.php | 17783 | <?php
/* $Id$ */
// ------------------------------------------------------------------------ //
// OpenEMR Electronic Medical Records System //
// Copyright (c) 2005-2010 oemr.org //
// <http://www.oemr.org/> ... | gpl-2.0 |
LORDofDOOM/MMOCore | src/server/scripts/Outland/BlackTemple/boss_bloodboil.cpp | 12349 | /*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* 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 ... | gpl-2.0 |
ProDataLab/veins-3a2-plus | src/base/modules/BaseMacLayer.cc | 10336 | /***************************************************************************
* file: BaseMacLayer.cc
*
* author: Daniel Willkomm
*
* copyright: (C) 2004 Telecommunication Networks Group (TKN) at
* Technische Universitaet Berlin, Germany.
*
* This program is free software;... | gpl-2.0 |
qoswork/opennmszh | features/gwt-graph-resource-list/src/main/java/org/opennms/features/gwt/graph/resource/list/client/view/KscReportResourceChooser.java | 2384 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | gpl-2.0 |
BigBoss424/a-zplumbing | Magento-CE-2/vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Bootstrap/MemoryFactory.php | 869 | <?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\TestFramework\Bootstrap;
class MemoryFactory
{
/**
* @var \Magento\Framework\Shell
*/
private $shell;
/**
* @param \Magento\Framework\Shell $shell
*/
public fu... | gpl-3.0 |
HossainKhademian/Studio3 | plugins/com.aptana.ui.io/src/com/aptana/ide/ui/io/navigator/actions/NewExternalFileWizard.java | 5548 | /**
* Aptana Studio
* Copyright (c) 2005-2011 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the GNU Public License (GPL) v3 (with exceptions).
* Please see the license.html included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
... | gpl-3.0 |
kylethayer/bioladder | wiki/tests/phpunit/languages/classes/LanguageTrTest.php | 1714 | <?php
/**
* @author Antoine Musso
* @copyright Copyright © 2011, Antoine Musso
* @file
*/
/**
* @covers LanguageTr
*/
class LanguageTrTest extends LanguageClassesTestCase {
/**
* See T30040
* Credits to irc://irc.freenode.net/wikipedia-tr users:
* - berm
* - []LuCkY[]
* - Emperyan
* @see https:/... | gpl-3.0 |
syslover33/ctank | java/android-sdk-linux_r24.4.1_src/sources/android-23/com/android/multidexlegacytestapp/manymethods/Big051.java | 53476 | /*
* Copyright (C) 2014 The Android Open Source Project
*
* 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 applicab... | gpl-3.0 |
kenshay/ImageScripter | ProgramData/SystemFiles/Python/Lib/site-packages/OpenGL/raw/GL/SGIX/ycrcb_subsample.py | 503 | '''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C
import ctypes
_... | gpl-3.0 |
Jeffrey-P-McAteer/openemr | library/classes/rulesets/Cqm/reports/NFQ_0043/InitialPatientPopulation.php | 774 | <?php
// Copyright (C) 2011 Ken Chapple <ken@mi-squared.com>
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
c... | gpl-3.0 |
khs26/pele | playground/oxdna/dump.py | 3744 | import os
from optparse import OptionParser
import oxdnagmin_ as GMIN
from pele.storage.database import Database
import numpy as np
from pele.utils import rotations
from pele.utils.rbtools import CoordsAdapter
TO_PDB="python /home/vr274/opt/oxDNA/UTILS/traj2vis.py pdb %s gmindnatop"
def export_xyz(fl, coords):
... | gpl-3.0 |
DragonZX/fdm2 | Gecko.SDK/2.0/bin/components/nsSearchSuggestions.js | 19842 | /* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | gpl-3.0 |
levisre/de4dot | de4dot.code/renamer/DerivedFrom.cs | 1869 | /*
Copyright (C) 2011-2015 de4dot@gmail.com
This file is part of de4dot.
de4dot 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 la... | gpl-3.0 |
Ni3znajomy/AMXBans_amx | Web/include/geoip2/phpunit/phpunit/src/TextUI/Command.php | 32860 | <?php
/**
* PHPUnit
*
* Copyright (c) 2001-2014, Sebastian Bergmann <sebastian@phpunit.de>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must ... | gpl-3.0 |
minichate/dashboard | core/PEAR/Auth/Container/LDAP.php | 29506 | <?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */
/**
* Storage driver for use against an LDAP server
*
* PHP versions 4 and 5
*
* LICENSE: This source file is subject to version 3.01 of the PHP license
* that is available through the world-wide-web at the following URI:
* h... | gpl-3.0 |
Kittychanley/TFCraft | src/Common/com/bioxx/tfc/WorldGen/GenLayers/Biome/GenLayerIslandTFC.java | 932 | package com.bioxx.tfc.WorldGen.GenLayers.Biome;
import net.minecraft.world.gen.layer.IntCache;
import com.bioxx.tfc.WorldGen.GenLayers.GenLayerTFC;
public class GenLayerIslandTFC extends GenLayerTFC
{
public GenLayerIslandTFC(long par1)
{
super(par1);
}
/**
* Returns a list of integer values g... | gpl-3.0 |
FlixMaster/mwEmbed | modules/KalturaSupport/RequestHelper.php | 8819 | <?php
class RequestHelper {
var $ks = null;
var $noCache = false;
var $debug = false;
var $utility = null;
/**
* Variables set by the Frame request:
*/
public $urlParameters = array(
'cache_st' => null,
'p' => null,
'partner_id' => null,
'wid' => null,
'uiconf_id' => null,
'entry_id' => null,
... | agpl-3.0 |
acbodine/koding | go/src/koding/klientctl/endpoint/team/team.go | 2178 | package team
import (
"errors"
"sync"
"koding/kites/kloud/stack"
"koding/kites/kloud/team"
"koding/klientctl/ctlcli"
"koding/klientctl/endpoint/kloud"
)
var DefaultClient = &Client{}
func init() {
ctlcli.CloseOnExit(DefaultClient)
}
// ListOptions are options available for `team list` command.
type ListOpti... | agpl-3.0 |
murugamsm/webmail-lite | libraries/afterlogic/common/managers/users/storages/nodb/storage.php | 3519 | <?php
/*
* Copyright 2004-2015, AfterLogic Corp.
* Licensed under AGPLv3 license or AfterLogic license
* if commercial version of the product was purchased.
* See the LICENSE file for a full license statement.
*/
/**
* @internal
*
* @package Users
* @subpackage Storages
*/
class CApiUsersNodbStorage e... | agpl-3.0 |
sysraj86/carnivalcrm | custom/include/PHPExcel/Shared/OLE/ChainedBlockStream.php | 6434 | <?php
/**
* PHPExcel
*
* Copyright (C) 2006 - 2011 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... | agpl-3.0 |
davecheney/juju | service/service.go | 7071 | // Copyright 2015 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package service
import (
"strings"
"time"
"github.com/juju/errors"
"github.com/juju/loggo"
"github.com/juju/utils"
"github.com/juju/utils/series"
"github.com/juju/juju/juju/paths"
"github.com/juju/juju/service/commo... | agpl-3.0 |
Edraak/edx-platform | common/djangoapps/course_modes/migrations/0005_auto_20181210_1034.py | 824 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('course_modes', '0004_auto_20151113_1457'),
]
operations = [
migrations.RemoveField(
model_name='coursemode',
... | agpl-3.0 |
CDJ11/CDJ | app/models/legislation.rb | 77 | module Legislation
def self.table_name_prefix
'legislation_'
end
end
| agpl-3.0 |
shunwang/sql-layer-1 | fdb-sql-layer-core/src/main/java/com/foundationdb/server/rowdata/encoding/FixedWidthEncoding.java | 1316 | /**
* Copyright (C) 2009-2013 FoundationDB, LLC
*
* 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.
*
* Thi... | agpl-3.0 |
sawenzel/root | tutorials/math/kdTreeBinning.C | 5780 | /// \file
/// \ingroup tutorial_math
///
/// kdTreeBinning tutorial: bin the data in cells of equal content using a kd-tree
///
/// Using TKDTree wrapper class as a data binning structure
/// Plot the 2D data using the TH2Poly class
///
/// \macro_image
/// \macro_output
/// \macro_code
///
/// \author Bartolomeu Raba... | lgpl-2.1 |
abj27/ContinuousTests | src/AutoTest.Profiler/ProfilerData.cs | 6825 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using AutoTest.Profiler.Database;
using AutoTest.Graphs;
namespace AutoTest.Profiler
{
public class ProfilerData
{
private readonly string _filename;
private readonly IProfilerDataParser ... | lgpl-2.1 |
sergiofbsilva/fenixedu-academic | src/main/java/org/fenixedu/academic/domain/phd/PhdProcessState.java | 4807 | /**
* 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... | lgpl-3.0 |
duncanpMS/sonarlint-vs | src/SonarAnalyzer.Common/Rules/UseShortCircuitingOperatorFixProviderBase.cs | 3026 | /*
* SonarAnalyzer for .NET
* Copyright (C) 2015-2017 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... | lgpl-3.0 |
Tybion/community-edition | projects/repository/source/java/org/alfresco/repo/bulkimport/ContentDataFactory.java | 2099 | /*
* Copyright (C) 2005-2011 Alfresco Software Limited.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This... | lgpl-3.0 |
marieke-bijlsma/molgenis | molgenis-scripts-core/src/main/java/org/molgenis/script/ScriptParameter.java | 753 | package org.molgenis.script;
import org.molgenis.data.DataService;
import org.molgenis.data.EntityMetaData;
import org.molgenis.data.support.DefaultEntity;
public class ScriptParameter extends DefaultEntity
{
private static final long serialVersionUID = 2005285224629134983L;
public static final String ENTITY_NAME =... | lgpl-3.0 |
aljoscha/flink | flink-clients/src/main/java/org/apache/flink/client/program/StreamContextEnvironment.java | 7431 | /*
* 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 |
emre-aydin/hazelcast | hazelcast/src/main/java/com/hazelcast/spi/impl/operationservice/AbstractNamedOperation.java | 1648 | /*
* Copyright (c) 2008-2021, Hazelcast, 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 ... | apache-2.0 |
clumsy/intellij-community | java/execution/impl/src/com/intellij/execution/scratch/JavaScratchConfigurable.java | 7667 | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* 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 agre... | apache-2.0 |
jtsay362/fast-serialization | src/main/java/org/nustaq/serialization/serializers/FSTArrayListSerializer.java | 2571 | /*
* Copyright 2014 Ruediger Moeller.
*
* 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 agreed t... | apache-2.0 |
bstopp/acs-aem-commons | bundle/src/main/java/com/adobe/acs/commons/httpcache/store/caffeine/impl/CacheExpiryPolicy.java | 2335 | /*
* #%L
* ACS AEM Commons Bundle
* %%
* Copyright (C) 2015 Adobe
* %%
* 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... | apache-2.0 |
emre-aydin/hazelcast | hazelcast/src/main/java/com/hazelcast/client/map/impl/querycache/subscriber/ClientQueryCacheEventService.java | 13034 | /*
* Copyright (c) 2008-2021, Hazelcast, 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 ... | apache-2.0 |
ChetnaChaudhari/hadoop | hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/OfflineImageViewerPB.java | 9681 | /**
* 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 |
harikrushna-Huawei/hackathon | apps/openstacknode/src/main/java/org/onosproject/openstacknode/OpenstackNodeService.java | 1688 | /*
* Copyright 2016-present Open Networking Laboratory
*
* 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 appli... | apache-2.0 |
akuhtz/izpack | izpack-installer/src/test/java/com/izforge/izpack/installer/gui/DefaultNavigatorTest.java | 10736 | /*
* IzPack - Copyright 2001-2012 Julien Ponge, All Rights Reserved.
*
* http://izpack.org/
* http://izpack.codehaus.org/
*
* Copyright 2012 Tim Anderson
*
* 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 co... | apache-2.0 |
amarzavery/azure-xplat-cli | lib/commands/arm/armsdk/models/virtualMachineCaptureParameters.js | 1794 | /*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... | apache-2.0 |
franz1981/activemq-artemis | tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/AmqpReceiverDrainTest.java | 6816 | /*
* 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 |
Xpray/flink | flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/HighAvailabilityServicesUtils.java | 5082 | /*
* 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 |
puneetjaiswal/crate | sql-parser/src/main/java/io/crate/sql/tree/TreePrinter.java | 10850 | /*
* Licensed to CRATE Technology GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* this file to you under the Apache License, Version 2.0 (the "License");
* you may not us... | apache-2.0 |
charlesporter/incubator-metron | metron-platform/metron-hbase/src/main/java/org/apache/metron/hbase/bolt/mapper/HBaseProjectionCriteria.java | 2706 | /*
*
* 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
* "Licens... | apache-2.0 |
mwol/gobblin | gobblin-core/src/test/java/gobblin/writer/SimpleDataWriterTest.java | 14140 | /*
* 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 |
michaelgallacher/intellij-community | plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/codeInspection/threading/GroovyNestedSynchronizedStatementInspection.java | 2670 | /*
* Copyright 2007-2008 Dave Griffith
*
* 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 agreed ... | apache-2.0 |
codehaus/izpack | izpack-panel/src/test/java/com/izforge/izpack/panels/target/TargetPanelTest.java | 15040 | /*
* IzPack - Copyright 2001-2013 Julien Ponge, All Rights Reserved.
*
* http://izpack.org/
* http://izpack.codehaus.org/
*
* Copyright 2012 Tim Anderson
*
* 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 co... | apache-2.0 |
vlsi/calcite | core/src/main/java/org/apache/calcite/sql/dialect/SnowflakeSqlDialect.java | 1502 | /*
* 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 |
narahari92/metamodel | core/src/main/java/org/apache/metamodel/data/DefaultRow.java | 5379 | /**
* 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 |
Miciah/origin | vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2014-04-01/sql/servertableauditingpolicies.go | 12395 | package sql
// Copyright (c) Microsoft and contributors. 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 ... | apache-2.0 |
gfyoung/elasticsearch | server/src/test/java/org/elasticsearch/action/admin/cluster/node/tasks/TasksIT.java | 50810 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | apache-2.0 |
GunoH/intellij-community | platform/execution-impl/src/com/intellij/execution/compound/CompoundRunConfigurationSettingsEditor.java | 6223 | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.execution.compound;
import com.intellij.execution.BeforeRunTask;
import com.intellij.execution.ExecutionTarget;
import com.intellij.execution.RunnerAndConfig... | apache-2.0 |
sjug/origin | vendor/github.com/Azure/azure-sdk-for-go/services/databoxedge/mgmt/2019-07-01/databoxedge/storageaccountcredentials.go | 17980 | package databoxedge
// Copyright (c) Microsoft and contributors. 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
//
//... | apache-2.0 |
mbiarnes/kie-wb-common | kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-bpmn/kie-wb-common-stunner-bpmn-backend/src/main/java/org/kie/workbench/common/stunner/bpmn/backend/converters/tostunner/activities/BaseCallActivityConverter.java | 3844 | /*
* Copyright 2018 Red Hat, Inc. and/or its affiliates.
*
* 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 app... | apache-2.0 |
tzulitai/flink | flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/plan/stream/sql/LegacySinkTest.scala | 9313 | /*
* 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 |
adelez/grpc | test/cpp/common/auth_property_iterator_test.cc | 2778 | /*
*
* Copyright 2015 gRPC 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 applicable law or agree... | apache-2.0 |
christophd/camel | components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientEndpointUriFactory.java | 3155 | /* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.milo.client;
import java.net.URISyntaxException;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.apache.camel.spi.EndpointUriFactory... | apache-2.0 |
albinsuresh/ehcache3 | clustered/ehcache-client/src/main/java/org/ehcache/clustered/client/internal/store/operations/EternalChainResolver.java | 2855 | /*
* Copyright Terracotta, 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.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | apache-2.0 |
fanyon/flink | flink-runtime/src/test/java/org/apache/flink/runtime/executiongraph/utils/SimpleAckingTaskManagerGateway.java | 4286 | /*
* 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 |
alanforgithub/android_xlight | cloudsdk/src/main/java/org/kaazing/gateway/client/impl/ws/CloseCommandMessage.java | 1795 | /**
* Copyright (c) 2007-2014 Kaazing Corporation. All rights reserved.
*
* 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 fil... | apache-2.0 |
gruiz17/origin | pkg/deploy/util/util_test.go | 9679 | package util
import (
"sort"
"strconv"
"testing"
"time"
kapi "k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/unversioned"
deployapi "github.com/openshift/origin/pkg/deploy/api"
deploytest "github.com/openshift/origin/pkg/deploy/api/test"
_ "github.com/openshift/origin/pkg/api/install"
)
func podTem... | apache-2.0 |
fengshao0907/incubator-geode | gemfire-core/src/test/java/com/gemstone/gemfire/GemFireTestCase.java | 2360 | /*=========================================================================
* Copyright (c) 2010-2014 Pivotal Software, Inc. All Rights Reserved.
* This product is protected by U.S. and international copyright
* and intellectual property laws. Pivotal products are covered by
* one or more patents listed at http://w... | apache-2.0 |
thedrow/samsa | pykafka/rdkafka/__init__.py | 89 | from .producer import RdKafkaProducer
from .simple_consumer import RdKafkaSimpleConsumer
| apache-2.0 |
LedaLima/incubator-spot | spot-setup/migration/spot_conf_migration.py | 5986 | #!/bin/env python
#
# 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 "Licens... | apache-2.0 |
slburson/fast-serialization | src/main/java/org/nustaq/serialization/serializers/FSTBigIntegerSerializer.java | 1255 | package org.nustaq.serialization.serializers;
import org.nustaq.serialization.FSTBasicObjectSerializer;
import org.nustaq.serialization.FSTClazzInfo;
import org.nustaq.serialization.FSTObjectInput;
import org.nustaq.serialization.FSTObjectOutput;
import java.io.IOException;
import java.math.BigInteger;
/**
* author... | apache-2.0 |
minestarks/TypeScript | tests/baselines/reference/classHeritageWithTrailingSeparator.js | 1023 | //// [classHeritageWithTrailingSeparator.ts]
class C { foo: number }
class D extends C, {
}
//// [classHeritageWithTrailingSeparator.js]
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__:... | apache-2.0 |
Dominator008/buck | src/com/facebook/buck/js/ReactNativeLibraryArgs.java | 1263 | /*
* Copyright 2015-present Facebook, 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.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | apache-2.0 |
stefwalter/origin | Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/plugin/pkg/admission/namespace/exists/admission.go | 3053 | /*
Copyright 2014 The Kubernetes 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 required by applicable law or ag... | apache-2.0 |
resmo/cloudstack | plugins/network-elements/juniper-contrail/src/org/apache/cloudstack/network/contrail/management/ContrailManager.java | 5713 | // 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 |
nathangoulding/amphtml | ads/taboola.js | 2423 | /**
* Copyright 2015 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 |
jangalinski/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/form/FormDataImpl.java | 1956 | /* 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 agreed to in writing, software
* distributed... | apache-2.0 |
nathanaeljones/weaver-nodelua | app/controllers/articles.js | 2019 | 'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
Article = mongoose.model('Article'),
_ = require('lodash');
/**
* Find article by id
*/
exports.article = function(req, res, next, id) {
Article.load(id, function(err, article) {
if (err) return next(err);
... | apache-2.0 |
stemlending/fabric | common/metrics/statsd/provider.go | 2830 | /*
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package statsd
import (
"github.com/go-kit/kit/metrics/statsd"
"github.com/hyperledger/fabric/common/metrics"
"github.com/hyperledger/fabric/common/metrics/internal/namer"
)
const defaultFormat = "%{#fqname}"
type Provider struct... | apache-2.0 |
yuananf/presto | presto-main/src/main/java/com/facebook/presto/operator/aggregation/histogram/GroupedHistogramState.java | 2060 | /*
* 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 agreed to in writing, software
* distribut... | apache-2.0 |
SanthiSridharan/Hygieia | core/src/test/java/com/capitalone/dashboard/repository/EmbeddedMongoDBRule.java | 5492 | package com.capitalone.dashboard.repository;
import com.mongodb.MongoClient;
import com.mongodb.ServerAddress;
import de.flapdoodle.embed.mongo.Command;
import de.flapdoodle.embed.mongo.MongodExecutable;
import de.flapdoodle.embed.mongo.MongodProcess;
import de.flapdoodle.embed.mongo.MongodStarter;
import de.flapdoodl... | apache-2.0 |
luffy730/test | php-leraning/project/cache-demo/Hdphp/Db/Db.php | 494 | <?php namespace Hdphp\Db;
//配置项处理
class Db{
protected $link=array();
public function __construct()
{
}
/**
* 魔术方法
* @param [type] $method [description]
* @param [type] $params [description]
* @return [type] [description]
*/
public function __call($method,$params)
{
$driver ='\Hdphp\D... | apache-2.0 |
gamerson/bnd | biz.aQute.bndlib.tests/test/test/jpms/j/Foo.java | 884 | package test.jpms.j;
import java.lang.reflect.Type;
import java.util.Collections;
import javax.enterprise.inject.spi.Extension;
import javax.json.Json;
import javax.json.JsonObject;
import javax.json.bind.JsonbBuilder;
import javax.json.bind.serializer.DeserializationContext;
import javax.json.stream.JsonParser;
pub... | apache-2.0 |
axbaretto/beam | sdks/java/core/src/test/java/org/apache/beam/sdk/coders/NullableCoderTest.java | 7132 | /*
* 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 |
0909023/project_3_data | GMapsFX/src/test/java/com/lynden/gmapsfx/javascript/JavascriptObjectTest.java | 6119 | /*
* Copyright 2014 Lynden, 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.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 |
tarikgwa/test | html/dev/tests/functional/tests/app/Magento/Backend/Test/Page/AdminAuthLogin.php | 2284 | <?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Backend\Test\Page;
use Magento\Mtf\Client\Locator;
use Magento\Mtf\Factory\Factory;
use Magento\Mtf\Page\Page;
/**
* Login page for backend.
*/
class AdminAuthLogin extends Page
{
/**
*... | apache-2.0 |
fengshao0907/incubator-geode | gemfire-core/src/main/java/com/gemstone/gemfire/internal/OSProcess.java | 27333 | /*=========================================================================
* Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
* This product is protected by U.S. and international copyright
* and intellectual property laws. Pivotal products are covered by
* more patents listed at http://www.pivo... | apache-2.0 |
tarikgwa/test | html/dev/tests/functional/tests/app/Magento/Store/Test/Fixture/Store/GroupId.php | 1334 | <?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Store\Test\Fixture\Store;
use Magento\Mtf\Fixture\DataSource;
use Magento\Mtf\Fixture\FixtureFactory;
use Magento\Store\Test\Fixture\StoreGroup;
/**
* Prepare StoreGroup for Store.
*/
class Gro... | apache-2.0 |
flingone/frameworks_base_cmds_remoted | libs/boost/libs/iterator/test/minimum_category.cpp | 993 | // Copyright Andrey Semashev 2014.
//
// Use, modification and distribution is 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/iterator/minimum_category.hpp>
#include <boost/core/lightweight_test_tr... | apache-2.0 |