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.nulldreams.demo.widgets; import android.Manifest; import android.content.pm.PackageManager; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.ActivityCompat; import android.support.v4.content.ContextCompat; import android.support.v7.app.App...
boybeak/Widgets
app/src/main/java/com/nulldreams/demo/widgets/MainActivity.java
Java
apache-2.0
2,410
/* * Copyright (C) 2014 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...
Plumzi/ExoPlayer
library/src/main/java/com/google/android/pzexoplayer/text/subrip/SubripSubtitle.java
Java
apache-2.0
2,603
package com.alipay.util; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.codec.digest.DigestUtils; import org.apache.commons.httpclient...
lklong/fuckproject
src/com/alipay/util/AlipayCore.java
Java
apache-2.0
3,924
package org.hl7.v3; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for EquipmentAlertLevel. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpleType name="EquipmentAler...
KRMAssociatesInc/eHMP
lib/mvi/org/hl7/v3/EquipmentAlertLevel.java
Java
apache-2.0
873
/* * 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 ap...
neo4j-contrib/spring-boot
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/info/Info.java
Java
apache-2.0
3,262
/* * 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...
freeVM/freeVM
enhanced/archive/classlib/java6/modules/sql/src/main/java/org/apache/harmony/sql/internal/nls/Messages.java
Java
apache-2.0
8,835
/** * 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...
BUPTAnderson/apache-hive-2.1.1-src
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveReduceExpressionsWithStatsRule.java
Java
apache-2.0
13,166
/* * Created on Dec 17, 2010 * * 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 writ...
yurloc/assertj-core
src/test/java/org/assertj/core/api/bytearray/ByteArrayAssert_isNotEmpty_Test.java
Java
apache-2.0
1,248
/* * Created on Dec 20, 2010 * * 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 writ...
yurloc/assertj-core
src/test/java/org/assertj/core/internal/doublearrays/DoubleArrays_assertNotEmpty_Test.java
Java
apache-2.0
2,070
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.searchlib.rankingexpression.rule; import com.google.common.collect.ImmutableList; import com.yahoo.searchlib.rankingexpression.Reference; import com.yahoo.searchlib.rankingexpression.evaluation.Bo...
vespa-engine/vespa
searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/rule/SetMembershipNode.java
Java
apache-2.0
3,760
/* * Copyright 2000-2015 JetBrains s.r.o. * * 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 agre...
consulo/consulo
modules/base/platform-impl/src/main/java/com/intellij/openapi/editor/SpellCheckingEditorCustomizationProvider.java
Java
apache-2.0
1,862
package org.vaadin.grid.cellrenderers.editable; import org.vaadin.grid.cellrenderers.EditableRenderer; import org.vaadin.grid.cellrenderers.client.editable.TextFieldRendererClientRpc; import org.vaadin.grid.cellrenderers.client.editable.TextFieldRendererServerRpc; import org.vaadin.grid.cellrenderers.client.editable.T...
vaadin/grid-renderers-collection-addon
grid-renderers-collection-addon/src/main/java/org/vaadin/grid/cellrenderers/editable/TextFieldRenderer.java
Java
apache-2.0
5,078
package commandRunner; import org.terasology.logic.console.Console; import org.terasology.logic.console.commandSystem.ConsoleCommand; import org.terasology.logic.console.commandSystem.exceptions.CommandExecutionException; import org.terasology.logic.players.LocalPlayer; import org.terasology.naming.Name; public cla...
Ciclop/Terasology
modules/Coloring/src/main/java/commandRunner/CommandRunner.java
Java
apache-2.0
1,022
package org.yeastrc.ms.dao.analysis.percolator.ibatis; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.yeastrc.ms.dao.BaseDAOTestCase; import org.yeastrc.ms.dao.DAOFactory; import org.yeastrc.ms.dao.analysis.MsRunSearchAnalysisDAO; import org.ye...
yeastrc/msdapl
MS_LIBRARY/test_src/org/yeastrc/ms/dao/analysis/percolator/ibatis/PercolatorResultDAOImplTest.java
Java
apache-2.0
13,595
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
googleinterns/step21-2020
step/src/test/java/com/google/sps/DatabaseHandlerTest.java
Java
apache-2.0
4,919
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.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 requ...
gravitee-io/graviteeio-access-management
gravitee-am-management-api/gravitee-am-management-api-rest/src/test/java/io/gravitee/am/management/handlers/management/api/resources/platform/plugins/CertificatesPluginResourceTest.java
Java
apache-2.0
2,319
package barstool; import dagger.Module; import dagger.Provides; import java.util.Set; import static java.util.Collections.emptySet; import static dagger.Provides.Type.SET_VALUES; @Module(injects = Barstool.PluginAdapter.class, library=true) public class BarstoolModule { @Provides(type=SET_VALUES) Set<Barstool.Pl...
wmbest2/Barstool
library/src/main/java/barstool/BarstoolModule.java
Java
apache-2.0
380
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.runtimefields.mapper; import org.apache.luce...
scorpionvicky/elasticsearch
x-pack/plugin/runtime-fields/src/test/java/org/elasticsearch/xpack/runtimefields/mapper/DoubleScriptMappedFieldTypeTests.java
Java
apache-2.0
17,044
/* * 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 ...
lhaiesp/samza
samza-test/src/main/java/org/apache/samza/test/framework/TestRunner.java
Java
apache-2.0
21,399
package com.coolweather.android.gson; import com.google.gson.annotations.SerializedName; /** * Created by PC on 2017/10/9. */ public class Basic { @SerializedName("city") public String cityName; @SerializedName("id") public String weatherId; public Update update; public class Update { ...
yourback/coolweather
app/src/main/java/com/coolweather/android/gson/Basic.java
Java
apache-2.0
391
package elias.agent.authoring.patterncompiler; import javax.swing.UIManager; import java.awt.*; public class Test { boolean packFrame = false; //Anwendung konstruieren public Test() { TestGUI frame = new TestGUI(); //Frames validieren, die eine voreingestellte Groesse besitzen //Frames packen, die ...
kadeng/elias-nlp
java/src/agent/authoring/patterncompiler/Test.java
Java
apache-2.0
1,134
/* * Copyright 2015 Fabio Collini. * * 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 agre...
fabioCollini/mv2m
mv2m/src/main/java/it/cosenonjaviste/mv2m/ViewModel.java
Java
apache-2.0
2,325
// 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/licenses/LICENSE-2.0 // // Unless required by applicable ...
Krasnyanskiy/bazel
src/main/java/com/google/devtools/build/lib/skyframe/SkyframeExecutor.java
Java
apache-2.0
69,979
/** * Copyright (C) 2009 hprange <hprange@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...
hprange/wounit
src/main/java/com/wounit/matchers/package-info.java
Java
apache-2.0
1,042
package com.ducetech.app.dao; import com.ducetech.app.model.Department; import java.util.List; /** * @author Roger * */ public interface DepartmentDAO { List<Department> selectAllDepartments(); Department selectDepartmentById(String departmentId); void insertDepartment(Department department); void u...
zhaoshiling1017/SSM-Platform
src/main/java/com/ducetech/app/dao/DepartmentDAO.java
Java
apache-2.0
1,034
/** * 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...
punkhorn/camel-upstream
platforms/spring-boot/components-starter/camel-jooq-starter/src/main/java/org/apache/camel/component/jooq/springboot/JooqComponentConfiguration.java
Java
apache-2.0
3,764
package vertx.playground.java.realtime; import vertx.playground.java.util.Runner; import io.vertx.core.AbstractVerticle; import io.vertx.ext.web.Router; import io.vertx.ext.web.handler.StaticHandler; import io.vertx.ext.web.handler.sockjs.BridgeEvent; import io.vertx.ext.web.handler.sockjs.BridgeOptions; import io.ver...
Yufan-l/vertx-playground
vertx-java/src/main/java/vertx/playground/java/realtime/Server.java
Java
apache-2.0
1,852
package org.ovirt.engine.core.dao; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import java.util.List; import org.junit.Test; import org.ovir...
derekhiggins/ovirt-engine
backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/VdsGroupDAOTest.java
Java
apache-2.0
9,506
package it.marcoberri.dockiteck.test; import it.marcoberri.dockitech.Application; import org.junit.runner.RunWith; import org.springframework.boot.test.IntegrationTest; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import o...
marcoberri/dockitech
dockitech-api/src/test/java/it/marcoberri/dockiteck/test/BaseTest.java
Java
apache-2.0
638
/* * Waltz - Enterprise Architecture * Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project * See README.md for more 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 copy of the License ...
kamransaleem/waltz
waltz-model/src/main/java/com/khartec/waltz/model/app_group/AppGroupDetail.java
Java
apache-2.0
1,248
/* * Copyright 2017 Mario Contreras <marioc@nazul.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 at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Nazul/MSC-ASN
TemperatureCollector/src/main/java/mx/iteso/msc/asn/temperaturecollector/Temperature.java
Java
apache-2.0
1,363
// Copyright 2021 The Pigweed Authors // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
google/pigweed
pw_rpc/java/main/dev/pigweed/pw_rpc/Packets.java
Java
apache-2.0
2,772
/* * Copyright (C) 2012 Zach Melamed * * Latest version available online at https://github.com/zach-m/jonix * Contact me at zach@tectonica.co.il * * 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 ...
aparod/jonix
jonix-onix3/src/main/java/com/tectonica/jonix/onix3/SupplierCodeType.java
Java
apache-2.0
1,766
/* * 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 ...
ijokarumawak/nifi
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/groups/StandardProcessGroup.java
Java
apache-2.0
245,979
/* * 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 ma...
mtaal/olingo-odata4-jpa
fit/src/test/java/org/apache/olingo/fit/proxy/v4/demo/odatademo/Categories.java
Java
apache-2.0
1,735
package com.skycaster.geomapper.data; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import com.baidu.mapapi.model.LatLng; import com.google.gson.Gson; import com.goog...
leoliao2008/GeoMapper
app/src/main/java/com/skycaster/geomapper/data/MappingDataOpenHelper.java
Java
apache-2.0
8,834
/* * Copyright 2008 - 2017 Arne Limburg * * 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...
ArneLimburg/jpasecurity
src/main/java/org/jpasecurity/security/rules/AccessRulesCompiler.java
Java
apache-2.0
2,697
package novatec.cg.ema.wiremock.ui; import android.app.Activity; import android.os.Bundle; import android.support.v4.app.Fragment; import android.widget.EditText; import org.androidannotations.annotations.Click; import org.androidannotations.annotations.EFragment; import org.androidannotations.annotations.ViewById; ...
qabbasi/Mobile-App-Wiremock
android/app/src/main/java/novatec/cg/ema/wiremock/ui/DeleteTaskFragment.java
Java
apache-2.0
1,445
/** * 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, software * dist...
intropro/prairie
units/flume-unit/src/main/java/com/intropro/prairie/unit/flume/Channel.java
Java
apache-2.0
1,441
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/containeranalysis/v1beta1/grafeas/grafeas.proto package io.grafeas.v1beta1; public interface UpdateOccurrenceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:grafeas.v1beta1.UpdateOccurrenceRequest) ...
vam-google/google-cloud-java
google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/src/main/java/io/grafeas/v1beta1/UpdateOccurrenceRequestOrBuilder.java
Java
apache-2.0
1,951
package AST; import java.util.HashSet; import java.util.LinkedHashSet; import java.io.File; import java.util.*; import beaver.*; import java.util.ArrayList; import java.util.zip.*; import java.io.*; import java.util.Stack; import java.util.regex.Pattern; import java.io.FileOutputStream; import java.io.IOException; im...
xjtu3c/GranuleJ
GOP/GranuleJIDE/src/AST/LEExpr.java
Java
apache-2.0
5,382
/** * 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 ...
dorzey/assertj-core
src/test/java/org/assertj/core/api/doublearray/DoubleArrayAssert_containsSubsequence_Test.java
Java
apache-2.0
2,008
package io.sinistral.proteus.services; import com.google.common.util.concurrent.AbstractIdleService; import com.google.inject.Binder; import com.google.inject.Inject; import com.google.inject.Singleton; import com.typesafe.config.Config; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * An abstract base...
noboomu/proteus
proteus-core/src/main/java/io/sinistral/proteus/services/DefaultService.java
Java
apache-2.0
1,380
/** * Copyright 2012 R King * * 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 ...
kingamajick/android-drawables-maven-plugin-m2e
com.github.kingamajick.admp.eclipse.m2e/src/main/java/com/github/kingamajick/admp/eclipse/build/RasterizeBuildParticipant.java
Java
apache-2.0
2,398
package weixin.popular.test; import java.util.Random; import org.junit.Test; import weixin.popular.api.PoiAPI; import weixin.popular.bean.BaseResult; import weixin.popular.bean.poi.BaseInfo; import weixin.popular.bean.poi.Business; import weixin.popular.bean.poi.CategoryListResult; import weixin.popular.b...
moyq5/weixin-popular
src/test/java/weixin/popular/test/PoiTest.java
Java
apache-2.0
3,256
/** * Copyright 2015 Ricky Tobing * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance insert 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...
bingzer/Async
Library/src/main/java/com/bingzer/android/async/handlers/DelegateHandler.java
Java
apache-2.0
1,341
/****************************************************************************** * Compilation: javac Date.java * Execution: java Date * Dependencies: StdOut.java * * An immutable data type for dates. * ******************************************************************************/ package algs4; /** *...
kefu-algorithm/study-practice-src
algorithm4rd-library/src/main/java/algs4/Date.java
Java
apache-2.0
7,584
package com.yuyakaido.android.rxmedialoader.entity; import android.net.Uri; import android.os.Parcel; import android.os.Parcelable; public class Media implements Parcelable { public static final Creator<Media> CREATOR = new Creator<Media>() { @Override public Media createFromParcel(Parcel source)...
yuyakaido/RxMediaLoader
rxmedialoader/src/main/java/com/yuyakaido/android/rxmedialoader/entity/Media.java
Java
apache-2.0
1,088
/* * Copyright 2010 NCHOVY * * 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 wri...
araqne/logdb
araqne-logstorage/src/main/java/org/araqne/logstorage/script/LogStorageScript.java
Java
apache-2.0
41,388
package io.leangen.graphql.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Marks the parameters representing the root context */ @GraphQLIgnore @Retention(RetentionPolicy.RUNTIME) @Tar...
leangen/GraphQL-SPQR
src/main/java/io/leangen/graphql/annotations/GraphQLRootContext.java
Java
apache-2.0
420
/******************************************************************************* * Copyright (C) 2015 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....
peihe/DataflowJavaSDK
sdk/src/main/java/com/google/cloud/dataflow/sdk/util/common/CounterSet.java
Java
apache-2.0
5,403
/* * Copyright © 2010, 2011, 2012 Talis Systems Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
castagna/hbase-rdf
src/main/java/com/talis/hbase/rdf/layout/simple/TableDescSimpleCommon.java
Java
apache-2.0
1,300
/* * 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 ...
vsisko/incubator-ignite
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMvcc.java
Java
apache-2.0
44,347
/* * Copyright 2009-2013 by The Regents of the University of California * 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 from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
sjaco002/incubator-asterixdb-hyracks
hyracks/hyracks-storage-am-common/src/main/java/edu/uci/ics/hyracks/storage/am/common/dataflow/TreeIndexDiskOrderScanOperatorNodePushable.java
Java
apache-2.0
4,624
package org.semanticweb.elk.matching.inferences; /* * #%L * ELK Proofs Package * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2011 - 2016 Department of Computer Science, University of Oxford * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with...
aifargonos/elk-reasoner
elk-proofs/src/main/java/org/semanticweb/elk/matching/inferences/InferenceMatchPrinter.java
Java
apache-2.0
13,707
// Copyright 2013 Cloudera 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 wr...
mapr/impala
fe/src/main/java/com/cloudera/impala/analysis/LoadDataStmt.java
Java
apache-2.0
7,656
package com.github.tommyettinger; /** * Contains various static utility methods for converting arrays to arrays of other types. Mainly useful internally, * such as in the caches for smaller space-filling curves. * Created by Tommy Ettinger on 2/15/2016. */ public class Conversion { private static final short...
tommyettinger/Krait
src/main/java/com/github/tommyettinger/Conversion.java
Java
apache-2.0
4,089
/** * Copyright 2011 Tony Murray <murraytony@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 b...
murrant/ScoreKeep
src/com/splashmobileproductions/scorekeep/data/GameAdapter.java
Java
apache-2.0
5,389
package org.itsnat.droid.impl.dom.layout; import org.itsnat.droid.impl.dom.DOMAttr; import org.itsnat.droid.impl.dom.XMLDOM; import org.itsnat.droid.impl.util.NamespaceUtil; import java.util.ArrayList; import java.util.List; /** * Created by jmarranz on 19/01/2016. */ public abstract class XMLDOMLayout...
jmarranz/itsnat_droid
itsnatdroid/src/main/java/org/itsnat/droid/impl/dom/layout/XMLDOMLayoutPage.java
Java
apache-2.0
2,597
package com.twu.biblioteca; import com.sun.org.apache.regexp.internal.RE; import com.twu.biblioteca.User.User; import com.twu.biblioteca.User.UserAuthentication; import com.twu.biblioteca.menuoptions.*; import com.twu.testhelpers.ExtendedInputReader; import com.twu.testhelpers.ExtendedOutputWriter; import org.junit.T...
Shar-M/TWU-biblioteca-Sharanya
src/test/java/com/twu/biblioteca/MenuTest.java
Java
apache-2.0
8,092
package org.apache.lucene.analysis.th; /* * 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 Lic...
terrancesnyder/solr-analytics
lucene/analysis/common/src/test/org/apache/lucene/analysis/th/TestThaiWordFilterFactory.java
Java
apache-2.0
2,248
/* * #%L * GwtMaterial * %% * Copyright (C) 2015 - 2017 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 the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
GwtMaterialDesign/gwt-material-table
src/main/java/gwt/material/design/client/data/events/RowLongPressHandler.java
Java
apache-2.0
869
package at.makubi.maven.plugin.avrohugger; public class FileInclude { private String path; private MatchSyntax matchSyntax; public FileInclude() {} public FileInclude(String path, MatchSyntax matchSyntax) { this.path = path; this.matchSyntax = matchSyntax; } public String get...
makubi/avrohugger-maven-plugin
src/main/java/at/makubi/maven/plugin/avrohugger/FileInclude.java
Java
apache-2.0
612
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package university; /** * * @author Mavrov */ public enum SemesterType { WINTER, SUMMER; public static SemesterType getSemesterType(int semesterIndex) { if (semesterIndex % 2 =...
iMavrov/Timetable
src/university/SemesterType.java
Java
apache-2.0
423
package io.virtdata.processors; import io.virtdata.annotations.Category; import java.util.List; /** * Provide data about a function, suitable for building a documentation site. */ public interface DocFuncData { /** * @return the package name for the documented type */ String getPackageName(); ...
virtualdataset/metagen-java
virtdata-annotations/src/main/java/io/virtdata/processors/DocFuncData.java
Java
apache-2.0
1,347
package org.whale.system.ueditor.hunter; import java.net.HttpURLConnection; import java.net.URL; import java.util.Arrays; import java.util.List; import java.util.Map; import org.whale.system.ueditor.PathFormat; import org.whale.system.ueditor.define.AppInfo; import org.whale.system.ueditor.define.BaseState; import or...
fywxin/base
system-parent/model-file/src/main/java/org/whale/system/ueditor/hunter/ImageHunter.java
Java
apache-2.0
3,302
/* * 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 ...
codders/k2-sling-fork
bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/JobContext.java
Java
apache-2.0
1,265
package de.solidsearch.bot.businesslogic; import java.io.FileNotFoundException; import java.net.InetAddress; import java.net.UnknownHostException; import java.security.SecureRandom; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import java.util.ArrayList; import ja...
bonprix/solidsearch-bot
src/main/java/de/solidsearch/bot/businesslogic/ProjectJobWorker.java
Java
apache-2.0
42,312
package com.orange.entity; import com.orange.util.IMatcher; /** * (c) OrangeGame 2012 * * @author OrangeGame <OGEngine@orangegame.cn> */ public interface IEntityMatcher extends IMatcher<IEntity> { // =========================================================== // Constants // ===================================...
yaye729125/gles
src/com/orange/entity/IEntityMatcher.java
Java
apache-2.0
547
package ru.stqa.pft.addressbook.appmanager; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.boot.MetadataSources; import org.hibernate.boot.registry.StandardServiceRegistry; import org.hibernate.boot.registry.StandardServiceRegistryBuilder; import ru.stqa.pft.addressbook.model.C...
QL-Anton/javaForTesters
addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/appmanager/DbHelper.java
Java
apache-2.0
1,523
package org.ray.upnp.parser; import java.io.IOException; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; import org.xml.sax.SAXException; import org.xml.sax.helpers.DefaultHandler; public class Parser { private sta...
ayvazj/rokontrol-android
rokontrol-library/src/main/java/org/ray/upnp/parser/Parser.java
Java
apache-2.0
1,179
// Copyright Eagle Legacy Modernization LLC, 2010-date // Original author: Steven A. O'Hara, Dec 8, 2013 package com.eagle.programmar.Python.Statements; import com.eagle.programmar.Python.Terminals.Python_Keyword; import com.eagle.tokens.TokenSequence; public class Python_PassStatement extends TokenSequence { publi...
oharasteve/eagle
src/com/eagle/programmar/Python/Statements/Python_PassStatement.java
Java
apache-2.0
374
/* * Copyright 2016, 2019, Matt Dean * * 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 agre...
deanydean/atoms
src/main/java/org/oddcyb/items/store/HeapStore.java
Java
apache-2.0
2,008
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
mangeshpardeshiyahoo/druid
processing/src/main/java/io/druid/query/filter/DimFilterCacheHelper.java
Java
apache-2.0
2,053
/* * 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 ...
desruisseaux/sis
core/sis-referencing/src/main/java/org/apache/sis/referencing/cs/Normalizer.java
Java
apache-2.0
19,858
package com.sampath.serializer; import java.io.IOException; import java.io.InputStream; import java.io.StringWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.codeha...
sampath06/twitter_kinesis_cassandra
kinesis-producer/src/main/java/com/sampath/serializer/Serializer.java
Java
apache-2.0
3,133
/* * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-200...
dubenju/javay
src/java/org/xiph/libvorbis/vorbis_info_mapping0.java
Java
apache-2.0
1,794
package session2.sqat.tol.oulu.fi; public class Game { private static final String ADVANTAGE = "Advantage"; private static final String DEUCE = "Deuce"; private static final String SPACE = " "; private static final String DASH = "-"; private static final String WINS = "wins"; private Player p1, p2; private Str...
codeplated/WiiTennis
src/session2/sqat/tol/oulu/fi/Game.java
Java
apache-2.0
2,297
/** * 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...
bulldog2011/luxun
src/main/java/com/leansoft/luxun/console/LineMessageReader.java
Java
apache-2.0
1,587
/** * 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...
merlimat/pulsar
pulsar-flink/src/test/java/org/apache/flink/batch/connectors/pulsar/PulsarOutputFormatTest.java
Java
apache-2.0
8,102
/* * 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 ...
ilgrosso/oldSyncopeIdM
core/src/main/java/org/syncope/core/persistence/dao/AttrDAO.java
Java
apache-2.0
1,405
/* * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://duracloud.org/license/ */ package org.duracloud.account.db.util.sys.impl; import java.io.ByteArrayOutputStream; import java.io...
duracloud/management-console
account-management-util/src/main/java/org/duracloud/account/db/util/sys/impl/SystemMonitorImpl.java
Java
apache-2.0
3,131
/* * SPDX-License-Identifier: Apache-2.0 * * Copyright 2015-2021 Andres Almiray * * 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 * ...
aalmiray/ikonli
icon-packs/ikonli-materialdesign2-pack/src/main/java/org/kordamp/ikonli/materialdesign2/MaterialDesignN.java
Java
apache-2.0
11,464
/** * * 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"); ...
gouravshenoy/airavata
modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/gfac/SimpleWSClient.java
Java
apache-2.0
4,897
package test.de.uni_hildesheim.sse; import java.io.File; import java.io.IOException; import java.util.List; import org.eclipse.emf.common.util.URI; import org.junit.Assert; import org.junit.Test; import de.uni_hildesheim.sse.ModelUtility; import de.uni_hildesheim.sse.translation.ErrorCodes; import net.ssehub.easy.ba...
SSEHUB/EASyProducer
Plugins/IVML/de.uni_hildesheim.sse.ivml.tests/src/test/de/uni_hildesheim/sse/ExternalTests.java
Java
apache-2.0
8,657
package org.mpilone.vaadin.timeline; import java.lang.reflect.Method; import java.util.Date; import java.util.EventObject; import com.vaadin.util.ReflectTools; /** * A listener to be notified about visible window range change events. * * @author mpilone */ public interface RangeChangedListener { /** * The...
mpilone/timeline-vaadin
timeline/src/main/java/org/mpilone/vaadin/timeline/RangeChangedListener.java
Java
apache-2.0
2,248
/* * Copyright (C) 2017-2019 Dremio Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
dremio/dremio-oss
sabot/logical/src/main/java/com/dremio/common/expression/IfExpression.java
Java
apache-2.0
3,633
package cn.felord.wepay.ali.sdk.api.response; import cn.felord.wepay.ali.sdk.api.internal.mapping.ApiField; import cn.felord.wepay.ali.sdk.api.AlipayResponse; /** * ALIPAY API: alipay.open.public.group.crowd.query response. * * @author auto create * @version $Id: $Id */ public class AlipayOpenPublicGroupCrowdQu...
NotFound403/WePay
src/main/java/cn/felord/wepay/ali/sdk/api/response/AlipayOpenPublicGroupCrowdQueryResponse.java
Java
apache-2.0
864
/* * * Copyright 2017-2018 Nitrite author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
dizitart/nitrite-database
nitrite-datagate/src/main/java/org/dizitart/no2/datagate/services/AnalyticsService.java
Java
apache-2.0
9,630
package com.angcyo.uiview.design; import android.content.Context; import android.support.design.widget.CoordinatorLayout; import android.support.v4.view.MotionEventCompat; import android.support.v4.view.ViewCompat; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; /** * Cop...
angcyo/RLibrary
uiview/src/main/java/com/angcyo/uiview/design/StickBehavior2.java
Java
apache-2.0
6,947
// __________________________________ // ______| Copyright 2008-2015 |______ // \ | Breakpoint Pty Limited | / // \ | http://www.breakpoint.com.au | / // / |__________________________________|...
breakpoint-au/Hedron
hedron-core/src/main/java/au/com/breakpoint/hedron/core/context/TransactionIsolation.java
Java
apache-2.0
1,680
/** * 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
stream/distributedlog/core/src/main/java/org/apache/distributedlog/BKLogSegmentWriter.java
Java
apache-2.0
60,474
package test.utils; import java.util.HashMap; import java.util.Map; import junit.framework.TestCase; import com.akjava.lib.common.utils.TemplateUtils; public class TemplateUtilsTest extends TestCase { /** * not contain */ public void testSimple1(){ String v="hello"; String correct="hello"...
akjava/akjava_gwtlib
test/test/utils/TemplateUtilsTest.java
Java
apache-2.0
5,974
/* * Copyright 2013 eBuddy B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
ezoerner/c-star-path-j
core/src/test/java/com/ebuddy/cassandra/structure/jackson/TestPojoWithSet.java
Java
apache-2.0
3,838
// Copyright 2004, 2005 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applic...
apache/tapestry4
framework/src/java/org/apache/tapestry/engine/encoders/PageServiceEncoder.java
Java
apache-2.0
2,965
package at.fwd.swagger.spring.demo.user.jhipsterclone; import static java.nio.file.LinkOption.NOFOLLOW_LINKS; import static java.nio.file.StandardWatchEventKinds.ENTRY_CREATE; import static java.nio.file.StandardWatchEventKinds.ENTRY_MODIFY; import io.github.jhipster.loaded.FileSystemWatcher; import io.github.jhipster...
jfiala/swagger-spring-demo
sandbox/user-rest-service-1.0.2-sandbox/src/main/java/at/fwd/swagger/spring/demo/user/jhipsterclone/FjxJHipsterFileWatcher.java
Java
apache-2.0
9,265
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.lang.parser; import gw.lang.GosuShop; import gw.util.GosuObjectUtil; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.LinkedList; import java.util.Map; public class Standa...
gosu-lang/gosu-lang
gosu-core-api/src/main/java/gw/lang/parser/StandardSymbolTable.java
Java
apache-2.0
13,437
package co.edu.sena.ejemplojpa02.model.jpa.entites; import org.junit.After; import org.junit.Before; import org.junit.Test; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; import static org.junit.Assert.*; public class CascoTest { @Be...
SENA-CEET/1349397-Trimestre-4
java/JPA/Ejemplojpa02/src/test/java/co/edu/sena/ejemplojpa02/model/jpa/entites/CascoTest.java
Java
apache-2.0
812
/** * 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...
HazelChen/hadoop
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Display.java
Java
apache-2.0
10,696
/* * Copyright (c) 2017 Snow Volf (Artem Zhiganov). * 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...
SnowVolf/FF-Translator
app/src/main/java/ru/SnowVolf/translate/ui/fragment/other/TextParserFragment.java
Java
apache-2.0
2,495