repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
LiuCAs/Gekosale | plugin/Gekosale/Frontend/newsletterbox/controller/newsletterbox.php | 3827 | <?php
/**
* Gekosale, Open Source E-Commerce Solution
* http://www.gekosale.pl
*
* Copyright (c) 2008-2012 Gekosale. Zabronione jest usuwanie informacji o licencji i autorach.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* Licen... | lgpl-3.0 |
uschindler/elasticsearch | x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeHistogramFunction.java | 1176 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.sql.expression.function.scalar.datetime;
impo... | apache-2.0 |
zhangdian/solr4.6.0 | lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/TrecDocParser.java | 5106 | package org.apache.lucene.benchmark.byTask.feeds;
/*
* 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 Apach... | apache-2.0 |
meteorcloudy/bazel | src/test/java/com/google/devtools/build/lib/packages/util/MockGenruleSupport.java | 1089 | // Copyright 2020 The Bazel 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 appl... | apache-2.0 |
huangpf/azure-sdk-for-net | src/Common/Handlers/ClientRequestTrackingHandler.cs | 1492 | //
// Copyright (c) Microsoft. 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 l... | apache-2.0 |
awslabs/aws-sdk-xamarin | AWS.XamarinSDK/AWSSDK_Android/Amazon.SecurityToken/Model/Internal/MarshallTransformations/AssumeRoleWithWebIdentityRequestMarshaller.cs | 3141 | /*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | apache-2.0 |
GunoH/intellij-community | plugins/IntentionPowerPak/src/com/siyeh/ipp/initialization/SplitDeclarationAndInitializationIntention.java | 5297 | /*
* Copyright 2003-2019 Dave Griffith, Bas Leijdekkers
*
* 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... | apache-2.0 |
mgol/pdf.js | test/unit/font_spec.js | 16033 | /* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
/* globals expect, it, describe, CFFCompiler, CFFParser, CFFIndex, CFFStrings,
SEAC_ANALYSIS_ENABLED:true, Type1Parser, StringStream */
'use strict';
describe... | apache-2.0 |
itmustbejj/chef-server | oc-chef-pedant/spec/api/knife/roles/from_file_spec.rb | 1384 | # Copyright: Copyright (c) 2012 Opscode, Inc.
# License: Apache License, Version 2.0
#
# 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
#
# Unl... | apache-2.0 |
rosogon/SeaCloudsPlatform | sla/sla-core/sla-tools/src/main/java/eu/atos/sla/parser/data/MessageResponse.java | 1734 | /**
* Copyright 2014 Atos
* Contact: Atos <roman.sosa@atos.net>
*
* 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 |
denzelsN/pinpoint | web/src/main/java/com/navercorp/pinpoint/web/view/LinkHistogramSummarySerializer.java | 1789 | /*
* Copyright 2017 NAVER Corp.
*
* 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 |
CesarPantoja/jena | jena-base/src/main/java/org/apache/jena/atlas/io/IO.java | 11158 | /*
* 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 |
njuneau/maven | maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java | 8097 | package org.apache.maven.repository.internal;
/*
* 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 Apach... | apache-2.0 |
ibinti/intellij-community | java/idea-ui/src/com/intellij/facet/impl/ui/libraries/LibraryDownloadSettings.java | 6383 | /*
* Copyright 2000-2010 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 |
swizzley/origin | pkg/authorization/registry/policy/strategy.go | 2681 | package policy
import (
"fmt"
kapi "github.com/GoogleCloudPlatform/kubernetes/pkg/api"
"github.com/GoogleCloudPlatform/kubernetes/pkg/fields"
"github.com/GoogleCloudPlatform/kubernetes/pkg/labels"
"github.com/GoogleCloudPlatform/kubernetes/pkg/registry/generic"
"github.com/GoogleCloudPlatform/kubernetes/pkg/run... | apache-2.0 |
lojies/kubernetes | pkg/kubelet/stats/cri_stats_provider_test.go | 44347 | /*
Copyright 2017 The Kubernetes 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 agreed to in writing, ... | apache-2.0 |
tarasane/h2o-3 | h2o-py/h2o/transforms/__init__.py | 23 | __author__ = 'spencer'
| apache-2.0 |
chmouel/gofabric8 | vendor/k8s.io/kubernetes/pkg/kubectl/resource/builder_test.go | 39947 | /*
Copyright 2014 The Kubernetes 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 agreed to in writing, ... | apache-2.0 |
lukecwik/incubator-beam | sdks/java/testing/test-utils/src/main/java/org/apache/beam/sdk/testutils/metrics/TimeMonitor.java | 1700 | /*
* 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 |
N03297857/2017Fall | node_modules/@angular/common/src/directives/ng_for_of.d.ts | 4590 | /**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { DoCheck, IterableDiffers, NgIterable, OnChanges, SimpleChanges, TemplateRef, TrackByFunction, ViewContainerR... | apache-2.0 |
bayzid026/TrainingContent | O3652/O3652-7 Deep Dive into Security and OAuth/Completed Projects/Exercise02/OfficeOAuth/OfficeOAuth/CalendarApiSample.cs | 1422 | using Microsoft.Office365.Exchange;
using Microsoft.Office365.OAuth;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OfficeOAuth
{
public static class CalendarAPISample
{
const string ExchangeResourceId = "https://outlook.of... | apache-2.0 |
anindoasaha/php_nginx | php-5.5.16/ext/standard/tests/array/array_uintersect_uassoc_variation3.phpt | 8351 | --TEST--
Test array_uintersect_uassoc() function : usage variation
--FILE--
<?php
/* Prototype : array array_uintersect_uassoc(array arr1, array arr2 [, array ...], callback data_compare_func, callback key_compare_func)
* Description: Returns the entries of arr1 that have values which are present in all the other ar... | apache-2.0 |
cswaroop/sql-parser | src/main/java/com/foundationdb/sql/compiler/TimeTypeCompiler.java | 5720 | /**
* Copyright 2011-2013 FoundationDB, 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 la... | apache-2.0 |
ThiagoGarciaAlves/jmeter | src/core/org/apache/jmeter/samplers/StatisticalSampleSender.java | 8733 | /*
* 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 |
ern/elasticsearch | server/src/test/java/org/elasticsearch/index/mapper/IpFieldScriptTests.java | 2716 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | apache-2.0 |
markcoble/droolsjbpm-integration | kie-server-parent/kie-server-api/src/main/java/org/kie/server/api/model/instance/RequestInfoInstance.java | 5958 | /*
* Copyright 2015 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.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, softw... | apache-2.0 |
telerik/phabricator | src/applications/calendar/storage/__tests__/PhabricatorCalendarHolidayTestCase.php | 1038 | <?php
final class PhabricatorCalendarHolidayTestCase extends PhabricatorTestCase {
protected function getPhabricatorTestCaseConfiguration() {
return array(
self::PHABRICATOR_TESTCONFIG_BUILD_STORAGE_FIXTURES => true,
);
}
protected function willRunTests() {
parent::willRunTests();
id(new ... | apache-2.0 |
passerbyid/homebrew-core | Formula/hfstospell.rb | 1127 | class Hfstospell < Formula
desc "Helsinki Finite-State Technology ospell"
homepage "http://www.ling.helsinki.fi/kieliteknologia/tutkimus/hfst/"
url "https://downloads.sourceforge.net/project/hfst/hfst/archive/hfstospell-0.3.0.tar.gz"
sha256 "07b5b368882cac2399edb1bb6e2dd91450b56f732c25413a19fcfe194342d70c"
b... | bsd-2-clause |
ASMlover/study | 3rdparty/boost/include/boost/filesystem/path_traits.hpp | 10379 | // filesystem path_traits.hpp --------------------------------------------------------//
// Copyright Beman Dawes 2009
// Distributed under the Boost Software License, Version 1.0.
// See http://www.boost.org/LICENSE_1_0.txt
// Library home page: http://www.boost.org/libs/filesystem
#ifndef BOOST_FILESYSTEM_P... | bsd-2-clause |
BenjaminHCCarr/homebrew-cask | Casks/beacon-scanner.rb | 454 | cask "beacon-scanner" do
version "1.1.13"
sha256 "5b28a510f557e57e5cf48490e982aadaba1676c34192e7d650da110a88d233bd"
url "https://github.com/mlwelles/BeaconScanner/releases/download/#{version}/Beacon.Scanner.zip"
appcast "https://github.com/mlwelles/BeaconScanner/releases.atom"
name "BeaconScanner"
desc "Ut... | bsd-2-clause |
krattai/ss-middleware | mageplus/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Apply.php | 2424 | <?php
/**
* Magento
*
* 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:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | bsd-2-clause |
qizenguf/MLC-STT | src/cpu/testers/directedtest/SeriesRequestGenerator.cc | 4092 | /*
* Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
* Copyright (c) 2009-2010 Advanced Micro Devices, Inc.
* 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 sourc... | bsd-3-clause |
pozdnyakov/chromium-crosswalk | chrome/renderer/resources/extensions/ad_view_deny.js | 570 | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
var watchForTag = require("tagWatcher").watchForTag;
// Output error message to console when using <adview> tag with no permission.
var errorMessage ... | bsd-3-clause |
yanqingmen/re2 | re2/testing/parse_test.cc | 16380 | // Copyright 2006 The RE2 Authors. All Rights Reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Test parse.cc, dump.cc, and tostring.cc.
#include <string>
#include <vector>
#include "util/test.h"
#include "re2/regexp.h"
namespace re2 {
static const... | bsd-3-clause |
pobsuwan/lmms | vendor/patchwork/utf8/src/Patchwork/Utf8/Compiler.php | 11865 | <?php
/*
* Copyright (C) 2013 Nicolas Grekas - p@tchwork.com
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the (at your option):
* Apache License v2.0 (http://apache.org/licenses/LICENSE-2.0.txt), or
* GNU General Public License v2.0 (http://gnu.org/licenses/gpl... | mit |
ECHOInternational/refinerycms-patch | resources/app/helpers/refinery/admin/resources_helper.rb | 76 | module Refinery
module Admin
module ResourcesHelper
end
end
end
| mit |
stepancar/DefinitelyTyped | codemirror/codemirror.d.ts | 61207 | // Type definitions for CodeMirror
// Project: https://github.com/marijnh/CodeMirror
// Definitions by: mihailik <https://github.com/mihailik>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare function CodeMirror(host: HTMLElement, options?: CodeMirror.EditorConfiguration): CodeMirror.Editor;... | mit |
bunnyblue/tchannel | node/endpoint-handler.js | 3375 | // Copyright (c) 2015 Uber Technologies, 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 without restriction, including without limitation the rights
// to use, copy, modify, merge, ... | mit |
rpoli/clayClean | node_modules/grunt-react/main.js | 138 | /**
* Module Dependencies
*/
var Transformers = require('./lib/transformers.js');
/**
* Exports
*/
module.exports = Transformers;
| mit |
huanpc/IoT-1 | gui/controller/.venv/lib/python3.5/site-packages/jet/static/jet/js/src/features/sidebar/bookmarks.js | 4219 | var $ = require('jquery');
var t = require('../../utils/translate');
require('jquery-ui/ui/core');
require('jquery-ui/ui/widget');
require('jquery-ui/ui/mouse');
require('jquery-ui/ui/draggable');
require('jquery-ui/ui/resizable');
require('jquery-ui/ui/button');
require('jquery-ui/ui/dialog');
var SideBarBookmarks =... | mit |
malioret/ConnectedSoccerApi | vendor/sonata-project/core-bundle/Date/MomentFormatConverter.php | 1806 | <?php
/*
* This file is part of the Sonata package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\CoreBundle\Date;
/**
* Handles Moment.js <-> PHP date... | mit |
SimenB/webpack | test/cases/parsing/issue-3769/imported.js | 23 | exports.test = "test";
| mit |
BrennanConroy/corefx | src/System.Runtime.InteropServices/src/System/Runtime/InteropServices/ComAwareEventInfo.cs | 4700 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Reflection;
// This type is obsolete, and is expected to be used in ... | mit |
thomas-moison/concrete5 | concrete/core/controllers/single_pages/dashboard/system/backup_restore/backup.php | 3819 | <?php
defined('C5_EXECUTE') or die("Access Denied.");
Loader::library('backup');
class Concrete5_Controller_Dashboard_System_BackupRestore_Backup extends DashboardBaseController {
public function on_start() {
$this->addHeaderItem(Loader::helper('html')->javascript('jquery.cookie.js'));
parent::on_start... | mit |
andrewmcvearry/mille-bean | lwjgl/src/templates/org/lwjgl/opengles/EXT_shadow_samplers.java | 2176 | /*
* Copyright (c) 2002-2008 LWJGL Project
* 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 retain the above copyright
* notice, this... | mit |
12spokes/fog | lib/fog/hp/requests/network/delete_floating_ip.rb | 869 | module Fog
module HP
class Network
class Real
# Delete an existing floating ip
#
# ==== Parameters
# * 'floating_ip_id'<~String>: - UUId of the floating IP address to delete
def delete_floating_ip(floating_ip_id)
request(
:expects => 204,
... | mit |
sr-education/split | spec/algorithms/weighted_sample_spec.rb | 853 | require "spec_helper"
describe Split::Algorithms::WeightedSample do
it "should return an alternative" do
experiment = Split::ExperimentCatalog.find_or_create('link_color', {'blue' => 100}, {'red' => 0 })
expect(Split::Algorithms::WeightedSample.choose_alternative(experiment).class).to eq(Split::Alternative)
... | mit |
pscrevs/gcconnex | mod/tidypics/views/default/forms/photos/admin/delete_image.php | 554 | <?php
/**
* Deletion of a Tidypics image by GUID provided (if image entry does not get properly displayed on site and delete button can not be reached)
*
* iionly@gmx.de
*/
$title = elgg_echo('tidypics:delete_image');
$content = '<p>' . elgg_echo('tidypics:delete_image_blurb') . '</p>';
$content .= '<label>' . elg... | gpl-2.0 |
JKT-OSSCLUB/ProActio | Proactio Front/php/pear/phpwebdriver/WebDriverException.php | 210 | <?php
/**
* WebDriverException
*/
class WebDriverException extends Exception {
public function __construct($message, $code, $previous = null) {
parent::__construct($message, $code);
}
}
?>
| gpl-2.0 |
girish-ankit/drupal8 | modules/examples/stream_wrapper_example/src/StreamWrapper/MockSessionTrait.php | 2265 | <?php
namespace Drupal\stream_wrapper_example\StreamWrapper;
use Symfony\Component\HttpFoundation\RequestStack;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Session\SessionInterface;
use Prophecy\Argument;
/**
* A trait to expose a mock session type to PHPUnit tests.
*/
trait ... | gpl-2.0 |
md-5/jdk10 | test/hotspot/jtreg/vmTestbase/nsk/jdi/FloatValue/compareTo/compareto001.java | 12291 | /*
* Copyright (c) 2002, 2018, 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 |
fjbatresv/REMIS | vendor/cedriclombardot/admingenerator-generator-bundle/Admingenerator/GeneratorBundle/Builder/Admin/ListBuilderAction.php | 336 | <?php
namespace Admingenerator\GeneratorBundle\Builder\Admin;
/**
* This builder generates php for lists actions
* @author cedric Lombardot
*/
class ListBuilderAction extends ListBuilder
{
public function getOutputName()
{
return $this->getGenerator()->getGeneratedControllerFolder().'/ListControlle... | gpl-2.0 |
12sm/erinmyers | wp-content/plugins/installer/tables/wprc-plugin-install-list-table.php | 18982 | <?php
class WPRC_PluginInstall_List_Table extends WP_Plugin_Install_List_Table
{
private $repositories_tabs = '';
private $results_per_repo;
private function get_current_tab()
{
return $_GET['tab'];
}
public function display() {
$protocol = strpos(strtolower( $_SERVER... | gpl-2.0 |
Yberion/stats_mod | code/rd-vanilla/tr_surface.cpp | 63058 | /*
===========================================================================
Copyright (C) 1999 - 2005, Id Software, Inc.
Copyright (C) 2000 - 2013, Raven Software, Inc.
Copyright (C) 2001 - 2013, Activision, Inc.
Copyright (C) 2013 - 2015, OpenJK contributors
This file is part of the OpenJK source code.
OpenJK is ... | gpl-2.0 |
claudm/zentyal | extra/novnc/utils/json2graph.py | 6678 | #!/usr/bin/env python
'''
Use matplotlib to generate performance charts
Copyright 2011 Joel Martin
Licensed under GPL version 3 (see docs/LICENSE.GPL-3)
'''
# a bar plot with errorbars
import sys, json, pprint
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.font_manager import FontProperties
def u... | gpl-2.0 |
ForAEdesWeb/AEW25 | components/com_jcomments/plugins/com_jvideo.plugin.php | 970 | <?php
/**
* JComments plugin for JVideo (http://jvideo.infinovision.com/)
*
* @version 2.3
* @package JComments
* @author Sergey M. Litvinov (smart@joomlatune.ru)
* @copyright (C) 2006-2013 by Sergey M. Litvinov (http://www.joomlatune.ru)
* @license GNU/GPL: http://www.gnu.org/copyleft/gpl.html
*/
d... | gpl-2.0 |
sungsujo/nacl-llvm-branches.llvm-gcc-trunk | libstdc++-v3/testsuite/performance/21_strings/string_copy_cons_and_dest.cc | 1998 | // Copyright (C) 2006 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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, or (at your option)... | gpl-2.0 |
larenz/Gokujo | plugins/editors/rokpad/ace/snippets/ruby.js | 23448 | /*
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2014 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
ace.define('ace/snippets/ruby', ['require', 'exports', 'module' ], function(require, exports, module) {
exports.snippetText = "####... | gpl-2.0 |
angrycactus/social-commerce | modules/commerce/modules/cart/src/EventSubscriber/OrderEventSubscriber.php | 1270 | <?php
namespace Drupal\commerce_cart\EventSubscriber;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Drupal\commerce_cart\CartProviderInterface;
use Drupal\state_machine\Event\WorkflowTransitionEvent;
class OrderEventSubscriber implements EventSubscriberInterface {
/**
* The cart provider.... | gpl-2.0 |
md-5/jdk10 | test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/hotswap/HS302/hs302t005r/MyClass.java | 1452 | /*
* Copyright (c) 2007, 2018, 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 |
Morerice/piwik | tests/lib/mocha-3.1.2/test/browser-fixtures/tdd.fixture.js | 81 | 'use strict';
/* eslint-env browser */
window.mocha.timeout(200)
.ui('tdd');
| gpl-3.0 |
carlesfernandez/pybombs | mod_pybombs/plex/scanners.py | 14034 | #
# Copyright 2013 Tim O'Shea
#
# This file is part of PyBOMBS
#
# PyBOMBS 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, or (at your option)
# any later version.
#
# PyBOMBS is distributed ... | gpl-3.0 |
pheebsco/memoji-webogram | app/js/background.js | 489 | /*!
* Webogram v0.5.5 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE
*/
chrome.app.runtime.onLaunched.addListener(function (launchData) {
chrome.app.window.create('../i... | gpl-3.0 |
lynnlyc/for-honeynet-reviewers | CallbackDroid/android-environment/src/libcore/luni/src/test/java/com/google/coretests/CoreTestPrinter.java | 4942 | /*
* Copyright (C) 2009 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 app... | gpl-3.0 |
ContinuumIO/cloud9 | plugins-server/cloud9.ide.search/search.js | 11368 | /**
* Search module for the Cloud9 IDE
*
* @copyright 2012, Ajax.org B.V.
* @license GPLv3 <http://www.gnu.org/licenses/gpl.txt>
*/
"use strict";
var Os = require("os");
var Path = require("path");
module.exports = function() {
this.env = {
grepCmd: "grep",
perlCmd: "perl",
platform:... | gpl-3.0 |
stahta01/codeblocks-svn2git | src/plugins/contrib/NassiShneiderman/InsertBrickTask.cpp | 5166 | #include "InsertBrickTask.h"
#include "GraphBricks.h"
#include "RedLineDrawlet.h"
#include "RedHatchDrawlet.h"
#include "NassiFileContent.h"
#include "commands.h"
#include "NassiView.h"
#include <wx/mstream.h>
#if defined(__WXGTK__)
#include "rc/ifcur_inv.xpm"
#include "rc/whilecur_inv.xpm"
#include "rc... | gpl-3.0 |
ramdesh/moodle | enrol/editinstance_form.php | 2628 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle ... | gpl-3.0 |
arjitc/librenms | app/Http/Controllers/Widgets/DeviceSummaryVertController.php | 1231 | <?php
/**
* DeviceSummaryVertController.php
*
* -Description-
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
... | gpl-3.0 |
PatchRanger/mautic | plugins/MauticSocialBundle/Views/Integration/LinkedIn/share.html.php | 702 | <?php
/*
* @copyright 2014 Mautic Contributors. All rights reserved
* @author Mautic
*
* @link http://mautic.org
*
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
$locale = $app->getRequest()->getLocale();
$js = <<<js
<script src="//platform.linkedin.com/in.js" type="text/... | gpl-3.0 |
bbockelm/xrootd_old_git | src/XrdOfs/XrdOfsSecurity.hh | 3061 | #ifndef ___XrdOfsSECURITY_H___
#define ___XrdOfsSECURITY_H___
/******************************************************************************/
/* */
/* X r d O f s S e c u r i t y . h h */
/* ... | gpl-3.0 |
vaibhavgupta3110/openemr | library/classes/ClinicalTypes/CareGoal.php | 706 | <?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.
//
r... | gpl-3.0 |
pixelipo/server | apps/systemtags/l10n/et_EE.js | 455 | OC.L10N.register(
"systemtags",
{
"Tags" : "Sildid",
"Tagged files" : "Sildistatud failid",
"Select tags to filter by" : "Vali sildid, mille järgi filtreerida",
"%s (invisible)" : "%s (nähtamatu)",
"No files in here" : "Siin ei ole faile",
"No entries found in this folder" : "Selles kaus... | agpl-3.0 |
exercitussolus/yolo | src/main/java/org/elasticsearch/common/metrics/MeanMetric.java | 1576 | /*
* Licensed to ElasticSearch and Shay Banon 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... | agpl-3.0 |
dmeltzer/snipe-it | resources/lang/af/admin/asset_maintenances/message.php | 1057 | <?php
return [
'not_found' => 'Bate-instandhouding waarna jy gesoek is, is nie gevind nie!',
'delete' => [
'confirm' => 'Is jy seker jy wil hierdie bate instandhouding uitvee?',
'error' => 'Daar was \'n probleem met die verwydering ... | agpl-3.0 |
akretion/stock-logistics-workflow | product_unique_serial/__init__.py | 983 | # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright 2015 Vauxoo
# Author: Moisés Lopez, Osval Reyes
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# ... | agpl-3.0 |
lnu/nhibernate-core | src/NHibernate.Test/NHSpecificTest/NH2470/Class1Class2DTOs.cs | 185 | namespace NHibernate.Test.NHSpecificTest.NH2470
{
public class Class2DTO : DTO { }
public class Class1DTO : DTO
{
public Class2DTO[] Class2Ary { get; set; }
}
} | lgpl-2.1 |
vlee489/Launcher | creator-tools/src/main/java/com/skcraft/launcher/creator/controller/task/PackLoader.java | 1365 | /*
* SK's Minecraft Launcher
* Copyright (C) 2010-2014 Albert Pham <http://www.sk89q.com> and contributors
* Please see LICENSE.txt for license information.
*/
package com.skcraft.launcher.creator.controller.task;
import com.google.common.base.Function;
import com.skcraft.concurrency.ProgressObservable;
import co... | lgpl-3.0 |
webOS-ports/org.webosports.app.calculator | lib/layout/tree/source/design.js | 587 | /**
Description to make Tree kind available in Ares.
*/
Palette.model.push(
{name: "Tree", items: [
{name: "Tree", title: "Selectable sub-view", icon: "package_new.png", stars: 4.5, version: 2.0, blurb: "A component for Trees",
inline: {kind: "FittableColumns", style: "height: 40px; position: relative;", paddin... | apache-2.0 |
GillesMoris/OSS | src/org/zaproxy/zap/utils/Statistics.java | 2594 | /*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2016 The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*... | apache-2.0 |
ern/elasticsearch | modules/percolator/src/internalClusterTest/java/org/elasticsearch/percolator/PercolatorQuerySearchIT.java | 55601 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | apache-2.0 |
nmoghadam/jbpm | jbpm-audit/src/main/java/org/jbpm/process/audit/query/NodeInstLogQueryBuilderImpl.java | 2928 | /*
* Copyright 2015 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under t... | apache-2.0 |
DMHP/jaggery | components/jaggery-core/org.jaggeryjs.jaggery.core/src/main/java/org/jaggeryjs/jaggery/core/websocket/JaggeryWebSocketServlet.java | 1980 | package org.jaggeryjs.jaggery.core.websocket;
import org.apache.catalina.websocket.StreamInbound;
import org.apache.catalina.websocket.WebSocketServlet;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jaggeryjs.hostobjects.web.WebSocketHostObject;
import org.jaggeryjs.ja... | apache-2.0 |
ibinti/intellij-community | platform/funcTests/project1/module1/src/com/intellij/testProject/idea/ClassWithManyImports.java | 2191 | package com.intellij.testProject.idea;
import java.*;
import java.util.*;
import java.applet.*;
import java.awt.*;
import java.beans.*;
import java.io.*;
import java.nio.*;
import java.rmi.*;
import java.sql.*;
import java.text.*;
import java.*;
import java.util.*;
import java.applet.*;
import java.awt.*;
import java.... | apache-2.0 |
xiaofu/apache-hbase-0.94.10-read | src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoprocessorInterface.java | 17120 | /**
* Copyright 2010 The Apache Software Foundation
*
* 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-2.0 |
kidaa/incubator-ignite | modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCachePartitionedGetAndTransformStoreSelfTest.java | 1311 | /*
* 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 |
jack-moseley/gobblin | gobblin-runtime/src/test/java/org/apache/gobblin/runtime/job_catalog/TestImmutableFSJobCatalog.java | 3054 | /*
* 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 |
jstrachan/quickstarts | sandbox/apps/infinispan-server/src/test/java/io/fabric8/apps/infinispan/InfinispanServerKubernetesTest.java | 6787 | /*
* Copyright 2005-2015 Red Hat, Inc.
*
* Red Hat licenses this file to you 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 |
ariatemplates/ariatemplates | test/aria/jsunit/mock/RedirectToFile.js | 920 | /*
* Copyright 2012 Amadeus s.a.s.
* 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 i... | apache-2.0 |
SiddharthChatrolaMs/azure-sdk-for-net | src/SDKs/Authorization/Authorization.Tests/Tests/GraphTestBase.cs | 3720 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Collections.Generic;
using System.Security.Cryptography;
using Microsoft.Azure.Test.HttpRecorder;
using System.Secu... | apache-2.0 |
pacharawat/assignmentfacebook | connect-database/src/main/java/com/blogspot/na5cent/connectdb/Q3QueryWithParameters.java | 1986 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.blogspot.na5cent.connectdb;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import j... | apache-2.0 |
darkforestzero/buck | test/com/facebook/buck/jvm/java/ExternalJavacEscaperTest.java | 2741 | /*
* Copyright 2014-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 law or... | apache-2.0 |
wiltonlazary/arangodb | 3rdParty/V8/v7.9.317/test/debugger/debug/regress/regress-1170187.js | 3159 | // Copyright 2008 the V8 project authors. 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 retain the above copyright
// notice, this list of ... | apache-2.0 |
JT5D/blk-game | src/blk/env/blocks/dirtblock.js | 2166 | /**
* Copyright 2012 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 appli... | apache-2.0 |
wikimedia/phabricator | src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldText.php | 1973 | <?php
final class PhabricatorStandardCustomFieldText
extends PhabricatorStandardCustomField {
public function getFieldType() {
return 'text';
}
public function buildFieldIndexes() {
$indexes = array();
$value = $this->getFieldValue();
if (strlen($value)) {
$indexes[] = $this->newString... | apache-2.0 |
mbroadst/debian-qpid-proton | proton-j/src/main/resources/cssl.py | 3207 | #
# 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 not... | apache-2.0 |
adeshr/qds-sdk-py | qds_sdk/group.py | 9599 | import json
from qds_sdk.qubole import Qubole
from qds_sdk.resource import Resource
from argparse import ArgumentParser
class GroupCmdLine:
"""
qds_sdk.GroupCmdLine is the interface used by qds.py.
"""
@staticmethod
def parsers():
argparser = ArgumentParser(prog="qds.py group",
... | apache-2.0 |
zsyzsyhao/zstack | sdk/src/main/java/org/zstack/sdk/CreateEipResult.java | 269 | package org.zstack.sdk;
public class CreateEipResult {
public EipInventory inventory;
public void setInventory(EipInventory inventory) {
this.inventory = inventory;
}
public EipInventory getInventory() {
return this.inventory;
}
}
| apache-2.0 |
rmarting/camel | platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/kms/springboot/KMSComponentAutoConfiguration.java | 6086 | /**
* 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 |
ionelmc/python-cookiepatcher | ci/bootstrap.py | 2886 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
import os
import subprocess
import sys
from os.path import abspath
from os.path import dirname
from os.path import exists
from os.path import join
base_pat... | bsd-2-clause |
bdhess/homebrew-cask | Casks/maltego-classic.rb | 391 | cask 'maltego-classic' do
version '4.0.8.9246'
sha256 '9a36647f54760b0bba40634d19184470d5cdd073d3e4d772fdac3281c6b955fa'
url "https://www.paterva.com/malv#{version.major}/classic/Maltego.v#{version}.dmg"
name 'Paterva Maltego'
homepage 'https://www.paterva.com/web7/buy/maltego-clients/maltego.php'
license ... | bsd-2-clause |