repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
OSGP/Integration-Tests
cucumber-tests-platform-smartmetering/src/test/java/org/opensmartgridplatform/cucumber/platform/smartmetering/glue/steps/ws/smartmetering/smartmeteringadhoc/AllAttributeValues.java
3355
/** * Copyright 2016 Smart Society Services B.V. * * 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 */ package org.opensmartgridplatform.cuc...
apache-2.0
lucasjellema/APM-Demo-App-WorldView
RestService/src/nl/amis/world/rest/rss/RSSFeedParser.java
8507
package nl.amis.world.rest.rss; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import javax.xml.stream.X...
apache-2.0
mosaic-cloud/mosaic-java-platform
tools-exceptions/src/main/java/eu/mosaic_cloud/tools/exceptions/tools/QueuedExceptions.java
1667
/* * #%L * mosaic-tools-exceptions * %% * Copyright (C) 2010 - 2013 Institute e-Austria Timisoara (Romania) * %% * 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.a...
apache-2.0
chanakaudaya/carbon-transports
http/org.wso2.carbon.transport.http.netty/src/test/java/org/wso2/carbon/transport/http/netty/util/server/websocket/WebSocketRemoteServer.java
2132
/* * Copyright (c) 2017, 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....
apache-2.0
bisigc/art
app/dao/GenericDAO.java
1893
package dao; import java.io.Serializable; import java.util.List; import javax.persistence.TypedQuery; import models.AbstractModel; /** * Interface for a {@link GenericDAO}. * * @author cbi * * @param <T> Generic Data Model Object * @param <PK> Generic Primary Key of Data Model Object */ public interface Gen...
apache-2.0
rwaldron/traceur-compiler
test/feature/LegacyModules/ImportFromLocalModule.js
341
module m { export var x = 1; export var y = 2; } import {x as renamedX, y} from m; import {x} from m; module m2 from m; assert.equal(1, x); assert.equal(1, renamedX); assert.equal(2, y); assert.equal(x, renamedX); assert.equal(x, m.x); // Closure tests cannot handle Object.create(null) assert.isTrue(m === m2); a...
apache-2.0
codefacets/squish-core
app/models/squash/symbolication.rb
5437
# Copyright 2013 Square 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 ...
apache-2.0
wanglongbiao/webapp-tools
Highlander/ship-gis/src/main/webapp/js/arcgis_js_api/library/3.22/moment/locale/cv.js
3246
//>>built (function(b,a){"object"===typeof exports&&"undefined"!==typeof module&&"function"===typeof require?a(require("../moment")):"function"===typeof define&&define.amd?define("moment/locale/cv",["../moment"],a):a(b.moment)})(this,function(b){return b.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447 \...
apache-2.0
pdalbora/gosu-lang
gosu-xml/src/main/java/gw/internal/xml/xsd/typeprovider/schema/XmlSchemaAttributeOrAttributeGroup.java
571
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.internal.xml.xsd.typeprovider.schema; import gw.internal.xml.xsd.typeprovider.XmlSchemaIndex; import gw.lang.reflect.LocationInfo; public abstract class XmlSchemaAttributeOrAttributeGroup<T extends XmlSchemaAttributeOrAttributeGroup> extends XmlSchemaObjec...
apache-2.0
fnothaft/ananas
src/main/scala/net/fnothaft/ananas/models/Fragment.scala
824
/** * Copyright 2015 Frank Austin Nothaft * * 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
twitter/scrooge
scrooge-core/src/main/scala/com/twitter/scrooge/StructBuilderFactory.scala
1449
package com.twitter.scrooge /** * A trait that provides an interface for building a new StructBuilder[T]. * * When added to the companion object, it makes it possible to create a T statically * without needing to call `newBuilder()` on an instance. For example, calling * `Struct.newBuilder()`. In this case, there...
apache-2.0
dagnir/aws-sdk-java
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/AmazonInspectorClient.java
107586
/* * Copyright 2012-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 "licen...
apache-2.0
Nokorbis/ar-command-signs
plugin/src/main/java/be/nokorbis/spigot/commandsigns/command/subcommands/InfoCommand.java
2078
package be.nokorbis.spigot.commandsigns.command.subcommands; import be.nokorbis.spigot.commandsigns.command.CommandRequiringManager; import be.nokorbis.spigot.commandsigns.controller.NCommandSignsManager; import be.nokorbis.spigot.commandsigns.model.CommandBlock; import be.nokorbis.spigot.commandsigns.model.CommandBlo...
apache-2.0
stevshil/tpsexam
site/includes.php
65
<?php set_include_path(get_include_path() . ':' . getcwd()); ?>
apache-2.0
DongPoSu/LearnJava
src/main/java/learn/nio/channel/file/ChannelTransfer.java
959
package learn.nio.channel.file; import java.io.FileInputStream; import java.io.IOException; import java.nio.channels.Channels; import java.nio.channels.FileChannel; import java.nio.channels.WritableByteChannel; /** * @author suzheng * @version v.1.0 */ public class ChannelTransfer { public static void main(Str...
apache-2.0
mmmsplay10/QuizUpWinner
quizup/o/Àé$Àä.java
309
package o; import java.util.ArrayList; final class ˎ$ˊ { Object ˊ; Object ˋ; cON<String, Object> ˎ; ArrayList<iF> ˏ; cON<String, auX> ᐝ; } /* Location: /Users/vikas/Documents/Mhacks_Real_app/classes-dex2jar.jar * Qualified Name: o.Àé.Àä * JD-Core Version: 0.6.2 */
apache-2.0
andresriancho/moto
moto/route53/responses.py
4858
from jinja2 import Template from urlparse import parse_qs, urlparse from .models import route53_backend import xmltodict import dicttoxml def list_or_create_hostzone_response(request, full_url, headers): if request.method == "POST": elements = xmltodict.parse(request.body) new_zone = route53_back...
apache-2.0
googleapis/python-pubsublite
google/cloud/pubsublite/cloudpubsub/message_transforms.py
4968
# Copyright 2020 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
apache-2.0
google/apis-client-generator
src/googleapis/codegen/configuration_test.py
4793
#!/usr/bin/python2.7 # Copyright 2012 Google Inc. All Rights Reserved. """Tests validity of the apiserving/libgen/gen configuration files. This looks at the contents of the config files used by the code generator to make sure they won't blow up at run time. """ __author__ = 'aiuto@google.com (Tony Aiuto)' import os...
apache-2.0
rickbw/crud-http
src/main/java/crud/http/util/FailedResponseOperator.java
7059
/* Copyright 2014 Rick Warren * * 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 writ...
apache-2.0
knutwalker/google-closure-library
closure/goog/string/string.js
43741
// Copyright 2006 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
dturner-tw/pants
src/python/pants/goal/context.py
12904
# coding=utf-8 # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import (absolute_import, division, generators, nested_scopes, print_function, unicode_literals, with_statement) import os import sys...
apache-2.0
hyperhq/kubernetes
staging/src/k8s.io/apiserver/pkg/storage/watch_cache_test.go
9848
/* Copyright 2014 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
apache-2.0
heinigger/utils
thirdParty/applibrary/src/main/java/utils/app/ActivityManagerUtil.java
3301
package utils.app; import android.app.Activity; import java.util.Stack; /** * public class BaseActivity extends AppCompatActivity { * private ActivityManagerUtil activityManagerUtil; * protected void onCreate(Bundle savedInstanceState) { * super.onCreate(savedInstanceState); * setContentView(R.layout.activity_b...
apache-2.0
JoelMarcey/buck
test/com/facebook/buck/jvm/java/abi/AbiFilteringClassVisitorTest.java
7390
/* * Copyright 2017-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
apache-2.0
rodzyn0688/zipkin
zipkin-scrooge/src/test/scala/com/twitter/zipkin/adapter/ThriftAdapterSpec.scala
4413
/* * Copyright 2012 Twitter 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 ...
apache-2.0
gawkermedia/googleads-java-lib
modules/dfp_axis/src/main/java/com/google/api/ads/dfp/axis/v201511/TeamServiceSoapBindingStub.java
39099
/** * TeamServiceSoapBindingStub.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.dfp.axis.v201511; public class TeamServiceSoapBindingStub extends org.apache.axis.client.Stub implements com.google.api.ads.dfp.ax...
apache-2.0
bbrowning/wildfly-swarm
remoting/runtime/src/main/java/org/wildfly/swarm/remoting/runtime/RemotingConfiguration.java
2078
package org.wildfly.swarm.remoting.runtime; import java.util.ArrayList; import java.util.List; import org.jboss.as.controller.PathAddress; import org.jboss.as.controller.PathElement; import org.jboss.dmr.ModelNode; import org.wildfly.swarm.container.runtime.AbstractServerConfiguration; import org.wildfly.swarm.remoti...
apache-2.0
DeinDesign/css
node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/es5-ext/lib/Object/map.js
370
'use strict'; var callable = require('./valid-callable') , forEach = require('./for-each') , call = Function.prototype.call; module.exports = function (obj, cb/*, thisArg*/) { var o = {}, thisArg = arguments[2]; callable(cb); forEach(obj, function (value, key, obj, index) { o[key] = call.call(cb, thisA...
apache-2.0
mbohlool/client-python
kubernetes/client/models/v1beta2_stateful_set_status.py
11358
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.8.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re ...
apache-2.0
MatMaul/libstorage
imports/executors/imports_executor_isilon.go
197
// +build libstorage_storage_executor,libstorage_storage_executor_isilon package executors import ( // load the packages _ "github.com/codedellemc/libstorage/drivers/storage/isilon/executor" )
apache-2.0
delacruzjayveejoshua920/ICNG-App-for-Windows-8.1-and-Windows-Phone-8.1-
InfoAppWindows8/ICNG Phone/obj/x86/Debug/Views/MyFiles.g.cs
1343
 #pragma checksum "C:\Users\DonCampos\Source\Workspaces\InfoApp\InfoAppWindows8\ICNG Phone\Views\MyFiles.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "D8CEC6B28F0449C0A14B4A2FBBE72741" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated...
apache-2.0
abates/gosh
example/appliance.go
1607
package main import ( "fmt" "github.com/abates/gosh" "net" "os" "time" ) type TimeCommand struct{} func (TimeCommand) Exec() error { t := time.Now() fmt.Println(t.Format(time.RFC822)) return nil } func interfaceNames() ([]string, error) { interfaces, err := net.Interfaces() names := make([]string, len(int...
apache-2.0
bingoohuang/westcache
src/test/java/com/github/bingoohuang/westcache/springann/SpringConfig.java
1627
package com.github.bingoohuang.westcache.springann; import com.github.bingoohuang.westcache.spring.WestCacheableEnabled; import com.github.bingoohuang.westcache.spring.WestCacheableScan; import com.github.bingoohuang.westcache.utils.EmbeddedRedis; import com.github.bingoohuang.westcache.utils.Redis; import lombok.val;...
apache-2.0
txusballesteros/Android-Clean-Testing
app/src/main/java/com/txusballesteros/testing/data/datasource/model/ImageEntityMapperImpl.java
1796
/* * Copyright Txus Ballesteros 2016 (@txusballesteros) * * This file is part of some open source application. * * 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 copyrig...
apache-2.0
xxs/es-shop
src/main/java/com/sishuok/es/common/repository/RepositoryHelper.java
10302
/** * Copyright (c) 2005-2012 https://github.com/zhangkaitao * * Licensed under the Apache License, Version 2.0 (the "License"); */ package com.sishuok.es.common.repository; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persis...
apache-2.0
yinkaf/robovm-samples
HelloGL/src/main/java/org/robovm/samples/hellogl/GLES2.java
34443
/* * Copyright (C) 2014 RoboVM AB * * 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
CalebFenton/computer_craft
biogenerator/generator-control.lua
374
local modem = peripheral.wrap("back") modem.open(7) while true do local event, modemSide, senderChannel, replyChannel, message, distance = os.pullEvent("modem_message") write("Received: " + message + "\n") if message == "enable" then rs.setBundledOutput("right", 0) else rs.setBundledOutpu...
apache-2.0
petracvv/cas
core/cas-server-core-authentication/src/main/java/org/apereo/cas/services/DefaultMultifactorAuthenticationProviderBypass.java
11212
package org.apereo.cas.services; import org.apache.commons.lang3.StringUtils; import org.apereo.cas.authentication.Authentication; import org.apereo.cas.authentication.AuthenticationHandler; import org.apereo.cas.authentication.AuthenticationManager; import org.apereo.cas.authentication.DefaultAuthenticationBuilder; i...
apache-2.0
tayeumi/HFC
HFC/Forms/frmMaps.cs
3329
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using DevExpress.XtraEditors; using HFC.Class; using System.Threading; namespace HFC.Forms { public partial class frmMaps : DevExpress.XtraEditors.Xt...
apache-2.0
oMMuCo/HPTT-FT-UGM-Official-Website
protected/views/wall_like/_search.php
1400
<?php /** * Ommu Wall Likes (ommu-wall-likes) * @var $this WalllikeController * @var $model OmmuWallLikes * @var $form CActiveForm * version: 1.1.0 * * @author Putra Sudaryanto <putra@sudaryanto.id> * @copyright Copyright (c) 2015 Ommu Platform (ommu.co) * @link https://github.com/oMMu/Ommu-Core * @contect (+...
apache-2.0
SonicGD/google-adwords-api-light
Google/Api/Ads/AdWords/v201605/classes/ManagedCustomerService.require.php
3583
<?php require_once('DateRange.php'); require_once('OrderBy.php'); require_once('Paging.php'); require_once('Predicate.php'); require_once('SoapRequestHeader.php'); require_once('SoapResponseHeader.php'); require_once('ApiError.php'); require_once('ApplicationException.php'); require_once('Selector.php'); require_once('...
apache-2.0
SonicGD/google-adwords-api-light
Google/Api/Ads/AdWords/v201605/classes/FeedMappingServiceMutateResponse.php
803
<?php /** * * @package Google_Api_Ads_AdWords_v201605 * @subpackage v201605 */ class FeedMappingServiceMutateResponse { const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201605"; const XSI_TYPE = ""; /** * @access public * @var FeedMappingReturnValue */ public ...
apache-2.0
poisondog/java.commons
src/main/java/poisondog/vfs/http/HttpFileFactory.java
3527
/* * Copyright (C) 2016 Adam Huang <poisondog@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 required by ap...
apache-2.0
anton-johansson/elasticsearch-shell
src/main/java/com/antonjohansson/elasticsearchshell/AppConfiguration.java
1697
/** * Copyright 2017 Anton Johansson * * 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
NumericTechnology/Platanum.Net
KPComponents/KPComponents/KPJqGrid/KPItemModel.cs
2844
/* * Copyright 2011-2015 Numeric Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
apache-2.0
844348677/IBack
StreamExer/src/main/scala/StreamingExercise.scala
809
import javax.sql.ConnectionPoolDataSource import org.apache.spark.SparkConf import org.apache.spark.streaming.kafka.KafkaUtils import org.apache.spark.streaming.{Seconds, StreamingContext} /** * Created by hdd on 4/29/16. */ object StreamingExercise { def main(args: Array[String]) { val conf = new SparkConf...
apache-2.0
HuangLS/neo4j
community/lucene-index/src/test/java/org/neo4j/index/impl/lucene/LuceneDataSourceTest.java
12563
/* * Copyright (c) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j 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 Foundatio...
apache-2.0
schmittjoh/php-stubs
res/php/filesystem/functions/filectime.php
248
<?php /** * Gets inode change time of file * * @phpstub * * @param string $filename * * @return int Returns the time the file was last changed, . * The time is returned as a Unix timestamp. */ function filectime($filename) { }
apache-2.0
SH4DY/tripitude
backend/src/main/java/ac/tuwien/ase08/tripitude/service/interfaces/IRouteService.java
216
package ac.tuwien.ase08.tripitude.service.interfaces; import ac.tuwien.ase08.tripitude.entity.Route; public interface IRouteService extends IGenericService<Route, Long> { public Route findFullRoute(Long key); }
apache-2.0
aws/aws-sdk-java
aws-java-sdk-simpleworkflow/src/main/java/com/amazonaws/services/simpleworkflow/model/transform/RegisterDomainRequestProtocolMarshaller.java
2708
/* * Copyright 2017-2022 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 "licen...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DescribeTopicsDetectionJobRequest.java
3696
/* * Copyright 2017-2022 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 "licen...
apache-2.0
cretz/mlbdash
src/org/mlbdash/client/gdx/masterscore/MasterScoreboardReader.java
850
/* * Copyright 2011 Chad Retz * * 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
kite9-org/k9
src/main/resources/static/public/behaviours/containers/child/containers-child.js
1280
import { hasLastSelected, createUniqueId } from '/public/bundles/api.js'; import { getMainSvg } from '/public/bundles/screen.js'; import { getBeforeId } from '/public/bundles/ordering.js'; function defaultChildSelector() { return getMainSvg().querySelectorAll("[k9-child].selected"); } /** * Adds child option into ...
apache-2.0
metatron-app/metatron-discovery
discovery-server/src/main/java/app/metatron/discovery/domain/workbook/configurations/board/WidgetRelation.java
2268
/* * 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 * distribu...
apache-2.0
eliasgranderubio/dagda
tests/cli/command/test_vuln_cli_parser.py
9975
# # Licensed to Dagda under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Dagda licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance...
apache-2.0
vespa-engine/vespa
controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/ApplicationRequestToDiscFilterRequestWrapper.java
4662
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.controller.restapi; import com.yahoo.application.container.handler.Request; import com.yahoo.jdisc.http.HttpRequest; import com.yahoo.jdisc.http.filter.DiscFilterRequest; import java...
apache-2.0
artem-aliev/tinkerpop
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/util/DefaultTraversal.java
14336
/* * 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
sbrossie/killbill
api/src/main/java/org/killbill/billing/entitlement/EntitlementInternalApi.java
2152
/* * Copyright 2010-2013 Ning, Inc. * Copyright 2014-2016 Groupon, Inc * Copyright 2014-2016 The Billing Project, LLC * * The Billing Project 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 cop...
apache-2.0
xlui/KinectProject
AndroidClient/app/src/main/java/com/totoro/xkf/androidclient/presenter/HistoryHandStatePresenter.java
2375
package com.totoro.xkf.androidclient.presenter; import com.totoro.xkf.androidclient.base.BasePresenter; import com.totoro.xkf.androidclient.util.HttpUtils; import com.totoro.xkf.androidclient.util.PreferenceUtils; import com.totoro.xkf.androidclient.util.StateSelector; import com.totoro.xkf.androidclient.view.HistoryH...
apache-2.0
freme-project/pipelines
src/test/java/eu/freme/eservices/pipelines/TestRequestFactory.java
4447
/** * Copyright (C) 2015 Agro-Know, Deutsches Forschungszentrum für Künstliche Intelligenz, iMinds, * Institut für Angewandte Informatik e. V. an der Universität Leipzig, * Istituto Superiore Mario Boella, Tilde, Vistatec, WRIPL (http://freme-project.eu) * * Licensed under the Apache License, Version 2.0 (the "Lic...
apache-2.0
koyhoge/parse2ncmb
lib/converter.js
2484
"use strict" var Converter = module.exports = (function() { var keyMap = { createdAt: 'parseCreateAt' , updatedAt: 'parseUpdateAt' , objectId: 'parseObjectId' }; function Converter(ncmb, type, name) { this.__proto__.ncmb = ncmb; this._type = type; this._name = name; } Converter.prototype.c...
apache-2.0
ligato/cn-infra
health/probe/prometheus_probe.go
4585
// Copyright (c) 2017 Cisco 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 applicabl...
apache-2.0
IdentityModel/IdentityModel2
src/Client/Messages/ParameterReplaceBehavior.cs
532
namespace IdentityModel.Client { /// <summary> /// Specifies how parameter in the collection get replaced (or not). /// </summary> public enum ParameterReplaceBehavior { /// <summary> /// Allow multiple /// </summary> None, /// <summary> ...
apache-2.0
jskeet/nodatime
src/NodaTime/CalendarSystem.cs
48813
// Copyright 2010 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using NodaTime.Annotations; using NodaTime.Calendars; using NodaTime.Utility; using System; using System.Collections.Generic; using System.Diagnostics; u...
apache-2.0
MICRORISC/iqrfsdk
libs/simply/simply-iqrf-dpa-v22x-examples/src/main/java/com/microrisc/simply/iqrf/dpa/v22x/examples/std_per/io/SetAllPinsIn.java
3533
/* * Copyright 2014 MICRORISC 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 agr...
apache-2.0
conversationai/perspective-hacks
view_with_slider/src/testdata/sql_query_maker.ts
3176
/* 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 in writing, software dis...
apache-2.0
daviddenton/q-ext
examples/index.js
1011
'use strict'; var q = require('q'); var qExt = require('../lib'); //Simply pass an object with named promises. The results are grouped by result (fulfilled/rejected) //which can then be spread() into a node-like callback which gives you the errorsByName and resultsByName. //NOTE: Unlike traditional node callbacks, th...
apache-2.0
cnevinc/noFragment
app/src/androidTest/java/com/nevinchen/nofragment/ApplicationTest.java
355
package com.nevinchen.nofragment; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { ...
apache-2.0
kerryjiang/SuperSocket
test/SuperSocket.Tests/IHostConfigurator.cs
911
using System.IO; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using SuperSocket; using SuperSocket.Channel; using SuperSocket.Client; using SuperSocket.ProtoBase; namespace SuperSocket.Tests { public i...
apache-2.0
bbxyard/bbxyard
yard/skills/66-java/spring-boot-study/spring-boot-rabbit-mq/src/main/java/com/bbxyard/sfb/rabbitmq/handler/hallo/HalloReceiver.java
425
package com.bbxyard.sfb.rabbitmq.handler.hallo; import org.springframework.amqp.rabbit.annotation.RabbitHandler; import org.springframework.amqp.rabbit.annotation.RabbitListener; import org.springframework.stereotype.Component; @Component @RabbitListener(queues = "hallo") public class HalloReceiver { @RabbitHan...
apache-2.0
hopecee/texsts
jdo/general/src/java/org/datanucleus/samples/models/hashsetcollection/OtherDetail.java
1318
/********************************************************************** Copyright (c) 2005 Maciej Wegorkiewicz and others. 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...
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-mediaconvert/src/main/java/com/amazonaws/services/mediaconvert/model/H265TemporalAdaptiveQuantization.java
1980
/* * Copyright 2014-2019 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 "licen...
apache-2.0
deib-polimi/tower4clouds
model/src/main/java/it/polimi/tower4clouds/model/ontology/Component.java
970
/** * Copyright (C) 2014 Politecnico di Milano (marco.miglierina@polimi.it) * * 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
botelhojp/apache-jmeter-2.10
test/src/org/apache/jmeter/gui/util/TestMenuFactory.java
2099
/* * 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
brahmaroutu/test-infra
prow/plugins/jira/jira_test.go
10860
/* Copyright 2020 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
zhaotongxue/coolweather
app/src/androidTest/java/zhao/coolweather/util/Utility.java
4300
package zhao.coolweather.util; import android.content.Context; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.text.TextUtils; import org.json.JSONException; import org.json.JSONObject; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Lo...
apache-2.0
roguexz/rogue.io
modules/framework-model/src/main/java/rogue/app/framework/persistence/EntityImplementationFor.java
1031
/* * Copyright 2013, Rogue.IO * * 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...
apache-2.0
jphp-compiler/jphp
exts/jphp-zend-ext/src/main/java/org/develnext/jphp/zend/ext/ZendExtension.java
987
package org.develnext.jphp.zend.ext; import org.develnext.jphp.zend.ext.crypto.csprng.CSPRNGExtenstion; import org.develnext.jphp.zend.ext.standard.BCMathExtension; import org.develnext.jphp.zend.ext.standard.CTypeExtension; import org.develnext.jphp.zend.ext.standard.DateExtension; import org.develnext.jphp.zend.ext....
apache-2.0
Fabric3/spring-samples
apps/bigbank/bigbank-loan/src/main/java/org/fabric3/samples/bigbank/services/credit/impl/CreditServiceImpl.java
1777
/* * See the NOTICE file distributed with this work for information * regarding copyright ownership. This file is licensed * 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://ww...
apache-2.0
wozniakm83/java_pft
addressbook-web-tests/src/test/java/pl/pft/addressbook/model/ContactData.java
6604
package pl.pft.addressbook.model; import com.google.gson.annotations.Expose; import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamOmitField; import org.hibernate.annotations.Type; import javax.persistence.*; import java.io.File; @XStreamAlias("contact") @Entity...
apache-2.0
nathanielbecker/business-contacter-django-app
myproject/cookie_app/migrations/0001_initial.py
878
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='barebones_CRUD', fields=[ ('id', models.AutoFie...
apache-2.0
emcvipr/controller-client-java
models/src/main/java/com/emc/storageos/model/vpool/VirtualPoolChangeRep.java
2693
/* * Copyright (c) 2008-2013 EMC Corporation * All Rights Reserved */ package com.emc.storageos.model.vpool; import java.net.URI; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlElement; import com.emc.storageos.model.RestLinkRep; import com.emc.storageos.model.StringHashMap...
apache-2.0
P7h/ScalaPlayground
Atomic Scala/atomic-scala-solutions/09_Methods/Starter-2.scala
200
// Starter Code for Exercise 2 // From "Methods" atom val sd1 = getSquareDouble(1.2) assert(1.44 == sd1, "Your message here") val sd2 = getSquareDouble(5.7) assert(32.49 == sd2, "Your message here")
apache-2.0
google/earthengine-community
samples/javascript/apidocs/ee-array-multiply.js
1126
/** * Copyright 2021 The Google Earth Engine Community 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...
apache-2.0
sslavic/kafka
streams/src/main/java/org/apache/kafka/streams/kstream/TimeWindowedKStream.java
45367
/* * 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
bqxu/JMethod
service/angular/src/main/webapp/asset/angular/gruntfile.js
6693
/** * auth : iMethod * create_at: 15/9/30. * desc: * note: * 1. */ //Wrapper函数 module.exports = function (grunt) { // 配置项目 grunt.initConfig({ // 配置任务 pkg: grunt.file.readJSON('package.json'), bower: { install: { options: { targetDir...
apache-2.0
googleapis/java-secretmanager
proto-google-cloud-secretmanager-v1/src/main/java/com/google/cloud/secretmanager/v1/ServiceProto.java
24401
/* * Copyright 2020 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 ...
apache-2.0
richkadel/flip.tv
websites/search/src/main/java/com/appeligo/search/actions/BitSetFacetHitCounter.java
3054
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache-2.0
TOMOTON/gwt-remote-eventbus
gwtx.event.remote/src/gwtx/event/remote/shared/SourceId.java
1687
/** * Licensed to TOMOTON nv under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. TOMOTON nv licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file ...
apache-2.0
samrussell/ryu
ryu/ofproto/ofproto_v1_3.py
45611
# Copyright (C) 2012 Nippon Telegraph and Telephone Corporation. # Copyright (C) 2012 Isaku Yamahata <yamahata at valinux co jp> # # 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
xujiaji/HaiNaBaiChuan
app/src/main/java/io/xujiaji/hnbc/model/entity/UpdateEntity.java
6160
/* * Copyright 2018 XuJiaji * * 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 writi...
apache-2.0
vovan888/droidparts
droidparts/src/org/droidparts/util/ResourceUtils.java
2045
/** * Copyright 2015 Alex Yanchenko * * 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
sailthru/stolos
stolos/examples/tasks/pyspark_example.py
2301
"""This example demonstrates how to incorporate your pyspark application with stolos's pyspark plugin. It's probably simpler to use the bash plugin instead. """ def main(elem, ns, **job_id_identifiers): """Stolos's pyspark plugin will call this function to begin the application The function parameters ma...
apache-2.0
RobAltena/deeplearning4j
deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/conf/preprocessor/CnnToFeedForwardPreProcessor.java
7820
/******************************************************************************* * 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
mF2C/COMPSs
tests/sources/java/2_environment_variables/src/main/java/environmentVariables/MainItf.java
1186
package environmentVariables; import es.bsc.compss.types.annotations.Constraints; import es.bsc.compss.types.annotations.Parameter; import es.bsc.compss.types.annotations.parameter.Type; import es.bsc.compss.types.annotations.parameter.Direction; import es.bsc.compss.types.annotations.task.Method; public interface M...
apache-2.0
scscgit/XposeCraft
Assets/Game/Scripts/Collections/SerializableDictionary1.cs
4243
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace XposeCraft.Collections { /// <summary> /// Represents a generic collection of key/value pairs. /// Can be used for serialization purposes, which implies that it can be used during a hot-swap in Unity Edit...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/RoutingProfileQueueConfigSummaryMarshaller.java
3698
/* * Copyright 2017-2022 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 "licen...
apache-2.0
bgd-point/point-app-test
packages/point/point-sales/src/views/app/sales/point/pos/retur.blade.php
6780
@extends('core::app.layout') @section('content') <div id="page-content"> <h2 class="sub-header">Point of Sales</h2> @include('point-sales::app.sales.point.pos._menu') <div class="panel panel-default"> <div class="panel-body" id="posview"> <div class="form-horizontal row"> ...
apache-2.0
jjenkov/iap-tools-java
src/main/java/com/jenkov/iap/ion/write/custom/IonFieldWriterDouble.java
1508
package com.jenkov.iap.ion.write.custom; import com.jenkov.iap.ion.IonFieldTypes; import com.jenkov.iap.ion.IonUtil; import com.jenkov.iap.ion.write.IIonFieldWriter; /** * Created by jjenkov on 04-11-2015. */ public class IonFieldWriterDouble implements IIonFieldWriter { protected byte[] keyField = null; pr...
apache-2.0