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 org.plugin.dot; import com.intellij.lang.refactoring.RefactoringSupportProvider; import com.intellij.psi.PsiElement; import org.plugin.dot.psi.DotId; /** * Class defines the refactoring support features which can be used in dot language files. * At the moment the only DotIDs renaming is supported refactorin...
bzixilu/dotplugin
src/org/plugin/dot/DotRefactoringSupportProvider.java
Java
apache-2.0
933
package mensagem; import javax.faces.application.FacesMessage; import javax.faces.context.ExternalContext; import javax.faces.context.FacesContext; import javax.faces.context.Flash; /** * * @author Helcio */ public class Mensagem { public static void addInfoMsg(String mensagem) { FacesContext face...
JIGAsoftSTP/NICON
src/java/mensagem/Mensagem.java
Java
apache-2.0
1,243
package eu.lestard.easydi; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import javax.inject.Singleton; import static org.assertj.core.api.Assertions.assertThat; /** * This test is used to show how one can get an universal provider of instanc...
lestard/EasyDI
src/test/java/eu/lestard/easydi/InstanceProviderTest.java
Java
apache-2.0
1,834
package com.mob.thor.rpc.remoting.api.telnet.support.command; import com.mob.thor.rpc.common.extension.Activate; import com.mob.thor.rpc.remoting.api.ThorChannel; import com.mob.thor.rpc.remoting.api.telnet.TelnetHandler; import com.mob.thor.rpc.remoting.api.telnet.support.Help; @Activate @Help(parameter = ""...
MOBX/Thor
thor-rpc/src/main/java/com/mob/thor/rpc/remoting/api/telnet/support/command/ExitTelnetHandler.java
Java
apache-2.0
568
package hashdb.storage.protocol.internal; import hashdb.storage.entities.fields.EntryKeyLink; /** * The Interface InternalProtocol. */ public interface InternalProtocol { int getFirstPosition(EntryKeyLink key); int getNextPosition(EntryKeyLink key, int previous); int getNthPosition(EntryKeyLink key, int n);...
vivitas/hashdb
src/hashdb/storage/protocol/internal/InternalProtocol.java
Java
apache-2.0
451
package io.fabric8.kubernetes.api.model; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fas...
fabric8io/kubernetes-client
kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EmptyDirVolumeSource.java
Java
apache-2.0
2,472
/* * 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 ...
taegeonum/incubator-reef
lang/java/reef-wake/wake/src/test/java/org/apache/reef/wake/test/examples/TestJoin.java
Java
apache-2.0
1,484
/** * <copyright> * * Copyright (c) 2010 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: ...
adbrucker/SecureBPMN
designer/src/org.activiti.designer.model/src/main/java/org/eclipse/bpmn2/DataOutput.java
Java
apache-2.0
5,908
/* ### * IP: GHIDRA * * 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 writin...
NationalSecurityAgency/ghidra
Ghidra/Debug/ProposedUtils/src/main/java/generic/depends/DependentService.java
Java
apache-2.0
846
package org.schema.api.model.thing.intangible; import org.schema.api.model.thing.action.Action; public class Language extends Intangible { private String additionalType; private String alternateName; private String description; private String disambiguatingDescription; private String identifier;//Notes - Allowed...
omindra/schema_org_java_api
core_with_extensions/src/main/java/org/schema/api/model/thing/intangible/Language.java
Java
apache-2.0
2,268
/* * Copyright 2002-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
eddumelendez/spring-security
config/src/main/java/org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.java
Java
apache-2.0
8,810
package com.example.power.databasetest; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.widget.Toast; /** * Created by power on 2017/1/4. */ public class MyDatabaseHelper extends SQLiteOpenHelper { public static fin...
Doun2017/StudyCode
DatabaseTest/app/src/main/java/com/example/power/databasetest/MyDatabaseHelper.java
Java
apache-2.0
1,444
package com.qf.administrator.xiongmao.ui.fragments.homefragments; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutIn...
NoExceptionwgl/PanadaTV
app/src/main/java/com/qf/administrator/xiongmao/ui/fragments/homefragments/PandaFragment.java
Java
apache-2.0
4,381
package org.elkan1788.osc.weixin.mp.vo; /** * 微信消息实体基类 * * @author 凡梦星尘(senhuili@mdc.cn) * @since 2014/11/7 * @version 1.0.0 */ public abstract class BaseMsg { /** * 消息唯一ID(64位整型) */ protected long msgId; /** * 消息创建时间 (整型) */ protected long createTime; /** * 消息类型(text, image, video, voice, loc...
reidwang/-mpsdk4j
src/main/java/org/elkan1788/osc/weixin/mp/vo/BaseMsg.java
Java
apache-2.0
2,884
package com.taobao.tddl.sample; import java.io.FileNotFoundException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.HashMap; import java.util.Map; import org.springframework.util.Log4jConfigurer; import com.taobao.tddl.common....
xloye/tddl5
tddl-sample/src/main/java/com/taobao/tddl/sample/Simba2Sample.java
Java
apache-2.0
2,841
/* * Copyright 2017 GetSoftware (http://www.getsoftware.cl) * * 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 ...
egacl/gatewayio
GatewayProjects/Gateway/src/main/java/cl/io/gateway/AbstractGateway.java
Java
apache-2.0
8,471
public class EnergyCard extends Card{ private String energy_type; public EnergyCard(String card_name, String card_type, int collector_card_number, String energy_type) { super(card_name, card_type, collector_card_number); this.energy_type=energy_type; } @Override public String toString() { return ("na...
corann95/Pokedeck
Pokedeck/src/EnergyCard.java
Java
apache-2.0
497
package com.netflix.metacat.connector.polaris.store.repos; import com.netflix.metacat.connector.polaris.store.entities.PolarisDatabaseEntity; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.stereotype.Repository; import org.springframework.data.jpa.repository.JpaRepo...
ajoymajumdar/metacat
metacat-connector-polaris/src/main/java/com/netflix/metacat/connector/polaris/store/repos/PolarisDatabaseRepository.java
Java
apache-2.0
548
public class Temperature { public static void main(String[] args) { double centigrade = 0.0; int item = 1; do { double fahrenheit = centigrade * 9 / 5.0 + 32; System.out.println("第" + item + "条:\t摄氏温度为:" + centigrade + "时,\t华氏温度为:" + fahrenheit); centigrade = centigrade + 20; item++; }while(it...
JAVA201708/Homework
201708/20170825/Team1/SunHongJiang/examples/ex03/Temperature.java
Java
apache-2.0
388
package com.hwangjr.utils.screen; import android.content.Context; import android.util.DisplayMetrics; /** * Utility to convert density. */ public class DensityConverter { /** * convert pixel to dp */ public static int px2dp(Context context, float pxValue) { float scale = context.getResour...
AndroidKnife/Utils
screen/src/main/java/com/hwangjr/utils/screen/DensityConverter.java
Java
apache-2.0
1,657
package storm.contrib.spring.topology.component; import backtype.storm.Config; import backtype.storm.topology.ComponentConfigurationDeclarer; /** * [Class Description] * * @author Grant Henke * @since 12/4/12 */ public class ComponentConfig implements IComponentConfig { protected Config configuration; pr...
granthenke/storm-spring
src/main/java/storm/contrib/spring/topology/component/ComponentConfig.java
Java
apache-2.0
1,974
/* * Copyright 2014-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 * * Unless required by app...
dbflute-test/dbflute-test-active-dockside
src/main/java/org/docksidestage/dockside/dbflute/exbhv/pmbean/MemberChangedToWithdrawalForcedlyPmb.java
Java
apache-2.0
1,387
/* Android Asynchronous Http Client Copyright (c) 2011 James Smith <james@loopj.com> http://loopj.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.apac...
ice-coffee/WormBook
app/src/main/java/com/jie/book/work/download/RequestParams.java
Java
apache-2.0
10,067
/* * Licensed to the Sakai Foundation (SF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The SF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use th...
sakai-mirror/k2
agnostic/shared/src/main/java/org/sakaiproject/kernel/util/XSDValidator.java
Java
apache-2.0
2,999
/* ============================================================ * PersistentLocalDateTime.java * ============================================================ * Copyright 2013 University of Alberta * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance ...
RoddiPotter/cicstart
cicstart/src/main/java/ca/ualberta/physics/cssdp/dao/type/PersistentDateTime.java
Java
apache-2.0
3,063
/* * #%L * Health Monitoring : RRD Data Reader * %% * Copyright (C) 2012 Tieto * %% * 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....
open-infinity/health-monitoring
rrd-http-server/rrd-http-server/src/main/java/org/openinfinity/rrddatareader/http/GroupMetricNamesHandler.java
Java
apache-2.0
1,639
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2013.11.29 at 12:35...
ryandcarter/hybris-connector
src/main/java/org/mule/modules/hybris/model/PromotionNullActionDTO.java
Java
apache-2.0
1,127
/* * (c) Copyright 2018 Palantir Technologies 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 ...
palantir/atlasdb
timestamp-impl/src/main/java/com/palantir/timestamp/DebugLogger.java
Java
apache-2.0
2,566
/* * Copyright (c) 2020, 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.org/li...
wso2/carbon-commons
components/tenant-mgt-common/org.wso2.carbon.tenant.common/src/main/java/org/wso2/carbon/stratos/common/exception/TenantManagementServerException.java
Java
apache-2.0
1,279
package microservices.sample.persistence.ratpack; import com.beust.jcommander.JCommander; import com.beust.jcommander.Parameter; import microservices.sample.base.AvailablePortProvider; import microservices.sample.base.NetUtils; import microservices.sample.base.ratpack.BaseModule; import microservices.sample.base.ratpa...
masgari/microservices-sample
persistence-service/src/main/java/microservices/sample/persistence/ratpack/PersistenceServer.java
Java
apache-2.0
2,887
package cn.dongjak.table2bean.ui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.event.ComponentAdapter; import java.awt.event.ComponentEvent; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import javax.swing.AbstractListModel; import ...
cruldra/table2bean
src/main/java/cn/dongjak/table2bean/ui/PluginConfigurationPanel.java
Java
apache-2.0
4,597
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2012.09.12 at 0...
OpenSourceConsulting/athena-chameleon
src/main/java/com/athena/chameleon/engine/entity/xml/application/weblogic/v1_0/ParserFactoryType.java
Java
apache-2.0
3,885
/* * Copyright 2016 Victor Albertos * * 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...
VictorAlbertos/RxCache
compiler/src/test/java/io/rx_cache2/Mock.java
Java
apache-2.0
1,056
package app.model; import static javax.persistence.GenerationType.IDENTITY; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArg...
pawel-nn/proj_app_bd_sem7
ProjAppBD/src/main/java/app/model/Country.java
Java
apache-2.0
894
/* * Copyright 2018 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 applica...
androidx/media
libraries/test_session_current/src/main/java/androidx/media3/session/RemoteMediaSession.java
Java
apache-2.0
26,672
package GtsSoftware.activo; import java.util.Vector; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import GtsSoftware.general.CoAccion; import GtsSoftware.general.CoException; public class AccionBuscarPopUpRepuesto extends ...
chewaca/gtsSolution
GtsSoftware/src/GtsSoftware/activo/AccionBuscarPopUpRepuesto.java
Java
apache-2.0
1,104
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
leafclick/intellij-community
platform/lang-api/src/com/intellij/build/events/BuildEvent.java
Java
apache-2.0
1,412
package it.eng.sso.lsa.components; /** * Thrown when user exists but is not allowed to login (e.g. has been locked or otherwise deactivated) */ public class UserNotAllowedException extends Exception { /** * */ private static final long serialVersionUID = -6605845005490777590L; public UserNotAllowedExcep...
CAMTeam/fitman-cam
COMMON/Portal_LsaService/src/main/java/it/eng/sso/lsa/components/UserNotAllowedException.java
Java
apache-2.0
612
/* * Copyright (c) 2017 Dmitry Avtonomov * * 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 applicabl...
chhh/MSFTBX
MSFileToolbox/src/main/java/umich/ms/fileio/filetypes/pepxml/jaxb/standard/AnalysisResult.java
Java
apache-2.0
3,525
package com.zms.zpc.emulator.board.helper; import com.zms.zpc.emulator.board.DMAController; /** * Created by 张小美 on 2019-06-19. * Copyright 2002-2016 */ public interface DMATransferCapable { int handleTransfer(DMAController.DMAChannel channel, int position, int size); }
zms351/ZPC
src/com/zms/zpc/emulator/board/helper/DMATransferCapable.java
Java
apache-2.0
288
package com.jessyan.xs.topline.app.service; import com.jess.arms.base.BaseService; /** * Created by jess on 9/7/16 16:59 * Contact with jess.yan.effort@gmail.com */ public class DemoService extends BaseService { @Override public void init() { } }
ResidualSuspense/TopLine
app/src/main/java/com/jessyan/xs/topline/app/service/DemoService.java
Java
apache-2.0
265
/* * Copyright 2014 Real Logic 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 agreed to ...
qed-/Aeron
aeron-common/src/main/java/uk/co/real_logic/aeron/common/event/EventLogger.java
Java
apache-2.0
7,008
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.util.ui; import java.awt.*; import java.awt.font.FontRenderContext; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; im...
paplorinc/intellij-community
platform/util/src/com/intellij/util/ui/FontInfo.java
Java
apache-2.0
7,103
/* * Copyright 2013 Real Logic 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 agreed to ...
jhawo82882/MDP3Sample
test/java/uk/co/real_logic/sbe/generation/java/PackageOutputManagerTest.java
Java
apache-2.0
1,814
package com.google.api.ads.adwords.jaxws.v201402.video; import java.net.MalformedURLException; import java.net.URL; import javax.xml.namespace.QName; import javax.xml.ws.Service; import javax.xml.ws.WebEndpoint; import javax.xml.ws.WebServiceClient; import javax.xml.ws.WebServiceException; import javax.xml.ws.WebServ...
nafae/developer
modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201402/video/VideoCampaignCriterionService.java
Java
apache-2.0
3,177
/* * Copyright (c) 2008-2020, 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 ...
mesutcelik/hazelcast
hazelcast/src/test/java/com/hazelcast/map/merge/MapSplitBrainStressTest.java
Java
apache-2.0
6,477
/* * 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 ...
Union-Investment/Crud2Go
eai-portal-webapp-administration/src/main/java/de/unioninvestment/eai/portal/portlet/crud/mvp/views/DefaultFormView.java
Java
apache-2.0
12,463
package com.senla.rakickaya.courseplanner.services; import java.util.ArrayList; import java.util.Comparator; import java.util.Date; import java.util.List; import java.util.Map; import org.apache.log4j.Logger; import com.senla.rakickaya.courseplanner.api.beans.ICourse; import com.senla.rakickaya.courseplan...
RakickayaKaterina/Java-training
task7/courseplanner-services/src/com/senla/rakickaya/courseplanner/services/TimeTableService.java
Java
apache-2.0
5,596
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ide.ui; import com.intellij.util.messages.Topic; import org.jetbrains.annotations.NotNull; import java.util.EventListener; /** * If you are interested in ...
leafclick/intellij-community
platform/platform-api/src/com/intellij/ide/ui/LafManagerListener.java
Java
apache-2.0
685
package org.apereo.cas.config; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.configuration.model.support.saml.sps.AbstractSamlSPProperties; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Configurati...
Unicon/cas
support/cas-server-support-saml-sp-integrations/src/main/java/org/apereo/cas/config/CasSamlSPAcademicWorksConfiguration.java
Java
apache-2.0
789
/* * Copyright 2011 - 2013 NTB University of Applied Sciences in Technology * Buchs, Switzerland, http://www.ntb.ch/inf * * 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 * * h...
deepjava/runtime-library
src/org/deepjava/runtime/mpc555/test/FlashTest1.java
Java
apache-2.0
1,559
/* * Copyright (c) 2009-2018, toby weston & tempus-fugit committers * * 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...
tobyweston/tempus-fugit
src/test/java/com/google/code/tempusfugit/concurrency/CallableAdapterTest.java
Java
apache-2.0
2,805
package com.BASeCamp.SurvivalChests; import java.awt.Rectangle; import java.awt.geom.Rectangle2D; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.H...
BCProgramming/ChestRandomizer
src/com/BASeCamp/SurvivalChests/RandomizerCommand.java
Java
bsd-2-clause
48,156
package com.rop; import com.rop.session.SessionManager; import java.util.Map; /** * <pre> * ROP服务方法的处理者的注册表 * </pre> */ public interface RopContext { /** * 注册一个服务处理器 * * @param methodName * @param version * @param serviceMethodHandler */ void addServiceMethod(String met...
zhangjunfang/eclipse-dir
nsp_ocean/src/main/java/com/rop/RopContext.java
Java
bsd-2-clause
1,303
package org.commonmark.renderer.html; /** * The context for attribute providers. * <p>Note: There are currently no methods here, this is for future extensibility.</p> * <p><em>This interface is not intended to be implemented by clients.</em></p> */ public interface AttributeProviderContext { }
atlassian/commonmark-java
commonmark/src/main/java/org/commonmark/renderer/html/AttributeProviderContext.java
Java
bsd-2-clause
300
/* * 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...
Pushjet/Pushjet-Android
gradle/wrapper/dists/gradle-2.2.1-all/c64ydeuardnfqctvr1gm30w53/gradle-2.2.1/src/core/org/gradle/util/SingleMessageLogger.java
Java
bsd-2-clause
6,565
import net.runelite.mapping.Export; import net.runelite.mapping.Hook; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("gs") @Implements("PacketBuffer") public final class P...
UniquePassive/runelite
runescape-client/src/main/java/PacketBuffer.java
Java
bsd-2-clause
61,172
package com.adg.sync.ssh.util; import sun.misc.BASE64Decoder; import sun.misc.BASE64Encoder; import javax.crypto.Cipher; import javax.crypto.spec.SecretKeySpec; import java.io.IOException; import java.security.GeneralSecurityException; import java.security.Key; /** * Created by adg on 11/06/2015. * */ public clas...
alexghitulescu/SyncSSH
src/com/adg/sync/ssh/util/AESEncrypt.java
Java
bsd-2-clause
2,090
package com.fishbeans.util; /** * Created by ubu on 24.08.16. * * FAIL0012device offline (x) */ public enum ADB_ERRORS { FAIL_ERROR("FAIL"), OFFLINE_ERROR("device offline "); String errorKey; ADB_ERRORS(String errorKey) { this.errorKey = errorKey; } public String getErrorKey( )...
nsavageJVM/logcat-utls
display/src/main/java/com/fishbeans/util/ADB_ERRORS.java
Java
bsd-2-clause
356
package localsearch.domainspecific.vehiclerouting.vrp.constraints.eq; import java.util.ArrayList; import localsearch.domainspecific.vehiclerouting.vrp.IConstraintVR; import localsearch.domainspecific.vehiclerouting.vrp.IFunctionVR; import localsearch.domainspecific.vehiclerouting.vrp.VRManager; import localsearch.dom...
dungkhmt/cblsvr
src/localsearch/domainspecific/vehiclerouting/vrp/constraints/eq/EqFunctionFunction.java
Java
bsd-2-clause
14,616
package at.ac.tuwien.kr.alpha.api; import java.util.List; import at.ac.tuwien.kr.alpha.api.programs.atoms.Atom; import at.ac.tuwien.kr.alpha.api.terms.Term; /** * A {@link java.util.function.Predicate} testing {@link Atom}s in order to query {@link AnswerSet}s for {@link Atom}s satisfying a specific * query. * ...
alpha-asp/Alpha
alpha-api/src/main/java/at/ac/tuwien/kr/alpha/api/AnswerSetQuery.java
Java
bsd-2-clause
2,212
package org.newdawn.slick.opengl; import java.io.EOFException; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; import java.util.zip.CRC32; import java.util.zip.DataFormatException; import java.util.zip.Inflater; import org.lwjgl.BufferUtils; /** * The PNG imge data s...
SenshiSentou/SourceFight
slick_dev/tags/Slick0.3/src/org/newdawn/slick/opengl/PNGImageData.java
Java
bsd-2-clause
24,465
/* * 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...
Pushjet/Pushjet-Android
gradle/wrapper/dists/gradle-2.2.1-all/c64ydeuardnfqctvr1gm30w53/gradle-2.2.1/src/core/org/gradle/api/internal/initialization/ClassLoaderScope.java
Java
bsd-2-clause
2,836
package de.lessvoid.nifty.controls.checkbox; import de.lessvoid.nifty.controls.CheckBoxStateChangedEvent; /** * The representation of a CheckBoxView from the world of a CheckBox. * @author void */ public interface CheckBoxView { /** * Update the View with the new state. * @param checked new state of the c...
xranby/nifty-gui
nifty-controls/src/main/java/de/lessvoid/nifty/controls/checkbox/CheckBoxView.java
Java
bsd-2-clause
500
/** * Security tag library. * * <pre> * Copyright (c) 2006, Craig Condit. 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 abo...
insideo/randomcoder-taglibs
src/main/java/org/randomcoder/taglibs/security/package-info.java
Java
bsd-2-clause
1,491
/* * Copyright (c) 2018, The University of Memphis, MD2K Center of Excellence * * 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 c...
MD2Korg/mCerebrum-DataKit
datakit/src/main/java/org/md2k/datakit/router/RoutingManager.java
Java
bsd-2-clause
18,641
package dragonhawk.kyperj.core.sound; import dragonhawk.kyperj.core.load.GameResource; public interface GameSound extends GameResource{ public boolean isPlaying(); public String getRef(); public SoundType getType(); /** * play the current sound * @param loop - whether sound loops */ public void pla...
DragonHawkMedia/KyperJGE
src/dragonhawk/kyperj/core/sound/GameSound.java
Java
bsd-2-clause
1,160
package sort; import search.BinarySearchInMiddleItem; import java.util.ArrayList; import java.util.List; public class BinarySort<T extends Comparable<T>> implements Sort<T> { @Override public List<T> sort(List<T> list) { if (list == null) throw new NullPointerException(); if (list...
Konstantin8105/GenericSort
sort/src/sort/BinarySort.java
Java
bsd-2-clause
1,077
/* * #%L * SCIFIO library for reading and converting scientific file formats. * %% * Copyright (C) 2011 - 2021 SCIFIO developers. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of so...
scifio/scifio
src/main/java/io/scif/img/cell/loaders/FloatArrayLoader.java
Java
bsd-2-clause
3,231
package com.pineone.icbms.so.util.spring.springkafka.producer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.kafka.core.KafkaTemplate; import org.springframework.kafka.support.SendResult; import org.springframework.uti...
iotoasis/SO
so-util/src/main/java/com/pineone/icbms/so/util/spring/springkafka/producer/AProducerHandler.java
Java
bsd-2-clause
2,341
/** This file is part of a jTEM project. All jTEM projects are licensed under the FreeBSD license or 2-clause BSD license (see http://www.opensource.org/licenses/bsd-license.php). Copyright (c) 2002-2009, Technische Universität Berlin, jTEM All rights reserved. Redistribution and use in source and binary forms, wit...
jupsal/schmies-jTEM
libUnzipped/de/jtem/mfc/field/QuaternionEditorPanel.java
Java
bsd-2-clause
4,478
package com.ayros.historycleaner.cleaning; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import android.app.Activity; import android.os.Build; import android.support.annotation.Nullable; import android.util.Log; import com.ayros.historycleaner.UIRunner; import com...
JohnNPhillips/HistoryCleanerPro
HistoryCleaner/app/src/main/java/com/ayros/historycleaner/cleaning/Cleaner.java
Java
bsd-2-clause
6,187
/* * Copyright (c) 2014. Philip DeCamp * Released under the BSD 2-Clause License * http://opensource.org/licenses/BSD-2-Clause */ package bits.thicket; /** * @author decamp */ public class RepulsePhaseBarnesHut implements SolverPhase { private static final float FORCE_COST_FACTOR = 4.0f; private i...
decamp/thicket
src/main/java/bits/thicket/RepulsePhaseBarnesHut.java
Java
bsd-2-clause
9,209
package mission.behaviour; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; import mission.Board; import mission.gameobject.Component; public class MechAttack { List<Volley> shootCycle; Volley currentVolley; float timer...
m312z/Mercs
src/mission/behaviour/MechAttack.java
Java
bsd-2-clause
3,321
/******************************************************************************* * Copyright (c) 2015 Sierra Wireless and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Distribution License v1.0 whi...
iotoasis/SI
si-modules/LWM2M_IPE_Server/org/eclipse/leshan/core/node/codec/json/LwM2mNodeJsonEncoder.java
Java
bsd-2-clause
9,186
/* * Copyright (C) 2009 Center for Computational Pharmacology, University of Colorado School of Medicine * * This program 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 Licens...
UCDenver-ccp/datasource
datasource-fileparsers/src/main/java/edu/ucdenver/ccp/datasource/fileparsers/gad/GeneticAssociationDbAllTxtFileData.java
Java
bsd-3-clause
17,788
/* * #%L * sfdc-email-to-case-agent * %% * Copyright (C) 2005 salesforce.com, 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: * * 1. Redistributions of source code must reta...
vitkin/sfdc-email-to-case-agent
src/main/java/com/sforce/mail/Notification.java
Java
bsd-3-clause
5,401
package systemtests; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.util.Map; import org.junit.After; import org.junit.Before; import org.junit.Test; import systemtests.config.ApiDetails; ...
kdkanishka/Virustotal-Public-API-V2.0-Client
src/test/java/systemtests/VirusTotalServiceClientSystemTest.java
Java
bsd-3-clause
8,204
package it.unitn.ing.wizard.HIPPOWizard; import it.unitn.ing.rista.util.MaudPreferences; import it.unitn.ing.wizard.HIPPOWizard.HIPPOdata; import java.io.*; import java.util.ArrayList; import java.util.StringTokenizer; public class IPRFileReader { private BufferedReader input = null; public IPRFileReader(Buffer...
luttero/Maud
src/it/unitn/ing/wizard/HIPPOWizard/IPRFileReader.java
Java
bsd-3-clause
1,877
package vg.civcraft.mc.mercury.venus; import vg.civcraft.mc.mercury.MercuryPlugin; import vg.civcraft.mc.mercury.ServiceHandler; public class VenusHandler implements ServiceHandler { private VenusService service; private MercuryPlugin plugin = MercuryPlugin.instance; public VenusHandler(){ service = new VenusS...
Civcraft/Mercury
src/vg/civcraft/mc/mercury/venus/VenusHandler.java
Java
bsd-3-clause
1,282
/* * HE_Mesh Frederik Vanhoutte - www.wblut.com * * https://github.com/wblut/HE_Mesh * A Processing/Java library for for creating and manipulating polygonal meshes. * * Public Domain: http://creativecommons.org/publicdomain/zero/1.0/ */ package wblut.hemesh; import processing.core.PImage; import wblut.geom....
DweebsUnited/CodeMonkey
java/CodeMonkey/HEMesh/wblut/hemesh/HET_Texture.java
Java
bsd-3-clause
8,745
package com.krishagni.catissueplus.core.administrative.domain; import java.util.Date; import org.hibernate.envers.Audited; import com.krishagni.catissueplus.core.biospecimen.domain.BaseEntity; @Audited public class ContainerActivityLog extends BaseEntity { private StorageContainer container; private ScheduledCon...
krishagni/openspecimen
WEB-INF/src/com/krishagni/catissueplus/core/administrative/domain/ContainerActivityLog.java
Java
bsd-3-clause
2,061
package de.chrlembeck.codegen.generator.lang; /** * Referenz auf ein Objekt, dessen Attribut ausgelesen soll oder dessen Methode aufgerufen werden soll. * * @author Christoph Lembeck */ public class ObjectCallSource implements CallSource { /** * Enthaltenes Objekt mit dazugehörigem Typ für die Auswertung...
chrlembeck/codegen
codegen-generator/src/main/java/de/chrlembeck/codegen/generator/lang/ObjectCallSource.java
Java
bsd-3-clause
1,049
/******************************************************************************* * Copyright (c) 2013, SAP AG * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributio...
fdicerbo/fiware-dba
src/main/java/com/sap/dpre/mySQL/MySQLQueryExecutor_Util.java
Java
bsd-3-clause
7,368
package org.mafagafogigante.dungeon.world; import org.mafagafogigante.dungeon.entity.Luminosity; import org.mafagafogigante.dungeon.entity.creatures.Observer; import org.mafagafogigante.dungeon.io.Version; import java.io.Serializable; /** * A visibility criterion based on luminosity. */ public class LuminosityVisi...
mafagafogigante/dungeon
src/main/java/org/mafagafogigante/dungeon/world/LuminosityVisibilityCriterion.java
Java
bsd-3-clause
885
/* * $Id$ */ /* Copyright (c) 2000-2014 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including...
lockss/lockss-daemon
src/org/lockss/protocol/BlockingStreamComm.java
Java
bsd-3-clause
74,623
/* * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * Copyright (c) 2008, Nationwide Health Information Network (NHIN) Connect. All rights reserved. * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * - R...
TATRC/KMR2
Services/DisplayCalendarLib/src/main/java/gov/hhs/fha/nhinc/displaycalendarlib/CalendarAccessor.java
Java
bsd-3-clause
4,343
/*================================================================================ Copyright (c) 2012 Steve Jin. 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 re...
xebialabs/vijava
src/com/vmware/vim25/HostNetworkInfo.java
Java
bsd-3-clause
4,709
/******************************************************************************* * Copyright (c) 2016, David Picard. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions o...
davidpicard/jkernelmachines
src/main/java/net/jkernelmachines/projection/DoublePCA.java
Java
bsd-3-clause
5,987
package com.mongodb.orm.builder.statement; import java.util.HashMap; import java.util.Map; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import com.mongodb.constant.ORM; import com.mongodb.exception.StatementException; import com.mongodb.orm.engine.Config; import com.mongodb.orm.engine.config.CommandConfig;...
jingjidejuren/mongodb-orm
src/main/java/com/mongodb/orm/builder/statement/CommandStatement.java
Java
bsd-3-clause
2,461
/** * Copyright (c) 2011-2012, yMock.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: 1) Redistributions of source code must retain the above * copyright notice, this list of condition...
yegor256/ymock
ymock-mocks/mock-socket/src/main/java/com/ymock/mock/socket/DataBridge.java
Java
bsd-3-clause
2,113
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.util.vma; import javax.annotation.*; import java.nio.*; import org.lwjgl.*; import org.lwjgl.system.*; import static org.lwjgl.system.Checks.*; import static org.l...
TheMrMilchmann/lwjgl3
modules/lwjgl/vma/src/generated/java/org/lwjgl/util/vma/VmaRecordSettings.java
Java
bsd-3-clause
14,303
/* Copyright (c) 2000-2021 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitat...
lockss/lockss-daemon
src/org/lockss/servlet/DaemonStatus.java
Java
bsd-3-clause
31,321
/* Copyright © 2014 Matthew Champion 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 the follow...
mattunderscorechampion/tree-root
tree-traversers/src/test/java/com/mattunderscore/trees/traversers/PostOrderIteratorTest.java
Java
bsd-3-clause
5,016
/* * Copyright (c) 2007, intarsys consulting GmbH * * 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 the f...
intarsys/runtime
src/de/intarsys/tools/functor/ConstantFunctor.java
Java
bsd-3-clause
2,102
package bio.terra.cli.serialization.userfacing.input; import bio.terra.workspace.model.GcpGcsBucketDefaultStorageClass; /** * This enum defines the possible storage classes for buckets, and maps these classes to the * corresponding {@link GcpGcsBucketDefaultStorageClass} enum in the WSM client library. The CLI * d...
DataBiosphere/terra-cli
src/main/java/bio/terra/cli/serialization/userfacing/input/GcsStorageClass.java
Java
bsd-3-clause
1,313
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.vulkan; import javax.annotation.*; import java.nio.*; import org.lwjgl.*; import org.lwjgl.system.*; import static org.lwjgl.system.Checks.*; import static org.lwj...
TheMrMilchmann/lwjgl3
modules/lwjgl/vulkan/src/generated/java/org/lwjgl/vulkan/VkQueryPoolPerformanceCreateInfoKHR.java
Java
bsd-3-clause
18,937
/******************************************************************************* * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *********************************...
Caleydo/caleydo
org.caleydo.vis.lineup/src/main/java/org/caleydo/vis/lineup/internal/event/WeightsChangedEvent.java
Java
bsd-3-clause
844
/** *============================================================================ * The Ohio State University Research Foundation, The University of Chicago - * Argonne National Laboratory, Emory University, SemanticBits LLC, * and Ekagra Software Technologies Ltd. * * Distributed under the OSI-approved BSD 3-Clau...
NCIP/cagrid-portal
cagrid-portal/aggr/src/java/gov/nih/nci/cagrid/portal/aggr/geocode/Geocoder.java
Java
bsd-3-clause
830
package com.nx.util.jme3.base; /* * 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. */ import com.jme3.animation.AnimControl; import com.jme3.animation.Animation; import com.jme3.animation....
NemesisMate/UtilJME3-Base
src/main/java/com/nx/util/jme3/base/MergeUtil.java
Java
bsd-3-clause
41,984