repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
rndsolutions/hawkcd
Server/ui/src/app/pipelines/services/pipelineConfig.service.js
24557
/* Copyright (C) 2016 R&D Solutions Ltd. * * 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
jitt-lv/salidzini-plugin-for-nopcommerce
Data/SalidziniFeedSettingsMap.cs
940
using System; using System.Collections.Generic; using System.Data.Entity.ModelConfiguration; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Nop.Plugin.Feed.Salidzini { public class SalidziniFeedSettingsMap : EntityTypeConfiguration<SalidziniFeedSettings> { public Salidzi...
apache-2.0
raistlic/raistlic-lib-commons-core
src/main/java/org/raistlic/common/assertion/GenericAssertionAbstract.java
10287
/* * Copyright 2016 Lei CHEN (raistlic@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 applicable law...
apache-2.0
nla/tinycdxserver
test/outbackcdx/RegexFilterTest.java
914
package outbackcdx; import org.junit.Test; import static org.junit.Assert.*; public class RegexFilterTest { @Test public void test() { Capture one = new Capture(); one.file = "one.warc.gz"; one.status = 201; Capture two = new Capture(); two.file = "two.warc.gz"; ...
apache-2.0
stankovski/azure-sdk-for-net
sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/NotebookCell.Serialization.cs
4988
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { public partial class NotebookCell : IUtf8JsonSer...
apache-2.0
Dennis-Koch/ambeth
jambeth/jambeth-test/src/test/java/com/koch/ambeth/relations/many/lazy/link/reverse/none/EntityB.java
1165
package com.koch.ambeth.relations.many.lazy.link.reverse.none; /*- * #%L * jambeth-test * %% * Copyright (C) 2017 Koch Softwaredevelopment * %% * 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 a...
apache-2.0
alvescaio/SisGO
system/database/DB_active_rec.php
43058
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * CodeIgniter * * An open source application development framework for PHP 5.1.6 or newer * * @package CodeIgniter * @author EllisLab Dev Team * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. * @copyright Copyright (c) 201...
apache-2.0
tectronics/creditsuite
1.6/src/org/drip/analytics/creator/CreditCurveBuilder.java
8846
package org.drip.analytics.creator; /* * -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /*! * Copyright (C) 2012 Lakshmi Krishnamurthy * * This file is part of CreditAnalytics, a free-software/open-source library for fixed income analysts and * developers - http://w...
apache-2.0
dbeaver/dbeaver
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/runtime/encode/ContentEncrypter.java
2965
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2022 DBeaver Corp 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.org/licenses/LICE...
apache-2.0
Interel-Group/core3
src/main/scala/core3/workflows/definitions/SystemUpdateLocalUserMetadata.scala
3535
/** * Copyright 2017 Interel * * 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
Epi-Info/Epi-Info-Cloud-Contact-Tracing
Cloud Enter/Epi.Compatibility/EpiInfoPlugin/IDataSource.cs
325
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; namespace EpiInfo.Plugin { public interface IDataSource { System.Data.IDataReader GetDataTableReader(string pSQL); object GetScalar(string pSQL); bool ExecuteSQL(string pSQL); }...
apache-2.0
DaffyNinja/Cute-Game
Cutesy Game/Assets/Scripts/CameraDetectScreen.cs
1082
using UnityEngine; using System.Collections; public class CameraDetectScreen : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { //// Vector3 viewPos = Camera.main.WorldToViewportPoint(transform.position); //...
apache-2.0
jamessdixon/PanzerGeneral
Tff.PanzerGeneral_Solution/Tff.PanzerGeneral.UI.WindowsPhone7/Models/Battle/BattleOutcomeEnum.cs
346
using System; namespace Tff.Panzer.Models.Battle { public enum BattleOutcomeEnum { AggressorSurvives_ProtectorHolds = 0, AggressorSurvives_ProtectorRetreats = 1, AggressorSurvives_ProtectorDestroyed = 2, AggressorDestroyed_ProtectorHolds = 3, AggressorDestroyed_Protect...
apache-2.0
daniellemayne/dasein-cloud-cloudstack_old
src/main/java/org/dasein/cloud/cloudstack/identity/Keypair.java
9920
/** * Copyright (C) 2009-2014 Dell, 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.o...
apache-2.0
germamix/sepa-pain-lib
sepa-pain-lib/src/main/java/ws/michalski/sepa/pain/Currency.java
1807
/* * 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")...
apache-2.0
oehme/analysing-gradle-performance
my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p321/Test6423.java
2111
package org.gradle.test.performance.mediummonolithicjavaproject.p321; import org.junit.Test; import static org.junit.Assert.*; public class Test6423 { Production6423 objectUnderTest = new Production6423(); @Test public void testProperty0() { String value = "value"; objectUnderTest....
apache-2.0
ddepaoli3/fuel-library-dev
tests/noop/spec/hosts/openstack-haproxy/openstack-haproxy-radosgw_spec.rb
1176
require 'spec_helper' require 'shared-examples' manifest = 'openstack-haproxy/openstack-haproxy-radosgw.pp' describe manifest do shared_examples 'catalog' do images_ceph = Noop.hiera_structure 'storage/images_ceph' objects_ceph = Noop.hiera_structure 'storage/objects_ceph' if images_ceph and objects_ceph...
apache-2.0
DigAg/digag-server
src/main/java/com/digag/domain/Repository/ArticleRepository.java
396
package com.digag.domain.Repository; import com.digag.domain.Article; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.rest.core.annotation.RepositoryRestResource; /** * Created by Yuicon on 2017/7/8. * https://github.com/Yuicon */ @RepositoryRestResource pub...
apache-2.0
darknessitachi/jenode
jenode/src/main/java/ENode/Infrastructure/Dapper/DynamicParameters.java
9770
package ENode.Infrastructure.Dapper; // // License: http://www.apache.org/licenses/LICENSE-2.0 // Home page: http://code.google.com/p/dapper-dot-net/ // // Note: to build on C# 3.0 + .NET 3.5, include the CSHARP30 compiler symbol (and yes, // I know the difference between language and runtime versions; this i...
apache-2.0
trasa/aws-sdk-java
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/transform/AccessKeyMetadataStaxUnmarshaller.java
3268
/* * Copyright 2010-2016 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 "lice...
apache-2.0
xc35/dragontoolkit
src/main/java/edu/drexel/cis/dragon/ir/index/IRRelation.java
3577
/* */ package edu.drexel.cis.dragon.ir.index; /* */ /* */ import edu.drexel.cis.dragon.nlp.compare.FrequencySortable; /* */ import edu.drexel.cis.dragon.nlp.compare.IndexSortable; /* */ import java.io.Serializable; /* */ /* */ public class IRRelation /* */ implements IRSignatu...
apache-2.0
openegovplatform/OEPv2
oep-ssomgt-portlet/docroot/WEB-INF/service/org/oep/ssomgt/model/ApplicationWrapper.java
14135
/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any la...
apache-2.0
stweil/tesseract-ocr.github.io
4.00.00dev/dir_0d5c9f9724b36e17d4bc3a711a460b02.js
203
var dir_0d5c9f9724b36e17d4bc3a711a460b02 = [ [ "CMakeFiles", "dir_2320ac9f4598d7432d93f6bdc14a853d.html", "dir_2320ac9f4598d7432d93f6bdc14a853d" ], [ "config_auto.h", "a06452.html", "a06452" ] ];
apache-2.0
googleads/google-ads-php
src/Google/Ads/GoogleAds/V8/Common/TargetRoas.php
5939
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v8/common/bidding.proto namespace Google\Ads\GoogleAds\V8\Common; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * An automated bidding strateg...
apache-2.0
mldbai/mldb
builtin/python/python_plugin_context.cc
22789
/** python_plugin_context.cc Francois Maillet, 6 mars 2015 Copyright (c) 2015 mldb.ai inc. All rights reserved. This file is part of MLDB. Copyright 2015 mldb.ai inc. All rights reserved. */ #include "python_plugin_context.h" #include "mldb/engine/static_content_handler.h" #include "mldb/utils/string_fun...
apache-2.0
Principe92/CCM_AudioVisual
src/prince/app/ccm/delete/Activity_Manuals.java
5718
package prince.app.ccm.delete; import java.io.File; import java.util.ArrayList; import prince.app.ccm.R; import prince.app.ccm.R.array; import prince.app.ccm.R.drawable; import prince.app.ccm.R.id; import prince.app.ccm.R.layout; import prince.app.ccm.R.string; import prince.app.ccm.tools.ActivityBase; import prince....
apache-2.0
vsch/idea-multimarkdown
src/main/java/com/vladsch/md/nav/util/NotNullNullableBiFunction.java
491
// Copyright (c) 2015-2020 Vladimir Schneider <vladimir.schneider@gmail.com> Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.vladsch.md.nav.util; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.util.func...
apache-2.0
kunickiaj/datacollector
docs/generated/oxygen-webhelp/app/nav-links/json/concept_sh1_khh_cy-d46e122550.js
281
define({"topics" : [{"title":"Viewing Record Header Attributes","href":"datacollector\/UserGuide\/Processors\/JavaScript.html#concept_zvs_whh_cy","attributes": {"data-id":"concept_zvs_whh_cy",},"menu": {"hasChildren":false,},"tocID":"concept_zvs_whh_cy-d46e122643","topics":[]}]});
apache-2.0
hankcs/HanLP
plugins/hanlp_demo/hanlp_demo/mul/demo_mtl.py
579
# -*- coding:utf-8 -*- # Author: hankcs # Date: 2020-12-31 13:51 import hanlp from hanlp_common.document import Document HanLP = hanlp.load(hanlp.pretrained.mtl.UD_ONTONOTES_TOK_POS_LEM_FEA_NER_SRL_DEP_SDP_CON_XLMR_BASE) doc: Document = HanLP([ 'In 2021, HanLPv2.1 delivers state-of-the-art multilingual NLP techniq...
apache-2.0
sunrain990/gemview
config/db/my.js
3809
/** * Created by kevin on 15/11/27. */ var mysql = require('mysql'); var conn; //var logger = require('../log/log4-js'); var os = require('os'); function handleError () { var ipv4; if(os.networkInterfaces().eth1){ for(var i=0;i<os.networkInterfaces().eth1.length;i++){ if(os.networkInte...
apache-2.0
dmilos/color
src/color/hsv/set/green.hpp
1128
#ifndef color_hsv_set_green #define color_hsv_set_green // ::color::set::green( c ) #include "../category.hpp" #include "../../rgb/place/place.hpp" #include "../../rgb/akin/hsv.hpp" #include "../../rgb/trait/component.hpp" namespace color { namespace set { template< typename tag_na...
apache-2.0
asebak/rapbattleonline
WindowsPhone/Classes/CRUD/Delete.cs
1040
using System; using System.Net; using Common.Types; using Newtonsoft.Json; namespace FreestyleOnline___WP.Classes.CRUD { public class Delete { /// <summary> /// Initializes a new instance of the <see cref="Post" /> class. /// </summary> /// <param name="controllerName">Name of ...
apache-2.0
gjhiggins/pyralod
run_tests.py
2490
#!/home/gjh/.virtualens/py3work/bin/python # -*- coding: utf-8 -*- """ Testing with Nose ================= This test runner uses Nose for test discovery and running. It uses the argument spec of Nose, but with some options pre-set. To begin with, make sure you have Nose installed, e.g.: $ sudo easy_install nose ...
apache-2.0
lsimons/phloc-schematron-standalone
phloc-commons/src/test/java/com/phloc/commons/supplementary/test/benchmark/BenchmarkSynchronizedVsLock.java
6480
/** * Copyright (C) 2006-2013 phloc systems * http://www.phloc.com * office[at]phloc[dot]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/license...
apache-2.0
asakusafw/asakusafw
testing-project/asakusa-test-driver/src/test/java/com/asakusafw/testdriver/testing/compiler/MockCompilerToolkit.java
4847
/** * Copyright 2011-2021 Asakusa Framework 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...
apache-2.0
tolo/JServer
src/java/com/teletalk/jserver/tcp/http/HttpRequest.java
10518
/* * Copyright 2007 the project originators. * * 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
BlesseNtumble/GalaxySpace
src/main/java/galaxyspace/systems/BarnardsSystem/moons/barnarda_c1/dimension/WorldProviderBarnarda_C1_WE.java
9416
package galaxyspace.systems.BarnardsSystem.moons.barnarda_c1.dimension; import java.util.List; import javax.annotation.Nullable; import asmodeuscore.api.dimension.IProviderFog; import asmodeuscore.api.dimension.IProviderFreeze; import asmodeuscore.core.astronomy.dimension.world.worldengine.WE_BiomeProvider; import a...
apache-2.0
crrlos/Tienda
movil/plantillas/footer.php
41
</body> </div><!-- div wrapper --> <html>
apache-2.0
radiasoft/radtrack
tests/util/unitConversion_test.py
1578
from radtrack.util.unitConversion import convertUnitsString, \ convertUnitsStringToNumber, \ convertUnitsNumberToString, \ convertUnitsNumber from radtrack.util.RbMath import roundSigFig from math ...
apache-2.0
FIXTradingCommunity/timpani
src/main/webapp/websocket.js
2138
/** * Copyright 2016 FIX Protocol Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
apache-2.0
arina-ielchiieva/drill
exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/scan/v3/file/MockFileNames.java
1611
/* * 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
rynnwang/CommonSolution
Development/Beyova.Elastic/Model/Status/ElasticIndicesStatus.cs
1430
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Beyova; using Beyova.ApiTracking; using Beyova.ExceptionSystem; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Beyova.Elastic { /// <summary> /// Class ElasticIndicesStatus. ...
apache-2.0
nuclio/nuclio
test/_functions/common/reverser/python/reverser.py
841
# Copyright 2017 The Nuclio 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 w...
apache-2.0
luhn/AutobahnPython
autobahn/autobahn/websocket/compress_snappy.py
15503
############################################################################### ## ## Copyright 2013 Tavendo GmbH ## ## 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-2.0
pdrados/cas
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/validator/token/OAuth20RefreshTokenGrantTypeTokenRequestValidator.java
2985
package org.apereo.cas.support.oauth.validator.token; import org.apereo.cas.audit.AuditableContext; import org.apereo.cas.support.oauth.OAuth20Constants; import org.apereo.cas.support.oauth.OAuth20GrantTypes; import org.apereo.cas.support.oauth.util.OAuth20Utils; import org.apereo.cas.support.oauth.web.endpoints.OAuth...
apache-2.0
BusyJay/tikv
components/cloud/src/blob.rs
5567
// Copyright 2021 TiKV Project Authors. Licensed under Apache-2.0. use futures_io::AsyncRead; pub use kvproto::brpb::CloudDynamic; use std::io; use std::marker::Unpin; pub trait BlobConfig: 'static + Send + Sync { fn name(&self) -> &'static str; fn url(&self) -> io::Result<url::Url>; } /// An abstraction for...
apache-2.0
stdlib-js/stdlib
lib/node_modules/@stdlib/utils/async/do-until/test/test.js
6866
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib 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 a...
apache-2.0
joris520/broodjesalami
php_cm/modules/model/service/assessmentInvitation/InvitationMessageService.class.php
3490
<?php /** * Description of InvitationMessageService * * @author ben.dokter */ require_once('modules/model/queries/assessmentInvitation/InvitationMessageQueries.class.php'); require_once('modules/model/value//batch/InvitationMessageTypeValue.class.php'); require_once('application/model/service/CustomerService.clas...
apache-2.0
nivanov/ignite
modules/platforms/cpp/core/src/impl/cluster/cluster_group_impl.cpp
2020
/* * 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
melvinodsa/odsatransform
Documents/Documentation/html/navtreeindex0.js
15428
var NAVTREEINDEX0 = { "_reverse_transform_8c.html":[3,0,1,0], "_reverse_transform_8c.html#abf9e6b7e6f15df4b525a2e7705ba3089":[3,0,1,0,0], "_reverse_transform_8c_source.html":[3,0,1,0], "_test___result___validator_8py.html":[3,0,0,6], "_test___result___validator_8py.html#a5a7b9f22374e985fcc0bf82d1fcd7725":[3,0,0,6,2], "...
apache-2.0
mrinsss/Full-Repo
jobshoppa/system/application/controllers/admin/referral_setting_history.php
16531
<?php /********* * Author: Iman Biswas * Date : 22 Sep 2011 * Modified By: * Modified Date: * * Purpose: * Controller For news * * @package Content Management * @subpackage News * * @link InfController.php * @link My_Controller.php * @link model/news_model.php * @link views/admin/news/ */ c...
apache-2.0
pdbartlett/misc-stuff
euler/scala/Primes.scala
275
object Primes { private var cache: Map[Int, Boolean] = Map(0 -> false, 1 -> false) def isPrime(num: Int): Boolean = cache.getOrElse(num, { val p = !(2.until(Math.sqrt(num).toInt + 1).exists(n => isPrime(n) && (num % n == 0))) cache += (num -> p) p }) }
apache-2.0
NinjaVault/NinjaHive
NinjaHive.Contract/IValidatable.cs
227
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace NinjaHive.Contract { public interface IValidatable { ICollection<ValidationResult> ValidationResults { get; } } }
apache-2.0
jcmandersson/Operation
test/list-spec.js
3343
describe('The list page', function() { it('function splitOnce can split a string with a char correctly', function() { var str = 'a.b.c.d'; var res = splitOnce(str, '.'); expect(res[0]).toBe('a'); expect(res[1]).toBe('b.c.d'); }); it('function splitOnce can split a string with a missing char corr...
apache-2.0
febo/myra
src/main/java/myra/classification/tree/Tree.java
13953
/* * Tree.java * (this file is part of MYRA) * * Copyright 2008-2015 Fernando Esteban Barril Otero * * 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/licens...
apache-2.0
cube-soft/Cube.Net
Applications/Rss/Reader/Sources/Interactions/TitleConverter.cs
3181
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, 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-2.0
tsq-old/hunteron
test/unit/controllers/UserController.test.js
347
/** * Created by tsq on 14-10-27. */ var request = require('supertest'); describe('UsersController', function() { it('should redirect to /mypage', function(done) { request(sails.hooks.http.app) .post('/user/login') .send({name: 'test', password:'123'}) .expect(302) .expect('location', '...
apache-2.0
rewayaat/rewayaat
src/main/java/com/rewayaat/core/HighlySignificantTerms.java
4294
package com.rewayaat.core; import com.rewayaat.config.ESClientProvider; import org.apache.commons.lang3.StringUtils; import org.elasticsearch.action.search.SearchResponse; import org.elasticsearch.action.search.SearchType; import org.elasticsearch.index.query.QueryBuilders; import org.elasticsearch.search.aggregations...
apache-2.0
terasoluna-batch/v5-tutorial
terasoluna-batch-tutorial/src/main/java/org/terasoluna/batch/tutorial/exceptionhandlingwithlistener/chunk/PointAddItemProcessor.java
1963
/* * Copyright (C) 2017 NTT DATA 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
apache-2.0
Joseja8/android_speechRecognition
AndroidApp/app/src/main/java/com/example/ambiental/speechrecognition/ConnectionThread.java
1818
package com.example.ambiental.speechrecognition; import android.renderscript.Int2; import android.util.Log; import android.widget.Button; import java.io.BufferedWriter; import java.io.IOException; import java.io.OutputStreamWriter; import java.net.Socket; import static com.example.ambiental.speechrecognition.MainAct...
apache-2.0
vjanmey/EpicMudfia
com/planet_ink/coffee_mud/Items/BasicTech/GenReflectionShield.java
3612
package com.planet_ink.coffee_mud.Items.BasicTech; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.pl...
apache-2.0
captiosus/treadmill
tests/appcfg/abort_test.py
3800
"""Unit test for treadmill.appcfg.abort """ from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import io import json import os import shutil import tempfile import unittest import kazoo import mock import treadmill fro...
apache-2.0
jeremyepling/TypeScript
tests/baselines/reference/validUseOfThisInSuper.js
939
//// [validUseOfThisInSuper.ts] class Base { constructor(public b: Base) { } } class Super extends Base { constructor() { super((() => this)()); // ok since this is not the case: The constructor declares parameter properties or the containing class declares instance member variables with initialize...
apache-2.0
pkarmstr/NYBC
solr-4.2.1/lucene/core/src/test/org/apache/lucene/search/TestFieldValueFilter.java
4115
package org.apache.lucene.search; /* * 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, Versi...
apache-2.0
51web/vhostmanager
VhostManageSetup/frmLoading.cs
549
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace 自动安装 { public partial class frmLoading : Form { public string txtMessage = ""; public frmLoading() { ...
apache-2.0
mal/chef
spec/functional/resource/windows_task_spec.rb
18028
# # Author:: Nimisha Sharad (<nimisha.sharad@msystechnologies.com>) # Copyright:: Copyright (c) 2016 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 ...
apache-2.0
tectronics/tag-db
src/main/java/tagdb/algorithm/match/PeptideMatcher.java
3772
package tagdb.algorithm.match; import com.compomics.util.experiment.identification.SequenceFactory; import tagdb.fragmentation.FragmentIon; import tagdb.fragmentation.Fragmentizer; import tagdb.fragmentation.SpectrumPeak; import tagdb.io.MascotGenericFile; import tagdb.model.Peptide; import tagdb.model.Suspect...
apache-2.0
j-coll/biodata
biodata-models/src/main/java/org/opencb/biodata/models/variant/StudyEntry.java
19222
/* * <!-- * ~ Copyright 2015-2017 OpenCB * ~ * ~ Licensed under the Apache License, Version 2.0 (the "License"); * ~ you may not use this file except in compliance with the License. * ~ You may obtain a copy of the License at * ~ * ~ http://www.apache.org/licenses/LICENSE-2.0 * ~ * ~ Unl...
apache-2.0
hello-xiaopeng/weather
src/com/weather/app/util/HttpCallbackListener.java
135
package com.weather.app.util; public interface HttpCallbackListener { void onFinish(String response); void onError(Exception e); }
apache-2.0
nextreports/nextreports-server
src/ro/nextreports/server/web/action/RenameActionLink.java
3047
/* * 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
trienvu/testzoomsur
SurfaceZoom/src/com/example/surfacezoom/PanAndZoomListener1.java
9155
package com.example.surfacezoom; import android.graphics.Bitmap; import android.graphics.Matrix; import android.graphics.PointF; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.util.FloatMath; import android.util.Log; import android.view.Gravity; import androi...
apache-2.0
scanf/cilium
cilium/cmd/debuginfo.go
13217
// Copyright 2017 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 agreed ...
apache-2.0
igorcoding/asynctnt
docs/conf.py
3253
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # asynctnt documentation build configuration file, created by # sphinx-quickstart on Sun Mar 12 18:57:44 2017. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # a...
apache-2.0
momchil-atanasov/gostub
acceptance/acceptance_stubs/primitive_params_stub.go
1137
// Generated by 'github.com/mokiat/gostub' package acceptance_stubs import ( sync "sync" alias1 "github.com/mokiat/gostub/acceptance" ) type PrimitiveParamsStub struct { StubGUID int SaveStub func(arg1 int, arg2 string, arg3 float32) saveMutex sync.RWMutex saveArgsForCall []struct { arg1...
apache-2.0
NationalSecurityAgency/ghidra
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/reloc/RelocationDBAdapterV3.java
3106
/* ### * IP: GHIDRA * * 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 writin...
apache-2.0
vam-google/google-cloud-java
google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonFirewallCallableFactory.java
3551
/* * Copyright 2019 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
an83/android-play-location
Geofencing/app/src/main/java/com/google/android/gms/location/sample/geofencing/GeofenceTransitionsIntentService.java
5748
/** * Copyright 2014 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
wildfly-security-incubator/keycloak
server-spi/src/main/java/org/keycloak/models/cache/CachedUserModel.java
1284
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * 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://www.apach...
apache-2.0
michaelliao/warpdb
src/test/java/com/itranswarp/warpdb/WarpDbBatchUpdateTest.java
1556
package com.itranswarp.warpdb; import static org.junit.Assert.*; import java.util.Arrays; import java.util.List; import org.junit.Test; import com.itranswarp.warpdb.test.User; public class WarpDbBatchUpdateTest extends WarpDbTestBase { @Test public void testBatchUpdate() throws Exception { // insert batch wit...
apache-2.0
PvMeira/LunchTime
src/main/java/com/br/pvemira/app/service/RestaurantServiceLocal.java
823
package com.br.pvemira.app.service; import com.br.pvemira.app.model.DTO.RestaurantDTO; import com.br.pvemira.app.model.Restaurant; import com.br.pvemira.app.model.StrawPoll; import com.br.pvemira.app.model.Vote; import java.time.LocalDate; import java.util.List; /** * Created by pvmeira on 17/06/17. */ public inte...
apache-2.0
Hydrospheredata/mist
mist/master/src/test/scala/io/hydrosphere/mist/master/interfaces/http/HttpApiV2Spec.scala
18225
package io.hydrosphere.mist.master.interfaces.http import java.io.File import java.nio.file.{Files, Paths} import java.util.UUID import akka.http.scaladsl.model._ import akka.http.scaladsl.testkit.ScalatestRouteTest import akka.util.ByteString import io.hydrosphere.mist.core.CommonData._ import io.hydrosphere.mist.co...
apache-2.0
pwittchen/ReactiveNetwork
library/src/test/java/com/github/pwittchen/reactivenetwork/library/rx2/ConnectivityTest.java
12175
/* * Copyright (C) 2016 Piotr Wittchen * * 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
bayofmany/peapod
core/src/test/java/peapod/interfaces/Person.java
2733
/* * Copyright 2015-Bay of Many * * 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
liuyuanyuan/dbeaver
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/navigator/DBNRoot.java
5876
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org...
apache-2.0
sapka12/mosaicmaker
src/test/java/hu/sapka12/mozaik/TilesTest.java
1356
package hu.sapka12.mozaik; import hu.sapka12.mozaik.maker.bufferedimage.Tile; import hu.sapka12.mozaik.tile.Tiles; import java.awt.image.BufferedImage; import org.easymock.EasyMock; import org.testng.Assert; import org.testng.annotations.Test; public class TilesTest { @Test(enabled = false) public void testb...
apache-2.0
janekdb/ntropa
presentation/sao/src/tests/org/ntropa/runtime/sao/AbstactServerActiveObjectTest.java
12334
/* * Copyright 2001-2006 LEARNING INFORMATION SYSTEMS PTY LIMITED * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
apache-2.0
robinckanatzar/ror-recipes
recipes/db/schema.rb
2156
# This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # # Note that this schema.rb definition is the authoritative source for your # dat...
apache-2.0
szegedi/dynalink
src/main/java/org/dynalang/dynalink/linker/TypeBasedGuardingDynamicLinker.java
3541
/* Copyright 2009-2013 Attila Szegedi Licensed under both the Apache License, Version 2.0 (the "Apache License") and the BSD License (the "BSD License"), with licensee being free to choose either of the two at their discretion. You may not use this file except in compliance with either the Apache Li...
apache-2.0
rburgst/okhttp-digest
src/main/java/com/burgstaller/okhttp/digest/fromhttpclient/ParserCursor.java
2452
/* * This file incorporates work covered by the following copyright and * permission notice: * * 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 A...
apache-2.0
rmap-project/share-client
src/main/java/info/rmapproject/cos/share/client/model/OtherPropertyType.java
1380
/******************************************************************************* * Copyright 2016 Johns Hopkins University * * 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
sbower/kuali-rice-1
krms/framework/src/main/java/org/kuali/rice/krms/framework/engine/Context.java
994
package org.kuali.rice.krms.framework.engine; import java.util.List; import org.kuali.rice.krms.api.engine.ExecutionEnvironment; import org.kuali.rice.krms.api.engine.TermResolver; /** * The context represents the area(s) of an organization's activity where a * rule applies and where the terms used to create the r...
apache-2.0
jgum/jgum
src/test/java/org/jcategory/category/AdHocCategorizationTutorialTest.java
1549
package org.jcategory.category; import static java.util.Arrays.asList; import static org.jcategory.category.Key.key; import static org.junit.Assert.assertEquals; import org.jcategory.JCategory; import org.junit.Test; public class AdHocCategorizationTutorialTest { @Test public void testSimpleHierarchy() { //crea...
apache-2.0
mebigfatguy/java-driver
driver-mapping/src/main/java/com/datastax/driver/mapping/MappingManager.java
12049
/* * Copyright (C) 2012-2015 DataStax 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 app...
apache-2.0
D3DeFi/vmcli
lib/modules/modify.py
5618
from pyVmomi import vim from lib.modules import BaseCommands from lib.tools import normalize_memory from lib.tools.argparser import args from lib.exceptions import VmCLIException import lib.constants as c class ModifyCommands(BaseCommands): """modify VMware objects resources or configuration.""" def __init...
apache-2.0
Arcnor/bladecoder-adventure-engine
adventure-composer/src/main/java/com/bladecoder/engineeditor/setup/ProjectFile.java
1982
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * 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
fanghon/antiplag
src/imghash/plag/edu/ImageSim.java
4791
package imghash.plag.edu; import java.io.File; import java.io.FileFilter; import java.util.ArrayList; import java.util.Collections; import java.util.List; import com.github.kilianB.hash.Hash; import com.github.kilianB.hashAlgorithms.HashingAlgorithm; import com.github.kilianB.hashAlgorithms.PerceptiveHash; import com...
apache-2.0
sonymoon/algorithm
src/main/java/com/bailei/study/jzoffer/interview2/Singleton2.java
499
package com.bailei.study.jzoffer.interview2; /** * Created by bailei on 16/12/3. * 多线程考虑,但效率不高 */ public class Singleton2 { private static Object lock = new Object(); private static Singleton2 instance; private Singleton2() { } public static Singleton2 getInstance() { synchronized (...
apache-2.0
pebble2015/cpoi
src/org/apache/poi/hssf/record/DateWindow1904Record.cpp
2803
// Generated from /POI/java/org/apache/poi/hssf/record/DateWindow1904Record.java #include <org/apache/poi/hssf/record/DateWindow1904Record.hpp> #include <java/lang/Integer.hpp> #include <java/lang/NullPointerException.hpp> #include <java/lang/String.hpp> #include <java/lang/StringBuffer.hpp> #include <org/apache/poi/h...
apache-2.0
redhat-cip/horizon
horizon/static/framework/util/q/q.extensions.spec.js
3261
/* * 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 * distribute...
apache-2.0
davyjoneswang/AndroidLearnDemos
app/src/main/java/com/example/wangyonghua/androidlearndemos/adapter/Test.java
591
package com.example.wangyonghua.androidlearndemos.adapter; /** * Created by wangyonghua on 15-12-8. */ public class Test { public static void main(String[] args) { float w = 1080; //float de = w * 3.375f / 1080f; float delta = w / 320f; System.out.println("<?xml version=\"1.0\" ...
apache-2.0