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 2013-2015 Skynav, 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 retain the above copyright notice,
* this list of conditions a... | RBMHTechnology/ttt | ttt-ttv/src/main/java/com/skynav/ttv/verifier/util/Characters.java | Java | bsd-2-clause | 104,644 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package cah.backend;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.... | twistedtiger/tt08 | CAH-BackEnd/src/cah/backend/GUI.java | Java | bsd-2-clause | 5,331 |
package txr.parser;
public class CharacterLiteral extends SubExpression {
public final char value;
public CharacterLiteral(char value) {
this.value = value;
}
public String toString() {
return "Char: " + ((int)value);
}
}
| westbury/txr-java | src/main/java/txr/parser/CharacterLiteral.java | Java | bsd-2-clause | 236 |
/**
* Created: Oct 14, 2010 1:59:26 PM
*/
package com.livescribe.community.search;
import java.net.MalformedURLException;
import java.util.Iterator;
import java.util.List;
import org.apache.solr.client.solrj.SolrQuery;
import org.apache.solr.client.solrj.SolrServer;
import org.apache.solr.client.solrj.SolrServerEx... | jackstraw66/web | livescribe/communityservice/src/test/java/com/livescribe/community/search/SearchTesterApp.java | Java | bsd-2-clause | 2,926 |
/**
* Created: Feb 3, 2014 2:44:22 PM
*/
package com.livescribe.web.tools.webteamtool.sax;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.util.ArrayList;
import java.util.Calendar;
import java.u... | jackstraw66/web | livescribe/webteamtool/src/main/java/com/livescribe/web/tools/webteamtool/sax/Generator.java | Java | bsd-2-clause | 7,086 |
/*
This file is part of the BrowserMob Proxy Client project by Ivan De Marino (http://ivandemarino.me).
Copyright (c) 2014, Ivan De Marino (http://ivandemarino.me)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions... | detro/browsermob-proxy-client | src/main/java/com/github/detro/browsermobproxyclient/exceptions/BMPCUnableToSaveHarToFileException.java | Java | bsd-2-clause | 1,911 |
import java.util.TreeSet;
public class TreeSetBenchmark implements Benchmark
{
private void do_single_bench(int iteration_count, int n)
{
TreeSet<Integer> sorted_set = new TreeSet<Integer>();
BenchmarktTimer timer = new BenchmarktTimer();
timer.start();
for( int i = 0; i < ite... | drednout/java_learning | collections_bench/TreeSetBenchmark.java | Java | bsd-2-clause | 1,069 |
package com.atlassian.jira.plugins.dvcs.pageobjects.page;
import com.atlassian.jira.pageobjects.JiraTestedProduct;
import com.atlassian.jira.plugins.dvcs.pageobjects.component.BitBucketOrganization;
import com.atlassian.jira.plugins.dvcs.pageobjects.page.account.Account;
import com.atlassian.jira.plugins.dvcs.pag... | markphip/testing | jira-dvcs-connector-pageobjects/src/main/java/com/atlassian/jira/plugins/dvcs/pageobjects/page/BaseConfigureOrganizationsPage.java | Java | bsd-2-clause | 6,832 |
package org.chocosolver;
import org.chocosolver.graphsolver.GraphModel;
import org.chocosolver.graphsolver.cstrs.symmbreaking.Pair;
import org.chocosolver.graphsolver.cstrs.symmbreaking.PropGirth;
import org.chocosolver.graphsolver.search.strategy.GraphStrategy;
import org.chocosolver.graphsolver.variables.UndirectedG... | chocoteam/choco-graph | src/test/java/org/chocosolver/SymmetryBreakingTest.java | Java | bsd-2-clause | 7,108 |
package ragnardb.parser.ast;
import ragnardb.parser.Token;
import java.util.ArrayList;
/**
* Created by klu on 6/25/2015.
*/
public class ResultColumn {
private String _name;
public ResultColumn(String n){
_name = n;
}
public String getName(){
return _name;
}
public void setName(String n){
... | gosu-lang/ragnardb | ragnardb/src/main/java/ragnardb/parser/ast/ResultColumn.java | Java | bsd-2-clause | 534 |
/**
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-2010, Technische Universität Berlin, jTEM
All rights reserved.
Redistribution and use in source and binary forms, wit... | jupsal/schmies-jTEM | libUnzipped/de/jtem/blas/RealVectorTableModel.java | Java | bsd-2-clause | 2,137 |
package com.pineone.icbms.so.devicecontrol.model.virtualdevice.driver;
/**
* Device Driver generic interface.<BR/>
*
* Created by uni4love on 2017. 1. 15..
*/
public interface IGenericDeviceDriver<RESC> extends IDeviceDriver {
/**
* device control method
*/
void control(RESC ... resource);
}
| iotoasis/SO | so-devicecontrol/src/main/java/com/pineone/icbms/so/devicecontrol/model/virtualdevice/driver/IGenericDeviceDriver.java | Java | bsd-2-clause | 316 |
/*
* Copyright (c) 2008, Christophe Delory
* 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... | LizzyProject/Lizzy | src/java/christophedelory/playlist/mpcpl/MPCPLProvider.java | Java | bsd-2-clause | 9,489 |
package tk.omgpi.utils;
import org.bukkit.ChatColor;
import org.bukkit.block.Block;
import org.bukkit.inventory.ItemStack;
import static tk.omgpi.utils.ReflectionUtils.*;
/**
* Utils for parsing an item from NBT strings.
* Suppressing all warning since I know what am I doing, and ok with throwing an exception.
*/... | BurnyDaKath/OMGPI | omgpi-main/src/main/tk/omgpi/utils/NBTParser.java | Java | bsd-2-clause | 25,245 |
package net.herit.iot.onem2m.incse.manager.dao;
import java.util.HashMap;
import java.util.Set;
import net.herit.iot.onem2m.incse.context.OneM2mContext;
import net.herit.iot.onem2m.incse.facility.CfgManager;
import net.herit.iot.onem2m.incse.manager.dao.ResourceDAO;
import org.bson.Document;
import org.slf4j.Logger;... | iotoasis/SI | si-onem2m-src/IITP_IoT_2_7/src/main/java/net/herit/iot/onem2m/incse/manager/dao/SeqNumDAO.java | Java | bsd-2-clause | 2,506 |
package messages;
import experiment.frameworks.NodeAddress;
public class FastMeshAcceptSendMaxDelay extends Message {
public final long maxDelay;
public FastMeshAcceptSendMaxDelay(final String tag, final NodeAddress sourceId,
final NodeAddress destID, final long maxDelayFromSource) {
super(tag, sourc... | alibov/StreamAid | src/messages/FastMeshAcceptSendMaxDelay.java | Java | bsd-2-clause | 677 |
/*
* Copyright (c) 2017, ValidationFramework Authors
* 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
* ... | padrig64/ValidationFramework | validationframework-swing/src/main/java/com/google/code/validationframework/swing/property/ComponentPreferredSizeProperty.java | Java | bsd-2-clause | 2,922 |
/*
* Copyright (c) 2012 The University of Manchester, UK.
*
* 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,
* ... | myGrid/t2-server-jar | src/main/java/uk/org/taverna/server/client/util/IOUtils.java | Java | bsd-3-clause | 2,665 |
package io.sirix.tutorial.json;
/**
* Copyright (c) 2011, University of Konstanz, Distributed Systems Group 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... | sirixdb/sirix | bundles/sirix-examples/src/main/java/io/sirix/tutorial/json/JsonDocumentCreator.java | Java | bsd-3-clause | 4,176 |
/*
* 08/19/2012
*
* Plugin.java - Entry point for an RText plugin for ZScript language support.
* This library is distributed under a modified BSD license. See the included
* ZScriptLanguageSupport.License.txt file for details.
*/
package org.fife.rsta.zscript.rtext;
import java.io.File;
import java.io.IOExcept... | bobbylight/ZScriptLanguageSupport | zscript-rtext-plugin/src/main/java/org/fife/rsta/zscript/rtext/Plugin.java | Java | bsd-3-clause | 10,766 |
package org.basex.query.func.java;
import static org.basex.query.QueryError.*;
import java.lang.reflect.*;
import java.util.*;
import org.basex.core.users.*;
import org.basex.query.*;
import org.basex.query.expr.*;
import org.basex.query.util.*;
import org.basex.query.util.list.*;
import org.basex.query.value.*;
imp... | BaseXdb/basex | basex-core/src/main/java/org/basex/query/func/java/DynJavaCall.java | Java | bsd-3-clause | 3,611 |
package net.minidev.ovh.api.me.payment.method.transaction;
/**
* Payment transaction type enum
*/
public enum OvhType {
CREDIT("CREDIT"),
DEBIT("DEBIT");
final String value;
OvhType(String s) {
this.value = s;
}
public String toString() {
return this.value;
}
}
| UrielCh/ovh-java-sdk | ovh-java-sdk-me/src/main/java/net/minidev/ovh/api/me/payment/method/transaction/OvhType.java | Java | bsd-3-clause | 279 |
/*
* Zorbage: an algebraic data hierarchy for use in numeric processing.
*
* Copyright (c) 2016-2021 Barry DeZonia 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... | bdezonia/zorbage | src/main/java/nom/bdezonia/zorbage/storage/Storage.java | Java | bsd-3-clause | 13,422 |
class CallLog
{
static {
CONTENT_URI = taintedCallLog();
}
@STAMP(flows = {@Flow(from="$CallLog",to="@return")})
private static android.net.Uri taintedCallLog()
{
return new android.net.StampUri("");
}
class Calls {
static {
CONTENT_URI = taintedCallLog();
CONTENT_FILTER_URI = taintedCallLog();
}... | petablox-project/petablox | android/models/src/android/provider/CallLog.java | Java | bsd-3-clause | 521 |
package org.broadinstitute.hellbender.utils.test;
import htsjdk.samtools.SAMFileHeader;
import htsjdk.tribble.Tribble;
import htsjdk.tribble.util.TabixUtils;
import htsjdk.variant.variantcontext.Genotype;
import htsjdk.variant.variantcontext.VariantContext;
import htsjdk.variant.vcf.VCFConstants;
import org.apache.log... | tomwhite/hellbender | src/test/java/org/broadinstitute/hellbender/utils/test/BaseTest.java | Java | bsd-3-clause | 19,285 |
package fi.mabrosim.memowidget;
import java.io.Serializable;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
final class TextLine {
private final int mId;
private final String mText;
private final long mTimestamp;
TextLine(String text, long timestamp, int i) {
... | mabrosim/MiniMemoListWidget | app/src/main/java/fi/mabrosim/memowidget/TextLine.java | Java | bsd-3-clause | 2,549 |
package com.atlassian.plugin.descriptors;
import com.atlassian.plugin.ModuleDescriptor;
import com.atlassian.plugin.Plugin;
import com.atlassian.plugin.PluginParseException;
import com.atlassian.plugin.Resources;
import com.atlassian.plugin.StateAware;
import com.atlassian.plugin.elements.ResourceDescriptor;
import co... | mrdon/PLUG | atlassian-plugins-core/src/main/java/com/atlassian/plugin/descriptors/AbstractModuleDescriptor.java | Java | bsd-3-clause | 13,388 |
package gov.nih.nci.evs.restapi.util;
import java.io.*;
import java.text.*;
import java.util.*;
public class CSV2HTMLTable {
public static Vector addHyperlinks(String datafile, int columnIndex, String url) {
Vector w = new Vector();
Vector v = Utils.readFile(datafile);
w.add((String) v.elementAt(0));
fo... | NCIEVS/evsrestapi | software/evsrestapi-util/src/gov/nih/nci/evs/restapi/util/CSV2HTMLTable.java | Java | bsd-3-clause | 1,790 |
/**
* Copyright (c) 2014, jMonkeyEngine 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 an... | MeFisto94/MonkeyBrains | src/com/jme3/ai/agents/behaviors/npc/steering/ContainmentBehavior.java | Java | bsd-3-clause | 6,006 |
package org.beeware.rubicon;
import java.lang.reflect.Proxy;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.Map;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
public class Python {
/**
* A 2 level map of Class... | pybee/rubicon-java | org/beeware/rubicon/Python.java | Java | bsd-3-clause | 6,147 |
package org.webmessage;
import java.util.concurrent.ExecutionException;
import junit.framework.Assert;
import org.junit.After;
import org.junit.Test;
public class DefaultWebMessageServerTest {
private DefaultWebMessageServer server;
@After
public void releaseResource(){
if(server.isRunning()){
server.stop()... | brucefengnju/webmessage | src/test/java/org/webmessage/DefaultWebMessageServerTest.java | Java | bsd-3-clause | 743 |
package org.sirix.access.trx.node.xml;
import org.sirix.access.trx.node.InternalNodeTrx;
import org.sirix.api.xml.XmlNodeTrx;
public interface InternalXmlNodeTrx extends InternalNodeTrx<XmlNodeTrx>, XmlNodeTrx {
}
| sirixdb/sirix | bundles/sirix-core/src/main/java/org/sirix/access/trx/node/xml/InternalXmlNodeTrx.java | Java | bsd-3-clause | 217 |
package cn.edu.sjtu.songyuke.mental.ir.label;
/**
* Created by Songyu on 16/4/27.
*/
public class IRLabelContinueLoop extends IRLabel {
public static int nextContinueLoopLabel;
public IRLabelContinueLoop() {
this.labelID = nextContinueLoopLabel++;
}
@Override
public String toString() {
... | BreakVoid/Mental | src/cn/edu/sjtu/songyuke/mental/ir/label/IRLabelContinueLoop.java | Java | bsd-3-clause | 393 |
/**
*
*/
package gov.nih.nci.cagrid.portal.aggr.metachange;
import gov.nih.nci.cagrid.portal.PortalSystemException;
/**
* @author <a href="mailto:joshua.phillips@semanticbits.com">Joshua Phillips</a>
*
*/
public class MetadataHashCreationException extends PortalSystemException {
/**
*
*/
public Metadata... | NCIP/cagrid | cagrid/Software/portal/cagrid-portal/aggr/src/java/gov/nih/nci/cagrid/portal/aggr/metachange/MetadataHashCreationException.java | Java | bsd-3-clause | 855 |
package bg.stanev.ehub.controller;
import java.security.Principal;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.sprin... | donstany/e-hub | src/main/java/bg/stanev/ehub/controller/UserController.java | Java | bsd-3-clause | 1,864 |
package com.cloud4all.devicereporter;
/*
DeviceReporterBroadcastReceiver
This class is broadcast receiver for Device reporter
Copyright (c) 2013, Technosite R&D
All rights reserved.
The research leading to these results has received funding from the European Union's Seventh Framework Programme (FP7/2007-2013) unde... | JChaconTechnosite/Cloud4All-Device-reporter | src/com/cloud4all/devicereporter/DeviceReporterBroadcastReceiver.java | Java | bsd-3-clause | 2,120 |
/**
* Copyright (c) 2012, Ben Fortuna
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* o Redistributions of source code must retain the above copyright
* notice, this list of condit... | ical4j/ical4j | src/main/java/net/fortuna/ical4j/model/parameter/SentBy.java | Java | bsd-3-clause | 3,303 |
package Competition;
import WiringMain.WiringParent;
/**
*
* @author robotics
*/
public class Wiring extends WiringParent {
public static final boolean isTest = false;
public static final double MAX_XY = 170;
public static final int CAMERA_SERVO = 1;
public static final int COMPRESSOR_RELAY = 7;
... | DevilTech/Robotics2014TestChassis | src/Competition/Wiring.java | Java | bsd-3-clause | 3,227 |
package org.team3042.sweep;
/**
* The RobotMap is a mapping from the ports sensors and actuators are wired into
* to a variable name. This provides flexibility changing wiring, makes checking
* the wiring easier and significantly reduces the number of magic numbers
* floating around.
*/
public class Robot... | team3042/SweeperBot | src/org/team3042/sweep/RobotMap.java | Java | bsd-3-clause | 1,778 |
/*
* Copyright (c) 2015-present, Horcrux.
* All rights reserved.
*
* This source code is licensed under the MIT-style license found in the
* LICENSE file in the root directory of this source tree.
*/
package abi38_0_0.host.exp.exponent.modules.api.components.svg;
import android.graphics.Bitmap;
import android.... | exponent/exponent | android/versioned-abis/expoview-abi38_0_0/src/main/java/abi38_0_0/host/exp/exponent/modules/api/components/svg/Brush.java | Java | bsd-3-clause | 8,241 |
/*******************************************************************************
* 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.view.heatmap/src/org/caleydo/view/heatmap/heatmap/GLHeatMap.java | Java | bsd-3-clause | 20,730 |
// vim:filetype=java:ts=4
/*
Copyright (c) 2006-2008
Conor McDermottroe. 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
notic... | conormcd/exemplar | tests/junit/src/junit/com/mcdermottroe/exemplar/ui/ant/TaskTest.java | Java | bsd-3-clause | 12,979 |
/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | KlubJagiellonski/pola-ai | android_camera/app/src/main/java/org/tensorflow/demo/TFLiteImageClassifier.java | Java | bsd-3-clause | 7,969 |
/* $This file is distributed under the terms of the license in LICENSE$ */
package edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.preprocessors;
import java.util.Map;
import java.util.List;
import java.util.ArrayList;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;... | vivo-project/VIVO | api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/configuration/preprocessors/RoleToPredicatePreprocessor.java | Java | bsd-3-clause | 3,363 |
package za.org.grassroot.core.util;
import org.hibernate.HibernateException;
import org.hibernate.engine.spi.SessionImplementor;
import org.hibernate.usertype.UserType;
import java.io.Serializable;
import java.sql.*;
import java.util.Arrays;
/**
* Created by luke on 2017/05/05.
*/
public class StringArrayUserType<... | mokoka/grassroot-platform | grassroot-core/src/main/java/za/org/grassroot/core/util/StringArrayUserType.java | Java | bsd-3-clause | 2,845 |
package sa.com.is.internet;
import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.MalformedInputException;
class Iso2022JpToShiftJisInputStream extends InputStream {
private enum Charset {
ASCII, JISX0201, JISX0208,
}
private InputStream mIn;
private Charset charset ... | cliniome/pki | secureClient-library/src/main/java/sa/com/is/internet/Iso2022JpToShiftJisInputStream.java | Java | bsd-3-clause | 2,156 |
/**
* Copyright 5AM Solutions Inc
* Copyright SemanticBits LLC
* Copyright AgileX Technologies, Inc
* Copyright Ekagra Software Technologies Ltd
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/cacis/LICENSE.txt for details.
*/
package gov.nih.nci.cacis.xds.clie... | NCIP/cacis | xds-client/src/test/java/gov/nih/nci/cacis/xds/client/XDSDocumentHandlerIntegrationTest.java | Java | bsd-3-clause | 4,806 |
/*================================================================================
Copyright (c) 2009 VMware, 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 ... | mikem2005/vijava | src/com/vmware/vim25/MultipleCertificatesVerifyFault.java | Java | bsd-3-clause | 2,124 |
/*
* Copyright 2015, Google 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 a... | anuraaga/grpc-java | core/src/main/java/io/grpc/LoadBalancer.java | Java | bsd-3-clause | 4,209 |
/*
Copyright (c) 2012, 2013, 2014, 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 copy... | groupon/robo-remote | UIAutomatorClient/src/main/com/groupon/roboremote/uiautomatorclient/components/UiSelector.java | Java | bsd-3-clause | 2,632 |
package net.minidev.ovh.api.domain;
/**
* Values of quota account (pop, mailing list, redirection, responder and big pop)
*/
public class OvhDomainQuota {
/**
* Maximum number of responders
*
* canBeNull
*/
public Long responder;
/**
* Maximum number of aliases
*
* canBeNull
*/
public Long alias... | UrielCh/ovh-java-sdk | ovh-java-sdk-emaildomain/src/main/java/net/minidev/ovh/api/domain/OvhDomainQuota.java | Java | bsd-3-clause | 588 |
import java.lang.String;
public class TypeInsnNode_anewarray {
int[] simpleTypeArray() {
int[] intArray = new int[]{1, 21, 3};
long[] longs = new long[]{111111111111111111L, 222222222222222222L, 33333333333333333L};
return intArray;
}
String[] objectArray() {
String[] strArray = new String[]{"a", "b", "c"}... | dodkoC/thesis-disassembler | testData/TypeInsnNode_anewarray.java | Java | bsd-3-clause | 402 |
package com.tinkerpop.blueprints.pgm.impls.readonly.util;
import com.tinkerpop.blueprints.pgm.Edge;
import com.tinkerpop.blueprints.pgm.impls.readonly.ReadOnlyEdge;
import com.tinkerpop.blueprints.pgm.impls.readonly.ReadOnlyTokens;
import java.util.Iterator;
/**
* @author Marko A. Rodriguez (http://markorodriguez.c... | germanviscuso/blueprints | src/main/java/com/tinkerpop/blueprints/pgm/impls/readonly/util/ReadOnlyEdgeSequence.java | Java | bsd-3-clause | 876 |
/*================================================================================
Copyright (c) 2009 VMware, 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 ... | mikem2005/vijava | src/com/vmware/vim25/RoleUpdatedEvent.java | Java | bsd-3-clause | 1,978 |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.tabmodel.document;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
... | lihui7115/ChromiumGStreamerBackend | chrome/android/java/src/org/chromium/chrome/browser/tabmodel/document/DocumentTabModelImpl.java | Java | bsd-3-clause | 36,138 |
package bio.terra.stairway.impl;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.contains;
import static org.junit.jupiter.api.Assertions.assertTrue;
import bio.terra.stairway.Flight;
import bio.terra.stairway.FlightEnumeration;... | DataBiosphere/stairway | stairway/src/test/java/bio/terra/stairway/impl/EnumerateFlightsTest.java | Java | bsd-3-clause | 8,505 |
/**
* SAHARA Scheduling Server
*
* Schedules and assigns local laboratory rigs.
*
* @license See LICENSE in the top level directory for complete license terms.
*
* Copyright (c) 2010, University of Technology, Sydney
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without... | jeking3/scheduling-server | RigProvider/src/au/edu/uts/eng/remotelabs/schedserver/rigprovider/requests/RigAllocator.java | Java | bsd-3-clause | 10,343 |
package apollo.gui.detailviewers.sequencealigner;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.swing.JPopupMenu;
import org.bdgp.util.Range;
import apollo.config.Config;
import apollo.datamodel.E... | genome-vendor/apollo | src/java/apollo/gui/detailviewers/sequencealigner/AnnotationRighClickMenu.java | Java | bsd-3-clause | 18,869 |
//======================================================================================
// Copyright 5AM Solutions Inc, Yale University
//
// Distributed under the OSI-approved BSD 3-Clause License.
// See http://ncip.github.com/caarray/LICENSE.txt for details.
//=======================================================... | NCIP/caarray | software/caarray-common.jar/src/test/java/gov/nih/nci/caarray/domain/file/CaArrayFileSetTest.java | Java | bsd-3-clause | 6,144 |
/*
* $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 | test/java/org/jcoderz/commons/connector/file/FsTestCase.java | Java | bsd-3-clause | 3,518 |
/*
* Copyright (C) 2007, 2008 XStream 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.
*
* Created on 06. November 2007 by Joerg Schaible
*/
package co... | fukata/xstream-for-android | xstream/src/test/com/thoughtworks/acceptance/LocalConverterTest.java | Java | bsd-3-clause | 3,411 |
package com.inepex.example.ineForm.entity.dao.query;
import java.util.List;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.Expression;
import javax.persistence.criteria.Order;
import javax.persistence.criteria.Path;
import javax.persistence.criteria.Root;
import com.google.injec... | inepex/ineform | ineformshowcasewithejbs/src/main/java/com/inepex/example/ineForm/entity/dao/query/ContactAddresDetailQuery.java | Java | bsd-3-clause | 2,410 |
/*
* Copyright (c) 2006-, IPD Boehm, Universitaet Karlsruhe (TH) / KIT, by Guido Sautter
* 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... | plazi/GoldenGATE-Editor | src/de/uka/ipd/idaho/goldenGate/plugin/feedbackService/FlaggingFeedbackService.java | Java | bsd-3-clause | 39,438 |
/*******************************************************************************
* Open Behavioral Health Information Technology Architecture (OBHITA.org)
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Re... | OBHITA/Consent2Share | DS4P/consent2share/pg/service-pg/src/main/java/gov/samhsa/consent2share/service/patient/pg/PatientDtoToPatientMapper.java | Java | bsd-3-clause | 9,142 |
/*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.
*/
package gov.nih.nci.nbia.dbadapter;
import java.io.InputStream;
import org.dcm4che.data.Dataset;
import org.d... | NCIP/national-biomedical-image-archive | software/nbia-ctp/test/gov/nih/nci/nbia/dbadapter/NCIADatabaseTestCase.java | Java | bsd-3-clause | 2,501 |
/*
* Copyright (c) Andrey Kuznetsov. All Rights Reserved.
*
* http://uio.imagero.com
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* o Redistributions of source code must retain the above copyright notice,
... | andronix3/UIO | com/imagero/uio/impl/RandomAccessFileX.java | Java | bsd-3-clause | 2,504 |
/*
* Copyright (c) 2004-2021, 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 retain the above copyright notice, this
* list o... | dhis2/dhis2-android-sdk | core/src/main/java/org/hisp/dhis/android/core/arch/file/ResourcesFileReader.java | Java | bsd-3-clause | 2,491 |
package gov.samhsa.acs.polrep.client.dto;
public class PolicyContentDto {
private byte[] policy;
public PolicyContentDto() {
super();
}
public PolicyContentDto(byte[] policy) {
super();
this.policy = policy;
}
public byte[] getPolicy() {
return policy;
}
public void setPolicy(byte[] policy) {
th... | OBHITA/Consent2Share | DS4P/access-control-service/polrep-client/src/main/java/gov/samhsa/acs/polrep/client/dto/PolicyContentDto.java | Java | bsd-3-clause | 345 |
package edu.brown.cs.systems.retro.throttling.schedulers;
import junit.framework.TestCase;
import org.junit.Test;
import edu.brown.cs.systems.retro.throttling.mclock.SlotManager;
public class TestSlotManager extends TestCase {
@Test
public void testSlotManager() {
for (int numslots = 1; numslots <... | brownsys/tracing-framework | retro/throttling/src/test/java/edu/brown/cs/systems/retro/throttling/schedulers/TestSlotManager.java | Java | bsd-3-clause | 1,389 |
/**
* Copyright (C) 2000, 2001 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 copyrig... | hashrock/JOutliner | src/com/organic/maynard/outliner/util/preferences/AbstractPreference.java | Java | bsd-3-clause | 3,505 |
/*
* Zorbage: an algebraic data hierarchy for use in numeric processing.
*
* Copyright (c) 2016-2021 Barry DeZonia 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... | bdezonia/zorbage | src/main/java/nom/bdezonia/zorbage/algebra/ConstructibleFromShort.java | Java | bsd-3-clause | 1,792 |
// Copyright (c) 2003-present, Jodd Team (jodd.org). All Rights Reserved.
package jodd.json.mock.superhero;
public interface SuperPower {
}
| wsldl123292/jodd | jodd-json/src/test/java/jodd/json/mock/superhero/SuperPower.java | Java | bsd-3-clause | 142 |
/*
* #%L
* This file is part of crypto4j, a library that provides a pluggable crypto
* abstraction. It is part of a module that contains cryptographic primitives.
* %%
* Copyright (C) 2014 - 2017 Michael Beiter <michael@beiter.org>
* %%
* All rights reserved.
* .
* Redistribution and use in source and binary f... | mbeiter/crypto4j | primitives/src/test/java/org/beiter/michael/crypto4j/primitives/SecureRandomFactoryTest.java | Java | bsd-3-clause | 24,095 |
package cc.holstr.PFGUI.filter;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
public class FilterModel {
private List<Mime> mimes;
private List<String> exts;
public class Mime {
protected String mime;
protected List<String> extRestrictions;
}
public Filter to... | zudsniper/PFGUI | PFGUI/src/main/java/cc/holstr/PFGUI/filter/FilterModel.java | Java | bsd-3-clause | 1,116 |
package backend.target.mips;
/*
* Extremely C language Compiler
* Copyright (c) 2015-2020, Jianping Zeng.
* 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 ... | JianpingZeng/xcc | xcc/java/backend/target/mips/MipsMCInstLower.java | Java | bsd-3-clause | 5,875 |
package echosign.api.clientv20.dto17;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for ArrayOfLibraryTem... | OBHITA/Consent2Share | ThirdParty/adobe-echosign-api/src/main/java/echosign/api/clientv20/dto17/ArrayOfLibraryTemplateType.java | Java | bsd-3-clause | 2,101 |
// Generated by delombok at Sat Jun 11 11:12:44 CEST 2016
class Entity {
private final String field;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
private Entity(final String field) {
this.field = field;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lo... | AlexejK/lombok-intellij-plugin | testData/after/data/DataStaticConstructor.java | Java | bsd-3-clause | 1,806 |
package projects.leach.nodes.timers;
import projects.leach.nodes.nodeImplementations.LeachNode;
import sinalgo.nodes.timers.Timer;
public class TimerLimparBuffer extends Timer{
@Override
public void fire() {
// TODO Auto-generated method stub
((LeachNode)node).limparBuffer();
}
}
| gabrsar/Leach---Sinalgo | src/projects/leach/nodes/timers/TimerLimparBuffer.java | Java | bsd-3-clause | 302 |
/**
* Copyright (c) 2010-2011, MiddleCraft Contributors
* 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 lis... | N3X15/MiddleCraft | src/org/middlecraft/server/MCMethodInfo.java | Java | bsd-3-clause | 5,521 |
/*================================================================================
Copyright (c) 2009 VMware, 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 ... | mikem2005/vijava | src/com/vmware/vim25/VirtualMachineConfigOptionDescriptor.java | Java | bsd-3-clause | 2,787 |
package org.hisp.dhis.settings.action.system;
/*
* 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 retain t... | kakada/dhis2 | dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/java/org/hisp/dhis/settings/action/system/MoveApprovalLevelDownAction.java | Java | bsd-3-clause | 3,014 |
// 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.blimp_public;
/**
* Callback interface for Blimp to call functions in Chrome from Blimp settings.
* Chrome should implements this ... | danakj/chromium | blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpSettingsCallbacks.java | Java | bsd-3-clause | 527 |
package com.threecore.project.draft.marco;
public class Placeholder {
}
| 3Cores/sostream | src/main/java/com/threecore/project/draft/marco/Placeholder.java | Java | bsd-3-clause | 74 |
/*
* 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 ... | AffogatoLang/Moka | lib/Apache_Commons_Collections/src/test/java/org/apache/commons/collections4/set/PredicatedNavigableSetTest.java | Java | bsd-3-clause | 4,938 |
package org.basex.query.func.fn;
import org.basex.query.*;
import org.basex.query.expr.*;
import org.basex.query.value.item.*;
import org.basex.query.value.node.*;
import org.basex.util.*;
/**
* Function implementation.
*
* @author BaseX Team 2005-22, BSD License
* @author Christian Gruen
*/
public class FnName ... | BaseXdb/basex | basex-core/src/main/java/org/basex/query/func/fn/FnName.java | Java | bsd-3-clause | 864 |
package com.nd.android.u.square.dataStructure;
import java.util.List;
public class HotTopicList {
public int mCount;
public List<HotTopicInfo> mTopics;
}
| treejames/StarAppSquare | src/com/nd/android/u/square/dataStructure/HotTopicList.java | Java | bsd-3-clause | 159 |
/*
* Copyright (c) 2010-2013, University of Sussex
* 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 l... | MLCL/Byblo | src/test/java/uk/ac/susx/mlcl/byblo/JDBMTest.java | Java | bsd-3-clause | 6,743 |
/*******************************************************************************
* Copyright (c) 2015, Tim Verbelen
* Internet Based Communication Networks and Services research group (IBCN),
* Department of Information Technology (INTEC), Ghent University - iMinds.
* All rights reserved.
*
* Redistribution ... | ibcn-cloudlet/firefly | be.iminds.iot.things.rule.api/src/be/iminds/iot/things/rule/api/ConditionActionRule.java | Java | bsd-3-clause | 3,757 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.team1708.frc2014.framework;
import edu.wpi.first.wpilibj.SpeedController;
/**
*
* @author rcahoon
*/
public class Mul... | team1708/frc2014 | src/org/team1708/frc2014/framework/MultipleMotors.java | Java | bsd-3-clause | 1,495 |
package id.web.martinusadyh.logbook.domain;
import id.web.martinusadyh.logbook.domain.trx.LogBookDetails;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import org.hibernate.annotations.Index;
/**
*
* @auth... | martinusadyh/project-logbook | domain/src/main/java/id/web/martinusadyh/logbook/domain/Category.java | Java | bsd-3-clause | 1,178 |
//*********************************************************************************************************************
// SnifferController.java
//
// Copyright 2014 ELECTRIC POWER RESEARCH INSTITUTE, INC. All rights reserved.
//
// PT2 ("this software") is licensed under BSD 3-Clause license.
//
// Redistribution and... | epri-dev/PT2 | src/main/java/org/epri/pt2/sniffer/SnifferController.java | Java | bsd-3-clause | 5,122 |
package org.fujaba.graphengine.graph;
import java.util.HashMap;
import java.util.HashSet;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
/**
* This is a graph for use in graph transformation systems.
*
* @author Philipp Kolodziej
*/
public... | hoechp/bachelor | src/main/java/org/fujaba/graphengine/graph/Graph.java | Java | bsd-3-clause | 9,266 |
//-----------------------------------------------------------------------------
// KochConstants.java
//
// Constants used by the Koch.java application. These constants can
// be used by other Java applications by simply implementing the
// KochConstants interface. Even though there are no methods in this
// interface... | OS2World/DEV-SAMPLES-The-IBM-Developer-Connection-Release-2--Volume-2_CD4 | javaxmp/javaxmp/awt/koch/111/KochConstants.java | Java | bsd-3-clause | 1,465 |
/* Copyright (c) 2008-2013, Avian Contributors
Permission to use, copy, modify, and/or distribute this software
for any purpose with or without fee is hereby granted, provided
that the above copyright notice and this permission notice appear
in all copies.
There is NO WARRANTY for this software. See l... | tarotanaka0/avian | classpath/java/nio/ReadOnlyBufferException.java | Java | isc | 449 |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.mariadb.v2018_06_01;
import com.microsoft.azure.... | navalev/azure-sdk-for-java | sdk/mariadb/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/mariadb/v2018_06_01/PerformanceTierProperties.java | Java | mit | 1,001 |
package app.newbee.lib.util;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Context;
import android.content.CursorLoader;
import android.database.Cursor;
import android.net.Uri;
import android.os.Environment;
import android.os.StatFs;
import android.provider.MediaStore;
im... | yuhuayi/HexExamples | newbee/src/main/java/app/newbee/lib/util/FileUtils.java | Java | mit | 28,747 |
package org.inaturalist.android;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.HashMap;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import org.json.JSONException;
import org.json.JSONObject;
import android.content.Conten... | calonso-conabio/iNaturalistAndroid | src/org/inaturalist/android/ProjectFieldValue.java | Java | mit | 6,238 |
package io.github.pbremer.icecreammanager.repository;
import org.springframework.stereotype.Repository;
import io.github.pbremer.icecreammanager.entity.Driver;
/**
* Interface to persist {@link DriverRepository} into the database. There is no
* implementation because Spring automatically generates and injects the ... | pbremer/ice-cream-manager | src/main/java/io/github/pbremer/icecreammanager/repository/DriverRepository.java | Java | mit | 454 |
package gui.listeners;
import util.Utils;
import javax.swing.*;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import java.awt.*;
import java.awt.event.*;
//Credit to http://java-swing-tips.blogspot.com/2008/09/double-click-on-each-tab-and-change-its.html
// TERAI Atsuhiro
public cla... | lancespeelmon/Botnak | src/main/java/gui/listeners/TabTitleEditListener.java | Java | mit | 3,851 |
package org.hirschhorn.puertorico.playerstrategies;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.hirschhorn.puertorico.actions.BuilderAction;
import org.hirschhorn.puertorico... | ghirschhorn987/puertorico | src/org/hirschhorn/puertorico/playerstrategies/DefaultPlayerStrategy.java | Java | mit | 7,169 |