code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
package com.doctor.guava;
import java.util.concurrent.TimeUnit;
import org.junit.Before;
import org.junit.Test;
import com.google.common.base.Stopwatch;
/**
*
* @author doctor
*
* @see <a href ="http://www.javacodegeeks.com/2012/11/guava-stopwatch.html">the blog <a/>
*
*
* @time 2015年6月12日 上午10:42:26
*/
... | sdcuike/openSourcLibrary-2015 | src/test/java/com/doctor/guava/GuavaStopwatch.java | Java | apache-2.0 | 675 |
/*
* Copyright (c) 2003-2012 Fred Hutchinson Cancer Research 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
*
* Un... | dhmay/msInspect | src/modwt/Transform.java | Java | apache-2.0 | 20,065 |
/*
* Copyright (c) 2003-2012 Fred Hutchinson Cancer Research 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
*
* Un... | dhmay/msInspect | src/org/fhcrc/cpl/viewer/MS2Correct.java | Java | apache-2.0 | 5,252 |
/*
* Copyright (C) 2015 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 agr... | twitter/twitter-kit-android | tweet-ui/src/main/java/com/twitter/sdk/android/tweetui/ResetTweetCallback.java | Java | apache-2.0 | 1,811 |
/**
* 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... | zouzhberk/ambaridemo | demo-server/src/main/java/org/apache/ambari/server/state/RepositoryVersionState.java | Java | apache-2.0 | 4,175 |
package cmput301t4.gameswap.Models;
import java.util.ArrayList;
/**
* Holds all offline data until a connection to the server can be established again.
* @author Blake Sakaluk, Daniel Ren, Kynan Ly, Rupehra Chouhan , Preyanshu Kumar
* @version Part 4
*/
public class Cache {
/** The Items that were created off... | CMPUT301F15T04/Project1 | GameSwap/app/src/main/java/cmput301t4/gameswap/Models/Cache.java | Java | apache-2.0 | 2,601 |
/*
* Copyright 2016-2021 Micro Focus or one of 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... | CAFDataProcessing/worker-document | worker-document/src/main/java/com/hpe/caf/worker/document/impl/SubdocumentImpl.java | Java | apache-2.0 | 1,938 |
package org.xbib.netty.http.server.test.http1;
import io.netty.buffer.ByteBufInputStream;
import io.netty.buffer.ByteBufOutputStream;
import io.netty.handler.codec.http.HttpResponseStatus;
import io.netty.handler.codec.http.HttpVersion;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWi... | jprante/netty-http-client | netty-http-server/src/test/java/org/xbib/netty/http/server/test/http1/StreamTest.java | Java | apache-2.0 | 2,801 |
package com.toluene.commonbatis.plugin;
import com.toluene.commonbatis.util.MapperResolver;
import com.toluene.commonbatis.util.ReflectionUtil;
import com.toluene.commonbatis.util.SimpleCache;
import com.toluene.commonbatis.util.TableNameParser;
import org.apache.ibatis.executor.Executor;
import org.apache.ibatis.mapp... | MiddleBen/CommonBatis | src/main/java/com/toluene/commonbatis/plugin/Transfer.java | Java | apache-2.0 | 14,072 |
// This is a generated file. Not intended for manual editing.
package fr.tolc.jahia.intellij.plugin.cnd.psi.impl;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiT... | Tolc/IntelliJ_Jahia_plugin | gen/fr/tolc/jahia/intellij/plugin/cnd/psi/impl/CndPropertyDefaultImpl.java | Java | apache-2.0 | 947 |
package apple.vision;
import apple.NSObject;
import apple.coregraphics.opaque.CGPathRef;
import apple.foundation.NSArray;
import apple.foundation.NSError;
import apple.foundation.NSIndexPath;
import apple.foundation.NSMethodSignature;
import apple.foundation.NSSet;
import apple.foundation.protocol.NSCopying;
import ap... | multi-os-engine/moe-core | moe.apple/moe.platform.ios/src/main/java/apple/vision/VNContour.java | Java | apache-2.0 | 8,869 |
package de.peeeq.wurstio.objectreader;
import java.io.IOException;
import java.util.List;
import com.google.common.collect.Lists;
public class ObjectDefinition {
private int origObjectId;
private int newObjectId;
private List<ObjectModification<?>> modifications = Lists.newArrayList();
private final ObjectTable... | Crigges/WurstScript | de.peeeq.wurstscript/src/de/peeeq/wurstio/objectreader/ObjectDefinition.java | Java | apache-2.0 | 2,686 |
package com.appdirect.sdk.vendorFields.converter;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.... | AppDirect/service-integration-sdk | src/test/java/com/appdirect/sdk/vendorFields/converter/LocaleConverterTest.java | Java | apache-2.0 | 4,629 |
/**
* Copyright 2011-2017 Asakusa Framework Team.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | cocoatomo/asakusafw | testing-project/asakusa-test-moderator/src/main/java/com/asakusafw/testdriver/rule/Predicates.java | Java | apache-2.0 | 4,407 |
/*
* Copyright 2017 NAVER Corp.
*
* 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 ... | andyspan/pinpoint | collector/src/main/java/com/navercorp/pinpoint/collector/receiver/SpanReceiver.java | Java | apache-2.0 | 1,025 |
/*
* =================================================================================================
* Copyright (C) 2016 Martin Albedinsky
* =================================================================================================
* Licensed under the Apache License, V... | android-libraries/android_database | library/src/main/java/com/albedinsky/android/database/content/DataHeaders.java | Java | apache-2.0 | 1,864 |
/*
* Copyright 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 applica... | blindpirate/gradle | subprojects/logging/src/main/java/org/gradle/internal/logging/LoggingConfigurationBuildOptions.java | Java | apache-2.0 | 10,714 |
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | googleapis/java-compute | proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SwitchToCustomModeNetworkRequestOrBuilder.java | Java | apache-2.0 | 4,693 |
package com.support.android.designlibdemo.character.enemy;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.... | fsoave/first-app | app/src/main/java/com/support/android/designlibdemo/character/enemy/EnemiesListFragment.java | Java | apache-2.0 | 5,322 |
package org.onvif.ver10.deviceio.wsdl;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStr... | fpompermaier/onvif | onvif-ws-client/src/main/java/org/onvif/ver10/deviceio/wsdl/GetSerialPortConfigurationOptions.java | Java | apache-2.0 | 2,058 |
/**
*
*/
package com.jersy.demo;
/**
* @author Tatarao voleti
* @date 22-Aug-2014
*
*/
public class AnnotationExample {
@BasicAnnotation(author="tatarao",comments="no",date="15 nov 2014",revision=10)
public String toString(){
return null;
}
}
| Tataraovoleti/JavaRestWithJersy | src/com/jersy/demo/AnnotationExample.java | Java | apache-2.0 | 284 |
package gms.app;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.dataformat.yaml.YAMLFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.io.Reader;
import java.io.UncheckedIOException;
import java.nio.file.Files;
import ... | ringmaster217/galactic-media-server | src/main/java/gms/app/Configuration.java | Java | apache-2.0 | 1,579 |
package org.testobject.kernel.imgproc.plot;
import java.awt.Color;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.axis.NumberAxis;
import org.jfree.chart.plot.PlotOrientation;
import org.jfree.chart.plot.XYPlot;
import org.jfree.chart.renderer.xy.XYSplineRenderer;
impor... | testobject/visual-scripting | org.testobject.kernel/imgproc/src/main/java/org/testobject/kernel/imgproc/plot/JFreeChartPlotter.java | Java | apache-2.0 | 3,511 |
package com.buschmais.xo.api.proxy;
public interface ProxyMethod<Entity> {
@SuppressWarnings("squid:S00112")
Object invoke(Entity entity, Object instance, Object[] args) throws Exception;
}
| buschmais/extended-objects | api/src/main/java/com/buschmais/xo/api/proxy/ProxyMethod.java | Java | apache-2.0 | 201 |
/*
* Licensed to Crate.io GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* this file to you under the Apache License, Version 2.0 (the "License");
* you may not use this f... | crate/crate | server/src/test/java/io/crate/user/TransportPrivilegesActionTest.java | Java | apache-2.0 | 4,383 |
/*******************************************************************************
* Copyright 2015 Fondazione Bruno Kessler
*
* 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
*
... | smartcommunitylab/AAC | src/main/java/it/smartcommunitylab/aac/common/AlreadyRegisteredException.java | Java | apache-2.0 | 1,108 |
/*
* Copyright 2016 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | google/schemaorg-java | src/main/java/com/google/schemaorg/core/PostalAddress.java | Java | apache-2.0 | 11,099 |
package com.planet_ink.coffee_mud.Abilities.Spells;
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.*;
im... | robjcaskey/Unofficial-Coffee-Mud-Upstream | com/planet_ink/coffee_mud/Abilities/Spells/Spell_SeeAura.java | Java | apache-2.0 | 3,067 |
/*
* Copyright 2016 The Simple File Server 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 applicabl... | pitchpoint-solutions/sfs | sfs-server/src/main/java/org/sfs/nodes/MasterNode.java | Java | apache-2.0 | 1,021 |
package com.cc.apptroy.hook;
import de.robv.android.xposed.XC_MethodHook;
/**
* Created by CwT on 16/5/15.
*/
public abstract class MethodHookCallBack extends XC_MethodHook {
@Override
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
// TODO Auto-generated method stub
... | CvvT/AppTroy | app/src/main/java/com/cc/apptroy/hook/MethodHookCallBack.java | Java | apache-2.0 | 1,051 |
/*
* Copyright 1999-2011 Alibaba Group.
*
* 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... | lenovoDTC/dubbo-G | dubbo-container/dubbo-container-api/src/main/java/com/alibaba/dubbo/container/Main.java | Java | apache-2.0 | 3,776 |
/*
* Copyright 2012-2016, 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 applicable law ... | flipkart-incubator/flux | client/src/test/java/com/flipkart/flux/client/registry/LocalExecutableRegistryImplTest.java | Java | apache-2.0 | 6,209 |
package org.uclab.mm.sl.uiux.analytics;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@T... | ubiquitous-computing-lab/Mining-Minds | supporting-layer/uiux-authoring-tool/analytics/UIUXAnalyticsdemo/uiuxanalytics/src/test/java/org/uclab/mm/sl/uiux/analytics/ExampleUnitTest.java | Java | apache-2.0 | 419 |
package uk.gov.phe.erdst.sc.awag.dao.impl;
import java.util.Collection;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Set;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.NoResultException;
import javax.persistence.PersistenceContext;
import ja... | PublicHealthEngland/animal-welfare-assessment-grid | code/server/src/main/java/uk/gov/phe/erdst/sc/awag/dao/impl/StudyGroupDaoImpl.java | Java | apache-2.0 | 6,291 |
/*
* Copyright (C) 2016 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 app... | f1dz/ud851-Exercises | Lesson02-GitHub-Repo-Search/T02.01-Exercise-CreateLayout/app/src/main/java/com/example/android/datafrominternet/MainActivity.java | Java | apache-2.0 | 1,412 |
package com.bitium10.cuc.usage.ds;
import com.bitium10.ucc.agent.ExtendDataStore;
import java.util.Map;
/**
* <b>项目名</b>: ucc <br>
* <b>包名称</b>: com.bitium10.cuc.usage.ds <br>
* <b>类名称</b>: RedisDataStroe <br>
* <b>类描述</b>: <br>
* <b>创建人</b>: <a href="mailto:shouli1990@gmail.com">李朋明</a> <br>
* <b>修改人</b>: <br... | cncduLee/zk-ucc | ucc-agent/src/test/java/com/bitium10/cuc/usage/ds/RedisDataStroe.java | Java | apache-2.0 | 818 |
/*
* #%L
* Fabric8 :: Testsuite :: Smoke :: Common
* %%
* Copyright (C) 2014 Red Hat
* %%
* 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/LICEN... | tdiesler/fabric8poc | itests/smoke/common/src/main/java/io/fabric8/test/smoke/container/ConfigurationItemsTest.java | Java | apache-2.0 | 3,330 |
/*
* Copyright (C) 2013 Jacek Marchwicki <jacek.marchwicki@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 r... | jacek-marchwicki/AndroidAppDeployer | AndroidAppDeployer/src/com/appjma/appdeployer/content/AppProvider.java | Java | apache-2.0 | 1,159 |
package example.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class Customer1667 {
@Id @GeneratedValue(strategy = GenerationType.AUTO) private long id;
private String firstName;
private String l... | spring-projects/spring-data-examples | jpa/deferred/src/main/java/example/model/Customer1667.java | Java | apache-2.0 | 628 |
/****************************************************************
* Licensed to the AOS Community (AOS) under one or more *
* contributor license agreements. See the NOTICE file *
* distributed with this work for additional information *
* regarding copyright ownership. The AOS licenses this... | XClouded/t4f-core | java/security/shiro/src/tmp/spl-2/src/main/java/name/brucephillips/somesecurity/servlet/LogoutUser.java | Java | apache-2.0 | 3,247 |
/*
* Created on Dec 21, 2013
*
* 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... | yurloc/assertj-core | src/main/java/org/assertj/core/presentation/Representation.java | Java | apache-2.0 | 1,053 |
package com.legendshop.test.freemarker;
public class IntegerTest {
/**
* @param args
*/
public static void main(String[] args) {
}
}
| 8090boy/gomall.la | legendshop_util/test/com/legendshop/test/freemarker/IntegerTest.java | Java | apache-2.0 | 144 |
package com.ftinc.showcase.ui.lock.auth;
import android.util.Base64;
/**
* Basic authenticator that compares the data in Base64 strings
*
* Project: Showcase
* Package: com.ftinc.showcase.ui.lock.auth
* Created by drew.heavner on 3/2/15.
*/
public class BasicAuth implements Auth{
@Override
public boolea... | 52inc/android-Showcase | app/src/main/java/com/ftinc/showcase/ui/lock/auth/BasicAuth.java | Java | apache-2.0 | 563 |
/*
* Copyright 1999-2011 Alibaba Group.
*
* 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... | lenovoDTC/dubbo-G | dubbo-registry/dubbo-registry-api/src/test/java/com/alibaba/dubbo/registry/support/AbstractRegistryFactoryTest.java | Java | apache-2.0 | 3,299 |
package main.java.com.example.SpeakEasy;
import android.app.SearchManager;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.net.Connectivity... | pgodzin/QuotesSocial | src/main/java/com/example/SpeakEasy/MainPage.java | Java | apache-2.0 | 13,475 |
package design.chain;
import com.google.common.base.CharMatcher;
/**
* Created by Linuxea on 2017/8/10.
* String 过滤器之去掉数字
*/
public class FilterDightFilter extends StringChain {
@Override
public String doIt(String t) {
return CharMatcher.digit().removeFrom(t);
}
}
| Linuxea/testUnit | src/main/java/design/chain/FilterDightFilter.java | Java | apache-2.0 | 295 |
package com.coolweather.android.db;
import org.litepal.crud.DataSupport;
/**
* Created by dongge on 2017/8/13.
*/
public class County extends DataSupport {
private int id;
private String countyName;
private String weatherId;
private int cityId;
public int getId(){
return id;
}
... | dadongge000/coolweather | app/src/main/java/com/coolweather/android/db/County.java | Java | apache-2.0 | 824 |
/*
* Copyright 2015 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... | Yannic/closure-compiler | test/com/google/javascript/jscomp/RewritePolyfillsTest.java | Java | apache-2.0 | 17,183 |
package com.github.joseph.core.page.pageObject.commands.options;
import com.github.joseph.core.page.pageObject.PageElementType;
import com.github.joseph.core.page.pageObject.function.OptionFunction;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.pagefactory.ElementLocator;
import org.openqa.... | joewoo999/selenium_webuitest | src/main/java/com/github/joseph/core/page/pageObject/commands/options/OptionByText.java | Java | apache-2.0 | 980 |
/*
* 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... | jentfoo/aws-sdk-java | aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/transform/AttachDiskResultJsonUnmarshaller.java | Java | apache-2.0 | 2,803 |
/*
* 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... | jentfoo/aws-sdk-java | aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/Crawl.java | Java | apache-2.0 | 11,624 |
/*
* This file is part of SQL Workbench/J, http://www.sql-workbench.net
*
* Copyright 2002-2015, Thomas Kellerer.
*
* 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.... | Taller/sqlworkbench-plus | src/workbench/sql/StatementHistory.java | Java | apache-2.0 | 3,464 |
/**
*
* <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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing, softwa... | zhouyumei1122/android_reader | app/src/main/java/com/myreader/base/BaseActivity.java | Java | apache-2.0 | 6,161 |
package com.cyc.model.templates.web;
import com.cyc.model.objects.ClassObj;
import com.cyc.model.objects.ProjectObj;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
/**
*
* @author nwinant
*/
public class JsAppTemplates extends WebTemplateGroup {
// Constructors
public JsAppTempl... | cycorp/model-generator-suite | model-generator/src/main/java/com/cyc/model/templates/web/JsAppTemplates.java | Java | apache-2.0 | 2,262 |
/**
Copyright 2012-2013 SMILE Consortium, 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 writing,... | SMILEConsortium/smile_adhoc_android | src/org/smilec/smile/student/piechart.java | Java | apache-2.0 | 4,756 |
/*
* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/*
* 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 com... | haikuowuya/android_system_code | src/com/sun/org/apache/xml/internal/utils/NameSpace.java | Java | apache-2.0 | 1,803 |
/*
* 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 ... | darranl/directory-server | mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotCursor.java | Java | apache-2.0 | 9,559 |
package replicant.spy;
import java.util.HashMap;
import org.testng.annotations.Test;
import replicant.AbstractReplicantTest;
import static org.testng.Assert.*;
public class InSyncEventTest
extends AbstractReplicantTest
{
@Test
public void basicOperation()
{
final InSyncEvent event = new InSyncEvent( 23 );... | realityforge/replicant | client/src/test/java/replicant/spy/InSyncEventTest.java | Java | apache-2.0 | 603 |
/**
* 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"); yo... | everttigchelaar/camel-svn | components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/fixed/unmarshall/simple/trim/BindySimpleFixedLengthUnmarshallTest.java | Java | apache-2.0 | 7,425 |
package org.apache.lucene.spatial;
/*
* 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, Vers... | terrancesnyder/solr-analytics | lucene/spatial/src/test/org/apache/lucene/spatial/SpatialExample.java | Java | apache-2.0 | 7,076 |
/*
* 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 ... | sijie/bookkeeper | tools/ledger/src/test/java/org/apache/bookkeeper/tools/cli/commands/bookies/InstanceIdCommandTest.java | Java | apache-2.0 | 2,663 |
/*
* #%L
* wcm.io
* %%
* Copyright (C) 2014 wcm.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 ap... | wcm-io-caravan/caravan-pipeline | extensions/hal/src/main/java/io/wcm/caravan/pipeline/extensions/hal/crawler/UriParametersProviders.java | Java | apache-2.0 | 1,511 |
/*
* Copyright 2012 - 2015 Manuel Laggner
*
* 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 ... | mlaggner/tinyMediaManager | src/org/tinymediamanager/core/movie/MovieExporter.java | Java | apache-2.0 | 6,069 |
package org.deuce.transaction.lsacm.field;
import org.deuce.transform.Exclude;
/**
* @author Pascal Felber
*/
@Exclude
public class ReadFieldAccess {
protected Object reference;
protected long field;
private int hash;
private long lock;
public ReadFieldAccess() { }
public ReadFieldAccess(Object reference, ... | DeuceSTM/DeuceSTM | src/java/org/deuce/transaction/lsacm/field/ReadFieldAccess.java | Java | apache-2.0 | 753 |
/*
* Copyright 2012, Ryan J. McDonough
*
* 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 agr... | asaph/Handy-URI-Templates | src/main/java/com/damnhandy/uri/template/UriTemplate.java | Java | apache-2.0 | 27,565 |
/**
* Copyright (C) 2015 Orange
* 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, s... | Orange-OpenSource/elpaaso-core | cloud-paas/cloud-paas-webapp/cloud-paas-webapp-war/src/main/java/com/francetelecom/clara/cloud/presentation/tools/ReleaseProvider.java | Java | apache-2.0 | 4,209 |
/*
* 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 ... | touchlab/commons-io-mini | src/test/java/org/apache/commons/io/output/ProxyWriterTest.java | Java | apache-2.0 | 4,320 |
package com.doctusoft.jsf.comp;
import java.util.List;
import java.util.Map;
import javax.faces.model.SelectItem;
import com.doctusoft.bean.binding.ValueBinding;
import com.doctusoft.jsf.comp.model.JsfSelectModel;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
public abstract class J... | Doctusoft/jsf-builder | jsf-builder/src/main/java/com/doctusoft/jsf/comp/JsfSelectOne.java | Java | apache-2.0 | 1,929 |
/*
* Copyright (C) 2017 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 ... | googlearchive/leanback-homescreen-channels | app/src/main/java/com/google/android/tvhomescreenchannels/scheduler/AddWatchNextService.java | Java | apache-2.0 | 4,545 |
/*
* 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 ... | daijyc/pig | test/org/apache/pig/test/TestMRExecutionEngine.java | Java | apache-2.0 | 2,366 |
/*
* 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... | erichwang/presto | presto-kafka/src/test/java/io/prestosql/plugin/kafka/KafkaQueryRunner.java | Java | apache-2.0 | 11,980 |
package si.virag.AndroidOpenGLVideoDemo.gl;
import android.content.Context;
import android.graphics.*;
import android.opengl.GLES11Ext;
import android.opengl.GLES20;
import android.opengl.GLUtils;
import android.util.Log;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import java... | bestwpw/AndroidOpenGLVideoDemo | src/si/virag/AndroidOpenGLVideoDemo/gl/VideoTextureRenderer.java | Java | apache-2.0 | 9,071 |
package high.mackenzie.autumn.lang.compiler.utils;
import com.google.common.base.Preconditions;
import high.mackenzie.autumn.lang.compiler.typesystem.design.IDeclaredType;
import high.mackenzie.autumn.lang.compiler.typesystem.design.IMethod;
import high.mackenzie.autumn.lang.compiler.typesystem.design.IVariableType;
... | Mackenzie-High/autumn | src/high/mackenzie/autumn/lang/compiler/utils/SetterMethod.java | Java | apache-2.0 | 7,736 |
package org.gramar.basic.gramar;
import static org.junit.Assert.fail;
import org.gramar.IFileStore;
import org.gramar.IGramarPlatform;
import org.gramar.IModel;
import org.gramar.exception.GramarException;
import org.gramar.filestore.ConsoleFileStore;
import org.gramar.model.DocumentHelper;
import org.gramar.platform... | chrisGerken/gramar | core/gramar/src/test/java/org/gramar/basic/gramar/BasicGramarTest.java | Java | apache-2.0 | 779 |
/*
*
* * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.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.apa... | wouterv/orientdb | core/src/main/java/com/orientechnologies/common/directmemory/OUnsafeMemory.java | Java | apache-2.0 | 9,383 |
package ilhn.xacml.benchmark.balana;
import ilhn.xacml.benchmark.BenchmarkUtil;
import ilhn.xacml.util.XACML3StreamParser;
import org.openjdk.jmh.annotations.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.wso2.balana.ctx.AbstractResult;
import org.wso2.balana.ctx.EvaluationCtx;
import org.wso2.... | TU-Berlin-SNET/tresor-pdp-caching | modules/benchmarks/src/main/java/ilhn/xacml/benchmark/balana/EvaluationBenchmark.java | Java | apache-2.0 | 3,166 |
/*
* 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... | jentfoo/aws-sdk-java | aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/transform/OutputArtifactJsonUnmarshaller.java | Java | apache-2.0 | 2,726 |
/**
* 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... | yunnet/kafkaEagle | src/main/java/org/smartloli/kafka/eagle/core/ipc/KafkaOffsetGetter.java | Java | apache-2.0 | 9,372 |
package org.oep.datamgt.service.persistence;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.oep.datamgt.model.DictData;
import org.oep.datamgt.model.impl.DictDataImpl;
import org.oep.datamgt.service.persistenc... | openegovplatform/OEPv2 | oep-datamgt-portlet/docroot/WEB-INF/src/org/oep/datamgt/service/persistence/DictDataFinderImpl.java | Java | apache-2.0 | 21,895 |
/*
* Copyright 2019 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... | leapframework/framework | web/api/src/main/java/leap/web/api/orm/DefaultRelationExecutionContext.java | Java | apache-2.0 | 1,346 |
/*
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... | Groostav/CMPT880-term-project | intruder/benchs/batik/batik-1.7/sources/org/apache/batik/bridge/BridgeEventSupport.java | Java | apache-2.0 | 19,769 |
/*
* Copyright 2016 George Aristy.
*
* 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... | llorllale/jconfigurations | src/main/java/org/jconfigurations/configurators/CollectionConfigurator.java | Java | apache-2.0 | 4,909 |
package edu.cqu.wakaadmin.dao.util;
/**
* Specify the attributes of a JOIN that should appear in the TypedQuery. Generally takes the form of:
* </p>
* <pre>
* {@code
* TypedQueryBuilder builder = new TypedQueryBuilder(com.MyClass, "item")
.addJoin(new TQJoin("item.collection", "collection"))
.addRestric... | heartqiuchao/wakaadmin | src/main/java/edu/cqu/wakaadmin/dao/util/TQJoin.java | Java | apache-2.0 | 855 |
package org.egzi.algo;
/**
* Created by WinZib on 4/21/2015.
*/
public class Experiment {
public static void main(String[] args) {
}
}
| WinZib/egzi-math | src/main/java/org/egzi/algo/Experiment.java | Java | apache-2.0 | 147 |
/*
* Copyright 2021-present Open Networking 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | gkatsikas/onos | apps/kubevirt-networking/app/src/test/java/org/onosproject/kubevirtnetworking/impl/KubevirtNetworkManagerTest.java | Java | apache-2.0 | 8,711 |
/*
Copyright (c) 2014,2015 Ahome' Innovation Technologies. 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
Unl... | psiroky/dashbuilder | dashbuilder-client/dashbuilder-lienzo/dashbuilder-lienzo-core/src/main/java/com/ait/lienzo/shared/core/types/CompositeOperation.java | Java | apache-2.0 | 3,580 |
package org.camunda.bpm.extension.cloud.workload.command.service.model;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.axonframework.commandhandling.CommandHandler;
import org.axonframework.commandhandling.model.AggregateIdentifier;
import org.axonframework.eventsourcing.EventSourcingHan... | holisticon/camunda-bpm-cloud | extension/workload-command-service/src/main/java/org/camunda/bpm/extension/cloud/workload/command/service/model/TaskAggregate.java | Java | apache-2.0 | 3,415 |
package uk.ac.aber.cs22120.fuzzyNinja.pathFinder.Model;
import java.util.LinkedList;
public class Route{
private LinkedList<WayPoint> routeWayPoints;
public Route(){
}
}
| Jafnee/Android-Walking-Tour | SRC/Drafts/0.2/PathFinder/src/uk/ac/aber/cs22120/fuzzyNinja/pathFinder/Model/Route.java | Java | apache-2.0 | 185 |
package com.salesmanager.core.business.services.catalog.product;
import java.util.List;
import java.util.Locale;
import java.util.Optional;
import org.springframework.data.domain.Page;
import com.salesmanager.core.business.exception.ServiceException;
import com.salesmanager.core.business.services.common.generic.Sale... | shopizer-ecommerce/shopizer | sm-core/src/main/java/com/salesmanager/core/business/services/catalog/product/ProductService.java | Java | apache-2.0 | 2,871 |
/*
* Copyright 2010 Kenny Chong (wongpeiling.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | kennycyb/java-ui-factory | src/main/java/com/github/kennycyb/uifactory/core/factory/annotations/constraints/UiGridLayoutConstraint.java | Java | apache-2.0 | 1,072 |
/*
* Copyright 2017 David Karnok
*
* 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... | akarnokd/Reactive4JavaFlow | src/main/java/hu/akarnokd/reactive4javaflow/impl/operators/ParallelSumLong.java | Java | apache-2.0 | 6,198 |
//=============================================================================
// Copyright (c) 2014 SmartAgri.eu. Tous droits reservés.
//
// 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... | SmartAgri/ad-core | core/src/main/java/org/agridesk/core/structure/Industry.java | Java | apache-2.0 | 959 |
// Copyright 2017 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | aehlig/bazel | src/main/java/com/google/devtools/build/lib/skylarkbuildapi/android/AndroidInstrumentationInfoApi.java | Java | apache-2.0 | 3,144 |
package com.jt.selenium.utils.testng.xml.builder;
import org.apache.commons.lang3.StringUtils;
public class TestNgTest
{
private String packageName;
private String testName;
public String getPackageName()
{
return packageName;
}
public String getTestName()
{
return testName;
}
public String getStringF... | SeleniumJT/seleniumjt-core | src/main/java/com/jt/selenium/utils/testng/xml/builder/TestNgTest.java | Java | apache-2.0 | 555 |
/*
* Copyright 2007-2012 Jiemamy Project and the Others.
* Created on 2009/02/19
*
* This file is part of Jiemamy.
*
* 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... | Jiemamy/jiemamy-commons | src/main/java/org/jiemamy/utils/DateUtil.java | Java | apache-2.0 | 2,205 |
package com.bastien.sabos.testapp.web.rest.util;
import org.springframework.data.domain.Page;
import org.springframework.http.HttpHeaders;
import java.net.URI;
import java.net.URISyntaxException;
/**
* Utility class for handling pagination.
*
* <p>
* Pagination uses the same principles as the <a href="https://de... | BastienSabos/TestProject | src/main/java/com/bastien/sabos/testapp/web/rest/util/PaginationUtil.java | Java | apache-2.0 | 1,666 |
package apple.scenekit;
import java.io.*;
import java.nio.*;
import java.util.*;
import com.google.j2objc.annotations.*;
import com.google.j2objc.runtime.*;
import com.google.j2objc.runtime.block.*;
import apple.audiotoolbox.*;
import apple.corefoundation.*;
import apple.coregraphics.*;
import apple.coreservices.*;
i... | Sellegit/j2objc | runtime/src/main/java/apple/scenekit/SCNSceneRendererDelegate.java | Java | apache-2.0 | 1,300 |
package io.vitess.client;
import io.vitess.client.grpc.tls.TlsOptions;
import java.net.InetSocketAddress;
/**
* RpcClientFactory creates a concrete RpcClient.
*/
public interface RpcClientFactory {
RpcClient create(Context ctx, InetSocketAddress address);
RpcClient createTls(Context ctx, InetSocketAddress add... | theskyinflames/bpulse-go-client | vendor/github.com/youtube/vitess/java/client/src/main/java/io/vitess/client/RpcClientFactory.java | Java | apache-2.0 | 354 |
/**
* JBoss, Home of Professional Open Source.
* Copyright 2014-2020 Red Hat, Inc., and individual 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... | alexcreasy/pnc | facade/src/main/java/org/jboss/pnc/facade/providers/api/BuildProvider.java | Java | apache-2.0 | 4,006 |
package com.thoughtworks.xstream.converters.javabean;
import java.util.Map;
public abstract interface PropertySorter
{
public abstract Map sort(Class paramClass, Map paramMap);
}
/* Location: /Users/vikas/Documents/Mhacks_Real_app/classes-dex2jar.jar
* Qualified Name: com.thoughtworks.xstream.conver... | mmmsplay10/QuizUpWinner | quizup/com/thoughtworks/xstream/converters/javabean/PropertySorter.java | Java | apache-2.0 | 381 |