repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
leopardoooo/cambodia
boss-core/src/main/java/com/sysway/outwardtps/service/pay/CustomerValidateResponse0.java
13692
/** * CustomerValidateResponse0.java * * This file was auto-generated from WSDL * by the Apache Axis2 version: 1.6.3 Built on : Jun 27, 2015 (11:18:31 BST) */ package com.sysway.outwardtps.service.pay; /** * CustomerValidateResponse0 bean class */ @SuppressWarnings({"unchecked", "unused" })...
apache-2.0
ONLYOFFICE/CommunityServer
module/ASC.Api/ASC.Api.CRM/CRMCalendar.cs
4077
/* * * (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
vcdemon/wechat-framework
wechat-api/src/main/java/com/itfvck/wechatframework/api/report/datacube/model/DataCubeStreamMsgWeekInfo.java
546
package com.itfvck.wechatframework.api.report.datacube.model; import java.util.List; /** * 结果类--获取消息发送周数据 * * @author luweichao * * 2015年1月27日 */ public class DataCubeStreamMsgWeekInfo extends DataCubeBase { /** * */ private static final long serialVersionUID = -5224886136169067196L; private L...
apache-2.0
webframp/sfn-vault
lib/sfn-vault/callback.rb
8457
require 'sfn-parameters' require 'securerandom' require 'vault' # Modeled after the Assume Role callback module Sfn class Callback class VaultRead < Callback include SfnVault::Utils # Cache credentials for re-use to prevent re-generation of temporary # credentials on every command request. ...
apache-2.0
yida-lxw/solr-5.3.1
lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/WikipediaTokenizerImpl.java
36818
/* The following code was generated by JFlex 1.6.0 */ package org.apache.lucene.analysis.wikipedia; /** * 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. ...
apache-2.0
googleapis/google-api-java-client-services
clients/google-api-services-contactcenterinsights/v1/1.31.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1ListAnalysesResponse.java
3726
/* * 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 t...
apache-2.0
andyuk1986/js-client
spec/infinispan_expiry_spec.js
8656
var _ = require('underscore'); var t = require('./utils/testing'); // Testing dependency describe('Infinispan local client working with expiry operations', function() { var client = t.client(t.local); var client1 = t.client(t.cluster1); var client2 = t.client(t.cluster2); var client3 = t.client(t.cluster3); ...
apache-2.0
abperiasamy/minio
pkg/policy/resource.go
3112
/* * Minio Cloud Storage, (C) 2018 Minio, 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 la...
apache-2.0
McLeodMoores/starling
projects/financial/src/main/java/com/opengamma/financial/analytics/model/equity/option/EquityOptionFunctions.java
25565
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. * * Modified by McLeod Moores Software Limited. * * Copyright (C) 2015-Present McLeod Moores Software Limited. All rights reserved. */ package com.opengamma.financial.analytics.mod...
apache-2.0
Juni4567/meritscholarship
wp-content/themes/wplms/setup/vibe_importer/wordpress-importer.php
42328
<?php /* Plugin Name: WordPress Importer Plugin URI: http://wordpress.org/extend/plugins/wordpress-importer/ Description: Import posts, pages, comments, custom fields, categories, tags and more from a WordPress export file. Author: wordpressdotorg Author URI: http://wordpress.org/ Version: 0.6.1 Text Domain: wordpress-...
apache-2.0
flavoi/diventi
diventi/landing/migrations/0081_auto_20200301_1644.py
511
# Generated by Django 2.2.10 on 2020-03-01 15:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('landing', '0080_auto_20200301_1636'), ] operations = [ migrations.AlterField( model_name='section', name='alignment...
apache-2.0
andrewtikhonov/rdc-rmodules-rcloud
web-app/js/HighDimensionalData.js
22019
var HighDimensionalData = function () { /** * Get supported high dimensional data types * @returns {*} */ var getSupportedTypes = function () { // check if tranSMART's global variable exists then use it if (typeof(HIGH_DIMENSIONAL_DATA) != "undefined") { return HIGH_...
apache-2.0
starksm64/pi4j
pi4j-core/src/main/java/com/pi4j/io/gpio/Pin.java
1443
package com.pi4j.io.gpio; import java.util.EnumSet; /* * #%L * ********************************************************************** * ORGANIZATION : Pi4J * PROJECT : Pi4J :: Java Library (Core) * FILENAME : Pin.java * * This file is part of the Pi4J project. More information about * this ...
apache-2.0
eldersantos/phonix
Phonix.Tests/SoundexTests.cs
546
using Xunit; namespace Phonix.Tests { public class SoundexTests { private static readonly string[] Words = new[] { "Spotify", "Spotfy", "Sputfi", "Spotifi" }; private static readonly string[] Words2 = new[] { "United Air Lines", "United Aire Lines", "United Air Line" }; readonly Sound...
apache-2.0
nprog/SkyEye
common/pprof.go
504
package common import ( "github.com/nprog/SkyEye/log" "os" "os/signal" "runtime/pprof" "syscall" ) type DebugOptions struct { PprofFile string } func Pprof(pprofFile *string) { f, err := os.Create(*pprofFile) if err != nil { log.Fatal(err) } pprof.StartCPUProfile(f) defer pprof.StopCPUProfile() c := m...
apache-2.0
fududu/JECharts
src/main/java/org/aying/echarts/feature/Feature.java
3212
/* * Copyright 2016 Aying.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/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
apache-2.0
google/appengine_xblock_runtime
tests/test_store.py
5874
# Copyright 2013 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 or ...
apache-2.0
labsai/EDDI
persistencestore-impl/src/main/java/ai/labs/persistence/bootstrap/PersistenceModule.java
9679
package ai.labs.persistence.bootstrap; import ai.labs.persistence.mongo.codec.JacksonProvider; import ai.labs.runtime.bootstrap.AbstractBaseModule; import ai.labs.utilities.RuntimeUtilities; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.inject.Provides; import com.mongodb.*; import com.mongodb....
apache-2.0
smudge202/Deputy
src/Deputy/ActorSystemGuardian.cs
1386
using Microsoft.Framework.DependencyInjection; using System; using System.Collections.Concurrent; using System.Linq; namespace Deputy { public static class ActorSystemGuardian { private static readonly ConcurrentDictionary<string, IActorSystem> _knownActorSystems = new ConcurrentDictionary<string, IAc...
apache-2.0
jnthnclt/nicity
nicity-view/src/main/java/com/jonathancolt/nicity/view/core/AViewWHBorder.java
3102
/* * AViewWHBorder.java.java * * Created on 01-03-2010 01:31:35 PM * * Copyright 2010 Jonathan Colt * * 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
curtislisle/nanomaterial-dashboard
pdf2csv/service/savedata.py
8283
import sys, pymongo, os, glob, re, bson.json_util, json, time, datetime, math, subprocess, base64 from bson.objectid import ObjectId from pymongo import MongoClient from bson.dbref import DBRef from bson.json_util import dumps from bson.code import Code import string, tangelo import csv #client = MongoClient('f...
apache-2.0
Adien-galen/MobileSafe
src/com/example/mobliesafe/utils/ToastUtils.java
252
package com.example.mobliesafe.utils; import android.content.Context; import android.widget.Toast; public class ToastUtils { public static void showToast(Context ctx,String text) { Toast.makeText(ctx, text, Toast.LENGTH_SHORT).show(); } }
apache-2.0
TribeMedia/aura
aura-components/src/main/components/ui/outputEmail/outputEmailTest.js
4182
/* * Copyright (C) 2013 salesforce.com, 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 ...
apache-2.0
skogler/game-playground
src/graphics/shaderprogram.cpp
5982
#include "shaderprogram.hpp" #include "graphics/glutils.hpp" #include "utils/logger.hpp" #include <GL/glew.h> #include <boost/filesystem.hpp> #include <boost/format.hpp> #include <fstream> #include <glm/glm.hpp> #include <streambuf> #include <string> #include "core/resources/shader.hpp" namespace fs = boost::filesy...
apache-2.0
timothynode/apollo
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/v1/controller/NamespaceController.java
3074
package com.ctrip.framework.apollo.openapi.v1.controller; import com.ctrip.framework.apollo.common.dto.NamespaceDTO; import com.ctrip.framework.apollo.common.dto.NamespaceLockDTO; import com.ctrip.framework.apollo.core.enums.Env; import com.ctrip.framework.apollo.openapi.dto.OpenNamespaceDTO; import com.ctrip.framewo...
apache-2.0
peteriliev/kata
MergeSort/src/test/java/TestMergeSort.java
1151
package test.java; import static org.junit.Assert.assertTrue; import java.rmi.RemoteException; import java.util.Arrays; import main.java.MergeSort33; import org.junit.Test; import org.junit.runner.RunWith; import com.google.inject.Inject; import com.iliev.peter.guice.GuiceIntegration; import com.iliev.peter.kata.c...
apache-2.0
casid/mazebert-ladder
src/main/java/db/migration/core/MigrationUsecaseExecutor.java
2742
package db.migration.core; import com.mazebert.gateways.mysql.MySqlPlayerGateway; import com.mazebert.plugins.balancing.PlayerLevelPlugin; import com.mazebert.usecases.migration.RepairPlayerLevels; import com.mazebert.usecases.migration.RepairPlayerNames; import org.jusecase.inject.InjectUsecaseExecutor; import org.ju...
apache-2.0
lisasievers/smallbusinessdiy
app/siteanalysis/application/language/german/common_lang.php
3255
<?php $lang['Recent Activities'] = "Kürzliche Aktivitäten"; $lang["Today's New Visitor Report"] = "Heute Neue Besucherbericht"; // admin sidebar $lang["save"] = "sparen"; $lang["generate widget code"] = "erzeugen Widget-Code"; $lang["send"] = "senden"; $lang["cancel"] = "stornieren"; $lang["close"] ...
apache-2.0
Alachisoft/NCache
Src/NCCache/Config/Dom/Provider.cs
3939
// 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 or...
apache-2.0
apache/incubator-superset
superset/db_engine_specs/teradata.py
1790
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
apache-2.0
scalastuff/scalaleafs
sample/src/main/scala/net/scalaleafs/sample/Calendar2.js
2821
function initCal() { $('#calendar2').cal({ resources : { '15' : 'Aziza', '16' : 'Heath', '17' : 'Karen', '90' : 'Michelle' }, allowresize : true, allowmove : true, allowselect : true, allowremove : true, allownotesedit : true, daytimestart: '06:00:00', daytimeend: '22:00:00'...
apache-2.0
sHiniz0r/Concurrent
zad2/src/main/java/Manager.java
664
/** * Created by Michał on 04.10.2016. */ public class Manager extends Thread { private int id; private Storage storage; private int messagesNumber; public Manager(int id, Storage storage, int messagesNumber){ this.id = id; this.storage = storage; this.messagesNumber = messag...
apache-2.0
ModernMT/MMT
src/commons/src/main/java/eu/modernmt/data/TranslationUnitMessage.java
1973
package eu.modernmt.data; import eu.modernmt.lang.LanguageDirection; import eu.modernmt.model.Alignment; import eu.modernmt.model.Sentence; import eu.modernmt.model.corpus.TranslationUnit; import java.util.UUID; /** * Created by davide on 06/09/16. */ public class TranslationUnitMessage extends DataMessage { ...
apache-2.0
krasserm/scalaz-camel
scalaz-camel-core/src/test/scala/scalaz/camel/core/CamelTestProcessors.scala
2909
/* * Copyright 2010-2011 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 app...
apache-2.0
gsinkovskiy/phabricator
src/applications/guides/view/PhabricatorGuideListView.php
1030
<?php final class PhabricatorGuideListView extends AphrontView { private $items = array(); public function addItem(PhabricatorGuideItemView $item) { $this->items[] = $item; return $this; } public function render() { $list = id(new PHUIObjectItemListView()) ->setBig(true); foreach ($th...
apache-2.0
dsyer/spring-cloud-connectors
spring-cloud-heroku-connector/src/test/java/org/springframework/cloud/heroku/AbstractHerokuConnectorRelationalServiceTest.java
1708
package org.springframework.cloud.heroku; import static org.junit.Assert.assertEquals; import org.springframework.cloud.service.common.RelationalServiceInfo; /** * * @author Ramnivas Laddad * */ public abstract class AbstractHerokuConnectorRelationalServiceTest extends AbstractHerokuConnectorTest { private ...
apache-2.0
LearnLib/alex
docs/.vuepress/config.js
2321
const env = require('./env.default.js'); module.exports = { base: env.BASE, title: 'ALEX Docs (v2.1.1)', description: 'User documentation for ALEX', dest: './.vuepress/dist', markdown: { lineNumbers: true }, themeConfig: { lastUpdated: 'Last Updated', sidebarDepth: 2...
apache-2.0
NCI-GDC/portal-ui
src/packages/@ncigdc/modern_components/SCRNASeq/toolbar/index.js
122
export { default as DownloadButton } from './DownloadButton'; export { default as ToolbarButton } from './ToolbarButton';
apache-2.0
erezvani1529/azure-storage-net
Lib/AspNet/Microsoft.WindowsAzure.Storage.Facade/FacadeLib/Microsoft.WindowsAzure.Storage.Core.CommandLocationMode.cs
149
namespace Microsoft.WindowsAzure.Storage.Core { internal enum CommandLocationMode { PrimaryOnly, SecondaryOnly, PrimaryOrSecondary, } }
apache-2.0
gkossakowski/gimd
src/main/scala/com/google/gimd/query/Handle.scala
1774
// Copyright (C) 2009 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 applicable ...
apache-2.0
cs-au-dk/TAJS
test-resources/src/flowgraphbuilder/forin_call2.js
65
function f() { } for (var i in { a: 0, b: 0}) { (0)[f](); }
apache-2.0
sjbutler/jim
src/uk/ac/open/crc/jim/parser/java14/ASTTypeArgument.java
892
/* Generated By:JJTree: Do not edit this line. ASTTypeArgument.java Version 6.0 */ /* JavaCCOptions:MULTI=true,NODE_USES_PARSER=true,VISITOR=true,TRACK_TOKENS=true,NODE_PREFIX=AST,NODE_EXTENDS=,NODE_FACTORY=*,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */ package uk.ac.open.crc.jim.parser.java14; public class ASTTypeArgument...
apache-2.0
Blazebit/blaze-storage
server/ui/src/main/java/com/blazebit/storage/server/storage/StorageDetailPage.java
686
package com.blazebit.storage.server.storage; import javax.enterprise.context.RequestScoped; import javax.inject.Named; import com.blazebit.storage.rest.model.StorageRepresentation; @Named @RequestScoped public class StorageDetailPage extends StorageBasePage { private static final long serialVersionUID = 1L; pri...
apache-2.0
dangdangdotcom/sharding-jdbc
sharding-core/src/main/java/io/shardingsphere/core/rewrite/MasterSlaveSQLRewriteEngine.java
3306
/* * Copyright 2016-2018 shardingsphere.io. * <p> * 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
hgani/androlib
ganilib/src/main/java/com/gani/lib/database/GDbData.java
359
package com.gani.lib.database; import com.google.gson.reflect.TypeToken; public interface GDbData { int getInt(String key); long getLong(String key); boolean getBoolean(String key); Long getNullableLong(String key); Boolean getNullableBoolean(String key); String getString(String key); <T> T getObject(S...
apache-2.0
aperepel/netty
src/test/java/org/jboss/netty/util/MapBackedSetTest.java
3278
/* * Copyright 2009 Red Hat, Inc. * * Red Hat 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/licenses/LICENSE-2.0 * * Unless required by ...
apache-2.0
schmittjoh/php-stubs
res/php/pgsql/functions/pg-execute.php
337
<?php /** * Sends a request to execute a prepared statement with given parameters, and waits for the result. * * @phpstub * * @param resource $connection * @param string $stmtname * @param array $params * * @return resource A query result resource on success. */ function pg_execute($connection = NULL, $stmtn...
apache-2.0
cloudfoundry/php-buildpack
fixtures/symfony_5_local_deps/vendor/ocramius/proxy-manager/src/ProxyManager/ProxyGenerator/AccessInterceptor/MethodGenerator/SetMethodSuffixInterceptor.php
1225
<?php declare(strict_types=1); namespace ProxyManager\ProxyGenerator\AccessInterceptor\MethodGenerator; use Closure; use ProxyManager\Generator\MethodGenerator; use Zend\Code\Generator\ParameterGenerator; use Zend\Code\Generator\PropertyGenerator; /** * Implementation for {@see \ProxyManager\Proxy\AccessIntercepto...
apache-2.0
nivanov/ignite
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheSwapPreloadSelfTest.java
7490
/* * 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
totticarter/presto
presto-lucene/src/main/java/com/facebook/presto/example/LuceneRecordSet.java
2268
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
apache-2.0
haijiaoqiufeng/CoolWeather
app/src/main/java/com/haiqiu/coolweather/MainActivity.java
733
package com.haiqiu.coolweather; import android.content.Intent; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protected void onCre...
apache-2.0
dbrant/apps-android-wikipedia
app/src/test/java/org/wikipedia/edit/preview/EditPreviewClientTest.java
1308
package org.wikipedia.edit.preview; import com.google.gson.stream.MalformedJsonException; import org.junit.Test; import org.wikipedia.dataclient.mwapi.MwException; import org.wikipedia.test.MockRetrofitTest; import io.reactivex.rxjava3.core.Observable; public class EditPreviewClientTest extends MockRetrofitTest { ...
apache-2.0
kmrov/kubernetes
pkg/registry/batch/cronjob/storage/storage_test.go
5359
/* Copyright 2016 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
apache-2.0
jitsi/ice4j
src/main/java/org/ice4j/socket/MultiplexingDatagramSocket.java
18953
/* * ice4j, the OpenSource Java Solution for NAT and Firewall Traversal. * * Copyright @ 2015 Atlassian Pty 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.apa...
apache-2.0
luisedware/Learning-Laravel
LaraBBSTutorialSample/resources/views/topics/show.blade.php
2417
@extends('layouts.app') @section('title', $topic->title) @section('description', $topic->excerpt) @section('content') <div class="row"> <div class="col-lg-3 col-md-3 hidden-sm hidden-xs author-info"> <div class="panel panel-default"> <div class="panel-body"> <div class="text-center"> ...
apache-2.0
AlekseyZhelo/idea-mob-plugin
src/main/java/com/alekseyzhelo/evilislands/mobplugin/script/formatting/codeStyle/EIIndentOptionsEditor.java
688
package com.alekseyzhelo.evilislands.mobplugin.script.formatting.codeStyle; import com.intellij.application.options.IndentOptionsEditor; class EIIndentOptionsEditor extends IndentOptionsEditor { @Override public void showStandardOptions(String... optionNames) { super.showStandardOptions(optionNames);...
apache-2.0
DiligentGraphics/DiligentCore
Tests/DiligentCoreAPITest/src/SeparateTextureSamplerTest.cpp
7858
/* * Copyright 2019-2022 Diligent Graphics LLC * Copyright 2015-2019 Egor Yusov * * 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
fishjd/HappyNewMoonWithReport
src/main/java/happynewmoonwithreport/opcode/comparison/I64_eq.java
2458
/* * Copyright 2017 - 2021 Whole Bean Software, 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 a...
apache-2.0
lzl6261/uml-example
src/main/java/com/example/demo/factory/PieChart.java
288
package com.example.demo.factory; /** * @author merlin * @create 2017-07-07 上午11:09 */ public class PieChart implements Chart { public PieChart() { System.out.println("创建饼状图!"); } public void display() { System.out.println("显示饼状图!"); } }
apache-2.0
xasx/camunda-bpm-platform
engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/dto/history/HistoricTaskInstanceDto.java
4990
/* * Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.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...
apache-2.0
castelom/Skynet
lib/p2p.py
2579
import socket import threading from lib.comms import StealthConn from lib.files import p2p_download_file # Keep track of where our server is # This is primarily so we don't try to talk to ourselves server_port = 1337 def find_bot(): print("Finding another bot...") port = 1337 conn = socket.socket(socket....
apache-2.0
efwGrp/efw3.X
source for jar/efw/resource/client/efw.client.messages.js
1024
/**** efw3.X Copyright 2016 efwGrp ****/ /** * The class to keep messages in client. * * @author Chang Kejun */ var EfwClientMessages = function() { }; EfwClientMessages.prototype = { OtherErrorException : "予想外エラーが発生しました。", CommunicationErrorException : "通信エラーが発生しました。リトライしますか。", EventIsBusyException :"該当機能は混雑して...
apache-2.0
macrocode/mcgiapp
src/app/app.component.ts
5963
import { Component, ViewChild } from '@angular/core'; import { Events, MenuController, Nav, Platform } from 'ionic-angular'; import { SplashScreen } from '@ionic-native/splash-screen'; import { Storage } from '@ionic/storage'; import { AboutPage } from '../pages/about/about'; import { AccountPage } from '../pages/ac...
apache-2.0
royclarkson/spring-cloud-config
spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/environment/EnvironmentController.java
12168
/* * Copyright 2013-2015 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
nhaarman/trinity
trinity-sample/src/main/java/com/nhaarman/trinity/sample/Team.java
1485
/* * Copyright 2015 Niek Haarman * * 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
prasanna08/oppia
core/controllers/topics_and_skills_dashboard_test.py
34482
# Copyright 2018 The Oppia Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
apache-2.0
rvm-segfault/edx
python_for_data_sci_dse200x/week2/word_cloud.py
719
import collections #from nltk.corpus import stopwords file = open('98-0.txt') punctuations = set(['.', ':', '(', '/', ')', '\\', '"', '-', ',']) #stopwords = set(stopwords.words('english')) wordcount = {} for word in file.read().lower().split(): # for punctuation in punctuations: # word = word.replace(pun...
apache-2.0
qtzheng/SIMP
utils/debug.go
9787
package utils import ( "bytes" "fmt" "log" "reflect" "runtime" ) var ( dunno = []byte("???") centerDot = []byte("·") dot = []byte(".") lbr = []byte("{") lbrn = []byte("{\n") com = []byte(",") comn = []byte(",\n") rbr = []byte("}") comnrbr = []byte(",\n}") ) type ...
apache-2.0
kingargyle/turmeric-bot
components/camel-irc/src/main/java/org/apache/camel/component/irc/IrcComponent.java
5422
/** * 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
Ccook/conniption4s
src/main/scala/com/celexus/conniption/model/BuyingPower.scala
1808
/** * Copyright 2014 Cameron Cook * * 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
manipopopo/tensorflow
tensorflow/python/estimator/estimator.py
87146
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
apache-2.0
jparsec/jparsec
jparsec-examples/src/main/java/org/jparsec/examples/java/ast/statement/TryStatement.java
2437
/***************************************************************************** * Copyright (C) jparsec.org * * ------------------------------------------------------------------------- * * Licensed under the Apache License, Version 2.0 (the "License"); * * yo...
apache-2.0
stephentyrone/swift
lib/SILGen/SILGenExpr.cpp
226226
//===--- SILGenExpr.cpp - Implements Lowering of ASTs -> SIL for Exprs ----===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
apache-2.0
yuri0x7c1/ofbiz-explorer
src/test/resources/apache-ofbiz-17.12.04/framework/entity/src/main/java/org/apache/ofbiz/entity/condition/EntityDateFilterCondition.java
7627
/******************************************************************************* * 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...
apache-2.0
alanzw/sharerender
Modules/LibCore/CommandRecorder.cpp
4119
#include "CommandRecorder.h" #include "Opcode.h" #include <algorithm> using namespace std; #include <iostream> using namespace cg; using namespace cg::core; char mp[100][100] = { "CreateDevice", "BeginScene", "EndScene", "Clear", "Present", "SetTransform", "SetRenderState", "SetStreamSource", "SetFVF", "Draw...
apache-2.0
eug48/hapi-fhir
hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/Meta.java
24202
package org.hl7.fhir.dstu3.model; /* Copyright (c) 2011+, HL7, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyr...
apache-2.0
napalm-automation/napalm-yang
napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/isis/levels/level/link_state_database/lsp/tlvs/tlv/mt_isn/neighbors/neighbor/subTLVs/subTLVs_/link_protection_type/__init__.py
12398
# -*- coding: utf-8 -*- from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListTy...
apache-2.0
lucaspouzac/jmeter-reporting
src/main/java/org/jmeter/reporting/AppServer.java
1277
package org.jmeter.reporting; import restx.server.JettyWebServer; import restx.server.WebServer; import com.google.common.base.Optional; /** * This class can be used to run the app. * * Alternatively, you can deploy the app as a war in a regular container like tomcat or jetty. * * Reading the port from system e...
apache-2.0
samvera/hyrax
app/forms/hyrax/forms/widgets/admin_set_embargo_period.rb
732
# frozen_string_literal: true module Hyrax module Forms module Widgets class AdminSetEmbargoPeriod # Visibility options for permission templates def options i18n_prefix = "hyrax.admin.admin_sets.form_visibility.release.varies.embargo" [[Hyrax::PermissionTemplate::RELEASE_...
apache-2.0
minio/minio-dotnet
Minio.Examples/Cases/CopyObjectReplaceTags.cs
2552
/* * MinIO .NET Library for Amazon S3 Compatible Cloud Storage, (C) 2021 MinIO, 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 ...
apache-2.0
desruisseaux/sis
core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/citation/HardCodedCitations.java
4978
/* * 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
spektrumprojekt/spektrum
message-api/src/main/java/de/spektrumprojekt/datamodel/message/MessageType.java
1128
/* * 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 no...
apache-2.0
danielegrosso/amazon-mws-feeds
src/MarketplaceWebService/Model/GetReportRequestListByNextTokenRequest.php
5928
<?php /** * PHP Version 5 * * @category Amazon * @package MarketplaceWebService * @copyright Copyright 2009 Amazon Technologies, Inc. * @link http://aws.amazon.com * @license http://aws.amazon.com/apache2.0 Apache License, Version 2.0 * @version 2009-01-01 */ /*****************...
apache-2.0
android-art-intel/Nougat
art-extension/opttests/src/OptimizationTests/LoadHoistStoreSink/Throw/Main.java
1407
/* * Copyright (C) 2016 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
apache-2.0
VHAINNOVATIONS/Telepathology
Source/Java/CoreValueObjects/main/src/java/gov/va/med/imaging/exchange/storage/DataSourceByteBufferPoolManagerMBean.java
2069
/** * Package: MAG - VistA Imaging WARNING: Per VHA Directive 2004-038, this routine should not be modified. Date Created: Oct 2, 2008 Site Name: Washington OI Field Office, Silver Spring, MD Developer: VHAISWWERFEJ Description: ;; +-------------------------------------------------------------...
apache-2.0
Grandbrain/Space
Source/Space.System/System.Desktop.cpp
5947
#include <Windows.h> #include <vector> #include <Xinput.h> #include "System.Desktop.h" namespace Space { std::vector<HGLRC> mContexts; std::vector<HWND> mHandles; std::vector<unsigned> mCells; void(*Back)(void*) = nullptr; unsigned Insert(HWND handle, HGLRC context) { bool empty = mCells.empty(); if (em...
apache-2.0
xianfengxiong/how-tomcat-work
book/tomcat-5.0.18-src/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/io/ListenCallback.java
3598
/* * $Header: /home/cvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/io/ListenCallback.java,v 1.1 2003/02/19 20:32:10 fhanik Exp $ * $Revision: 1.1 $ * $Date: 2003/02/19 20:32:10 $ * * ==================================================================== * * The Apache Software Li...
apache-2.0
NotFound403/WePay
src/main/java/cn/felord/wepay/ali/sdk/api/response/ZhimaMerchantOrderRentCreateResponse.java
2960
package cn.felord.wepay.ali.sdk.api.response; import cn.felord.wepay.ali.sdk.api.internal.mapping.ApiField; import cn.felord.wepay.ali.sdk.api.AlipayResponse; /** * ALIPAY API: zhima.merchant.order.rent.create response. * * @author auto create * @version $Id: $Id */ public class ZhimaMerchantOrderRentCreateResp...
apache-2.0
taori/WMPR
src/WMPR/WMPR.Client/Framework/Converters/BooleanToVisibilityConverterInverted.cs
262
using System.Windows; namespace WMPR.Client.Framework.Converters { public class BooleanToVisibilityConverterInverted : BooleanConverter<Visibility> { public BooleanToVisibilityConverterInverted() : base(Visibility.Collapsed, Visibility.Visible) { } } }
apache-2.0
madis/kubernetes
test/e2e/dns.go
9989
/* Copyright 2015 The Kubernetes 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 ag...
apache-2.0
matthid/Yaaf.Xmpp.Runtime
src/source/System.XML/System.Xml.Serialization/SoapSchemaExporter.cs
2001
// // Mono.System.Xml.Serialization.SoapSchemaExporter // // Authors: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // Lluis Sanchez Gual (lluis@ximian.com) // // (c) 2002 Ximian, Inc. (http://www.ximian.com) // // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software ...
apache-2.0
dawutao/ManagerShop
ManagerShop.UI/ManagerShop.Repository/System/RoleRepository.cs
1569
using ManagerShop.Infrastructure.Core; using ManagerShop.Data.DbContent; using ManagerShop.Domain; using ManagerShop.Domain.System; using ManagerShop.DTOModel.System; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; using Mana...
apache-2.0
funtl/framework
funtl-framework-tools/alipay-sdk/src/main/java/com/funtl/framework/alipay/trade/pay/protocol/downloadbill/util/ZipInputStream.java
12172
/* * Copyright 2015-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
DMadhuranga/projectOOSD
drugDetails.php
3429
<?php session_start(); include('dbconnection.php'); //$conn //include('User.php'); include('basicTemp.php'); include('Drug.php'); if(!isset($_SESSION['logged']) || !isset($_SESSION['user'])){ header('location:login.php'); } $pages = $_SESSION['pages']; $user = unserialize($_SESSION['user']); $s_num =...
apache-2.0
yanaga/querydsl-args
querydsl-args-jsf/src/test/java/me/yanaga/querydsl/args/jsf/SingleBigDecimalArgumentConverterTest.java
1934
package me.yanaga.querydsl.args.jsf; /* * #%L * querydsl-args-jsf * %% * Copyright (C) 2014 - 2015 Edson Yanaga * %% * 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
srhtcn/ceng-app-store
src/main/java/tr/edu/metu/ceng352/config/WebAppInitializer.java
1511
/** * Created by Serhat CAN */ package tr.edu.metu.ceng352.config; import org.springframework.web.filter.CharacterEncodingFilter; import org.springframework.web.filter.DelegatingFilterProxy; import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer; import javax.servlet.*; ...
apache-2.0
xushaomin/appleframework
apple-commons/src/main/java/com/appleframework/logging/level/package-info.java
132
/** * 按照日志级别定义的日志打印接口定义 * * @author cruise.xu * */ package com.appleframework.logging.level;
apache-2.0
shashidharatd/garden-linux
network/fakes/fake_configurer.go
2667
// This file was generated by counterfeiter package fakes import ( "sync" "github.com/cloudfoundry-incubator/garden-linux/network" ) type FakeConfigurer struct { ConfigureContainerStub func(*network.ContainerConfig) error configureContainerMutex sync.RWMutex configureContainerArgsForCall []struct {...
apache-2.0
aike/cckeyboard
js/webmidilink.js
1462
$(function() { window.addEventListener("message", webMidiLinkRecv, false); function webMidiLinkRecv(event) { if ((typeof event.data.valueOf()) != 'string') return; var msg = event.data.split(","); switch (msg[0]) { case "link": //Level1 messages switch (msg[1]) { case "reqpatch": event.so...
apache-2.0
oswa/bianccoAdmin
BianccoAdministrator/src/main/java/com/biancco/admin/persistence/dao/PermissionDAO.java
1265
/** * SOSExcellence S.A. de C.V. all rights reserved 2016. */ package com.biancco.admin.persistence.dao; import java.util.List; import com.biancco.admin.app.exception.DBException; import com.biancco.admin.persistence.model.Permission; /** * Manage the persistence for Permission objects. * * @autho...
apache-2.0