repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
fhgwright/SCSI2SD | software/scsi2sd-util/wxWidgets/src/html/helpfrm.cpp | 7528 | /////////////////////////////////////////////////////////////////////////////
// Name: src/html/helpfrm.cpp
// Purpose: wxHtmlHelpFrame
// Notes: Based on htmlhelp.cpp, implementing a monolithic
// HTML Help controller class, by Vaclav Slavik
// Author: Harm van der Heijden and Vacla... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Windurst_Woods/npcs/Gottah_Maporushanoh.lua | 1099 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Gottah Maporushanoh
-- Working 100%
-----------------------------------
require("scripts/globals/settings");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-------... | gpl-3.0 |
Mhynlo/SickRage | sickrage/recompiled/tags.py | 994 |
import re
# Resolutions
resolution = [
re.compile(r'(?P<vres>4320|2160|1080|720|480|360)(?P<scan>[pi])', re.I),
re.compile(r'(:?[sph]d)(:?.?tv)?[ \-_\.]*(?P<vres>4320|2160|1080|720|480|360)(:?(?P<scan>[pi])|[^\d]|$)', re.I)
]
# Sources
tv = re.compile(r'([sph]d).?tv|tv(rip|mux)', re.I)
dvd = re.compile(r'(?... | gpl-3.0 |
retailcoder/Rubberduck | Rubberduck.Core/Navigation/CodeExplorer/CodeExplorerItemViewModel.cs | 2382 | using System.Collections.Generic;
using System.Linq;
using Rubberduck.Parsing.Symbols;
namespace Rubberduck.Navigation.CodeExplorer
{
public abstract class CodeExplorerItemViewModel : CodeExplorerItemViewModelBase
{
protected CodeExplorerItemViewModel(ICodeExplorerNode parent, Declaration declaration) ... | gpl-3.0 |
ktracaengemark/sistema2 | application/views/fornecedor/1nav_secundario.php | 1644 | <?php if ( !isset($evento) && isset($_SESSION['Empresa'])) { ?>
<ul class="nav nav-sidebar">
<li>
<div class="text-center t">
<h4><?php echo '<strong>' . $_SESSION['Empresa']['NomeEmpresa'] . '</strong><br><small>Identificador: ' . $_SESSION['Empresa']['idApp_Empresa'] . '</small>' ?></h4>
... | gpl-3.0 |
VladRassokhin/terraform | backend/remote-state/artifactory/backend.go | 2554 | package artifactory
import (
"context"
cleanhttp "github.com/hashicorp/go-cleanhttp"
"github.com/hashicorp/terraform/backend"
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform/state"
"github.com/hashicorp/terraform/state/remote"
artifactory "github.com/lusis/go-artifactory/src/arti... | mpl-2.0 |
bobtfish/terraform | helper/resource/state.go | 3480 | package resource
import (
"errors"
"fmt"
"log"
"math"
"time"
)
// StateRefreshFunc is a function type used for StateChangeConf that is
// responsible for refreshing the item being watched for a state change.
//
// It returns three results. `result` is any object that will be returned
// as the final object after... | mpl-2.0 |
SymfoniNext/furrow | vendor/github.com/docker/docker/daemon/images.go | 8785 | package daemon
import (
"encoding/json"
"fmt"
"sort"
"time"
"github.com/pkg/errors"
"github.com/docker/distribution/reference"
"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/filters"
"github.com/docker/docker/container"
"github.com/docker/docker/image"
"github.com/docker/docker/l... | mpl-2.0 |
just-boris/bem-components | common.blocks/input/input.deps.js | 517 | [{
mustDeps : { block : 'i-bem', elems : 'dom' },
shouldDeps : [
{
mods : { disabled : true, focused : true },
elems : ['box', 'control']
},
'control'
]
},
{
tech : 'spec.js',
mustDeps : { tech : 'bemhtml', block : 'input' }
},
{
tech : 'tmpl-spec.... | mpl-2.0 |
FreudianNM/openMAXIMS | Source Library/openmaxims_workspace-archive/ClinicalAdmin/src/ims/clinicaladmin/domain/Vertebrallevels.java | 2150 | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | agpl-3.0 |
redconfetti/canvas-lms | app/models/account_user.rb | 5088 | #
# Copyright (C) 2011 Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas 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, version 3 of the License.
#
# Canvas is distributed in the hope that ... | agpl-3.0 |
HotChalk/canvas-lms | spec/views/gradebooks/submissions_zip_upload.html.erb_spec.rb | 1369 | #
# Copyright (C) 2016 Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas 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, version 3 of the License.
#
# Canvas is distributed in the hope that ... | agpl-3.0 |
IMS-MAXIMS/openMAXIMS | Source Library/openmaxims_workspace-archive/Oncology/src/ims/oncology/forms/adjustmenttimesreasons/IFormUILogicCode.java | 1783 | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | agpl-3.0 |
ClearCorp/account-financial-tools | account_partner_balance/__openerp__.py | 1706 | # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2015 ADHOC SA (http://www.adhoc.com.ar)
# All Rights Reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Pu... | agpl-3.0 |
FreudianNM/openMAXIMS | Source Library/openmaxims_workspace-archive/Admin/src/ims/admin/forms/externalresourcesconfig/FormInfo.java | 2538 | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | agpl-3.0 |
artsmorgan/crmtecnosagot | app/protected/core/utils/DropDownUtil.php | 3023 | <?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2015 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of t... | agpl-3.0 |
24eme/giilde | project/plugins/acElasticaPlugin/lib/vendor/Elastica/test/lib/Elastica/Query/MultiMatchTest.php | 1134 | <?php
require_once dirname(__FILE__) . '/../../../bootstrap.php';
class Elastica_Query_MultiMatchTest extends Elastica_Test
{
public function testQuery()
{
$client = new Elastica_Client();
$index = new Elastica_Index($client, 'test');
$index->create(array(), true);
$type = new E... | agpl-3.0 |
arbrandes/edx-platform | openedx/core/djangoapps/util/tests/test_signals.py | 850 | # pylint: disable=no-member, missing-docstring
from unittest import TestCase
from pytest import mark
from celery import shared_task
from django.test.utils import override_settings
from edx_django_utils.cache import RequestCache
@mark.django_db
class TestClearRequestCache(TestCase):
"""
Tests _clear_request... | agpl-3.0 |
rossjones/openMAXIMS | Source Library/openmaxims_workspace/ValueObjects/src/ims/clinical/vo/beans/MDTListAndDatesVoBean.java | 5287 | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | agpl-3.0 |
rossjones/openMAXIMS | Source Library/openmaxims_workspace/ValueObjects/src/ims/core/vo/beans/PatientIdListVoBean.java | 3393 | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | agpl-3.0 |
rossjones/openMAXIMS | Source Library/openmaxims_workspace/ValueObjects/src/ims/pathways/vo/domain/PatientPathwayJourneyLiteVoAssembler.java | 16579 | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | agpl-3.0 |
OpenSourcePolitics/datea-webapp | datea-webapp/bower_components/datejs/build/production/date-fa-IR.min.js | 55655 | /**
* @overview datejs
* @version 1.0.0-rc1
* @author Gregory Wild-Smith <gregory@wild-smith.com>
* @copyright 2014 Gregory Wild-Smith
* @license MIT
* @homepage https://github.com/abritinthebay/datejs
*/
/*
2014 Gregory Wild-Smith
@license MIT
@homepage https://github.com/abritinthebay/datejs
2014 Gregory ... | agpl-3.0 |
mindnervestech/mnrp | openerp/http.py | 57360 | # -*- coding: utf-8 -*-
#----------------------------------------------------------
# OpenERP HTTP layer
#----------------------------------------------------------
import ast
import collections
import contextlib
import datetime
import errno
import functools
import getpass
import inspect
import logging
import mimetypes... | agpl-3.0 |
yasir1brahim/OLiMS | lims/browser/js/bika.lims.instrument.import.js | 4480 | /**
* Controller class for Instrument Import View
*/
function InstrumentImportView() {
var that = this;
/**
* Entry-point method for Instrument Import View
*/
that.load = function() {
// Load import form for selected data interface
$("#exim").change(function(){
$('... | agpl-3.0 |
Gentux/nanocloud | config/jsonapi.js | 1087 | /**
* Nanocloud turns any traditional software into a cloud solution, without
* changing or redeveloping existing source code.
*
* Copyright (C) 2016 Nanocloud Software
*
* This file is part of Nanocloud.
*
* Nanocloud is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affe... | agpl-3.0 |
fredericDelaporte/nhibernate-core | src/NHibernate/Multi/ICachingInformationWithFetches.cs | 255 | using NHibernate.Type;
namespace NHibernate.Multi
{
// 6.0 TODO: merge into 'ICachingInformation'.
internal interface ICachingInformationWithFetches
{
/// <summary>
/// The query cache types.
/// </summary>
IType[] CacheTypes { get; }
}
}
| lgpl-2.1 |
xetown/xe-core | modules/advanced_mailer/tpl/js/spf_dkim.js | 1517 |
(function($) {
$(function() {
$("#advanced_mailer_check_spf,#advanced_mailer_check_dkim").click(function(event) {
event.preventDefault();
var check_type = $(this).attr("id").match(/_spf$/) ? "spf" : "dkim";
var check_hostname = $(this).siblings("span.monospace").text();
if (!check_hostname) {
a... | lgpl-2.1 |
nhibernate/nhibernate-core | src/NHibernate.Test/MappingByCode/ExplicitlyDeclaredModelTests/RootClassMappingStrategyTests.cs | 5381 | using NHibernate.Mapping.ByCode;
using NUnit.Framework;
namespace NHibernate.Test.MappingByCode.ExplicitlyDeclaredModelTests
{
[TestFixture]
public class RootClassMappingStrategyTests
{
private class MyClass
{
}
private class Inherited1: MyClass
{
}
private class Inherited2 : Inherited1
{
}
[Te... | lgpl-2.1 |
bob-the-hamster/commandergenius | project/jni/application/enigma/src/gui/Menu.hh | 2951 | /*
* Copyright (C) 2002,2003,2004,2005,2006 Daniel Heck
*
* 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.
*
* Th... | lgpl-2.1 |
MichaelMcDonnell/vrjuggler | modules/vapor/vpr/DynLoad/LibraryException.cpp | 1772 | /****************** <VPR heading BEGIN do not edit this line> *****************
*
* VR Juggler Portable Runtime
*
* Original Authors:
* Allen Bierbaum, Patrick Hartling, Kevin Meinert, Carolina Cruz-Neira
*
****************** <VPR heading END do not edit this line> ******************/
/*************** <auto-c... | lgpl-2.1 |
joshkh/intermine | intermine/jbrowse-endpoint/main/src/org/intermine/webservice/server/jbrowse/Names.java | 11311 | package org.intermine.webservice.server.jbrowse;
/*
* Copyright (C) 2002-2015 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/co... | lgpl-2.1 |
MichaelMcDonnell/vrjuggler | modules/vrjuggler/vrj/Sound/SoundManagerSonix.cpp | 8136 | /*************** <auto-copyright.pl BEGIN do not edit this line> **************
*
* VR Juggler is (C) Copyright 1998-2011 by Iowa State University
*
* Original Authors:
* Allen Bierbaum, Christopher Just,
* Patrick Hartling, Kevin Meinert,
* Carolina Cruz-Neira, Albert Baker
*
* This library is free soft... | lgpl-2.1 |
soul2zimate/wildfly-core | testsuite/elytron/src/test/java/org/wildfly/test/security/common/elytron/OtpCredentialMapper.java | 3199 | /*
* Copyright 2017 Red Hat, 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 ... | lgpl-2.1 |
BerserkerTroll/root | interpreter/llvm/src/tools/clang/lib/Frontend/ASTUnit.cpp | 104887 | //===--- ASTUnit.cpp - ASTUnit utility --------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | lgpl-2.1 |
wolfgangmm/exist | exist-core/src/main/java/org/exist/xquery/WhereClause.java | 6398 | /*
* eXist-db Open Source Native XML Database
* Copyright (C) 2001 The eXist-db Authors
*
* info@exist-db.org
* http://www.exist-db.org
*
* 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 Foun... | lgpl-2.1 |
PySide/PySide | tests/QtGui/bug_921.py | 1121 | #!/usr/bin/env python
import unittest
import PySide.QtCore as QtCore
import PySide.QtGui as QtGui
from helper import TimedQApplication
class Signaller(QtCore.QObject):
s1 = QtCore.Signal()
s2 = QtCore.Signal()
s3 = QtCore.Signal()
class Window(object):
def __init__(self, s):
self._window =... | lgpl-2.1 |
youp911/glycoworkbench | src/org/eurocarbdb/application/glycoworkbench/plugin/s3/gui/AWSDevPayProductPanel.java | 4606 | /*
* jets3t : Java Extra-Tasty S3 Toolkit (for Amazon S3 online storage service)
* This is a java.net project, see https://jets3t.dev.java.net/
*
* Copyright 2008 Zmanda Inc, 2008 James Murty
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with... | lgpl-3.0 |
learn-something-new/c-web-server | bfHttpServer/src/httpresponse.cpp | 3661 | /**
@file
@author Stefan Frings
*/
#include "httpresponse.h"
HttpResponse::HttpResponse(QTcpSocket* socket) {
this->socket=socket;
statusCode=200;
statusText="OK";
sentHeaders=false;
sentLastPart=false;
}
void HttpResponse::setHeader(QByteArray name, QByteArray value) {
Q_ASSERT(sentHeade... | lgpl-3.0 |
NickCraver/dotless | lib/PEG_GrammarExplorer/PEG_GrammarExplorer/PegSamples/python_2_5_2/input/interactive_19.py | 15 | a, b = 0, 1
| apache-2.0 |
hyperledger/fabric | core/common/validation/statebased/v13.go | 2467 | /*
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package statebased
import (
commonerrors "github.com/hyperledger/fabric/common/errors"
validation "github.com/hyperledger/fabric/core/handlers/validation/api/policies"
"github.com/hyperledger/fabric/protoutil"
"github.com/pkg/erro... | apache-2.0 |
bombless/rust | src/librustc_back/fs.rs | 3356 | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | apache-2.0 |
nunogt/tempest | tempest/api/compute/admin/test_live_migration.py | 6839 | # Copyright 2012 OpenStack Foundation
# 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 requ... | apache-2.0 |
divdavem/ariatemplates | test/aria/widgets/calendar/rangeCalendar/CalendarRobotBase.js | 5903 | /*
* Copyright 2014 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 |
avram/dynamodb-titan-storage-backend | src/main/java/com/amazon/titan/diskstorage/dynamodb/QueryResultWrapper.java | 1188 | /*
* Copyright 2014-2015 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 "lice... | apache-2.0 |
luna1x/chef-server | vendor/ruby/1.9.1/gems/ohai-6.18.0/lib/ohai/plugins/java.rb | 1505 | #
# Author:: Benjamin Black (<bb@opscode.com>)
# Copyright:: Copyright (c) 2009 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
#
# ... | apache-2.0 |
harryge00/kubernetes | staging/src/k8s.io/client-go/pkg/api/v1/zz_generated.conversion.go | 242069 | // +build !ignore_autogenerated
/*
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 applica... | apache-2.0 |
brettwooldridge/buck | src/com/facebook/buck/cli/bootstrapper/filesystem/BuckFileSystemProvider.java | 9092 | /*
* Copyright 2018-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 |
NanXiao/luv | examples/uvbook/thread-create.lua | 1081 | local uv = require('luv')
local hare_id = uv.new_thread()
local tortoise_id = uv.new_thread()
local step = 10
uv.thread_create(hare_id,function(step,...)
local ffi = require'ffi'
local uv = require('luv')
local sleep
if ffi.os=='Windows' then
ffi.cdef "void Sleep(int ms);"
sleep = ff... | apache-2.0 |
Intel-tensorflow/tensorflow | tensorflow/python/data/experimental/kernel_tests/optimization/map_parallelization_test.py | 6258 | # Copyright 2018 The TensorFlow 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 applica... | apache-2.0 |
Intel-tensorflow/tensorflow | tensorflow/python/util/tf_inspect.py | 15554 | # Copyright 2017 The TensorFlow 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 applica... | apache-2.0 |
wwjiang007/hadoop | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/nodelabels/TestRMDelegatedNodeLabelsUpdater.java | 6138 | /**
* 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 |
sdwilsh/buck | src/com/facebook/buck/cxx/SharedLibraryInterfaceFactory.java | 1413 | /*
* Copyright 2016-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 |
DagensNyheter/helios | helios-service-registration/src/main/java/com/spotify/helios/serviceregistration/ServiceRegistration.java | 5599 | /*
* Copyright (c) 2014 Spotify AB.
*
* 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,... | apache-2.0 |
ttt43ttt/gwt-crypto | src/main/java/org/bouncycastle/crypto/Xof.java | 729 | package org.bouncycastle.crypto;
/**
* With FIPS PUB 202 a new kind of message digest was announced which supported extendable output, or variable digest sizes.
* This interface provides the extra method required to support variable output on an extended digest implementation.
*/
public interface Xof
extends Ex... | apache-2.0 |
OpenSocial/explorer | opensocial-explorer-webcontent/src/test/resources/dojo-release-1.8.3/dojox/mobile/scrollable.js.uncompressed.js | 43745 | define("dojox/mobile/scrollable", [
"dojo/_base/kernel",
"dojo/_base/connect",
"dojo/_base/event",
"dojo/_base/lang",
"dojo/_base/window",
"dojo/dom-class",
"dojo/dom-construct",
"dojo/dom-style",
"./sniff"
], function(dojo, connect, event, lang, win, domClass, domConstruct, domStyle, has){
// module:
// d... | apache-2.0 |
fmakari/systemml | system-ml/src/test/java/com/ibm/bi/dml/test/integration/functions/unary/scalar/AbsTest.java | 4154 | /**
* (C) Copyright IBM Corp. 2010, 2015
*
* 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 a... | apache-2.0 |
alexandrul-ci/robotframework | src/robot/output/librarylogger.py | 2227 | # Copyright 2008-2015 Nokia Networks
# Copyright 2016- Robot Framework Foundation
#
# 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 |
hongchaodeng/kubernetes | test/e2e/storage/volume_provisioning.go | 40188 | /*
Copyright 2016 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 |
Ryman/rust | src/test/run-pass/overloaded-autoderef-count.rs | 1789 | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | apache-2.0 |
jmluy/elasticsearch | x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutResponseHandlerHttpPostTests.java | 4710 | /*
* 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; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.security.authc.saml;
import org.e... | apache-2.0 |
jorgensigvardsson/GraphX | Examples/WindowsFormsProject/Properties/AssemblyInfo.cs | 1414 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Wi... | apache-2.0 |
Esquive/kafka | clients/src/main/java/org/apache/kafka/common/requests/ApiVersionsResponse.java | 8403 | /*
* 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 n... | apache-2.0 |
markstgodard/routing-api | Godeps/_workspace/src/github.com/pivotal-golang/lager/reconfigurable_sink_test.go | 1452 | package lager_test
import (
"github.com/pivotal-golang/lager"
"github.com/pivotal-golang/lager/lagertest"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
)
var _ = Describe("ReconfigurableSink", func() {
var (
testSink *lagertest.TestSink
sink *lager.ReconfigurableSin... | apache-2.0 |
SeleniumHQ/buck | src/com/facebook/buck/core/description/arg/HasTestTimeout.java | 761 | /*
* Copyright 2017-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 |
eformat/apiman-1 | gateway/engine/policies/src/main/java/io/apiman/gateway/engine/policies/rewrite/URLRewritingStream.java | 9562 | /*
* 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.
* 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 |
MerritCR/merrit | gerrit-server/src/main/java/com/google/gerrit/server/project/TagResource.java | 1163 | // 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 applicable ... | apache-2.0 |
normanmaurer/java-driver | driver-core/src/test/java/com/datastax/driver/core/RecommissionedNodeTest.java | 6063 | package com.datastax.driver.core;
import java.util.concurrent.TimeUnit;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.Test;
import com.datastax.driver.core.utils.CassandraVersion;
import static com.datastax.driver.core.Assertions.*... | apache-2.0 |
dbroeglin/cookbooks | mysql/recipes/client.rb | 1837 | #
# Cookbook Name:: mysql
# Recipe:: client
#
# Copyright 2008-2009, Opscode, 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
#
# Unles... | apache-2.0 |
hy9902/Smack | smack-sasl-provided/src/main/java/org/jivesoftware/smack/sasl/provided/SASLPlainMechanism.java | 2090 | /**
*
* Copyright 2014 Florian Schmaus
*
* 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 |
jcosmo/scoutmgr | vendor/tools/buildr_plus/lib/buildr_plus/features/xml.rb | 590 | #
# 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 under ... | apache-2.0 |
jboss-switchyard/switchyard | release/admin/rhq/src/main/java/org/switchyard/rhq/plugin/ComponentServiceOperationDiscoveryComponent.java | 3048 | /*
* Copyright 2013 Red Hat Inc. and/or its affiliates and other contributors.
*
* 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 req... | apache-2.0 |
g9yuayon/RxNetty | rx-netty/src/main/java/io/reactivex/netty/protocol/http/client/HttpResponseHeaders.java | 5507 | /*
* Copyright 2014 Netflix, 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 |
mpimenov/omim | qt/build_style/build_statistics.cpp | 1742 | #include "build_statistics.h"
#include "build_common.h"
#include "platform/platform.hpp"
#include <QtCore/QDir>
#include <QtCore/QFile>
#include <QtCore/QFileInfo>
#include <QtCore/QStringList>
#include <exception>
#include <string>
namespace
{
QString GetScriptPath()
{
return GetExternalPath("drules_info.py", "... | apache-2.0 |
racker/kafka | tests/kafkatest/services/performance/consumer_performance.py | 6538 | # 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 use ... | apache-2.0 |
strubell/factorie | src/main/scala/cc/factorie/app/topics/lda/LREval.scala | 6280 | /* Copyright (C) 2008-2016 University of Massachusetts Amherst.
This file is part of "FACTORIE" (Factor graphs, Imperative, Extensible)
http://factorie.cs.umass.edu, http://github.com/factorie
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with... | apache-2.0 |
ya7lelkom/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201408/ResumeAndOverbookOrders.java | 1010 |
package com.google.api.ads.dfp.jaxws.v201408;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
*
* The action used for resuming and overbooking {@link Order} objects.
* All {@link LineItem} obj... | apache-2.0 |
racker/omnibus | source/ruby-1.9.2-p180/lib/date.rb | 55925 | #
# date.rb - date and time library
#
# Author: Tadayoshi Funaba 1998-2010
#
# Documentation: William Webber <william@williamwebber.com>
#
#--
# $Id: date.rb,v 2.37 2008-01-17 20:16:31+09 tadf Exp $
#++
#
# == Overview
#
# This file provides two classes for working with
# dates and times.
#
# The first class, Date, rep... | apache-2.0 |
rashidaligee/kylo | services/metadata-service/metadata-rest-model/src/main/java/com/thinkbiganalytics/metadata/rest/model/nifi/NiFiFlowCacheConnectionData.java | 2659 | package com.thinkbiganalytics.metadata.rest.model.nifi;
/*-
* #%L
* thinkbig-metadata-rest-model
* %%
* Copyright (C) 2017 ThinkBig Analytics
* %%
* 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 ... | apache-2.0 |
tdiesler/camel | core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Olingo2EndpointBuilderFactory.java | 80294 | /*
* 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 |
jendap/tensorflow | tensorflow/core/platform/cloud/oauth_client.cc | 11499 | /* Copyright 2016 The TensorFlow 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 a... | apache-2.0 |
sajithab/carbon-dashboards | apps/portal/modules/utils.js | 5246 | var log = new Log();
var relativePrefix = function (path) {
var parts = path.split('/');
var prefix = '';
var i;
var count = parts.length - 3;
for (i = 0; i < count; i++) {
prefix += '../';
}
return prefix;
};
var tenantedPrefix = function (prefix, domain) {
if (!domain) {
... | apache-2.0 |
Microsoft/TypeScript | tests/cases/fourslash/refactorConvertStringOrTemplateLiteral_escapedBackslashes.ts | 594 | /// <reference path='fourslash.ts' />
//// console.log(/*0*/"\\[[" + text + "](" + link + ")\\]"/*1*/)
goTo.select("0", "1");
edit.applyRefactor({
refactorName: "Convert to template string",
actionName: "Convert to template string",
actionDescription: ts.Diagnostics.Convert_to_template_string.message,
... | apache-2.0 |
kay-kim/mongo-java-driver | driver-core/src/main/com/mongodb/connection/ConnectionDescription.java | 6053 | /*
* Copyright (c) 2008-2014 MongoDB, 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 a... | apache-2.0 |
umangmehta12/elasticsearch-server | elasticsearch-server-node/src/main/java/org/elasticsearch/index/cache/field/data/FieldDataCacheModule.java | 1752 | /*
* 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... | apache-2.0 |
koscejev/camel | camel-core/src/test/java/org/apache/camel/model/GatherAllStaticEndpointUrisTest.java | 2605 | /**
* 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 |
izenecloud/idmlib | include/idmlib/maxent/token_mem_iterator.hpp | 5071 | // Stream iterators over text lines
// Modified from istream_iterator implementation from GNU ISO C++ Library
// Typical code:
// token_mem_iterator<> line(cin);
// token_mem_iterator<> lend;
// for (; line != lend; ++line) {
// cout << string(line->first, line->second - line->first) << endl;
// }
//... | apache-2.0 |
anoordover/camel | components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/stream/GoogleMailStreamConstants.java | 1260 | /**
* 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 |
fpape/AxonFramework | mongo/src/main/java/org/axonframework/eventstore/mongo/MongoTemplate.java | 1328 | /*
* Copyright (c) 2010-2014. Axon Framework
*
* 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 ... | apache-2.0 |
asancheza/google-adwords-integration | examples/AdWords/v201309/CampaignManagement/PromoteExperiment.php | 2774 | <?php
/**
* This example promotes an experiment, which permanently applies all the
* experimental changes made to its related ad groups, criteria and ads.
* To add an experiment, run AddExperiment.php.
*
* Tags: ExperimentService.mutate
* Restriction: adwords-only
*
* Copyright 2012, Google Inc. All Rights Rese... | apache-2.0 |
Karandaras/scene-reconstruction-gazebo | gazebo/gui/qtpropertybrowser/qtvariantproperty.cpp | 92612 | /****************************************************************************
**
** 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 a Qt Solutions component.
**
** You may use this file und... | apache-2.0 |
kaktus40/cesium | Source/Core/CylinderOutlineGeometry.js | 10173 |
define([
'./arrayFill',
'./BoundingSphere',
'./Cartesian2',
'./Cartesian3',
'./Check',
'./ComponentDatatype',
'./CylinderGeometryLibrary',
'./defaultValue',
'./defined',
'./DeveloperError',
'./Geometry',
'./GeometryAttribut... | apache-2.0 |
Metaswitch/calico-neutron | neutron/services/firewall/agents/l3reference/firewall_l3_agent.py | 13368 | # Copyright (c) 2013 OpenStack Foundation.
# 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 |
danteinforno/flex-sdk | modules/compiler/src/java/flex2/compiler/mxml/dom/BindingNode.java | 1491 | /*
*
* 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"); ... | apache-2.0 |
Intel-tensorflow/tensorflow | tensorflow/python/distribute/multi_worker_continuous_run_test.py | 5378 | # Copyright 2019 The TensorFlow 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 applica... | apache-2.0 |
dmitryintel/osc-core | osc-service-api/src/main/java/org/osc/core/broker/service/api/ImportApplianceSoftwareVersionServiceApi.java | 1072 | /*******************************************************************************
* Copyright (c) Intel Corporation
* Copyright (c) 2017
*
* 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
... | apache-2.0 |
KiloBravoLima/roslyn | src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenExprLambdaTests.cs | 233491 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.IO;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Test.Utilities;
using Ros... | apache-2.0 |
greenbender/django-datatable-view | datatableview/tests/example_project/example_project/example_app/static/syntaxhighlighter/shBrushJScript.js | 1253 | /**
* SyntaxHighlighter
* http://alexgorbatchev.com/SyntaxHighlighter
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
*
* @version
* 3.0.83 (July 02 2010)
*
* @copyright
* Copyright (C) 2004-2010 Alex Gorbatchev.
*
* @lic... | apache-2.0 |
DongyiYang/k8sconnection | vendor/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/types.generated.go | 584447 | /*
Copyright 2016 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 |
archerjd/modularcombat_v3.0.0 | 3.0.0/src/game/server/point_camera.cpp | 7037 | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
#include "igamesystem.h"
#include "point_camera.h"
// memdbgon must be the last include file in a .cpp ... | artistic-2.0 |
mahori/homebrew-cask | Casks/tableau-reader.rb | 698 | cask "tableau-reader" do
version "2021.4.3"
sha256 "d838e4af381f85d8372d4a15485dad060de918c9d82d3f87ce02df26f38f8777"
url "https://downloads.tableau.com/tssoftware/TableauReader-#{version.dots_to_hyphens}.dmg"
name "Tableau Reader"
desc "Open and interact with data visualizations built in Tableau Desktop"
... | bsd-2-clause |