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 2002-2015 SCOOP Software GmbH * * 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...
copper-engine/copper-engine
projects/copper-coreengine/src/main/java/org/copperengine/core/audit/BatchingAuditTrail.java
Java
apache-2.0
7,381
package com.jcodes.ganymed; import ch.ethz.ssh2.KnownHosts; import ch.ethz.ssh2.ServerHostKeyVerifier; class SimpleVerifier implements ServerHostKeyVerifier { KnownHosts database; /* * This class is being used by the UsingKnownHosts.java example. */ public SimpleVerifier(KnownHosts database) { ...
dreajay/jCodes
jCodes-ganymed-ssh2/src/main/java/com/jcodes/ganymed/SimpleVerifier.java
Java
apache-2.0
1,428
/* Copyright (C) 2013 Interactive Brokers LLC. All rights reserved. This code is subject to the terms * and conditions of the IB API Non-Commercial License or the IB API Commercial License, as applicable. */ package com.ib.client; public class ScannerSubscription { public final static int NO_ROW_NUMBER_SPECIFIED =...
klon/jtrade
src/main/java/com/ib/client/ScannerSubscription.java
Java
apache-2.0
4,097
/* * Copyright 2013 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...
wilkinsona/spring-social-facebook
spring-social-facebook/src/main/java/org/springframework/social/facebook/api/impl/json/EducationEntryMixin.java
Java
apache-2.0
1,370
/* * Copyright (C) 2019 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...
stari4ek/ExoPlayer
library/ui/src/main/java/com/google/android/exoplayer2/ui/TrackSelectionDialogBuilder.java
Java
apache-2.0
9,338
package cn.xdean.jex.reflect; import xdean.jex.log.Log; import xdean.jex.log.LogFactory; import java.lang.invoke.MethodHandles; import java.lang.reflect.*; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.function.Function; import java.util.stream.Stream...
XDean/Java-EX
src/main/java/cn/xdean/jex/reflect/FunctionInterfaceUtil.java
Java
apache-2.0
11,124
/******************************************************************************* * Copyright 2018 Tremolo Security, 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://...
TremoloSecurity/OpenUnison
unison/unison-auth-u2f/src/main/java/com/google/u2f/key/UserPresenceVerifier.java
Java
apache-2.0
1,144
package com.atlassian.plugins.codegen.modules.common.servlet; import java.io.IOException; import com.atlassian.plugins.codegen.AbstractCodegenTestCase; import com.atlassian.plugins.codegen.modules.PluginModuleLocation; import org.apache.commons.io.FileUtils; import org.junit.Before; import org.junit.Test; import st...
mrdon/AMPS
plugin-module-codegen-engine/src/test/java/com/atlassian/plugins/codegen/modules/common/servlet/ServletContextParameterTest.java
Java
apache-2.0
1,286
package shadow.test.typecheck; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import shadow.Main; import shadow.typecheck.TypeCheckException; import shadow.typecheck.TypeCheckException.Error; import java.util.ArrayList; public class WarningTests { private final ArrayList<String> args ...
bwittman/shadow
src/test/java/shadow/test/typecheck/WarningTests.java
Java
apache-2.0
2,314
package cgeo.geocaching.files; import cgeo.geocaching.R; import cgeo.geocaching.SearchResult; import cgeo.geocaching.StaticMapsProvider; import cgeo.geocaching.enumerations.LoadFlags; import cgeo.geocaching.models.Geocache; import cgeo.geocaching.settings.Settings; import cgeo.geocaching.storage.DataStore; import cgeo...
SammysHP/cgeo
main/src/cgeo/geocaching/files/AbstractImportThread.java
Java
apache-2.0
4,402
package io.github.hebury.bioscoopcasus.domain; import java.io.Serializable; import static android.R.attr.id; public class Movie implements Serializable { private double rating; private String duration; private String title; private String genre; private String description; private String rel...
Hebury/BioscoopCasus
app/src/main/java/io/github/hebury/bioscoopcasus/domain/Movie.java
Java
apache-2.0
2,454
package org.apache.spark.sql.execution.vectorized; import org.apache.spark.memory.MemoryMode; import org.apache.spark.sql.types.StructType; import org.apache.spark.sql.vectorized.ColumnVector; public class ColumnVectorAllocator { public static ColumnVector[] allocateColumns( MemoryMode memoryMode, int capaci...
Intel-bigdata/OAP
oap-cache/oap/src/main/java/org/apache/spark/sql/execution/vectorized/ColumnVectorAllocator.java
Java
apache-2.0
553
package ru.job4j.list; import org.junit.Test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; /** * The class created for testing CheckCycle class. * * @author abondarev. * @since 04.09.2017 */ public class CheckCycleTest { /** * Test method hasCycle() when cycle...
BonDyka/abondarev
jun/chapter_005pro/src/test/java/ru/job4j/list/CheckCycleTest.java
Java
apache-2.0
1,376
package il.co.topq.difido.model.execution; import java.util.ArrayList; import java.util.List; import org.codehaus.jackson.annotate.JsonIgnore; public class MachineNode extends NodeWithChildren<ScenarioNode> { @JsonIgnore private List<ScenarioNode> allScenarios; public MachineNode() { } public MachineNode(Str...
abodabi/difido-reports
difido-reports-common/src/main/java/il/co/topq/difido/model/execution/MachineNode.java
Java
apache-2.0
756
package net.chibidevteam.apiversioning.test.unit; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import net.chibidevteam.apiversioning.exceptions.NoSupportedVersionException; import net.chibidevteam.apiversioning.util.ApiVersionCondition; import net.chibidevteam.apiversioning.util.Utils; imp...
ChibiTomo/ApiVersioning
src/test/java/net/chibidevteam/apiversioning/test/unit/HelperTest.java
Java
apache-2.0
1,368
/* Copyright (c) 2013, Washington University in St.Louis. 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 require...
OpenXIP/xip-app
src/edu/wustl/xipApplication/recist/RECISTManager.java
Java
apache-2.0
1,457
/* * Copyright 2016 Davide Maestroni * * 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 agree...
davide-maestroni/jroutine
object/src/main/java/com/github/dm/jrt/object/annotation/CoreInstances.java
Java
apache-2.0
2,545
/* * Copyright 2009 Andy Lee. * * 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 ...
plasma147/lorraine-dto-test-gen
src/main/java/uk/co/optimisticpanda/gtest/dto/defaultfill/enggen/visit/DataEditorVisitor.java
Java
apache-2.0
1,114
/* * Copyright 2021 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-datacatalog
google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationSettings.java
Java
apache-2.0
8,169
package org.gradle.test.performance.mediummonolithicjavaproject.p215; import org.gradle.test.performance.mediummonolithicjavaproject.p214.Production4298; import org.gradle.test.performance.mediummonolithicjavaproject.p214.Production4299; import org.junit.Test; import static org.junit.Assert.*; public class Test4301 ...
oehme/analysing-gradle-performance
my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p215/Test4301.java
Java
apache-2.0
2,343
/* * 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 ...
pellcorp/fop
test/java/org/apache/fop/BasicTranscoderTestSuite.java
Java
apache-2.0
1,249
/* * Copyright 2002-2014 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...
jmnarloch/spring-security
config/src/main/java/org/springframework/security/config/annotation/web/socket/AbstractSecurityWebSocketMessageBrokerConfigurer.java
Java
apache-2.0
9,662
/** * Copyright 2015-2018 The OpenZipkin Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
soundcloud/zipkin
zipkin-autoconfigure/storage-elasticsearch-aws/src/main/java/zipkin/autoconfigure/storage/elasticsearch/aws/ZipkinElasticsearchAwsStorageProperties.java
Java
apache-2.0
1,555
/* * Copyright 2019 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 applicab...
material-components/material-components-android
catalog/java/io/material/catalog/tabs/TabsAutoDemoFragment.java
Java
apache-2.0
3,579
package org.twak.viewTrace; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import org.twak.utils.collections.MultiMapSet; public class Closer<E> { Map <E, Integer> map = new HashMap<>(); MultiMapSet <Integer, E> rev = new MultiMapSet<>(); // could be a single map...
twak/chordatlas
src/org/twak/viewTrace/Closer.java
Java
apache-2.0
2,271
/* * 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-medialive/src/main/java/com/amazonaws/services/medialive/model/transform/BatchStopResultJsonUnmarshaller.java
Java
apache-2.0
3,163
/******************************************************************************* * Copyright 2016 Antoine Nicolas SAMAHA * * 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 * * ...
FOC-framework/framework
foc/src/com/foc/db/migration/MigrationSourceGuiDetailsPanel.java
Java
apache-2.0
4,357
package ml.dpgames.mine; import org.robovm.apple.foundation.NSAutoreleasePool; import org.robovm.apple.uikit.UIApplication; import com.badlogic.gdx.backends.iosrobovm.IOSApplication; import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; import ml.dpgames.mine.MGMain; public class IOSLauncher extend...
DwarfPlanetGames/mininggame
ios/src/ml/dpgames/mine/IOSLauncher.java
Java
apache-2.0
748
/* * 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 ...
lperilla/jmeter-utilities
src/main/java/com/lperilla/jmeter/plugin/gui/component/JLabeledTextField.java
Java
apache-2.0
6,851
package org.docksidestage.app.web.withdrawal; import javax.annotation.Resource; import org.docksidestage.app.web.base.FortressBaseAction; import org.docksidestage.app.web.signout.SignoutAction; import org.docksidestage.dbflute.exbhv.MemberBhv; import org.docksidestage.dbflute.exbhv.MemberWithdrawalBhv; import org.doc...
lastaflute/lastaflute-test-fortress
src/main/java/org/docksidestage/app/web/withdrawal/WithdrawalAction.java
Java
apache-2.0
3,853
/* ### * IP: GHIDRA * * 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 writin...
NationalSecurityAgency/ghidra
Ghidra/Features/FunctionID/src/main/java/ghidra/feature/fid/service/FidMatch.java
Java
apache-2.0
1,266
package w2d.question; public abstract class Question { public String label; public String answer; public Question(String label) { this.label = label.replaceAll("\"", ""); } }
ukupat/what-2-do
src/w2d/question/Question.java
Java
apache-2.0
185
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
masaki-yamakawa/geode
geode-apis-compatible-with-redis/src/acceptanceTest/java/org/apache/geode/redis/internal/executor/string/IncrByNativeRedisAcceptanceTest.java
Java
apache-2.0
1,273
package com.jiang.android.zhihu_topanswer; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which will execute ...
jiang111/ZhiHu-TopAnswer
app/src/androidTest/java/com/jiang/android/zhihu_topanswer/ExampleInstrumentedTest.java
Java
apache-2.0
770
/* * Copyright (c) 2010-2017, b3log.org & hacpai.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 applica...
fengjx/solo
src/main/java/org/b3log/solo/plugin/broadcast/ChanceProcessor.java
Java
apache-2.0
11,148
/* * Copyright (C) 2014 The Calrissian Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
calrissian/flowmix
src/main/java/org/calrissian/flowmix/api/filter/NoFilter.java
Java
apache-2.0
917
/* * Copyright 2010-2020 Alfresco Software, Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
Activiti/Activiti
activiti-core/activiti-engine/src/test/java/org/activiti/standalone/history/VariableUpdateDelegate.java
Java
apache-2.0
940
/* * Copyright 2015 Tomi Virtanen * * 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...
tltv/gantt
gantt-addon/src/main/java/org/tltv/gantt/client/shared/SubStep.java
Java
apache-2.0
1,043
package com.huaxiafinance.lc.pickerview; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.widget.TextView; import com.huaxiafinance.lc.pickerview.view.BasePickerView; import com.huaxiafinance.lc.pickerview.view.WheelTime; import java.text.ParseException; im...
LaiHouWen/ProjectAll
android-huaxing-cust1.0/pickerview/src/main/java/com/huaxiafinance/lc/pickerview/TimePickerView.java
Java
apache-2.0
4,979
/* * Copyright 2012 The Netty Project * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by...
gerdriesselmann/netty
testsuite/src/main/java/io/netty/testsuite/transport/socket/TrafficShapingHandlerTest.java
Java
apache-2.0
22,509
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/CONSTANT_Float_Info.java
Java
apache-2.0
1,401
/* * 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...
rdblue/parquet-mr
parquet-column/src/main/java/org/apache/parquet/io/MessageColumnIO.java
Java
apache-2.0
19,368
package com.taobao.api.request; import com.taobao.api.internal.util.RequestCheckUtils; import java.util.Map; import com.taobao.api.TaobaoRequest; import com.taobao.api.internal.util.TaobaoHashMap; import com.taobao.api.response.ProductsGetResponse; import com.taobao.api.ApiRuleException; /** * TOP API: tao...
lianying/asdf
src/main/java/com/taobao/api/request/ProductsGetRequest.java
Java
apache-2.0
2,739
package fr.polytech.ihm.model.produits; import fr.polytech.ihm.controller.produits.ListProduitsController; import fr.polytech.ihm.controller.produits.UnProduitController; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.control.ListCell; import java.io.IOException; /** * Created by thi...
tlarzabal/IHM
JavaFX/src/main/java/fr/polytech/ihm/model/produits/ListProduits.java
Java
apache-2.0
1,187
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
ChangerYoung/alluxio
core/server/master/src/test/java/alluxio/master/file/meta/InodeTreeTest.java
Java
apache-2.0
29,711
/* * Copyright (C) 2008 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
DavidLDawes/zxing
android/app/src/main/java/com/coact/kochzap/book/SearchBookContentsResult.java
Java
apache-2.0
1,667
/** * @author Bas van Marwijk * @since 24-10-14 * @version 1.0 - creation * * Root package of formvalid webapp */ package nl.bascoder.formvalid;
bascoder/formvalid
src/main/java/nl/bascoder/formvalid/package-info.java
Java
apache-2.0
150
package ru.tulin.service; import ru.tulin.model.Book; import java.util.List; /** * @author Viktor Tulin * @version 1 * @since 04.01.2017 */ public interface BookService { public void addBook(Book book); public void updateBook(Book book); public void removeBook(int id); public Book getBookById...
golfstream83/BookShop
src/main/java/ru/tulin/service/BookService.java
Java
apache-2.0
368
/* * 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-deploy/src/main/java/com/netflix/spinnaker/halyard/deploy/spinnaker/v1/profile/SecurityConfig.java
Java
apache-2.0
1,508
package com.liuyf.demos.cache.ehcache2.test; import org.junit.Assert; import org.junit.Test; import com.liuyf.demos.cache.ehcache2.pojo.Person; import net.sf.ehcache.CacheManager; import net.sf.ehcache.Ehcache; import net.sf.ehcache.Element; public class VerifyEhcacheIsDeepCopy { private static final String PERSO...
liuyf8688/demos
cache-demos/ehcache2-demos/src/test/java/com/liuyf/demos/cache/ehcache2/test/VerifyEhcacheIsDeepCopy.java
Java
apache-2.0
1,209
/* * Copyright 2010-2020 Alfresco Software, Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
Activiti/Activiti
activiti-core/activiti-engine/src/test/java/org/activiti/engine/test/api/tenant/TenancyTest.java
Java
apache-2.0
57,014
package uk.ac.ebi.atlas.home; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.stereotype.Component; import uk.ac.ebi.atlas.model.experiment.ExperimentType; import java.util.List; import java.util.Set; import java.util.stream.Collectors; @Component public class LatestExperimentsDao { ...
gxa/atlas
gxa/src/main/java/uk/ac/ebi/atlas/home/LatestExperimentsDao.java
Java
apache-2.0
1,893
/* * Copyright (C) 2011 University of Washington. * * 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...
dsysme/briefcase
src/org/opendatakit/briefcase/model/DocumentDescription.java
Java
apache-2.0
1,827
/** * 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
yaess-project/asakusa-yaess-core/src/main/java/com/asakusafw/yaess/basic/BlobUtil.java
Java
apache-2.0
2,084
package fi.iki.murgo.pingserver; import java.io.IOException; import java.net.*; public class UdpPinger implements Runnable { private static final int PORT = 56666; private DatagramSocket mSocket; private final Object mSocketLock = new Object(); private volatile boolean mRunning = false; private D...
murgo/MultiplayerLatencyTester
PingServer/src/fi/iki/murgo/pingserver/UdpPinger.java
Java
apache-2.0
2,023
/* * Copyright (c) 2014 Haixing Hu * * 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 ...
Haixing-Hu/commons
src/main/java/com/github/haixing_hu/collection/ArrayLinkedList.java
Java
apache-2.0
27,096
package com.mma.trion.marketlink.application.config; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import ...
sunvar/pwd-gnt-app
src/main/java/com/mma/trion/marketlink/application/config/SecurityConfiguration.java
Java
apache-2.0
6,515
package com.jimmy.common.impl; import org.jfree.chart.ChartFrame; import org.jfree.chart.JFreeChart; import org.jfree.chart.axis.*; import org.jfree.chart.plot.CombinedDomainXYPlot; import org.jfree.chart.plot.XYPlot; import org.jfree.chart.renderer.xy.CandlestickRenderer; import org.jfree.chart.renderer.xy.XYBarRende...
jimmyLian001/SpringLearn
src/main/java/com/jimmy/common/impl/KLineCombineChartImpl.java
Java
apache-2.0
8,641
package com.hsdc.dp.intf.dto.builder; import java.io.Serializable; import java.util.Date; public class Leave implements Serializable { /** * */ private static final long serialVersionUID = -380920585101902853L; private String leaveID; private String applier; private String leaveType; private in...
ringlelai/HSDcDesignPattern-Java
design-pattern-intf/src/main/java/com/hsdc/dp/intf/dto/builder/Leave.java
Java
apache-2.0
1,036
package quickget; import java.io.IOException; import java.io.InputStream; import java.io.RandomAccessFile; /** * 多线程下载工具类,多线程写入单个文件 * @author book *@tempSize表示已经下载的部分,@start表示输入流开始位置 */ class DownThread extends Thread{ final int BUFF_LEN =1024; private InputStream fin; private RandomAccessFile fout; private l...
finiteV/quickget
src/quickget/DownThread.java
Java
apache-2.0
2,263
package com.usc.util; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import com.usc.bean.Order; /** * 数据库的工具类 主要是数据库的增改操作 单例实现 * * @author lilin * @time 2016年1月11日 下午5:12:10 * @email gaosi0812@gmail.com * @blog gaosil...
GeowindOfAgriculture/MutualAgriculture
com/usc/util/SQlUtil.java
Java
apache-2.0
3,143
package AlgoBinarysearchSort; /* SORT is well studied, classic algorithms trade off is memory vs speed Other factors are stable, adaptive, worse case O(?) O(NlogN) is practically used MergeSort and QuickSort are efficient and good for general cases O(n^2) other sorts like selection/inserti...
BeyondSkyCoder/BeyondCoder
leetcode/java/AlgoBinarysearchSort/AlgoBasicSortingComparison.java
Java
apache-2.0
13,104
package com.hellofyc.base.security; import android.support.annotation.NonNull; import android.util.Base64; import com.hellofyc.base.utils.FLog; import java.io.UnsupportedEncodingException; /** * Created on 2015/9/7. * * @author Yucun Fang */ public class Base64Utils { private static final boolean DEBUG = fa...
fangyucun/android-library
base-utils/src/main/java/com/hellofyc/base/security/Base64Utils.java
Java
apache-2.0
1,887
/* $Id$ */ /** * 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"); y...
cogfor/mcf-cogfor
framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/ConnectionChangeTester.java
Java
apache-2.0
4,071
/* * Copyright (c) 2021, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.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.apac...
lessthanoptimal/BoofCV
main/boofcv-ip/src/benchmark/java/boofcv/alg/filter/convolve/BenchmarkConvolveImageStandard_SB.java
Java
apache-2.0
5,348
/** * @copyright * ==================================================================== * 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. ...
jmckaskill/subversion
subversion/bindings/javahl/src/org/apache/subversion/javahl/SVNClient.java
Java
apache-2.0
21,182
package com.charlie.wheather; import android.content.Intent; import android.content.res.Configuration; import android.os.Bundle; import android.support.design.widget.AppBarLayout; import android.support.design.widget.TabLayout; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.view....
xu0xyc/amusing-wheather
app/src/main/java/com/charlie/wheather/MainActivity.java
Java
apache-2.0
5,920
package xicom.com.baselibrary.retrofit2; import android.content.Context; import android.os.AsyncTask; import android.os.Environment; import android.util.Log; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Arra...
sanidhya09/androidprojectbase
baselibrary/src/main/java/xicom/com/baselibrary/retrofit2/RetroFitSingleton.java
Java
apache-2.0
7,876
/* * 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/CollectionSequenceType.java
Java
apache-2.0
1,799
/* * Licensed to Laurent Broudoux (the "Author") under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Author licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you may not...
microcks/microcks
webapp/src/main/java/io/github/microcks/util/ParameterConstraintUtil.java
Java
apache-2.0
2,354
/** * */ package bonafide.datastore; import static org.junit.Assert.*; import java.util.Arrays; import java.util.Collection; import java.util.Map; import java.util.Map.Entry; import org.junit.Assert; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import com.google.common.collect.I...
fbotelho-university-code/poseidon
src/main/java/bonafide/datastore/KeyValueColumnDatastoreProxyTest.java
Java
apache-2.0
11,832
/* * AbstractRatiosDataModel.java * * * Copyright 2006-2015 James F. Bowring and www.Earth-Time.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...
johnzeringue/ET_Redux
src/main/java/org/earthtime/ratioDataModels/AbstractRatiosDataModel.java
Java
apache-2.0
39,990
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
falko/camunda-bpm-platform
engine/src/test/java/org/camunda/bpm/engine/test/api/repository/diagram/ProcessDiagramParseTest.java
Java
apache-2.0
4,791
/* * Copyright 2011-2016 B2i Healthcare Pte Ltd, http://b2i.sg * * 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 require...
b2ihealthcare/snow-owl
commons/com.b2international.collections.fastutil/src/com/b2international/collections/bytes/ByteArrayListWrapper.java
Java
apache-2.0
3,372
package org.rest.sec.model; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import ...
minanos/minano
modules/api/src/main/java/org/rest/sec/model/Role.java
Java
apache-2.0
3,150
package com.hss01248.image.exif; import android.text.Html; import android.text.TextUtils; import android.util.Log; import com.hss01248.image.MyUtil; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.lang.refl...
hss01248/ImageLoader
imageloader/src/main/java/com/hss01248/image/exif/ExifUtil.java
Java
apache-2.0
37,509
package org.drools.common; import java.io.Externalizable; import java.io.ObjectOutput; import java.io.IOException; import java.io.ObjectInput; public class PriorityQueueAgendaGroupFactory implements AgendaGroupFactory, Externalizable { private static final AgendaGroupFactory INSTANCE = new PriorityQueue...
bobmcwhirter/drools
drools-core/src/main/java/org/drools/common/PriorityQueueAgendaGroupFactory.java
Java
apache-2.0
818
/** * © Copyright IBM Corporation 2015 * * 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 ...
jithsjoy/speech-android-sdk
speech-android-wrapper/src/main/java/com/ibm/watson/developer_cloud/android/text_to_speech/v1/TextToSpeech.java
Java
apache-2.0
5,183
/* * Copyright (C) 2004-2015 Volker Bergmann (volker.bergmann@bergmann-it.de). * 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/lic...
aravindc/databenecommons
src/test/java/org/databene/commons/math/IntervalParserTest.java
Java
apache-2.0
2,106
/* * Licensed to Crate.io Inc. ("Crate.io") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate.io licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not use ...
EvilMcJerkface/crate
server/src/test/java/io/crate/analyze/DropFunctionAnalyzerTest.java
Java
apache-2.0
4,225
package hackerrank.challenge; public class DiscountedPrice { public static void main(String[] args) { int[] arr = new int[5]; arr[0] = 1; arr[1] = 3; arr[2] = 3; arr[3] = 2; arr[4] = 5; finalPrice(arr); } // 1 3 3 2 5 static v...
PuneetKadian/bigdata-examples
bigdata-java/src/main/java/hackerrank/challenge/DiscountedPrice.java
Java
apache-2.0
868
/* * #%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-addins
src/main/java/gwt/material/design/addins/client/StartupState.java
Java
apache-2.0
866
/** * Copyright (C) 2010-2013 Alibaba Group Holding Limited * * 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 req...
dingjun84/mq-backup
rocketmq-client/src/main/java/com/alibaba/rocketmq/client/consumer/listener/MessageListenerConcurrently.java
Java
apache-2.0
1,466
/* Derby - Class org.apache.derby.impl.jdbc.UTF8ReaderTest 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 u...
trejkaz/derby
java/testing/org/apache/derby/impl/jdbc/UTF8ReaderTest.java
Java
apache-2.0
10,873
/* * Copyright 2014 Jordan S. Jones <jordansjones@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...
jordansjones/Mvc4j
Razor/src/main/java/nextmethod/codedom/CodeTypeOfExpression.java
Java
apache-2.0
862
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
googleapis/google-api-java-client-services
clients/google-api-services-networkservices/v1beta1/1.31.0/com/google/api/services/networkservices/v1beta1/model/Location.java
Java
apache-2.0
5,310
package technology.mainthread.apps.moment.ui.fragment; import android.app.Fragment; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; im...
AndrewJack/moment-for-android-wear
mobile/src/main/java/technology/mainthread/apps/moment/ui/fragment/SignInFriendFinderFragment.java
Java
apache-2.0
6,762
package org.hswebframework.web.authorization.basic.define; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.*; import org.hswebframework.web.authorization.annotation.*; import org.hswebframework.web.authorization.define.*; import org.springframework.core.annotation.AnnotatedElementUtils; import org.sp...
hs-web/hsweb-framework
hsweb-authorization/hsweb-authorization-basic/src/main/java/org/hswebframework/web/authorization/basic/define/DefaultBasicAuthorizeDefinition.java
Java
apache-2.0
5,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 distributed under t...
googleapis/google-api-java-client-services
clients/google-api-services-dialogflow/v2/1.31.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior.java
Java
apache-2.0
8,432
/* * Copyright 2013 Gunnar Kappei. * * 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...
moosbusch/xbLIDO
src/net/opengis/gml/impl/SymbolDocumentImpl.java
Java
apache-2.0
2,326
package krasa.release.service; import java.io.File; import java.util.Date; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Ser...
krasa/DevSupportApp
src/main/java/krasa/release/service/TokenizationFacade.java
Java
apache-2.0
4,750
package net.sf.anpr.rcp.widget; import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.IOException; import java.util.List; import javax.imagei...
alexmao86/swing-rcp
src/main/java/net/sf/anpr/rcp/widget/OpenPerspectiveDialog.java
Java
apache-2.0
6,161
package org.esupportail.catapp.admin.domain.services.mocks; import com.fasterxml.jackson.databind.ObjectMapper; import fj.F; import fj.F2; import fj.Ordering; import fj.data.List; import org.esupportail.catapp.admin.domain.beans.ApplicationDTO; import org.esupportail.catapp.admin.domain.exceptions.CrudException; impor...
EsupPortail/esup-catapp-admin
src/main/java/org/esupportail/catapp/admin/domain/services/mocks/MockApplicationService.java
Java
apache-2.0
3,528
package org.folio.okapi.service; import io.vertx.core.Future; import java.util.List; import org.folio.okapi.bean.DeploymentDescriptor; public interface DeploymentStore { Future<Void> insert(DeploymentDescriptor dd); Future<Boolean> delete(String id); Future<Void> init(boolean reset); Future<List<Deployment...
folio-org/okapi
okapi-core/src/main/java/org/folio/okapi/service/DeploymentStore.java
Java
apache-2.0
345
package chatty; import chatty.gui.MainGui; import chatty.util.DateTime; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.Timer; import java.util.TimerTask; import java.util.logging.Logger; /** * Twitch Chat commands. Al...
partouf/Chatty-Twitch-Client
src/chatty/TwitchCommands.java
Java
apache-2.0
11,388
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University // Copyright (c) 2011, 2012 Open Networking Foundation // Copyright (c) 2012, 2013 Big Switch Networks, Inc. // This library was generated by the LoxiGen Compiler. // See the file LICENSE.txt which should have been included in the sour...
floodlight/loxigen-artifacts
openflowj/gen-src/main/java/org/projectfloodlight/openflow/protocol/OFBsnControllerConnectionsRequest.java
Java
apache-2.0
2,008
/* * Copyright 2010 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
cyberdrcarr/optaplanner
drools-planner-examples/src/main/java/org/drools/planner/examples/curriculumcourse/domain/Curriculum.java
Java
apache-2.0
1,157
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.wm.impl; import com.intellij.ide.DataManager; import com.intellij.ide.RecentProjectsManagerBase; import com.intellij.ide.impl.DataManagerImpl; import...
xfournet/intellij-community
platform/platform-impl/src/com/intellij/openapi/wm/impl/WindowManagerImpl.java
Java
apache-2.0
25,838
/* * Copyright 2015-2017 Austin Keener & Michael Ritter & Florian Spieß * * 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...
mentlerd/JDA
src/main/java/net/dv8tion/jda/core/managers/GuildController.java
Java
apache-2.0
122,809
package com.sun.corba.se.spi.activation; /** * com/sun/corba/se/spi/activation/_ServerImplBase.java . * Generated by the IDL-to-Java compiler (portable), version "3.2" * from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u112/7884/corba/src/share/classes/com/sun/corba/se/spi/activation/activation.idl * Thursday,...
wapalxj/Java
javaworkplace/source/src/com/sun/corba/se/spi/activation/_ServerImplBase.java
Java
apache-2.0
2,433