repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
mediumTaj/dotnet-standard-sdk-generated
examples/IBM.WatsonDeveloperCloud.LanguageTranslator.v2.Example/Properties/AssemblyInfo.cs
869
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: AssemblyConfigurat...
apache-2.0
kogecoo/chef-mecab
test/integration/perl/serverspec/mecab-perl_spec.rb
151
require 'spec_helper' describe command('perl -e "require MeCab; print MeCab::Model::version()"') do its(:stdout) { should match (/\d\.\d{3}/) } end
apache-2.0
RichardScothern/notary
version/print.go
584
package version import ( "fmt" "io" "os" ) // FprintVersion outputs the version string to the writer, in the following // format, followed by a newline: // // <cmd> <project> <version> // // For example, a binary "registry" built from github.com/docker/distribution // with version "v2.0" would print the following...
apache-2.0
winny19/entersoft-scanner
lib/arachni/bloom_filter.rb
1684
=begin Copyright 2010-2012 Tasos Laskos <tasos.laskos@gmail.com> 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 requi...
apache-2.0
humhub/humhub-modules-notes
messages/fa-IR/views_notifications_NoteCreated.php
176
<?php return array ( '{userName} created a new note and assigned you.' => '{userName} یک یادداشت جدید ایجاد کرد و به شما اختصاص داد.', );
apache-2.0
mrinsss/Full-Repo
AMS+WSDL/ams/system/core/Utf8.php
3748
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * CodeIgniter * * An open source application development framework for PHP 5.1.6 or newer * * @package CodeIgniter * @author ExpressionEngine Dev Team * @copyright Copyright (c) 2008 - 2011, EllisLab, Inc. * @license htt...
apache-2.0
jacobpovar/MassTransit
src/MassTransit/Configuration/ConsumeConnectors/ConsumerConnector.cs
2992
// Copyright 2007-2017 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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
baslr/ArangoDB
3rdParty/V8/V8-5.0.71.39/test/mjsunit/harmony/simd.js
17799
// Copyright 2015 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Flags: --harmony-simd --harmony-tostring --harmony-reflect // Flags: --allow-natives-syntax --expose-natives-as natives --noalways-opt function lan...
apache-2.0
ilantukh/ignite
modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/RestBinaryProtocolSelfTest.java
21408
/* * 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
whitten/mdo
mdo-test/src/mdo/utils/DateUtilsTest.cs
11628
#region CopyrightHeader // // Copyright by 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.txt // // Unless requ...
apache-2.0
jasongzcity/MyAlgorithm
leetcode-cpp/BurstBalloons_312/main.cpp
3312
// // main.cpp // BurstBalloons_312 // // Created by Wenzhe Lu on 2018/3/20. // Copyright © 2018年 Wenzhe Lu. All rights reserved. // //Given n balloons, indexed from 0 to n-1. //Each balloon is painted with a number on it represented by array nums. //You are asked to burst all the balloons. //If the you burst ball...
apache-2.0
GoogleCloudPlatform/cloud-foundation-toolkit
dm/src/cloud_foundation_toolkit/__init__.py
561
import logging import pkg_resources from googlecloudsdk.core.credentials import store as creds_store # Setup logging and expose Logger object to the rest of the project LOG = logging.getLogger("cft") LOG.addHandler(logging.StreamHandler()) LOG.propagate = False __VERSION__ = pkg_resources.get_distribution(__name__)....
apache-2.0
DarwinSPL/DarwinSPL
plugins/eu.hyvar.feature.constraint.resource.hyconstraints.ui/src-gen/eu/hyvar/feature/constraint/resource/hyconstraints/ui/HyconstraintsDamagerRepairer.java
1218
/** * <copyright> * </copyright> * * */ package eu.hyvar.feature.constraint.resource.hyconstraints.ui; import org.eclipse.jface.text.rules.DefaultDamagerRepairer; import org.eclipse.jface.text.rules.ITokenScanner; /** * This class subclasses the {@link DefaultDamagerRepairer} and modifies of a * damage region...
apache-2.0
lucas34/Scyla
library/src/main/java/kit/scyla/core/facets/gravityCenter/GravityCenter.java
1149
/* * Copyright 2015-present Lucas Nelaupe and Ferrand * * 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 a...
apache-2.0
RobAltena/deeplearning4j
libnd4j/include/loops/cpu/compilation_units/broadcast_p0.cpp
984
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
apache-2.0
mesutcelik/hazelcast
hazelcast/src/test/java/com/hazelcast/partition/IndeterminateOperationStateExceptionTest.java
11642
/* * Copyright (c) 2008-2020, 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
FNCxPro/MoarPeripherals
src/main/java/com/moarperipherals/integration/upgrade/UpgradeChatBox.java
2334
/** * Copyright 2014-2015 Joshua Asbury (@theoriginalbit) * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless req...
apache-2.0
nesfit/NetfoxDetective
Framework/Framework.Models/Interfaces/IL7ConversationFactory.cs
895
// Copyright (c) 2017 Jan Pluskal // //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 w...
apache-2.0
masayang/pubnub_ionic
publisher/src/app/app.module.ts
833
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { RouteReuseStrategy } from '@angular/router'; import { IonicModule, IonicRouteStrategy } from '@ionic/angular'; import { SplashScreen } from '@ionic-native/splash-screen/ngx'; import { StatusBar } from '@ionic-...
apache-2.0
nknize/elasticsearch
x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutTrainedModelAction.java
10452
/* * 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.ml.action; import org.elasticsearch.Elasticse...
apache-2.0
aostapenko/manila
manila/tests/test_skip_examples.py
1837
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compli...
apache-2.0
olijen/massmail
files/application/core/registry.php
1048
<?php /** * Ñòàòè÷åñêèé êëàññ registry */ class Registry { /** * Ñòàòè÷åñêîå õðàíèëèùå äëÿ äàííûõ */ protected static $store = array(); /** * Çàùèòà îò ñîçäàíèÿ ýêçåìïëÿðîâ ñòàòè÷åñêîãî êëàññà */ protected function __construct() {} protected function __clone() {} /** ...
apache-2.0
itaiin/arrow
cpp/src/gandiva/cast_time.cc
3068
// 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
dannil/scb-api
src/test/java/com/github/dannil/scbjavaclient/client/goodsandservices/GoodsAndServicesClientTest.java
2267
/* * Copyright 2017 Daniel Nilsson * * 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 w...
apache-2.0
secucard/secucard-connect-php-client-lib
src/SecucardConnect/Product/Common/Model/Address.php
531
<?php /** * Address Common model class */ namespace SecucardConnect\Product\Common\Model; /** * Address Data Model class * */ class Address extends BaseModel { /** * @var string */ public $street; /** * @var string */ public $street_number; /** * @var string */...
apache-2.0
johandoornenbal/estatio
estatioapp/dom/src/test/java/org/estatio/dom/numerator/NumeratorTest.java
2718
/* * * Copyright 2012-2014 Eurocommercial Properties NV * * * 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
cdesjardins/poderosa
XZModem/XZModemDialog.cs
14482
/* * Copyright 2004,2006 The Poderosa Project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * $Id: XZModemDialog.cs,v 1.2 2011/10/27 23:21:59 kzmi Exp $ */ using System; using System.Drawing; using System.Collections; us...
apache-2.0
fusesource/fuseforge
app/models/guest.rb
1070
# =========================================================================== # Copyright (C) 2009, Progress Software Corporation and/or its # subsidiaries or 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...
apache-2.0
jjenkov/java-nio-server
src/main/java/com/jenkov/nioserver/example/Main.java
1181
package com.jenkov.nioserver.example; import com.jenkov.nioserver.*; import com.jenkov.nioserver.http.HttpMessageReaderFactory; import java.io.IOException; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingQueue; /** * Created by jjenkov on 19-10-2015. */ public class Main { ...
apache-2.0
BizUnit/BizUnit
Src/BizUnit.TestSteps/Time/Delay.cs
1560
//--------------------------------------------------------------------- // File: DelayStep.cs // // Summary: // //--------------------------------------------------------------------- // Copyright (c) 2004-2010, Kevin B. Smith. All rights reserved. // // THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY...
apache-2.0
kamudrikah/elieciouseydabites
pages/download.php
2780
<?php function output_file($file, $name, $mime_type='') { if(!is_readable($file)) die('File not found or inaccessible!'); $size = filesize($file); $name = rawurldecode($name); $known_mime_types=array( "htm" => "text/html", "exe" => "application/octet-stream", "zip" => "application/zip", "doc" => "ap...
apache-2.0
Fabryprog/camel
components/camel-slack/src/main/java/org/apache/camel/component/slack/helper/SlackMessage.java
5879
/* * 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
janstey/fuse
gateway/gateway-core/src/main/java/org/fusesource/gateway/handlers/tcp/TcpGateway.java
2815
/** * Copyright (C) FuseSource, Inc. * http://fusesource.com * * 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...
apache-2.0
paulwib/mendeley-javascript-sdk
test/spec/utilities/utilities.spec.js
14135
'use strict'; describe('utilities', function() { var utils = require('../../../lib/utilities'); var Request = require('../../../lib/request'); var mockAuth = require('../../mocks/auth'); var assign = require('object-assign'); var Promise = require('../../../lib/promise-proxy'); var authFlow = m...
apache-2.0
DataSketches/sketches-core
src/main/java/org/apache/datasketches/ArrayOfStringsSerDe.java
2901
/* * 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
PanDAWMS/panda-harvester
pandaharvester/harvestercore/db_proxy_pool.py
2691
import os import queue import threading from pandaharvester.harvesterconfig import harvester_config from .db_proxy import DBProxy from . import core_utils # logger _logger = core_utils.setup_logger('db_proxy_pool') # method wrapper class DBProxyMethod(object): # constructor def __init__(self, method_name, po...
apache-2.0
Ant-Droid/android_packages_apps_Settings_OLD
src/com/android/settings/notification/NotificationBackend.java
5011
/* * Copyright (C) 2015 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...
apache-2.0
jeaniejung/Wildcard_Plugin
Godeps/_workspace/src/github.com/cloudfoundry/cli/cf/commands/service/update_service.go
6480
package service import ( "errors" "fmt" "strings" "github.com/cloudfoundry/cli/cf/actors/plan_builder" "github.com/cloudfoundry/cli/cf/api" "github.com/cloudfoundry/cli/cf/command_metadata" "github.com/cloudfoundry/cli/cf/configuration/core_config" "github.com/cloudfoundry/cli/cf/flag_helpers" . "github.com/...
apache-2.0
JPO1/python-docs-samples
bigquery/samples/sync_query_test.py
1144
# Copyright 2015, Google, 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 in writing, s...
apache-2.0
salguarnieri/intellij-community
java/debugger/impl/src/com/intellij/debugger/settings/CompoundRendererConfigurable.java
24079
/* * Copyright 2000-2016 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
hyperhq/kubernetes
vendor/github.com/hyperhq/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_deployment.go
5966
/* Copyright 2018 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
franz1981/JCTools
jctools-experimental/src/main/java/org/jctools/counters/Counter.java
217
package org.jctools.counters; /** * Base counter interface. * * @author Tolstopyatov Vsevolod */ public interface Counter { void inc(); void inc(long delta); long get(); long getAndReset(); }
apache-2.0
poligrancol/gestiondocente
Presentacion/public_html/js/views/Escolaridad/EscolaridadView.js
1753
define([ 'jquery', 'underscore', 'backbone', 'models/EscolaridadModel', 'collections/EscolaridadCollection', 'text!templates/Escolaridad/ListarEscolaridadTemplate.html', 'text!templates/Escolaridad/EditarEscolaridadTemplate.html', ], function ($, _, Backbone, EscolaridadModel, EscolaridadCol...
apache-2.0
n9/SaltarelleWeb
Web/Generated/Html/DOMPointReadOnly.cs
502
using System.Runtime.CompilerServices; namespace System.Html { [IgnoreNamespace, Imported(ObeysTypeSystem = true)] public partial class DOMPointReadOnly { internal DOMPointReadOnly() { } [IntrinsicProperty] public double W { get { return 0; } } [IntrinsicProperty] public double X { get ...
apache-2.0
dev-osrose/osIROSE-new
scripts/npcs/ai/[ferrell_guild_merchant]_mildun.lua
1073
registerNpc(1096, { walk_speed = 0, run_speed = 0, scale = 120, r_weapon = 0, l_weapon = 0, level = 10, hp = 100, attack = 100, hit = 100, def = 100, res = 100, avoid ...
apache-2.0
zhangzhonglai/heron
heron/schedulers/src/java/com/twitter/heron/scheduler/yarn/YarnContext.java
1311
// Copyright 2016 Twitter. 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...
apache-2.0
ming-relax/tidb
executor/point_get_test.go
22872
// Copyright 2018 PingCAP, 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
aws/aws-toolkit-eclipse
bundles/com.amazonaws.eclipse.cloudformation/src/com/amazonaws/eclipse/explorer/cloudformation/StackEditorInput.java
1769
/* * Copyright 2012 Amazon Technologies, 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://aws.amazon.com/apache2.0 * * This file is distributed on an "AS IS" BASIS...
apache-2.0
Fabryprog/camel
components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringRouteNoAutoStartupTest.java
1297
/* * 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
pkarmstr/NYBC
solr-4.2.1/lucene/core/src/java/org/apache/lucene/index/TermVectorsConsumer.java
5494
package org.apache.lucene.index; /* * 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, Versio...
apache-2.0
weifensh/incubator-trafficcontrol
traffic_ops/experimental/ui/app/src/common/modules/table/regions/TableRegionsController.js
1617
/* * 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
twitter/pants
contrib/go/tests/python/pants_test/contrib/go/subsystems/test_go_import_meta_tag_reader.py
4890
# coding=utf-8 # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, division, print_function, unicode_literals import unittest from pants.contrib.go.subsystems.go_import_meta_tag_reader import GoImpo...
apache-2.0
apache/incubator-systemml
src/main/java/org/apache/sysds/parser/Statement.java
10264
/* * 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
devoid/nova
nova/virt/xenapi/image/bittorrent.py
5844
# Copyright 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 requ...
apache-2.0
sungsoo/tez-0.3.0
tez-dag/src/main/java/org/apache/tez/dag/app/dag/event/TaskAttemptEventContainerPreempted.java
1299
/** * 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
PaddlePaddle/Paddle
python/paddle/tensor/array.py
5397
# Copyright (c) 2020 PaddlePaddle 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 app...
apache-2.0
Rizen59/JRebirth
org.jrebirth.af/showcase/analyzer/src/main/java/org/jrebirth/af/showcase/analyzer/ui/editor/ball/package-info.java
83
/** * Provides... */ package org.jrebirth.af.showcase.analyzer.ui.editor.ball;
apache-2.0
emc-advanced-dev/unik
pkg/providers/common/get_image.go
604
package common import ( "github.com/emc-advanced-dev/pkg/errors" "github.com/solo-io/unik/pkg/providers" "github.com/solo-io/unik/pkg/types" "strings" ) func GetImage(p providers.Provider, nameOrIdPrefix string) (*types.Image, error) { images, err := p.ListImages() if err != nil { return nil, errors.New("retr...
apache-2.0
soceur/cesium
Source/Scene/GlobeSurfaceTile.js
28408
define([ '../Core/BoundingSphere', '../Core/Cartesian3', '../Core/Cartesian4', '../Core/defaultValue', '../Core/defined', '../Core/defineProperties', '../Core/IntersectionTests', '../Core/PixelFormat', '../Renderer/PixelDatatype', '../Rende...
apache-2.0
tmpvar/skia.cc
src/core/SkXfermode4f.cpp
17573
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkPM4fPriv.h" #include "SkUtils.h" #include "SkXfermode.h" #include "Sk4x4f.h" static SkPM4f rgba_to_pmcolor_order(const SkPM4f& x) { #ifdef SK_PMCOLOR_IS_BGRA ...
apache-2.0
olupas/cougar
cougar-framework/jetty-transport/src/test/java/com/betfair/cougar/transport/impl/protocol/http/AbstractHttpContextResolutionTest.java
7544
/* * Copyright 2014, Simon Matić Langford * Copyright 2014, The Sporting Exchange Limited * * 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/LICENS...
apache-2.0
googleapis/google-cloud-ruby
google-cloud-storage/lib/google/cloud/storage/file/signer_v2.rb
5829
# Copyright 2017 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
apache-2.0
anoordover/camel
camel-core/src/test/java/org/apache/camel/util/ObjectHelperTest.java
37776
/** * 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
ebayopensource/turmeric-runtime
soa-client/src/main/java/org/ebayopensource/turmeric/runtime/sif/impl/internal/pipeline/AsyncUtils.java
2359
/******************************************************************************* * Copyright (c) 2006-2010 eBay 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 * ...
apache-2.0
neversion/comment_sufia
sufia-models/app/models/group.rb
125
## This could extend from a module that would make it an ldap group class Group def self.exists?(cn) false end end
apache-2.0
genexliu/NativeScript
apps/tests/ui/search-bar/search-bar-tests-native.ios.ts
469
import colorModule = require("color"); import searchBarModule = require("ui/search-bar"); export function getNativeHintColor(searchBar: searchBarModule.SearchBar): colorModule.Color { // TODO: This test needs to be created return undefined; } export function getNativeFontSize(searchBar: searchBarModule.SearchB...
apache-2.0
taobataoma/saivi
Saivi/Lib/Action/User/InvitesAction.class.php
3683
<?php class InvitesAction extends UserAction{ public function index(){ $db=D('Invites'); $where['token']=session('token'); $count=$db->where($where)->count(); $page=new Page($count,25); $info=$db->where($where)->order('id ASC')->limit($page->firstRow.','.$page->listRows)->select(); $this->assign('p...
apache-2.0
mbode/flink
flink-table/flink-table-planner/src/test/scala/org/apache/flink/table/api/stream/sql/AggregateTest.scala
5025
/* * 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
wouterv/orientdb
core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/record/binary/BytesContainer.java
1904
/* * * * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.com) * * * * 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/...
apache-2.0
michaelgallacher/intellij-community
jps/jps-builders/src/org/jetbrains/jps/incremental/ModuleBuildTarget.java
9349
/* * Copyright 2000-2012 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
snd297/penn-ppod
cdm/src/main/java/edu/upenn/cis/ppod/dao/StandardMatrixDAOHibernate.java
2574
/* * Copyright (C) 2009 Trustees of the University of Pennsylvania * * 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
joshuayao/incubator-sentry
sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/metastore/SentryMetaStoreFilterHook.java
6341
/** * 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
apache/calcite-avatica
core/src/test/java/org/apache/calcite/avatica/CursorFactoryDeduceTest.java
7941
/* * 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
emoreno911/pwa-training-labs
indexed-db-lab/solution/js/main.js
10701
/* Copyright 2016 Google 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 in writing, software dis...
apache-2.0
unlimitedlabs/orchestra
simple_workflow/static/simple_workflow/v1/rate/js/modules.js
87
(function() { 'use strict'; angular.module('simple_workflow.v1.rate', []); })();
apache-2.0
jmanday/Master
TFM/library/opencv-3.2.0/modules/imgcodecs/src/grfmt_jpeg.cpp
21080
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
apache-2.0
sublimter/FindMe_Server
src/com/fm/controller/LetterController.java
1111
package com.fm.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; /** * 私信 * * @author caizhi 2014-05-14 1.0 * */ @Controller @RequestMapping(value = "/data/letter") public class LetterController extends BaseController { // private Log...
apache-2.0
raviagarwal7/buck
src/com/facebook/buck/jvm/java/JavaTest.java
25127
/* * Copyright 2012-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
l-dobrev/activemq-artemis
tests/activemq5-unit-tests/src/test/java/org/apache/activemq/xbean/MultipleTestsWithEmbeddedBrokerAndPersistenceTest.java
1042
/** * 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
StrategyObject/fop
test/java/org/apache/fop/afp/AFPResourceManagerTestCase.java
3510
/* * 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
stackforge/monasca-api
java/src/test/java/monasca/api/infrastructure/persistence/mysql/AlarmDefinitionMySqlRepositoryImplTest.java
16313
/* * Copyright (c) 2014,2016 Hewlett Packard Enterprise Development Company, L.P. * * 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 * * U...
apache-2.0
brendanashworth/minio
cmd/object-api-getobjectinfo_test.go
5270
/* * Minio Cloud Storage, (C) 2016 Minio, 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 la...
apache-2.0
cedral/aws-sdk-cpp
aws-cpp-sdk-s3/source/model/Bucket.cpp
2211
/* * Copyright 2010-2017 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 "license" fil...
apache-2.0
icdishb/fingerid
fingerid/kernel/mskernel.py
2042
""" ============================================================ This is the base class compute the msss spectrometry kernel. ============================================================ """ import numpy class Kernel: def __init__(self): # the maximum intensity of peaks observed in training data s...
apache-2.0
camptocamp/conplicity
vendor/gopkg.in/jarcoal/httpmock.v1/response.go
5157
package httpmock import ( "bytes" "encoding/json" "encoding/xml" "io" "net/http" "strconv" "strings" ) // ResponderFromResponse wraps an *http.Response in a Responder func ResponderFromResponse(resp *http.Response) Responder { return func(req *http.Request) (*http.Response, error) { res := new(http.Response...
apache-2.0
du2016/kubernetes
test/e2e/common/configmap.go
12258
/* 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
dylanswartz/nakamura
bundles/cluster/src/main/java/org/sakaiproject/nakamura/api/cluster/ClusterTrackingService.java
2292
/** * Licensed to the Sakai Foundation (SF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The SF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use t...
apache-2.0
msoliter/iroh
src/test/java/com/github/msoliter/iroh/examples/prime/CachingLowerBoundCalculator.java
533
package com.github.msoliter.iroh.examples.prime; import java.util.HashMap; import com.github.msoliter.iroh.container.annotations.Component; @Component public class CachingLowerBoundCalculator implements LowerBoundCalculator { private HashMap<Long, Long> cache = new HashMap<>(); @Override public Long ca...
apache-2.0
jskeet/gcloud-dotnet
apis/Google.Cloud.Retail.V2/Google.Cloud.Retail.V2/CompletionServiceClient.g.cs
31300
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
apache-2.0
Psychobilly87/bari
src/dotnetplugins/Bari.Plugins.NUnit/cs/Tools/INUnit.cs
212
using System.Collections.Generic; using Bari.Core.Generic; namespace Bari.Plugins.NUnit.Tools { public interface INUnit { bool RunTests(IEnumerable<TargetRelativePath> testAssemblies); } }
apache-2.0
w1ll1am23/home-assistant
homeassistant/components/dynalite/dynalitebase.py
3077
"""Support for the Dynalite devices as entities.""" from __future__ import annotations from typing import Any, Callable from homeassistant.components.dynalite.bridge import DynaliteBridge from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant, callback from homeassistant.hel...
apache-2.0
tgroh/incubator-beam
runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/PCollectionViewTranslation.java
4396
/* * 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
mongodb-labs/mongo-php-driver-prototype
tests/bson-corpus/decimal128-2-valid-013.phpt
897
--TEST-- Decimal128: [decq122] Nmax and similar --DESCRIPTION-- Generated by scripts/convert-bson-corpus-tests.php DO NOT EDIT THIS FILE --FILE-- <?php require_once __DIR__ . '/../utils/tools.php'; $canonicalBson = hex2bin('18000000136400FFFFFFFF638E8D37C087ADBE09EDFFDF00'); $canonicalExtJson = '{"d" : {"$numberDeci...
apache-2.0
junehappylove/framework
src/main/webapp/static/common/date.format.js
5864
/* * Date Format 1.2.3 * (c) 2007-2009 Steven Levithan <stevenlevithan.com> * MIT license * * Includes enhancements by Scott Trenda <scott.trenda.net> * and Kris Kowal <cixar.com/~kris.kowal/> * * Accepts a date, a mask, or a date and a mask. * Returns a formatted version of the given date. * The date default...
apache-2.0
sonu283304/onos
drivers/default/src/main/java/org/onosproject/driver/extensions/NiciraSetTunnelDst.java
3092
/* * Copyright 2015 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 applicable la...
apache-2.0
omnirom/android_packages_apps_DashClock
main/src/main/src/com/google/android/apps/dashclock/calendar/CalendarSettingsActivity.java
3585
/* * Copyright 2013 Google 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
FirebasePrivate/firebase-js-sdk-1
packages/database/test/promise.test.ts
7920
/** * Copyright 2017 Google 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
mohanaraosv/commons-bcel
src/main/java/org/apache/commons/bcel6/generic/NOP.java
1433
/* * 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
monkeysecurity/botor
botor/aws/sqs.py
632
""" .. module: bobo.aws.sqs :platform: Unix :copyright: (c) 2015 by Netflix Inc., see AUTHORS for more :license: Apache, see LICENSE for more details. .. moduleauthor:: Kevin Glisson <kglisson@netflix.com> .. moduleauthor:: Patrick Kelley <patrick@netflix.com> """ from botor.aws.sts import sts_conn from bo...
apache-2.0
spring-cloud/spring-cloud-task
spring-cloud-task-core/src/main/java/org/springframework/cloud/task/repository/support/TaskRepositoryInitializer.java
4649
/* * Copyright 2015-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
apache-2.0