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
/** * Copyright (C) 2012-2013 Selventa, Inc. * * This file is part of the OpenBEL Framework. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or ...
OpenBEL/openbel-framework
org.openbel.framework.core/src/main/java/org/openbel/framework/core/df/cache/CachedResource.java
Java
apache-2.0
4,595
/* * Copyright 2015-2021 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...
lastaflute/lastaflute-example-harbor
src/main/java/org/docksidestage/dbflute/cbean/cq/bs/AbstractBsMemberWithdrawalCQ.java
Java
apache-2.0
48,429
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2022 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
dbeaver/dbeaver
plugins/org.jkiss.dbeaver.registry/src/org/jkiss/dbeaver/registry/driver/DriverLibraryMavenDependency.java
Java
apache-2.0
2,109
/* * Copyright 2020 ThoughtWorks, 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...
ketan/gocd
api/api-shared-v9/src/main/java/com/thoughtworks/go/apiv9/admin/shared/representers/materials/DependencyMaterialRepresenter.java
Java
apache-2.0
2,154
/** * Copyright 2013 Muhammad Pavel * * 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...
k3t3v/java-lab
vdntemplate/src/main/java/org/mpavel/app/data/DataModule.java
Java
apache-2.0
1,492
package com.kylantraynor.civilizations.shapes; import java.util.ArrayList; import java.util.List; import org.bukkit.Location; import org.bukkit.block.Block; import com.kylantraynor.civilizations.utils.Utils; import com.kylantraynor.voronoi.VectorXZ; public class Polygon2D extends Shape { private double[] xVertices...
KylanTraynor/Civilizations
src/main/java/com/kylantraynor/civilizations/shapes/Polygon2D.java
Java
apache-2.0
6,482
package org.sahagin.runlib.srctreegen.SrcTreeGeneratorTestRes.variousData.input; import org.sahagin.runlib.external.TestDoc; public class TestSub { @TestDoc("Doc: subMethod") public static void subMethod() {} }
SahaginOrg/sahagin-java
src/test/resources/org/sahagin/runlib/srctreegen/SrcTreeGeneratorTestRes/variousData/input/TestSub.java
Java
apache-2.0
223
/* * 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 ...
sundapeng/incubator-sentry
sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/AbstractTestWithStaticConfiguration.java
Java
apache-2.0
25,270
/* * Copyright (c) 2009-present, b3log.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...
b3log/latke
latke-core/src/main/java/org/b3log/latke/ioc/annotated/AnnotatedField.java
Java
apache-2.0
1,061
/* * 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 ...
forcedotcom/aura
aura/src/main/java/org/auraframework/test/mock/Stub.java
Java
apache-2.0
2,939
/* * Copyright 2016-2017 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 obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
cyenyxe/eva-pipeline
src/main/java/uk/ac/ebi/eva/pipeline/listeners/StepProgressListener.java
Java
apache-2.0
2,436
/* * Copyright 2017 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
spinnaker/halyard
halyard-core/src/main/java/com/netflix/spinnaker/halyard/core/registry/v1/ProfileReader.java
Java
apache-2.0
1,085
/******************************************************************************* * Copyright (c) 2019-2020 Konduit K.K. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * * ...
deeplearning4j/deeplearning4j
nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/ops/SDRandom.java
Java
apache-2.0
15,396
package com.sxdsf.deposit.service.memory.read; import com.sxdsf.deposit.service.disk.DiskService; import com.sxdsf.deposit.service.memory.MemorySave; public abstract class SyncMemoryReadService extends AbstractMemoryReadService { public SyncMemoryReadService(DiskService diskService, MemorySave<String> stringMemo...
SxdsF/Deposit
deposit/src/main/java/com/sxdsf/deposit/service/memory/read/SyncMemoryReadService.java
Java
apache-2.0
801
package org.vaadin.mideaas.frontend; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.StringWriter; import java.util.Arrays; import java.util.List; import java.util.Properties; import java.util.TreeMap; import java.util.TreeSet; import java.util.concurrent.ExecutorService; im...
ahn/mideaas
mideaas-ide/src/main/java/org/vaadin/mideaas/frontend/JettyUtil.java
Java
apache-2.0
4,842
package org.sfx.catholicjourney.core.utils; import android.annotation.SuppressLint; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; import android.graphics.drawable.StateListDrawable; /** * http://stackoverflow.com/questions/7979440/android-cloning-a-drawable-in-order-to-make-a-stateli...
simtse/CatholicJourney
app/src/main/java/org/sfx/catholicjourney/core/utils/PressedEffectStateListDrawable.java
Java
apache-2.0
1,383
package com.hevelian.identity.core.model.jpa; import java.sql.Timestamp; import java.time.LocalDateTime; import java.time.OffsetDateTime; import java.time.ZoneOffset; import javax.persistence.AttributeConverter; import javax.persistence.Converter; @Converter(autoApply = true) // TODO check time conversion public clas...
Hevelian/hevelian-identity-server
core/src/main/java/com/hevelian/identity/core/model/jpa/OffsetDateTimeAttributeConverter.java
Java
apache-2.0
865
/* * 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 ...
ullgren/camel
core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/ImapsComponentBuilderFactory.java
Java
apache-2.0
31,029
/* * Copyright 2016-present Facebook, 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...
LegNeato/buck
src/com/facebook/buck/features/lua/AbstractLuaScriptStarter.java
Java
apache-2.0
4,781
/* * 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-iot/src/main/java/com/amazonaws/services/iot/model/AttachPrincipalPolicyResult.java
Java
apache-2.0
2,216
/* * Copyright 2002-2019 Barcelona Supercomputing Center (www.bsc.es) * * 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...
mF2C/COMPSs
compss/runtime/adaptors/gat/master/src/main/java/es/bsc/compss/gat/master/GATWorkerNode.java
Java
apache-2.0
13,880
package net.aicomp.javachallenge2015; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.DefaultParser; import org.apache.commons.cli.HelpFormatter; import org.apache.c...
AI-comp/JavaChallenge2015
src/main/java/net/aicomp/javachallenge2015/Bookmaker.java
Java
apache-2.0
5,429
package org.folio.okapi.service.impl; import io.vertx.core.Future; import io.vertx.ext.mongo.MongoClient; import java.util.List; import org.folio.okapi.bean.ModuleDescriptor; import org.folio.okapi.service.ModuleStore; /** * Stores ModuleDescriptors in a Mongo database. */ public class ModuleStoreMongo implements M...
folio-org/okapi
okapi-core/src/main/java/org/folio/okapi/service/impl/ModuleStoreMongo.java
Java
apache-2.0
954
package com.zc.express.api; public class ExpressApiConfig { public static final String SERVER_ADDR = "https://api.dev.easyeship.com"; }
JK2DOG/OneOrderExpress
OneExpress/app/src/main/java/com/zc/express/api/ExpressApiConfig.java
Java
apache-2.0
142
package whelk.gui; import javax.swing.*; class GuiWhelkTool { public static void main(String[] args) { java.awt.EventQueue.invokeLater(new Runnable() { public void run() { Wizard wizard = new Wizard(); wizard.setDefaultCloseOperation(Wind...
libris/librisxl
gui-whelktool/src/main/java/whelk/gui/GuiWhelkTool.java
Java
apache-2.0
478
/** * Copyright (C) 2009-2015 Dell, Inc. * See annotations for authorship information * * ==================================================================== * 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 co...
maksimov/dasein-cloud-aws
src/main/java/org/dasein/cloud/aws/network/VPC.java
Java
apache-2.0
121,322
package com.furnaghan.home.util; import com.google.common.collect.Lists; import java.util.Collection; import java.util.function.Consumer; public abstract class Listenable<T> { private final Collection<T> listeners = Lists.newCopyOnWriteArrayList(); public void addListener(final T listener) { listen...
reines/home
utils/src/main/java/com/furnaghan/home/util/Listenable.java
Java
apache-2.0
544
package com.rcarrillocruz.android.openstackdroid.json.volume; import java.util.List; public class GetVolumesResponse { private List<VolumeDetailsObject> volumes; public GetVolumesResponse() { super(); } public List<VolumeDetailsObject> getVolumes() { return volumes; } public void setVolumes(List<Volume...
rcarrillocruz/openstackdroid
com.rcarrillocruz.android.openstackdroid/src/com/rcarrillocruz/android/openstackdroid/json/volume/GetVolumesResponse.java
Java
apache-2.0
377
/****************************************************************************** * Copyright (C) 2015 Yevgeny Krasik * * * * Licensed under the Apache License, Version 2.0 (the "License"); * ...
ykrasik/jaci
jaci-javafx-cli/src/main/java/com/github/ykrasik/jaci/cli/javafx/JavaFxCliBuilder.java
Java
apache-2.0
8,217
package com.nanck.animationdemo.ui.fragment; import android.animation.ObjectAnimator; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.animation.CycleInterpolator; import android.widget.Button; import com.nanck.animationdemo.R; ...
nanck/AndroidAnimationDemo
app/src/main/java/com/nanck/animationdemo/ui/fragment/PathFragment.java
Java
apache-2.0
1,520
package activitytest.example.com.coolweather.db; import org.litepal.crud.DataSupport; /** * Created by xiaozeng on 2017/9/6. */ public class County extends DataSupport { private int id; private String countyName; private String weatherId; private int cityId; public int getId() { return...
zhhzb/coolweather
app/src/main/java/activitytest/example/com/coolweather/db/County.java
Java
apache-2.0
856
/* * Copyright 2017-2022 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...
aws/aws-sdk-java
aws-java-sdk-servicecatalog/src/main/java/com/amazonaws/services/servicecatalog/model/transform/TagOptionNotMigratedExceptionUnmarshaller.java
Java
apache-2.0
2,978
package com.frankzhu.androidcitychoose; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.Menu; import android.view.MenuItem; import android.widget.TextView; import com.frankzhu.library.activity.CityChooseActivity; import butterknife.ButterK...
Frank-Zhu/AndroidCityChoose
app/src/main/java/com/frankzhu/androidcitychoose/MainActivity.java
Java
apache-2.0
1,563
/*************************************************************************** * Copyright 2017 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...
leadwire-apm/leadwire-javaagent
leadwire-common/test-gen/kieker/test/common/junit/record/flow/trace/operation/constructor/object/TestGeneratedBeforeConstructorObjectInterfaceEvent.java
Java
apache-2.0
13,171
package com.shard.session.app; import java.io.IOException; import java.util.UUID; import java.util.concurrent.ConcurrentHashMap; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.slf4j.Logge...
xupeng001/test
session-shard/src/main/java/com/shard/session/app/Application.java
Java
apache-2.0
3,947
package io.silverspoon.bulldog.devices.pwmdriver; import io.silverspoon.bulldog.core.gpio.Pin; import io.silverspoon.bulldog.core.gpio.base.AbstractPwm; public class PCA9685Pwm extends AbstractPwm { private PCA9685 driver; public PCA9685Pwm(Pin pin, PCA9685 driver) { super(pin); this.driver = driv...
xjaros1/bulldog
bulldog-devices/src/main/java/io/silverspoon/bulldog/devices/pwmdriver/PCA9685Pwm.java
Java
apache-2.0
814
/* * 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/impl/ItemListImpl.java
Java
apache-2.0
9,876
package com.example.gank.javabean; import java.util.List; public class NewsItem { private String _idString; private String createdAt; private String desc; private String publishedAt; private String type; private String url; private boolean used; private String who; private List<String> images; public List...
tianshangaimi12/Gank
src/com/example/gank/javabean/NewsItem.java
Java
apache-2.0
1,471
package com.olmatix.ui.activity.scene; /** * Created by Rahman on 1/13/2017. */ public class HomeLocationActivity { }
lesjaw/Olmatix
olmatix/src/main/java/com/olmatix/ui/activity/scene/HomeLocationActivity.java
Java
apache-2.0
122
/* * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package com.sun.org.apache.bcel.internal.generic; /* ==================================================================== * The Apache Software License, Version 1.1 * ...
haikuowuya/android_system_code
src/com/sun/org/apache/bcel/internal/generic/DCONST.java
Java
apache-2.0
4,384
package org.metaeffekt.core.test.container.validation; import org.junit.Assert; import org.metaeffekt.core.inventory.processor.model.Artifact; import org.metaeffekt.core.maven.inventory.extractor.InventoryExtractorUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.File; import java.io.IOExc...
org-metaeffekt/metaeffekt-core
tests/ae-container-validation/src/test/java/org/metaeffekt/core/test/container/validation/AbstractContainerFileFilterTest.java
Java
apache-2.0
1,211
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
medicayun/medicayundicom
dcm4jboss-all/tags/DCM4CHEE_2_14_0/dcm4jboss-wado/src/java/org/dcm4chex/wado/mbean/WADOSupport.java
Java
apache-2.0
56,888
package com.rrafols.packt.testapp; import org.junit.Test; import static org.junit.Assert.*; /** * 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 { @Test public v...
rrafols/BuildingAndroidUIWithCustomViews
Example32-Library/testapp/src/test/java/com/rrafols/packt/testapp/ExampleUnitTest.java
Java
apache-2.0
403
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2016 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
secdec/zap-extensions
addOns/ascanrules/src/test/java/org/zaproxy/zap/extension/ascanrules/CommandInjectionScanRuleUnitTest.java
Java
apache-2.0
8,477
/** * * Copyright 2017 Florian Erhard * * 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...
florianerhard/gedi
GediCore/src/gedi/core/region/feature/features/AbstractReadMismatchFeature.java
Java
apache-2.0
2,031
/* * Copyright 2020 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
srose/keycloak
model/map/src/main/java/org/keycloak/models/map/storage/chm/ConcurrentHashMapStorageProviderFactory.java
Java
apache-2.0
12,831
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
google/devtools-driver
third_party/ios_driver/org/uiautomation/ios/WebDriverMain.java
Java
apache-2.0
1,868
/** * Copyright (c) 2007-2014 Kaazing Corporation. All rights reserved. * * 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 fil...
spark/spark-sdk-android
cloudsdk/src/main/java/org/kaazing/gateway/client/impl/wsn/WebSocketNativeHandler.java
Java
apache-2.0
5,651
package springfox.documentation.builders; import org.springframework.util.StringUtils; import java.util.ArrayList; import java.util.List; public class OAuth2SchemeValidator<T> implements Validator<OAuth2SchemeBuilder> { @Override public List<ValidationResult> validate(OAuth2SchemeBuilder builder) { List<Vali...
springfox/springfox
springfox-core/src/main/java/springfox/documentation/builders/OAuth2SchemeValidator.java
Java
apache-2.0
1,914
package com.googlecode.jmapper.integrationtest.performance; import junit.framework.Test; import junit.framework.TestSuite; public class PerformanceTests { public static Test suite() { TestSuite suite = new TestSuite(PerformanceTests.class.getName()); //$JUnit-BEGIN$ /* Tests on primitive and wrapper cl...
jmapper-framework/jmapper-test
JMapper performance Test/src/test/java/com/googlecode/jmapper/integrationtest/performance/PerformanceTests.java
Java
apache-2.0
880
/* * 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 ...
DieBauer/flink
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/environment/StreamExecutionEnvironment.java
Java
apache-2.0
75,533
/* * Copyright 2014 Ben Manes. 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 applicab...
tasomaniac/caffeine
caffeine/src/jmh/java/com/github/benmanes/caffeine/SingleConsumerBenchmark.java
Java
apache-2.0
2,137
package org.consumersunion.stories.server.spring; import java.util.List; import org.consumersunion.stories.server.annotations.Amazon; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import com.amazonaws.auth.AWSStaticCredentialsProvider; import com.ama...
stori-es/stori_es
shared/src/main/java/org/consumersunion/stories/server/spring/AmazonConfigurator.java
Java
apache-2.0
3,848
package com.wudebin.bicyclerental.activity; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentTransaction; import android.view.View; public abstract class AbstractBaseActivity extends TransactionSafeActivity { /** * Convenient version of {@link FragmentManager#findFragme...
w497763094/BicycleRental
app/src/main/java/com/wudebin/bicyclerental/activity/AbstractBaseActivity.java
Java
apache-2.0
1,528
package io.primeval.aspecio.examples.async.internal; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import com.google.common.util.concurrent.Uninterruptibles; import org.osgi.service.component.annotations.Activate; import org.osgi.service.com...
Lambdacube/aspecio
aspecio-examples/src/main/java/io/primeval/aspecio/examples/async/internal/SuperSlowServiceImpl.java
Java
apache-2.0
1,509
package com.silverforge.elasticsearchrawclient.queryDSL.operators; public enum AnalyzerOperator { NOT_ANALYZED("not_analyzed"), STANDARD("standard"), SIMPLE("simple"), WHITESPACE("whitespace"), STOP("stop"), KEYWORD("keyword"), PATTERN("pattern"), SNOWBALL("snowball"), ARABIC("ara...
silverforge/ElasticRawClient
elasticsearchrawclient/src/main/java/com/silverforge/elasticsearchrawclient/queryDSL/operators/AnalyzerOperator.java
Java
apache-2.0
1,260
package com.wd.greendao.gen; import java.util.Map; import org.greenrobot.greendao.AbstractDao; import org.greenrobot.greendao.AbstractDaoSession; import org.greenrobot.greendao.database.Database; import org.greenrobot.greendao.identityscope.IdentityScopeType; import org.greenrobot.greendao.internal.DaoConfig; import...
dickway/myfirstgithub
app/src/main/java/com/wd/greendao/gen/DaoSession.java
Java
apache-2.0
1,276
package com.yqboots.security.core.repository; import com.yqboots.security.Application; import com.yqboots.security.core.Permission; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.SpringApplicationConfiguration;...
zhanhongbo1112/trunk
yqboots-security/yqboots-security-core/src/test/java/com/yqboots/security/core/repository/PermissionRepositoryTest.java
Java
apache-2.0
1,502
/* * Copyright (C) 2017 Tosin Ogunrinde * * 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 o...
tosin-ogunrinde/cql-statement-builder
src/main/java/com/tosinogunrinde/cql/statementbuilder/CountStatementBuilder.java
Java
apache-2.0
971
package jp.co.thcomp.bluetoothhelper; /** * 20バイトは必須 * 0-1バイト:メッセージID(ShortMax上限且つPeripheralからの送信順番を示すが値は循環する) * 2-5バイト:パケットサイズ、MTUサイズ以下の値が設定される(IntMax上限) * 6-9バイト: パケットポジション、0は設定パケット、1以上の値が設定されている場合はデータパケット(IntMax上限) * [設定パケット] * 10-13バイト:パケット数(設定パケットも含む)(IntMax上限) * 14-17バイト:データサイズ(IntMax上限) * [データパケット] * 1...
thcomp/Android_BluetoothHelper
app/src/main/java/jp/co/thcomp/bluetoothhelper/BleDataProvider.java
Java
apache-2.0
2,631
/* * Created on Jan 2, 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 writi...
alexruiz/fest-reflect
src/main/java/org/fest/reflect/field/package-info.java
Java
apache-2.0
2,989
package m.tri.facedetectcamera.utils; import android.app.Activity; import android.graphics.Matrix; import android.graphics.Point; import android.hardware.Camera; import android.hardware.Camera.Size; import android.os.Build; import android.util.Log; import android.view.Display; import android.view.OrientationEventListe...
betri28/FaceDetectCamera
app/src/main/java/m/tri/facedetectcamera/utils/Util.java
Java
apache-2.0
5,343
public class Main { static UI ui; static Start start; public static void main(String[] args) { ui= new UI(); ui.initCmps(); // start= new Start(ui); // start.BreadthFirstSearch(1); // start.DepthFirstSearch(); } }
unitw/GWV-Masters
GWV_Blatt3/src/Main.java
Java
apache-2.0
314
package Lev13; /* Баг в initializeIdAndName 1. Подумать, что в программе неправильно. 2. Вынести реализацию метода initializeIdAndName в класс User. 3. initializeIdAndName в классе User должен возвращать тип User. 4. Поправить программу, чтобы компилировалась и работала. Требования: 1. Интерфейс DBObject должен содер...
DmitryTeterkin/java-programming-for-testers
sandbox/src/main/java/Lev13/Task1306done.java
Java
apache-2.0
1,897
package fr.openwide.maven.artifact.notifier.web.application.notification.page; import org.apache.wicket.Session; import org.apache.wicket.markup.html.WebPage; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.html.link.Link; import org.apache.wicket.model.IModel; import org.apache.wicke...
openwide-java/artifact-listener
maven-artifact-notifier-webapp/src/main/java/fr/openwide/maven/artifact/notifier/web/application/notification/page/ConfirmEmailNotificationPage.java
Java
apache-2.0
3,287
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
jprante/elasticsearch-server
server/src/test/java/org/elasticsearch/test/search/aggregations/bucket/BestBucketsDeferringCollectorTests.java
Java
apache-2.0
5,604
package com.coolweather.app.service; import com.coolweather.app.receiver.AutoUpdateReceiver; import com.coolweather.app.util.HttpCallbackListener; import com.coolweather.app.util.HttpUtil; import com.coolweather.app.util.Utility; import android.app.AlarmManager; import android.app.PendingIntent; import android.app.Se...
roy-luo-CN-GZ/coolweather
src/com/coolweather/app/service/AutoUpdateService.java
Java
apache-2.0
1,793
/** * This file is part of SIMPL4(http://simpl4.org). * * Copyright [2017] [Manfred Sattler] <manfred@ms123.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.ap...
ms123s/simpl4-src
bundles/camel/src/main/java/org/ms123/common/camel/components/asciidoctor/AsciidoctorConstants.java
Java
apache-2.0
916
package com.thinkbiganalytics.server; /*- * #%L * thinkbig-service-app * %% * Copyright (C) 2017 ThinkBig Analytics * %% * 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...
rashidaligee/kylo
services/service-app/src/main/java/com/thinkbiganalytics/server/KerberosWebSecurityConfigurer.java
Java
apache-2.0
4,358
package com.planet_ink.coffee_mud.Abilities.Druid; 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.*; imp...
robjcaskey/Unofficial-Coffee-Mud-Upstream
com/planet_ink/coffee_mud/Abilities/Druid/Chant_ControlPlant.java
Java
apache-2.0
3,389
/** * 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...
kingargyle/turmeric-bot
components/camel-bam/src/main/java/org/apache/camel/bam/model/ActivityState.java
Java
apache-2.0
6,327
/* * 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/SecurityPolicyAdvancedOptionsConfigOrBuilder.java
Java
apache-2.0
2,533
/** * Copyright 2005-2015 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 r...
sobkowiak/fabric8
forge/addons/camel/src/main/java/io/fabric8/forge/camel/commands/project/model/CamelComponentDetails.java
Java
apache-2.0
1,454
/** * Copyright (C) 2016 - 2030 youtongluan. * * 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...
youtongluan/sumk
src/main/java/org/yx/db/sql/TableFactory.java
Java
apache-2.0
2,122
package edu.uiowa.icts.bluebutton.json; /* * #%L * blue-button Spring MVC Web App * %% * Copyright (C) 2014 - 2015 University of Iowa Institute for Clinical and Translational Science (ICTS) * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance wi...
ui-icts/blue-button
src/main/java/edu/uiowa/icts/bluebutton/json/Quantity.java
Java
apache-2.0
1,430
package io.noties.markwon.utils; import android.graphics.Canvas; import android.text.Layout; import android.text.Spanned; import android.widget.TextView; import androidx.annotation.NonNull; import io.noties.markwon.core.spans.TextLayoutSpan; import io.noties.markwon.core.spans.TextViewSpan; /** * @since 4.4.0 */ ...
noties/Markwon
markwon-core/src/main/java/io/noties/markwon/utils/SpanUtils.java
Java
apache-2.0
1,199
/* * Copyright 2011 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 applica...
mhadjimichael/paco
Paco-Server/src/com/google/sampling/experiential/server/BackendReportJobExecutorServlet.java
Java
apache-2.0
7,664
/** * Copyright 2014 Dennis Rippinger * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
DennisRippinger/spade
spade/spade-calculator/src/main/java/info/interactivesystems/spade/sentence/SentenceService.java
Java
apache-2.0
2,019
/* Copyright 2013, 2018 Nationale-Nederlanden, 2020, 2021 WeAreFrank! Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless requir...
ibissource/iaf
core/src/main/java/nl/nn/adapterframework/jms/JmsSender.java
Java
apache-2.0
15,421
/* * Copyright (C) 2016 University of Sherbrooke * * 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...
neroon/android-ProjectWeather
app/src/main/java/ca/udes/android_projectweather/activities/MainActivity.java
Java
apache-2.0
14,204
/* Copyright (c) 2010, Siemens Corporate Research a Division of Siemens Corporation 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....
OpenXIP/avt-mvt
src/com/siemens/cmiv/avt/mvt/plot/PlotEntry.java
Java
apache-2.0
1,722
package com.github.ethan0w.sjblog.controller; import java.util.HashMap; import java.util.Map; import org.apache.commons.lang3.math.NumberUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.spri...
ethan0w/simple-java-blog
src/main/java/com/github/ethan0w/sjblog/controller/ArticleController.java
Java
apache-2.0
2,206
/* * 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 ...
typetools/commons-bcel
src/examples/Mini/MiniC.java
Java
apache-2.0
6,057
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org...
ruspl-afed/dbeaver
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/exec/DBCStatistics.java
Java
apache-2.0
4,368
package com.dassmeta.passport.web.home.admin; import org.springframework.stereotype.Controller; @Controller public class LoginController { public String execute() { return "success"; } }
dassmeta/passport
passport-web-home/src/main/java/com/dassmeta/passport/web/home/admin/LoginController.java
Java
apache-2.0
203
/* * Copyright 2005-2007 The Kuali Foundation * * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by...
sbower/kuali-rice-1
impl/src/main/java/org/kuali/rice/kew/mail/service/impl/CustomizableActionListEmailServiceImpl.java
Java
apache-2.0
4,575
package net.canking.circleprogressbar; import android.content.Context; import android.graphics.Canvas; import android.util.AttributeSet; import android.widget.ImageView; public class LoadingView extends ImageView implements Runnable { private boolean isStop = false; private int[] imageIds; ...
CankingApp/CircleProgressBar
CircleProgressBar/src/net/canking/circleprogressbar/LoadingView.java
Java
apache-2.0
2,153
package com.github.t3t5u.common.database; import java.util.List; import java.util.concurrent.Callable; import javax.annotation.Nullable; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.github.t3t5u.common.util.CollectionUtils; import com.github.t3t5u.common.util.EscapeUtils; import com.google.co...
t3t5u/common-database
src/main/java/com/github/t3t5u/common/database/DatabaseUtils.java
Java
apache-2.0
3,421
/** * Copyright 2015 Nortal 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 * di...
nortal/j-road
server/src/main/java/com/nortal/jroad/endpoint/AbstractXTeeBaseEndpoint.java
Java
apache-2.0
11,431
/* * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
aws/aws-sdk-java
aws-java-sdk-core/src/main/java/com/amazonaws/metrics/ServiceLatencyProvider.java
Java
apache-2.0
2,063
package com.sas.brd; /** * Constant values used throughout the application. * * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a> */ public final class Constants { private Constants() { // hide me } //~ Static fields/initializers ============================================= ...
tzuhsienli/SASIntraCourseCenter
src/main/java/com/sas/brd/Constants.java
Java
apache-2.0
2,475
package com.brunozambiazi.tricket.company.ryanair.model.converter; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.JsonDeserializer; import java.io.IOExcept...
brunozambiazi/tricket
src/main/java/com/brunozambiazi/tricket/company/ryanair/model/converter/DateTimeDeserializer.java
Java
apache-2.0
674
// Copyright 2016 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...
Asana/bazel
src/main/java/com/google/devtools/build/lib/rules/objc/CrosstoolCompilationSupport.java
Java
apache-2.0
20,717
/* * Copyright 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 applic...
songzhw/AndroidArchitecture
deprecated/Google_MVP/app/src/test/java/com/example/android/architecture/blueprints/todoapp/tasks/TasksPresenterTest.java
Java
apache-2.0
7,478
/* * 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 ...
denyska/stackdriver-zipkin
collector/src/main/java/com/google/cloud/trace/zipkin/StackdriverZipkinCollector.java
Java
apache-2.0
1,606
/* * 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 ...
sdinot/hipparchus
hipparchus-geometry/src/main/java/org/hipparchus/geometry/spherical/twod/Vertex.java
Java
apache-2.0
2,484
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
googleapis/java-aiplatform
samples/snippets/src/test/java/aiplatform/CreateBatchPredictionJobVideoObjectTrackingSampleTest.java
Java
apache-2.0
4,075
/* * Copyright 2011 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...
zombiezen/cardcpx
third_party/closure-compiler/src/com/google/javascript/jscomp/parsing/parser/Parser.java
Java
apache-2.0
80,072
package com.ranger.xyg.xygapp.model.http; import android.util.Log; import com.ranger.xyg.xygapp.bean.image.ResultData; import okhttp3.OkHttpClient; import okhttp3.logging.HttpLoggingInterceptor; import retrofit2.Call; import retrofit2.Callback; import retrofit2.Response; import retrofit2.Retrofit; import retrofit2.a...
droidranger/xygapp
app/src/main/java/com/ranger/xyg/xygapp/model/http/RetrofitUtils.java
Java
apache-2.0
1,783
/* * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.osedu.org/licenses/ECL-2.0 * * Unless required by appli...
vivantech/kc_fixes
src/main/java/org/kuali/kra/proposaldevelopment/rule/AddKeyPersonRule.java
Java
apache-2.0
1,341