repo_name
stringlengths
5
108
path
stringlengths
6
333
size
stringlengths
1
6
content
stringlengths
4
977k
license
stringclasses
15 values
osmanpub/oracle-samples
jms/durablesubscriptionexample/durableconsumer/src/main/java/javaeetutorial/durableconsumer/DurableConsumer.java
2114
package javaeetutorial.durableconsumer; import java.io.IOException; import java.io.InputStreamReader; import javax.annotation.Resource; import javax.jms.ConnectionFactory; import javax.jms.JMSConsumer; import javax.jms.JMSContext; import javax.jms.JMSRuntimeException; import javax.jms.Topic; public class D...
apache-2.0
xhochy/arrow
java/vector/src/test/java/org/apache/arrow/vector/ipc/BaseFileTest.java
36067
/* * 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 ...
apache-2.0
ctripcorp/dal
dal-client/src/test/java/com/ctrip/platform/dal/dao/sqlbuilder/DeleteSqlBuilderTest.java
3071
package com.ctrip.platform.dal.dao.sqlbuilder; import com.ctrip.platform.dal.common.enums.DatabaseCategory; import junit.framework.Assert; import org.junit.Test; import java.sql.SQLException; import java.sql.Types; import java.util.ArrayList; import java.util.List; public class DeleteSqlBuilderTest { ...
apache-2.0
zaishi24/safetyckeck
src/com/safety/service/impl/SnmpDetailServiceImpl.java
1093
package com.safety.service.impl; import java.util.List; import javax.annotation.Resource; import org.springframework.stereotype.Service; import com.safety.dao.IBaseDAO; import com.safety.entity.DnsDetail; import com.safety.entity.SnmpDetail; import com.safety.service.IDetailService; @Service("snmpDetail") public c...
apache-2.0
swanandmehta/Chat-Inc
src/main/Java/com/chatinc/managerImpl/UserManager.java
1626
package com.chatinc.managerImpl; import java.util.List; import org.hibernate.Session; import com.chatinc.common.HibernetUtil; import com.chatinc.entity.User; import com.chatinc.manager.IUserManager; public class UserManager extends GlobalManager<User> implements IUserManager { @Override public User ...
apache-2.0
mmmsplay10/QuizUpWinner
quizup/o/וּ.java
670
package o; import android.os.Handler.Callback; import android.os.Message; import java.util.BitSet; @օ public final class וּ implements Handler.Callback, ᒡ { private static final String ˊ = וּ.class.getSimpleName(); private final BitSet ˋ; static { new וּ.1(); } public final boolean handleMessage(Mess...
apache-2.0
Mikk-x/Mikk_Code_P2P
app/src/main/java/cynthia/com/mikk_code_p2p/fragment/HomeFragment.java
5959
package cynthia.com.mikk_code_p2p.fragment; import android.content.Context; import android.os.SystemClock; import android.text.TextUtils; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.loop...
apache-2.0
veraPDF/veraPDF-pdfbox
pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1Font.java
17367
/* * 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 ...
apache-2.0
boneman1231/org.apache.felix
trunk/org.osgi.foundation/src/main/java/java/lang/IllegalAccessError.java
1016
/* * $Header: /cvshome/build/ee.foundation/src/java/lang/IllegalAccessError.java,v 1.6 2006/03/14 01:20:25 hargrave Exp $ * * (C) Copyright 2001 Sun Microsystems, Inc. * Copyright (c) OSGi Alliance (2001, 2005). All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you...
apache-2.0
jbosschina/cluster
jgroups/tankwar/src/main/java/org/jgroups/demo/tankwar/TankWar.java
1781
package org.jgroups.demo.tankwar; import org.jgroups.demo.tankwar.core.MainFrame; import org.jgroups.demo.tankwar.jgroups.AsychCommunication; /** * * mvn clean install dependency:copy-dependencies * * java -cp ./target/jgroups-demo-tankwar.jar:./target/dependency/* -Djava.net.preferIPv4Stack=true org.jgroups.d...
apache-2.0
sbower/kuali-rice-1
shareddata/api/src/main/java/org/kuali/rice/shareddata/api/campus/CampusService.java
2957
/* * Copyright 2006-2011 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless ...
apache-2.0
brosander/nifi-android-s2s
s2s/src/main/java/com/hortonworks/hdf/android/sitetosite/client/persistence/SiteToSiteDB.java
8554
/* * Copyright 2017 Hortonworks, Inc. * All rights reserved. * * Hortonworks, 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/licenses...
apache-2.0
yelllowme/wanglin
app/src/main/java/com/wanglinkeji/wanglin/activity/IssueBlogActivity.java
29749
package com.wanglinkeji.wanglin.activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.text.Editable; import android.text.InputFilter; import android.text.Spannable; import android.text.SpannableStringBuilder; im...
apache-2.0
fipar/presto
presto-raptor/src/main/java/com/facebook/presto/raptor/RaptorSplit.java
2947
/* * 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...
apache-2.0
ivankelly/bookkeeper
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/Journal.java
49678
/** * * 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"); ...
apache-2.0
liquid-mind/warp
src/main/internal/java/ch/shaktipat/saraswati/internal/pobject/PersistentProcess.java
4272
package ch.shaktipat.saraswati.internal.pobject; import java.security.Principal; import java.util.Set; import java.util.Stack; import java.util.UUID; import java.util.concurrent.Callable; import java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock; import java.util.concurrent.locks.ReentrantReadWriteLock.WriteLo...
apache-2.0
satoshi-kimura/samurai-dao
src/main/java/jp/dodododo/dao/util/PreparedStatementUtil.java
2083
package jp.dodododo.dao.util; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import jp.dodododo.dao.config.DaoConfig; import jp.dodododo.dao.exception.SQLRuntimeException; import jp.dodododo.dao.log.SlowQuery; import jp.dodododo.dao.log.SqlLogRegistry; /** * * @author S...
apache-2.0
NovaOrdis/playground
algorithms/insertion-sort/src/main/java/io/novaordis/playground/algorithms/insertionsort/Configuration.java
653
package io.novaordis.playground.algorithms.insertionsort; import java.util.ArrayList; import java.util.List; /** * @author Ovidiu Feodorov <ovidiu@swim.ai> * @since 6/3/18 */ public class Configuration { List<Integer> list = new ArrayList<>(); public Configuration(String[] args) { for(String s: ...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-iot1clickprojects/src/main/java/com/amazonaws/services/iot1clickprojects/model/transform/DescribeProjectRequestProtocolMarshaller.java
2677
/* * 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...
apache-2.0
moreus/hadoop
hadoop-0.23.10/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/CompletedTaskAttempt.java
5235
/** * 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 n...
apache-2.0
jimsimon/gson-provider
src/main/java/com/fenix/rs/GsonJSONProvider.java
2298
package com.fenix.rs; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.UnsupportedEncodingException; import java.lang.annotation.Annotation; import java.lang.reflect.Type; import javax.ws...
apache-2.0
Chaklader/RESTful-Spring-Apache-Cxf
src/main/java/mobi/puut/entities/User.java
1946
package mobi.puut.entities; import javax.persistence.*; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; import java.util.HashSet; import java.util.Set; /** * Created by Chaklader on 6/13/17. */ @Entity @Table(name = "users") public class User { @Id @Column(name = "id...
apache-2.0
googleapis/api-compiler
src/main/java/com/google/api/tools/framework/model/Location.java
1087
/* * Copyright (C) 2016 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 ...
apache-2.0
Swapnil133609/Zeus-Controls
app/src/main/java/com/swapnil133609/zeuscontrols/utils/root/LinuxUtils.java
3222
/* * Copyright (C) 2015 Willi Ye * * 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...
apache-2.0
Salamahin/teamnotifier
src/main/java/com/home/teamnotifier/core/responses/status/EnvironmentInfo.java
1531
package com.home.teamnotifier.core.responses.status; import com.fasterxml.jackson.annotation.*; import com.google.common.collect.ImmutableList; import java.util.List; import java.util.Objects; @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") @JsonAutoDetect( ...
apache-2.0
JAVA201708/Homework
201708/20170828/Team1/Malanlan/examples/ex01/Data.java
635
import java.util.Scanner; public class Data { public static void main (String[]args) { Scanner sc=new Scanner(System.in); int [] data = {8,4,2,1,23,344,12}; int sum=0; int i; for(i=0;i<data.length;i++) { System.out.println(data[i]); sum+=data[i]; } System.out.println("数据之和"+sum);...
apache-2.0
leafclick/intellij-community
plugins/devkit/devkit-core/src/navigation/LineMarkerInfoHelper.java
4926
// 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 org.jetbrains.idea.devkit.navigation; import com.intellij.codeInsight.daemon.RelatedItemLineMarkerInfo; import com.intellij.codeInsight.navigation.NavigationGutterIconBui...
apache-2.0
ChiralBehaviors/Kramer
explorer/src/main/java/com/chiralbehaviors/layout/explorer/AutoLayoutExplorer.java
1749
/** * Copyright (c) 2016 Chiral Behaviors, LLC, 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 re...
apache-2.0
w4tson/blackfriar
blackfriar-web/src/test/java/com/blackfriar/controllers/GithubControllerTest.java
2123
package com.blackfriar.controllers; import com.blackfriar.config.TestConfig; import com.blackfriar.github.GithubClient; import com.blackfriar.github.dto.GithubUser; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org...
apache-2.0
djays123/KTrack
src/main/java/ktrack/ui/DogsList.java
757
package ktrack.ui; import org.apache.wicket.request.mapper.parameter.PageParameters; import org.apache.wicket.spring.injection.annot.SpringBean; import org.wicketstuff.annotation.mount.MountPath; import ktrack.repository.DogNamesRepository; import ktrack.repository.DogRepository; import ktrack.ui.panels.DogLi...
apache-2.0
voyagersearch/quickstart-java
src/main/java/voyager/quickstart/placefinder/XmlStreamPlacefinder.java
11882
package voyager.quickstart.placefinder; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.xml.parsers.SAXParserFactory; import javax.xml.stream.XMLInputFactory; import javax.xml.stream.XMLStreamConsta...
apache-2.0
letconex/MMT
src/api-rest/src/main/java/eu/modernmt/rest/actions/translation/GetContextVector.java
5434
package eu.modernmt.rest.actions.translation; import eu.modernmt.context.ContextAnalyzerException; import eu.modernmt.facade.ModernMT; import eu.modernmt.io.FileProxy; import eu.modernmt.lang.LanguagePair; import eu.modernmt.model.ContextVector; import eu.modernmt.persistence.PersistenceException; import eu.modernmt.r...
apache-2.0
xmruibi/Android_Chipotle
LibWizardPager/src/co/juliansuarez/libwizardpager/wizard/model/BranchPage.java
2783
package co.juliansuarez.libwizardpager.wizard.model; import java.util.ArrayList; import java.util.List; import android.support.v4.app.Fragment; import android.text.TextUtils; import co.juliansuarez.libwizardpager.wizard.ui.SingleChoiceFragment; /** * A page representing a branching point in the wizard. Depending on...
apache-2.0
Solomon1732/java-utilities
JavaUtils/src/main/java/com/sol/factory/GenericFactory.java
3428
/******************************************************************************* * Copyright (c) 2016 Shlomi Reuveni. * * 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.apa...
apache-2.0
YoungDigitalPlanet/empiria.player
src/main/java/eu/ydp/empiria/player/client/module/tutor/view/TutorViewImpl.java
4095
/* * Copyright 2017 Young Digital Planet S.A. * * 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...
apache-2.0
elusive-code/TServer
TServer-base/src/main/java/com/elusive_code/tserver/util/StreamRedirector.java
1117
package com.elusive_code.tserver.util; import org.apache.commons.io.IOUtils; import java.io.*; import java.util.logging.Level; import java.util.logging.Logger; /** * @author Vladislav Dolgikh */ public class StreamRedirector implements Runnable { private static Logger log = Logger.getLogger(StreamRedirector.c...
apache-2.0
ymn/lorsource
src/main/java/ru/org/linux/tag/TagRequest.java
1484
/* * Copyright 1998-2015 Linux.org.ru * 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...
apache-2.0
vjanmey/EpicMudfia
com/planet_ink/coffee_mud/core/database/MOBloader.java
53352
package com.planet_ink.coffee_mud.core.database; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.CMSecurity.SecFlag; import com.planet_ink.coffee_mud.core.CMSecurity.SecGroup; import com.planet_ink.coffee_mud.core.collections.*; import ...
apache-2.0
veniosg/Dir
app/src/androidTest/java/com/veniosg/dir/test/acceptance/SettingsActivityTest.java
286
package com.veniosg.dir.test.acceptance; import android.support.test.filters.LargeTest; import android.support.test.runner.AndroidJUnit4; import org.junit.Ignore; import org.junit.runner.RunWith; @RunWith(AndroidJUnit4.class) @LargeTest @Ignore public class SettingsActivityTest { }
apache-2.0
youngwookim/presto
presto-hive/src/main/java/io/prestosql/plugin/hive/HivePageSourceProvider.java
19087
/* * 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...
apache-2.0
palantir/atlasdb
atlasdb-cassandra/src/main/java/com/palantir/atlasdb/keyvalue/cassandra/CassandraLogHelper.java
3357
/* * (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 ...
apache-2.0
eliabruni/ludwig
src/com/s2m/ludwig/core/cooccur/Cooccurs.java
1800
package com.s2m.ludwig.core.cooccur; import com.carrotsearch.hppc.LongIntOpenHashMap; import com.carrotsearch.hppc.LongObjectOpenHashMap; import com.carrotsearch.hppc.ObjectArrayList; /************************************************************************* * * Description * ------- * * * Remarks * --...
apache-2.0
DreamSunny/Subway
subwaylib/src/main/java/com/infrastructure/image/DiskLruCache.java
33896
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
apache-2.0
taimos/dvalin
interconnect/metamodel/src/main/java/de/taimos/dvalin/interconnect/model/metamodel/memberdef/INamedMemberDef.java
247
package de.taimos.dvalin.interconnect.model.metamodel.memberdef; /** * Copyright 2022 Cinovo AG<br> * <br> * * @author psigloch */ public interface INamedMemberDef { /** * @return the members name */ String getName(); }
apache-2.0
Yiiinsh/x-pipe
core/src/main/java/com/ctrip/xpipe/payload/StringInOutPayload.java
1088
package com.ctrip.xpipe.payload; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.WritableByteChannel; import java.nio.charset.Charset; import com.ctrip.xpipe.api.codec.Codec; import io.netty.buffer.ByteBuf; /** * @author wenchao.meng * * 2016年4月26日 下午7:02:09 */ public class Stri...
apache-2.0
SingingTree/hapi-fhir
hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/search/builder/predicate/CompositeUniqueSearchParameterPredicateBuilder.java
1731
package ca.uhn.fhir.jpa.search.builder.predicate; /*- * #%L * HAPI FHIR JPA Server * %% * Copyright (C) 2014 - 2021 Smile CDR, 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...
apache-2.0
glowroot/glowroot
agent/embedded/src/test/java/org/glowroot/agent/embedded/util/CappedDatabaseTest.java
5634
/* * Copyright 2012-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
apache-2.0
ernellsoftware/JavaStreamProcessor
JavaStreamProcessor/src/se/ernell/java/streamprocessor/Score.java
9032
package se.ernell.java.streamprocessor; /* * Copyright (C) 2012 Robert Andersson <http://www.ernell.se> * * 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.ap...
apache-2.0
ranadas/conceptandpractices
JpaSpring4/src/main/java/com/rdas/db/EmailSubjectRepository.java
250
package com.rdas.db; import org.springframework.data.jpa.repository.JpaRepository; import com.rdas.model.EmailSubject; /** * Created by rdas on 10/02/2015. */ public interface EmailSubjectRepository extends JpaRepository<EmailSubject, Long> { }
artistic-2.0
leechwin/jslint-eclipse
com.googlecode.jslint4java.eclipse/src/com/googlecode/jslint4java/eclipse/builder/JSLintBuilder.java
7084
package com.googlecode.jslint4java.eclipse.builder; import java.io.BufferedReader; import java.io.Closeable; import java.io.IOException; import java.io.InputStreamReader; import java.util.Map; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IMarker; import org.eclipse.core.resources.IProjec...
bsd-2-clause
jcodec/jcodec
streaming/main/java/org/jcodec/movtool/streaming/VirtualMovie.java
3054
package org.jcodec.movtool.streaming; import java.lang.IllegalStateException; import java.lang.System; import java.io.IOException; import java.util.ArrayList; import java.util.List; /** * This class is part of JCodec ( www.jcodec.org ) This software is distributed * under FreeBSD License * * Virtual movie. A mo...
bsd-2-clause
licehammer/perun
perun-core/src/main/java/cz/metacentrum/perun/core/impl/modules/attributes/urn_perun_member_resource_attribute_def_def_dataLimit.java
8377
package cz.metacentrum.perun.core.impl.modules.attributes; import cz.metacentrum.perun.core.api.Attribute; import cz.metacentrum.perun.core.api.AttributeDefinition; import cz.metacentrum.perun.core.api.AttributesManager; import cz.metacentrum.perun.core.api.Member; import cz.metacentrum.perun.core.api.Resource; import...
bsd-2-clause
linkedin/LiTr
litr-filters/src/main/java/com/linkedin/android/litr/filter/video/gl/GammaFilter.java
2880
/* * Copyright 2018 Masayuki Suda * * The MIT License * * 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 limitation the rights to use, copy, modif...
bsd-2-clause
alpha-asp/Alpha
alpha-core/src/test/java/at/ac/tuwien/kr/alpha/core/solver/ThreeColouringTestWithRandom.java
9392
/** * Copyright (c) 2017 Siemens 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: * * 1) Redistributions of source code must retain the above copyright notice, this * list of condit...
bsd-2-clause
zhangjunfang/eclipse-dir
eCardCity2.0/ecardcity-om/src/main/java/cn/newcapec/function/ecardcity/om/biz/impl/BaseEmployeeServiceImpl.java
3841
/** * 系统名称 :城市一卡通综合管理平台 * 开发组织 :城市一卡通事业部 * 版权所属 :新开普电子股份有限公司 * (C) Copyright Corporation 2014 All Rights Reserved. * 本内容仅限于郑州新开普电子股份有限公司内部使用,版权保护,未经过授权拷贝使用将追究法律责任 */ package cn.newcapec.function.ecardcity.om.biz.impl; import java.util.List; import java.util.Map; import net.sf.json.JSONArray; import org.hiber...
bsd-2-clause
javafunk/funk
funk-core/src/main/java/org/javafunk/funk/iterators/ChainedIterator.java
3389
/* * Copyright (C) 2011-Present Funk committers. * All rights reserved. * * The software in this package is published under the terms of the BSD * style license a copy of which has been included with this distribution in * the LICENSE.txt file. */ package org.javafunk.funk.iterators; import org.apache.commons.l...
bsd-2-clause
swiezy/BPMN_temporal_logic_generator
Core/src/main/java/pl/edu/agh/kis/core/utilities/Utils.java
2165
/* * Copyright (c) 2015, pl.edu.agh * 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...
bsd-2-clause
wono/LoS
src/monsters/humans/Human.java
677
/* * * * * * * * * * * * * * * * * * * * * * * * * JAVA, ABSTRACT : HUMAN * * * last modified: 2014/06/10 * * first wrote: 2014/06/09 * * ...
bsd-2-clause
imagej/imagej-ops
src/main/java/net/imagej/ops/lookup/LookupByName.java
2030
/* * #%L * ImageJ2 software for multidimensional image processing and analysis. * %% * Copyright (C) 2014 - 2021 ImageJ2 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...
bsd-2-clause
jkwatson/jotify
gui/src/main/java/nl/pascaldevink/jotify/gui/swing/plaf/JotifyPreviousNextButtonUI.java
1938
package nl.pascaldevink.jotify.gui.swing.plaf; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import javax.swing.AbstractButton; import javax.swing.ImageIcon; import javax.swing.JComponent; import javax.swing.plaf.basic.BasicButtonUI; public class JotifyPreviousNextButtonUI extends Basi...
bsd-2-clause
robertocapuano/jink
jink/src/main/java/debug/model/classobject/SnapshotState.java
2034
/* * Copyright (c) 2014, Roberto Capuano <roberto@2think.it> * 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, th...
bsd-2-clause
balcirakpeter/perun
perun-core/src/main/java/cz/metacentrum/perun/core/bl/VosManagerBl.java
17656
package cz.metacentrum.perun.core.bl; import cz.metacentrum.perun.core.api.BanOnVo; import cz.metacentrum.perun.core.api.Candidate; import cz.metacentrum.perun.core.api.ExtSource; import cz.metacentrum.perun.core.api.Facility; import cz.metacentrum.perun.core.api.Group; import cz.metacentrum.perun.core.api.Host; impor...
bsd-2-clause
msetteducati/StarbucksSimulation
src/pa5_EC/Customer.java
1960
package pa5_EC; /** * Project 5: Starbucks Simulation * * Purpose: Store the fields relevant to a customer * * @author MichaelSetteducati * */ public class Customer { /** * Instance variable stores name of Customer */ private String name; /** * Instance variable stores arrival time of Customer *...
bsd-2-clause
kfricilone/runelite
runescape-client/src/main/java/class199.java
1285
import java.util.Iterator; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("ga") public class class199 implements Iterator { @ObfuscatedName("w") @ObfuscatedSignature( signature = "Lgt;" ) CombatInfoList field2429; @ObfuscatedName("m") ...
bsd-2-clause
kruss/Juggernaut
src/ui/panel/SchedulerPanel.java
6767
package ui.panel; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.util.ArrayList; import java.util.Date; import ja...
bsd-2-clause
yumix/growslowly
src/main/java/jp/yumix/mail/session/qualifier/Sonet.java
614
package jp.yumix.mail.session.qualifier; 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.R...
bsd-2-clause
milot-mirdita/GeMuDB
Vendor/NCBI eutils/src/gov/nih/nlm/ncbi/www/soap/eutils/efetch_gene/Value_type83.java
24041
/** * Value_type83.java * * This file was auto-generated from WSDL * by the Apache Axis2 version: 1.6.2 Built on : Apr 17, 2012 (05:34:40 IST) */ package gov.nih.nlm.ncbi.www.soap.eutils.efetch_gene; /** * Value_type83 bean class */...
bsd-2-clause
atomashpolskiy/link-rest
link-rest/src/main/java/com/nhl/link/rest/annotation/listener/UpdateServerParamsApplied.java
601
package com.nhl.link.rest.annotation.listener; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.Target; import com.nhl.link.rest.runtime.processo...
bsd-2-clause
mrduongnv/jcodec
src/main/java/org/jcodec/api/SequenceEncoder.java
3203
package org.jcodec.api; import java.io.File; import java.io.IOException; import java.nio.ByteBuffer; import java.util.ArrayList; import org.jcodec.codecs.h264.H264Encoder; import org.jcodec.codecs.h264.H264Utils; import org.jcodec.common.NIOUtils; import org.jcodec.common.SeekableByteChannel; import org.jcodec.common...
bsd-2-clause
cliniome/pki
secureClient/src/main/java/sa/com/is/Account.java
70938
package sa.com.is; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.Collections; import java.util.Date; import java.util.List; import java.util.Map; import java.util.UUID; import ...
bsd-3-clause
NCIP/national-biomedical-image-archive
docs/analysis_and_design/5.1/CedaraAIMMapingTo3_0/code/com/altova/types/DateTime.java
4666
/*L * Copyright SAIC, Ellumen and RSNA (CTP) * * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/national-biomedical-image-archive/LICENSE.txt for details. */ // DateTime.java // This file contains generated code and will be overwritten when you rerun code generation. ...
bsd-3-clause
magirtopcu/mopub-android-sdk
mopub-sdk/src/test/java/com/mopub/mobileads/BaseWebViewTest.java
4529
/* * Copyright (c) 2010-2013, MoPub 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 con...
bsd-3-clause
grassrootza/grassroot-platform
grassroot-services/src/main/java/za/org/grassroot/services/util/LogsAndNotificationsBroker.java
1664
package za.org.grassroot.services.util; import org.springframework.data.domain.Page; import org.springframework.data.jpa.domain.Specification; import za.org.grassroot.core.domain.ActionLog; import za.org.grassroot.core.domain.Notification; import za.org.grassroot.core.domain.User; import za.org.grassroot.core.domain.U...
bsd-3-clause
FuriKuri/aspgen
aspgen-generator/src/main/java/de/hbrs/aspgen/generator/container/AfterAdviceForParameterContainer.java
622
package de.hbrs.aspgen.generator.container; import de.hbrs.aspgen.api.ast.JavaMethod; public class AfterAdviceForParameterContainer extends AdviceForParameterContainer { @Override protected String getAdviceType(final JavaMethod javaMethod) { return "after"; } @Override protected String g...
bsd-3-clause
gnanam336/ideal
bootstrapped/ideal/library/elements/immutable_composite_value.java
180
// Autogenerated from isource/library/elements.i package ideal.library.elements; public interface immutable_composite_value extends immutable_value, readonly_composite_value { }
bsd-3-clause
UrielCh/ovh-java-sdk
ovh-java-sdk-hostingweb/src/main/java/net/minidev/ovh/api/hosting/web/localseo/OvhVisibilityCheckResponse.java
365
package net.minidev.ovh.api.hosting.web.localseo; /** * Struct describing the response for a visibility check request */ public class OvhVisibilityCheckResponse { /** * Is the searched location already managed ? * * canBeNull */ public Boolean alreadyManaged; /** * Searched location data * * canBeN...
bsd-3-clause
lang010/acit
leetcode/1334.find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance.414311323.ac.java
4303
/* * @lc app=leetcode id=1334 lang=java * * [1334] Find the City With the Smallest Number of Neighbors at a Threshold Distance * * https://leetcode.com/problems/find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance/description/ * * algorithms * Medium (46.34%) * Total Accepted: 17.2K ...
bsd-3-clause
NCIP/cacore-sdk-pre411
SDK4/conf/system/package/remote-client/src/TestXMLClient.java
3619
/*L * Copyright Ekagra Software Technologies Ltd. * Copyright SAIC * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cacore-sdk-pre411/LICENSE.txt for details. */ import gov.nih.nci.system.applicationservice.ApplicationService; import gov.nih.nci.system.client.Applicat...
bsd-3-clause
seratch/java-time-backport
src/main/java/java/time/chrono/Chronology.java
39617
/* * Copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos * * 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 abov...
bsd-3-clause
erwin1/gluon-samples
pws-gluoncloudlink-whiteboard/webapp-mobile/src/main/java/com/gluonhq/cloudlink/sample/whiteboard/mobile/storage/WhiteboardRepository.java
1982
/* * Copyright (c) 2016, Gluon * 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...
bsd-3-clause
percolate/foam
Foam/foam/src/main/java/com/percolate/foam/Graphite.java
4316
package com.percolate.foam; import android.content.Context; import java.io.DataOutputStream; import java.io.IOException; import java.net.Socket; /** * {@inheritDoc} */ class Graphite extends ServiceImpl implements EventTrackingService { String host; int port; String apiKey; Graphite(Context conte...
bsd-3-clause
Prospect-Robotics/2016Robot
src/org/usfirst/frc2813/Robot2016/commands/arms/SafeArmsUp.java
1037
package org.usfirst.frc2813.Robot2016.commands.arms; import org.usfirst.frc2813.Robot2016.commands.shooter.ShooterToMiddle; import edu.wpi.first.wpilibj.command.CommandGroup; /** * */ public class SafeArmsUp extends CommandGroup { public SafeArmsUp() { // Add Commands here: // e.g. ...
bsd-3-clause
pjreiniger/TempAllWpi
wpilibj/src/main/java/edu/wpi/first/wpilibj/SafePWM.java
2967
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2008-2017 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
bsd-3-clause
mural/spm
db4oj/src/main/java/com/db4o/internal/btree/algebra/BTreeRangeUnionUnion.java
1131
/* This file is part of the db4o object database http://www.db4o.com Copyright (C) 2004 - 2010 Versant Corporation http://www.versant.com db4o is free software; you can redistribute it and/or modify it under the terms of version 3 of the GNU General Public License as published by the Free Software Foundation. db4o ...
bsd-3-clause
monnetproject/coal
main/src/main/java/eu/monnetproject/align/Aligner.java
1262
package eu.monnetproject.align; import eu.monnetproject.ontology.Ontology; /** * Interface for aligning two ontologies * * @author Dennis Spohr * */ public interface Aligner { /** * Aligns two ontologies and stores the results in <code>alignment</code>. * * @param srcOntolog...
bsd-3-clause
NCIP/commons-module
software/washu-commons/src/test/java/edu/wustl/common/testdomain/Person.java
1954
/*L * Copyright Washington University in St. Louis, SemanticBits, Persistent Systems, Krishagni. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/commons-module/LICENSE.txt for details. */ package edu.wustl.common.testdomain; import java.util.Collection; import ...
bsd-3-clause
MjAbuz/carrot2
core/carrot2-util-text/src-test/org/carrot2/text/preprocessing/filter/MinLengthLabelFilterTest.java
1633
/* * Carrot2 project. * * Copyright (C) 2002-2015, Dawid Weiss, Stanisław Osiński. * All rights reserved. * * Refer to the full license file "carrot2.LICENSE" * in the root folder of the repository checkout or at: * http://www.carrot2.org/carrot2.LICENSE */ package org.carrot2.text.preprocessing.filter; imp...
bsd-3-clause
JesseeMeadows/Fury-Fighter
src/test/TestAllSuite.java
798
import org.junit.runner.RunWith; import org.junit.runners.Suite.SuiteClasses; @RunWith(value=org.junit.runners.Suite.class) @SuiteClasses(value={ TestMillisecTimer.class, TestUtils.class, TestFlyerModel.class, TestEnemyBullet.class, TestInputResponder.class, TestScoreTable.class, TestInputHa...
bsd-3-clause
wandora-team/zmpp-wandora
src/org/zmpp/io/TranscriptOutputStream.java
3928
/* * $Id: TranscriptOutputStream.java 548 2008-03-15 07:18:10Z weiju $ * * Created on 11/08/2005 * Copyright 2005-2008 by Wei-ju Wu * This file is part of The Z-machine Preservation Project (ZMPP). * * ZMPP is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public L...
bsd-3-clause
hashrock/JavaOutlineEditor
src/com/organic/maynard/outliner/model/propertycontainer/PropertyContainerUtil.java
13434
/** * Copyright (C) 2004 Maynard Demmon, maynard@organic.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: * * - Redistributions of source code must retain the above copyright *...
bsd-3-clause
livenson/libcdmi-java
src/test/java/eu/venusc/cdmi/ContainerOperationsTest.java
4191
package eu.venusc.cdmi; import static eu.venusc.cdmi.CDMIResponseStatus.REQUEST_CREATED; import static eu.venusc.cdmi.CDMIResponseStatus.REQUEST_DELETED; import static eu.venusc.cdmi.CDMIResponseStatus.REQUEST_NOT_FOUND; import java.io.IOException; import java.net.URISyntaxException; import java.util.HashSet; import ...
bsd-3-clause
exponentjs/exponent
android/versioned-abis/expoview-abi43_0_0/src/main/java/abi43_0_0/expo/modules/interfaces/sensors/services/PedometerServiceInterface.java
213
package abi43_0_0.expo.modules.interfaces.sensors.services; import abi43_0_0.expo.modules.interfaces.sensors.SensorServiceInterface; public interface PedometerServiceInterface extends SensorServiceInterface { }
bsd-3-clause
jevetools/data.model
com.jevetools.data.model.api.impl/src/com/jevetools/data/model/api/inventory/impl/MetaTypeImpl.java
4059
/* * Copyright (c) 2013, jEVETools * 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 c...
bsd-3-clause
NCIP/cab2b
software/dependencies/commonpackage/HEAD_TAG_10_Jan_2007_RELEASE_BRANCH_FOR_V11/test/edu/wustl/common/querysuite/queryobject/impl/ExpressionTestCase.java
15554
/*L * Copyright Georgetown University, Washington University. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cab2b/LICENSE.txt for details. */ package edu.wustl.common.querysuite.queryobject.impl; /** * @author Mandar Shidhore * @version 1.0 * @created 19...
bsd-3-clause
juniorbl/jtoyracing
src/net/juniorbl/jtoyracing/entity/vehicle/Wheel.java
3864
package net.juniorbl.jtoyracing.entity.vehicle; import net.juniorbl.jtoyracing.enums.ResourcesPath; import net.juniorbl.jtoyracing.util.ModelUtil; import com.jme.math.Vector3f; import com.jme.scene.Node; import com.jmex.physics.DynamicPhysicsNode; import com.jmex.physics.Joint; import com.jmex.physics.PhysicsSpace; i...
bsd-3-clause
AurionProject/Aurion
Product/Production/Services/PatientDiscoveryCore/src/test/java/gov/hhs/fha/nhinc/patientdiscovery/outbound/PassthroughOutboundPatientDiscoveryTest.java
9636
/* * Copyright (c) 2012, United States Government, as represented by the Secretary of Health and Human Services. * 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 so...
bsd-3-clause
paksv/vijava
src/com/vmware/vim25/ArrayOfNetIpRouteConfigSpecIpRouteSpec.java
2347
/*================================================================================ Copyright (c) 2013 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...
bsd-3-clause
pongad/api-client-staging
generated/java/proto-google-cloud-dlp-v2beta2/src/main/java/com/google/privacy/dlp/v2beta2/ListJobTriggersResponse.java
35112
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2beta2/dlp.proto package com.google.privacy.dlp.v2beta2; /** * <pre> * Response message for ListJobTriggers. * </pre> * * Protobuf type {@code google.privacy.dlp.v2beta2.ListJobTriggersResponse} */ public final class Lis...
bsd-3-clause
ox-it/gaboto
src/main/java/net/sf/gaboto/node/annotation/SimpleURIProperty.java
2749
/** * Copyright 2009 University of Oxford * * Written by Arno Mittelbach for the Erewhon Project * * 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 ...
bsd-3-clause
cyrilmhansen/ExtJWNL
extjwnl/src/main/java/net/sf/extjwnl/dictionary/morph/LookupIndexWordOperation.java
791
package net.sf.extjwnl.dictionary.morph; import net.sf.extjwnl.JWNLException; import net.sf.extjwnl.data.POS; import net.sf.extjwnl.dictionary.Dictionary; import java.util.Map; /** * Looks up index words. * * @author John Didion <jdidion@didion.net> * @author <a rel="author" href="http://autayeu.com/...
bsd-3-clause