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.github.pengrad.recyclerview; import android.support.v7.widget.RecyclerView; import android.view.View; /** * stas * 7/23/15 */ public abstract class RecyclerViewHolder<T> extends RecyclerView.ViewHolder { public RecyclerViewHolder(View itemView) { super(itemView); } public void onB...
pengrad/recycler-view-utils
recyclerview/src/main/java/com/github/pengrad/recyclerview/RecyclerViewHolder.java
Java
apache-2.0
786
/* * Copyright 2013-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 b...
launchcg-ztonia/seiso
src/main/java/com/expedia/seiso/domain/repo/MachineRepo.java
Java
apache-2.0
2,147
/* * Copyright 2021, TeamDev. 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 * * Redistribution and use in source...
SpineEventEngine/gae-java
datastore/src/test/java/io/spine/server/storage/datastore/given/DatastoreWrapperTestEnv.java
Java
apache-2.0
3,360
package nl.fontys.sofa.limo.validation.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * The value of the field or property must be a decimal value greater than or * equal to the number...
LogisticsImpactModel/LIMO
LIMO-utils/src/main/java/nl/fontys/sofa/limo/validation/annotations/DecimalMin.java
Java
apache-2.0
525
/* GeoGebraLogoAtom.java * ========================================================================= * This file is part of the JLaTeXMath Library - http://forge.scilab.org/jlatexmath * * Copyright (C) 2009 DENIZET Calixte * * This program is free software; you can redistribute it and/or modify * it under the te...
mksmbrtsh/formulaDict
src/maximsblog/blogspot/com/jlatexmath/core/GeoGebraLogoAtom.java
Java
apache-2.0
1,790
package jvm; public class MemoryGC { public static int _1MB =1024*1024; /** * -Xms20m -Xmx20m -Xmn10m -verbose:GC -XX:+PrintGCDetails -XX:SurvivorRatio=8 // -XX:MaxTenuringThreshold=1 */ public void testGc() { byte[] var1 = new byte[_1MB/4]; byte[] var2 = new byte[4*_1MB]; //f...
outskywind/myproject
demos/src/main/java/jvm/MemoryGC.java
Java
apache-2.0
645
package info.donsun.browser.executor; import info.donsun.browser.JBrowser; import info.donsun.browser.JBrowser.CookieOption; import info.donsun.jwebsoup.Connection.Cookie; import info.donsun.jwebsoup.Connection.Executor; import info.donsun.jwebsoup.Connection.KeyVal; import info.donsun.jwebsoup.Connection.HttpMethod; ...
donsunsoft/donsun-framework
donsun-browser/src/main/java/info/donsun/browser/executor/NativeSwingExecutor.java
Java
apache-2.0
8,632
/** * Copyright 2017-2019 The GreyCat Authors. All rights reserved. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Un...
datathings/greycat
greycat/src/main/java/greycat/struct/proxy/LongArrayProxy.java
Java
apache-2.0
2,811
/** * Copyright 2008-2017 Qualogy Solutions 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 law...
qafedev/qafe-platform
qafe-web-gwt/src/main/java/com/qualogy/qafe/gwt/client/vo/ui/SplitPanelGVO.java
Java
apache-2.0
1,748
package com.fishercoder; import com.fishercoder.solutions._740; import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.assertEquals; public class _740Test { private static _740.Solution1 solution1; private static int[] nums; @BeforeClass public static void setup() { solution...
fishercoder1534/Leetcode
src/test/java/com/fishercoder/_740Test.java
Java
apache-2.0
603
package chatty.bot.badges.Cmds.Offers; public class CmdCancelSellOrder extends CmdOffer{ }
Jolicost/ChattyTpp
src/chatty/bot/badges/Cmds/Offers/CmdCancelSellOrder.java
Java
apache-2.0
98
package ua.stqa.mantis.tests; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import ru.lanwen.verbalregex.VerbalExpression; import ua.stqa.mantis.model.MailMessage; import javax.mail.MessagingException; import java.io.IOException; import java...
yurava2005/Java_training
Mantisbt-tests/src/test/java/ua/stqa/mantis/tests/RegistrationTests.java
Java
apache-2.0
1,531
package natlab.tame.valueanalysis.components.rangeValue; import natlab.tame.valueanalysis.value.Value; import natlab.tame.valueanalysis.value.ValueFactory; public class RangeValueFactory { public RangeValueFactory() { } public RangeValue newRangeValueFromDouble(Double value) { return new RangeValue(new Dom...
Sable/mclab-core
languages/Natlab/src/natlab/tame/valueanalysis/components/rangeValue/RangeValueFactory.java
Java
apache-2.0
595
/* * 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 applicable ...
aosp-mirror/platform_frameworks_support
leanback/src/main/java/androidx/leanback/widget/Row.java
Java
apache-2.0
3,886
package org.gradle.test.performance.mediummonolithicjavaproject.p220; import org.junit.Test; import static org.junit.Assert.*; public class Test4417 { Production4417 objectUnderTest = new Production4417(); @Test public void testProperty0() { String value = "value"; objectUnderTest....
oehme/analysing-gradle-performance
my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p220/Test4417.java
Java
apache-2.0
2,111
package com.innerfunction.json; import java.io.IOException; import java.io.StringWriter; import java.io.Writer; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.EnumSet; import java.util.HashSet; import java.util.List; import java.util.Set; import ns.foundation.NSKe...
innerfunction/if-json
src/com/innerfunction/json/JSONArray.java
Java
apache-2.0
21,099
/* * Copyright © 2014 - 2019 Leipzig University (Database Research Group) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
rostam/gradoop
gradoop-flink/src/main/java/org/gradoop/flink/model/impl/operators/matching/single/cypher/debug/package-info.java
Java
apache-2.0
789
package s5_greedy; public class Solution5Factory { /** * @description ÏÂÒ»¸öÅÅÁÐ Next Permutation */ public static S52_NextPermutation produceSolution52() { return new S52_NextPermutation(); } /** * @description Âäµ¥µÄÊý Single Number */ public static S82_SingleNumber produceSolution82...
AhMao/LintCode_LadderTraining
src/s5_greedy/Solution5Factory.java
Java
apache-2.0
823
/* * Copyright 2013, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
CvvT/AppTroy
app/src/main/java/org/cc/dexlib2/writer/builder/BuilderProtoReference.java
Java
apache-2.0
3,501
/* * 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...
praveev/druid
processing/src/main/java/io/druid/segment/DimensionIndexer.java
Java
apache-2.0
15,426
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
suyucs/presto
presto-main/src/main/java/com/facebook/presto/server/HttpRemoteTask.java
Java
apache-2.0
39,864
/** * OLAT - Online Learning and Training<br> * http://www.olat.org * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unl...
stevenhva/InfoLearn_OpenOLAT
src/main/java/org/olat/core/commons/chiefcontrollers/BaseChiefControllerCreator.java
Java
apache-2.0
3,455
/* * Copyright (C) 2017 blunden * * 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...
blunden/DoNotDisturbSync
wear/src/main/java/se/blunden/donotdisturbsync/DummyNotificationListener.java
Java
apache-2.0
2,238
/* * 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-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/transform/DescribeAutomationExecutionsResultJsonUnmarshaller.java
Java
apache-2.0
3,453
package formats.xml; public class XMLUnkownFormat extends formats.AbstractFormat { @Override public String getString(int part) { return ""; } }
ciaracdb/LOG6302
src/formats/xml/XMLUnkownFormat.java
Java
apache-2.0
165
package org.adligo.tests4j_tests.run.helpers.class_loading_mocks; public interface MockI_GetAndSetString extends MockI_GetString, MockI_SetString { }
adligo/tests4j_tests.adligo.org
src/org/adligo/tests4j_tests/run/helpers/class_loading_mocks/MockI_GetAndSetString.java
Java
apache-2.0
152
package com.nagao.mars.console.controller.action; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; ...
vegetaandbulma/mars
mars-console/src/main/java/com/nagao/mars/console/controller/action/PassportController.java
Java
apache-2.0
1,749
/* * Copyright 2017 Long Term Software 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...
miranda-messaging/miranda
src/main/java/com/ltsllc/miranda/manager/DirectoryManager.java
Java
apache-2.0
4,644
/* * Copyright 2007-2022 Scott C. Gray * * 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...
scgray/jsqsh
jsqsh-core/src/main/java/org/sqsh/options/ArgumentRequired.java
Java
apache-2.0
1,027
/** * Copyright 2013 Netflix, 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 ...
codechix/CodeChix-Public-Repo
pytheas-core/src/main/java/com/netflix/explorers/providers/SharedFreemarker.java
Java
apache-2.0
1,961
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.authentication; /** *UserNameAlreadyExistsException is a marker class which is thrown by the * newUser(String username...
willpassidomo/AuthenticationAPI
src/com/authentication/UserNameAlreadyExistsException.java
Java
apache-2.0
2,327
package org.jboss.resteasy.test.providers.jsonp.resource; import org.junit.Assert; import javax.json.JsonArray; import javax.json.JsonObject; import javax.json.JsonStructure; import javax.ws.rs.Consumes; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; @Path("/test/json") public class J...
awhitford/Resteasy
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/jsonp/resource/JsonpResource.java
Java
apache-2.0
2,312
/* * Copyright (C) 2009 JavaRosa * * 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 ...
dimagi/javarosa
javarosa/j2me/entity-select/src/org/javarosa/entity/model/view/EntitySelectSortPopup.java
Java
apache-2.0
3,515
/** * 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...
xiao-chen/hadoop
hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/ozone/container/common/TestEndPoint.java
Java
apache-2.0
22,197
package allow.simulator.knowledge.crf; import java.util.List; import allow.simulator.entity.Entity; import allow.simulator.knowledge.Experience; public interface CRFKnowledgeModel { boolean addEntry(Entity agent, List<Experience> entries, String tablePrefix); List<Experience> getPredictedItinerary(Entity agent,...
poxrucker/collaborative-learning-simulation
Simulator/src/allow/simulator/knowledge/crf/CRFKnowledgeModel.java
Java
apache-2.0
497
package org.maj.analyzer.service; import org.maj.analyzer.ingest.DataLoader; import org.maj.analyzer.ingest.StockDetailsLoader; import org.maj.analyzer.ingest.TrendLoader; import org.maj.analyzer.model.Decision; import org.maj.analyzer.model.SData; import org.maj.analyzer.model.Signal; import org.maj.analyzer.model.Sy...
shamikm/stockAnalyzer
src/main/java/org/maj/analyzer/service/AnalyzeService.java
Java
apache-2.0
3,146
package de.codecentric.recommendationService; import ch.qos.logback.classic.Level; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.dataformat.yaml.YAMLFactory; import de.codecentric.recommendationService.impostor.Impostor; import de...
ufried/resilience-tutorial
recommendationService/src/test/java/de/codecentric/recommendationService/TestHelper.java
Java
apache-2.0
4,934
/* Generated by Streams Studio: June 22, 2016 at 5:56:15 PM EDT */ package com.ibm.streamsx.health.analysis.ecg; import org.apache.log4j.Logger; import com.ibm.streams.operator.AbstractOperator; import com.ibm.streams.operator.OperatorContext; import com.ibm.streams.operator.OutputTuple; import com.ibm.streams.operat...
cancilla/streamsx.health
analyze/com.ibm.streamsx.health.analytics.ecg/impl/java/src/com/ibm/streamsx/health/analysis/ecg/QRSDetector.java
Java
apache-2.0
12,234
package org.mdbda.diagrameditor.features.resources; import java.net.URL; import org.eclipse.core.runtime.Platform; import org.eclipse.graphiti.features.IFeatureProvider; import org.eclipse.graphiti.features.context.ICreateContext; import org.mdbda.model.ModelFactory; import org.mdbda.model.Resource; import org.osgi.f...
fujaba/mdbda
org.hahnpro.mdbda.diagrameditor/src/org/mdbda/diagrameditor/features/resources/CreateGenericResourceFeature.java
Java
apache-2.0
1,246
package com.sfl.pms.persistence.repositories.order.payment; import com.sfl.pms.services.order.model.Order; import com.sfl.pms.services.order.model.payment.OrderPaymentChannel; import org.springframework.data.jpa.repository.JpaRepository; import javax.annotation.Nonnull; /** * User: Ruben Dilanyan * Company: SFL LL...
sflpro/ms_payment
persistence/persistence_core/src/main/java/com/sfl/pms/persistence/repositories/order/payment/AbstractOrderPaymentChannelRepository.java
Java
apache-2.0
643
package de.nl.moo.data.loader.designs; import de.nl.moo.data.DataMockConfig; import de.nl.moo.data.beans.designs.DesignsBean; import de.nl.moo.data.beans.designs.DesignsBeansConfig; import de.nl.moo.data.beans.designs.DesignsBuilderBean; import de.nl.moo.data.beans.designs.DesignsDesignBean; import de.nl.moo.json.Json...
dayaftereh/master-of-orion
src/test/java/de/nl/moo/data/loader/designs/DesignsBeanLoaderTests.java
Java
apache-2.0
3,849
/* * Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.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...
xasx/camunda-bpm-platform
engine/src/test/java/org/camunda/bpm/engine/test/standalone/deploy/TestCmmnTransformListener.java
Java
apache-2.0
5,899
/** * 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...
glahiru/airavata
airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/SecurityProtocol.java
Java
apache-2.0
2,355
/* * Copyright 2000-2017 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...
signed/intellij-community
platform/lang-impl/src/com/intellij/execution/actions/RunConfigurationsComboBoxAction.java
Java
apache-2.0
11,861
/******************************************************************************* * Copyright 2014 United States Government as represented by the * Administrator of the National Aeronautics and Space Administration. * All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you m...
nasa/OpenSPIFe
gov.nasa.ensemble.common.ui/src/gov/nasa/ensemble/common/ui/IStructureModifier.java
Java
apache-2.0
2,964
/* * (C) Copyright 2016 NUBOMEDIA (http://www.nubomedia.eu) * * 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...
nubomedia/nubomedia-magic-mirror
src/main/java/eu/nubomedia/tutorial/magicmirror/MagicMirrorApp.java
Java
apache-2.0
1,637
package hudson.plugins.mibsr; import hudson.model.AbstractBuild; import hudson.model.HealthReport; import hudson.plugins.mibsr.parser.BuildJobs; /** * TODO javadoc. * * @author Stephen Connolly * @since 08-Jan-2008 21:15:05 */ public class MIBSRBuildIndividualReport extends AbstractBuildReport<AbstractBuild<...
jenkinsci/mibsr-plugin
src/main/java/hudson/plugins/mibsr/MIBSRBuildIndividualReport.java
Java
apache-2.0
1,064
package javax.security.examples; import java.util.Map; import javax.security.auth.Subject; import javax.security.auth.callback.Callback; import javax.security.auth.callback.CallbackHandler; import javax.security.auth.callback.NameCallback; import javax.security.auth.callback.PasswordCallback; import javax.security.au...
kylinsoong/security-examples
jaas-authentication-tutorial/src/main/java/javax/security/examples/SampleLoginModule.java
Java
apache-2.0
10,570
/** * * 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"); ...
Jackygq1982/hbase_src
hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterStatusServlet.java
Java
apache-2.0
4,255
package com.mj.msort.utils; import static org.junit.Assert.assertTrue; import java.util.Comparator; import java.util.List; public class CheckUtils { public static <T> void assertSorted(T[] a, Comparator<? super T> c) { for(int i = 0 ; i < a.length -1 ; i++) { assertTrue(c.compare(a[i],a[i+1]) <= 0) ; ...
mdkhanga/my-blog-code
msort/src/test/java/com/mj/msort/utils/CheckUtils.java
Java
apache-2.0
529
package com.github.ginvavilon.android_eclipse.flavor1; import com.google.gson.GsonBuilder; public class Test { public Test() { new GsonBuilder().create(); } }
GinVavilon/gradle-android-eclipse
example/src/flavor1/java/com/github/ginvavilon/android_eclipse/flavor1/Test.java
Java
apache-2.0
179
/* * Copyright 2011 Google Inc. * Copyright 2014 Andreas Schildbach * * 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...
blockchain/bitcoinj
core/src/main/java/org/bitcoinj/core/Block.java
Java
apache-2.0
43,706
/* * 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 ...
cdancy/bitbucket-rest
src/main/java/com/cdancy/bitbucket/rest/domain/repository/Repository.java
Java
apache-2.0
3,025
/* * 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 ...
hardfish/justTest
profitbricks/src/test/java/org/jclouds/profitbricks/binder/loadbalancer/DeregisterLoadBalancerRequestBinderTest.java
Java
apache-2.0
2,253
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.model.test.utils; import com.yahoo.component.Version; import com.yahoo.config.model.ConfigModelRegistry; import com.yahoo.config.model.NullConfigModelRegistry; import com.yahoo.config.model....
vespa-engine/vespa
config-model/src/test/java/com/yahoo/vespa/model/test/utils/VespaModelCreatorWithFilePkg.java
Java
apache-2.0
3,123
/*************************************************************************** Copyright (c) 2016, EPAM SYSTEMS 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/license...
epam/DLab
services/billing-aws/src/main/java/com/epam/dlab/core/parser/CommonFormat.java
Java
apache-2.0
8,802
/*package com.example.dell.logactivity; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.a...
YiNPNG/test
LogActivity/app/src/main/java/com/example/dell/logactivity/MainActivity.java
Java
apache-2.0
2,644
/* * 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...
jimczi/elasticsearch
core/src/main/java/org/elasticsearch/index/shard/IndexShard.java
Java
apache-2.0
118,162
/* Copyright 2008-2015 Genentech 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 t...
chemalot/chemalot
src/com/genentech/application/property/SDFCalculate.java
Java
apache-2.0
24,768
package com.dianping.cat.report.task.matrix; import java.util.Date; import java.util.Set; import org.unidal.lookup.annotation.Inject; import com.dianping.cat.Cat; import com.dianping.cat.configuration.NetworkInterfaceManager; import com.dianping.cat.consumer.matrix.MatrixAnalyzer; import com.dianping.cat.consumer.ma...
ServerStarted/cat
cat-home/src/main/java/com/dianping/cat/report/task/matrix/MatrixReportBuilder.java
Java
apache-2.0
4,778
package org.spincast.plugins.jdbc.statements; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.ArrayList; import java.util.List; import org.spincast.core.utils.SpincastStatics; import org.spincast.plugins.jdbc.SpincastResultSetDefault; import com.google.injec...
spincast/spincast-framework
spincast-plugins/spincast-plugins-jdbc-parent/spincast-plugins-jdbc/src/main/java/org/spincast/plugins/jdbc/statements/DeleteStatementDefault.java
Java
apache-2.0
2,500
package at.loup.commons.functional.functions; @FunctionalInterface public interface Function1<RETURN_TYPE, VALUE_1> { public RETURN_TYPE execute(VALUE_1 value1); }
Traubenfuchs/loup
loup-commons/src/main/java/at/loup/commons/functional/functions/Function1.java
Java
apache-2.0
166
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2020.07....
Netflix/photon
generated/org/smpte_ra/schemas/st2067_2_2020/ObjectFactory.java
Java
apache-2.0
8,081
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package net.sf.mmm.util.exception.api; import net.sf.mmm.util.nls.api.NlsMessage; /** * This is a generic exception to transport an arbitrary {@link #isForUser() user} error * {@link #get...
m-m-m/util
exception/src/main/java/net/sf/mmm/util/exception/api/BusinessErrorUserException.java
Java
apache-2.0
1,798
package ca.intelliware.ihtsdo.mlds.config; import org.springframework.boot.bind.RelaxedPropertyResolver; import org.springframework.context.EnvironmentAware; import org.springframework.context.MessageSource; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration...
IHTSDO/MLDS
src/main/java/ca/intelliware/ihtsdo/mlds/config/LocaleConfiguration.java
Java
apache-2.0
2,249
/* * Copyright (c) 2017 Jalotsav * * 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...
jalotsav/JamnadasConnect
app/src/main/java/com/jalotsav/jamnadasconnect/models/teacher/MdlTeacherEditRes.java
Java
apache-2.0
1,278
package com.communote.server.api.core.image; /** * Exception to be thrown if an image type is not found. * * @author Communote GmbH - <a href="http://www.communote.com/">http://www.communote.com/</a> * */ public class ImageTypeNotFoundException extends Exception { /** * default serial versi...
Communote/communote-server
communote/api/src/main/java/com/communote/server/api/core/image/ImageTypeNotFoundException.java
Java
apache-2.0
628
package com.greenbird.configuration.jmx; import com.google.common.base.Joiner; import com.greenbird.configuration.ContextLoadingTestBase; import com.greenbird.test.GreenbirdTestException; import org.junit.Before; import org.junit.Test; import org.springframework.jmx.support.JmxUtils; import javax.management.MBeanServ...
greenbird/greenbird-configuration
src/test/java/com/greenbird/configuration/jmx/ConfigurationMBeanJMXTest.java
Java
apache-2.0
3,618
/* * 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...
trangvh/elasticsearch
qa/evil-tests/src/test/java/org/elasticsearch/bootstrap/EvilSecurityTests.java
Java
apache-2.0
11,438
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
JoelMarcey/buck
test/com/facebook/buck/cli/cquery/ConfiguredQueryCommandIntegrationTest.java
Java
apache-2.0
29,321
/* * 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-aiplatform
proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FractionSplitOrBuilder.java
Java
apache-2.0
1,686
package io.effectus.cqrs.iot.measurement; import lombok.Builder; import lombok.Data; import lombok.ToString; /** * Created by gadei on 7/13/2017. */ @Data @Builder @ToString public class Measurement { private final String sensor; private final int size; private int index; private float data[]; ...
effectus-io/effectus-cqrs
src/test/java/io/effectus/cqrs/iot/measurement/Measurement.java
Java
apache-2.0
379
external int hasDisk; external double safetyIndex; external double overload; external double useRatio; public class LoggerClient { public static void main(String[] args) { Logger logger = new LoggerImpl(new SysLogGenerator(), new LocalAppender()); LoggerLevel level = new LoggerLevel("debug"); logger.log(lev...
xjtu3c/GranuleJ
GOP/GranuleJIDE/example/Log/src/LoggerClient.java
Java
apache-2.0
449
package com.planet_ink.coffee_mud.Commands; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.pla...
bozimmerman/CoffeeMud
com/planet_ink/coffee_mud/Commands/ClanCreate.java
Java
apache-2.0
9,383
/** * $RCSfile$ * $Revision$ * $Date$ * * Copyright 2003-2007 Jive Software. * * 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/lice...
msdx/AndroidPNClient
androidpn/src/main/java/org/jivesoftware/smack/PacketWriter.java
Java
apache-2.0
10,916
/* * This is part of Geomajas, a GIS framework, http://www.geomajas.org/. * * Copyright 2008-2015 Geosparc nv, http://www.geosparc.com/, Belgium. * * The program is available in open source according to the Apache * License, Version 2.0. All contributions in this program are covered * by the Geomajas Contributor...
geomajas/geomajas-project-sld
api/src/main/java/org/geomajas/sld/GreenChannelInfo.java
Java
apache-2.0
1,956
package com.lindar.sergent; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.EnableAspectJAutoProxy; @Configuration @EnableAspectJAutoProxy public class AppConfig { }
lindar-open/sergent
src/main/java/com/lindar/sergent/AppConfig.java
Java
apache-2.0
227
package ru.job4j.tracker; import java.util.Calendar; import java.util.Formatter; /** * Класс для вывода меню. * * @author Alexey Rastorguev (rastorguev00@gmail.com) * @version $1d$ * @since 20.10.2017 */ public class StartUI { /** * хранит в себе объект пользовательского интерфейса. */ priva...
nihrom205/java-a-to-z
chapter_002/src/main/java/ru/job4j/tracker/StartUI.java
Java
apache-2.0
1,720
/** * Copyright 2013-2019 the original author or authors from the Jeddict project (https://jeddict.github.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.ap...
jeddict/jCode
runtime/src/main/java/io/github/jeddict/runtime/PayaraServer.java
Java
apache-2.0
2,191
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0, (the "License"); you ma...
equella/Equella
Source/Plugins/Core/com.equella.serverbase/src/com/tle/core/migration/MigrationStatus.java
Java
apache-2.0
2,142
/** * This file is part of the Iritgo/Aktera Framework. * * Copyright (C) 2005-2011 Iritgo Technologies. * Copyright (C) 2003-2005 BueroByte GbR. * * Iritgo 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 m...
iritgo/iritgo-aktera
aktera-journal-aktario/src/main/java/de/iritgo/aktera/journal/command/RefreshJournal.java
Java
apache-2.0
2,532
package com.af.config; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.ImportResource; import org.springframework.context.annotation.PropertySource; @Configuration @ComponentScan("com.auth0") @Impor...
aaronfdes/Angular2-AuthO-Spring
Spring-Auth0/src/main/java/com/af/config/Auth0Config.java
Java
apache-2.0
446
/* * * * NetworkWSTest.java * * Copyright (C) 2018 DataArt * * 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 * * U...
devicehive/devicehive-java
websocket/src/test/java/com/github/devicehive/websocket/NetworkWSTest.java
Java
apache-2.0
9,019
/* * Sys-Api (https://github.com/Krillsson/sys-api) * * Copyright 2017 Christian Jensen / Krillsson * * 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/lice...
Krillsson/sys-api
server/src/main/java/com/krillsson/sysapi/core/metrics/MetricsProvider.java
Java
apache-2.0
5,953
/* * 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 ...
pjain1/druid
benchmarks/src/test/java/org/apache/druid/benchmark/query/timecompare/TimeCompareBenchmark.java
Java
apache-2.0
15,777
/* * Copyright 2016 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 required b...
EBIvariation/variation-commons
variation-commons-mongodb/src/main/java/uk/ac/ebi/eva/commons/mongodb/entities/FeatureCoordinatesMongo.java
Java
apache-2.0
2,475
package ru.ivanovpv.gorets.psm.view; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.database.CursorIndexOutOfBoundsException; import android.graphics.Bitmap; import android.net.Uri; import android.os.Bundle; import android.support.v4.widget.CursorAdapter; ...
ivanovpv/darksms
psm/src/main/java/ru/ivanovpv/gorets/psm/view/NewConversationCursorRowAdapter.java
Java
apache-2.0
19,947
/* * Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Un...
delebash/orientdb-parent
tests/src/test/java/com/orientechnologies/orient/test/database/auto/WrongQueryTest.java
Java
apache-2.0
2,082
/* * Copyright (c) 2007, 2015, 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...
itgeeker/jdk
src/com/sun/org/apache/bcel/internal/generic/DCMPL.java
Java
apache-2.0
3,862
/* * Copyright 2015 herd contributors * * 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 ...
FINRAOS/herd
herd-code/herd-tools/herd-tools-common/src/test/java/org/finra/herd/tools/common/databridge/AbstractDataBridgeTest.java
Java
apache-2.0
32,858
package me.panavtec.cleancontacts.data.repository.caching.strategy.list; import java.util.ArrayList; import java.util.List; import me.panavtec.cleancontacts.data.repository.caching.strategy.CachingStrategy; public class ListCachingStrategy<T> implements CachingStrategy<List<T>> { private final CachingStrategy<T> c...
PaNaVTEC/Clean-Contacts
data/src/main/java/me/panavtec/cleancontacts/data/repository/caching/strategy/list/ListCachingStrategy.java
Java
apache-2.0
1,051
package org.edx.indonesiax.loader; import android.content.Context; import android.os.Bundle; import android.support.v4.content.AsyncTaskLoader; import android.text.TextUtils; import org.edx.indonesiax.core.IEdxEnvironment; import org.edx.indonesiax.social.SocialMember; import java.util.List; import java.util.Observa...
ariestiyansyah/indonesiax-android
VideoLocker/src/main/java/org/edx/indonesiax/loader/FriendsInCourseLoader.java
Java
apache-2.0
3,235
/* * Copyright 2001-2011 Stephen Colebourne * * 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 a...
wspeirs/sop4j-base
src/main/java/com/sop4j/base/joda/time/format/DateTimeFormatterBuilder.java
Java
apache-2.0
110,031
/* * #%L * BroadleafCommerce Framework * %% * Copyright (C) 2009 - 2013 Broadleaf Commerce * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licens...
takbani/blcdemo
core/broadleaf-framework/src/main/java/org/broadleafcommerce/core/offer/dao/OfferCodeDao.java
Java
apache-2.0
1,054
/* * Copyright 2012 National Instruments 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 * * Unles...
PIEFramework/PIE
R2/pie-model/src/main/java/com/pieframework/model/PIEID.java
Java
apache-2.0
3,801
/* * 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 ...
Geomatys/sis
storage/sis-shapefile/src/test/java/org/apache/sis/storage/shapefile/ShapeFileTest.java
Java
apache-2.0
9,083
/* * 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 ...
shaoxuan-wang/flink
flink-table/flink-table-common/src/main/java/org/apache/flink/table/sources/FilterableTableSource.java
Java
apache-2.0
2,605
/* * Copyright 2014 Simone Filice and Giuseppe Castellucci and Danilo Croce and Roberto Basili * 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/LICENS...
SAG-KeLP/kelp-full
src/main/java/it/uniroma2/sag/kelp/examples/demo/rcv1/RCV1BinaryTextCategorizationPAExperimentUtils.java
Java
apache-2.0
3,034
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.math.function; import org.apache.commons.lang.Validate; import com.opengamma.analytics.financial.interestrate.NelsonSiegelSvennsonBondCurveModel; im...
McLeodMoores/starling
projects/analytics/src/main/java/com/opengamma/analytics/math/function/ParameterizedFunction.java
Java
apache-2.0
3,191
/* * Copyright 2014-2016 Netflix, 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...
pstout/spectator
spectator-reg-atlas/src/main/java/com/netflix/spectator/atlas/AtlasTimer.java
Java
apache-2.0
5,044