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 2019-2021 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
fhir/com.b2international.snowowl.fhir.rest.tests/src/com/b2international/snowowl/fhir/tests/TypedPropertySerializationTest.java
Java
apache-2.0
3,595
package com.superSaller.controller; import java.util.Set; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import com.superSaller.beans.outsideSupportSys.entities.Good; /** * @author 邱依强 *...
ArvinSiChuan/SupperSaller
SuperSaller/src/com/superSaller/controller/CashierController.java
Java
apache-2.0
869
package ru.job4j.specialty; /** * Profession. * * @author Vitaly Zubov (mailto:Zubov.VP@yandex.ru). * @version $Id$ * @since 0.1 */ public class Profession { /** * Добавления переменнной age. */ public int age; /** * Добавления переменнной name. */ public String name; /** * Добавлен...
ZubovVP/ZubovVP
chapter_002/src/main/java/ru/job4j/specialty/Profession.java
Java
apache-2.0
1,453
package com.cloud.agent; import com.cloud.legacymodel.communication.answer.AgentControlAnswer; import com.cloud.legacymodel.communication.answer.Answer; import com.cloud.legacymodel.communication.command.Command; import com.cloud.legacymodel.communication.command.agentcontrol.AgentControlCommand; import com.cloud.lega...
MissionCriticalCloud/cosmic
cosmic-core/engine/components-api/src/main/java/com/cloud/agent/Listener.java
Java
apache-2.0
3,949
/* * Copyright 2012-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
denizt/buck
src/com/facebook/buck/android/UberRDotJavaUtil.java
Java
apache-2.0
11,628
package bader; public abstract class Mammal extends Animal {/*är också animal ärver från Animalklassen*/ private int gestationTime; public Mammal(String latinName, int gestationTime) { super (latinName); // TODO Auto-generated constructor stub } public int getGestationTime(){ return this.gestationTi...
Kaoscillator/KDA405_Marcus_B
KD405A_Bader_M_uppgift4B/src/bader/Mammal.java
Java
apache-2.0
331
// ============================================================================ // Copyright (C) 2006-2018 Talend Inc. - www.talend.com // // This source code is available under agreement available at // https://github.com/Talend/data-prep/blob/master/LICENSE // // You should have received a copy of the agreement // al...
Talend/data-prep
dataprep-api/src/main/java/org/talend/dataprep/api/service/VersionServiceAPI.java
Java
apache-2.0
2,942
/* * Copyright © 2015 Cask Data, 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...
mpouttuclarke/cdap
cdap-data-fabric/src/main/java/co/cask/cdap/data2/datafabric/dataset/service/DatasetInstanceHandler.java
Java
apache-2.0
10,272
import com.google.gson.Gson; import com.google.gson.JsonElement; import com.google.gson.JsonParser; import com.google.gson.reflect.TypeToken; import org.apache.http.client.fluent.Executor; import org.apache.http.client.fluent.Request; import org.testng.SkipException; import java.io.IOException; import java.util.Set; ...
sergeiden/java_training
rest-sample/src/test/java/TestBase.java
Java
apache-2.0
1,355
/* * Copyright 2000-2016 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...
xfournet/intellij-community
platform/platform-tests/testSrc/com/intellij/psi/impl/PsiDocumentManagerImplTest.java
Java
apache-2.0
36,768
/* * 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-api-impl/activiti-api-process-runtime-impl/src/main/java/org/activiti/runtime/api/event/internal/MessageSubscriptionCancelledListenerDelegate.java
Java
apache-2.0
2,653
/* * Copyright 2021 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
GaneshSPatil/gocd
agent-common/src/test/java/com/thoughtworks/go/agent/common/util/HeaderUtilTest.java
Java
apache-2.0
2,802
/* * Copyright 1999-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 ...
vivosys/orientdb
core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/binary/impl/index/OCompositeKeySerializer.java
Java
apache-2.0
5,585
package org.hl7.v3; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /...
KRMAssociatesInc/eHMP
lib/mvi/org/hl7/v3/PRPAMT201306UV02MatchAlgorithm.java
Java
apache-2.0
5,669
package org.nkumar.ssql.model; public abstract class CreateEntityStatement implements DdlStatement { protected final String name; protected Comment[] comments; protected PlaceHolder openingPlaceHolder; protected PlaceHolder closingPlaceHolder; protected CreateEntityStatement(String name) { ...
knishant/ssql
src/main/java/org/nkumar/ssql/model/CreateEntityStatement.java
Java
apache-2.0
1,045
package org.gridkit.util.formating; import static org.assertj.core.api.Assertions.assertThat; import java.text.DecimalFormat; import java.util.TimeZone; import org.junit.Test; public class SimpleNumberFormatterTest { private static char localeDecimalSeparator = ((DecimalFormat)DecimalFormat.getInstance()).getD...
aragozin/jvm-tools
sjk-core/src/test/java/org/gridkit/util/formating/SimpleNumberFormatterTest.java
Java
apache-2.0
1,691
/* * 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...
brwe/es-token-plugin
src/main/java/org/elasticsearch/action/allterms/AllTermsAction.java
Java
apache-2.0
1,500
package com.gscopetech.entity; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.Data; import lombok.EqualsAndHashCode; import javax.persistence.*; import javax.persistence.criteria.CriteriaBuilder; import com.fasterxml.jackson.annotation.JsonBackReference; import com.fasterxml.jackson.annotation.Jso...
iyaoqiujie/airsim
src/main/java/com/gscopetech/entity/WiFiDevice.java
Java
apache-2.0
1,625
/* * Copyright (c) 2008-2016, Hazelcast, 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 ...
lmjacksoniii/hazelcast
hazelcast/src/main/java/com/hazelcast/spi/impl/operationservice/impl/InvocationRegistry.java
Java
apache-2.0
7,381
package name.kuznetsov.andrei.scoresightreading.views; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.util.AttributeSet; import android.view.View; import java.util.LinkedList; import java.util.L...
andrei-kuznetsov/notes-sight-reading-trainer
app/src/main/java/name/kuznetsov/andrei/scoresightreading/views/StaveView.java
Java
apache-2.0
11,264
/* * #%L * omakase * %% * Copyright (C) 2015 Project Omakase 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 * * Unles...
projectomakase/omakase
omakase/src/main/java/org/projectomakase/omakase/content/rest/v1/model/VariantModel.java
Java
apache-2.0
1,718
package ca.waterloo.dsg.graphflow.query.parser; import org.antlr.v4.runtime.BaseErrorListener; import org.antlr.v4.runtime.Parser; import org.antlr.v4.runtime.RecognitionException; import org.antlr.v4.runtime.Recognizer; import org.antlr.v4.runtime.atn.ATNConfigSet; import org.antlr.v4.runtime.dfa.DFA; import org.antl...
graphflow/graphflow
src/main/java/ca/waterloo/dsg/graphflow/query/parser/ErrorListener.java
Java
apache-2.0
1,951
/* * Copyright 2016-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
griffon/griffon
tutorials/reactive/src/main/java/org/example/api/Links.java
Java
apache-2.0
3,255
/* * 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 ...
shakamunyi/beam
sdks/java/core/src/test/java/com/google/cloud/dataflow/sdk/transforms/DoFnTesterTest.java
Java
apache-2.0
8,727
package org.wso2.carbon.apimgt.rest.api.gateway.v1.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import javax.validation.constraints.*; import io.swagger.annotations.*; import java.util.Objects; import javax.xml.bind.annotation.*; import org.wso2.car...
jaadds/carbon-apimgt
components/apimgt/org.wso2.carbon.apimgt.rest.api.gateway.v1/src/gen/java/org/wso2/carbon/apimgt/rest/api/gateway/v1/dto/ErrorListItemDTO.java
Java
apache-2.0
2,344
package ga.thesis.gui.table.model; import ga.thesis.hibernate.entities.AbsenceMatrix; import ga.thesis.hibernate.entities.Group; import ga.thesis.hibernate.entities.GroupCode; import ga.thesis.hibernate.entities.Teacher; import ga.thesis.hibernate.service.CRUDService; import ga.thesis.hibernate.service.PersistenceConf...
skylady/GAThesis2
src/main/java/ga/thesis/gui/table/model/TeacherTableModel.java
Java
apache-2.0
1,794
/* 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.ui.toolkit.impl.swt.view.sync; import net.sf.mmm.ui.toolkit.api.view.UiNode; import net.sf.mmm.ui.toolkit.impl.swt.UiFactorySwt; import org.eclipse.swt.widgets.Listener; ...
m-m-m/multimedia
mmm-uit/mmm-uit-impl-swt/src/main/java/net/sf/mmm/ui/toolkit/impl/swt/view/sync/AbstractSyncWidgetAccess.java
Java
apache-2.0
4,825
package tangyong.javaee.understadingcdi.basic06; import org.jboss.weld.environment.se.Weld; import org.jboss.weld.environment.se.WeldContainer; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.assertTrue; public class HotelTest { protected static Wel...
tangyong/JavaEETraining
UnderstandingCDI/basic/src/test/java/tangyong/javaee/understadingcdi/basic06/HotelTest.java
Java
apache-2.0
989
/* * Copyright 2012 Hai Bison * * 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 ...
sunilgautam/FileChooserActivity
src/group/pals/android/lib/ui/filechooser/utils/DataModelComparator.java
Java
apache-2.0
1,549
/* * Copyright (C) 2015-2022 Emanuel Moecklin * * 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...
1gravity/Android-RTEditor
RTEditor/src/main/java/com/onegravity/rteditor/utils/Helper.java
Java
apache-2.0
7,834
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v8/errors/time_zone_error.proto package com.google.ads.googleads.v8.errors; public interface TimeZoneErrorEnumOrBuilder extends // @@protoc_insertion_point(interface_extends:google.ads.googleads.v8.errors.TimeZoneErrorEnum...
googleads/google-ads-java
google-ads-stubs-v8/src/main/java/com/google/ads/googleads/v8/errors/TimeZoneErrorEnumOrBuilder.java
Java
apache-2.0
367
/* * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
GoogleCloudPlatform/java-docs-samples
spanner/changestreams/src/main/java/com/example/spanner/changestreams/model/ChangeStreamRecord.java
Java
apache-2.0
891
/* * Copyright (C) 2018 the original author or authors. * * This file is part of jBB Application Project. * * Licensed under the Apache License, Version 2.0 (the "License"); * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 */ package org.jbb.e2e.serenity.web.loggi...
jbb-project/jbb
jbb-web-app-e2e-tests/src/test/java/org/jbb/e2e/serenity/web/logging/LoggingSettingsSteps.java
Java
apache-2.0
5,031
/** * Copyright 2014 Kosta Korenkov * * 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 ...
jife94/bitcoinj
core/src/main/java/org/bitcoinj/wallet/RedeemData.java
Java
apache-2.0
2,503
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
jjeb/kettle-trunk
engine/src/org/pentaho/di/trans/steps/parallelgzipcsv/ParGzipCsvInput.java
Java
apache-2.0
23,573
/* * 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 ...
arina-ielchiieva/drill
exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/StreamingAggTemplate.java
Java
apache-2.0
20,427
// Copyright 2016 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
meteorcloudy/bazel
src/main/java/com/google/devtools/build/skyframe/SkyFunctionEnvironment.java
Java
apache-2.0
42,587
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.clustercontroller.core.status; import com.yahoo.vespa.clustercontroller.core.status.statuspage.StatusPageResponse; import com.yahoo.vespa.clustercontroller.core.status.statuspage.StatusPageS...
vespa-engine/vespa
clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/status/StatusHandler.java
Java
apache-2.0
5,611
package ru.job4j.dal.dao.queries;
Rmelev/rshmelev
music_store/src/main/java/ru/job4j/dal/dao/queries/package-info.java
Java
apache-2.0
33
package net.steel.circuit; public class CircuitBreaker { public enum CircuitState { CLOSED, HALF_OPEN, OPEN; } }
Mr-Steel/vertx_loadtest
src/main/java/net.steel.circuit/CircuitBreaker.java
Java
apache-2.0
145
/* * 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 ...
agentmilindu/stratos
components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/Monitor.java
Java
apache-2.0
5,445
/******************************************************************************* * * Copyright FUJITSU LIMITED 2017 * * Author: Aleh Khomich ...
opetrovski/development
oscm-portal/javasrc/org/oscm/ui/converter/CurrencyConverter.java
Java
apache-2.0
3,800
/* * 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 ...
code4wt/nutch-learning
src/java/org/apache/nutch/hostdb/UpdateHostDb.java
Java
apache-2.0
9,742
/* * Copyright (c) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundatio...
HuangLS/neo4j
community/kernel/src/main/java/org/neo4j/unsafe/impl/batchimport/executor/DynamicTaskExecutor.java
Java
apache-2.0
7,724
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
brat000012001/keycloak
testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/forms/ResetPasswordTest.java
Java
apache-2.0
44,355
package com.che.test.design.behavior.responsibility; /** * 作者:余天然 on 16/9/12 下午9:41 */ public interface IHandler { void handleRequest(String request); }
fishyer/BaseUtil
test/src/test/java/com/che/test/design/behavior/responsibility/IHandler.java
Java
apache-2.0
177
package com.delmar.sysSettings.dao; import com.delmar.core.dao.CoreDao; import com.delmar.sysSettings.model.SysSettingsItemTrl; public interface SysSettingsItemTrlDao extends CoreDao<SysSettingsItemTrl>{ }
ldlqdsdcn/wms
cargo/src/main/java/com/delmar/sysSettings/dao/SysSettingsItemTrlDao.java
Java
apache-2.0
209
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
miyakawataku/piggybank-ltsv
src/org/apache/pig/impl/util/ObjectSerializer.java
Java
apache-2.0
2,792
/* * #%L * wcm.io * %% * Copyright (C) 2015 wcm.io * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
wcm-io-caravan/caravan-jaxrs
integration-test/sample-service-2/src/main/java/io/wcm/caravan/jaxrs/publisher/sampleservice2/JaxRsService.java
Java
apache-2.0
1,584
package com.example.vkirillov.propertyanimation; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; /** * A simple {@link Fragment} subclass. */ public class AnimatedFragment extends Fragment { public AnimatedFr...
vvkirillov/com.nr.android.examples
propertyanimation/src/main/java/com/example/vkirillov/propertyanimation/AnimatedFragment.java
Java
apache-2.0
667
/* * 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-kinesisanalyticsv2/src/main/java/com/amazonaws/services/kinesisanalyticsv2/model/transform/CloudWatchLoggingOptionDescriptionJsonUnmarshaller.java
Java
apache-2.0
3,540
/* * Copyright (c) 2015 Andrew Coates * * 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...
datalorax/populace
populace-core/src/main/java/org/datalorax/populace/core/util/ImmutableTypeMapBuilder.java
Java
apache-2.0
3,437
/** * Copyright © 2013-2021 The OpenNTF Domino API 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 appl...
OpenNTF/org.openntf.domino
domino/rest/src/main/java/org/openntf/domino/rest/resources/frames/JsonFrameAdapter.java
Java
apache-2.0
35,155
package com.mcs.mframe.sample.testRecyclerView.adapter; import com.mcs.mframe.sample.R; import com.mcs.mframe.sample.testRecyclerView.model.DataItem; import com.mcs.mframe.sample.testRecyclerView.model.SectionDataItem; import com.mcs.mframe.ui.recyclerview.BaseSectionQuickAdapter; import com.mcs.mframe.ui.recycl...
mcshengInworking/MFrame
sample/src/main/java/com/mcs/mframe/sample/testRecyclerView/adapter/SectionAdapter.java
Java
apache-2.0
1,719
/* * IzPack - Copyright 2001-2008 Julien Ponge, All Rights Reserved. * * http://izpack.org/ * http://izpack.codehaus.org/ * * Copyright 2007 Dennis Reil * * 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 cop...
bradcfisher/izpack
izpack-installer/src/main/java/com/izforge/izpack/installer/console/ConsoleInstaller.java
Java
apache-2.0
12,596
/** * Copyright 2010-2015 Complex and Distributed IT Systems, TU Berlin * * 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 ...
citlab/Intercloud
intercloud-gateway/src/main/java/de/tu_berlin/cit/intercloud/gateway/services/ApplicationInstance.java
Java
apache-2.0
1,643
// Copyright 2014 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
UrbanCompass/bazel
src/test/java/com/google/devtools/build/skyframe/InMemoryNodeEntryTest.java
Java
apache-2.0
31,145
// // 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: 2019.07....
yeastrc/proxl-import-api
src_java_jaxb_classes_from_xsd/org/yeastrc/proxl_import/api/xml_dto/FilterableReportedPeptideAnnotations.java
Java
apache-2.0
2,737
//============================================================================ // // Copyright (C) 2006-2022 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have ...
Talend/components
components/components-snowflake/components-snowflake-runtime/src/test/java/org/talend/components/snowflake/runtime/SnowflakeAvroRegistryTest.java
Java
apache-2.0
13,744
package org.jbpm.process.core.timer; import java.util.Date; /** * BusinessCalendar allows for defining custom definitions of working days, hours and holidays * to be taken under consideration when scheduling time based activities such as timers or deadlines. */ public interface BusinessCalendar { /** * Ca...
hxf0801/jbpm
jbpm-flow/src/main/java/org/jbpm/process/core/timer/BusinessCalendar.java
Java
apache-2.0
1,005
package com.orientechnologies.orient.core.enterprise; import com.orientechnologies.orient.core.db.document.ODatabaseDocument; public interface OEnterpriseEndpoint { void haSetDbStatus(ODatabaseDocument db, String nodeName, String status); void haSetRole(ODatabaseDocument db, String nodeName, String role); voi...
orientechnologies/orientdb
core/src/main/java/com/orientechnologies/orient/core/enterprise/OEnterpriseEndpoint.java
Java
apache-2.0
392
package io.github.kobakei.androidhowtotest.activity; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.TextView; import javax.inject.Inject; import butterknife.Bind; import butterknife.ButterKnife; import io.github.kobakei.androidhowtotest.MyApplication; import io.githu...
kobakei/Android-HowToTest
app/src/main/java/io/github/kobakei/androidhowtotest/activity/ApiActivity.java
Java
apache-2.0
1,097
/* * Licensed to Crate.io GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not use this f...
crate/crate
server/src/main/java/io/crate/metadata/FunctionImplementation.java
Java
apache-2.0
2,954
/* * 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 ...
cchang738/drill
exec/java-exec/src/main/java/org/apache/drill/exec/planner/physical/visitor/StarColumnConverter.java
Java
apache-2.0
10,170
package concurrency; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.ReentrantLock; /** * * @author harish.sharma * */ public class ConditionTest { public static void main(String[] args) throws InterruptedException { ReentrantLock lock = new ReentrantLock(); Con...
harishsharma/junk
src/main/java/concurrency/ConditionTest.java
Java
apache-2.0
423
/* * Copyright 2013 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 ...
nathanchen/netty-netty-5.0.0.Alpha1
transport/src/main/java/io/netty/channel/group/DefaultChannelGroup.java
Java
apache-2.0
10,337
package mma.sepnotican.controller.restreflection; import mma.sepnotican.entity.Contact; public class ContactRestReflect { private long id; private String name; public ContactRestReflect() { } public long getId() { return id; } public void setId(long id) { this.id = id; ...
sepnotican/microcrm
src/main/java/mma/sepnotican/controller/restreflection/ContactRestReflect.java
Java
apache-2.0
532
/* * Copyright 2010-2011 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 "l...
apetresc/aws-sdk-for-java-on-gae
src/main/java/com/amazonaws/services/elasticloadbalancing/model/transform/DeleteLoadBalancerListenersRequestMarshaller.java
Java
apache-2.0
2,556
package com.github.mikephil.charting.renderer; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.graphics.drawable.Drawable; import com.github.mikephil.charting.animation.ChartAnimator; import com....
rahulmaddineni/Stayfit
app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/renderer/LineChartRenderer.java
Java
apache-2.0
21,030
/* * Copyright 2017 Guillaume Bailleul. * * 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...
gbm-bailleul/xemph
examples/src/main/java/net/gbmb/xemph/examples/PDFCreator.java
Java
apache-2.0
1,866
package com.hwangjr.rxbus; import com.hwangjr.rxbus.annotation.Produce; import com.hwangjr.rxbus.annotation.Subscribe; import com.hwangjr.rxbus.entity.EventType; import com.hwangjr.rxbus.entity.ProducerEvent; import com.hwangjr.rxbus.entity.SubscriberEvent; import com.hwangjr.rxbus.finder.Finder; import com.hwangjr.rx...
AndroidKnife/RxBus
rxbus/src/test/java/com/hwangjr/rxbus/UnregisteringSubscriberTest.java
Java
apache-2.0
4,574
/** * */ package com.juxtapose.example.ch10.retry.template; import org.springframework.retry.RetryCallback; import org.springframework.retry.RetryContext; import org.springframework.retry.RetryListener; /** * @author bruce.liu(mailto:jxta.liu@gmail.com) * 2013-10-22下午02:06:57 */ public class CountR...
lihongjie/spring-tutorial
SpringBatchSample/spring-batch-example/src/main/java/com/juxtapose/example/ch10/retry/template/CountRetryListener.java
Java
apache-2.0
1,334
/** **@author wjlmgqs **下午4:46:03 **BaseDaoImp.java **org.wjlmgqs.dao.imp **OADemo */ package org.wjlmgqs.core.dao.imp; import java.io.Serializable; import java.lang.reflect.ParameterizedType; import java.util.List; import javax.annotation.Resource; import org.hibernate.criterion.DetachedCriteria; import org.s...
WJLMGQS/OADemo
src/org/wjlmgqs/core/dao/imp/BaseDaoImp.java
Java
apache-2.0
1,986
package com.adt.blackjack; /** * Created by susanne on 04.04.2015. */ public class Karte { private int kartennummer; // Jede Karte hat eine eigene Nummer von 0-51 private String farbe; private int wert; private String bildwert; public Karte(int kartennummer) { this.kartennu...
DuDie72/Black_Jack_Android_Studio
Java/Karte.java
Java
apache-2.0
2,532
package zero.okhttp_piccaso_recyclerview; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.widget.ImageView; import com.squareup.picasso.Picasso; public class Detail_View extends AppCompat...
zeroabyss/Mydownload
app/src/main/java/zero/okhttp_piccaso_recyclerview/Detail_View.java
Java
apache-2.0
1,069
package com.github.longmiao.minddroid; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); }...
LongMiao/MindDroid
app/src/test/java/com/github/longmiao/minddroid/ExampleUnitTest.java
Java
apache-2.0
322
/* * Copyright 2019 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
naveenbhaskar/gocd
server/src/test-fast/java/com/thoughtworks/go/server/initializers/CommandRepositoryInitializerTest.java
Java
apache-2.0
9,554
/* * Copyright (c) 2013 HeBin * * 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...
loftcat/WeiCat
src/com/loftcat/weibo/sdk/UsersAPI.java
Java
apache-2.0
2,841
package io.quarkus.hibernate.orm.metadatabuildercontributor; import java.util.List; import org.hibernate.QueryException; import org.hibernate.boot.MetadataBuilder; import org.hibernate.boot.spi.MetadataBuilderContributor; import org.hibernate.dialect.function.SQLFunction; import org.hibernate.engine.spi.Mapping; impo...
quarkusio/quarkus
extensions/hibernate-orm/deployment/src/test/java/io/quarkus/hibernate/orm/metadatabuildercontributor/CustomMetadataBuilderContributor.java
Java
apache-2.0
1,582
package registofatura.ws.domain; import javax.xml.datatype.XMLGregorianCalendar; import org.joda.time.DateTime; public class Fatura extends Fatura_Base { private final pt.registofatura.ws.Fatura stubFatura; public Fatura(DateTime data, int numSeqFatura, int numSe...
Andre-Pires/DistributedSystems
registofatura-ws/src/registofatura/ws/domain/Fatura.java
Java
apache-2.0
3,097
/* Copyright 2012 Get AS 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 ...
getas/enonic-resourcepacker-plugin
src/main/java/no/get/cms/plugin/resourcecompressor/content/CompressedContent.java
Java
apache-2.0
798
package com.axj.apiw.model; import java.util.Date; public class FirstReplyText { private long id; private long userId; private String wechatId; private Date createTime; private Date modifyTime; private int delFlag; private String txt; public long getId() { return id; } public void setId(lon...
xiangtao/dxwx-transfer
src/main/java/com/axj/apiw/model/FirstReplyText.java
Java
apache-2.0
1,115
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.yy.base.dao.test; import java.util.Enumeration; import java.util.HashMap; import java.util.Map; import java.util.MissingResourceException; import java.util.ResourceBundle; import org.slf4j.Logger; import or...
yyitsz/myjavastudio
app-fw/app-base/src/main/java/org/yy/base/dao/test/BaseDaoTestCase.java
Java
apache-2.0
2,761
/* * Copyright 2000-2013 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/external-system-impl/src/com/intellij/openapi/externalSystem/service/project/manage/ProjectDataManagerImpl.java
Java
apache-2.0
17,677
/* * 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...
googleads/google-ads-java
google-ads-stubs-v10/src/test/java/com/google/ads/googleads/v10/services/MockCampaignLabelService.java
Java
apache-2.0
1,650
/* * Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute * Copyright [2016-2019] 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...
Ensembl/ensj-healthcheck
src/org/ensembl/healthcheck/testcase/generic/ProductionMeta.java
Java
apache-2.0
5,428
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
weld/core
porting-package/src/main/java/org/jboss/weld/tck/ContextsImpl.java
Java
apache-2.0
2,825
/******************************************************************************* * 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...
ofbizfriends/vogue
framework/service/src/org/ofbiz/service/engine/ScriptEngine.java
Java
apache-2.0
4,921
package com.bitgate.nucleus.render; import com.bitgate.nucleus.render.tag.DocumentTag; import com.bitgate.nucleus.util.VariableStore; /** * This is a storage bean class that is used to keep track of an actively rendered document. It is used by the * {@link DocumentTag}. */ public class RenderContext { private ...
KenSuenobu/nucleus
nucleus-render/src/main/java/com/bitgate/nucleus/render/RenderContext.java
Java
apache-2.0
3,510
<%# Copyright 2013-2017 the original author or authors from the StackStack project. This file is part of the StackStack project, see http://www.jhipster.tech/ 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. Yo...
siliconharborlabs/generator-jhipster
generators/server/templates/src/main/java/package/config/_Constants.java
Java
apache-2.0
1,085
/** * */ package org.flowvisor.events; import org.flowvisor.events.FVEvent; import java.nio.channels.*; /** * Event: underlying socket has pending I/O * * @author capveg * */ public class FVIOEvent extends FVEvent { SelectionKey sk; public FVIOEvent(SelectionKey sk, FVEventHandler src, FVEventHandler dst) {...
routeflow/AutomaticConfigurationRouteFlow
FLOWVISOR/src/org/flowvisor/events/FVIOEvent.java
Java
apache-2.0
419
/** * Copyright 2007-2016, Kaazing Corporation. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
jfallows/nuklei
shell/src/main/java/org/kaazing/nuklei/shell/Main.java
Java
apache-2.0
2,888
package org.carrot2.elasticsearch; import java.io.IOException; import org.elasticsearch.ElasticsearchException; import org.elasticsearch.ElasticsearchWrapperException; import org.elasticsearch.common.io.stream.StreamInput; /** Generic exception implementing {@link org.elasticsearch.ElasticsearchWrapperException} */ ...
carrot2/elasticsearch-carrot2
src/main/java/org/carrot2/elasticsearch/ClusteringException.java
Java
apache-2.0
814
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.ntp.snippets; import android.graphics.Bitmap; import android.support.annotation.Nullable; import org.chromium.base.Di...
mogoweb/365browser
app/src/main/java/org/chromium/chrome/browser/ntp/snippets/SnippetArticle.java
Java
apache-2.0
8,388
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.engine.depgraph; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Set; import org.testng.A...
McLeodMoores/starling
projects/engine/src/test/java/com/opengamma/engine/depgraph/ResolutionFailureTest.java
Java
apache-2.0
10,098
/** * hujiawei 15/4/25 * <p/> * 模拟 * <p/> * https://leetcode.com/problems/valid-sudoku/ */ public class ValidSudoku_36 { public static void main(String[] args) { } //参考:http://www.acmerblog.com/leetcode-solution-valid-sudoku-6211.html public boolean isValidSudoku(char[][] board) { boole...
hujiaweibujidao/XSolutions
java/leetcode/ValidSudoku_36.java
Java
apache-2.0
1,507
/** * 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 ...
jbertram/activemq-artemis-old
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/Consumer.java
Java
apache-2.0
2,567
/* * Copyright 2014 CIRDLES. * * 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...
johnzeringue/Topsoil
core/src/main/java/org/cirdles/topsoil/plot/Plot.java
Java
apache-2.0
1,027
package it.unibz.krdb.obda.reformulation.tests; /* * #%L * ontop-quest-owlapi3 * %% * Copyright (C) 2009 - 2014 Free University of Bozen-Bolzano * %% * 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 t...
eschwert/ontop
quest-owlapi3/src/test/java/it/unibz/krdb/obda/reformulation/tests/TreeWitnessRewriterH2Test.java
Java
apache-2.0
11,075
package com.github.monchenkoid.project_9_10_14.backend; import com.google.appengine.api.datastore.*; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; /** @author Iryna Monchenko @versio...
MonchenkoID/Project_9_10_14
Project_9_10_14/backend/src/main/java/com/github/monchenkoid/project_9_10_14/backend/GlossaryServlet.java
Java
apache-2.0
1,247