code
stringlengths
3
1.04M
repo_name
stringlengths
5
109
path
stringlengths
6
306
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
3
1.04M
package es.guiguegon.geoapi; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which will execute on an Android ...
guiguegon/GeoApi
app/src/androidTest/java/es/guiguegon/geoapi/ExampleInstrumentedTest.java
Java
apache-2.0
741
package ca.pfv.spmf.test; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.URL; import ca.pfv.spmf.algorithms.clustering.kmeans.AlgoKMeans; /** * Example of how to use the KMEans algorithm, in source code. */ public class MainTestKMeans_saveToFile { public static void ma...
dragonzhou/humor
src/ca/pfv/spmf/test/MainTestKMeans_saveToFile.java
Java
apache-2.0
910
/* * Copyright 2014 the original author or authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
donbeave/grails-console-charts
src/gwt/grails/plugin/console/charts/client/gin/DesktopModule.java
Java
apache-2.0
1,050
/* * In the name of Allah * This file is part of The "Quran Teacher or Learn Arabic" Project. Use is subject to * license terms. * * @author: Fazle Rabbi Rahat * */ package QuranTeacher; import javax.swing.ButtonGroup; import javax.swing.JComboBox; import javax.swing.JPanel; import java....
adeelahmedkhanabbasi/QuranTeacher
QuranTeacher/src/QuranTeacher/ AudioPreferencesPanel.java
Java
apache-2.0
6,792
/* * * * 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 * * (th...
haoch/kylin
source-kafka/src/main/java/org/apache/kylin/source/kafka/util/KafkaRequester.java
Java
apache-2.0
7,848
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma; /** * Runtime exception used to indicate that the action would create a duplicate. * <p> * A typical use case is when adding data and a similar item alread...
McLeodMoores/starling
projects/util/src/main/java/com/opengamma/DataDuplicationException.java
Java
apache-2.0
954
package com.flipkart.hbaseobjectmapper.testcases; import com.flipkart.hbaseobjectmapper.HBAdmin; import com.flipkart.hbaseobjectmapper.Records; import com.flipkart.hbaseobjectmapper.WrappedHBColumnTC; import com.flipkart.hbaseobjectmapper.testcases.daos.reactive.CitizenDAO; import com.flipkart.hbaseobjectmapper.testca...
flipkart-incubator/hbase-object-mapper
src/test/java/com/flipkart/hbaseobjectmapper/testcases/TestsReactiveHBDAO.java
Java
apache-2.0
29,551
package com.afollestad.appthemeengine.views; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import androidx.appcompat.widget.AppCompatRadioButton; import com.afollestad.appthemeengine.ATE; import com.afollestad.appthemeengine.R; /** * @author Aidan Follesta...
A-Miracle/QiangHongBao
themelib/src/main/java/com/afollestad/appthemeengine/views/ATERadioButton.java
Java
apache-2.0
1,317
package net.prank.core; import net.prank.example.ExampleObject; import net.prank.example.ExampleScoreCard; import org.junit.Test; import java.math.BigDecimal; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.concurrent.Future; import java.util.concurrent...
dmillett/prank
src/test/java/net/prank/core/PranksterTest.java
Java
apache-2.0
12,515
package qj.util.cache; import java.util.ArrayList; import qj.util.funct.F2; public class Cache2<A, B, T> { private final F2<A, B, T> func; ArrayList<Holder> holders = new ArrayList<Holder>(); public Cache2(F2<A, B, T> func) { this.func = func; } public T get(A a, B b) { for (Holder holder : holders) { ...
quanla/quan-util-core
src/main/java/qj/util/cache/Cache2.java
Java
apache-2.0
615
package org.adligo.tests4j_4jacoco.plugin.discovery; import java.io.IOException; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import org.adligo.tests4j.models.shared.association.ClassAssociationsLocal; import org.adligo.tests4j.models.sha...
adligo/tests4j_4jacoco.adligo.org
src/org/adligo/tests4j_4jacoco/plugin/discovery/CircularDependenciesDiscovery.java
Java
apache-2.0
4,828
/* * 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 ...
benbenw/jmeter
src/functions/src/main/java/org/apache/jmeter/functions/TimeShift.java
Java
apache-2.0
9,758
package org.buddycloud.channelserver.packetprocessor.iq.namespace.pubsub.set; import java.util.ArrayList; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import junit.framework.Assert; import org.buddycloud.channelserver.Configuration; import org.buddycloud.channelserver.c...
ashward/buddycloud-server-java
src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/PublishTest.java
Java
apache-2.0
17,181
/* * 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 ...
neykov/incubator-brooklyn
utils/common/src/main/java/brooklyn/util/javalang/StackTraceSimplifier.java
Java
apache-2.0
6,792
/* Copyright 2002-2014 CS Systèmes d'Information * Licensed to CS Systèmes d'Information (CS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * CS licenses this file to You under the Apache License, Versi...
wardev/orekit
src/main/java/org/orekit/propagation/events/DihedralFieldOfViewDetector.java
Java
apache-2.0
9,006
package top.blue7.permission; 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 public void a...
blue7zz/BlueDemo
permission/src/test/java/top/blue7/permission/ExampleUnitTest.java
Java
apache-2.0
398
/* * 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-connect/src/main/java/com/amazonaws/services/connect/model/transform/CreateUseCaseResultJsonUnmarshaller.java
Java
apache-2.0
3,047
package com.appleframework.distributed.id.snowflake; import com.appleframework.distributed.id.snowflake.IdProvider; import com.appleframework.distributed.id.snowflake.IdProviderFactory; public class IdProviderTest { public static void main(String[] args) throws Exception { IdProviderFactory idProviderFact...
sdgdsffdsfff/appleframework
apple-distributed/src/test/java/com/appleframework/distributed/id/snowflake/IdProviderTest.java
Java
apache-2.0
640
package com.bingoogol.algorithmhome.dao; public interface UserInfoDao { public int plusPrice(String sellerid, int price); public int minusPrice(String buyerid, int price); }
bingoogolapple/J2EENote
algorithmhome/src/main/java/com/bingoogol/algorithmhome/dao/UserInfoDao.java
Java
apache-2.0
177
package fr.eurecom.hotspots.web; import java.io.File; import java.io.IOException; import java.util.List; import org.apache.commons.io.FileUtils; import com.googlecode.mp4parser.authoring.tracks.TextTrackImpl.Line; import fr.eurecom.hotspots.core.HotSpotGenerator; import fr.eurecom.hotspots.datastructures.Timeline; ...
jluisred/HotSpots
src/fr/eurecom/hotspots/web/main.java
Java
apache-2.0
1,105
/* * Copyright 2016-present Open Networking Laboratory * * 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...
LorenzReinhart/ONOSnew
providers/ietfte/tunnel/src/main/java/org/onosproject/provider/te/tunnel/TeTunnelRestconfProvider.java
Java
apache-2.0
14,517
/* * Copyright 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 "license" file ...
aws/aws-sdk-java-v2
services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/internal/AttributeConfiguration.java
Java
apache-2.0
1,882
/* * 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 ...
dadarom/dubbo
dubbo-remoting/dubbo-remoting-netty4/src/main/java/com/alibaba/dubbo/remoting/transport/netty4/logging/FormattingTuple.java
Java
apache-2.0
2,138
/* * 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-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/transform/CreateDevicePoolRequestProtocolMarshaller.java
Java
apache-2.0
2,719
package uk.ac.ucl.eidp.data; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.PARAMETER; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; import ja...
UCL/EIDP-4
eidpdata/src/main/java/uk/ac/ucl/eidp/data/NodeQualifier.java
Java
apache-2.0
823
/** * DataHibernatorWorker.java * * Created on 24 October 2007, 18:10 * * To change this template, choose Tools | Template Manager and open the template in the editor. */ package uk.co.sleonard.unison.input; import java.util.ArrayList; import java.util.ListIterator; import java.util.concurrent.LinkedBlockingQue...
leonarduk/unison
src/main/java/uk/co/sleonard/unison/input/DataHibernatorWorker.java
Java
apache-2.0
4,719
package com.ek.mobileapp.model; import java.io.Serializable; public abstract class Entity implements Serializable { protected int id; public int getId() { return id; } protected String cacheKey; public String getCacheKey() { return cacheKey; } public void setCacheKey(S...
yangjiandong/MobileBase.G
MobileBase/src/main/java/com/ek/mobileapp/model/Entity.java
Java
apache-2.0
380
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
zpao/buck
test/com/facebook/buck/parser/DefaultUnconfiguredTargetNodeFactoryTest.java
Java
apache-2.0
6,692
package com.enseirb.telecom.dngroup.dvd2c.service.impl; import java.net.URI; import java.util.ArrayList; import java.util.Collections; import java.util.List; import javax.inject.Inject; import javax.ws.rs.core.UriBuilder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype....
nherbaut/jdev2015T6A01
dvd2c-box/src/main/java/com/enseirb/telecom/dngroup/dvd2c/service/impl/ThridPartyStorageServiceImpl.java
Java
apache-2.0
2,150
/* * 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.rao2100.starter.utils; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.Befo...
rao2100/SpringBootStarter
src/test/java/com/rao2100/starter/utils/SystemdJournalUtilsTest.java
Java
apache-2.0
1,156
package br.ufpe.sabertecnologias.acervoapp.ui.callbacks; import java.util.ArrayList; import br.ufpe.sabertecnologias.acervoapp.modelo.dados.Grupo; /** * Created by joaotrindade on 25/10/16. */ public interface GruposCallback{ public void abrirGrupo(Grupo g); public void exit(); void notifyGrupoControll...
Saber-Tecnologias/acervo-app
app/src/main/java/br/ufpe/sabertecnologias/acervoapp/ui/callbacks/GruposCallback.java
Java
apache-2.0
351
/** * Licensed to Jasig under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Jasig licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except...
nblair/sometime
sometime-war/src/main/java/org/jasig/schedassist/web/security/DelegateCalendarAccountUserDetailsImpl.java
Java
apache-2.0
5,819
/** * 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...
punkhorn/camel-upstream
components/camel-spring/src/test/java/org/apache/camel/spring/MainTest.java
Java
apache-2.0
2,166
package eu.tankernn.gameEngine.particles; import java.nio.FloatBuffer; import java.util.List; import java.util.Map; import org.lwjgl.BufferUtils; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL15; import org.lwjgl.opengl.GL31; import org.lwjgl.util.vector.Matrix4f; import org.lwjgl.util.vector.Vector3f; imp...
Tankernn/TankernnGameEngine
src/main/java/eu/tankernn/gameEngine/particles/ParticleRenderer.java
Java
apache-2.0
4,913
package com.ppweather.app.activity; import com.ppweather.app.R; import com.ppweather.app.service.AutoUpdateService; import com.ppweather.app.util.HttpCallbackListener; import com.ppweather.app.util.HttpUtil; import com.ppweather.app.util.Utility; import android.app.Activity; import android.content.Intent; import andr...
mynamecsl/ppweather
src/com/ppweather/app/activity/WeatherActivity.java
Java
apache-2.0
5,935
/* * Copyright (c) 2017-2019 Arrow Electronics, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License 2.0 * which accompanies this distribution, and is available at * http://apache.org/licenses/LICENSE-2.0 * * Contributors: * Arrow...
arrow-acs/acn-sdk-android
sdk/src/main/java/com/konexios/api/models/AuditLogModel.java
Java
apache-2.0
4,939
package com.tqmars.cardrecycle.application.User.dto; /** * Created by jjh on 1/14/17. */ public class CreateUserInput { private String account; private String pwd; private String qq; private String tel; private String businessId; private String businessPwd; private String smsCode; pri...
huahuajjh/card_recycle
src/main/java/com/tqmars/cardrecycle/application/User/dto/CreateUserInput.java
Java
apache-2.0
2,014
package com.unidev.myip.web; import com.unidev.myip.MyIPService; import com.unidev.platform.web.WebUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servle...
universal-development/myip-app
webapp/src/main/java/com/unidev/myip/web/IndexController.java
Java
apache-2.0
1,013
/* * Copyright 2015 hilemz * * http://www.wykop.pl/ludzie/hilemz/ * * 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...
hilemz/yahoo-finance-api
yahoo-finance-api/src/main/java/pl/hilemz/yahoofinanceapi/ParseUtils.java
Java
apache-2.0
7,707
/* * Copyright (C) 2015 pengjianbo(pengjianbosoft@gmail.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 requ...
dufangyu1990/NewFarmTool
OkHttpFinal/src/main/java/cn/finalteam/okhttpfinal/StringHttpRequestCallback.java
Java
apache-2.0
918
package com.nouribygi.masnavi.database; import android.app.SearchManager; import android.content.ContentProvider; import android.content.ContentResolver; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; import android.net.Uri; import com.nouribygi.masnavi.util.M...
nouribygi/Masnavi
app/src/main/java/com/nouribygi/masnavi/database/MasnaviDataProvider.java
Java
apache-2.0
3,332
package com.notronix.lw.impl.method.orders; import com.google.gson.Gson; import com.notronix.lw.api.model.UserOrderView; import com.notronix.lw.impl.method.AbstractLinnworksAPIMethod; import java.util.Arrays; import java.util.List; public class GetOrderViewsMethod extends AbstractLinnworksAPIMethod<List<Use...
Notronix/JaLAPI
src/main/java/com/notronix/lw/impl/method/orders/GetOrderViewsMethod.java
Java
apache-2.0
615
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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...
ChamaraPhilipsuom/product-is
modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/analytics/authentication/AnalyticsLoginTestCase.java
Java
apache-2.0
34,987
/** Copyright (c) 2011, Cisco Systems, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and t...
KritikalFabric/corefabric.io
src/contrib/java/com/cisco/qte/jdtn/bp/EidMap.java
Java
apache-2.0
14,806
package org.luapp.practise.leetcode; /** * Created by lum on 2015/3/16. */ public class RemoveNthNodeFromEndOfList { public static class ListNode { int val; ListNode next; ListNode(int x) { val = x; next = null; } } public static ListNode removeN...
lumeng689/luapp
practise/src/main/java/org/luapp/practise/leetcode/RemoveNthNodeFromEndOfList.java
Java
apache-2.0
1,829
/* * Copyright 2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
leapframework/framework
base/core/src/main/java/leap/core/security/UserPrincipal.java
Java
apache-2.0
1,031
package eu.newsreader.conversion; import eu.newsreader.util.Util; import java.io.File; import java.io.FileOutputStream; import java.io.OutputStream; import java.util.ArrayList; /** * Created by piek on 12/15/14. */ public class ReduceConllResponse { static public void main (String[] args) { try { ...
cltl/coreference-evaluation
src/main/java/eu/newsreader/conversion/ReduceConllResponse.java
Java
apache-2.0
2,884
package me.nithanim.netty.packetlib.handler; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import java.util.Arrays; import me.nithanim.netty.packetlib.packets.Packet; import me.nithanim.netty.packetlib.testpackets.TestPacketEmpty; import me.nithanim.netty.packetlib.testpackets.TestPacketFull; import...
Nithanim/netty-packet-library
library/src/test/java/me/nithanim/netty/packetlib/handler/PacketEncoderTest.java
Java
apache-2.0
3,734
/* * Copyright 2010-2013 OrientDB LTD (info--at--orientdb.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 ...
orientechnologies/orientdb
core/src/main/java/com/orientechnologies/orient/core/storage/cluster/v1/OPaginatedClusterV1.java
Java
apache-2.0
69,403
package cn.hicc.information.sensorsignin.utils; import android.app.Activity; import android.app.ActivityManager; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo...
KnowledgeAndAction/-
app/src/main/java/cn/hicc/information/sensorsignin/utils/Utils.java
Java
apache-2.0
3,608
package cgeo.calendar; public interface ICalendar { static final String CALENDAR_ADDON_URI = "market://details?id=cgeo.calendar"; static final String INTENT = "cgeo.calendar.RESERVE"; static final String URI_SCHEME = "add"; static final String URI_HOST = "cgeo.org"; static final String PARAM_SHO...
eric-stanley/cgeo
main/src/cgeo/calendar/ICalendar.java
Java
apache-2.0
895
// 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 writi...
googleads/googleads-java-lib
modules/dfp_appengine/src/main/java/com/google/api/ads/admanager/jaxws/v202202/CustomFieldServiceInterfaceupdateCustomFieldOptions.java
Java
apache-2.0
2,990
package com.senla.bolkunets.autoservice.api.managers; import java.util.Comparator; import java.util.Date; import java.util.List; import com.senla.bolkunets.autoservice.api.beans.IOrder; import com.senla.bolkunets.autoservice.api.enums.OrderStatus; public interface IOrdersManager { List<IOrder> getOrders(); vo...
BolkunetsAlexandr/java-training
task 5/autoservice-api/src/com/senla/bolkunets/autoservice/api/managers/IOrdersManager.java
Java
apache-2.0
1,054
/* * Copyright 2015 Tinbytes 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...
rylexr/android-simple-search-app
app/src/androidTest/java/com/tinbytes/simplesearchapp/ApplicationTest.java
Java
apache-2.0
950
/* * Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.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 ...
opensingular/singular-server
requirement/requirement-module/src/main/java/org/opensingular/requirement/module/admin/healthsystem/extension/JobsAdminEntry.java
Java
apache-2.0
1,087
/* * 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 ...
smanvi-pivotal/geode
geode-core/src/test/java/org/apache/geode/internal/cache/RollbackFunction.java
Java
apache-2.0
5,585
package com.sequenceiq.cloudbreak.orchestrator.salt; import java.io.IOException; import java.util.List; import java.util.Map; import java.util.Optional; import javax.annotation.PostConstruct; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import org.yaml.sna...
hortonworks/cloudbreak
orchestrator-salt/src/main/java/com/sequenceiq/cloudbreak/orchestrator/salt/SaltErrorResolver.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 may...
arnaud-deprez/camel
components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/LocalDatePatternFormat.java
Java
apache-2.0
2,642
package com.sunjian.android_pickview_lib.view; import java.util.TimerTask; final class SmoothScrollTimerTask extends TimerTask { int realTotalOffset; int realOffset; int offset; final WheelView loopView; SmoothScrollTimerTask(WheelView loopview, int offset) { this.loopView = loopview; ...
crazysunj/Android-PickerView
android-pickerdialog/src/main/java/com/sunjian/android_pickview_lib/view/SmoothScrollTimerTask.java
Java
apache-2.0
2,075
/** * Copyright (c) 2008 Pyxis Technologies inc. * * This 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 Foundation; either version 2 of the License, or * (at your option) any later version. * * This software is...
strator-dev/greenpepper
greenpepper/greenpepper-client/src/main/java/com/greenpepper/server/rpc/runner/report/HtmlReport.java
Java
apache-2.0
3,703
package com.locompas.edd.bl.model.bd.session; import java.util.ArrayList; import java.util.HashMap; import javax.servlet.http.HttpSession; import com.locomaps.edd.bl.model.User; import com.locomaps.edd.bl.model.db.Persistance; import com.locomaps.edd.bl.model.db.PersistanceManager; import com.locomaps.edd.bl.model.d...
nmalesic/LocoMaps
src/com/locompas/edd/bl/model/bd/session/SessionConnection.java
Java
apache-2.0
2,053
/* * Copyright 2007-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...
suninformation/ymate-platform-v2
ymate-platform-persistence-jdbc/src/main/java/net/ymate/platform/persistence/jdbc/base/impl/DefaultProcedureOperator.java
Java
apache-2.0
8,131
/** */ package CIM15.IEC61968.AssetModels; import java.util.Arrays; import java.util.Collections; import java.util.List; import org.eclipse.emf.common.util.Enumerator; /** * <!-- begin-user-doc --> * A representation of the literals of the enumeration '<em><b>Conductor Usage Kind</b></em>', * and utility methods...
SES-fortiss/SmartGridCoSimulation
core/cim15/src/CIM15/IEC61968/AssetModels/ConductorUsageKind.java
Java
apache-2.0
5,925
/* * Copyright 2015 LINE Corporation * * LINE Corporation 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 re...
brant-hwang/armeria
src/main/java/com/linecorp/armeria/client/http/SimpleHttpRequest.java
Java
apache-2.0
2,958
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.internal.gosu.parser; import gw.internal.ext.org.objectweb.asm.Opcodes; import gw.internal.gosu.parser.java.classinfo.JavaSourceDefaultValue; import gw.lang.Deprecated; import gw.lang.GosuShop; import gw.lang.PublishedName; import gw.lang.javadoc.IClassDocN...
dumitru-petrusca/gosu-lang
gosu-core/src/main/java/gw/internal/gosu/parser/JavaMethodInfo.java
Java
apache-2.0
23,088
/** --| ADAPTIVE RUNTIME PLATFORM |---------------------------------------------------------------------------------------- (C) Copyright 2013-2015 Carlos Lozano Diez t/a Adaptive.me <http://adaptive.me>. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance wi...
AdaptiveMe/adaptive-arp-api-lib-java
src/main/java/me/adaptive/arp/api/ContactPersonalInfo.java
Java
apache-2.0
4,402
package com.example.dell.texttwo.ui; import com.example.dell.texttwo.R; import android.content.BroadcastReceiver; import android.content.IntentFilter; import android.database.ContentObserver; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; ...
YiNPNG/test
TextTwo/app/src/main/java/com/example/dell/texttwo/ui/FragmentBase.java
Java
apache-2.0
1,735
package br.com.dlp.jazzav.produto; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import br.com.dlp.jazzav.AbstractLogEntityVO; /** * * @author darcio * */ @Entity public class MarcaVO extends AbstractLogEntityVO<Lo...
darciopacifico/omr
modules/JazzAV/core/src/main/java/br/com/dlp/jazzav/produto/MarcaVO.java
Java
apache-2.0
644
package com.dream.plmm.bean; /** * Created by likun on 16/8/19. */ public class HealthyInfoDetailEntity { /** * count : 1754 * description : 平时要注意开窗通风,要多吃“补氧”食物,例如葵花子油、杏仁、奇异果、红薯等,还要多进行一些慢跑等有氧运动,这些都助于身体吸纳氧气 * fcount : 0 * id : 10 * img : /lore/150731/af4811aaf581c7369c4c425d449ab94d.jpg ...
dreamseekerkun/EnjoyLife
app/src/main/java/com/dream/plmm/bean/HealthyInfoDetailEntity.java
Java
apache-2.0
4,203
package uk.ac.ebi.atlas.profiles; import com.google.common.collect.MinMaxPriorityQueue; import uk.ac.ebi.atlas.commons.streams.ObjectInputStream; import uk.ac.ebi.atlas.model.GeneProfilesList; import uk.ac.ebi.atlas.model.Profile; import java.util.Comparator; import java.util.function.Supplier; public class MinMaxPr...
gxa/atlas
base/src/main/java/uk/ac/ebi/atlas/profiles/MinMaxProfileRanking.java
Java
apache-2.0
1,377
/* * Copyright 2017 - 2019 Roman Borris (pcfreak9000), Paul Hagedorn (Panzer1119) * * 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/...
OmniKryptec/OmniKryptec-Engine
src/main/java/de/omnikryptec/old/util/OSUtil.java
Java
apache-2.0
6,117
/** * Copyright (C) 2015 Agro-Know, Deutsches Forschungszentrum für Künstliche Intelligenz, iMinds, * Institut für Angewandte Informatik e. V. an der Universität Leipzig, * Istituto Superiore Mario Boella, Tilde, Vistatec, WRIPL (http://freme-project.eu) * * Licensed under the Apache License, Version 2.0 (the "Lic...
freme-project/Broker
src/main/java/eu/freme/broker/eservices/Pipelines.java
Java
apache-2.0
19,529
/** * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) 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...
maheshika/carbon-business-process
components/bpmn/org.wso2.carbon.bpmn/src/main/java/org/wso2/carbon/bpmn/core/internal/BPMNServiceComponent.java
Java
apache-2.0
3,411
package com.xsing.demo; import android.graphics.Typeface; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.FragmentActivity; /** * Baseclass of all Activities of the Demo Application. * * @author Philipp Jahoda */ public abstract class DemoBase extends FragmentA...
xsingHu/xs-android-architecture
study-view/xs-MPAndroidChartDemo/demo/src/main/java/com/xsing/demo/DemoBase.java
Java
apache-2.0
1,322
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/ml/v1beta1/model_service.proto package com.google.cloud.ml.api.v1beta1; public interface ModelOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.ml.v1beta1.Model) com.google.protobuf.MessageOrBuilder ...
speedycontrol/googleapis
output/com/google/cloud/ml/api/v1beta1/ModelOrBuilder.java
Java
apache-2.0
2,745
/** * Copyright 2015 Red Hat, Inc, and individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
twilking/wildfly-swarm
integration-tests/src/test/java/org/wildfly/swarm/integration/staticcontent/war/StaticContentWarTest.java
Java
apache-2.0
2,518
package com.lzy.imagepicker.adapter; import android.support.annotation.IdRes; import android.support.v7.widget.RecyclerView; import android.view.View; /** * Copyright (C) 2016,深圳市红鸟网络科技股份有限公司 All rights reserved. * 项目名称: * 类的描述: * 创建人员:Robi * 创建时间:2017/02/21 15:07 * 修改人员:Robi * 修改时间:2017/02/21 15:07 * 修改备注: ...
angcyo/RLibrary
imagepicker/src/main/java/com/lzy/imagepicker/adapter/ImageViewHolder.java
Java
apache-2.0
689
/** * Copyright (c) Anton Johansson <antoon.johansson@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 * * Unles...
anton-johansson/ip-to-geolocation-service
src/main/java/com/antonjohansson/geolocation/framework/domain/SourceData.java
Java
apache-2.0
859
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
googleads/googleads-java-lib
modules/dfp_axis/src/main/java/com/google/api/ads/admanager/axis/v202102/ProspectiveLineItem.java
Java
apache-2.0
13,510
/* * Copyright [2016-2020] [George Papadakis (gpapadis@yahoo.gr)] * * 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...
scify/JedAIToolkit
src/main/java/org/scify/jedai/textmodels/BagModel.java
Java
apache-2.0
6,720
/* * 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 ...
zimmermatt/flink
flink-tests/src/test/java/org/apache/flink/test/manual/StreamingScalabilityAndLatency.java
Java
apache-2.0
4,805
/******************************************************************************* * Copyright 2015 EMBL - European Bioinformatics Institute * * Licensed under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at...
mpi2/PhenotypeData
web/src/main/java/uk/ac/ebi/phenotype/chart/PercentileComputation.java
Java
apache-2.0
2,685
/* * 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-kinesisanalyticsv2/src/main/java/com/amazonaws/services/kinesisanalyticsv2/model/transform/CheckpointConfigurationUpdateMarshaller.java
Java
apache-2.0
3,340
package ca.six.views.util; import android.graphics.Color; public class ColorsUtil { public static boolean isLight(int color) { return Math.sqrt( Color.red(color) * Color.red(color) * 0.241 + Color.green(color) * Color.green(color) * 0.691 + Color.blue(color) * Color.blue(color) *...
songzhw/SixUiViews
SixUiViews/lib/src/main/java/ca/six/views/util/ColorsUtil.java
Java
apache-2.0
473
/** * Copyright 2013 Simeon Malchev * * 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 ...
tamalsen/vibur-dbcp
src/main/java/org/vibur/dbcp/cache/ReturnVal.java
Java
apache-2.0
1,964
package minerGCE; import org.xml.sax.SAXException; import ru.ispras.modis.NetBlox.parser.basicParsersAndUtils.Utils; import ru.ispras.modis.NetBlox.parser.basicParsersAndUtils.XMLIntegerRangeStringProcessor; import ru.ispras.modis.NetBlox.parser.xmlParser.CommonXMLParser; import ru.ispras.modis.NetBlox.parser.xmlPars...
ispras/NetBlox-plug-ins
graphMiners/GCE/src/minerGCE/GCEDescriptionParser.java
Java
apache-2.0
2,295
package net.bytebuddy.instrumentation.method.bytecode.bind; import net.bytebuddy.instrumentation.method.MethodDescription; import org.junit.Test; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.MatcherAssert.assertThat; import static org.mockito.Mockito.mock; public class MethodDelegationBinde...
RobAustin/byte-buddy
byte-buddy-dep/src/test/java/net/bytebuddy/instrumentation/method/bytecode/bind/MethodDelegationBinderAmbiguityResolverNoOpTest.java
Java
apache-2.0
764
/* * Copyright 2011-2013, by Vladimir Kostyukov and Contributors. * * This file is part of la4j project (http://la4j.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 * * ...
vkostyukov/la4j
src/main/java/org/la4j/decomposition/EigenDecompositor.java
Java
apache-2.0
27,846
package com.vmware.vim25; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for VirtualSCSIController co...
jdgwartney/vsphere-ws
java/JAXWS/samples/com/vmware/vim25/VirtualSCSIController.java
Java
apache-2.0
3,215
/* * Copyright 2013 MovingBlocks * * 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...
Malanius/Terasology
engine/src/main/java/org/terasology/utilities/procedural/SimplexNoise.java
Java
apache-2.0
19,875
/** * Copyright 2009-2015 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 * * Unle...
qiuyesuifeng/mybatis-3
src/test/java/org/apache/ibatis/submitted/cglib_lazy_error/CglibNPETest.java
Java
apache-2.0
6,189
/* * 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...
hazendaz/assertj-core
src/test/java/org/assertj/core/error/ShouldBeBeforeYear_create_Test.java
Java
apache-2.0
2,438
/* * 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/test/java/org/neo4j/kernel/configuration/TestConfig.java
Java
apache-2.0
6,899
package org.glamey.training.designmodel.responsibility_chain; import lombok.Builder; import lombok.Getter; import java.math.BigDecimal; /** * @author zhouyang.zhou. 2017.08.14.16. */ @Getter @Builder public class Applicant { private String name; private String subject; private BigDecimal money; }
glameyzhou/training
distribute/src/main/java/org/glamey/training/designmodel/responsibility_chain/Applicant.java
Java
apache-2.0
315
package br.com.cmabreu.action; import java.io.IOException; import javax.servlet.http.HttpServletResponse; import org.apache.struts2.StrutsStatics; import org.apache.struts2.convention.annotation.Action; import org.apache.struts2.convention.annotation.InterceptorRef; import org.apache.struts2.convention.anno...
icemagno/mapview
src/main/java/br/com/cmabreu/action/GetUnitDetailAction.java
Java
apache-2.0
1,116
package org.hl7.fhir.instance.model.api; import ca.uhn.fhir.model.api.annotation.SearchParamDefinition; import ca.uhn.fhir.rest.gclient.TokenClientParam; /* * #%L * HAPI FHIR - Core Library * %% * Copyright (C) 2014 - 2021 Smile CDR, Inc. * %% * Licensed under the Apache License, Version 2.0 (the "License"); *...
SingingTree/hapi-fhir
hapi-fhir-base/src/main/java/org/hl7/fhir/instance/model/api/IAnyResource.java
Java
apache-2.0
1,831
package ru.job4j.chess.firuges.black; import ru.job4j.chess.ImpossibleMoveException; import ru.job4j.chess.firuges.Figure; import ru.job4j.chess.firuges.Cell; /** * Black Knight. * @author Natasha Panchina (panchinanata25@gmail.com) * @version 1 * @since 18.08.2018 */ public class KnightBlack extends Figure { ...
NatashaPanchina/npanchina
chess/src/main/java/ru/job4j/chess/firuges/black/KnightBlack.java
Java
apache-2.0
1,234
/* ==================================================================== 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 Y...
lvweiwolf/poi-3.16
src/scratchpad/src/org/apache/poi/hemf/hemfplus/record/HemfPlusRecordType.java
Java
apache-2.0
5,033
package com.yakami.light.view.fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.yakami.light.BuildConfig; import com.yakami.light.R; import com.yakami.light.view.fragment.base.BaseFragment; impor...
hanFengSan/light
app/src/main/java/com/yakami/light/view/fragment/AboutFragment.java
Java
apache-2.0
958
/* * Copyright 2015 OpenCB * * 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...
kalyanreddyemani/opencga
opencga-catalog/src/test/java/org/opencb/opencga/catalog/CatalogManagerTest.java
Java
apache-2.0
89,707