repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
liveqmock/platform-tools-idea
platform/platform-impl/src/com/intellij/ui/TableSpeedSearch.java
4403
/* * 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
bclozel/spring-boot
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/EndpointLinksResolver.java
3528
/* * Copyright 2012-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
apache-2.0
tomatoKiller/Hadoop_Source_Learn
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/BaseContainerManagerTest.java
11919
/** * 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
electrum/presto
service/trino-proxy/src/main/java/io/trino/proxy/ProxyConfig.java
1534
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
apache-2.0
cryptickp/heat
heat/engine/clients/os/keystone.py
5676
# # 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 # ...
apache-2.0
owenversteeg/mathjs
test/function/arithmetic/cube.test.js
1982
// test cube var assert = require('assert'), math = require('../../../index'), error = require('../../../lib/error/index'), unit = math.unit, bignumber = math.bignumber, matrix = math.matrix, range = math.range, cube = math.cube; describe('cube', function() { it('should return the cube of...
apache-2.0
TheCallSign/Clifton-Source
src/game/server/hl2mp/hl2mp_cvars.cpp
616
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include "hl2mp_cvars.h" // Ready restart ConVar mp_readyrestart( "mp_readyresta...
apache-2.0
TechplexEngineer/blockly-old
msg/js/id.js
29832
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('Blockly.Msg.id'); goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Tambahkan sebuah comment"; Blockly.Msg.CHANGE_VALUE_TITLE = "Ubah nilai:"; Blockly.Msg.COLLAPSE_ALL = "Tutup blok"; Blockly.Msg.COLLAPSE_BLOCK = "Tutup blok...
apache-2.0
thrasher-redhat/origin
pkg/template/servicebroker/catalog_test.go
3950
package servicebroker import ( "reflect" "testing" schema "github.com/lestrrat/go-jsschema" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "github.com/openshift/origin/pkg/openservicebroker/api" templateapi "github.com/openshift/origin/pkg/template/api" ) func TestServiceFromTemplate(t *testing.T) { template...
apache-2.0
tkopczynski/camel
components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpComponent.java
2487
/** * 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
amcasey/roslyn
src/Workspaces/Core/Portable/FindSymbols/SymbolFinder_Remote.cs
1401
// 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.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Remote; namespace Microsoft.CodeAnalysis.FindSymbols { public static ...
apache-2.0
tecdct2941/nxos_dashboard
repeated_timer.py
721
from threading import Timer class RepeatedTimer(object): def __init__(self, interval, function, *args, **kwargs): self._timer = None self.interval = interval self.function = function self.args = args self.kwargs = kwargs self.is_running = False ...
apache-2.0
dodoru/renderer.gua
build_win_mingw.bat
22
mingw32-make.exe mingw
apache-2.0
asashour/selenium
dotnet/test/common/TakesScreenshotTest.cs
22313
using System; using System.Collections.Generic; using System.Drawing; using System.IO; using NUnit.Framework; using OpenQA.Selenium.Environment; namespace OpenQA.Selenium { [TestFixture] public class TakesScreenshotTest : DriverTestFixture { [TearDown] public void SwitchToTop() { ...
apache-2.0
passy/traceur-todomvc
src/util/url.js
8826
// Copyright 2008 The Closure Library 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 requ...
apache-2.0
DavidKarlas/roslyn
src/Compilers/VisualBasic/Portable/Errors/LazyObsoleteDiagnosticInfo.vb
2344
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Imports System.Threading Imports Microsoft.CodeAnalysis.VisualBasic.Symbols Namespace Microsoft.CodeAnalysis.VisualBasic Friend NotInheritable Class Laz...
apache-2.0
djs55/linuxkit
src/cmd/linuxkit/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-10-01/network/loadbalancerloadbalancingrules.go
10169
package network // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unl...
apache-2.0
TheWardoctor/Wardoctors-repo
script.module.uncoded/lib/resources/lib/sources/de/horrorkino.py
3418
# -*- coding: utf-8 -*- """ Covenant Add-on 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. This prog...
apache-2.0
tunaemre/Face-Swap-Android
faceSwap/src/main/jni/dlib/dnn/cudnn_dlibapi.h
19622
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_DNN_CuDNN_H_ #define DLIB_DNN_CuDNN_H_ #ifdef DLIB_USE_CUDA #include "cuda_errors.h" namespace dlib { class tensor; class resizable_tensor; namespace cuda { ...
apache-2.0
rokuz/omim
platform/network_policy_ios.h
312
#pragma once #include "platform/network_policy.hpp" @class NSDate; namespace network_policy { enum Stage { Ask, Always, Never, Today, NotToday }; void SetStage(Stage state); Stage GetStage(); bool CanUseNetwork(); bool IsActivePolicyDate(); NSDate* GetPolicyDate(); } // namespace network_policy
apache-2.0
tcpcloud/contrail-controller
src/bgp/test/bgp_ip_test2.cc
343
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #define __BGP_IP_TEST_WRAPPER_TEST_SUITE__ #include "bgp_ip_test.cc" int main(int argc, char **argv) { const char *largv[] = { __FILE__, "--nexthop-address-family=inet6", }; return bgp_ip_test_main(sizeof(largv)/sizeof...
apache-2.0
electrum/presto
core/trino-main/src/test/java/io/trino/sql/planner/assertions/ExpressionMatcher.java
3920
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
apache-2.0
apache/infrastructure-puppet
modules/collectd/spec/classes/collectd_plugin_swap_spec.rb
1936
require 'spec_helper' describe 'collectd::plugin::swap', :type => :class do context ':ensure => present, default params' do let :facts do {:osfamily => 'RedHat'} end it 'Will create /etc/collectd.d/10-swap.conf' do should contain_file('swap.load').with({ :ensure => 'present', ...
apache-2.0
damienmg/bazel
src/java_tools/junitrunner/java/com/google/testing/junit/runner/sharding/testing/ShardingFilterTestCase.java
12016
// Copyright 2010 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
Cervator/DestinationSol
launcher/solOSX.sh
63
#!/usr/bin/env bash lwjreOSX/bin/java -jar libs/solDesktop.jar
apache-2.0
00marco/Scientific-Calculator-Midterm-project-
Scientific-Calculator-Midterm-project-7/Calculator/Calculator/obj/Debug/App.g.i.cs
2312
#pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "5A325D8D6480F61FD53D1D80763A1895" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to ...
apache-2.0
gkatsikas/onos
core/api/src/main/java/org/onosproject/store/service/Version.java
2369
/* * Copyright 2017-present Open Networking 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 * * Unless required by appli...
apache-2.0
gstevey/gradle
subprojects/platform-native/src/main/java/org/gradle/nativeplatform/internal/NativeBinarySpecInternal.java
2517
/* * Copyright 2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
apache-2.0
vcarle/ariatemplates
test/aria/storage/localStorage/NamespaceTestCase.js
1613
/* * 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
basiljose1/byjcrm
pkg/vtiger/modules/Projects/Project/modules/Project/models/RelationListView.php
1041
<?php /* +*********************************************************************************** * The contents of this file are subject to the vtiger CRM Public License Version 1.0 * ("License"); You may not use this file except in compliance with the License * The Original Code is: vtiger CRM Open Source * The Ini...
apache-2.0
schambers/fluentmigrator
src/FluentMigrator.Abstractions/Expressions/DeleteSequenceExpression.cs
978
using System.ComponentModel.DataAnnotations; using FluentMigrator.Infrastructure; namespace FluentMigrator.Expressions { /// <summary> /// Expression to delete a sequence /// </summary> public class DeleteSequenceExpression : MigrationExpressionBase, ISchemaExpression { /// <inheritdoc /> ...
apache-2.0
praveennet/azure-powershell
src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs
23374
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
apache-2.0
sanyaade-g2g-repos/orientdb
core/src/main/java/com/orientechnologies/orient/core/engine/local/OEngineLocalPaginated.java
2893
/* * * * 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
net-commons/common-logging
build-dev.cmd
113
REM other targets are: REM 'build' REM 'test' REM 'test-integration' @ECHO OFF call build test-integration
apache-2.0
ty1er/incubator-asterixdb
hyracks-fullstack/hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/api/ITreeIndexMetadataFrameFactory.java
976
/* * 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
googleapis/google-cloud-dotnet
apis/Google.Cloud.Bigtable.V2/Google.Cloud.Bigtable.V2/BigtableVersion.cs
12638
// Copyright 2017 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
apache-2.0
parthchandra/incubator-drill
exec/jdbc/src/test/java/org/apache/drill/jdbc/test/JdbcDataTest.java
19946
/* * 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
nkgilley/home-assistant
homeassistant/components/pvpc_hourly_pricing/sensor.py
5339
"""Sensor to collect the reference daily prices of electricity ('PVPC') in Spain.""" import logging from random import randint from typing import Optional from aiopvpc import PVPCData from homeassistant import config_entries from homeassistant.const import CONF_NAME, ENERGY_KILO_WATT_HOUR from homeassistant.core impo...
apache-2.0
tensorflow/tensorflow
tensorflow/python/training/session_manager.py
23320
# Copyright 2015 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
jeorme/OG-Platform
projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/model/sabrcube/SABRCMSSpreadNoExtrapolationYCNSFunction.java
6665
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.model.sabrcube; import static com.opengamma.engine.value.ValueRequirementNames.SABR_SURFACES; import com.opengamma.OpenGammaRuntimeExcepti...
apache-2.0
keizer619/carbon-analytics-common
components/data-bridge/org.wso2.carbon.databridge.agent/src/main/java/org/wso2/carbon/databridge/agent/conf/DataEndpointConfiguration.java
3842
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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/li...
apache-2.0
sanathkumarv/RestAPIWt
tools/wt-3.3.5-rc1/src/Wt/Dbo/Field_impl.h
5829
// This may look like C code, but it's really -*- C++ -*- /* * Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium. * * See the LICENSE file for terms of use. */ #ifndef WT_DBO_FIELD_IMPL_H_ #define WT_DBO_FIELD_IMPL_H_ #include <Wt/Dbo/Session> #include <Wt/Dbo/Exception> #include <Wt/Dbo/SqlStatement> #include <Wt...
apache-2.0
gmrodrigues/crate
sql/src/test/java/io/crate/operation/reference/doc/IntegerColumnReferenceTest.java
3042
/* * Licensed to CRATE Technology GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not us...
apache-2.0
apache/olingo-odata2
odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/BatchResponsePartImpl.java
2137
/******************************************************************************* * 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 f...
apache-2.0
Microsoft/TypeScript
tests/cases/fourslash/codeFixDisableJsDiagnosticsInFile9.ts
538
/// <reference path='fourslash.ts' /> // @allowjs: true // @checkJs: true // @noEmit: true // @filename: a.js ////// @ts-check ////let x = ""; ////[|x|] = 1; // verify.codeFixAvailable([ // { description: ts.Diagnostics.Ignore_this_error_message.message }, // { description: ts.Diagnostics.Disabl...
apache-2.0
derwasp/akka.net
src/core/Akka.Streams.Tests/Dsl/SourceSpec.cs
14043
//----------------------------------------------------------------------- // <copyright file="SourceSpec.cs" company="Akka.NET Project"> // Copyright (C) 2015-2016 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright> //---...
apache-2.0
smanvi-pivotal/geode
geode-core/src/test/java/org/apache/geode/internal/cache/diskPerf/DiskRegOverflowSyncGetInMemPerfJUnitPerformanceTest.java
3891
/* * 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
masteryee/protoactor-dotnet
examples/Persistence/Messages/Protos.g.cs
12536
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: Protos.proto #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::S...
apache-2.0
stumoodie/PathwayEditor
libs/batik-1.7/contrib/rasterizertask/sources/org/apache/tools/ant/taskdefs/optional/RasterizerTaskSVGConverterController.java
3878
/* 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
pkuyym/Paddle
paddle/fluid/operators/math/blas_impl.cu.h
9628
// Copyright (c) 2018 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 requir...
apache-2.0
elgalu/chef-depth-1
spec/unit/resource/ips_package_spec.rb
1353
# # Author:: Bryan McLellan <btm@opscode.com> # 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 # # ht...
apache-2.0
salyh/geronimo-specs
geronimo-javamail_1.5_spec/src/main/java/javax/mail/MessageAware.java
952
/* * 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
jaracil/esp-idf
components/lwip/api/pppapi.c
10470
/** * @file * Point To Point Protocol Sequential API module * */ /* * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of...
apache-2.0
mbiarnes/kie-wb-common
kie-wb-common-dmn/kie-wb-common-dmn-client/src/test/java/org/kie/workbench/common/dmn/client/editors/expressions/types/function/supplementary/pmml/PMMLDocumentMetadataProviderTest.java
10034
/* * Copyright 2019 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
apache-2.0
houdunwang/hdphp
vendor/houdunwang/alipay/src/org/aop/request/AlipayEcoMycarParkingLotbarcodeCreateRequest.php
1918
<?php /** * ALIPAY API: alipay.eco.mycar.parking.lotbarcode.create request * * @author auto create * @since 1.0, 2016-06-14 15:08:52 */ class AlipayEcoMycarParkingLotbarcodeCreateRequest { /** * 物料二维码 **/ private $bizContent; private $apiParas = array(); private $terminalType; private $terminalInfo;...
apache-2.0
ollie314/docker-java
src/main/java/com/github/dockerjava/core/command/ListImagesCmdImpl.java
2238
package com.github.dockerjava.core.command; import static com.google.common.base.Preconditions.checkNotNull; import java.util.List; import java.util.Map; import org.apache.commons.lang.builder.ReflectionToStringBuilder; import org.apache.commons.lang.builder.ToStringStyle; import com.github.dockerjava.api.command.L...
apache-2.0
weolar/miniblink49
third_party/WebKit/Source/web/SharedWorkerRepositoryClientImpl.h
2653
/* * Copyright (C) 2013 Google 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 source code must retain the above copyright * notice, this list of conditio...
apache-2.0
hippich/typescript
tests/Fidelity/test262/suite/ch15/15.7/15.7.3/15.7.3.5/S15.7.3.5_A1.js
555
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * Number.NEGATIVE_INFINITY is -Infinity * * @path ch15/15.7/15.7.3/15.7.3.5/S15.7.3.5_A1.js * @description Checking sign and finiteness of Number.NEGATIVE_INFINITY */ // CHECK#1...
apache-2.0
shun634501730/java_source_cn
src_en/java/rmi/server/SocketSecurityException.java
1223
/* * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.rmi.server; /** * An obsolete subclass of {@link ExportException}. * * @author Ann Wo...
apache-2.0
Hersir88/Babylon.js
materialsLibrary/src/fur/readme.md
9880
# Fur material # Using the fur material The fur material needs a high number of the triangular facets that make up a mesh to work well. The number of facets needed also depends on the size of the mesh. Example that seem to work for ground and sphere are: ``` var ground = BABYLON.Mesh.CreateGround("ground", 8, 8, 200...
apache-2.0
MikeThomsen/nifi
nifi-registry/nifi-registry-core/nifi-registry-client/src/main/java/org/apache/nifi/registry/client/FlowSnapshotClient.java
5613
/* * 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
emanoelxavier/osc-core
osc-server/src/main/java/org/osc/core/broker/service/tasks/conformance/openstack/UploadImageToGlanceTask.java
4272
/******************************************************************************* * 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
gkatsikas/onos
drivers/default/src/test/java/org/onosproject/driver/extensions/NiciraTunGpeNpTest.java
1762
/* * Copyright 2016-present Open Networking 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 * * Unless required by appli...
apache-2.0
goodwinnk/intellij-community
java/java-impl/src/com/intellij/codeInsight/navigation/JavaGotoSuperHandler.java
5139
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apache-2.0
lewismc/yax
lib/fop-1.0/javadocs/org/apache/fop/pdf/class-use/PDFTTFStream.html
5730
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.4.2_11) on Mon Jul 12 21:36:30 CEST 2010 --> <TITLE> Uses of Class org.apache.fop.pdf.PDFTTFStream (Apache FOP 1.0 API) </TITLE> <LINK REL ="stylesheet...
apache-2.0
dhalleine/tensorflow
tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.QueueBase.md
8913
Base class for queue implementations. A queue is a TensorFlow data structure that stores tensors across multiple steps, and exposes operations that enqueue and dequeue tensors. Each queue element is a tuple of one or more tensors, where each tuple component has a static dtype, and may have a static shape. The queue i...
apache-2.0
tensorflow/tensorflow
tensorflow/python/keras/layers/rnn_cell_wrapper_v2_test.py
9770
# 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
chanakaudaya/developer-studio
esb/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/edit/commands/MediatorFlow11CreateCommand.java
2841
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.emf.ecore.EObject; import org.eclipse.gmf.runtime.common.core.command.CommandResu...
apache-2.0
bmwshop/brooklyn
locations/jclouds/src/main/java/brooklyn/location/jclouds/pool/MachinePoolPredicates.java
5001
package brooklyn.location.jclouds.pool; import java.util.Map; import org.jclouds.compute.domain.NodeMetadata; import org.jclouds.compute.domain.Processor; import org.jclouds.domain.Location; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.common.base.Predicate; import com.google.common.bas...
apache-2.0
cpbuckingham/cpbuckingham.github.io
vendor/bundle/gems/rubocop-0.32.1/lib/rubocop/cop/lint/deprecated_class_methods.rb
1583
# encoding: utf-8 module RuboCop module Cop module Lint # This cop checks for uses of the deprecated class method usages. class DeprecatedClassMethods < Cop include AST::Sexp MSG = '`%s` is deprecated in favor of `%s`.' DEPRECATED_METHODS = [ [:File, :exists?, :exi...
apache-2.0
kishorejangid/manifoldcf
connectors/documentum/build-stub/src/main/java/com/documentum/fc/client/DfIdentityException.java
954
/* $Id$ */ /** * 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"); y...
apache-2.0
0359xiaodong/FreeRDP
client/X11/xf_tsmf.c
10083
/** * FreeRDP: A Remote Desktop Protocol Implementation * X11 Video Redirection * * Copyright 2010-2011 Vic Lee * * 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.ap...
apache-2.0
electrum/presto
testing/trino-server-dev/src/main/java/io/trino/server/DevelopmentLoaderConfig.java
2534
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
apache-2.0
pspaude/uPortal
uportal-war/src/main/java/org/jasig/portal/portlets/statistics/PortletMoveStatisticsController.java
2682
/** * Licensed to Jasig under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Jasig licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in co...
apache-2.0
shmxybfq/TFDemos
demo-转场动画/demo-转场动画/TFEasyCoder/ca/CAEmitterBehavior+TFEasyCoder.h
1974
// // CAEmitterBehavior+TFEasyCoder.h // TFEasyCoder // // Created by ztf on 16/10/26. // Copyright © 2016年 ztf. All rights reserved. // #import <UIKit/UIKit.h> #import <Foundation/Foundation.h> #import "TFEasyCoderConst.h" typedef void(^CAEmitterBehaviorEasyCoderBlock) (CAEmitterBehavior * ins); @interface CAEm...
apache-2.0
sethmbaker/fewsn-web
wsgi/static/leaflet-sidebar-v2/examples/index.html
5925
<!DOCTYPE html> <html> <head> <title>sidebar-v2 example</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> <link rel="stylesheet" h...
apache-2.0
spaceone/pyjs
pygtkweb/demos/checkbutton.py
2231
#!/usr/bin/env python # example checkbutton.py import pygtk pygtk.require('2.0') import gtk class CheckButton: # Our callback. # The data passed to this method is printed to stdout def callback(self, widget, data=None): print "%s was toggled %s" % (data, ("OFF", "ON")[widget.get_active()]) #...
apache-2.0
immortius/Terasology
engine/src/main/java/org/terasology/entitySystem/prefab/internal/PojoPrefab.java
2855
/* * Copyright 2013 MovingBlocks * * 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
docker-library/repo-info
repos/redis/local/5.md
86431
# `redis:5.0.14` ## Docker Metadata - Image ID: `sha256:73c4ad8da261b4929be877b8a775885aee54394c5f112158074221ba5ee2de32` - Created: `2022-03-03T12:16:24.251208012Z` - Virtual Size: ~ 109.62 Mb (total size of all layers on-disk) - Arch: `linux`/`amd64` - Entrypoint: `["docker-entrypoint.sh"]` - Command: `["redis-...
apache-2.0
sulistionoadi/belajar-springmvc-dojo
training-web/src/main/webapp/js/dojotoolkit/dijit/tests/layout/tab4.html
2261
<div data-dojo-type="dijit.layout.SplitContainer" data-dojo-props='orientation:"vertical"'> <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='title:"split #1"'> <p>Top of split container loaded via an href.</p> </div> <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='title:"split #2"'> ...
apache-2.0
mati191188/ecopueblo-mobile
node_modules/phonegap/lib/phonegap/remote.logout.js
1079
/*! * Module dependencies. */ var Command = require('./util/command'), phonegapbuild = require('./util/phonegap-build'), util = require('util'); /*! * Command setup. */ module.exports = { create: function(phonegap) { return new RemoteLogoutCommand(phonegap); } }; function RemoteLogoutCom...
apache-2.0
briandwyer/cas-hudson
cas-server-core/src/main/java/org/jasig/cas/services/jmx/AbstractServicesManagerMBean.java
3919
/* * Licensed to Jasig under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Jasig licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in com...
apache-2.0
opencontainers/runc
vendor/github.com/cilium/ebpf/internal/sys/ptr_32_le.go
288
//go:build 386 || amd64p32 || arm || mipsle || mips64p32le // +build 386 amd64p32 arm mipsle mips64p32le package sys import ( "unsafe" ) // Pointer wraps an unsafe.Pointer to be 64bit to // conform to the syscall specification. type Pointer struct { ptr unsafe.Pointer pad uint32 }
apache-2.0
diegohurtado/sparta
serving-core/src/main/scala/com/stratio/sparta/serving/core/models/policy/writer/AutoCalculatedFieldModel.scala
1105
/* * Copyright (C) 2015 Stratio (http://stratio.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 app...
apache-2.0
jppelteret/homebrew-cask
Casks/multibit.rb
378
cask 'multibit' do version '0.5.19' sha256 'f84aefa0b3762e36659ea3e71806f747db4198641d658d88c8772978b23f99dc' url "https://multibit.org/releases/multibit-classic/multibit-classic-#{version}/multibit-classic-macos-#{version}.dmg" gpg "#{url}.asc", :key_id => '23f7fb7b' name 'MultiBit' homepage 'https:...
bsd-2-clause
sebastienros/jint
Jint.Tests.Test262/test/language/statements/class/dstr-async-gen-meth-dflt-obj-ptrn-id-init-skipped.js
2395
// This file was procedurally generated from the following sources: // - src/dstr-binding/obj-ptrn-id-init-skipped.case // - src/dstr-binding/default/cls-decl-async-gen-meth-dflt.template /*--- description: Destructuring initializer is not evaluated when value is not `undefined` (class expression async generator method...
bsd-2-clause
gzoom13/embox
src/arch/x86/lib/cpu_performance/cpu_counter.c
310
/* *@brief RDTSC implementation * *@date 22.10.2013 * * */ #include <stdint.h> #include <hal/cpu_info.h> uint64_t get_cpu_counter(void) { uint64_t hi = 0, lo = 0; asm volatile ( "rdtsc\n\t" "movl %%eax, %0\n\t" "movl %%edx, %1\n\t" : "=r"(lo), "=r"(hi) :); return (hi << 32) + lo; }
bsd-2-clause
hydrosolutions/model_RRMDA_Themi
java/resources/linux64_gnu/share/doc/www3/MPI_Ibsend.html
3899
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN"> <HTML> <HEAD> <META NAME="GENERATOR" CONTENT="DOCTEXT"> <TITLE>MPI_Ibsend</TITLE> </HEAD> <BODY BGCOLOR="FFFFFF"> <A NAME="MPI_Ibsend"><H1>MPI_Ibsend</H1></A> Starts a nonblocking buffered send <H2>Synopsis</H2> <PRE> int MPI_Ibsend(void *buf, int count, MPI_Datatype dat...
bsd-2-clause
dplbsd/soc2013
head/contrib/ofed/libmthca/src/cq.c
16469
/* * Copyright (c) 2005 Topspin Communications. All rights reserved. * Copyright (c) 2005 Mellanox Technologies Ltd. All rights reserved. * Copyright (c) 2006 Cisco Systems. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under ...
bsd-2-clause
bitemyapp/roshask
src/executable/Parse.hs
7585
{-# LANGUAGE OverloadedStrings, TupleSections #-} -- | Parser components for the ROS message description language (@msg@ -- files). See http://wiki.ros.org/msg for reference. module Parse (parseMsg, parseSrv, simpleFieldAssoc) where import Prelude hiding (takeWhile) import Control.Applicative import Control.Arrow ((&&&...
bsd-3-clause
dbbhattacharya/kitsune
vendor/packages/pylint/gui.py
2790
"""Tkinker gui for pylint""" from Tkinter import Tk, Frame, Listbox, Entry, Label, Button, Scrollbar from Tkinter import TOP, LEFT, RIGHT, BOTTOM, END, X, Y, BOTH import os import sys if sys.platform.startswith('win'): PYLINT = 'pylint.bat' else: PYLINT = 'pylint' class LintGui: """Build and control a wi...
bsd-3-clause
mettoff/archive
protected/modules/store/views/categoryBackend/view.php
2603
<?php $this->breadcrumbs = [ Yii::t('StoreModule.category', 'Categories') => ['index'], $model->name, ]; $this->pageTitle = Yii::t('StoreModule.category', 'Categories - view'); $this->menu = [ ['icon' => 'fa fa-fw fa-list-alt', 'label' => Yii::t('StoreModule.category', 'Manage categories'), 'url' => ['/st...
bsd-3-clause
exponentjs/react-native
Libraries/EventEmitter/__mocks__/NativeEventEmitter.js
592
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow */ 'use strict'; const EventEmitter = require('../../vendor/emitter/EventEmitter'); const RCTDeviceEventEmitt...
bsd-3-clause
snoyberg/ghc
rts/Stats.h
1762
/* ----------------------------------------------------------------------------- * * (c) The GHC Team, 1998-2005 * * Statistics and timing-related functions. * * ---------------------------------------------------------------------------*/ #ifndef STATS_H #define STATS_H #include "GetTime.h" #include "BeginPri...
bsd-3-clause
bqbn/addons-server
src/olympia/scanners/migrations/0009_auto_20191023_0906.py
1450
# Generated by Django 2.2.6 on 2019-10-23 09:06 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import olympia.amo.models class Migration(migrations.Migration): dependencies = [ ('scanners', '0008_auto_20191021_1718'), ] operations = [ ...
bsd-3-clause
scarey/nuodb-drivers
ruby/activerecord-nuodb-adapter/lib/activerecord-nuodb-adapter.rb
1595
# # Copyright (c) 2012, NuoDB, 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 source code must retain the above copyright # notice, this list of conditions...
bsd-3-clause
ondra-novak/chromium.src
chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc
38460
// Copyright 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. #include "chrome/browser/sync_file_system/local/local_file_sync_context.h" #include <vector> #include "base/bind.h" #include "base/bind_helpers.h" #incl...
bsd-3-clause
flesch91/uaweb-work.github.com
web/booster-install/assets/js/jquery.bootstrap.wizard.js
7891
/*! * jQuery twitter bootstrap wizard plugin * Examples and documentation at: http://github.com/VinceG/twitter-bootstrap-wizard * version 1.0 * Requires jQuery v1.3.2 or later * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.ht...
bsd-3-clause
catapult-project/catapult-csm
tracing/tracing/extras/importer/linux_perf/drm_parser_test.html
1011
<!DOCTYPE html> <!-- 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. --> <link rel="import" href="/tracing/core/test_utils.html"> <link rel="import" href="/tracing/extras/importer/linux_perf/ftrace_importer....
bsd-3-clause
kaulkie/jline2
src/main/java/jline/internal/ShutdownHooks.java
3503
/* * Copyright (c) 2002-2015, the original author or authors. * * This software is distributable under the BSD license. See the terms of the * BSD license in the documentation provided with this software. * * http://www.opensource.org/licenses/bsd-license.php */ package jline.internal; import java.util.ArrayLis...
bsd-3-clause