repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
spring-projects/spring-framework
spring-core/src/main/java/org/springframework/core/StandardReflectionParameterNameDiscoverer.java
1831
/* * Copyright 2002-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
apache-2.0
jacarrichan/eoffice
src/main/java/com/palmelf/eoffice/action/flow/ProcessDetailAction.java
782
package com.palmelf.eoffice.action.flow; import com.palmelf.core.web.action.BaseAction; import com.palmelf.eoffice.model.flow.ProDefinition; import com.palmelf.eoffice.service.flow.ProDefinitionService; import javax.annotation.Resource; public class ProcessDetailAction extends BaseAction { @Resource private ProDe...
apache-2.0
jpallas/beakerx
kernel/base/src/main/java/com/twosigma/beakerx/kernel/magic/command/functionality/LoadMagicMagicCommand.java
2874
/* * Copyright 2017 TWO SIGMA OPEN SOURCE, 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 appl...
apache-2.0
samdauwe/BabylonCpp
src/Samples/src/samples/materials/shadermaterial/shader_material_carved_trees_scene.cpp
5781
#include <babylon/cameras/free_camera.h> #include <babylon/engines/engine.h> #include <babylon/engines/scene.h> #include <babylon/interfaces/irenderable_scene.h> #include <babylon/lights/hemispheric_light.h> #include <babylon/materials/effect.h> #include <babylon/materials/effect_shaders_store.h> #include <babylon/mate...
apache-2.0
amagdy/a1php
model/domain.php
3217
<? require_once(PHP_ROOT . "lib/parent_model.php"); require_once(PHP_ROOT . "model/link.php"); class domain extends parent_model { //---------------------------------------------------------------------------------- function domain($arg_id=0) { $this->parent_model(); $this->array_to_this($this->get_one_by_...
apache-2.0
iSergio/gwt-cs
cesiumjs4gwt-main/src/test/java/org/cesiumjs/cs/BaseTestCase.java
2218
/* * Copyright 2018 iserge. * * 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
win120a/ACClassRoomUtil
CSharp-Programs/RandomMCrypt-GUI/Properties/Settings.Designer.cs
1085
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.18444 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace R...
apache-2.0
zimmermatt/flink
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/operators/GenericWriteAheadSink.java
11601
/* * 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
aws/aws-sdk-cpp
aws-cpp-sdk-elasticache/source/model/UserGroup.cpp
7530
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/elasticache/model/UserGroup.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #include <uti...
apache-2.0
emullaraj/ebay-sdk-php
test/DTS/eBaySDK/ReturnManagement/Types/ReturnUserTypeTest.php
1298
<?php /** * THE CODE IN THIS FILE WAS GENERATED FROM THE EBAY WSDL USING THE PROJECT: * * https://github.com/davidtsadler/ebay-api-sdk-php * * Copyright 2014 David T. Sadler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
apache-2.0
cloudfoundry/php-buildpack
fixtures/symfony_5_local_deps/vendor/ocramius/proxy-manager/src/ProxyManager/ProxyGenerator/AccessInterceptorValueHolder/MethodGenerator/MagicGet.php
2411
<?php declare(strict_types=1); namespace ProxyManager\ProxyGenerator\AccessInterceptorValueHolder\MethodGenerator; use ProxyManager\Generator\MagicMethodGenerator; use ProxyManager\ProxyGenerator\Util\GetMethodIfExists; use Zend\Code\Generator\ParameterGenerator; use ProxyManager\ProxyGenerator\AccessInterceptorValu...
apache-2.0
brainicorn/skelp
main.go
157
package main import ( "os" "github.com/brainicorn/skelp/cmd" ) func main() { code := cmd.Execute(os.Args[1:], nil) if code != 0 { panic(code) } }
apache-2.0
Strilanc/Quirk
test/webgl/ShaderCoders.test.js
5561
/** * 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...
apache-2.0
enketo/enketo-transformer
test/language.spec.js
5031
const chai = require( 'chai' ); const expect = chai.expect; const language = require( '../src/language' ); describe( 'language', () => { describe( 'parser', () => { let test; test = t => { const name = t[ 0 ]; const sample = t[ 1 ]; const expected = t[ 2 ]; ...
apache-2.0
madhawa-gunasekara/carbon-business-messaging
components/andes/org.wso2.carbon.andes.core/src/main/java/org/wso2/carbon/andes/core/internal/util/Utils.java
23002
/* * Copyright (c) 2005-2014, 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:/...
apache-2.0
cisco-open-source/selenium
java/client/test/org/openqa/selenium/qtwebkit/hybridtests/ProxySettingTest.java
5411
/**************************************************************************** ** ** Copyright © 1992-2014 Cisco and/or its affiliates. All rights reserved. ** All rights reserved. ** ** $CISCO_BEGIN_LICENSE:APACHE$ ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file excep...
apache-2.0
michael-emmi/c2s-ocaml
bin/dbseq.rb
1457
#!/usr/bin/env ruby require_relative 'prelude' require_relative 'verify' module DelayBounding attr_accessor :rounds, :delays def options(opts) @rounds = nil @delays = 0 opts.separator "" opts.separator "Sequentialization options:" opts.on("-r", "--rounds MAX", Integer, "The rounds b...
apache-2.0
AdaptiveMe/adaptive-arp-javascript
adaptive-arp-js/src_units/MagnetometerBridge.d.ts
2030
/// <reference path="APIRequest.d.ts" /> /// <reference path="APIResponse.d.ts" /> /// <reference path="BaseSensorBridge.d.ts" /> /// <reference path="CommonUtil.d.ts" /> /// <reference path="IAdaptiveRPGroup.d.ts" /> /// <reference path="IBaseSensor.d.ts" /> /// <reference path="IMagnetometer.d.ts" /> /** --| ADAPTIVE...
apache-2.0
android-jian/topnews
app/src/main/java/com/topnews/android/adapter/ShareIconAdapter.java
2588
package com.topnews.android.adapter; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.EditText; import android.widget.ImageView; import com.topnews.android.R; import com.topnews.android.gson.ShareIconInfo;...
apache-2.0
atVoidYX/heweather
app/src/main/java/android/heweather/com/heweather/gson/AQI.java
224
package android.heweather.com.heweather.gson; /** * Created by atVoid on 2017/2/9. */ public class AQI { public AQICity city; public class AQICity{ public String aqi; public String pm25; } }
apache-2.0
gurbuzali/hazelcast-jet
hazelcast-jet-core/src/test/java/com/hazelcast/jet/impl/connector/StreamSocketPTest.java
5724
/* * Copyright (c) 2008-2020, Hazelcast, 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 ...
apache-2.0
zhouyumei1122/android_reader
app/src/main/java/com/myreader/ui/activity/BookReviewDetailActivity.java
8116
package com.myreader.ui.activity; import android.content.Context; import android.content.Intent; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageV...
apache-2.0
junhen/XxWeather
app/src/androidTest/java/com/duohen/xxweather/ExampleInstrumentedTest.java
744
package com.duohen.xxweather; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which will execute on an Android...
apache-2.0
HyperSprite/starterproject_todolist_react_redux_firebase_ts_md
web/.eslintrc.js
338
// Copy this file, and add rule overrides as needed. module.exports = { env: { browser: true, node: true, }, parserOptions: { ecmaFeatures: { jsx: true, } }, plugins: [ 'react', 'flowtype', ], "extends": [ 'airbnb', 'plugin:react/recommended', 'plugin:flowtype/re...
apache-2.0
grusso14/eprot
src/it/finsiel/siged/dao/jdbc/SoggettoDAOjdbc.java
46295
package it.finsiel.siged.dao.jdbc; import it.finsiel.siged.constant.ReturnValues; import it.finsiel.siged.exception.DataException; import it.finsiel.siged.mvc.integration.SoggettoDAO; import it.finsiel.siged.mvc.vo.IdentityVO; import it.finsiel.siged.mvc.vo.ListaDistribuzioneVO; import it.finsiel.siged.mvc.vo.RubricaL...
apache-2.0
RivetDB/Rivet
Source/Test/Operations/AddCheckConstraintOperationTestFixture.cs
2913
using System.Diagnostics; using NUnit.Framework; using Rivet.Operations; namespace Rivet.Test.Operations { [TestFixture] public sealed class AddCheckConstraintOperationTestFixture { [Test] public void ShouldSetPropertiesForAddDefaultConstraint() { var schemaName = "schemaName"; var tableNa...
apache-2.0
desruisseaux/sis
core/sis-utility/src/test/java/org/apache/sis/math/MathFunctionsTest.java
15729
/* * 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
jhrcek/kie-wb-common
kie-wb-common-dmn/kie-wb-common-dmn-client/src/test/java/org/kie/workbench/common/dmn/client/canvas/controls/resize/DecisionServiceMoveDividerControlTest.java
8032
/* * Copyright 2018 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
apache-2.0
rule50moves/java
teamo/tests/acceptance/autorisation/01LoginToSiteCept.php
580
<?php $I = new AcceptanceTester($scenario); $I->wantTo('Login'); $I->amOnPage('/signin'); $I->waitForText('Вход для участников проекта'); $I->fillField('input[id="user_email"]', 'rge@ya.ru'); $I->fillField('input[id="user_password"]', '1'); $I->click('input.submit'); $I->seeCurrentUrlEquals('/me'); $I->click('#statist...
apache-2.0
mydearxym/mastani
src/containers/unit/ArticleFooter/tests/store.test.ts
152
/* * ArticleFooter store test * */ // import ArticleFooter from '../index' it('TODO: store test ArticleFooter', () => { expect(1 + 1).toBe(2) })
apache-2.0
HewlettPackard/oneview-redfish-toolkit
oneview_redfish_toolkit/api/processor.py
2778
# -*- coding: utf-8 -*- # Copyright (2018) Hewlett Packard Enterprise Development LP # # 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
sanditiffin/chef
lib/chef/version.rb
1436
# Copyright:: Copyright 2010-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 of the License at # # http://www.apache.org/licenses/LICENSE-2...
apache-2.0
twilightgod/twilight-poj-solution
3435/4409745_WA.cc
1638
/********************************************************************** * Online Judge : POJ * Problem Title : Sudoku Checker * ID : 3435 * Date : 11/22/2008 * Time : 22:26:15 * Computer Name : EVERLASTING-PC ***************************************...
apache-2.0
citlab/vs.msc.ws14
flink-0-7-custom/flink-java/src/test/java/org/apache/flink/api/java/record/CoGroupWrappingFunctionTest.java
7657
/* * 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
onosfw/apis
onos/apis/dir_2919304e770adbb97e672d64eea27854.js
348
var dir_2919304e770adbb97e672d64eea27854 = [ [ "cli", "dir_7f8db958b19368855b72d2da5f4d64d2.html", "dir_7f8db958b19368855b72d2da5f4d64d2" ], [ "impl", "dir_b145cc4ba1264e669ac0c4e745e9725b.html", "dir_b145cc4ba1264e669ac0c4e745e9725b" ], [ "rest", "dir_73e5b11bd79819ab83f712ea5bf805df.html", "dir_73e5b11bd7...
apache-2.0
adligo/i_smtp.adligo.org
src/org/adligo/i/smtp/authenticators/SmtpUserPassword.java
570
package org.adligo.i.smtp.authenticators; import org.adligo.i.smtp.I_SmtpCredentials; public class SmtpUserPassword implements I_SmtpCredentials { private String user; private String password; public SmtpUserPassword() {} public SmtpUserPassword(String user, String pass) { this.user = user; this.password...
apache-2.0
endfalse/EzFramework7
Tmpl/BDGF.Tmpl.Web/Content/js/plugins/fastclick/fastclick.js
25965
;(function () { 'use strict'; /** * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs. * * @codingstandard ftlabs-jsv2 * @copyright The Financial Times Limited [All Rights Reserved] * @license MIT License (see LICENSE.txt) */ /*jslint browser:true, node:true*/ /*global de...
apache-2.0
shlomimatichin/inaugurator
inaugurator/tests/test_partitiontable.py
8454
import unittest from inaugurator.partitiontable import PartitionTable from inaugurator import sh class Test(unittest.TestCase): def setUp(self): self.expectedCommands = [] sh.run = self.runShell def runShell(self, command): foundList = [x for x in self.expectedCommands if x[0] == comm...
apache-2.0
weld/core
tests-arquillian/src/test/java/org/jboss/weld/tests/beanDeployment/producers/singleProducerMethod/BootstrapTest.java
2588
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
apache-2.0
rchillyard/INFO6205
src/main/java/edu/neu/coe/info6205/graphs/BFS_and_prims/StdRandom.java
20920
package edu.neu.coe.info6205.graphs.BFS_and_prims; import java.util.Random; /** * The {@code StdRandom} class provides static methods for generating * random number from various discrete and continuous distributions, * including uniform, Bernoulli, geometric, Gaussian, exponential, Pareto, * Poisson, and Cauc...
apache-2.0
MarcoModder/Dungeons
dungeons/FactionsUUID/DungeonCMDD.java
15245
package it.skyhash.git.dungeons.FactionsUUID; import java.util.ArrayList; import java.util.List; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; impo...
apache-2.0
synyx/urlaubsverwaltung
src/main/javascript/components/tooltip/index.js
158
import $ from "jquery"; import "bootstrap/js/tooltip"; export default function tooltip() { $("[data-title]").attr("data-placement", "bottom").tooltip(); }
apache-2.0
sshcherbakov/incubator-geode
gemfire-core/src/main/java/com/gemstone/gemfire/internal/cache/control/MemoryThresholds.java
11038
/* * 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
t1b1c/lwas
LWAS/Workflow/ConditionsCollection.cs
1730
/* * Copyright 2006-2015 TIBIC SOLUTIONS * * 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
gksrivas/BatteryExperiment
BatteryExperiment/app/src/androidTest/java/com/battery/experiment/ExampleInstrumentedTest.java
748
package com.battery.experiment; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which will execute on an Andro...
apache-2.0
smothiki/minio
boot.go
4277
package main import ( "bytes" "errors" "fmt" "io/ioutil" "log" "os" "os/exec" "strconv" "strings" "text/template" "github.com/deis/minio/src/healthsrv" "github.com/deis/pkg/aboutme" "github.com/deis/pkg/utils" minio "github.com/minio/minio-go" ) const ( localMinioInsecure = true defaultMinioHost = ...
apache-2.0
KEOpenSource/CAExplorer
cellularAutomata/util/files/CARuleDescriptionLoader.java
7087
/* CARuleDescriptionLoader -- a class within the Cellular Automaton Explorer. Copyright (C) 2007 David B. Bahr (http://academic.regis.edu/dbahr/) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foun...
apache-2.0
coinspark/sparkbit-bitcoinj
core/src/main/java/org/coinspark/wallet/CSMessage.java
49567
/* * SparkBit's Bitcoinj * * Copyright 2014 Coin Sciences Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use...
apache-2.0
cb1234/pynet-test
pyth_ansibel/class9/exercise1/mytest/world.py
1301
''' Python class on writing reusable code ''' def func1(): '''Simple test function''' print "Hello world" if __name__ == "__main__": print "Main program - world" class MyClass(object): '''Simple test class''' def __init__(self, var1, var2, var3): self.var1 = var1 self.var2 = var2 ...
apache-2.0
OpenSourceConsulting/athena-meerkat
console/app/view/TomcatInformationForm.js
1261
/* * File: app/view/SSHFormPanel.js */ Ext.define('webapp.view.TomcatInformationForm', { extend: 'Ext.form.Panel', alias: 'widget.tomcatinformationform', requires: [ 'Ext.form.field.ComboBox', 'Ext.form.field.Hidden' ], itemId: 'tomcatInfoForm', bodyPadding: 10, bodyCls: '...
apache-2.0
nyxcalamity/classwork
tum/patterns-in-software-engineering/arch_ptrn_layers/src/edu/tum/cs/i1/pse/application/ApplicationLayerInterface.java
420
package edu.tum.cs.i1.pse.application; import edu.tum.cs.i1.pse.network.NetworkLayerInterface; import edu.tum.cs.i1.pse.presentation.PresentationLayerInterface; public interface ApplicationLayerInterface { void sendMessage(String message); void receiveMessage(String message); void setPresentationLayer(Presenta...
apache-2.0
jzthree/GraphBoard
node_modules/sauce-connect-launcher/lib/sauce-connect-launcher.js
16166
"use strict"; var fs = require("fs"), path = require("path"), rimraf = require("rimraf"), os = require("os"), _ = require("lodash"), async = require("async"), https = require("https"), HttpsProxyAgent = require("https-proxy-agent"), AdmZip = require("adm-zip"), spawn = require("child_process").spaw...
apache-2.0
stellar/gateway-server
gui/src/components/ReceivedTransactions.js
3582
import React from 'react'; import Panel from 'muicss/lib/react/panel'; import axios from 'axios'; import {Link} from 'react-router-dom'; import moment from 'moment'; import querystring from 'querystring'; import defaults from 'lodash/defaults'; export default class ReceivedTransactions extends React.Component { cons...
apache-2.0
GoogleCloudPlatform/golang-samples
functions/ocr/app/translate.go
2470
// 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 in ...
apache-2.0
felixb/google-music-cache-cut
app/src/main/java/de/ub0r/android/gmcc/MainActivity.java
13139
package de.ub0r.android.gmcc; import org.jetbrains.annotations.NotNull; import android.annotation.SuppressLint; import android.app.Activity; import android.app.AlertDialog; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.os.Environment; import an...
apache-2.0
rocketjob/rocketjob
lib/rocket_job/plugins/job/model.rb
11597
require "active_support/concern" module RocketJob module Plugins module Job # Prevent more than one instance of this job class from running at a time module Model extend ActiveSupport::Concern included do # Fields that are end user editable. # For example are edit...
apache-2.0
ApplETS/AMCMobile
www/lib/ng-cordova-oauth/src/oauth.js
4613
(function() { 'use strict'; angular.module("oauth.providers", [ "oauth.utils", "oauth.500px", "oauth.azuread", "oauth.adfs", 'oauth.dropbox', 'oauth.digitalOcean', 'oauth.google', 'oauth.github', 'oauth.facebook', 'oauth.linkedin', 'oauth.instagram', 'oauth.box', ...
apache-2.0
P7h/ScalaPlayground
Atomic Scala/atomic-scala-examples/examples/32_Brevity/Alias.scala
171
// Alias.scala import com.atomicscala.AtomicTest._ case class LongUnrulyNameFromSomeone() type Short = LongUnrulyNameFromSomeone new Short is LongUnrulyNameFromSomeone()
apache-2.0
gtison/kf
src/main/java/com/ukefu/webim/web/handler/admin/channel/SNSAccountIMController.java
6856
package com.ukefu.webim.web.handler.admin.channel; import java.security.NoSuchAlgorithmException; import java.util.Date; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.validation.Valid; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.a...
apache-2.0
TuanAnh207/feed-wolf-va
tracnghiemdaihocvatly/gen/com/example/tracnghiemdaihocvatly/BuildConfig.java
175
/** Automatically generated file. DO NOT MODIFY */ package com.example.tracnghiemdaihocvatly; public final class BuildConfig { public final static boolean DEBUG = true; }
apache-2.0
JetBrains/resharper-unity
resharper/resharper-unity/test/data/Unity/CSharp/Daemon/Stages/BurstCodeAnalysis/BugRider68095.cs
2538
using Unity.Burst; using Unity.Jobs; using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using Unity.Burst; using Unity.Collections; using Unity.Jobs; using Unity.Jobs.LowLevel.Unsafe; using Unity.UnityEngine; using Unity.Entities; namespac...
apache-2.0
stuckless/sagetv-phoenix-core
src/main/java/sagex/phoenix/metadata/search/HasFindByIMDBID.java
177
package sagex.phoenix.metadata.search; import sagex.phoenix.metadata.IMetadata; public interface HasFindByIMDBID { public IMetadata getMetadataForIMDBId(String imdbid); }
apache-2.0
nextreports/nextreports-server
src/ro/nextreports/server/report/jasper/JasperEngine.java
18724
/* * 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
KentShikama/vector-web
src/components/structures/RightPanel.js
6322
/* Copyright 2015, 2016 OpenMarket 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 in writing, sof...
apache-2.0
Sheila29/ejercicios-ud4-estructuras
ejemplosEstructurasDatos/src/com/company/Main.java
1692
package com.company; import java.util.*; public class Main { public static void main(String[] args) { List lista1 = new LinkedList(); lista1.add("elemento1"); lista1.add("elemento2"); lista1.add("elemento3"); mostrar_elementos(lista1); List lista2 =...
apache-2.0
helloShen/thinkinginjava
chapter20/Exercise1.java
4431
/** * 注解处理器 * 利用注解,从java类中直接生成SQL语句,创建Table。 */ package com.ciaoshen.thinkinjava.chapter20; import java.util.*; import java.lang.reflect.*; import java.lang.annotation.*; import com.ciaoshen.thinkinjava.chapter20.db.*; public class Exercise1 { public static void main(String[] args) throws Exception { ...
apache-2.0
coxthepilot/vitasa
vitasa_apps/vitavol/C_CVHelper.cs
11275
using Foundation; using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Linq; using UIKit; using System.Drawing; using CoreGraphics; using zsquared; namespace vitavol { public class C_CVHelper : UICollectionViewDelegateFlowLayout { public event EventHandler<C_DateTouchedEvent...
apache-2.0
clalancette/condor-dcloud
src/classad/instantiations.cpp
6689
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
apache-2.0
gandola/creg
src/main/java/com/pg/creg/AbstractVisitor.java
6250
/* * Copyright 2014 gandola. * * 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
sunhai1988/nutz-book-project
src/main/java/net/wendal/nutzbook/service/sysinfo/impl/NgrokInfoProvider.java
2317
package net.wendal.nutzbook.service.sysinfo.impl; import static net.wendal.nutzbook.util.RedisInterceptor.jedis; import java.util.ArrayList; import java.util.List; import java.util.Set; import org.nutz.ioc.aop.Aop; import org.nutz.ioc.loader.annotation.IocBean; import org.nutz.json.Json; import org.nutz.lang.util.Nu...
apache-2.0
freiny/notes
go/trylib/string/lib_fn_Count_test.go
1445
package fStrings import ( "strings" "testing" ) func Count(s, sep string) int { if s == "" && sep == "" { return 1 } if sep == "" { return len(s) + 1 } count := 0 sepLen := len(sep) slc := s[0:len(s)] for { switch { case len(slc) == sepLen: if slc == sep { count++ } return count case ...
apache-2.0
tensorflow/runtime
backends/common/lib/ops/tf/dnn_ops_util.cc
4866
// Copyright 2020 The TensorFlow Runtime 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 ...
apache-2.0
jumisz/led-server
src/main/java/org/led/http/protocol/MimeTypes.java
368
package org.led.http.protocol; public enum MimeTypes { PLAINTEXT("text/plain"), HTML("text/html"), DEFAULT_BINARY( "application/octet-stream"), XML("text/xml"), JSON( "application/json"); private String mime; private MimeTypes(String type) { mime = type; } public S...
apache-2.0
scribble/scribble.github.io
src/main/jbake/assets/docs/scribble/modules/linmp-scala/src/main/java/ast/binary/ops/Merge.java
1166
/** * */ package ast.binary.ops; import ast.binary.Type; import ast.util.BiFunctionWithCE; import org.scribble.main.ScribbleException; /** Static methods for merging binary session types. * * @author Alceste Scalas <alceste.scalas@imperial.ac.uk> */ public class Merge { /** Type of all merge operators. */ ...
apache-2.0
shockay/br2zz
api/java/demo/MyIODemo.java
1355
package demo; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; /** * Java提供了FileInputStream以及FileOutputStream类来进行文件的读写操作。 * FileInputStream的构造方法会接收输入文件的路径作为入参然后创建出一个文件的输入流。 * 同样的,FileOutputStream的构造方法也会接收一个文件路径作为入参然后创建出文件的输出流。 * 在处理完文件之后,一个很重要的操作就是要记得”close”掉这些流...
apache-2.0
suninformation/ymate-platform-v2
ymate-platform-validation/src/main/java/net/ymate/platform/validation/validate/NumericValidator.java
4297
/* * Copyright 2007-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
apache-2.0
RobAltena/deeplearning4j
libnd4j/include/ops/declarable/generic/bitwise/toggle_bits.cpp
1862
/******************************************************************************* * 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
cqse/test-analyzer
test-analyzer-sdist/src/main/java/de/tum/in/niedermr/ta/extensions/threads/IModifiedThreadClass.java
254
package de.tum.in.niedermr.ta.extensions.threads; /** * Interface to check if the modified <code>java.lang.Thread</code> class is loaded. * * @see "thread-class-modification-java_1.8.0_60.patch" */ public interface IModifiedThreadClass { // NOP }
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-appmesh/src/main/java/com/amazonaws/services/appmesh/model/transform/TcpRouteMarshaller.java
1893
/* * 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
SteamShon/incubator-s2graph
s2core/src/main/scala/org/apache/s2graph/core/utils/SafeUpdateCache.scala
3006
/* * 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
advantageous/ddp-client-java
examples/java-fx/src/main/java/io/advantageous/ddp/example/MainViewController.java
3112
/* * Copyright (C) 2014. Geoffrey Chandler. * * 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
triniti/schemas
build/php/src/Triniti/Schemas/Notify/Mixin/SlackNotification/SlackNotificationV1Mixin.php
469
<?php declare(strict_types=1); // @link http://schemas.triniti.io/json-schema/triniti/notify/mixin/slack-notification/1-0-0.json# namespace Triniti\Schemas\Notify\Mixin\SlackNotification; use Gdbots\Pbj\Schema; /** * @method static Schema schema * @method mixed fget($fieldName, $default = null) */ trait SlackNoti...
apache-2.0
GoogleCloudPlatform/dataflow-opinion-analysis
src/main/java/com/google/cloud/dataflow/examples/opinionanalysis/ControlPipeline.java
17753
/******************************************************************************* * 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....
apache-2.0
joan38/Learn-Programming-Scala
course/solutions/14. Practice Project - 94%/Game.scala
1310
import scala.io.StdIn object Game { def displayGame(subject: String, words: Map[String, Int], found: Array[String]) = { // Use ANSI escape codes: // print("\033[H\033[2J"); // * 'H' means move to top of the screen // * '2J' means "clear entire screen" print("\033[H\033[2J") println("=========...
apache-2.0
wojons/scalr
app/src/LibWebta/library/System/Windows/Shell/tests.php
1609
<?php /** * This file is a part of LibWebta, PHP class library. * * LICENSE * * This source file is subject to version 2 of the GPL license, * that is bundled with this package in the file license.txt and is * available through the world-wide-web at the following url: * http://w...
apache-2.0
pilhuhn/hawkular-inventory
rest-servlet/src/main/java/org/hawkular/inventory/rest/exception/mappers/RelationNotFoundExceptionMapper.java
1458
/* * Copyright 2015 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.ap...
apache-2.0
CastanCarvalho/navierwebsite
boletao/layout_bb.php
17285
<?php ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title><?php echo $dadosboleto["identificacao"]; ?></title> <META http-equiv=Content-Type content=text/html charset=ISO-8859-1> <meta name="Generator" content="Navier Boletos - navier.m...
apache-2.0
liamw9534/mopidy-evtdev
mopidy_evtdev/frontend.py
1385
from __future__ import unicode_literals import logging import pykka from agent import EvtDevAgent logger = logging.getLogger(__name__) class EvtDevFrontend(pykka.ThreadingActor): def __init__(self, config, core): super(EvtDevFrontend, self).__init__() dev_dir = config['evtdev']['dev_dir'] ...
apache-2.0
Casimodo72/Casimodo.Lib
src/Casimodo.Lib.Database/DbRepositoryCore.cs
28458
using Casimodo.Lib.ComponentModel; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.ChangeTracking; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace Casimodo.Lib.Data { public class DbRepositoryCoreProvider...
apache-2.0
eris-ltd/eris-db
execution/wasm/wasm_test.go
5919
package wasm import ( "encoding/hex" "fmt" "math/big" "testing" "github.com/hyperledger/burrow/execution/native" "github.com/hyperledger/burrow/execution/exec" "github.com/hyperledger/burrow/acm/acmstate" "github.com/hyperledger/burrow/binary" "github.com/hyperledger/burrow/execution/engine" "github.com/h...
apache-2.0
polats/gvr-unity-sdk
Samples/CastleDefense/Assets/SampleScenes/UI/Pointers - Gaze Click/Scripts/GazeInteractionInputModule.cs
5613
/************************************************************************************ Copyright : Copyright 2014 Oculus VR, LLC. All Rights reserved. Licensed under the Oculus VR Rift SDK License Version 3.2 (the "License"); you may not use the Oculus VR Rift SDK except in compliance with the License, which is p...
apache-2.0
googleapis/gapic-generator-csharp
Google.Api.Generator.Tests/ProtoTests/Showcase/Echo.g.cs
134311
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: ProtoTests/Showcase/google/showcase/v1beta1/echo.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf...
apache-2.0
Codestellation/Galaxy
src/Galaxy/WebEnd/Controllers/FeedManagement/DeleteFeedRequest.cs
305
using MediatR; using Nejdb.Bson; namespace Codestellation.Galaxy.WebEnd.Controllers.FeedManagement { public class DeleteFeedRequest : IRequest<DeleteFeedResponse> { public ObjectId Id { get; } public DeleteFeedRequest(ObjectId id) { Id = id; } } }
apache-2.0
pwd/minidev
src/main/java/com/jedou/framework/mini/web/binding/types/FileBinder.java
512
package com.jedou.framework.mini.web.binding.types; import java.io.File; import java.lang.annotation.Annotation; import java.lang.reflect.Type; import com.jedou.framework.mini.web.binding.TypeBinder; /** * Bind file form multipart/form-data request. */ public class FileBinder implements TypeBinder<File> { @Su...
apache-2.0
Sanne/JGroups
tests/junit-functional/org/jgroups/tests/ForkChannelTest.java
18037
package org.jgroups.tests; import org.jgroups.*; import org.jgroups.blocks.ReplicatedHashMap; import org.jgroups.blocks.atomic.Counter; import org.jgroups.blocks.atomic.CounterService; import org.jgroups.fork.ForkChannel; import org.jgroups.fork.ForkProtocolStack; import org.jgroups.fork.UnknownForkHandler; import org...
apache-2.0
AlexKolonitsky/lucidworks-view
FUSION_CONFIG.js
8145
appConfig = { //eslint-disable-line // If you don't know what you want for some configuration items, // leave them as-is and see what happens in UI. // You may need to clear browser history/cache before your changes take affect. /** * Styles and colors * * In additi...
apache-2.0
bxf12315/drools
drools-compiler/src/test/java/org/drools/compiler/integrationtests/DynamicRulesChangesTest.java
11937
package org.drools.compiler.integrationtests; import static org.junit.Assert.assertEquals; import java.io.StringReader; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.Callable; import java.util.concurrent.Comp...
apache-2.0
GoogleCloudPlatform/iap-desktop
sources/Google.Solutions.IapDesktop.Extensions.Shell.Test/Views/Options/TestSshOptionsViewModel.cs
11207
// // Copyright 2020 Google LLC // // 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, Ver...
apache-2.0
jangmoonchul/entryjs
extern/lang/code.js
309928
var Lang = {}; Lang.category = { "name": "ko" }; Lang.type = "ko"; Lang.en = "English"; Lang.Blocks = { "download_guide": "연결 안내 다운로드", "ARDUINO": "하드웨어", "ARDUINO_download_connector": "Download Arduino Connector", "ARDUINO_open_connector": "Open Arduino Connector", "ARDUINO_download_source": "E...
apache-2.0
teamlazerbeez/PHP
Log5PHP/src/main/php/Log5PHP/Filter/StringMatch.cls.php
2988
<?php /** * log5php is a PHP port of the log4j java logging package. * * <p>This framework is based on log4j (see {@link http://jakarta.apache.org/log4j log4j} for details).</p> * <p>Design, strategies and part of the methods documentation are developed by log4j team * (Ceki G�lc� as log4j project founder and ...
apache-2.0