repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
SumoLogic/epigraph
idea-plugin/src/main/java/ws/epigraph/schema/parser/psi/stubs/SchemaListTypeDefStubElementType.java
2214
/* * Copyright 2016 Sumo Logic * * 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
bovlov/anothervote
common/mahonia/mahoniconv/mahoniconv.go
707
package main import ( "flag" "github.com/bovlov/anothervote/common/mahonia" "io" "log" "os" ) // An iconv workalike using mahonia. var from = flag.String("f", "utf-8", "source character set") var to = flag.String("t", "utf-8", "destination character set") func main() { flag.Parse() var r io.Reader = os.Stdi...
apache-2.0
flipper83/protohipster
protohipster/src/main/java/com/flipper83/protohipster/globalutils/cache/Cache.java
255
package com.flipper83.protohipster.globalutils.cache; import java.util.List; /** * This is a contract for all cache implementations */ public interface Cache<T> { T get(String key); void put(String key, T value); List<T> getAllValues(); }
apache-2.0
wartremover/wartremover-contrib
core/src/test/scala/wartremover/contrib/warts/NoNeedForMonadTest.scala
2795
package org.wartremover package contrib.test import org.wartremover.contrib.warts.NoNeedForMonad import org.wartremover.test.WartTestTraverser import org.scalatest.funsuite.AnyFunSuite class NoNeedForMonadTest extends AnyFunSuite with ResultAssertions { test("Report cases where Applicative is enough") { val wi...
apache-2.0
julienledem/redelm
parquet-hadoop/src/main/java/parquet/hadoop/PrintFooter.java
9085
/** * Copyright 2012 Twitter, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
apache-2.0
IHTSDO/snow-owl
dependencies/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/session/remote/CDORemoteSessionManagerImpl.java
9952
/* * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html...
apache-2.0
airingursb/two-life
src/components/react-native-calendars/src/calendar-list/item.js
1875
import React, {Component} from 'react'; import {Text, View} from 'react-native'; import Calendar from '../calendar'; import styleConstructor from './style'; class CalendarListItem extends Component { constructor(props) { super(props); this.style = styleConstructor(props.theme); } shouldComponentUpdate(n...
apache-2.0
ktakagaki/breeze
src/main/scala/breeze/linalg/DenseVectorOps.scala
7599
package breeze.linalg import operators._ import breeze.generic._ import breeze.linalg.support._ import breeze.math.{Complex, TensorSpace, Semiring, Ring} import breeze.util.{ArrayUtil, Isomorphism} import breeze.storage.DefaultArrayValue import scala.reflect.ClassTag import com.github.fommil.netlib.BLAS.{getInstance =...
apache-2.0
abcodeworks/WebShortcutUtil-Java
src/main/java/com/abcodeworks/webshortcututil/write/WeblocBinaryShortcutWriter.java
1573
/** * Copyright 2014 by Andre Beckus * * 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 Licens...
apache-2.0
RasaHQ/rasa_core
rasa/cli/train.py
4908
import argparse import tempfile import typing from typing import List, Optional, Text from rasa.cli.default_arguments import ( add_config_param, add_domain_param, add_nlu_data_param, add_stories_param) from rasa.cli.utils import get_validated_path from rasa.constants import ( DEFAULT_CONFIG_PATH, DEFAULT_DATA_...
apache-2.0
yannstad/minicluster
src/main/java/com/minicluster/cluster/node/Nodes.java
176
package com.minicluster.cluster.node; /** * Factory */ public class Nodes { public static Node newTcpNode(Integer nodeId) { return new NodeTcp(nodeId); } }
apache-2.0
jhwhetstone/cdsWebserver
directoryServer/src/main/java/org/pesc/api/repository/UserRepository.java
1386
/* * Copyright (c) 2017. California Community Colleges Technology Center * * 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
chr78rm/tracelogger
src/main/java/de/christofreichardt/diagnosis/ThreadMap.java
3883
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package de.christofreichardt.diagnosis; import java.util.NoSuchElementException; import java.util.concurrent.ConcurrentHashMap...
apache-2.0
googleads/google-ads-php
src/Google/Ads/GoogleAds/V9/Services/GetMobileDeviceConstantRequest.php
2195
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v9/services/mobile_device_constant_service.proto namespace Google\Ads\GoogleAds\V9\Services; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * R...
apache-2.0
jamesagnew/whereismystreetcar
src/ca/wimsc/client/common/select/NearbyStopSelectionPanel.java
5305
package ca.wimsc.client.common.select; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import ca.wimsc.client.common.model.NearbyStop; import ca.wimsc.client.common.util.HistoryUtil; import com.google.gwt.event.logical.shared.ValueChangeEvent; ...
apache-2.0
marcelocataoca/PAMH
WebService/ProjetosExemplo/checkWeatherRest/www/js/controllers.js
422
angular.module('app.controllers', []) .controller('checkWeatherRestCtrl', ['$scope', '$stateParams', // The following is the constructor function for this page's controller. See https://docs.angularjs.org/guide/controller // You can include any angular dependencies as parameters for this function // TIP: Access Rout...
apache-2.0
ZuInnoTe/hadoopcryptoledger
inputformat/src/main/java/org/zuinnote/hadoop/ethereum/format/exception/EthereumBlockReadException.java
824
/** * Copyright 2017 ZuInnoTe (Jörn Franke) <zuinnote@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 appli...
apache-2.0
android-libraries/android_image_loader
library/src/glide/java/com/albedinsky/android/imageloader/ImageLoaderImpl.java
3112
/* * ================================================================================================= * Copyright (C) 2016 Martin Albedinsky * ================================================================================================= * Licensed under the Apache License, V...
apache-2.0
LesserGiraffe/BunnyHop
App/BhDefine/Functions/event/Exp/ColorExpCnct.js
273
(function() { let section = bhReplacedNewNode.findSymbolInDescendants('*'); let sectionName = null; if (section !== null) { sectionName = String(section.getSymbolName()); } return sectionName === 'ColorExpSctn' || sectionName === 'AnyExpSctn'; })();
apache-2.0
vadimv/PlatypusJS
designer/PlatypusForms/src/com/bearsoft/org/netbeans/modules/form/editors/IconEditor.java
11198
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved. * * Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners. * * The contents of this file are su...
apache-2.0
manishshanker/facetedSearch
test/unit/karma.conf.js
2664
// Karma configuration // Generated on Thu Dec 12 2013 13:03:40 GMT+0000 (GMT) module.exports = function (config) { config.set({ // base path, that will be used to resolve files and exclude basePath: '', // frameworks to use frameworks: ['jasmine'], // list of files / p...
apache-2.0
wso2/devstudio-tooling-esb
plugins/org.wso2.developerstudio.visualdatamapper/src/org/wso2/developerstudio/datamapper/util/DataMapperAdapterFactory.java
36374
/** */ package org.wso2.developerstudio.datamapper.util; import java.util.Map; import org.eclipse.emf.common.notify.Adapter; import org.eclipse.emf.common.notify.Notifier; import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; import org.eclipse.emf.ecore.EObject; import org.wso2.developerstudio.datamapper.*; ...
apache-2.0
spasam/terremark-api
src/main/java/com/terremark/api/ProtocolTypeEnum.java
2319
/** * Copyright 2012 Terremark Worldwide 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...
apache-2.0
antoniardot/DockBot-Eve
lib/lejos/robotics/filter/LowPassFilter.java
1572
package lejos.robotics.filter; import lejos.robotics.SampleProvider; /** * Provides a low-pass filter for samples <br> * * @see <a * href=http://en.wikipedia.org/wiki/Low-pass_filter>http://en.wikipedia. * org/wiki/Low-pass_filter</a> * @author Aswin * */ public class LowPassFilter extends Abstrac...
apache-2.0
Bitergia/allura
Allura/allura/tests/model/test_discussion.py
10840
# -*- coding: utf-8 -*- """ Model tests for artifact """ from cStringIO import StringIO import time from datetime import datetime, timedelta from cgi import FieldStorage from pylons import c, g, request, response from nose.tools import assert_raises, assert_equals, with_setup import mock from mock import patch from m...
apache-2.0
jdgwartney/vsphere-ws
java/JAXWS/samples/com/vmware/vim25/SuspendedRelocateNotSupported.java
825
package com.vmware.vim25; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for SuspendedRelocateNotSupported complex type. * * <p>The following schema fragment specifies the expected content...
apache-2.0
jaymarvels/outpan-api-csharp
Outpan Get/Properties/Resources.Designer.cs
2789
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
apache-2.0
kisskys/incubator-asterixdb
asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/operators/IndexInfoOperatorDescriptor.java
4395
/* * 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
consulo/consulo
modules/base/lang-impl/src/main/java/consulo/ide/macro/ModuleTestOutputDirPathMacro.java
1275
/* * Copyright 2013-2016 consulo.io * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
apache-2.0
jacekkopecky/parkjam
src/com/hp/hpl/jena/shared/AssertionFailureException.java
2127
/* (c) Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP [See end of file] $Id: AssertionFailureException.java,v 1.1 2009/06/29 08:55:34 castagna Exp $ */ package com.hp.hpl.jena.shared; /** Exception to throw when an assertion fails. Probably obsolete in ...
apache-2.0
linkedin/parseq
subprojects/parseq/src/main/java/com/linkedin/parseq/ParSeqGlobalConfiguration.java
3776
/* * Copyright 2012 LinkedIn, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
apache-2.0
yyitsz/myjavastudio
SimpleCrm/SimpleCrm/Utils/FormHelper.cs
4639
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using SimpleCrm.Facade; namespace SimpleCrm.Utils { public static class FormHelper { public static void ShowMdiChildForm<T>(this Form owner) where T : Form, new() { ...
apache-2.0
balanced/omnibus-balanced
config/software/gfortran.rb
2517
# # Copyright:: Copyright (c) 2014 Balanced, 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.0 # # Un...
apache-2.0
atricore/node-uma
lib/resourcesetRead.js
2772
/** * Copyright 2015-present Atricore Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
apache-2.0
codelibs/cl-struts
src/share/org/apache/struts/tiles/actions/ViewDefinitionsAction.java
2839
/* * $Id: ViewDefinitionsAction.java 54929 2004-10-16 16:38:42Z germuska $ * * Copyright 1999-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
apache-2.0
bigtester/automation-test-engine
org.bigtester.ate.core/src/main/java/org/bigtester/ate/xmlschema/AlertDialogFindInFocusBeanDefinitionParser.java
2289
/******************************************************************************* * ATE, Automation Test Engine * * Copyright 2014, Montreal PROT, or individual contributors as * indicated by the @author tags or express copyright attribution * statements applied by the authors. All third-party contributions are *...
apache-2.0
miekg/coredns
plugin/cache/handler.go
4987
package cache import ( "context" "math" "time" "github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin/metrics" "github.com/coredns/coredns/request" "github.com/miekg/dns" ) // ServeDNS implements the plugin.Handler interface. func (c *Cache) ServeDNS(ctx context.Context, w dns.ResponseWriter,...
apache-2.0
GuardTime/ksi-net-sdk
ksi-net-api-test/Signature/Verification/Rule/SignaturePublicationRecordPublicationHashRuleTests.cs
2808
/* * Copyright 2013-2018 Guardtime, Inc. * * This file is part of the Guardtime client SDK. * * 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
sryza/spark
core/src/main/scala/org/apache/spark/deploy/worker/CommandUtils.scala
3413
/* * 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
welterde/ewok
com/planet_ink/coffee_mud/Commands/NoANSI.java
2368
package com.planet_ink.coffee_mud.Commands; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_ink.coffee_mud.Behaviors.interfaces.*; import com...
apache-2.0
mintzhao/yoyo
pkg/conf/conf_test.go
3012
// Copyright © 2017 mintzhao <mint.zhao.chiu@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 applicab...
apache-2.0
hirayama968/xx
Source/Scene/Expression.js
81842
define([ '../Core/Cartesian2', '../Core/Cartesian3', '../Core/Cartesian4', '../Core/Check', '../Core/Color', '../Core/defined', '../Core/defineProperties', '../Core/DeveloperError', '../Core/isArray', '../Core/Math', '../...
apache-2.0
popcorn-rs/popcorn
src/memory.rs
21
pub trait Memory { }
apache-2.0
DanielJoyce/websocket-serial-server
src/lib/manager.rs
12238
//! Manages serial port state and communication with clients, //! and handling requests / responses use std::collections::HashSet; use std::sync::mpsc::{Receiver, TryRecvError}; use std::thread; use base64; use crate::common::*; use crate::dynamic_sleep::DynamicSleep; use crate::errors::*; use crate::messages::*; us...
apache-2.0
wukonggg/mz-g
src/main/webapp/assets/js/mz.select_category.js
3742
/*! MessJS | mess.select_category.js | 0.1.0 | 选择商品类别JS | by wukong(wukonggg@139.com) */ /** 依赖:jquery.js - ajax、dom等 */ window.mz = window.mz || {}; /** * 载入商品品类选项 * * @param contextPath contextPath * @param selectId 页面select元素的id * @param errorMsg 错误提示信息 * @param currCateCode 当前选中的cateCode,非必须 * @param pcode...
apache-2.0
jivesoftware/upena
upena-deployable/src/main/java/com/jivesoftware/os/upena/deployable/endpoints/ui/LoadBalancersPluginEndpoints.java
5768
package com.jivesoftware.os.upena.deployable.endpoints.ui; import com.google.common.collect.Lists; import com.jivesoftware.os.upena.deployable.ShiroRequestHelper; import com.jivesoftware.os.upena.deployable.region.LoadBalancersPluginRegion; import com.jivesoftware.os.upena.deployable.region.LoadBalancersPluginRegion.L...
apache-2.0
armstrong/armstrong.apps.content
fabfile.py
520
from armstrong.dev.tasks import * settings = { 'DEBUG': True, 'INSTALLED_APPS': ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'armstrong.core.arm_access', 'armstrong.cor...
apache-2.0
googleapis/google-api-java-client-services
clients/google-api-services-dialogflow/v2beta1/1.31.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata.java
2466
/* * 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
gitee2008/glaf
src/main/java/com/glaf/generator/tools/JPAEntityToXmlMapping.java
9740
/* * 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
hayarobi/simple-config
src/main/java/com/github/hayarobi/simple_config/annotation/Config.java
954
package com.github.hayarobi.simple_config.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * 이 주석이 붙은 클래스는 설정을 담은 객체임을 알림. * @author Hayarobi Park * */ @Target(ElementType.TYPE) @Retenti...
apache-2.0
msmm/yatelayouknow
Resources/controllers/twLibrary/infomodalview.js
1167
/** * Modal Info View module - Titanium JS * @author César Cavazos - @cesarcvz * Based on: https://github.com/appcelerator/KitchenSink */ /** * Open an infomation modal anywhere in hour app * @param {String} text * @param {Object} params */ exports.showInfo = function(text, params) { //TODO: Add params...
apache-2.0
o3project/mlo-net
mlo-srv/src/test/java/org/o3project/mlo/server/action/test/usecase/UsecaseFlow100Test.java
1443
/** * ActionUsecaseTest.java * (C) 2013,2015, Hitachi, Ltd. */ package org.o3project.mlo.server.action.test.usecase; import org.junit.After; import org.junit.Before; import org.junit.Test; /** * ActionUsecaseTest * */ public class UsecaseFlow100Test extends UsecaseTestBase { /* (non-Javadoc) * @see org.o3p...
apache-2.0
b-ggs/indinero-mysql-vagrant
increase-disk-size.rb
1664
HOSTNAME = 'indinero-mysql-vagrant' VMDK_FILENAME = 'ubuntu-xenial-16.04-cloudimg.vmdk' VDI_FILENAME = 'ubuntu-xenial-16.04-cloudimg.vdi' VBOX_STORAGE_CONTROLLER = 'SCSI' VDI_SIZE = 81920 ### Check vagrant machine status puts 'Checking vagrant machine state...' status = `vagrant status`.chomp if status =~ /running/...
apache-2.0
shantanusharma/closure-compiler
test/com/google/javascript/jscomp/LiveVariablesAnalysisTest.java
20359
/* * Copyright 2017 The Closure Compiler 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
Ensembl/ensj-healthcheck
src/org/ensembl/healthcheck/testgroup/PostMerge.java
1063
/* * Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute * Copyright [2016-2019] EMBL-European Bioinformatics Institute * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
apache-2.0
OMTAR2/PHPstart
index.php
32
<php echo "strona glowna"; ?>
apache-2.0
shun634501730/java_source_cn
src_en/com/sun/corba/se/PortableActivationIDL/LocatorHolder.java
1125
package com.sun.corba.se.PortableActivationIDL; /** * com/sun/corba/se/PortableActivationIDL/LocatorHolder.java . * Generated by the IDL-to-Java compiler (portable), version "3.2" * from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u91/7017/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/acti...
apache-2.0
Vegedus/Fault-Tolerant-Project
RecoveryBlocks/TestProgram/Properties/Settings.Designer.cs
1068
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
apache-2.0
tkrajina/GraphAnything
graphanything/src/main/java/info/puzz/graphanything/utils/StringUtils.java
811
package info.puzz.graphanything.utils; /** * Created by puzz on 11/10/16. */ public final class StringUtils { private StringUtils() { throw new Error(); } public static boolean isEmpty(String s) { return s == null || s.length() == 0; } public static String ellipses(String strin...
apache-2.0
ajiang-open/jpaquery
src/main/java/com/jpaquery/core/facade/OrderPath.java
136
package com.jpaquery.core.facade; public interface OrderPath { enum OrderPathType { asc, desc } Order asc(); Order desc(); }
apache-2.0
kieker-monitoring/kieker
kieker-monitoring/test/kieker/monitoring/writer/filesystem/BinaryFileWriterTest.java
14833
/*************************************************************************** * Copyright 2021 Kieker Project (http://kieker-monitoring.net) * * 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
martin-kuba/metacentrum-accounting
pbsmon/src/main/java/cz/cesnet/meta/pbs/JobsInfo.java
2679
package cz.cesnet.meta.pbs; import java.util.Map; import java.util.HashMap; import java.util.List; /** * Created by IntelliJ IDEA. * * @author Martin Kuba makub@ics.muni.cz * @version $Id: JobsInfo.java,v 1.2 2014/03/05 14:50:15 makub Exp $ */ public class JobsInfo { private Map<String, Integer> stavy; p...
apache-2.0
Allesad/HabraClient
app/src/main/java/com/allesad/habraclient/components/widgets/SlidingTabStrip.java
6426
package com.allesad.habraclient.components.widgets; /* * 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...
apache-2.0
tzaavi/Lean
Common/Securities/Security.cs
13827
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ...
apache-2.0
tallycheck/data-support
meta-descriptor-base/src/main/java/com/taoswork/tallycheck/descriptor/metadata/processor/ProcessResult.java
596
package com.taoswork.tallycheck.descriptor.metadata.processor; public enum ProcessResult { /** * INAPPLICABLE: the processor doesn't handle the data specified */ INAPPLICABLE(1), /** * The processor doesn't handle the data, but may do some other stuffs, such as setting value */ PASS...
apache-2.0
yahoo/validatar
src/main/java/com/yahoo/validatar/common/Pluggable.java
3092
/* * Copyright 2015 Yahoo Inc. * Licensed under the terms of the Apache 2 license. Please see LICENSE file in the project root for terms. */ package com.yahoo.validatar.common; import joptsimple.OptionParser; import joptsimple.OptionSet; import lombok.Getter; import lombok.extern.slf4j.Slf4j; import java.util.Hash...
apache-2.0
Unicon/cas
core/cas-server-core-web/src/test/java/org/apereo/cas/web/SimpleUrlValidatorFactoryBeanTests.java
890
package org.apereo.cas.web; import static org.junit.Assert.*; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** * @author swoeste * @since 5.1.0 */ @RunWith(JUnit4.class) public class SimpleUrlValidatorFactoryBeanTests { @Test public void verifyValidation() thro...
apache-2.0
wenhuiyao/RevealAnimation
app/src/androidTest/java/demo/reveal/wenhui/com/revealanimation/ApplicationTest.java
370
package demo.reveal.wenhui.com.revealanimation; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public Application...
apache-2.0
liquidm/druid
indexing-service/src/test/java/org/apache/druid/indexing/common/task/CompactionTaskTest.java
50844
/* * 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
paulstapleton/flowable-engine
modules/flowable-engine/src/main/java/org/flowable/engine/impl/test/TestHelper.java
13375
/* 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
manzke/devsurf-crashlytics
core/src/main/java/de/devsurf/crashlytics/service/api/App.java
1663
/* * 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
dfki-asr-fitman/c3dwv
compass-webapp/src/main/webapp/resources/js/editor/settings.js
665
/* * This file is part of COMPASS. It is subject to the license terms in * the LICENSE file found in the top-level directory of this distribution. * (Also available at http://www.apache.org/licenses/LICENSE-2.0.txt) * You may not use this file except in compliance with the License. */ XML3D.tools.namespace("COMPAS...
apache-2.0
GwtMaterialDesign/gwt-material-demo
src/main/java/gwt/material/design/demo/client/application/components/search/SearchPresenter.java
2005
package gwt.material.design.demo.client.application.components.search; /* * #%L * GwtMaterial * %% * Copyright (C) 2015 - 2016 GwtMaterialDesign * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of t...
apache-2.0
orichyyy/XFS.Net
TestForm/Form1.Designer.cs
5639
namespace TestForm { partial class Form1 { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 true;否则为 false...
apache-2.0
introproventures/graphql-jpa-query
graphql-jpa-query-autoconfigure/src/main/java/com/introproventures/graphql/jpa/query/autoconfigure/GraphQLShemaRegistrationImpl.java
562
package com.introproventures.graphql.jpa.query.autoconfigure; import java.util.LinkedHashSet; import java.util.Set; import graphql.schema.GraphQLSchema; public class GraphQLShemaRegistrationImpl implements GraphQLShemaRegistration { Set<GraphQLSchema> managedGraphQLSchemas = new LinkedHashSet<GraphQLSchem...
apache-2.0
oehme/analysing-gradle-performance
my-app/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p488/Production9768.java
2048
package org.gradle.test.performance.mediummonolithicjavaproject.p488; import org.gradle.test.performance.mediummonolithicjavaproject.p487.Production9759; public class Production9768 { private Production9759 property0; public Production9759 getProperty0() { return property0; } public...
apache-2.0
carnegiespeech/translations
ar/grading.php
1650
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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 Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle...
apache-2.0
Arollalz/TWU_Biblioteca-ZhenLiu
src/com/twu/biblioteca/library/MainMenu.java
1251
package com.twu.biblioteca.library; import java.util.LinkedList; /** * Created by zhenliu on 9/14/15. */ public class MainMenu { private static LinkedList<Book> content; private static final String validOptionSelectedMessage = "Select a valid option!"; private static final String checkOutSuccessfullyMes...
apache-2.0
cast-framework/receiver-test-app-android
src/com/castframework/android/framework/CastApplication.java
133
package com.castframework.android.framework; import android.app.Application; public class CastApplication extends Application { }
apache-2.0
jayaskren/FastOpencsv
src/test/java/com/fastopencsv/TestUtilitiesTest.java
652
package com.fastopencsv; import static junit.framework.Assert.assertEquals; import org.junit.Test; /** * Created by IntelliJ IDEA. * User: scott * Date: 12/20/10 * Time: 2:57 PM * To change this template use File | Settings | File Templates. */ public class TestUtilitiesTest { @Test public void displaySt...
apache-2.0
GibraltarSoftware/Gibraltar.Agent.EntityFramework
src/Agent.EntityFramework.Test/Entities/Invoice.cs
1855
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated. //...
apache-2.0
pravega/pravega
test/testcommon/src/main/java/io/pravega/test/common/SerializedClassRunner.java
1459
/** * Copyright Pravega 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...
apache-2.0
CarmenPopoviciu/angular
modules/angular2/src/test_lib/benchmark_util.js
879
import {DOM, document, location} from 'angular2/src/facade/dom'; import {NumberWrapper, BaseException, isBlank} from 'angular2/src/facade/lang'; export function getIntParameter(name:string) { return NumberWrapper.parseInt(getStringParameter(name), 10); } export function getStringParameter(name:string) { var els =...
apache-2.0
jingle1267/CommonProjectLibrary
SampleProject/src/com/ihongqiqu/common/library/sample/eventbus/EventBusDemoActivity.java
1802
package com.ihongqiqu.common.library.sample.eventbus; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Toast; import com.ihongqiqu.common.library.sample.R; import de.greenrobot.event.EventBus; /** * EventBus demo * <p/> * Created ...
apache-2.0
kwakutwumasi/Quakearts-JSF-Webtools
qa-boot/src/main/java/com/quakearts/webapp/facelets/bootstrap/components/BootSelectOneListbox.java
1377
/******************************************************************************* * Copyright (C) 2016 Kwaku Twumasi-Afriyie <kwaku.twumasi@quakearts.com>. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies...
apache-2.0
enriko-iskandar/chef
cookbooks/shinken/recipes/_hostgroups.rb
2058
# # Cookbook Name:: shinken # Recipe:: _hostgroups # # Copyright (C) 2014 EverTrue, 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
plxaye/chromium
src/chrome/browser/chromeos/extensions/default_app_order.cc
4436
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/extensions/default_app_order.h" #include "base/bind.h" #include "base/bind_helpers.h" #include "base/file_util.h" #...
apache-2.0
PurelyApplied/geode
geode-core/src/main/java/org/apache/geode/internal/logging/SessionContext.java
1617
/* * 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 ...
apache-2.0
x-meta/xworker
xworker_lang/src/main/java/xworker/db/jdbc/C3p0Actions.java
3487
/******************************************************************************* * Copyright 2007-2013 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.ap...
apache-2.0
daidong/MetaGraphBenchMarkSuits
src/main/java/workloads/ConcurrentWorkLoad.java
848
package workloads; import java.util.ArrayList; import java.util.Random; /** * This class generates workloads (n writes) on one vertex * * @author daidong * */ public class ConcurrentWorkLoad implements GraphWorkLoad { public int writes; public int vertexId; public ArrayList<MetaEdge> edges; public Concu...
apache-2.0
aboyett/blockdiag
src/blockdiag/utils/__init__.py
4299
# -*- coding: utf-8 -*- # Copyright 2011 Takeshi KOMIYA # # 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
flavoi/diventi
diventi/accounts/migrations/0274_auto_20200315_1318.py
453
# Generated by Django 2.2.10 on 2020-03-15 12:18 import diventi.accounts.models from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('accounts', '0273_auto_20200315_1313'), ] operations = [ migrations.AlterModelManagers( name='diventiuser...
apache-2.0
cboehme/metafacture-core
metafacture-formeta/src/main/java/org/metafacture/formeta/parser/StructureParserContext.java
2742
/* * Copyright 2013, 2014 Deutsche Nationalbibliothek * * Licensed under the Apache License, Version 2.0 the "License"; * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
apache-2.0
cwant/tessagon
tests/core/core_tests_base.py
930
import os import sys this_dir = os.path.dirname(os.path.realpath(__file__)) sys.path.append(this_dir + '/../..') from tessagon.core.tile import Tile # noqa: E402 class CoreTestsBase: pass class FakeTessagon: def __init__(self): self.mesh_adaptor = FakeAdaptor() def f(self, u, v): ret...
apache-2.0
NetApp/manila
manila/tests/share/drivers/test_generic.py
92077
# Copyright (c) 2014 NetApp, Inc. # Copyright (c) 2015 Mirantis, 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/license...
apache-2.0
sparkfy/sparkfy
sparkfy-network/src/main/java/com/github/sparkfy/network/server/MessageHandler.java
1626
/* * 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
gchq/stroom
stroom-ui/src/components/IndexVolumes/indexVolumeGroupApi/useIndexVolumeGroup.ts
632
import * as React from "react"; import useApi from "./useApi"; import { IndexVolumeGroup } from "./types"; interface UseIndexVolumeGroup { indexVolumeGroup: IndexVolumeGroup | undefined; } const useIndexVolumeGroup = (groupName: string): UseIndexVolumeGroup => { const [indexVolumeGroup, setIndexVolumeGroup] = ...
apache-2.0
SimLQ/coolweather
app/src/main/java/com/coolweather/android/db/County.java
777
package com.coolweather.android.db; /** * Created by C515 on 2017/5/11. */ public class County extends DataSupport { private int id; private String countyName; private String weatherId; private int cityId; public int getId(){ return id; } public void setId(int id){ this.id...
apache-2.0
Qi4j/qi4j-sdk
tools/generator-polygene/app/index.js
20225
/* * 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
mrinsss/Full-Repo
tripezi/system/application/views/admin/press/add-edit.tpl.php
4670
<?php /********* * Author: Koushik * Email:koushik.r@acumensoft.info * Date : 3 July 2012 * Modified By: * Modified Date: * Purpose: * View For press add edit tpl * @package Content Management * @subpackage press * @Controller Press.php * @function used add_information(),edit_informaion() * @...
apache-2.0