repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
mglukhikh/intellij-community
java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/CodeFragmentEvaluator.java
4502
/* * 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
ArmstrongYang/hiShare
dashboard/css/fabochart.css
1719
/*Stats*/ .bar-chart-grids { margin:150px auto; max-width:640px;} .fabo-chart { border-right: 1px; margin: 2em 0 0 0; } .fabo-chart::after { content: " "; display: table; clear: both; } .fabo-chart .fabo-point { height: 400px; display: inline-block; float: left; box-sizing: border-b...
apache-2.0
lizan/envoy
source/extensions/common/tap/tap_config_base.cc
9292
#include "extensions/common/tap/tap_config_base.h" #include "envoy/config/tap/v3/common.pb.h" #include "envoy/data/tap/v3/common.pb.h" #include "envoy/data/tap/v3/wrapper.pb.h" #include "common/common/assert.h" #include "common/common/fmt.h" #include "common/config/version_converter.h" #include "common/protobuf/utili...
apache-2.0
lizan/envoy
test/extensions/filters/http/common/empty_http_filter_config.h
1707
#pragma once #include <string> #include "envoy/server/filter_config.h" #include "common/protobuf/protobuf.h" namespace Envoy { namespace Extensions { namespace HttpFilters { namespace Common { /** * Config registration for http filters that have empty configuration blocks. * The boiler plate instantiation functi...
apache-2.0
AndresJMM/Proyecto
Proyecto/librerias/jdatechooser_bin_doc_1_1_1/javadoc/datechooser/beans/editor/border/types/package-frame.html
2595
<!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.5.0_09) on Wed Aug 01 14:02:17 EEST 2007 --> <TITLE> datechooser.beans.editor.border.types (DateChooser javadoc) </TITLE> <META NAME="keywords"...
apache-2.0
BigAppOS/BigApp_Discuz_Android
libs/ImageLib/src/com/kit/imagelib/imagelooker/OnPageSelectedListener.java
126
package com.kit.imagelib.imagelooker; public interface OnPageSelectedListener { public void onPageSelected(); }
apache-2.0
aminjam/onememberoauth2
Godeps/_workspace/src/github.com/onsi/gomega/matchers/be_numerically_matcher.go
3596
package matchers import ( "fmt" "github.com/onsi/gomega/format" "math" ) type BeNumericallyMatcher struct { Comparator string CompareTo []interface{} } func (matcher *BeNumericallyMatcher) Match(actual interface{}) (success bool, message string, err error) { if len(matcher.CompareTo) == 0 || len(matcher.Compa...
apache-2.0
ccooper1/OpenDash
src/main/java/org/apereo/lai/Institution.java
967
/******************************************************************************* * Copyright 2015 Unicon (R) Licensed under the * Educational Community 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-2.0
Over-enthusiastic/hostboot
src/import/hwpf/fapi2/include/plat/subroutine_executor.H
2727
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/hwpf/fapi2/include/plat/subroutine_executor.H $ */ /* ...
apache-2.0
Vudentz/zephyr
drivers/sensor/pms7003/pms7003.c
4354
/* * Copyright (c) 2017 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #define DT_DRV_COMPAT plantower_pms7003 /* sensor pms7003.c - Driver for plantower PMS7003 sensor * PMS7003 product: http://www.plantower.com/en/content/?110.html * PMS7003 spec: http://aqicn.org/air/view/sensor/spec/pms7003.pd...
apache-2.0
jplusui/xfly
xfly/node/node_modules/npm/test/common-tap.js
731
var spawn = require('child_process').spawn var port = exports.port = 1337 exports.registry = "http://localhost:" + port exports.run = run function run (cmd, t, opts, cb) { if (!opts) opts = {} if (!Array.isArray(cmd)) throw new Error("cmd must be an Array") if (!t || !t.end) throw new Error("node-ta...
apache-2.0
awslabs/aws-sdk-cpp
aws-cpp-sdk-securityhub/source/model/AwsS3BucketLoggingConfiguration.cpp
1584
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/securityhub/model/AwsS3BucketLoggingConfiguration.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; n...
apache-2.0
mal/chef
spec/unit/provider/package/apt_spec.rb
21755
# # Author:: Adam Jacob (<adam@chef.io>) # Copyright:: Copyright 2008-2017, Chef Software 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
aelij/roslyn
src/EditorFeatures/TestUtilities/Remote/InProcRemostHostClient.cs
11474
// 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; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Runtime.Remoting; using System.Threading; using Syste...
apache-2.0
googleapis/google-cloud-dotnet
apis/Google.Cloud.Monitoring.V3/Google.Cloud.Monitoring.V3.GeneratedSnippets/UptimeCheckServiceClient.CreateUptimeCheckConfigSnippet.g.cs
1776
// Copyright 2022 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
sunshine-life/GoodsManagement
src/main/java/org/goodsManagement/service/impl/PoiUtils/GetGoodsToExcel.java
2120
package org.goodsManagement.service.impl.PoiUtils; import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.goodsManagement.po.GetGoodsDto; import org.goodsManagement.vo.GetGoodsVO; import org.springframework.stereotype.Component; import java.util.ArrayList; import...
apache-2.0
kevinearls/camel
platforms/spring-boot/components-starter/camel-bean-validator-starter/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentAutoConfiguration.java
6273
/** * 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
RayZ-O/grokit
src/DataTypes/headers/Dictionary.h
3061
#ifndef _DICTIONARY_H_ #define _DICTIONARY_H_ #include <string> #include <unordered_map> #include <cinttypes> // This class represents a dictionary that maps integer values to strings. class Dictionary { public: typedef int32_t DiffType; // return value of compare function typedef uint32_t IntT...
apache-2.0
google/llvm-propeller
lld/wasm/WriterUtils.cpp
7617
//===- WriterUtils.cpp ----------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
apache-2.0
slobberchops/booze
src/booze/gin/rule.py
2341
# Copyright 2015 Rafe Kaplan # # 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
scala-js/scala-js
project/MultiScalaProject.scala
4271
package build import sbt._ import Keys._ import Def.SettingsDefinition final class MultiScalaProject private (private val projects: Map[String, Project]) extends CompositeProject { import MultiScalaProject._ val v2_11: Project = projects("2.11") val v2_12: Project = projects("2.12") val v2_13: Project = ...
apache-2.0
ddebrunner/streamsx.topology
java/src/com/ibm/streamsx/topology/internal/logging/Logging.java
800
/* # Licensed Materials - Property of IBM # Copyright IBM Corp. 2019 */ package com.ibm.streamsx.topology.internal.logging; import java.util.logging.Level; import java.util.logging.Logger; public interface Logging { /** * Set the root logging levels from Python logging integer level. * @param leve...
apache-2.0
componavt/wikokit
android/common_wiki_android/src/wikokit/base/wikt/db/Decompressor.java
1533
package wikokit.base.wikt.db; import android.util.Log; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; /** Decompress ziped file. * * @see http://www.jondev.net/articles/Unzipping_Files_with_...
apache-2.0
daprlabs/WebStreamSamples
ChatRoomController.cs
4330
// -------------------------------------------------------------------------------------------------------------------- // <summary> // The chat room controller. // </summary> // -------------------------------------------------------------------------------------------------------------------- namespace WebStreams...
apache-2.0
Fabryprog/camel
components/camel-jms/src/test/java/org/apache/camel/component/jms/tx/JMSTransactionalClientWithRollbackTest.java
2206
/* * 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
trustin/sphinx-gradle-plugin
src/site/sphinx/_static/center_page.js
2528
(function() { var head = document.head || document.getElementsByTagName('head')[0]; var style = null; var mobileScreenWidth = 768; // Make sure this value is equal to the width of .wy-nav-content in overrides.css. var initialContentWidth = 960; // Make sure this value is equal to the width of .wy-nav-side ...
apache-2.0
albdum/uprove
src/main/java/com/microsoft/uprove/UProveToken.java
6515
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the Apache License Version 2.0. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRAN...
apache-2.0
googleapis/google-api-php-client-services
src/ServiceNetworking/LabelDescriptor.php
1643
<?php /* * Copyright 2014 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 t...
apache-2.0
shanti/olio
webapp/java/trunk/ws/apps/webapp/src/java/org/apache/olio/webapp/cache/Cache.java
2298
/* * 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
shanti/olio
webapp/rails/trunk/vendor/plugins/rspec/story_server/prototype/javascripts/unittest.js
21009
/* * 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
finikorg/zephyr
subsys/bluetooth/host/direction_internal.h
371
/* * Copyright (c) 2020 Nordic Semiconductor ASA * * SPDX-License-Identifier: Apache-2.0 */ /* Performs initialization of Direction Finding in Host */ int le_df_init(void); void hci_df_prepare_connectionless_iq_report(struct net_buf *buf, struct bt_df_per_adv_sync_iq_samples_report *report, st...
apache-2.0
SAT-Hadoop/hadoop-2.6.0
share/doc/hadoop/api/org/apache/hadoop/yarn/applications/distributedshell/class-use/ApplicationMaster.html
6562
<!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.6.0_45) on Thu Nov 13 21:22:01 UTC 2014 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Class org.apache.hadoop.y...
apache-2.0
apache/tapestry3
tapestry-examples/VlibBeans/src/org/apache/tapestry/vlib/ejb/IBookQuery.java
2080
// Copyright 2004 The Apache Software 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 applicable ...
apache-2.0
apixandru/intellij-community
platform/structuralsearch/source/com/intellij/structuralsearch/impl/matcher/compiler/PatternCompiler.java
20077
/* * Copyright 2000-2017 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
velmuruganvelayutham/jpa
examples/Chapter7/02-namedQueryExample/src/model/examples/model/Department.java
759
package examples.model; import java.util.ArrayList; import java.util.Collection; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.OneToMany; @Entity public class Department { @Id private int id; private String name; @OneToMany(mappedBy="department") private C...
apache-2.0
slightperturbation/Cobalt
ext/emsdk_portable/clang/tag-e1.34.1/src/lib/Transforms/NaCl/Makefile
439
##===- lib/Transforms/NaCl/Makefile-------------------------*- Makefile -*-===## # # The LLVM Compiler Infrastructure # # This file is distributed under the University of Illinois Open Source # License. See LICENSE.TXT for details. # ##===-------------------------------------------------------------...
apache-2.0
maikuru/cesium-drupal
cesium_cartesian3/cesium_cartesian3.css
163
/** * @file * CSS for Cesium Cartesian3. */ div.form-item table .form-type-textfield, div.form-item table .form-type-textfield * { display: inline-block; }
apache-2.0
missioncommand/emp3-web
src/validation/js/constants/PropertyConstants.js
997
export const FILLPATTERN = { none: '', crossHatched: 'Crosshatched', hatched: 'Hatched', solid: 'Solid' }; export const STROKEPATTERN = { none: '', dashed: 'Dashed', dotted: 'Dotted', solid: 'Solid' }; export const ALTITUDEMODE = { NONE: '', ABSOLUTE: 'Absolute', RELATIVE_TO_GROUND: 'Relative to...
apache-2.0
MatkovIvan/azure-mobile-apps-net-client
src/Microsoft.Azure.Mobile.Client/Platforms/ios/CurrentPlatform.cs
3139
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ---------------------------------------------------------------------------- using System; using System.IO; namespace Microsoft.WindowsAzure.MobileServices { /// <summar...
apache-2.0
googleapis/google-api-php-client-services
src/ChromePolicy/GoogleChromePolicyV1PolicySchemaFieldDescription.php
3468
<?php /* * Copyright 2014 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 t...
apache-2.0
peter-watters/WebPortfolio
physiodublin/wp-content/plugins/social-media-tabs/css/dcsmt_admin.css
2428
#dcwp-avatar {float: left; display: block; width: 32px; height: 32px; background: url(images/dc_icon32.png) no-repeat 0 0; margin: 0 5px 0 0;} .dcwp-box.postbox {margin-bottom: 10px;} .dcwp-box .hndle {margin-bottom: 10px;} .dcwp-box p, .dcwp-box ul, .widget .widget-inside p.dcwp-box {padding: 0 10px; margin: 0 0 3px ...
apache-2.0
michalkurka/h2o-3
h2o-core/src/test/java/water/jdbc/SQLManagerKeyOverwiteTest.java
1246
package water.jdbc; import org.junit.Test; import org.junit.runner.RunWith; import water.Key; import water.Keyed; import water.fvec.Frame; import water.runner.CloudSize; import water.runner.H2ORunner; import java.util.Set; import java.util.stream.Collectors; import java.util.stream.IntStream; import static org.junit...
apache-2.0
yoanngern/iahm_2016
wp-content/plugins/event-espresso-core-reg/core/services/commands/registration/SingleRegistrationCommand.php
998
<?php namespace EventEspresso\core\services\commands\registration; use EventEspresso\core\services\commands\Command; if ( ! defined( 'EVENT_ESPRESSO_VERSION' ) ) { exit( 'No direct script access allowed' ); } /** * Class SingleRegistrationCommand * DTO for passing data a single EE_Registration object to a Comma...
apache-2.0
tsugiproject/tsugi
vendor/google/apiclient-services/src/Google/Service/FactCheckTools.php
5227
<?php /* * Copyright 2014 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 t...
apache-2.0
GunoH/intellij-community
platform/execution-impl/src/com/intellij/execution/impl/statistics/RunConfigurationUsageTriggerCollector.java
7712
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.execution.impl.statistics; import com.intellij.execution.Executor; import com.intellij.execution.configurations.ConfigurationFactory; import com.intellij.exe...
apache-2.0
NervanaSystems/neon
neon/backends/kernels/cuda/__init__.py
748
# ****************************************************************************** # Copyright 2014-2018 Intel 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
walterDurin/stickycode
net.stickycode.deploy.samples/sticky-deploy-sample-helloworld/src/main/java/net/stickycode/deploy/sample/helloworld/HelloWorld.java
1097
/** * Copyright (c) 2010 RedEngine Ltd, http://www.redengine.co.nz. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at h...
apache-2.0
Aware360/kafka-net
src/Kafka/Kafka.Tests/Properties/AssemblyInfo.cs
1503
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("Ka...
apache-2.0
ksyydream/api_llx
Baocms/Tpl/database/import.html
3289
<include file='public:header'/> <div class="mainBt"> <ul> <li class="li1">系统</li> <li class="li2">数据库</li> <li class="li2 li3">数据库还原</li> </ul> </div> <div class="main-jsgl"> <p class="attention"><span>注意:</span>谨慎操作!</p> <div class="jsglNr"> <div class="selectNr"> ...
apache-2.0
apache/incubator-shardingsphere
shardingsphere-kernel/shardingsphere-parser/shardingsphere-parser-core/src/main/java/org/apache/shardingsphere/parser/rule/SQLParserRule.java
1720
/* * 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
jwkessi/geomesa
geomesa-core/src/main/scala/org/locationtech/geomesa/core/process/proximity/ProximitySearchProcess.scala
4530
package org.locationtech.geomesa.core.process.proximity import com.typesafe.scalalogging.slf4j.Logging import com.vividsolutions.jts.geom.GeometryFactory import org.geotools.data.Query import org.geotools.data.simple.{SimpleFeatureCollection, SimpleFeatureSource} import org.geotools.data.store.ReTypingFeatureCollectio...
apache-2.0
apache/incubator-asterixdb
hyracks-fullstack/algebricks/algebricks-runtime/src/main/java/org/apache/hyracks/algebricks/runtime/operators/sort/MicroSortRuntimeFactory.java
8262
/* * 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
visouza/solr-5.0.0
solr/core/src/java/org/apache/solr/core/CoreContainer.java
30728
/* * 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
istio/istio.io
archive/v1.2/docs/tasks/egress/index.html
471
<!doctype html><html lang=en><head><title>Redirecting&hellip;</title><link rel=canonical href=/v1.2/docs/tasks/traffic-management/egress/egress-control/><meta name=robots content=noindex><meta charset=utf-8><meta http-equiv=refresh content="0; url=/v1.2/docs/tasks/traffic-management/egress/egress-control/"></head><body...
apache-2.0
VHAINNOVATIONS/TheDailyPlan
LegacyApp/tdpWeb/src/main/java/gov/va/medora/mdws/emrsvc/GetDischargeSummaries.java
2528
package gov.va.medora.mdws.emrsvc; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymous complex type. * * <p>The following schema ...
apache-2.0
prometheus/node_exporter
examples/systemd/README.md
560
# Systemd Unit If you are using distribution packages or the copr repository, you don't need to deal with these files! The unit file in this directory is to be put into `/etc/systemd/system`. It needs a user named `node_exporter`, whose shell should be `/sbin/nologin` and should not have any special privileges. It ne...
apache-2.0
apache/pig
test/org/apache/pig/test/Util.java
58248
/* * 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
nghiant2710/base-images
examples/INITSYSTEM/openrc/Dockerfile
306
FROM balenalib/amd64-alpine:3.6 RUN apk add --update \ openrc \ && rm -rf /var/cache/apk/* # Config OpenRC RUN sed -i '/tty/d' /etc/inittab COPY rc.conf /etc/ COPY resin /etc/init.d/ RUN rc-update add resin default COPY entry.sh /usr/bin/entry.sh ENTRYPOINT ["/usr/bin/entry.sh"]
apache-2.0
dougbenjamin/panda-harvester
pandaharvester/harvesterscripts/prescript.py
901
import os import sys import argparse from pandaharvester.harvesterconfig import harvester_config from pandaharvester.harvestermisc.selfcheck import harvesterPackageInfo def main(): oparser = argparse.ArgumentParser(prog='prescript', add_help=True) oparser.add_argument('-f', '--local_info_file', action='store...
apache-2.0
aelij/roslyn
src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenStringConcat.cs
52898
// 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 Microsoft.CodeAnalysis.CSharp.Test.Utilities; using Roslyn.Test.Utilities; using Xunit; namespace Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen { ...
apache-2.0
lnc2014/sxg
ace-v1.3/build/lib/less.js
280205
/*! * LESS - Leaner CSS v1.7.0 * http://lesscss.org * * Copyright (c) 2009-2014, Alexis Sellier <self@cloudhead.net> * Licensed under the Apache v2 License. * */ /** * @license Apache v2 */ (function (window, undefined) {// // Stub out `require` in the browser // function require(arg) { return...
apache-2.0
DomainDrivenArchitecture/dda-serverspec-crate
integration/resources/test_it.sh
1241
#!/usr/bin/env bash # start ssh to be tested "running" by netstat service ssh start # run the tests - every test should result in "passed" cd /app && \ java -jar /app/dda-serverspec-standalone.jar -v /app/certificate-file.edn && \ echo "----------" && \ java -jar /app/dda-serverspec-standalone.jar -v /app/command.edn...
apache-2.0
devspark-com/aws-lambda-deploy
src/main/java/org/devspark/aws/tools/AWSAPIGatewayDeployer.java
5913
package org.devspark.aws.tools; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.maven.plugin.AbstractMojo...
apache-2.0
ariax/phpcms
core/config.php
1959
<?php //-------------------------------- //db_mysqli, db_pdo $var->db_driver = 'db_mysqli'; //$var->db_driver = 'db_pdo'; //for pdo: mysql, sqlite, ... //$var->db_engine = 'mysql'; $var->db_host = 'localhost'; $var->db_database = 'ada'; $var->db_user = 'ad'; $var->db_pass = 'dddd'; //$var->db_database = 'kargosha'; ...
apache-2.0
jwren/intellij-community
platform/lang-api/src/com/intellij/ide/actions/ElementCreator.java
4462
/* * 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
marco-hoyer/cfn-sphere
src/unittest/python/util_tests.py
8933
import tempfile from git import InvalidGitRepositoryError try: from unittest2 import TestCase from mock import patch, Mock except ImportError: from unittest import TestCase from mock import patch, Mock import textwrap from datetime import datetime from botocore.exceptions import ClientError from dat...
apache-2.0
ghchinoy/tensorflow
tensorflow/python/compiler/tensorrt/test/reshape_transpose_test.py
5407
# 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
qiuyesuifeng/mybatis-3
src/test/java/org/apache/ibatis/submitted/result_handler/CreateDB.sql
879
-- -- Copyright 2009-2012 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 -- -- Unles...
apache-2.0
tgraf/cilium
pkg/datapath/node_addressing.go
1642
// Copyright 2018-2020 Authors of Cilium // // 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
pmoerenhout/camel
components/camel-huaweicloud-smn/src/main/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationProducer.java
16562
/* * 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
TuWei1992/zswxsqxt
src/main/zswxsqxt/com/zswxsqxt/wf/dao/WfActivityDao.java
3115
package com.zswxsqxt.wf.dao; import java.util.ArrayList; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.springframework.stereotype.Repository; import cn.org.rapid_framework.page.Page; import com.opendata.common.base.BaseHibernateDao; import com.zswxsqxt.wf.model.WfActivity; import com...
apache-2.0
bobmcwhirter/wildfly-swarm
plugin/src/main/java/org/wildfly/swarm/plugin/maven/StartMojo.java
13234
/** * Copyright 2015-2016 Red Hat, Inc, and individual 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 require...
apache-2.0
roycem90/python-o365
tests/test_attachment.py
1812
from O365 import attachment import unittest import json import base64 from random import randint att_rep = open('attachment.json','r').read() att_j = json.loads(att_rep) class TestAttachment (unittest.TestCase): def setUp(self): self.att = attachment.Attachment(att_j['value'][0]) def test_isType(self): self....
apache-2.0
aureg/alfresco-bulk-import
amp/src/main/java/org/alfresco/extension/bulkimport/source/fs/DirectoryAnalyser.java
13939
/* * Copyright (C) 2007-2015 Peter Monks. * * 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 o...
apache-2.0
cloudfoundry-incubator/bosh-google-cpi-release
CHANGELOG.md
7760
# Change Log All releases of the BOSH CPI for Google Cloud Platform will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ## [30.0.0] - 2019-01-04 ### Added - MULTI_IP_SUBNET support in GCE ### Changed - Go 1.12 - BOSH API v2 ## [29.0.0] - 2019-01-04 ### Fixed - VM IP ...
apache-2.0
openhatch/oh-missions-oppia-beta
core/storage/base_model/gae_models.py
15533
# Copyright 2014 The Oppia 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 ...
apache-2.0
TestMonkeys/Assert
UsageExample/PropertySetValidatorTests/TestObjects/TestObjectImproperGreaterThan.cs
259
using TestMonkeys.EntityTest.Framework; namespace UsageExample.PropertySetValidatorTests.TestObjects { public class TestObjectImproperGreaterThan { [ValidateActualGreaterThan(0)] public object GreaterThanValue { get; set; } } }
apache-2.0
googleapis/google-cloud-dotnet
apis/Google.Cloud.Tpu.V1/Google.Cloud.Tpu.V1.GeneratedSnippets/TpuClient.CreateNodeRequestObjectAsyncSnippet.g.cs
2721
// Copyright 2022 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
pgh70/mycontroller
modules/core/src/main/java/org/mycontroller/standalone/api/jaxrs/mixins/deserializers/FrequencyTypeDeserializer.java
1580
/* * Copyright 2015-2018 Jeeva Kandasamy (jkandasa@gmail.com) * and other contributors as indicated by the @author tags. * * 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://...
apache-2.0
nguerrera/roslyn
src/Features/LanguageServer/ProtocolUnitTests/Definitions/GoToDefinitionTests.cs
2280
// 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.Linq; using System.Threading; using System.Threading.Tasks; using Roslyn.Test.Utilities; using Xunit; using LSP = Microsoft.VisualStudio.Language...
apache-2.0
shenkers/CrossBrowse
src/main/java/org/mskcc/shenkers/data/interval/IntervalFeature.java
585
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.mskcc.shenkers.data.interval; import htsjdk.tribble.Feature; import htsjdk.tribble.annotation.Strand; import htsjdk.tribb...
apache-2.0
ronagapitz/matchdrobe-app
www/css/structure/jquery.mobile.fixedToolbar.css
1409
/* fixed page header & footer configuration */ .ui-header-fixed, .ui-footer-fixed { left: 0; right: 0; width: 100%; position: fixed; z-index: 1000; } .ui-header-fixed { top: -1px; padding-top: 1px; } .ui-header-fixed.ui-fixed-hidden { top: 0; padding-top: 0; } .ui-header-fixed .ui-btn-left, .ui-header-fixed .u...
apache-2.0
tvoli/shaka-player
ui/fast_forward_button.js
2812
/*! @license * Shaka Player * Copyright 2016 Google LLC * SPDX-License-Identifier: Apache-2.0 */ goog.provide('shaka.ui.FastForwardButton'); goog.require('shaka.ui.Controls'); goog.require('shaka.ui.Element'); goog.require('shaka.ui.Enums'); goog.require('shaka.ui.Locales'); goog.require('shaka.ui.Localization')...
apache-2.0
shubhamg31/columbus_julia
lib/julia/README.windows.md
17806
# General Information for Windows This file describes how to install, or build, and use Julia on Windows. For more general information about Julia, please see the [main README](https://github.com/JuliaLang/julia/blob/master/README.md) or the [documentation](http://docs.julialang.org/). # Unicode font support The bui...
apache-2.0
apache/geronimo
plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/JSR88_Util.java
6904
/** * 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"); yo...
apache-2.0
mike-jumper/incubator-guacamole-website
doc/1.0.0/guacamole-ext/constant-values.html
12352
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_191) on Fri Dec 21 13:21:36 PST 2018 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Constant Field Values (guac...
apache-2.0
fabiand/kubevirt
pkg/virt-launcher/virtwrap/cmd-server/cmd_server_suite_test.go
200
package cmdserver_test import ( "testing" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" ) func TestCmdServer(t *testing.T) { RegisterFailHandler(Fail) RunSpecs(t, "CmdServer Suite") }
apache-2.0
jskonst/PlatypusJS
web-client/src/platypus/src/com/eas/widgets/containers/FlowGapPanel.java
1696
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.eas.widgets.containers; import com.eas.core.XElement; import com.google.gwt.dom.client.Style; import com.google.g...
apache-2.0
isandlaTech/cohorte-herald
java/org.cohorte.herald.core/src/org/cohorte/herald/core/utils/MessageUtils.java
4164
package org.cohorte.herald.core.utils; import java.util.Iterator; import org.cohorte.herald.Message; import org.cohorte.herald.MessageReceived; import org.jabsorb.ng.JSONSerializer; import org.jabsorb.ng.serializer.MarshallException; import org.jabsorb.ng.serializer.UnmarshallException; import org.json.JSONArray; imp...
apache-2.0
sunpy1106/SpringBeanLifeCycle
src/main/java/org/springframework/cache/annotation/AbstractCachingConfiguration.java
4164
/* * Copyright 2002-2012 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
nverwer/cocooncomponents
src/org/apache/cocoon/transformation/DownloadTransformer.java
11508
package org.apache.cocoon.transformation; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.FileInputStream; import java.io.IOException; import java.io.OutputStream; import java.util.Map; import java.util.zip.ZipInputStream; import java.util.zip.ZipEntry; import...
apache-2.0
UlrichColby/httpcomponents-client
httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync/TestStatefulConnManagement.java
9740
/* * ==================================================================== * 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 ...
apache-2.0
DanielSerdyukov/droidkit-4.x
library/src/main/java/droidkit/app/MapsIntent.java
1295
package droidkit.app; import android.content.Intent; import android.net.Uri; import android.support.annotation.NonNull; import java.util.Locale; /** * @author Daniel Serdyukov */ public final class MapsIntent { private static final String MAPS_URL = "https://maps.google.com/maps"; private MapsIntent() { ...
apache-2.0
juwi/hbase
hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestReplication.java
17081
/** * 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
mxr576/webpage-content-extractor-api
lib/config.js
676
'use strict'; var nconf = require('nconf'); var path = require('path'); /** * Handle the configuration management. * * @constructor */ function Config() { nconf.argv().env("_"); var environment = nconf.get("NODE:ENV") || "development"; nconf.file(environment, {file: path.resolve(__dirname, '../config/' + en...
apache-2.0
apache/calcite
testkit/src/main/java/org/apache/calcite/test/SqlRuntimeTester.java
3405
/* * 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
h4ck3rm1k3/dep-selector-libgecode
ext/libgecode3/vendor/gecode-3.7.3/gecode/int/element.cpp
6133
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Christian Schulte <schulte@gecode.org> * * Copyright: * Christian Schulte, 2004 * * Last modified: * $Date: 2010-03-04 03:40:32 +1100 (Thu, 04 Mar 2010) $ by $Author: schulte $ * $Revision: 10365 $ * * ...
apache-2.0
Teradata/presto
presto-main/src/test/java/com/facebook/presto/operator/scalar/TestZipWithFunction.java
5166
/* * 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
jdeppe-pivotal/geode
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/SystemMemberRegionJmxImpl.java
4385
/* * 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
BigBoss424/portfolio
v6/node_modules/hard-source-webpack-plugin/lib/util/plugin-compat.js
7732
let hookTypes; const callStyles = { sync: 'applyPlugins', syncWaterfall: 'applyPluginsWaterfall', syncBail: 'applyPluginsBailResult', sync_map: 'applyPlugins', asyncWaterfall: 'applyPluginsAsyncWaterfall', asyncParallel: 'applyPluginsParallel', asyncSerial: 'applyPluginsAsync', }; const camelToDash = ca...
apache-2.0