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 2017 BOCO Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
open-o/nfvo
drivers/ems/sems/boco/ems-driver/src/main/java/org/openo/nfvo/emsdriver/commons/model/CollectMsg.java
Java
apache-2.0
1,295
package ${package}.share.accounts; import com.gwtplatform.dispatch.rpc.shared.UnsecuredActionImpl; import ${package}.share.dispatch.GetResult; /** * AuthorizationAction require server side check subject and return roles it authorized. * * @author wangyc@risetek.com * */ public class AuthorizationActi...
kerongbaby/risetek.archetypes
gwtp-frame-shiro/src/main/resources/archetype-resources/shared/src/main/java/share/accounts/AuthorizationAction.java
Java
apache-2.0
426
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
sijie/bookkeeper
bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/zk/ZKMetadataDriverBase.java
Java
apache-2.0
11,455
package net.catchpole.B9.codec.transcoder; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; public class BaseTypeTranscoder { private final Map<String,TypeTranscoder> transcoderMap = new HashMap<String, TypeTranscoder>(); private final BooleanTranscoder booleanTran...
slipperyseal/B9
src/main/java/net/catchpole/B9/codec/transcoder/BaseTypeTranscoder.java
Java
apache-2.0
4,232
/** * */ package com.icode.resources; import java.io.IOException; import org.apache.log4j.Logger; import com.icode.util.ICodeUtils; /** * @author Alex Anderson <alex@frontlinesms.com> */ public class ClasspathPropertySet extends BasePropertySet { // > STATIC CONSTANTS /** Logging object for this instance. */...
kanarelo/icodecore
src/main/java/com/icode/resources/ClasspathPropertySet.java
Java
apache-2.0
1,117
package no.stelar7.api.r4j.impl.lor; import no.stelar7.api.r4j.basic.calling.*; import no.stelar7.api.r4j.basic.constants.api.*; import no.stelar7.api.r4j.basic.constants.api.regions.RuneterraShard; import no.stelar7.api.r4j.pojo.lor.ranked.*; import java.util.*; public class LORRankedAPI { private st...
stelar7/L4J8
src/main/java/no/stelar7/api/r4j/impl/lor/LORRankedAPI.java
Java
apache-2.0
1,772
/* * Copyright 2015 Jack.Alexander * * 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...
pzjack/webframe
src/main/java/com/dinglicom/pricepolicy/entity/PricePolicyHistory.java
Java
apache-2.0
3,989
import java.io.BufferedReader; import java.io.InputStreamReader; public class SimpleArraySum { public static void main(String [] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int size = Integer.parseInt(br.readLine()); int sum = 0; String [] inputArr = br.r...
theScratchLad/Algorithms
hackerrank/warmup/SimpleArraySum.java
Java
apache-2.0
570
/* * Copyright (C) 2011 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...
jamescfli/GitRepository
ActivityTest69UITest/app/src/main/java/cn/nec/nlc/jamesli/tools/at69uitest/CompatActionBarNavHandler.java
Java
apache-2.0
3,036
package com.cpe.musty.intent.pass; import java.util.Map; import org.json.JSONObject; public class CalPolyClassTranslator { private static final String SUBJECT_KEY = "subject"; private static final String CATALOG_NUMBER_KEY = "catalogNumber"; private static final String UNITS_KEY = "maxUnits"; ...
bwilli08/mustang-helper
src/main/java/com/cpe/musty/intent/pass/CalPolyClassTranslator.java
Java
apache-2.0
712
/* * Copyright 2017 StreamSets 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...
z123/datacollector
container/src/main/java/com/streamsets/datacollector/execution/manager/standalone/dagger/StandalonePipelineManagerModule.java
Java
apache-2.0
2,024
/* * 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 ...
pdxrunner/geode
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/SizeMessage.java
Java
apache-2.0
12,751
/* * Copyright (C) 2013 salesforce.com, inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
lhong375/aura
aura-impl/src/main/java/org/auraframework/test/TestContextAdapterImpl.java
Java
apache-2.0
2,030
/* * Copyright 2015 DECOIT 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 or agreed t...
decoit/cbor-if-map-tnc-base
src/main/java/de/decoit/simu/cbor/ifmap/deserializer/request/InternalRequestDeserializer.java
Java
apache-2.0
1,948
package jp.co.seattleconsulting.HumanRelationBuilding.form; import java.io.Serializable; /** * 社員情報削除画面のリクエストのパラメータを管理するクラス. * * @author Tsuyoshi Nakamura */ public class DeleteEmpForm implements Serializable { private static final long serialVersionUID = 1L; public String empId; }
seattleTsuyoshi/HumanRelationBuilding
src/main/java/jp/co/seattleconsulting/HumanRelationBuilding/form/DeleteEmpForm.java
Java
apache-2.0
355
package fr.sii.ogham.sms.sender.impl.ovh; /** * See <a href= * "https://docs.ovh.com/fr/sms/envoyer_des_sms_depuis_une_url_-_http2sms/#annexe_2">https://docs.ovh.com/fr/sms/envoyer_des_sms_depuis_une_url_-_http2sms/#annexe_2</a> * * @author Aurélien Baudet * */ public class DefaultSmsCodingDetector implements S...
groupe-sii/ogham
ogham-sms-ovh/src/main/java/fr/sii/ogham/sms/sender/impl/ovh/DefaultSmsCodingDetector.java
Java
apache-2.0
2,316
/** * 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...
sdw2330976/zookeeper-3.3.4-source
zookeeper-release-3.4.3/src/java/main/org/apache/zookeeper/ClientCnxn.java
Java
apache-2.0
58,793
/* * Copyright 2016 http://www.hswebframework.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
asiaon123/hsweb-framework
hsweb-authorization/hsweb-authorization-api/src/main/java/org/hswebframework/web/authorization/Authentication.java
Java
apache-2.0
5,309
/* * Copyright 2018 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 ...
google/capillary
lib/src/test/java/com/google/capillary/WebPushEncrypterManagerTest.java
Java
apache-2.0
2,343
/* * Copyright 2015 DECOIT 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 or agreed t...
decoit/cbor-if-map-simu-extensions
src/main/java/de/decoit/simu/cbor/ifmap/simu/metadata/singlevalue/CBORDeviceDiscoveredBy.java
Java
apache-2.0
4,682
package eu.modernmt.processing.tokenizer.languagetool; import eu.modernmt.lang.Language; import eu.modernmt.lang.UnsupportedLanguageException; import eu.modernmt.processing.ProcessingException; import eu.modernmt.processing.tokenizer.BaseTokenizer; import eu.modernmt.processing.tokenizer.TokenizedString; import eu.mod...
ModernMT/MMT
src/textprocessing/src/main/java/eu/modernmt/processing/tokenizer/languagetool/LanguageToolTokenAnnotator.java
Java
apache-2.0
2,813
/* 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...
motorina0/flowable-engine
modules/flowable-rest/src/test/java/org/flowable/rest/service/api/history/HistoricVariableInstanceQueryResourceTest.java
Java
apache-2.0
7,301
/* * Copyright 2016 Crown Copyright * * 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...
gchq/stroom
stroom-core-client/src/main/java/stroom/entity/client/presenter/ContentCallback.java
Java
apache-2.0
777
package uk.co.n3tw0rk.droidcart.shops.usecase; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import uk.co.n3tw0rk.droidcart.shops.domain.Shop; import uk.co.n3tw0rk.droidcart.shops.exceptions.ShopDoesNotExistException; import uk.co.n3tw0rk.droidcart.shop...
willitscale/DroidCartServer
src/main/java/uk/co/n3tw0rk/droidcart/shops/usecase/ShopUseCase.java
Java
apache-2.0
1,794
/** * Copyright 2014 Fernando Rincon Martin <frm.rincon@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 requ...
frincon/openeos
modules/org.openeos.services.ui/src/main/java/org/openeos/services/ui/form/abstractform/BFUITable.java
Java
apache-2.0
3,243
/* 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...
motorina0/flowable-engine
modules/flowable5-engine/src/main/java/org/activiti/engine/impl/HistoricActivityInstanceQueryImpl.java
Java
apache-2.0
7,091
/** * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
firebase/quickstart-android
storage/app/src/main/java/com/google/firebase/quickstart/firebasestorage/java/MainActivity.java
Java
apache-2.0
11,047
package com.sequenceiq.periscope.utils; import java.text.DecimalFormat; import com.sequenceiq.ambari.client.AmbariClient; public final class ClusterUtils { public static final DecimalFormat TIME_FORMAT = new DecimalFormat("##.##"); public static final int MAX_CAPACITY = 100; public static final int MI...
sequenceiq/cloudbreak
autoscale/src/main/java/com/sequenceiq/periscope/utils/ClusterUtils.java
Java
apache-2.0
505
/* * 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-fms/src/main/java/com/amazonaws/services/fms/model/transform/InvalidTypeExceptionUnmarshaller.java
Java
apache-2.0
2,778
/* * 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 ...
gonmarques/commons-collections
src/main/java/org/apache/commons/collections4/comparators/NullComparator.java
Java
apache-2.0
7,235
package org.qame.gen; import java.util.ArrayList; import java.util.List; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ObjectNode; public class Filters { private ObjectMapper mapper; private List<DataSource> dataSources; public List<Filter> parse( String expr ) ...
dbarvitsky/qame
framework-proto/src/main/java/org/qame/gen/Filters.java
Java
apache-2.0
3,015
/* * Copyright 2009 Red Hat, Inc. * * Red Hat licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
aperepel/netty
src/main/java/org/jboss/netty/channel/ChannelFutureListener.java
Java
apache-2.0
2,701
/* * citygml4j - The Open Source Java API for CityGML * https://github.com/citygml4j * * Copyright 2013-2022 Claus Nagel <claus.nagel@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 L...
citygml4j/citygml4j
src/main/java/org/citygml4j/model/gml/measures/Scale.java
Java
apache-2.0
1,372
package act_site; import act.cli.Command; import act.cli.JsonView; import act.cli.Required; import act.db.morphia.MorphiaDao; import act.db.morphia.MorphiaModel; import act.util.PropertySpec; import act.util.SimpleBean; import java.util.HashMap; import java.util.Map; import static act.controller.Controller.Util.notF...
actframework/act-website
src/main/java/act_site/Video.java
Java
apache-2.0
3,753
/** */ package decisions.impl; import de.uka.ipd.sdq.identifier.impl.IdentifierImpl; import decisions.DecisionsPackage; import decisions.Rationale; import org.eclipse.emf.ecore.EClass; /** * <!-- begin-user-doc --> * An implementation of the model object '<em><b>Rationale</b></em>'. * <!-- end-user-doc --> * <...
KAMP-Research/KAMP
bundles/Toometa/toometa.decisions/src/decisions/impl/RationaleImpl.java
Java
apache-2.0
2,952
/* * (C) Copyright 2014 Kurento (http://kurento.org/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
Kurento/kurento-java
kurento-integration-tests/kurento-test/src/test/java/org/kurento/test/functional/player/PlayerWebRtcTest.java
Java
apache-2.0
15,297
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package de.dimm.vsm.backup; import de.dimm.vsm.net.servlets.AgentApiEntry; import de.dimm.vsm.CS_Constants; import de.dimm.vsm.Exceptions.PathResolveException; import de.dimm.vsm.GeneralPreferences; import de.dimm.vsm.L...
markymarkmk2/VSMServer
src/de/dimm/vsm/backup/Restore.java
Java
apache-2.0
34,232
/* * Copyright (c) 2008-2017, 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 ...
emrahkocaman/hazelcast
hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/queue/QueuePollMessageTask.java
Java
apache-2.0
2,884
/* * 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...
Rikkola/guvnor
guvnor-webapp/src/main/java/org/drools/guvnor/server/util/BRDRTPersistence.java
Java
apache-2.0
4,610
package zoara.sfs2x.extension.handlers.player; import zoara.sfs2x.extension.simulation.ActivePlayer; import zoara.sfs2x.extension.simulation.World; import zoara.sfs2x.extension.utils.RoomHelper; import com.smartfoxserver.v2.entities.User; import com.smartfoxserver.v2.entities.data.ISFSObject; import com.smart...
xiehan/zoara-server
src/zoara/sfs2x/extension/handlers/player/PlayerSkillHandler.java
Java
apache-2.0
780
/* * 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-lookoutforvision/src/main/java/com/amazonaws/services/lookoutforvision/model/AccessDeniedException.java
Java
apache-2.0
1,234
package net.thetranquilpsychonaut.hashtagger.events; import java.util.List; /** * Created by itwenty on 6/3/14. */ public class TwitterTrendsEvent { private List<String> trends; private int trendingChoice; private int status; public TwitterTrendsEvent( List<String> trends, int tre...
iTwenty/Hashtagger
src/net/thetranquilpsychonaut/hashtagger/events/TwitterTrendsEvent.java
Java
apache-2.0
680
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
google/creatine-ads-inspector
src/main/java/com/google/cse/creatine/utils/GoogleCloudStorageUtils.java
Java
apache-2.0
3,275
/* * 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.produccion.controller; import javax.faces.application.FacesMessage; import javax.faces.bean.ManagedBean; import j...
marlonalexis/Veterinaria
veterinaria/veterinaria-web/src/main/java/com/produccion/controller/ChartBackBean.java
Java
apache-2.0
3,077
package uk.co.plogic.gwt.lib.cluster.domain; public class Coord { private double x,y; public final static double PRECISION = 0.00000001; // minimum difference between x and y public Coord(double x, double y) { super(); setX(x); setY(y); } public Coord() { // gotta trust the use of this constructor set...
caffeinate/gwt-map-scratch
src/uk/co/plogic/gwt/lib/cluster/domain/Coord.java
Java
apache-2.0
1,309
package org.n3r.aoc; import java.util.Properties; public interface PropertiesAware { void setProperties(Properties rootProperties, Properties properties); }
bingoohuang/aoc
src/main/java/org/n3r/aoc/PropertiesAware.java
Java
apache-2.0
163
/** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); ...
gouravshenoy/airavata
modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ui/widgets/component/ComponentTreeModel.java
Java
apache-2.0
2,078
/* * Copyright (c) 2016. Lorem ipsum dolor sit amet, consectetur adipiscing elit. * Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan. * Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna. * Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagi...
sega4revenge/Sega
app/src/main/java/com/sega/vimarket/service/GeocodeAddressIntentService.java
Java
apache-2.0
3,567
/* * Copyright 2012 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 ...
nmirasch/kie-wb-common
kie-wb-common-services/kie-wb-common-services-backend/src/main/java/org/kie/workbench/common/services/backend/builder/Builder.java
Java
apache-2.0
30,694
/* * Copyright (C) 2017 MINDORKS NEXTGEN PRIVATE 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 * * https://mindorks.com/license/apache-v2 * * Unless required by applicable...
sciage/FinalProject
app/src/main/java/in/beacandid/app/beacandid/ui/base/BaseViewHolder.java
Java
apache-2.0
1,768
/* * Copyright(c) DBFlute TestCo.,TestLtd. All Rights Reserved. */ package org.docksidestage.derby.dbflute.cbean.bs; import org.dbflute.cbean.AbstractConditionBean; import org.dbflute.cbean.ConditionBean; import org.dbflute.cbean.ConditionQuery; import org.dbflute.cbean.chelper.*; import org.dbflute.cbean.coption.*;...
dbflute-test/dbflute-test-dbms-derby
src/main/java/org/docksidestage/derby/dbflute/cbean/bs/BsServiceRankCB.java
Java
apache-2.0
27,404
/* * 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 ...
dkhwangbo/druid
java-util/src/test/java/org/apache/druid/java/util/common/guava/WithEffectSequenceTest.java
Java
apache-2.0
3,001
/* * Copyright Strimzi authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package io.strimzi.api.kafka.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotati...
scholzj/barnabas
api/src/main/java/io/strimzi/api/kafka/model/KafkaJmxAuthentication.java
Java
apache-2.0
1,633
/* * 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-sesv2/src/main/java/com/amazonaws/services/simpleemailv2/model/PutEmailIdentityDkimSigningAttributesResult.java
Java
apache-2.0
31,813
/** * 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...
srijeyanthan/hops
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/webapp/ContainerLogsUtils.java
Java
apache-2.0
8,041
package pocketbus.internal.codegen; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.FieldSpec; import com.squareup.javapoet.JavaFile; import com.squareup.javapoet.MethodSpec; import com.squareup.javapoet.ParameterizedTypeName; import com.squareup.javapoet.TypeName; import com.squareup.javapoet.Typ...
hansenji/PocketBus
compiler/src/main/java/pocketbus/internal/codegen/SubscriptionGenerator.java
Java
apache-2.0
9,486
package org.drip.execution.athl; /* * -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /*! * Copyright (C) 2017 Lakshmi Krishnamurthy * Copyright (C) 2016 Lakshmi Krishnamurthy * * This file is part of DRIP, a free-software/open-source library for buy/side financial/trading model...
lakshmiDRIP/DRIP
src/main/java/org/drip/execution/athl/TransactionRealization.java
Java
apache-2.0
7,077
/* * Copyright (C) 2011 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...
axmadjon/AndroidSlidingMenu
app/src/main/java/uz/greenwhite/slidingmenu/support/v10/volley/lib/request/toolbox/AndroidAuthenticator.java
Java
apache-2.0
3,775
/** * Copyright 2011-2021 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...
asakusafw/asakusafw-legacy
thundergate-project/asakusa-thundergate/src/test/java/test/modelgen/table/io/CacheFilesModelInput.java
Java
apache-2.0
2,001
/** * 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 m...
apache/wss4j
ws-security-stax/src/main/java/org/apache/wss4j/stax/impl/processor/output/SecurityHeaderOutputProcessor.java
Java
apache-2.0
10,616
// 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...
mufaddalq/cloudstack-datera-driver
core/src/com/cloud/resource/ServerResourceBase.java
Java
apache-2.0
10,574
package Graphs; public class Graphs { public static void main(String[] args) { AdjacencyList al = new AdjacencyList(); al.addVertex(1); al.addVertex(2); al.addVertex(3); al.addVertex(4); al.addVertex(5); al.addEdge(1, 2, 5); al.addEdge(1, 3, 5); ...
vyasgiridhar/Data-structures
Graphs/Graphs.java
Java
apache-2.0
2,742
/* * 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-retail/v2alpha/1.31.0/com/google/api/services/retail/v2alpha/model/GoogleCloudRetailV2alphaFulfillmentInfo.java
Java
apache-2.0
5,406
package gudusoft.gsqlparser.sql2xml.model; public class overlaps_predicate { }
sqlparser/sql2xml
sql2xml/src/gudusoft/gsqlparser/sql2xml/model/overlaps_predicate.java
Java
apache-2.0
82
package test.access; import test.BasePrivateAccessConfigurationMethods; public class BaseSamePackagePrivateAccessConfigurationMethods extends BasePrivateAccessConfigurationMethods { protected boolean m_samePackagePublic = true; protected boolean m_samePackageProtected = false; protected boolean m_samePackageD...
ludovicc/testng-debian
test-14/v4/src/test/access/BaseSamePackagePrivateAccessConfigurationMethods.java
Java
apache-2.0
979
/** * 2011-01-11 */ package org.ibase4j.core.support.security.coder; import java.security.MessageDigest; import org.ibase4j.core.support.security.SecurityCoder; /** * SHA加密组件 * * @author ShenHuaJie * @version 1.0 * @since 1.0 */ public abstract class SHACoder extends SecurityCoder { /** ...
spiritpeak/MyiBase4J
iBase4J-Common/src/main/java/org/ibase4j/core/support/security/coder/SHACoder.java
Java
apache-2.0
2,355
// Copyright 2018 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 writi...
googleads/googleads-java-lib
modules/adwords_axis/src/main/java/com/google/api/ads/adwords/axis/v201809/cm/CampaignPage.java
Java
apache-2.0
6,613
/* * Copyright 2002-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 ap...
huanglicong/quickdb
src/main/java/org/hlc/quickdb/executor/parameter/handler/MetadateParameterResolver.java
Java
apache-2.0
2,027
/* * 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-wafv2/src/main/java/com/amazonaws/services/wafv2/model/CreateWebACLResult.java
Java
apache-2.0
5,438
/* * Copyright © 2014 jjYBdx4IL (https://github.com/jjYBdx4IL) * * 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 ...
jjYBdx4IL/misc
osdapp/src/test/java/com/github/jjYBdx4IL/utils/osdapp/DisplayLevelTest.java
Java
apache-2.0
2,328
/* Copyright 2016 Artem Stasiuk 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, softw...
terma/m
m-server/src/test/java/com/github/terma/m/server/JschDemo.java
Java
apache-2.0
1,685
/* * Copyright 2014-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...
justinmuller/buck
src/com/facebook/buck/zip/ZipFileDescription.java
Java
apache-2.0
1,935
package edu.usc.softarch.disco.util; import java.io.*; import java.net.URL; import java.net.JarURLConnection; import java.util.jar.*; import java.util.zip.*; import java.util.Enumeration; import java.util.ArrayList; /** * Runtime Subclass Identification. * Utility class to determine what classes implement or ...
chrismattmann/disco
src/java/edu/usc/softarch/disco/util/RTSI.java
Java
apache-2.0
8,017
package org.woehlke.btw17.kandidaten.oodm.importer.service; import lombok.extern.slf4j.Slf4j; import org.junit.FixMethodOrder; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.MethodSorters; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot....
phasenraum2010/btw17kandidaten
src/test/java/org/woehlke/btw17/kandidaten/oodm/importer/service/Btw17StrukturdatenServiceTest.java
Java
apache-2.0
2,467
/* * 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-process-validation/src/main/java/org/activiti/validation/validator/ValidatorSetFactory.java
Java
apache-2.0
4,258
/* * 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-waf/src/main/java/com/amazonaws/services/waf/model/RegexMatchSet.java
Java
apache-2.0
21,258
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. /** * Note that this package also exists in another Vespa module, for historical * reasons. All Java classes should be kept in this module, and the other * module's package should remain empty. */ @ExportPackage...
vespa-engine/vespa
component/src/main/java/com/yahoo/container/di/componentgraph/package-info.java
Java
apache-2.0
472
package tatai; import java.util.HashMap; import javafx.stage.Stage; import tatai.page.AchievementPage; import tatai.page.Page; import tatai.page.StatisticsPage; /** ** State and controller class. Controls and stores state and behaviour of the application. ** @author dli294 **/ public class TataiController { // St...
lirenn/tatai
src/tatai/TataiController.java
Java
apache-2.0
2,502
package fr.javatronic.blog.massive.annotation1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_953 { }
lesaint/experimenting-annotation-processing
experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/Class_953.java
Java
apache-2.0
145
/** * Copyright 2010 The Apache Software Foundation * * 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...
ryanobjc/hbase
src/main/java/org/apache/hadoop/hbase/HConstants.java
Java
apache-2.0
12,745
/********************************************************************** Copyright (c) 2015 Andy Jefferson and others. 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://...
datanucleus/tests
jpa/general/src/java/org/datanucleus/samples/typeconversion/MyType2StringConverter.java
Java
apache-2.0
2,048
package example.repo; import example.model.Customer1772; import java.util.List; import org.springframework.data.repository.CrudRepository; public interface Customer1772Repository extends CrudRepository<Customer1772, Long> { List<Customer1772> findByLastName(String lastName); }
spring-projects/spring-data-examples
jpa/deferred/src/main/java/example/repo/Customer1772Repository.java
Java
apache-2.0
284
/* * Copyright 2012-2017 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...
dagnir/aws-sdk-java
aws-java-sdk-efs/src/main/java/com/amazonaws/services/elasticfilesystem/model/DeleteTagsRequest.java
Java
apache-2.0
6,157
package com.novbank.ndp.kernel.impl.model; import com.novbank.ndp.kernel.model.Container; import com.novbank.ndp.kernel.model.Resource; import com.novbank.ndp.kernel.util.jcr.JcrTypesUtils; import javax.jcr.Node; import static com.novbank.ndp.kernel.vocabulary.Vocabularies.*; /** * Created by CaoKe on 2015/5/17. ...
hitakaken/ndp
ndp-kernel-impl/ndp-kernel-oak/src/main/java/com/novbank/ndp/kernel/impl/model/ContainerImpl.java
Java
apache-2.0
881
/* * Copyright 2015 Adaptris 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 law or agree...
adaptris/interlok
interlok-core/src/test/java/com/adaptris/core/MessageLifecycleEventTest.java
Java
apache-2.0
6,944
import java.io.Serializable; public class Node implements Comparable<Node>, Serializable { int frequency = 0; byte b; boolean isLeaf, isParent, isLeftChild, isRightChild; Node leftChild, rightChild, parent; String encodedBits = ""; String bit = ""; String temp = ""; public Node(byte b, int frequency) { t...
RahulChidurala/HuffmanEncoding
Node.java
Java
apache-2.0
1,963
/* * 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-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/BatchDetachPolicy.java
Java
apache-2.0
6,318
package com.action.shejizhichan.chapter09; /** * @Description TODO * @Author wuyunfeng * @Date 2020-05-24 10:01 * @Version 1.0 */ public abstract class AbstractBlackHuman implements Human { @Override public void getColor() { System.out.println("黑色人种的皮肤颜色是黑色的!"); } @Override public vo...
pearpai/java_action
src/main/java/com/action/shejizhichan/chapter09/AbstractBlackHuman.java
Java
apache-2.0
439
/* * Copyright 2002 Felix Pahl. All rights reserved. * Use is subject to license terms. */ package info.joriki.pdf; /* compareTo ordering inconsistent with equals */ public class Sample implements Comparable { public float x; public float [] y; Sample (float x,float [] y) { this.x = x; this.y = y;...
emistoolbox/emistoolbox
libs/joriki/src/info/joriki/pdf/Sample.java
Java
apache-2.0
1,016
/******************************************************************************* * Copyright 2015, 2016 Junichi Tatemura * * 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://...
tatemura/congenio
src/test/java/com/nec/congenio/impl/ClassPathDocTest.java
Java
apache-2.0
1,539
package com.smartling.connector.hubspot.sdk.common; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.util.ArrayList; import java.util.List; @Data @AllArgsConstructor @NoArgsConstructor public class ListWrapper<T> { ...
Smartling/hubspot-rest-sdk-java
src/main/java/com/smartling/connector/hubspot/sdk/common/ListWrapper.java
Java
apache-2.0
462
package java.lang; /* * #%L * Matos * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2010 - 2014 Orange SA * %% * 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...
Orange-OpenSource/matos-profiles
matos-android/src/main/java/java/lang/VerifyError.java
Java
apache-2.0
847
/* * Copyright (C) 2017 Oasis Feng. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * 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:...
oasisfeng/condom
library/src/main/java/com/oasisfeng/condom/ContentResolverWrapper.java
Java
apache-2.0
4,627
package uk.co.mmckenzie.visual.containers; import static org.junit.Assert.*; import org.junit.After; import org.junit.Before; import org.junit.Test; import uk.co.mmckenzie.visual.model.DataBaseController; import uk.co.mmckenzie.visual.model.RaceEntity; public class TestRaceContainer { RaceContainer rc...
mmckenzie70/visual
src/test/java/uk/co/mmckenzie/visual/containers/TestRaceContainer.java
Java
apache-2.0
647
package com.ricardo.casarez.flighsearch.data.di; import android.content.Context; import com.ricardo.casarez.flighsearch.data.cache.db.MyDataBase; import com.ricardo.casarez.flighsearch.data.net.AirportAutocompleteApi; import com.ricardo.casarez.flighsearch.data.net.QpxExpressApi; import javax.inject.Named; import ja...
ricasares/FlightSearch
data/src/main/java/com/ricardo/casarez/flighsearch/data/di/DataComponent.java
Java
apache-2.0
602
/* * Copyright 2017 Red Hat, Inc. and/or 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 a...
annabaker/jbpm-wb
jbpm-wb-forms/jbpm-wb-forms-client/src/main/java/org/jbpm/workbench/forms/client/display/process/AbstractStartProcessFormDisplayer.java
Java
apache-2.0
10,554
/* * 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-elasticbeanstalk/src/main/java/com/amazonaws/services/elasticbeanstalk/model/DeleteConfigurationTemplateResult.java
Java
apache-2.0
2,438
package com.huawei.esdk.fusionmanager.local.impl.autogen.net; 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.XmlType; /** * <p>Java class for QueryVFWResp complex type. * * <p>T...
eSDK/esdk_cloud_fm_r3_native_java
source/FM/V1R3/esdk_fm_native_java/src/main/java/com/huawei/esdk/fusionmanager/local/impl/autogen/net/QueryVFWResp.java
Java
apache-2.0
2,566
/* * 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-route53resolver/src/main/java/com/amazonaws/services/route53resolver/model/transform/AssociateResolverQueryLogConfigRequestMarshaller.java
Java
apache-2.0
2,574
package org.gameoss.lang.collections; /* * #%L * Utils * %% * Copyright (C) 2014 GameOSS * %% * 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...
GameOSS/java-utils
src/main/java/org/gameoss/lang/collections/TreeProbabilityMap.java
Java
apache-2.0
1,829