repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
diennea/herddb
herddb-core/src/main/java/herddb/sql/expressions/CompiledMinorThanExpression.java
2096
/* Licensed to Diennea S.r.l. under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Diennea S.r.l. licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except ...
apache-2.0
citygml4j/citygml4j
src/main/java/org/citygml4j/model/xal/XAL.java
868
/* * citygml4j - The Open Source Java API for CityGML * https://github.com/citygml4j * * Copyright 2013-2022 Claus Nagel <claus.nagel@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 L...
apache-2.0
fagongzi/fastim
pkg/model/support.go
1598
package model import ( "encoding/json" p "github.com/fagongzi/fastim/pkg/protocol" ) type Support struct { Addr string `json:"addr,omitempty"` Product int `json:"product,omitempty"` CmdList []int `json:"cmdList,omitempty"` BizList []int `json:"bizList,omitempty"` MinProtocol...
apache-2.0
jhaux/tensorflow
tensorflow/tensorboard/components/tf_backend/router.ts
2641
/* 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 applicable law or a...
apache-2.0
jeffreyolchovy/sbt-fmpp-resolver
plugin/src/main/scala/sbtfmpptemplate/FmppTemplatePlugin.scala
1028
package sbtfmpptemplate import sbt._ import sbt.Def.Setting import sbt.Keys._ import sbt.complete.DefaultParsers._ import sbt.plugins.CorePlugin import sbtfmppresolver.FmppTemplateResolver object FmppTemplatePlugin extends AutoPlugin { override def requires = CorePlugin override def trigger = allRequirements ...
apache-2.0
ramesh2k1/Test
CognitoSyncDemo/src/com/amazonaws/cognito/sync/demo/MainActivity.java
13841
/** * Copyright 2010-2014 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 "lic...
apache-2.0
felixarpa/Shameless-Party
ShamelessParty/app/src/main/java/felixarpa/shamelessapp/utils/DateUtil.java
1232
package felixarpa.shamelessapp.utils; import android.annotation.SuppressLint; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; @SuppressLint("SimpleDateFormat") public class DateUtil { public static String getDate(Date date) { SimpleDateFormat sdf = new SimpleDa...
apache-2.0
afilimonov/jackrabbit-oak
oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/AstElementFactory.java
7586
/* * 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
Alachisoft/NCache
Src/NCSocketServer/SocketServer/Pooling/Protobuf/InsertResponseInstantiator.cs
937
// Copyright (c) 2021 Alachisoft // // 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
VirtualGamer/SnowEngine
Dependencies/opengl/src/org/lwjgl/opengl/EXTVertexAttrib64bit.java
10383
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.opengl; import java.nio.*; import static org.lwjgl.system.Checks.*; import static org.lwjgl.system.JNI.*; import static org.lwjgl.system.MemoryUtil.*; /** * Native...
apache-2.0
ONLYOFFICE/CommunityServer
common/ASC.Data.Backup/Tasks/KeyHelper.cs
2148
/* * * (c) Copyright Ascensio System Limited 2010-2021 * * 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
jxdong1013/archivems
pc/ArchiveMS/UILibrary/CheckBoxComboBox/CheckBoxComboBox.Designer.cs
1050
namespace UILibrary.CheckBoxComboBox { partial class CheckBoxComboBox { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </...
apache-2.0
Mangesh21/Popular-Movies
app/src/main/java/movies/udacity/com/popularmovies/network/MovieDetail.java
9460
package movies.udacity.com.popularmovies.network; import android.os.Parcel; import android.os.Parcelable; /** * Created by mangesh on 21/2/16. */ public class MovieDetail implements Parcelable { public Long _id; private String poster_path; private Boolean adult; private String overview; priv...
apache-2.0
hmrc/ct-calculations
src/main/scala/uk/gov/hmrc/ct/accounts/frs102/boxes/AC127C.scala
1568
/* * Copyright 2021 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
apache-2.0
CharlesGarrocho/MCC
computacao_movel/DTN/server.py
2035
import os import json import time import socket from threading import Thread IPS = [] def trata_cliente(conexao, endereco): requisicao = conexao.recv(1024) print requisicao if requisicao == 'LIST': arqs = os.listdir('/etc/black/garagem/arquivos/') conexao.send(json.dumps(arqs)) elif re...
apache-2.0
aparod/jonix
jonix-common/src/main/java/com/tectonica/jonix/codelist/RightsTypes.java
1627
/* * Copyright (C) 2012 Zach Melamed * * Latest version available online at https://github.com/zach-m/jonix * Contact me at zach@tectonica.co.il * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the ...
apache-2.0
OADA/oada-srvc-docker
oada/services/auth/domains/localhost/config.js
1033
module.exports = { domain: 'localhost', // just here for informational purposes baseuri: 'https://localhost/', // just here for informational purposes logo: 'logo.png', name: 'Open Ag Data Alliance', tagline: '', color: '#FFFFFF', hint: { username: 'frank', password: 'test', }, idService: { ...
apache-2.0
google/pyaedj
platform/common/rest.py
2760
# # 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 applicable law o...
apache-2.0
googleapis/java-compute
proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerUpdateInstanceConfigReq.java
36206
/* * 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
linkedin/parseq
subprojects/parseq/src/test/java/com/linkedin/parseq/TestEngine.java
9352
/* * Copyright 2012 LinkedIn, 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...
apache-2.0
bjorndm/prebake
code/third_party/bdb/src/com/sleepycat/je/recovery/CheckpointStatDefinition.java
1905
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2002-2010 Oracle. All rights reserved. * * $Id: CheckpointStatDefinition.java,v 1.5 2010/01/04 15:50:44 cwl Exp $ */ package com.sleepycat.je.recovery; import com.sleepycat.je.utilint.StatDefinition; /** * Per-stat Metadata for JE c...
apache-2.0
zhouronglv/myapp
myapp-demo/src/main/java/com/myapp/demo/algorithm/AlgorithmDemo.java
562
package com.myapp.demo.algorithm; /** * Created by zrl on 2017/3/6. */ public final class AlgorithmDemo { /** * 插入排序算法 * 将数组分为无序区和有序区两个区,然后不断将无序区的第一个元素按大小顺序插入到有序区中去,最终将所有无序区元素都移动到有序区完成排序。 * @param a */ public static void insertSort(int[] a) { for (int i = 0; i < a...
apache-2.0
fperignon/siconos
kernel/src/simulationTools/NewMarkAlphaOSI.hpp
8423
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2018 INRIA. * * 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
aws/aws-sdk-java
aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/transform/InvalidAutoRollbackConfigExceptionUnmarshaller.java
3019
/* * 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
vzrus/VZF
vzfsrc/VZF.Types/Interfaces/IServiceLocator.cs
3651
#region copyright /* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * * http://www.yetanotherforum.net/ * * This file can contain some changes in 2014-2016 by Vladimir Zakharov(vzrus) * for VZF forum * * http://www.code.coolhobby.ru/ * * File ActiveLo...
apache-2.0
cloudfoundry-incubator/garden-linux
containerizer/shell_runner_step.go
598
package containerizer import ( "fmt" "os" "os/exec" "github.com/cloudfoundry/gunk/command_runner" ) type ShellRunnerStep struct { Runner command_runner.CommandRunner Path string } func (step *ShellRunnerStep) Run() error { if _, err := os.Stat(step.Path); os.IsNotExist(err) { return nil } command := e...
apache-2.0
Leejjon/libgdx-chat-example
chat/core/src/main/java/org/stofkat/chat/http/dispatch/AsyncCallbackHandler.java
584
package org.stofkat.chat.http.dispatch; import org.stofkat.chat.common.ClientInterface; import org.stofkat.chat.common.results.Result; public class AsyncCallbackHandler<R extends Result> implements AsyncCallback<R> { private ClientInterface client; public AsyncCallbackHandler(ClientInterface client) { this.clie...
apache-2.0
rbuffat/pyidf
tests/test_zoneinfiltrationeffectiveleakagearea.py
2138
import os import tempfile import unittest import logging from pyidf import ValidationLevel import pyidf from pyidf.idf import IDF from pyidf.zone_airflow import ZoneInfiltrationEffectiveLeakageArea log = logging.getLogger(__name__) class TestZoneInfiltrationEffectiveLeakageArea(unittest.TestCase): def setUp(self...
apache-2.0
ndis1/StudySnake
.apt_generated/com/studySnake/snake/model/UserManager$$InjectAdapter.java
2422
// Code generated by dagger-compiler. Do not edit. package com.studySnake.snake.model; import dagger.MembersInjector; import dagger.internal.Binding; import dagger.internal.Linker; import java.util.Set; import javax.inject.Provider; /** * A {@code Binder<UserManager>} implementation which satisfies * Dagger's inf...
apache-2.0
iamaprin/java-example
src/main/java/io/vilya/example/dispatcher/ExceptionListener.java
433
package io.vilya.example.dispatcher; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author zhukuanxin * @time 2017年4月8日 上午8:14:23 */ public class ExceptionListener implements IListener { private static final Logger LOGGER = LoggerFactory.getLogger(ExceptionListener.class); @Override public v...
apache-2.0
lesaint/experimenting-annotation-processing
experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/sub1/Class_6132.java
151
package fr.javatronic.blog.massive.annotation1.sub1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_6132 { }
apache-2.0
fpompermaier/onvif
onvif-ws-client/src/main/java/org/xmlsoap/schemas/ws/_2005/_04/discovery/SecurityType.java
2716
package org.xmlsoap.schemas.ws._2005._04.discovery; import java.util.HashMap; import java.util.Map; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.ann...
apache-2.0
jescarri/prometheus-operator
vendor/github.com/improbable-eng/thanos/pkg/compact/retention_test.go
7308
package compact_test import ( "bytes" "context" "encoding/json" "strings" "testing" "time" "github.com/go-kit/kit/log" "github.com/improbable-eng/thanos/pkg/block/metadata" "github.com/improbable-eng/thanos/pkg/compact" "github.com/improbable-eng/thanos/pkg/objstore" "github.com/improbable-eng/thanos/pkg/o...
apache-2.0
dlvenable/dynamic-dynamo
src/main/java/io/venable/amazonaws/dynamo/table/builder/LocalSecondaryIndexBuilderImpl.java
3280
/* * Copyright (c) 2015 David Venable. * * 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
yesil/jackrabbit-oak
oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/observation/filter/package-info.java
916
/* * 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
OmniKryptec/OmniKryptec-Engine
src/main/java/de/omnikryptec/util/math/Mathd.java
4994
/* * Copyright 2017 - 2019 Roman Borris (pcfreak9000), Paul Hagedorn (Panzer1119) * * 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/...
apache-2.0
inbloom/secure-data-service
sli/ingestion/ingestion-core/src/main/java/org/slc/sli/ingestion/processors/DeltaHashPurgeProcessor.java
2477
/* * Copyright 2012-2013 inBloom, Inc. and 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 appli...
apache-2.0
trade-nexus/tradesharp-core
Order Execution Providers/Integral/TradeHub.OrderExecutionProvider.Integral.Tests/Properties/AssemblyInfo.cs
3008
/***************************************************************************** * Copyright 2016 Aurora Solutions * * http://www.aurorasolutions.io * * Aurora Solutions is an innovative services and product company at * the forefront of the software industry, with processes and practices * involving Domain Dri...
apache-2.0
popo1379/NetHardNEWSV0.01
app/src/main/java/com/palmintelligence/administrator/nethardnewsv001/network/NetWork.java
2135
package com.palmintelligence.administrator.nethardnewsv001.network; import android.util.Log; import java.io.IOException; import okhttp3.Interceptor; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.ResponseBody; import retrofit2.CallAdapter; import retrofit2.Converter; import retrofit2.Retrofit; i...
apache-2.0
facug91/OJ-Solutions
coj.uci.cu/EasyChange.cpp
1270
/* By: facug91 From: http://coj.uci.cu/24h/problem.xhtml?abb=2616 Name: Easy Change Number: 2616 Date: 02/08/2014 */ #include <iostream> #include <cstdio> #include <cstdlib> #include <string> #include <cstring> #include <cmath> #include <algorithm> #include <vector> #include <queue> #include <deq...
apache-2.0
gandulf/DsaTab
DsaTab/src/main/java/com/dsatab/data/enums/TalentType.java
31451
package com.dsatab.data.enums; public enum TalentType { Anderthalbhänder( "Anderthalbhänder", TalentGroupType.Nahkampf , -2), Armbrust( "Armbrust", TalentGroupType.Fernkampf , -5), Bastardstäbe( "Bastardstäbe", ...
apache-2.0
google-research/google-research
uq_benchmark_2019/imagenet/hparams_lib.py
3427
# coding=utf-8 # Copyright 2022 The Google Research 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 applicab...
apache-2.0
kasundezoysa/senze
utils/RSAEncryption.java
3644
/* Kasun De Zoysa @ UCSC Compile: javac -cp ../BC/bcprov-jdk16-146.jar RSAEncryption.java Execute: java -cp ../BC/bcprov-jdk16-146.jar:. RSAEncryption */ import java.security.Security; import java.security.Key; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.SecureRandom; im...
apache-2.0
Maccimo/commons-bcel
src/examples/Mini/Variable.java
2309
/* * 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
sebrandon1/envoy
test/test_common/utility.cc
7399
#include "utility.h" #include <dirent.h> #include <unistd.h> #include <cstdint> #include <iostream> #include <list> #include <stdexcept> #include <string> #include <vector> #include "envoy/buffer/buffer.h" #include "envoy/http/codec.h" #include "common/common/empty_string.h" #include "common/common/fmt.h" #include ...
apache-2.0
dperaltac/bigdata-fingerprint
src/main/java/sci2s/mrfingerprint/PartialScoreLSS.java
8030
package sci2s.mrfingerprint; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import java.util.Arrays; import java.util.Comparator; import java.util.HashMap; import java.util.Map; import org.apache.commons.lang.ArrayUtils; import org.apache.hadoop.conf.Configuration; import org.apache.h...
apache-2.0
tkunovsky/TXML
src/main/java/txml/interpreter/command/CommandGoBackToStartPaths.java
2309
/* * Copyright 2016 Tomas Kunovsky. * * 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
RippleOSI/NE-HSCIE-Core
webapp/app/scripts/services/medication.js
481
'use strict'; angular.module('rippleDemonstrator') .factory('MedicationService', function ($http) { var all = function (patientId) { return $http.get('/api/hscie/patients/' + patientId + '/medications'); }; var get = function (patientId, medicationId, subSource) { return $http.get('/ap...
apache-2.0
hustman/design-pattern
src/main/java/com/zeus/visitor/Monitor.java
249
package com.zeus.visitor; /** * @author xuxingbo * @Date 2017/7/4 */ public class Monitor implements ComputerPart { @Override public void accept(ComputerPartVisitor computerPartVisitor) { computerPartVisitor.visit(this); } }
apache-2.0
mayuranjan/the-hawker-front-end
src/app/angular-bootstrap-md/free/modals/index.js
270
export { ModalBackdropComponent, ModalBackdropOptions } from './modalBackdropComponent'; export { ModalOptions } from './modalOptionsClass'; export { ModalDirective } from './modalDirective'; export { ModalModule } from './modalModule'; //# sourceMappingURL=index.js.map
apache-2.0
xerial/td-client-java
src/main/java/com/treasure_data/model/SetTableSchemaRequest.java
1662
// // Java Client Library for Treasure Data Cloud // // Copyright (C) 2011 - 2013 Muga Nishizawa // // 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.or...
apache-2.0
jonvestal/open-kilda
src-java/flowhs-topology/flowhs-storm-topology/src/main/java/org/openkilda/wfm/topology/flowhs/fsm/update/actions/EmitIngressRulesVerifyRequestsAction.java
2213
/* Copyright 2019 Telstra Open Source * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
apache-2.0
zhoffice/redisson
redisson/src/main/java/org/redisson/api/map/event/EntryCreatedListener.java
851
/** * Copyright 2016 Nikita Koksharov * * 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 agree...
apache-2.0
googleapis/java-compute
proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SetTagsInstanceRequestOrBuilder.java
6223
/* * 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
alaeddine10/ggrc-core
src/ggrc/assets/javascripts/mapping/mapping_controller.js
18973
/* * Copyright (C) 2013 Google Inc., authors, and contributors <see AUTHORS file> * Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> * Created By: * Maintained By: */ //= require can.jquery-all //= require sections/section //= require controls/control //= require controls/controls_cont...
apache-2.0
leopardoooo/cambodia
ycsoft-lib/src/main/java/com/ycsoft/beans/core/job/JCustWriteoff.java
1113
/** * JCustWriteOff.java 2010/06/08 */ package com.ycsoft.beans.core.job; import java.io.Serializable; import com.ycsoft.beans.base.BusiBase; import com.ycsoft.daos.config.POJO; /** * JCustWriteOff -> J_CUST_WRITE_OFF mapping */ @POJO(tn = "J_CUST_WRITEOFF", sn = "", pk = "JOB_ID") public class J...
apache-2.0
bric3/assertj-core
src/main/java/org/assertj/core/error/ShouldContainKeys.java
1587
/** * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under ...
apache-2.0
akarnokd/rxjava2-backport
src/main/java/hu/akarnokd/rxjava2/internal/operators/nbp/NbpOnSubscribeZipIterable.java
5058
/** * Copyright 2015 David Karnok and Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
apache-2.0
sunli2015/Quark
src/main/webapp/js/jquery-ui-1.9.2.custom/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hi.min.js
1234
/*! jQuery UI - v1.9.2 - 2014-01-26 * http://jqueryui.com * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(e){e.datepicker.regional.hi={closeText:"बंद",prevText:"पिछला",nextText:"अगला",currentText:"आज",monthNames:["जनवरी ","फरवरी","मार्च","अप्रेल","मई","जून","जूलाई","अगस्त ","...
apache-2.0
googlearchive/tango-examples-c
cpp_example_util/app/src/main/java/com/projecttango/examples/cpp/util/TangoInitializationHelper.java
4832
/* * Copyright 2016 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 applic...
apache-2.0
ravjotsingh9/DBLike
DBLike/ClientUI/Program.cs
511
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace ClientUI { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Ma...
apache-2.0
daniil-timofeev/gridsplines
approximation/src/test/scala/approximation/TwoDGridUnit.scala
5290
package approximation import approximation.TwoDGrid.Bounds._ import approximation.TwoDGrid._ import org.specs2._ import piecewise._ /** * */ class TwoDGridUnit extends Specification{override def is = s2""" correctly update X ${updateX} correctly update Y ${updateY} correct horizontal iteration ...
apache-2.0
sapanywhereai/anywhere-api-sample
IntegrationDemoApp/src/main/java/com/sap/integration/anywhere/AccessTokenGetter.java
814
package com.sap.integration.anywhere; import org.apache.log4j.Logger; import com.sap.integration.anywhere.oauth.AccessTokenLoader; public class AccessTokenGetter { /** * Logger for logging purposes. Similar definition is used in all classes of this application. You may configure it * in log4j.properti...
apache-2.0
fishercoder1534/Leetcode
src/test/java/com/fishercoder/_1561Test.java
692
package com.fishercoder; import com.fishercoder.solutions._1561; import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.assertEquals; public class _1561Test { private static _1561.Solution1 solution1; @BeforeClass public static void setup() { solution1 = new _1561.So...
apache-2.0
MReichenbach/visitmeta
visualization/src/main/java/de/hshannover/f4/trust/visitmeta/graphDrawer/GraphPanelFactory.java
2443
/* * #%L * ===================================================== * _____ _ ____ _ _ _ _ * |_ _|_ __ _ _ ___| |_ / __ \| | | | ___ | | | | * | | | '__| | | / __| __|/ / _` | |_| |/ __|| |_| | * | | | | | |_| \__ \ |_| | (_| | _ |\__ \| _ | * |_| |_| \__,_|___/...
apache-2.0
the-ntf/XPagesExtensionLibrary
extlib-des/lwp/product/design/eclipse/plugins/com.ibm.xsp.extlib.designer.bluemix/src/com/ibm/xsp/extlib/designer/bluemix/manifest/editor/ManifestMultiPageEditor.java
8618
/* * © Copyright IBM Corp. 2015 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
apache-2.0
chamindias/carbon-apimgt
components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1/src/main/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/impl/ApisApiServiceImpl.java
267938
/* * Copyright (c) 2019 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/l...
apache-2.0
jesse108/infectionMap
lib/Util/Time.class.php
2764
<?php class Util_Time{ const TIMER_PRECISION_MSEC = 1; //毫秒 const TIMER_PRECISION_USEC = 2; //微秒 const TIMER_PRECISION_SEC = 3; //秒 private static $timerList = array(); //计时用数组 //获取当前的毫秒数 单位毫秒 public static function GetMilliTime(){ return floatval(self::GetMicroTime()/1000); } //获取当前的微秒数 ...
apache-2.0
LordAkkarin/BaseDefense2
src/main/java/basedefense/client/renderer/gui/OutdatedVersionGUIRenderer.java
2485
/* * Copyright 2015 Johannes Donath <johannesd@torchmind.com> * and other copyright owners as documented in the project's IP log. * * 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
google/flax
tests/linen/linen_module_test.py
42380
# Copyright 2022 The Flax 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 wri...
apache-2.0
jxt1234/Simple3D
src/vertex/GL_Normal.cpp
722
#include "vertex/GL_Normal.h" #include "math/GLVector.h" #include <assert.h> #define VECTOR_NUM 3 using namespace GLVector; GL_Normal::GL_Normal(IVarying& pos):GLAbstractVarying(3) { assert(pos.unit()>=VECTOR_NUM); assert(pos.size()%VECTOR_NUM == 0); int size = pos.size(); vec3 v1; vec3 v2; v...
apache-2.0
GitHamburg/agent-mac
funcs/funcs.go
1082
package funcs import ( "../g" "github.com/open-falcon/common/model" "log" ) type FuncsAndInterval struct { Fs []func() []*model.MetricValue Interval int } var Mappers []FuncsAndInterval func BuildMappers() { interval := g.Config().Transfer.Interval log.Print("BuildMappers,interval:") log.Print(interva...
apache-2.0
Zakeshu/Brain_Academy_Java
src/com/brainacad/module_2/LabWork_2_2/Main.java
1294
package com.brainacad.module_2.LabWork_2_2; import java.io.IOException; /** * Created by a.zemlyanskiy on 30.09.2016. * Create class Person with fields firstName(String), lastName(String), age(int), gender(String), * phoneNumber(int), and five overloaded methods that set this fields with different arguments list....
apache-2.0
jamesnetherton/fuse-patch
core/src/main/java/org/wildfly/extras/patch/Server.java
2381
/* * #%L * Fuse Patch :: Core * %% * Copyright (C) 2015 Private * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
apache-2.0
pponec/ujorm
samples/generated/src/main/java/org/version1/bo/Item.java
144
/** Editing of the class is allowed. */ package org.version1.bo; import org.version1.bo.gen._Item; final public class Item extends _Item { }
apache-2.0
B-Stefan/Sofia
service-answer/answer_service/tests/test_anwser_transformer.py
1097
from unittest import TestCase from answer_service.answer_module import AnswerModule test_url = 'http://osgi-api.cloud.conts.de' import asyncio class AnswerModuleTest (TestCase): def test_get_bundles(self): instance = AnswerModule(test_url, "", None) result = instance.get_bundles() self....
apache-2.0
skarsaune/hawtio
hawtio-system/src/main/java/io/hawt/HawtioContextListener.java
2498
package io.hawt; import java.util.Objects; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import io.hawt.jmx.About; import io.hawt.jmx.JMXSecurity; import io.hawt.jmx.JmxTreeWatcher; import io.hawt.jmx.PluginRegistry; import io.hawt.jmx.RBACRegistry; import io.hawt.system.Conf...
apache-2.0
eman-1111/GoogleCodelabs
android_testing/src/main/java/ides/link/androidtesting/notes/notes/NotesFragment.java
8793
/* * Copyright 2015, The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
apache-2.0
video-games-records/CoreBundle
Controller/GroupController.php
2319
<?php namespace VideoGamesRecords\CoreBundle\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Cache; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use VideoGamesRecords\CoreBundle\Entity\Group; use VideoGamesRecords\CoreBundle\Form\Type\SubmitF...
apache-2.0
benjchristensen/RxJava
src/test/java/io/reactivex/internal/operators/observable/ObservableFlattenIterableTest.java
1745
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
apache-2.0
eFaps/eFaps-Kernel
src/main/java/org/efaps/db/stmt/selection/elements/LabelElement.java
1672
/* * Copyright 2003 - 2018 The eFaps Team * * 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
multi-os-engine/moe-core
moe.apple/moe.platform.ios/src/main/java/apple/carplay/protocol/CPBarButtonProviding.java
2403
package apple.carplay.protocol; import apple.carplay.CPBarButton; import apple.foundation.NSArray; import org.moe.natj.general.ann.Generated; import org.moe.natj.general.ann.Library; import org.moe.natj.general.ann.Runtime; import org.moe.natj.objc.ObjCRuntime; import org.moe.natj.objc.ann.ObjCProtocolName; import org...
apache-2.0
benakiva/superduo
Football_Scores-master/app/src/main/java/barqsoft/footballscores/service/myFetchService.java
10649
package barqsoft.footballscores.service; import android.app.IntentService; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.util.Log; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import...
apache-2.0
Netflix/staash
staash-svc/src/main/java/com/netflix/staash/service/MetaService.java
2022
/******************************************************************************* * /* * * * * Copyright 2013 Netflix, Inc. * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of t...
apache-2.0
iLib-js/iLib
js/test/phone/testphonenum_BE.js
13790
/* * phonenum_BE.js - Test parsing phone numbers in BE * * Copyright © 2014-2015,2017, JEDLSoft * * 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/license...
apache-2.0
felix-tien/TechLab
CSharpLab/TestCFX/Testing/UnitTest/Arch.CFramework.ConfigBean.Test/FileWritterTest.cs
2412
using Arch.CFramework.ConfigBean.ConfigurationAction.FileAction; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; namespace Arch.CFramework.ConfigBean.Test { /// <summary> ///This is a test class for FileWritterTest and is intended ///to contain all FileWritterTest Unit Tests ...
apache-2.0
IvanNikolaychuk/pentaho-kettle
plugins/repositories-plugin/src/test/java/org/pentaho/di/ui/repo/RepositoryConnectControllerTest.java
8428
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2016 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (th...
apache-2.0
codingllama/trillian
storage/memory/admin_storage.go
5285
// 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 applicable...
apache-2.0
consulo/consulo-java
java-debugger-impl/src/main/java/com/intellij/debugger/ui/tree/render/CachedEvaluator.java
4478
/* * 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
weichweich/AluShare
app/src/main/java/edu/kit/tm/pseprak2/alushare/view/adapter/VideoRequestHandler.java
1492
package edu.kit.tm.pseprak2.alushare.view.adapter; import android.graphics.Bitmap; import android.media.ThumbnailUtils; import android.provider.MediaStore; import com.squareup.picasso.Picasso; import com.squareup.picasso.Request; import com.squareup.picasso.RequestHandler; import java.io.IOException; /** * A class...
apache-2.0
ApplETS/ETSMobile-Android2
app/src/main/java/ca/etsmtl/applets/etsmobile/ui/calendar_decorator/TodayDecorator.java
1069
package ca.etsmtl.applets.etsmobile.ui.calendar_decorator; import android.content.Context; import android.graphics.Typeface; import android.text.style.StyleSpan; import com.prolificinteractive.materialcalendarview.CalendarDay; import com.prolificinteractive.materialcalendarview.DayViewDecorator; import com.prolificin...
apache-2.0
Kodestruct/Kodestruct.Design
Kodestruct.Concrete/ACI/ACI318_14/C17_Anchorage/Entities/TypeOfAnchorSleeve.cs
899
#region Copyright /*Copyright (C) 2015 Konstantin Udilovich 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 applicab...
apache-2.0
Cognifide/APM
app/aem/api/src/main/java/com/cognifide/apm/api/actions/ActionResult.java
1389
/*- * ========================LICENSE_START================================= * AEM Permission Management * %% * Copyright (C) 2013 Wunderman Thompson Technology * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You...
apache-2.0
topoos/topoos_sdk_android
src/topoos/Objects/Track.java
2542
/** * Copyright 2014-present topoos * * 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
jamesgraves/cockroach
roachpb/data_test.go
13687
// Copyright 2014 The Cockroach 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 ag...
apache-2.0
lky5230/lky5230.github.io
test/resource/123/123.js
7094
'use strict'; /* __V3D_TEMPLATE__ - template-based file; delete this line to prevent this file from being updated */ window.addEventListener('load', function() { var CONTAINER_ID = 'v3d-container'; (function() { var params = v3d.AppUtils.getPageParams(); var PUZZLES_DIR = '/puzzles/'; var logicURL = p...
apache-2.0
InstaList/instalist-android
app/src/main/java/org/noorganization/instalist/view/sidedrawermodelwrapper/helper/IShoppingListHelper.java
2229
/* * Copyright 2016 Tino Siegmund, Michael Wodniok * * 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
vincenzomazzeo/map-engine
src/main/java/it/alidays/mapengine/core/fetch/ForEachMethod.java
1717
/* * Copyright 2015 Alidays S.p.A. * * 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
dropbox/bazel
src/test/java/com/google/devtools/build/lib/analysis/constraints/ConstraintsTest.java
54776
// Copyright 2015 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
fdecampredon/jsx-typescript-old-version
tests/baselines/reference/commaOperatorOtherInvalidOperation.js
302
//// [commaOperatorOtherInvalidOperation.js] //Expect to have compiler errors //Comma operator in fuction arguments and return function foo(x, y) { return x, y; } var resultIsString = foo(1, "123"); //TypeParameters function foo1() { var x; var y; var result = (x, y); }
apache-2.0