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
/* * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * * 1. Definitions. * * "License" shall mean the terms and condition...
henryco/OPalette
app/src/main/java/net/henryco/opalette/application/MainActivity.java
Java
apache-2.0
22,644
/* * Copyright 2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
lsmaira/gradle
subprojects/core/src/main/java/org/gradle/caching/internal/tasks/TaskOutputCachingBuildCacheKey.java
Java
apache-2.0
1,067
// Copyright 2014 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. // This file is autogenerated by: // mojo/public/tools/bindings/mojom_bindings_generator.py // For: // third_party/WebKit/public/platform/modules...
mogoweb/365browser
app/src/main/java/org/chromium/blink/mojom/MediaSessionPlaybackState.java
Java
apache-2.0
1,196
// Copyright 2014-2015 Boundary, 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 agree...
boundary/boundary-event-sdk
src/main/java/com/boundary/sdk/event/service/db/ServiceChecksDatabase.java
Java
apache-2.0
9,687
/* * Copyright 2017 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 a...
bazelbuild/intellij
aspect/tools/tests/unittests/com/google/idea/blaze/aspect/JarFilterTest.java
Java
apache-2.0
6,677
package org.collention; import java.text.Collator; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Locale; import java.util.Map; enum Week { } public class CollentionsDemo { public static void main(String[] args) { List<Dog> dogs = new ArrayList<>(); do...
Liuxyly/Java_Learning
Java_Adv/src/org/collention/CollentionsDemo.java
Java
apache-2.0
874
package com.ranger.xyg.library.config; import android.content.Context; import android.util.DisplayMetrics; import android.view.WindowManager; /** * Created by xyg on 2017/6/14. */ public class AppConfigLib { public static int sScreenWidth; public static int sScreenHeight; public static void initScree...
droidranger/xygapp
xyg-library/src/main/java/com/ranger/xyg/library/config/AppConfigLib.java
Java
apache-2.0
662
package lejos.robotics.navigation; import lejos.robotics.RegulatedMotor; import lejos.robotics.DirectionFinder; import lejos.util.Delay; /* * WARNING: THIS CLASS IS SHARED BETWEEN THE classes AND pccomms PROJECTS. * DO NOT EDIT THE VERSION IN pccomms AS IT WILL BE OVERWRITTEN WHEN THE PROJECT IS BUILT. */ /** * ...
AndrewZurn/sju-compsci-archive
CS200s/CS217b/OriginalFiles/lejos/robotics/navigation/CompassPilot.java
Java
apache-2.0
9,741
package tz.gzu.oip.admin.controller; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.Authentication; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional; im...
TZClub/OMIPlatform
oip-service/src/main/java/tz/gzu/oip/admin/controller/ResourcesController.java
Java
apache-2.0
5,006
package org.elasticsearch.common.lucene.search; /* * 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 ...
Asimov4/elasticsearch
src/main/java/org/elasticsearch/common/lucene/search/XBooleanFilter.java
Java
apache-2.0
13,959
/* * JBoss, Home of Professional Open Source * Copyright 2012, Red Hat, Inc. and/or its affiliates, 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"); * ...
magro/jboss-as-quickstart
deltaspike-partialbean-basic/src/main/java/org/jboss/as/quickstart/deltaspike/partialbean/ExamplePartialBeanImplementation.java
Java
apache-2.0
1,893
package com.github.megatronking.svg.iconlibs; import android.content.Context; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.Paint; import com.github.megatronking.svg.support.SVGRenderer; /** * AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was autom...
MegatronKing/SVG-Android
docs/notification/java/ic_bluetooth_audio.java
Java
apache-2.0
3,221
package io.leangen.graphql.services; import io.leangen.graphql.annotations.GraphQLArgument; import io.leangen.graphql.annotations.GraphQLComplexity; import io.leangen.graphql.annotations.GraphQLContext; import io.leangen.graphql.annotations.GraphQLId; import io.leangen.graphql.annotations.GraphQLMutation; import io.le...
leangen/GraphQL-SPQR
src/test/java/io/leangen/graphql/services/UserService.java
Java
apache-2.0
5,197
/** * Copyright 2014 SAP AG * * 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...
sopeco/LPE-Common
org.lpe.common.jmeter/src/org/lpe/common/jmeter/JMeterWrapper.java
Java
apache-2.0
7,278
package org.openxava.test.model; import javax.persistence.*; import javax.persistence.Entity; import org.hibernate.annotations.*; import org.openxava.annotations.*; /** * * @author Javier Paniza */ @Entity @View(members= "number;" + "data {" + " familyNumber;" + " family;" + " description;" + " remarks" +...
jecuendet/maven4openxava
dist/openxava/workspace/OpenXavaTest/pojo-src/org/openxava/test/model/Subfamily.java
Java
apache-2.0
2,516
/* * Copyright 2014-2019 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...
jentfoo/aws-sdk-java
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/transform/ChangePasswordRequestMarshaller.java
Java
apache-2.0
2,157
package ru.revdaalex.lsp.chapterI.storage; import ru.revdaalex.lsp.chapterI.food.Food; import ru.revdaalex.lsp.chapterI.interfaces.Storage; import java.util.ArrayList; /** * Warehouse class. * Created by revdaalex on 04.07.2016. */ public class Warehouse implements Storage { /** * ArrayList Warehouse. ...
revdaalex/learn_java
chapter3/LSP/ChapterI/src/main/java/ru/revdaalex/lsp/chapterI/storage/Warehouse.java
Java
apache-2.0
900
package net.virtualinfinity.telnet; import net.virtualinfinity.nio.EventLoop; import java.io.Closeable; /** * Provides access to the public aspects of the telnet session. * * @see SessionListener * @see ClientStarter#connect(EventLoop, String, SessionListener) * @see ClientStarter#connect(EventLoop, String, int...
DanielPitts/net.virtualinfinity.telnet
src/main/java/net/virtualinfinity/telnet/Session.java
Java
apache-2.0
820
/* * The University of Wales, Cardiff Triana Project Software License (Based * on the Apache Software License Version 1.1) * * Copyright (c) 2007 University of Wales, Cardiff. All rights reserved. * * Redistribution and use of the software in source and binary forms, with * or without modification, are permitted...
CSCSI/Triana
triana-gui/src/main/java/org/trianacode/gui/windows/ComboDialog.java
Java
apache-2.0
6,839
/* * 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 ...
tonit/karafonexam2
jaas/config/src/main/java/org/apache/karaf/jaas/config/impl/OsgiKeystoreManager.java
Java
apache-2.0
4,137
/* * #%L * GwtMaterial * %% * Copyright (C) 2015 - 2017 GwtMaterialDesign * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
GwtMaterialDesign/gwt-material-table
src/main/java/gwt/material/design/client/data/events/RowsVisibleHandler.java
Java
apache-2.0
860
/* * Copyright 2000-2009 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...
joewalnes/idea-community
plugins/copyright/src/com/maddyhome/idea/copyright/pattern/VelocityHelper.java
Java
apache-2.0
4,033
/* * 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 app...
ederign/kie-wb-common
kie-wb-common-stunner/kie-wb-common-stunner-core/kie-wb-common-stunner-commons/kie-wb-common-stunner-client-common/src/test/java/org/kie/workbench/common/stunner/core/client/session/command/impl/ExportToPngSessionCommandTest.java
Java
apache-2.0
3,183
// Copyright 2005 The Apache Software Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
apache/tapestry4
framework/src/java/org/apache/tapestry/listener/ListenerMap.java
Java
apache-2.0
1,865
/* * Copyright 2013-2019 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...
alexander071/cf-java-client
cloudfoundry-client/src/test/java/org/cloudfoundry/client/v3/deployments/GetDeploymentTest.java
Java
apache-2.0
1,037
/* * ==================================================================== * * The Apache Software License, Version 1.1 * * Copyright (c) 2000-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provi...
jjYBdx4IL/misc
ecs/src/main/java/org/apache/ecs/vxml/Link.java
Java
apache-2.0
4,470
package eu.kandru.luna.util; import lombok.experimental.UtilityClass; import javax.servlet.http.HttpServletRequest; /** * Helper class for logging output. * * @author jko */ @UtilityClass public class LogHelper { /** * Formats a {@link HttpServletRequest} for logging by extracting the important informa...
Kandru/ts3luna
src/main/java/eu/kandru/luna/util/LogHelper.java
Java
apache-2.0
774
/** * */ package de.drtodolittle.firebase.impl; import java.io.ByteArrayInputStream; import java.io.FileInputStream; import java.io.InputStream; import com.google.firebase.FirebaseApp; import com.google.firebase.FirebaseOptions; import com.google.firebase.auth.FirebaseAuth; import com.google.firebase.auth.FirebaseC...
drtodolittle/rest-api
firebase-util/src/main/java/de/drtodolittle/firebase/impl/FirebaseTokenService.java
Java
apache-2.0
1,784
package asmilk.ascloud.cloud.service.document; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.cloud.service.AbstractServiceConnectorCreator; import org.springframework.cloud.service.ServiceConnectorConfig; import com.cloudant.client.api.ClientBuilder; import com.cloudant.c...
asmilk/ascloud
src/main/java/asmilk/ascloud/cloud/service/document/CloudantClientCreator.java
Java
apache-2.0
1,088
package org.epnoi.storage; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.PropertySource; import org.springframework.context.support.PropertySourc...
oeg-upm/epnoi
storage/src/main/java/org/epnoi/storage/Config.java
Java
apache-2.0
770
package com.neko.androidexamples.recycler_view; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; impo...
kerveros/Android-examples
app/src/main/java/com/neko/androidexamples/recycler_view/RecyclerViewActivity.java
Java
apache-2.0
3,893
/* * Copyright 2010-2019 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 "lice...
jentfoo/aws-sdk-java
aws-java-sdk-core/src/main/java/com/amazonaws/metrics/internal/ServiceMetricTypeGuesser.java
Java
apache-2.0
2,121
package org.esupportail.catapp.admin.domain.config; import org.esupportail.commons.mail.CachingEmailSmtpService; import org.esupportail.commons.mail.SimpleSmtpService; import org.esupportail.commons.mail.SmtpService; import org.esupportail.commons.mail.model.SmtpServerData; import org.springframework.beans.factory.ann...
EsupPortail/esup-catapp-admin
src/main/java/org/esupportail/catapp/admin/domain/config/SmtpConfig.java
Java
apache-2.0
2,612
/* * 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")...
Qi4j/qi4j-sdk
extensions/entitystore-riak/src/main/java/org/apache/polygene/entitystore/riak/RiakEntityStoreMixin.java
Java
apache-2.0
15,601
// Copyright 2005-2006 Ferdinand Prantl <prantl@users.sourceforge.net> // Copyright 2001-2004 The Apache Software Foundation // 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...
spidaman/ant-eclipse
src/prantl/ant/eclipse/ClassPathGenerator.java
Java
apache-2.0
14,121
package org.visallo.web.clientapi.model; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import org.visallo.web.clientapi.VisalloClientApiException; import java.util.Map; @JsonTypeInfo( use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.P...
visallo/visallo
web/client-api/src/main/java/org/visallo/web/clientapi/model/DirectoryEntity.java
Java
apache-2.0
2,694
/* * 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-ssmincidents/src/main/java/com/amazonaws/services/ssmincidents/model/transform/UpdateIncidentRecordRequestMarshaller.java
Java
apache-2.0
4,460
/* * 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 ...
google/schemaorg-java
src/main/java/com/google/schemaorg/core/MotorcycleDealer.java
Java
apache-2.0
23,054
package xworker.swt.reacts; import org.xmeta.ActionContext; /** * 创建DataReactor的接口。 * * @author zyx * */ public interface DataReactorCreator { /** * 创建DataReactor。 * * @param control * @param action 动作 * @param actionContext * @return */ public DataReactor create(Object cont...
x-meta/xworker
xworker_swt/src/main/java/xworker/swt/reacts/DataReactorCreator.java
Java
apache-2.0
397
// Copyright (C) 2016 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 ...
WANdisco/gerrit
java/com/google/gerrit/server/restapi/change/Rebuild.java
Java
apache-2.0
4,432
package com.example.john.practiceapp; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test publi...
john-mcdonagh/android_app
PracticeApp/app/src/test/java/com/example/john/practiceapp/ExampleUnitTest.java
Java
apache-2.0
406
package org.epnoi.harvester.routes.oaipmh; import es.cbadenes.lab.test.IntegrationTest; import org.epnoi.harvester.Config; import org.epnoi.model.modules.EventBus; import org.epnoi.storage.UDM; import org.junit.Test; import org.junit.experimental.categories.Category; import org.junit.runner.RunWith; import org.slf4j.L...
oeg-upm/epnoi
harvester/src/test/java/org/epnoi/harvester/routes/oaipmh/OAIPMHTest.java
Java
apache-2.0
1,916
package redis.clients.jedis.valueobject; /** * * @author leifu * @Date 2017年2月14日 * @Time 下午4:58:52 */ public class RangeRankVO { private final long min; private final long max; public RangeRankVO(long min, long max) { this.min = min; this.max = max; } p...
sohutv/cachecloud
cachecloud-client/cachecloud-jedis/src/main/java/redis/clients/jedis/valueobject/RangeRankVO.java
Java
apache-2.0
446
/* * Copyright (C) 2015 Intel 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...
android-art-intel/marshmallow
art-extension/opttests/src/OptimizationTests/NonTemporalMove/MultipleArraysStoresLong_004/Main.java
Java
apache-2.0
1,581
/* * Copyright 2002-2012 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...
blademainer/common_utils
common_helper/src/main/java/com/xiongyingqi/util/xml/SimpleNamespaceContext.java
Java
apache-2.0
5,171
/* * Copyright 2011 Jan Kronquist. * * 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...
jankronquist/AirportWeather
src/main/java/com/jayway/xml/CDataTransformer.java
Java
apache-2.0
857
/* * * Copyright (c) 2020, Wasiq Bhamla. * * 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...
WasiqB/coteafs-appium
src/main/java/com/github/wasiqb/coteafs/appium/config/device/android/AdbSetting.java
Java
apache-2.0
874
package com.app.apt.processor; import com.app.annotation.apt.ApiFactory; import com.app.apt.AnnotationProcessor; import com.app.apt.inter.IProcessor; import com.app.apt.util.Utils; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.CodeBlock; import com.squareup.javapoet.JavaFile; import com.squareup...
weiwenqiang/GitHub
MVP/RxJava2ToMVP/T-MVP-master/apt/src/main/java/com/app/apt/processor/ApiFactoryProcessor.java
Java
apache-2.0
6,331
package com.example.coolweather.util; import android.text.TextUtils; import com.example.coolweather.db.City; import com.example.coolweather.db.County; import com.example.coolweather.db.Province; import com.example.coolweather.gson.Weather; import com.google.gson.Gson; import org.json.JSONArray; import org.json.JSONE...
wjwin/coolweather
app/src/main/java/com/example/coolweather/util/Utility.java
Java
apache-2.0
3,289
package net.kalinovcic.ld32; import static org.lwjgl.opengl.GL11.*; public class Enemy extends Sprite { public GameStage game; public char origc; public String word; public float speed; public float vely; public boolean removeMe = false; public boolean alive = true; public int he...
Kalinovcic/LD32
src/net/kalinovcic/ld32/Enemy.java
Java
apache-2.0
3,462
package org.kasource.commons.reflection.collection; import java.util.HashMap; import java.util.Map; import javax.xml.bind.annotation.adapters.XmlAdapter; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; import org.junit.Test; public class PackageMapTest { @Tes...
wigforss/Ka-Commons-Reflection
src/test/java/org/kasource/commons/reflection/collection/PackageMapTest.java
Java
apache-2.0
676
/* * Sonar, open source software quality management tool. * Copyright (C) 2009 SonarSource * mailto:contact AT sonarsource DOT com * * Sonar is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either...
aifraenkel/caltec-tools
SonarQube/Plugins/sonar-jira-master/src/test/java/org/sonar/plugins/jira/metrics/JiraWidgetTest.java
Java
apache-2.0
1,382
package i5.las2peer.services.ocd.centrality.utils; import java.util.Map; import i5.las2peer.services.ocd.centrality.data.CentralityMeasureType; import i5.las2peer.services.ocd.utils.ConditionalParameterizableFactory; public class CentralityAlgorithmFactory implements ConditionalParameterizableFactory<CentralityAlgor...
rwth-acis/REST-OCD-Services
rest_ocd_services/src/main/java/i5/las2peer/services/ocd/centrality/utils/CentralityAlgorithmFactory.java
Java
apache-2.0
1,036
/* * Copyright (C) 2015 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...
googlesamples/android-testdpc
app/src/main/java/com/afwsamples/testdpc/policy/systemupdatepolicy/SystemUpdatePolicyFragment.java
Java
apache-2.0
15,547
/* * 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 mx.edu.uam.practica3.controles; import mx.edu.uam.practica3.electroDomesticos.Television; /** * * @author invited */ publi...
JavaUAM2016/PracticasOCA
Practica3/luzmx/JavaApp/src/mx/edu/uam/practica3/controles/ControlTelevision.java
Java
apache-2.0
3,150
package org.lnu.is.converter.specoffer.type; import static org.junit.Assert.assertEquals; import java.util.Arrays; import java.util.List; import org.junit.Test; import org.lnu.is.domain.specoffer.SpecOfferType; import org.lnu.is.domain.timeperiod.TimePeriod; import org.lnu.is.resource.specoffer.type.SpecOfferTypeRes...
ifnul/ums-backend
is-lnu-converter/src/test/java/org/lnu/is/converter/specoffer/type/SpecOfferTypeConverterTest.java
Java
apache-2.0
3,632
package ru.stqa.pft.addressbook.model; import com.google.common.collect.ForwardingSet; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; /** * Created by Саша on 13.12.2016. */ public class Persons extends ForwardingSet<PersonData> { private Set<PersonData> de...
martyanova/java_pft
addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/model/Persons.java
Java
apache-2.0
1,043
package org.drip.service.template; /* * -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /*! * Copyright (C) 2017 Lakshmi Krishnamurthy * Copyright (C) 2016 Lakshmi Krishnamurthy * Copyright (C) 2015 Lakshmi Krishnamurthy * * This file is part of DRIP, a free-software/open-sourc...
lakshmiDRIP/DRIP
src/main/java/org/drip/service/template/OTCInstrumentBuilder.java
Java
apache-2.0
33,137
package org.wso2.carbon.apimgt.rest.api.publisher.v1; import org.wso2.carbon.apimgt.rest.api.publisher.v1.*; import org.wso2.carbon.apimgt.rest.api.publisher.v1.dto.*; import org.apache.cxf.jaxrs.ext.MessageContext; import org.apache.cxf.jaxrs.ext.multipart.Attachment; import org.apache.cxf.jaxrs.ext.multipart.Multip...
nuwand/carbon-apimgt
components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1/src/gen/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/KeyManagersApiService.java
Java
apache-2.0
733
package jose4j.asym; import org.jose4j.jws.JsonWebSignature; import org.jose4j.lang.JoseException; import java.security.PublicKey; public class Jose4jVerifier { public static void main(String[] args) { String token = new Jose4jProvider().create(); try { new Jose4jVerifier().verify(token); } catc...
nitram509/decentral-authentication-playground
java/src/main/java/jose4j/asym/Jose4jVerifier.java
Java
apache-2.0
847
/* Generic definitions */ /* Assertions (useful to generate conditional code) */ /* Current type and class (and size, if applicable) */ /* Value methods */ /* Interfaces (keys) */ /* Interfaces (values) */ /* Abstract implementations (keys) */ /* Abstract implementations (values) */ /* Static containers (keys) */ /* St...
tommyettinger/doughyo
src/main/java/vigna/fastutil/ints/AbstractIntList.java
Java
apache-2.0
19,931
/* * Copyright 2008-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...
deanriverson/griffon-javafx-plugin
src/main/org/codehaus/griffon/runtime/javafx/JavaFXGriffonControllerActionManager.java
Java
apache-2.0
1,346
/* * This file is part of WebScarab, an Open Web Application Security * Project utility. For details, please see http://www.owasp.org/ * * Copyright (c) 2002 - 2004 Rogan Dawes * * Please note that this file was originally released under the * GNU General Public License as published by the Free Software Founda...
NVolcz/zaproxy
src/ch/csnc/extension/httpclient/SSLContextManager.java
Java
apache-2.0
16,043
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package kodemat.touch.visu.editor.nifty.panels; import com.jme3.app.Application; import de.lessvoid.nifty.Nifty; import de.lessvoid.nifty.builder.EffectBuilder; import de.lessvoid.nifty.builder.ElementBuilder; ...
akiskip/KoDeMat-Collaboration-Platform-Application
KoDeMat_TouchScreen/src/kodemat/touch/visu/editor/nifty/panels/ViewCube.java
Java
apache-2.0
12,097
package com.ai.tris.server.dao.interfaces; import com.ai.tris.server.orm.impl.ClientAppInfoBean; import java.util.List; /** * Common Database Access Object. * <p/> * Created by Sam on 2015/6/9. */ public interface ICommonDao { void querySomething(); /** * get all client app information from tris.cl...
zhoufan2013/TRIS_Platform
server/src/main/java/com/ai/tris/server/dao/interfaces/ICommonDao.java
Java
apache-2.0
433
package org.b3mn.poem.handler; import java.util.Collection; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.b3mn.poem.Identity; import org.b3mn.poem.Persistance; import org.b3mn.poem.business.Model; import org.b3mn.poem.util.AccessRight; ...
grasscrm/gdesigner
poem-jvm/src/java/org/b3mn/poem/handler/RatingHandler.java
Java
apache-2.0
2,930
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
gravitee-io/graviteeio-access-management
gravitee-am-repository/gravitee-am-repository-tests/src/test/java/io/gravitee/am/repository/management/api/GroupRepositoryTest.java
Java
apache-2.0
13,131
package com.github.arteam.jdbi3.strategies; import com.codahale.metrics.MetricRegistry; import org.jdbi.v3.core.statement.StatementContext; import org.junit.Before; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; public class AbstractStrategyTest { protected MetricRegistry regist...
arteam/metrics-jdbi3
src/test/java/com/github/arteam/jdbi3/strategies/AbstractStrategyTest.java
Java
apache-2.0
650
package com.progbook.resource; import com.fasterxml.jackson.core.JsonProcessingException; import com.ninja_squad.dbsetup.DbSetup; import com.ninja_squad.dbsetup.DbSetupTracker; import com.ninja_squad.dbsetup.destination.DataSourceDestination; import com.progbook.Application; import com.progbook.persistence.CommonDbOpe...
indraneelr/progbook
src/test/java/com/progbook/resource/AnswerResourceTest.java
Java
apache-2.0
4,695
/* * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
GoogleCloudPlatform/jenkins-gcr-plugin
src/main/java/com/google/jenkins/plugins/containersecurity/client/ClientUtil.java
Java
apache-2.0
5,295
package org.ovirt.mobile.movirt.util; import java.util.ArrayList; import java.util.List; import io.reactivex.disposables.Disposable; public class Disposables { private final List<Disposable> disposables = new ArrayList<>(5); public Disposables add(Disposable disposable) { disposables.add(disposable...
matobet/moVirt
moVirt/src/main/java/org/ovirt/mobile/movirt/util/Disposables.java
Java
apache-2.0
828
/* * 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...
EvilMcJerkface/presto
presto-main/src/main/java/com/facebook/presto/execution/buffer/ArbitraryOutputBuffer.java
Java
apache-2.0
20,308
/* * #%L * ===================================================== * _____ _ ____ _ _ _ _ * |_ _|_ __ _ _ ___| |_ / __ \| | | | ___ | | | | * | | | '__| | | / __| __|/ / _` | |_| |/ __|| |_| | * | | | | | |_| \__ \ |_| | (_| | _ |\__ \| _ | * |_| |_| \__,_|___/...
MReichenbach/visitmeta
dataservice/src/main/java/de/hshannover/f4/trust/visitmeta/ifmap/PollResult.java
Java
apache-2.0
2,331
/* * Copyright (C) 2014 Stratio (http://stratio.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
gbecares/bdt
src/main/java/com/stratio/qa/utils/CassandraQueryUtils.java
Java
apache-2.0
4,153
/* * Copyright (c) 2010-2017 Evolveum and contributors * * This work is dual-licensed under the Apache License 2.0 * and European Union Public License. See LICENSE file for details. */ package com.evolveum.midpoint.web.boot; import com.evolveum.midpoint.model.api.authentication.MidPointLdapAuthenticationProvider...
bshp/midPoint
gui/admin-gui/src/main/java/com/evolveum/midpoint/web/boot/LdapSecurityConfig.java
Java
apache-2.0
3,067
package org.apereo.cas.support.events.redis; import org.apereo.cas.redis.core.CasRedisTemplate; import org.apereo.cas.support.events.CasEventRepositoryFilter; import org.apereo.cas.support.events.dao.AbstractCasEventRepository; import org.apereo.cas.support.events.dao.CasEvent; import lombok.Getter; import lombok.ToS...
apereo/cas
support/cas-server-support-events-redis/src/main/java/org/apereo/cas/support/events/redis/RedisCasEventRepository.java
Java
apache-2.0
4,922
package org.javarosa.core.model.instance.utils; import org.javarosa.core.model.instance.FormInstance; import org.javarosa.core.model.instance.TreeElement; import org.javarosa.xml.ElementParser; import org.javarosa.xml.TreeElementParser; import org.javarosa.xml.util.InvalidStructureException; import org.javarosa.xml.ut...
dimagi/javarosa
javarosa/core/src/main/java/org/javarosa/core/model/instance/utils/FormLoadingUtils.java
Java
apache-2.0
1,407
/* * sshIt: simple, powerful, open-source SSH client for Android * Copyright 2014 Alpha 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/LICE...
alphallc/connectbot
src/org/alphallc/sshit/util/Encryptor.java
Java
apache-2.0
6,172
package com.github.zhongl.benchmarker; import org.junit.Test; import java.util.concurrent.CountDownLatch; /** @author <a href="mailto:zhong.lunfu@gmail.com">zhongl<a> */ public class RandomOptionalFactoryTest { private final StatisticsCollector collector = new StatisticsCollector(); private final CountDownL...
zhongl/lab
benchmarker/src/test/java/com/github/zhongl/benchmarker/RandomOptionalFactoryTest.java
Java
apache-2.0
1,903
package QueueHandlers; import org.junit.Test; import javax.jms.JMSException; import java.io.IOException; import java.io.ObjectStreamException; import java.io.Serializable; import java.util.ArrayList; import static org.junit.Assert.*; /** * Created by Andras on 27/07/2016. */ public class JMSPubli...
andrasigneczi/TravelOptimizer
DataCollector/src/test/QueueHandlers/JMSPublisherTest.java
Java
apache-2.0
1,980
/* * * * 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 "L...
rlugojr/incubator-eagle
eagle-security/eagle-security-maprfs-auditlog/src/main/java/org/apache/eagle/security/auditlog/MapRFSAuditLogProcessorMain.java
Java
apache-2.0
6,554
package lt.inventi.apollo.wicket.theme.settings; import lt.inventi.apollo.wicket.theme.ActiveSessionThemeProvider; import lt.inventi.apollo.wicket.theme.ActiveThemeProvider; import lt.inventi.apollo.wicket.theme.DefaultThemeRepository; import lt.inventi.apollo.wicket.theme.ITheme; import lt.inventi.apollo.wicket.theme...
inventiLT/inventi-wicket
inventi-wicket-resources/src/main/java/lt/inventi/apollo/wicket/theme/settings/ThemeSettings.java
Java
apache-2.0
1,007
/* * Copyright 2021 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
googleapis/java-contact-center-insights
samples/snippets/src/main/java/com/example/contactcenterinsights/CreateIssueModel.java
Java
apache-2.0
2,347
package com.tvd12.ezyfox.database.service; public interface EzyCrudService<I,E> extends EzyCountSerivce, EzySaveService<E>, EzyFindService<I, E>, EzyDeleteService<I> { }
youngmonkeys/ezyfox
ezyfox-database/src/main/java/com/tvd12/ezyfox/database/service/EzyCrudService.java
Java
apache-2.0
181
/** * * Copyright (c) 2012 - 2014 Carnegie Mellon University * 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 unde...
weizh/geolocator-3.0
geolocator-3.0/src/Wordnet/SetUtil.java
Java
apache-2.0
3,264
package com.tylerlubeck.maraudersmapmultiuser.Models; /** * Created by Tyler on 4/16/2015. */ public class MyLocation { String building_name; int floor_number; int x_coordinate; int y_coordinate; String image_url; public MyLocation() {} public MyLocation(String buildingName, int floorNu...
TeamSirius/MaraudersMapMultiUser
app/src/main/java/com/tylerlubeck/maraudersmapmultiuser/Models/MyLocation.java
Java
apache-2.0
1,160
package com.hubspot.singularity.resources; import static com.hubspot.singularity.WebExceptions.checkBadRequest; import java.util.List; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; import javax.ws.rs.core.MediaType; import ...
acbellini/Singularity
SingularityService/src/main/java/com/hubspot/singularity/resources/HistoryResource.java
Java
apache-2.0
8,756
/* * 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-quicksight/src/main/java/com/amazonaws/services/quicksight/model/ThemeVersion.java
Java
apache-2.0
16,672
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
gravitee-io/graviteeio-access-management
gravitee-am-gateway/gravitee-am-gateway-handler/gravitee-am-gateway-handler-common/src/main/java/io/gravitee/am/gateway/handler/common/vertx/web/handler/AuthenticationFlowContextHandler.java
Java
apache-2.0
3,713
/* * 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 ...
amirakhmedov/ignite
modules/ml/src/main/java/org/apache/ignite/ml/tree/randomforest/RandomForestClassifierTrainer.java
Java
apache-2.0
4,400
/** * Copyright 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 Apache Li...
intel-hadoop/hbase-rhino
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionMergeTransaction.java
Java
apache-2.0
18,314
package com.sicdlib.dao.pyhtonDAO.imple; import com.sicdlib.dao.IBaseDAO; import com.sicdlib.dao.pyhtonDAO.IMOEDataDAO; import com.sicdlib.dto.entity.MoeDataEntity; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; /** * Created by init on 2017/6/4. */ ...
V119/spidersManager
src/com/sicdlib/dao/pyhtonDAO/imple/MOEDataDAO.java
Java
apache-2.0
690
package fr.javatronic.blog.massive.annotation1.sub1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_4430 { }
lesaint/experimenting-annotation-processing
experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/sub1/Class_4430.java
Java
apache-2.0
151
/** * Copyright (c) 2016 Source Auditor 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 appli...
spdx/tools
src/org/spdx/compare/SpdxSnippetComparer.java
Java
apache-2.0
9,956
/* * 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...
Praveen2112/presto
core/trino-main/src/main/java/io/trino/execution/AddColumnTask.java
Java
apache-2.0
5,732
package org.pac4j.cas.authorization; import org.pac4j.cas.client.CasClient; import org.pac4j.core.authorization.generator.AuthorizationGenerator; import org.pac4j.core.context.WebContext; import org.pac4j.core.context.session.SessionStore; import org.pac4j.core.profile.UserProfile; import java.util.Optional; /** * ...
pac4j/pac4j
pac4j-cas/src/main/java/org/pac4j/cas/authorization/DefaultCasAuthorizationGenerator.java
Java
apache-2.0
1,548
/* * 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 ...
zohar-mizrahi/flink
flink-libraries/flink-gelly/src/test/java/org/apache/flink/graph/library/metric/ChecksumHashCodeTest.java
Java
apache-2.0
1,616
package org.mokolo.meet; import java.text.SimpleDateFormat; import java.util.Collection; import java.util.HashMap; import java.util.Map; import java.util.TimeZone; import lombok.Getter; import lombok.Setter; /** * Single sample from meter * */ public class Sample { @Getter @Setter private Long timestamp; @Get...
fredvos/meet
src/main/java/org/mokolo/meet/Sample.java
Java
apache-2.0
2,296
/* * Progress.java file written and maintained by Calin Cocan * Created on: Oct 16, 2015 * * This work is free: you can redistribute it and/or modify it under the terms of Apache License Version 2.0 * * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even th...
calinrc/hdfs_wfx
java/wfx_launcher/src/main/java/org/cgc/wfx/Progress.java
Java
apache-2.0
790
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
baksoy/Sunshine2
app/src/main/java/com/baksoy/sunshine/data/WeatherProvider.java
Java
apache-2.0
14,334