code
stringlengths
3
1.04M
repo_name
stringlengths
5
109
path
stringlengths
6
306
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
3
1.04M
/* * Copyright 2017 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...
YoungDigitalPlanet/empiria.player
src/test/java/eu/ydp/empiria/player/client/module/selection/controller/NoAnswerPriorityComparatorJUnitTest.java
Java
apache-2.0
1,360
package com.letionik.matinee.repository; import com.letionik.matinee.MatineeApplication; import com.letionik.matinee.model.Event; import com.letionik.matinee.model.Participant; import com.letionik.matinee.model.User; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springfram...
alexeyzyabkin/matinee
backend/src/test/java/com/letionik/matinee/repository/EventRepositoryTest.java
Java
apache-2.0
2,408
/* * 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/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/CachesHolder.java
Java
apache-2.0
4,410
// Copyright 2000-2018 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.psi.codeStyle; import com.intellij.openapi.util.Pair; import com.intellij.openapi.util.Ref; import com.intellij.openapi.util.TextRange; import com.intellij.o...
paplorinc/intellij-community
platform/util/src/com/intellij/psi/codeStyle/TypoTolerantMatcher.java
Java
apache-2.0
36,686
package de.mosmann.topics; import com.google.common.collect.ImmutableList; public enum Day { One(Topic.MarkupMagic,Topic.Components,Topic.Forms,Topic.Validation,Topic.Events,Topic.Models), Two(Topic.FormValidationComponents), Three(Topic.Converter,Topic.Paging), ToDo(Topic.Persistence), Any(Topic.Playground); ...
michaelmosmann/wicket-in-3-days
src/main/java/de/mosmann/topics/Day.java
Java
apache-2.0
500
/* * Copyright (c) 2014. Marshal Chen. */ package com.marshalchen.common.commonUtils.fileUtils; import android.content.Context; import com.marshalchen.common.commonUtils.basicUtils.BasicUtils; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; i...
apkdemo/UltimateAndroid
UltimateAndroidGradle/ultimateandroid/src/main/java/com/marshalchen/common/commonUtils/fileUtils/ResourceUtils.java
Java
apache-2.0
4,380
/* * Copyright © Yan Zhenjie. All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
henjue/Album
album/src/main/java/com/yanzhenjie/album/task/ScanTask.java
Java
apache-2.0
5,585
package org.mockserver.model; import org.junit.Test; import org.mockserver.collections.CaseInsensitiveRegexHashMap; import java.util.Arrays; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.Is.is; import static org.mockserver.model.NottableString.not; import static org.mockserver....
jamesdbloom/mockserver
mockserver-core/src/test/java/org/mockserver/model/KeyAndValueTest.java
Java
apache-2.0
686
package com.dw.services.dto; import java.util.Collections; import java.util.List; public class DwDto { private List<String> errors = Collections.emptyList(); private String message; public DwDto setErrors(List<String> errors) { this.errors = errors; return this; } public DwDto setMessage(String message) { ...
PetroRavlinko/dw-services
src/main/java/com/dw/services/dto/DwDto.java
Java
apache-2.0
474
package com.planet_ink.coffee_mud.Abilities.Songs; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.pl...
vjanmey/EpicMudfia
com/planet_ink/coffee_mud/Abilities/Songs/Skill_SongWrite.java
Java
apache-2.0
5,422
package com.github.fingahoverit.tryout.neo4jneo4jogm.persistence.utils; import org.neo4j.ogm.config.Configuration; import org.neo4j.ogm.session.Session; import org.neo4j.ogm.session.SessionFactory; import org.neo4j.ogm.transaction.Transaction; public class SessionHelper { /** static entity manager. */ private stat...
fingahoverit/neo4j-neo4j_ogm
src/main/java/com/github/fingahoverit/tryout/neo4jneo4jogm/persistence/utils/SessionHelper.java
Java
apache-2.0
2,091
package com.openshift.evg.roadshow.rest; import java.util.HashMap; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.openshift.evg.roadshow.rest.gateway.helpers.EndpointRegistrar; import com.openshift.evg.roadshow.rest.gateway.helpers.EndpointWatcher; i...
openshift-roadshow/parksmap-web
src/main/java/com/openshift/evg/roadshow/rest/AbstractResourceWatcher.java
Java
apache-2.0
4,930
/* Copyright (c) 2012 Marco Amadei. 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...
lmu-bioinformatics/ucanaccess
src/main/java/net/ucanaccess/complex/SingleValue.java
Java
apache-2.0
2,124
package com.google.api.ads.adwords.jaxws.v201409.cm; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for QuotaError.Reason. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpleType n...
nafae/developer
modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201409/cm/QuotaErrorReason.java
Java
apache-2.0
2,729
package com.exina.android.calendar; import android.content.Context; import android.util.AttributeSet; import android.view.GestureDetector; import android.view.GestureDetector.SimpleOnGestureListener; import android.view.MotionEvent; import android.view.View; import android.widget.ScrollView; /** * @author Joaquín Na...
navarrojoaquin/workshiftcalendar
src/com/exina/android/calendar/CustomScrollView.java
Java
apache-2.0
1,744
package com.lizy.myglide.load.data; import android.support.annotation.Nullable; import com.lizy.myglide.Priority; import com.lizy.myglide.load.DataSource; /** * Created by lizy on 16-4-27. */ public interface DataFetcher<T> { interface DataCallback<T> { void onDataReady(@Nullable T t); void o...
eaglelzy/myglide
library/src/main/java/com/lizy/myglide/load/data/DataFetcher.java
Java
apache-2.0
531
/* * Copyright 2011 - 2014 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/ppc32/Task.java
Java
apache-2.0
9,292
package com.scottlogic.thull.appstore.api; import java.io.File; import org.apache.catalina.Context; import org.apache.catalina.startup.Tomcat; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class TomcatRunner { static final Logger LOG = LoggerFactory.getLogger(TomcatRunner.class); public static v...
thullSL/app-store-api
src/com/scottlogic/thull/appstore/api/TomcatRunner.java
Java
apache-2.0
1,512
package com.lwx.study.循环谜题; public class Lesson28 { public static void main(String[] args) { //对负数补码 位运算的学习 int start=Integer.MIN_VALUE; start=Integer.MAX_VALUE-1;//无限循环 for(int i =start;i<=start+1;i++){ System.out.println(66); } System.out.println(1); } }
draem0507/java_puzzlers
src/com/lwx/study/循环谜题/Lesson28.java
Java
apache-2.0
314
package com.wealoha.thrift; import org.apache.thrift.TServiceClient; import org.apache.thrift.protocol.TProtocol; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * * @author javamonk * @createTime 2014年11月22日 下午8:40:26 */ public abstract class ThriftUtil { private static Logger logger = LoggerF...
aloha-app/thrift-client-pool-java
src/main/java/com/wealoha/thrift/ThriftUtil.java
Java
artistic-2.0
1,103
// // 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: 2016.10.07 at 09:56...
iotoasis/SI
si-onem2m-src/IITP_IoT_2_7/src/main/java/net/herit/iot/onem2m/resource/OriginatorESPrimRandObject.java
Java
bsd-2-clause
6,494
package awt; /** * Created by colamachine on 16-6-18. */ public class ZEventDispatchThread extends Thread { public void run(){ while(true){ /*try{ this.pumbs }*/ } } }
ColaMachine/MyBlock
src/main/java/awt/ZEventDispatchThread.java
Java
bsd-2-clause
236
/** * */ package edu.cmu.cs.lane.datatypes.dataset; /** * @author zinman * */ public class ClinicalDataType { private String id; private String desc; private String type; /** * */ public ClinicalDataType(String id, String desc, String type) { this.id = id; this.desc = desc; this.type = type; }...
ckingsford/CGE-genetic-pipeline
src/main/java/edu/cmu/cs/lane/datatypes/dataset/ClinicalDataType.java
Java
bsd-2-clause
839
/* * Copyright (c) 2018, Magic fTail * 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 conditi...
abelbriggs1/runelite
runelite-client/src/main/java/net/runelite/client/plugins/chatfilter/ChatFilterPlugin.java
Java
bsd-2-clause
5,915
/* * #%L * ImageJ2 software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 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...
imagej/imagej-legacy
src/test/java/net/imagej/legacy/convert/roi/polygon2d/Polygon2DWrapperTest.java
Java
bsd-2-clause
3,990
/* * 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 ...
amplab/smash
calldiff/src/main/java/edu/berkeley/cs/amplab/calldiff/CommandLine.java
Java
bsd-2-clause
10,929
package mainpackage.ui; import java.awt.Component; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Insets; import java.awt.Rectangle; import java.awt.RenderingHints; import java.awt.image.BufferedImage; import javax.imageio.ImageIO; import javax.swing.border.Border; // Source http://stackoverflo...
motasay/Image-based-text-encryption
src/mainpackage/ui/RoundedBorder.java
Java
bsd-2-clause
2,329
package com.lessvoid.coregl.input.spi; public abstract class NullCoreKeyEvent implements CoreKeyEvent { @Override public boolean isAutoRepeat() { throw new UnsupportedOperationException(); } @Override public boolean isConsumed() { throw new UnsupportedOperationException(); } @Override public...
bgroenks96/coregl
coregl-utils/src/main/java/com/lessvoid/coregl/input/spi/NullCoreKeyEvent.java
Java
bsd-2-clause
16,114
package de.lessvoid.nifty.slick2d.render.cursor.loader; import org.lwjgl.LWJGLException; import java.io.IOException; import de.lessvoid.nifty.slick2d.render.cursor.LwjglCursorSlickMouseCursor; import de.lessvoid.nifty.slick2d.render.cursor.SlickLoadCursorException; import de.lessvoid.nifty.slick2d.render.cur...
xranby/nifty-gui
nifty-renderer-slick/src/main/java/de/lessvoid/nifty/slick2d/render/cursor/loader/LwjglCursorSlickMouseCursorLoader.java
Java
bsd-2-clause
1,639
package org.midnightbsd.appstore.services; import lombok.extern.slf4j.Slf4j; import org.midnightbsd.appstore.model.Rating; import org.midnightbsd.appstore.model.RatingAverage; import org.midnightbsd.appstore.repository.PackageRepository; import org.midnightbsd.appstore.repository.RatingRepository; import org.springfra...
laffer1/midnightbsd-app-store
src/main/java/org/midnightbsd/appstore/services/RatingService.java
Java
bsd-2-clause
2,572
package gov.healthit.chpl.auth; import java.util.Date; import java.util.Properties; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.PasswordAuthentication; import javax.mail.Session; import javax.mail.Transport; import javax.mail.internet.AddressException; import javax.ma...
chris-watson/chpl-api
chpl/chpl-auth/src/main/java/gov/healthit/chpl/auth/SendMailUtil.java
Java
bsd-2-clause
3,525
/** * Copyright (c) 2009/09-2012/08, Regents of the University of Colorado * 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 copy...
clearnlp/clearnlp
src/test/java/com/clearnlp/propbank/PBLocTest.java
Java
bsd-2-clause
2,791
//Copyright 2013, Nathan Tippy //See LICENSE file for BSD license details. //Send support requests to http://www.ociweb.com/contact package com.ociweb.jfast.field; import com.ociweb.pronghorn.ring.RingBuffer; import com.ociweb.pronghorn.ring.RingBuffer.PaddedLong; /** * Arena memory pattern where we allocate a sin...
romanp-stl/jFAST
src/main/java/com/ociweb/jfast/field/LocalHeap.java
Java
bsd-2-clause
27,702
/******************************************************************************* * Copyright (c) cortical.io GmbH. All rights reserved. * * This software is confidential and proprietary information. * You shall use it only in accordance with the terms of the * license agreement you entered into with cortical.io Gm...
cortical-io/android-client-sdk
retina-service-android-api-client/src/main/java/io/cortical/services/api/client/api/ExpressionsApi.java
Java
bsd-2-clause
20,646
/* * Copyright (c) 2014. Massachusetts Institute of Technology * Released under the BSD 2-Clause License * http://opensource.org/licenses/BSD-2-Clause */ package bits.glui.event; /** * @author decamp */ public class GKeyAdapter implements GKeyListener { public void keyPressed(GKeyEvent e) {} public vo...
decamp/glui
src/main/java/bits/glui/event/GKeyAdapter.java
Java
bsd-2-clause
396
package eu.cogbin.sprited.core.io.impl; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.IOException; import javax.imageio.ImageIO; import org.codehaus.jackson.JsonParser; import org.codehaus.jackson.JsonProcessingException; import org.codehaus.jackson.map.DeserializationConte...
cogbin/sprited
core/src/main/java/eu/cogbin/sprited/core/io/impl/BufferedImageDeserializer.java
Java
bsd-3-clause
841
package net.spals.appbuilder.mapstore.core.model; import com.google.auto.value.AutoValue; import com.google.common.collect.ImmutableList; import net.spals.appbuilder.mapstore.core.model.MapRangeOperator.Extended; import net.spals.appbuilder.mapstore.core.model.MultiValueMapRangeKey.ListValueHolder; import java.util.L...
spals/appbuilder
mapstore-core/src/main/java/net/spals/appbuilder/mapstore/core/model/MultiValueMapRangeKey.java
Java
bsd-3-clause
2,158
package dbcache.conf; import java.sql.Types; import org.hibernate.Hibernate; import org.hibernate.dialect.MySQL5InnoDBDialect; /** * * 增加MYSQL对 HIBERNATE本地SQL查询结果集中返回 text,longtext,blob,longblob支持 * */ public class MysqlDialect extends MySQL5InnoDBDialect { public MysqlDialect(){ super(); ...
Jakegogo/concurrent
concur/src-dbcache/dbcache/conf/MysqlDialect.java
Java
bsd-3-clause
598
/* * Copyright (C) 2019 European Spallation Source ERIC. * * 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 License, or (at your option) any later version. * * T...
EuropeanSpallationSource/openxal
extensions/jels/src/main/java/xal/extension/jels/model/elem/ThinRfFieldMap.java
Java
bsd-3-clause
7,822
package net.dougqh.jak.jvm.operations; import java.lang.reflect.Type; import net.dougqh.jak.jvm.JvmOperationProcessor; import net.dougqh.jak.types.Category1; import net.dougqh.jak.types.Category2; public final class dup_x2 extends StackManipulationOperation { public static final String ID = "dup_x2"; public static...
dougqh/JAK
net.dougqh.jak.jvm.core/src/net/dougqh/jak/jvm/operations/dup_x2.java
Java
bsd-3-clause
1,404
/* * $Id$ * * Copyright 2006, The jCoderZ.org 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 must retain the above copyright * noti...
jCoderZ/fawkez-old
src/java/org/jcoderz/commons/connector/http/HttpConnectionExtended.java
Java
bsd-3-clause
2,274
/*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. */ /* * Created on Aug 13, 2007 * @author * */ package edu.common.dynamicextensions.xmi.exporter; import java.io...
NCIP/cab2b
software/dependencies/dynamicextensions/caB2B_2009_JUN_02/src/edu/common/dynamicextensions/xmi/exporter/XMIExportInterface.java
Java
bsd-3-clause
843
package imperial.modaclouds.fg.lqnUpdater; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ ...
imperial-modaclouds/modaclouds-fg-actuator
src/test/java/imperial/modaclouds/fg/lqnUpdater/AppTest.java
Java
bsd-3-clause
661
/* * $Id$ * * Copyright 2003-2008 Online Breedband B.V. * See the COPYRIGHT file for redistribution and use restrictions. */ package org.xins.server; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.io.Writer; import java.util.Iterator; import org.xins.common.MandatoryArgument...
muloem/xins
src/java-server-framework/org/xins/server/CallResultOutputter.java
Java
bsd-3-clause
4,774
/******************************************************************************* * Copyright (c) 2014-2015, Anton Gustafsson * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistri...
antag99/aquarria
aquarria/src/com/github/antag99/aquarria/entity/EntityView.java
Java
bsd-3-clause
2,158
package info.freelibrary.pairtree; import static info.freelibrary.pairtree.Pairtree.PAIRTREE_ROOT; import static java.util.UUID.randomUUID; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.attribute.FileAttribute;...
ksclarke/vertx-pairtree
src/test/java/info/freelibrary/pairtree/PairtreeFactoryTest.java
Java
bsd-3-clause
5,081
package com.krishagni.catissueplus.core.administrative.events; public class VacantPositionsOp { private Long containerId; private String containerName; private String startRow; private String startColumn; private Integer startPosition; private int requestedPositions = 1; public Long getContainerId() { r...
krishagni/openspecimen
WEB-INF/src/com/krishagni/catissueplus/core/administrative/events/VacantPositionsOp.java
Java
bsd-3-clause
1,214
package eta.runtime.thunk; import eta.runtime.stg.Closure; import eta.runtime.stg.DataCon; import eta.runtime.stg.StgContext; public abstract class SelectorNoUpd extends Thunk { protected final int index; protected final Closure p; public SelectorNoUpd(int i, Closure p) { super(); this.in...
pparkkin/eta
rts/src/eta/runtime/thunk/SelectorNoUpd.java
Java
bsd-3-clause
582
package synergynet3.web.apps.numbernet.shared; import java.io.Serializable; import java.util.Date; import java.util.logging.Logger; import com.google.gwt.user.client.rpc.IsSerializable; /** * The Class Expression. */ public class Expression implements Serializable, IsSerializable { /** The Constant log. */ priv...
synergynet/synergynet3.1
synergynet3.1-parent/synergynet3-numbernet-core/src/main/java/synergynet3/web/apps/numbernet/shared/Expression.java
Java
bsd-3-clause
5,866
// Copyright (c) 2003-present, Jodd Team (jodd.org). All Rights Reserved. package jodd.proxetta.impl; import jodd.proxetta.JoddProxetta; import jodd.proxetta.ProxettaBuilder; import jodd.proxetta.ProxettaException; import jodd.proxetta.ProxettaUtil; import jodd.proxetta.asm.ProxettaWrapperClassBuilder; impor...
wsldl123292/jodd
jodd-proxetta/src/main/java/jodd/proxetta/impl/WrapperProxettaBuilder.java
Java
bsd-3-clause
2,350
// Copyright (c) 2014 MediaMiser Ltd. All rights reserved. package com.mediamiser.client; import java.io.IOException; import java.io.InputStream; import java.net.URI; import java.security.Principal; import java.util.List; import java.util.Properties; import java.util.Set; import javax.json.JsonArray; import javax.jso...
MediaMiser/rest-client
src/test/java/com/mediamiser/client/SampleClientTest.java
Java
bsd-3-clause
5,331
package org.texastorque.texastorque20145.input; import org.texastorque.texastorque20145.constants.Constants; import org.texastorque.texastorque20145.subsystem.Clapper; import org.texastorque.texastorque20145.subsystem.FrontIntake; import org.texastorque.texastorque20145.subsystem.RearIntake; import org.texastorque.tex...
TexasTorque/TexasTorque2014.5
src/org/texastorque/texastorque20145/input/DriverInput.java
Java
bsd-3-clause
3,558
package vaman; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Set; public class Category extends AGrouping { public Category() { } @Override public int getTotalDots() { int sum = 0; for (AGrouping group : this.getSlaves()) sum += group.getTotalDots(); retu...
PatrickLerner/vaman
src/main/java/vaman/Category.java
Java
bsd-3-clause
2,749
package com.cyphercor.logintc; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Locale; import java.util.Map; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org....
logintc/logintc-java
src/main/java/com/cyphercor/logintc/LoginTC.java
Java
bsd-3-clause
58,343
/** * */ package gov.nih.nci.cagrid.portal.aggr.metachange; import gov.nih.nci.cagrid.portal.aggr.AbstractMetadataListener; import gov.nih.nci.cagrid.portal.dao.CQLQueryInstanceDao; import gov.nih.nci.cagrid.portal.dao.GridServiceDao; import gov.nih.nci.cagrid.portal.dao.SharedCQLQueryDao; import gov.nih.nci.cagrid....
NCIP/cagrid
cagrid/Software/portal/cagrid-portal/aggr/src/java/gov/nih/nci/cagrid/portal/aggr/metachange/MetadataChangeListener.java
Java
bsd-3-clause
6,070
/* * Copyright (c) 2008, 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/native-c
src/de/intarsys/nativec/type/NativeString.java
Java
bsd-3-clause
3,288
package com.atlassian.sal.core.component; import java.util.Collection; import java.util.HashMap; import junit.framework.TestCase; import com.atlassian.sal.api.component.ComponentLocator; public class TestComponentLocator extends TestCase { public void testConvertClassToName() { MockComponentLocator l...
mrdon/SAL
sal-core/src/test/java/com/atlassian/sal/core/component/TestComponentLocator.java
Java
bsd-3-clause
1,055
/* * Copyright (c) 2012, František Haas, Martin Lacina, Jaroslav Kotrč, Jiří Daniel * 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 ab...
lottie-c/spl_tests_new
src/java/spl/ADoubleGenerator.java
Java
bsd-3-clause
2,297
package org.basex.query.func.fn; import static org.basex.util.Token.*; import org.basex.query.*; import org.basex.query.func.*; import org.basex.query.util.format.*; import org.basex.query.value.item.*; import org.basex.query.value.seq.*; import org.basex.util.*; import org.basex.util.hash.*; /** * Function impleme...
BaseXdb/basex
basex-core/src/main/java/org/basex/query/func/fn/FnFormatInteger.java
Java
bsd-3-clause
1,196
package example7; public class Person { public int customerNumber; public String firstName; public String lastName; }
vkorbut/jibx
jibx/tutorial/example7/Person.java
Java
bsd-3-clause
132
package com.ilearnrw.reader; /* * Copyright (c) 2015, iLearnRW. Licensed under Modified BSD Licence. See licence.txt for details. */ import ilearnrw.user.problems.ProblemDefinition; import ilearnrw.user.problems.ProblemDefinitionIndex; import ilearnrw.user.problems.ProblemDescription; import ilearnrw.user.profile.Use...
mpakarlsson/ilearnrw-reader
src/com/ilearnrw/reader/PresentationModule.java
Java
bsd-3-clause
13,262
package GenericLayer; import pages.HomePageLinksEnum; import pages.MoTeCHDashBoardPage; import pages.OpenMRSLoginPage; import pages.SearchPage; public class WebClass implements searchRepository { public SearchPage searchPage; public boolean doesPatientExist(String patientID) { OpenMRSLoginPage openM...
motech/MOTECH-Ghana
functional-tests/src/test/java/GenericLayer/WebClass.java
Java
bsd-3-clause
748
package org.planet_sl.apimigration.benchmark.dom4j; import java.io.IOException; import java.io.OutputStream; import java.util.List; import org.dom4j.Document; import org.dom4j.DocumentHelper; import org.dom4j.Element; import org.dom4j.io.XMLWriter; import org.planet_sl.apimigration.benchmark.scenarios.xo_mapping.Cont...
grammarware/slps
topics/api-migration/benchmark/src/org/planet_sl/apimigration/benchmark/dom4j/ContactsToDocumentUsingDOM4J.java
Java
bsd-3-clause
1,273
package at.ac.tuwien.infosys.java2wadl.wadl; import java.util.List; /** * The Grammars-element acts as a container for definitions of the format of data exchanged during execution of the * protocol described by the WADL document. Such definitions may be included inline or by reference using the * Include-element. ...
ameingast/java2wadl
src/main/java/api/at/ac/tuwien/infosys/java2wadl/wadl/IGrammars.java
Java
bsd-3-clause
1,241
package com.knewton.titanik; import com.tinkerpop.blueprints.Graph; import com.tinkerpop.blueprints.TransactionalGraph; import com.tinkerpop.blueprints.Vertex; import com.tinkerpop.blueprints.impls.tg.TinkerGraph; public class DirectConsumer implements TitanikEventConsumer { private final Graph graph; public...
dsiegel/BlueprintsExperiment
src/main/java/com/knewton/titanik/DirectConsumer.java
Java
bsd-3-clause
1,781
package com.chute.sdk.model.response; import java.util.ArrayList; import java.util.List; import com.chute.sdk.collections.GCAssetCollection; import com.chute.sdk.model.GCUploadToken; public class GCUploadTokenResponse { private GCAssetCollection assetCollection = new GCAssetCollection(); private List<GCUpl...
chute/Chute-SDK
Android/src/com/chute/sdk/model/response/GCUploadTokenResponse.java
Java
bsd-3-clause
1,244
/* Copyright (c) 2013, Groupon, 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 the following disc...
groupon/nakala
src/test/java/com/groupon/nakala/core/FeaturesTest.java
Java
bsd-3-clause
4,941
package org.usfirst.frc1124.commands; import org.usfirst.frc1124.subsystems.AllSubsystems; import org.usfirst.frc1124.subsystems.BeltSubsystem; public class PullCommand extends CommandBase { public PullCommand() { // Use requires() here to declare subsystem dependencies // eg. requires(chassis);...
homosapien97/UberbotsJava
CR2/src/org/usfirst/frc1124/commands/PullCommand.java
Java
bsd-3-clause
976
/** * MOTECH PLATFORM OPENSOURCE LICENSE AGREEMENT * * Copyright (c) 2010-11 The Trustees of Columbia University in the City of * New York and Grameen Foundation USA. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
motech/MOTECH-Ghana
motech-server-core/src/main/java/org/motechproject/server/model/MessageAttribute.java
Java
bsd-3-clause
2,280
package net.fiive; import com.google.common.base.Optional; import com.google.common.base.Preconditions; import com.google.common.collect.Maps; import java.util.HashMap; import java.util.Map; public class HiraganaTranslator { Map<String,Integer> hiraganaMap; public HiraganaTranslator() { hiraganaMap = Maps.newH...
rafaeladson/examples
hiraganaTranslator-pom/hiraganaTranslator/src/net/fiive/HiraganaTranslator.java
Java
bsd-3-clause
1,356
package de.plushnikov.intellij.plugin.provider; import com.intellij.codeInsight.daemon.ImplicitUsageProvider; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiField; import de.plushnikov.intellij.plugin.processor.LombokPsiElementUsage; import java.util.Collection; /** * Provides implicit usages of lom...
AlexejK/lombok-intellij-plugin
src/main/java/de/plushnikov/intellij/plugin/provider/LombokImplicitUsageProvider.java
Java
bsd-3-clause
1,632
package org.basex.query.expr; import static org.basex.query.QueryError.*; import static org.basex.query.func.Function.*; import org.basex.query.ast.*; import org.basex.query.expr.constr.*; import org.basex.query.value.item.*; import org.basex.query.value.seq.*; import org.basex.query.value.seq.tree.*; import org.base...
BaseXdb/basex
basex-core/src/test/java/org/basex/query/expr/SimpleMapTest.java
Java
bsd-3-clause
5,253
// Copyright (c) 2003-present, Jodd Team (jodd.org). All Rights Reserved. package jodd.bean.data; import java.util.List; public class MixBean { public List<Integer> data; // ---------------------------------------------------------------- private List<Integer> data1; public List<Integer> getData2() { retur...
wsldl123292/jodd
jodd-bean/src/test/java/jodd/bean/data/MixBean.java
Java
bsd-3-clause
631
/** * Java classes and interfaces related to in-memory storage of data. */ package edu.washington.escience.myria.storage;
uwescience/myria
src/edu/washington/escience/myria/storage/package-info.java
Java
bsd-3-clause
124
package cz.muni.physics.pdr.app.spring; import cz.muni.physics.pdr.app.controller.EntryEditDialogController; import cz.muni.physics.pdr.app.controller.PhotometricDataOverviewController; import cz.muni.physics.pdr.app.controller.SearchReportDialogController; import cz.muni.physics.pdr.app.controller.StellarObjectOvervi...
m-krajcovic/photometric-data-retriever
app/src/main/java/cz/muni/physics/pdr/app/spring/Screens.java
Java
bsd-3-clause
6,354
/** *============================================================================ * The Ohio State University Research Foundation, Emory University, * the University of Minnesota Supercomputing Institute * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cagrid-grid-incubation...
NCIP/cagrid-grid-incubation
grid-incubation/incubator/projects/InterfacesExtension/projects/interfaces/templates/src/spring/ServiceApplicationContextGenerator.skeleton.java
Java
bsd-3-clause
1,125
package io.jvm.json.deserializers; import io.jvm.json.JsonDeserializer; import io.jvm.json.JsonReader; import java.io.IOException; public class LongJsonDeserializer implements JsonDeserializer<Long> { @Override public Long fromJson(final JsonReader jsonReader) throws IOException { final StringBuilder...
melezov/jvm.io
json/src/main/java/io/jvm/json/deserializers/LongJsonDeserializer.java
Java
bsd-3-clause
592
package prefuse.render; import awt.java.awt.Shape; import awt.java.awt.geom.GeneralPath; import prefuse.Constants; import prefuse.data.Schema; import prefuse.util.GraphicsLib; import prefuse.visual.VisualItem; /** * <p>Renderer for drawing a polygon, either as a closed shape, or as a * series of potentially unclo...
dritanlatifi/AndroidPrefuse
src/prefuse/render/PolygonRenderer.java
Java
bsd-3-clause
6,578
package org.redcross.openmapkit; import com.spatialdev.osm.model.OSMDataSet; import com.spatialdev.osm.model.OSMXmlParser; import org.xmlpull.v1.XmlPullParserException; import java.io.IOException; import java.io.InputStream; /** * Created by Nicholas Hallahan on 1/29/15. * * You should use this instead of OSMXml...
onaio/OpenMapKit
app/src/main/java/org/redcross/openmapkit/OSMXmlParserInOSMMapBuilder.java
Java
bsd-3-clause
1,424
// Strong Hold BOB 2016 Commands (Arcade Drive) package org.usfirst.frc319.commands.Climber; import edu.wpi.first.wpilibj.CANTalon.TalonControlMode; import edu.wpi.first.wpilibj.command.Command; import org.usfirst.frc319.Robot; import org.usfirst.frc319.RobotMap; /** * */ public class ManualClimb extends Command ...
Team319/StrongHoldBOB2016
src/org/usfirst/frc319/commands/Climber/ManualClimb.java
Java
bsd-3-clause
707
/* $This file is distributed under the terms of the license in LICENSE$ */ package stubs.edu.cornell.mannlib.vitro.webapp.auth.policy.bean; import java.util.Arrays; import java.util.Collections; import java.util.HashSet; import java.util.Set; import org.apache.jena.rdf.model.impl.Util; import edu.cornell.mannlib.vi...
vivo-project/Vitro
api/src/test/java/stubs/edu/cornell/mannlib/vitro/webapp/auth/policy/bean/PropertyRestrictionBeanStub.java
Java
bsd-3-clause
4,026
/* * Copyright (c) 2015, Abhishek Dabholkar * 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...
AbhiDXYZ/newsletter.h
app/src/main/java/xyz/abhid/newsletterh/util/ArticleTools.java
Java
bsd-3-clause
4,259
package org.fun4j.compiler.expressions; import org.fun4j.compiler.Expression; import org.fun4j.compiler.RunTime; import org.objectweb.asm.MethodVisitor; /** * A set! expression. * Used to set a local or global variable as in (set! n 8) */ public class SetVar extends BinaryExp { public SetVar(final Ex...
thma/fun4j
src/org/fun4j/compiler/expressions/SetVar.java
Java
bsd-3-clause
1,957
/*L * Copyright Northrop Grumman Information Technology. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/nci-mapping-tool/LICENSE.txt for details. */ package gov.nih.nci.evs.browser.utils; import java.util.*; import javax.servlet.http.*; import org.apache.log4...
NCIP/nci-mapping-tool
software/ncimappingtool/src/java/gov/nih/nci/evs/browser/utils/VisitedConceptUtils.java
Java
bsd-3-clause
6,668
package team2869.bethpage.robotics.aerialassist.commands; /** * Stops the movement of the robot's driveTrain. Not necessary to instantiate * this when shooting due to inbuilt stop mechanism. * * @author BETHPAGE HIGH SCHOOL, 2014 TEAM #2869 - HARSHIL GARG */ public class StopDrive extends CommandBase { ...
bethpage-robotics/Aerial-Assist
src/team2869/bethpage/robotics/aerialassist/commands/StopDrive.java
Java
bsd-3-clause
1,225
package com.inepex.ineForm.client.general; import com.google.gwt.core.client.GWT; import com.google.gwt.dom.client.ButtonElement; import com.google.gwt.dom.client.Style.Unit; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.event.shared.HandlerRegistration; import com.google.gwt.resources.cli...
inepex/ineform
ineform/src/main/java/com/inepex/ineForm/client/general/IneButton.java
Java
bsd-3-clause
5,091
package pipes.editing.actions; import pipes.model.Note; import pipes.model.embellishment.EmbellishmentFamily; /** * This action ensures that the Note obeys the rules of bagpipe sheet music. * * When it is executed, the Note's Embellishment will be in the proper form based on the context. * * An improper tie wi...
jbauschatz/GreatPipes
src/pipes/editing/actions/LegalizeNoteAction.java
Java
bsd-3-clause
1,249
package org.broadinstitute.hellbender.tools.exome; import org.apache.commons.math3.linear.Array2DRowRealMatrix; import org.apache.commons.math3.linear.RealMatrix; import org.broadinstitute.hellbender.utils.SimpleInterval; import org.broadinstitute.hellbender.utils.param.ParamUtils; import org.broadinstitute.hellbender...
broadinstitute/gatk-protected
src/test/java/org/broadinstitute/hellbender/tools/exome/ReCapSegCallerUnitTest.java
Java
bsd-3-clause
3,568
/* * http://ryred.co/ * ace[at]ac3-servers.eu * * ================================================================= * * Copyright (c) 2015, Cory Redmond * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condi...
SilverCory/SinusPls
src/main/java/co/ryred/sinuspls/TrackMeta.java
Java
bsd-3-clause
2,761
/* * 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.matrix.factorization.seeding; ...
MjAbuz/carrot2
core/carrot2-util-matrix/src/org/carrot2/matrix/factorization/seeding/ISeedingStrategyFactory.java
Java
bsd-3-clause
578
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.github.manitourobotics.robot.commands; import com.github.manitourobotics.robot.OI; import com.github.manitourobotics.robot.RobotMap; import com.github.manitourobotics.robot.network.InformationRelayer; import...
manitourobotics/2013-robot
src/com/github/manitourobotics/robot/commands/AlignWithTarget.java
Java
bsd-3-clause
2,652
// Copyright (c) 2003-present, Jodd Team (jodd.org). All Rights Reserved. package jodd.util; /** * Collected methods which allow easy implementation of <code>hashCode()</code>. * Based on items #7 and #8 from "Effective Java" book. * <p> * Usage scenario:<br> * <pre> * int result = HashCodeUtil.SEED; * result ...
wsldl123292/jodd
jodd-core/src/main/java/jodd/util/HashCode.java
Java
bsd-3-clause
6,165
package org.cagrid.gridgrouper.types; import java.io.Serializable; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import org.oasis_open.docs.wsrf._2004._06.wsrf_ws_basefaults_1...
NCIP/cagrid2
cagrid-gridgrouper/cagrid-gridgrouper-api/src/main/java/org/cagrid/gridgrouper/types/MemberAddFault.java
Java
bsd-3-clause
955
/* * Copyright (c) 2013, SRI International * All rights reserved. * Licensed under the The BSD 3-Clause License; * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://opensource.org/licenses/BSD-3-Clause * * Redistribution and use in source a...
aic-sri-international/aic-expresso
src/main/java/com/sri/ai/grinder/core/constraint/AbstractSingleVariableConstraint.java
Java
bsd-3-clause
14,497
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.physicalweb; import android.content.Context; import android.content.Intent; import android.content.res.Resources; imp...
danakj/chromium
chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebDiagnosticsPage.java
Java
bsd-3-clause
9,097
package com.smartdevicelink.proxy.rpc.enums; /** * Reflects the status of a vehicle data notification. * @since SmartDeviceLink 2.0 * * @see SoftButtonCapabilities * @see ButtonCapabilities * @see OnButtonPress */ public enum VehicleDataNotificationStatus { /** * VehicleDataNotificationStatus i...
914802951/sdl_android
sdl_android/src/main/java/com/smartdevicelink/proxy/rpc/enums/VehicleDataNotificationStatus.java
Java
bsd-3-clause
932
/* * 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
DataAccess/LdapDAO/src/main/java/gov/hhs/fha/nhinc/ldapaccess/RoleAttributeMapper.java
Java
bsd-3-clause
4,154
/* * Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
SnakeDoc/GuestVM
guestvm~guestvm/com.oracle.max.ve/src/com/sun/max/ve/net/ProtocolStack.java
Java
bsd-3-clause
1,305
/* $This file is distributed under the terms of the license in LICENSE$ */ package edu.cornell.mannlib.vitro.webapp.controller.freemarker.responsevalues; import java.util.Map; public class ExceptionResponseValues extends TemplateResponseValues { private final static String DEFAULT_TEMPLATE_NAME = "error-standard...
vivo-project/Vitro
api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/freemarker/responsevalues/ExceptionResponseValues.java
Java
bsd-3-clause
1,399
package org.hisp.dhis.jdbc.batchhandler; /* * Copyright (c) 2004-2015, University of Oslo * 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 retai...
kakada/dhis2
dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/IndicatorBatchHandler.java
Java
bsd-3-clause
5,098