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 |
|---|---|---|---|---|---|
/*
* Created: Sep 15, 2011
* By: kmurdoff
*/
/**
*
*/
package com.livescribe.aws.tokensvc.crypto;
import static junit.framework.Assert.*;
import org.apache.commons.codec.binary.Base64;
import org.apache.commons.codec.binary.Hex;
import org.junit.Test;
import org.springframework.beans.factory.annotation.A... | jackstraw66/web | livescribe/lstokenservice/src/test/java/com/livescribe/aws/tokensvc/crypto/EncryptionUtilsTest.java | Java | bsd-2-clause | 2,486 |
package com.mapbox.mapboxandroiddemo.examples.basics;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.mapbox.mapboxandroiddemo.R;
import com.mapbox.mapboxsdk.Mapbox;
import com.mapbox.mapboxsdk.maps.MapView;
import com.mapbox.mapboxsdk.maps.MapboxMap;
import com.mapbox.m... | francistang97/New_Map_App_MasseyUni | MapboxAndroidDemo/src/main/java/com/mapbox/mapboxandroiddemo/examples/basics/SimpleMapViewActivity.java | Java | bsd-2-clause | 2,069 |
/*
* @(#) DateCellRenderer.java
*
* Copyright (C) 2015, Chris Wareham, All Rights Reserved
*/
package net.chriswareham.gui;
import java.awt.Component;
import java.text.DateFormat;
import javax.swing.JTable;
import javax.swing.table.DefaultTableCellRenderer;
/**
* This class provides a renderer for table cells ... | chriswareham/superfly | src/main/java/net/chriswareham/gui/DateCellRenderer.java | Java | bsd-2-clause | 1,610 |
package com.github.sandor_balazs.nosql_java.web.rest;
import com.codahale.metrics.annotation.Timed;
import com.github.sandor_balazs.nosql_java.domain.Employee;
import com.github.sandor_balazs.nosql_java.service.EmployeeService;
import com.github.sandor_balazs.nosql_java.web.rest.util.HeaderUtil;
import com.github.sand... | sandor-balazs/nosql-java | mongodb/src/main/java/com/github/sandor_balazs/nosql_java/web/rest/EmployeeResource.java | Java | bsd-2-clause | 4,538 |
package org.mapfish.print.http;
import org.apache.http.HttpHost;
import org.mapfish.print.config.Configuration;
import org.mapfish.print.processor.http.matcher.URIMatcher;
import java.util.List;
/**
* This configuration object configures the proxies to be used by the system. This is configured as
* one of the root... | Galigeo/mapfish-print | core/src/main/java/org/mapfish/print/http/HttpProxy.java | Java | bsd-2-clause | 3,480 |
/*
* Copyright 2014-2019 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... | skynav/ttt | ttt-cap2tt/src/main/java/com/skynav/cap2tt/converter/ConverterContext.java | Java | bsd-2-clause | 4,103 |
package org.jvnet.annox.xml.bind;
import java.lang.reflect.Member;
import com.sun.xml.bind.v2.model.annotation.Locatable;
import com.sun.xml.bind.v2.runtime.Location;
public class LocatableUtils {
public static Locatable getLocatable(final Package thePackage) {
if (thePackage == null) {
return null;
} else ... | highsource/annox | core/src/main/java/org/jvnet/annox/xml/bind/LocatableUtils.java | Java | bsd-2-clause | 1,455 |
/*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Pushjet/Pushjet-Android | gradle/wrapper/dists/gradle-1.12-all/4ff8jj5a73a7zgj5nnzv1ubq0/gradle-1.12/src/core-impl/org/gradle/api/internal/artifacts/repositories/legacy/LegacyResolverParserSettings.java | Java | bsd-2-clause | 3,501 |
package com.jayantkrish.jklol.lisp;
import java.util.List;
import com.jayantkrish.jklol.ccg.lambda.ExpressionParser;
import com.jayantkrish.jklol.util.IndexedList;
import com.jayantkrish.jklol.util.IoUtils;
/**
* Utility functions for writing Java/Lisp interface code
* and working with Lisp programs.
*
* @autho... | jayantk/jklol | src/com/jayantkrish/jklol/lisp/LispUtil.java | Java | bsd-2-clause | 3,300 |
/**
* Created: Feb 6, 2014 3:15:16 PM
*/
package net.opticode.xsdtools.om;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
/**
* <p></p>
*
* @author <a href="mailto:kmurdoff@livescribe.com">Kevin F. Murdoff</a>
* @version 1.0
*/
public class ComplexType {
private String name;
priv... | jackstraw66/web | livescribe/webteamtool/src/main/java/net/opticode/xsdtools/om/ComplexType.java | Java | bsd-2-clause | 2,260 |
package org.tietyt.reverse_singly_linked_list;
public class Node {
private Node next;
private int value; //this could be any object. Choosing int for convenience.
public Node(int value, Node next) {
this.next = next;
this.value = value;
}
public Node(int value) {
this.... | tieTYT/reverse-singly-linked-list | src/main/java/org/tieTYT/reverse_singly_linked_list/Node.java | Java | bsd-2-clause | 1,149 |
package org.nanes.slideset.pi;
import java.util.Arrays;
import net.imagej.Dataset;
import net.imagej.axis.Axes;
import net.imagej.overlay.AbstractOverlay;
import net.imglib2.RandomAccess;
import net.imglib2.iterator.IntervalIterator;
import net.imglib2.roi.RegionOfInterest;
import net.imglib2.type.numeric.RealType;
im... | bnanes/slideset | src/main/java/org/nanes/slideset/pi/RegionStatsNChan.java | Java | bsd-2-clause | 5,138 |
/*
* Copyright (c) 1999-2014, Ecole des Mines de Nantes
* 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... | PhilAndrew/choco3gwt | choco-solver/src/main/java/org/chocosolver/solver/explanations/store/EventConsumer.java | Java | bsd-3-clause | 2,317 |
package pl.info.rkluszczynski.image.engine.utils;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.awt.image.Raster;
import static pl.info.rkluszczynski.image.engine.config.EngineConstants.TRANSPARENT_THRESHOLD_ALPHA_VALUE;
public class BufferedImageWrapper {
private final BufferedImage image;... | rkluszczynski/image-detection-project | detection-engine/src/main/java/pl/info/rkluszczynski/image/engine/utils/BufferedImageWrapper.java | Java | bsd-3-clause | 1,705 |
/**
*
* This file is part of the SJWidget library.
* (c) 2005-2012 Bjorn Roche
* Development of this library has been supported by Indaba Media (http://www.indabamusic.com)
* and XO Audio (http://www.xoaudio.com)
*
* for copyright and sharing permissions, please see the COPYING.txt file which you should
* have ... | bejayoharen/SJWidgets | src/main/java/com/xowave/sjwidget/SJAction.java | Java | bsd-3-clause | 494 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.team4153.systems;
/**
*
* @author 4153student
*/
public class Joystick {
}
| Team-4153/AerialAssistRobotCode | src/com/team4153/systems/Joystick.java | Java | bsd-3-clause | 297 |
package org.easit.dao.model.c4a;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class PreferencesValue {
private Object value;
public Object getValue() {
return value;
}
public void setValue(Object value) {
this.value = value;
}
... | barcelonadigital/easit4all | dao/src/main/java/org/easit/dao/model/c4a/PreferencesValue.java | Java | bsd-3-clause | 322 |
package skripteditor.addons.skript.evt;
import skripteditor.events.Event;
public class EvtOnGrow extends Event {
@Override
public void registerUserFriendyPatterns() {
registerUserFriendyPattern("grow [of %tree type%]");
}
@Override
public void registerPatterns() {
registerPattern("grow[ of %tree type%]");
... | ThePrimedTNT/SkriptEditor | src/skripteditor/addons/skript/evt/EvtOnGrow.java | Java | bsd-3-clause | 388 |
package java.io;
public class StampOutputStream extends java.io.OutputStream
{
public void write(int oneByte) throws java.io.IOException { }
}
| petablox-project/petablox | android/models/src/java/io/StampOutputStream.java | Java | bsd-3-clause | 150 |
// Generated source
package org.jetbrains.v8.protocol;
@org.chromium.protocolReader.JsonParserRoot
public interface ProtocolReponseReader {
@org.chromium.protocolReader.JsonParseMethod
org.jetbrains.v8.protocol.SetbreakpointResult readSetbreakpointResult(com.google.gson.stream.JsonReaderEx reader);
@org.chromium... | develar/chromedevtools | v8/protocol-model/generated/org/jetbrains/v8/protocol/ProtocolReponseReader.java | Java | bsd-3-clause | 459 |
/*
* 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 edu.afs.subsystems.autoranger;
import java.util.Timer;
import java.util.TimerTask;
/**
* Class to drive indicator lights o... | lumpyrocks/Roobotics_FRC_C | src/edu/afs/subsystems/autoranger/RangeBeacon.java | Java | bsd-3-clause | 2,301 |
// Copyright (c) Corporation for National Research Initiatives
package org.python.modules;
import org.python.core.*;
class OperatorFunctions extends PyBuiltinFunctionSet
{
public OperatorFunctions(String name, int index, int argcount) {
super(name, index, argcount, argcount, false, null);
}
publi... | fresskarma/tinyos-1.x | tools/java/org/python/modules/operator.java | Java | bsd-3-clause | 10,451 |
// 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.net;
/**
* Version based on chrome/VERSION.
* {@hide as it's only used internally}
*/
public class ApiVersion {
private stati... | lizhangqu/chromium-net-for-android | cronet-api/src/main/java/org/chromium/net/ApiVersion.java | Java | bsd-3-clause | 2,612 |
package org.hisp.dhis.version;
/*
* Copyright (c) 2004-2017, 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 copyri... | vmluan/dhis2-core | dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/version/DefaultVersionService.java | Java | bsd-3-clause | 3,563 |
/* Copyright (c) 2013, Ian Dees
* 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 an... | iandees/josm-notes | src/org/openstreetmap/josm/plugins/notes/NotesObserver.java | Java | bsd-3-clause | 1,723 |
package edu.northwestern.bioinformatics.studycalendar.configuration;
import gov.nih.nci.cabig.ctms.tools.configuration.ConfigurationEntry;
import gov.nih.nci.cabig.ctms.tools.configuration.ConfigurationProperties;
import gov.nih.nci.cabig.ctms.tools.configuration.ConfigurationProperty;
import gov.nih.nci.cabig.ctms.to... | NUBIC/psc-mirror | core/src/main/java/edu/northwestern/bioinformatics/studycalendar/configuration/Configuration.java | Java | bsd-3-clause | 5,655 |
/*
* 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.core;
import java.io.OutputStr... | MjAbuz/carrot2 | core/carrot2-core/src/org/carrot2/core/ControllerStatistics.java | Java | bsd-3-clause | 4,736 |
/*
* FRC 4931 (http://www.evilletech.com)
*
* Open source software. Licensed under the FIRST BSD license file in the
* root directory of this project's Git repository.
*/
package org.frc4931.robot.component;
/**
*
*/
@FunctionalInterface
public interface CurrentSensor {
/**
* Gets the current of this ... | frc-4931/2015-Robot | RobotFramework/src/org/frc4931/robot/component/CurrentSensor.java | Java | bsd-3-clause | 428 |
/*
* 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/algorithm/Transform25.java | Java | bsd-3-clause | 8,425 |
///*
// * To change this template, choose Tools | Templates
// * and open the template in the editor.
// */
//package com.team649.frc2014summer.autonomous;
//
//import com.team649.frc2014summer.Display;
//import com.team649.frc2014summer.commands.CommandBase;
//import edu.wpi.first.wpilibj.image.BinaryImage;
//import e... | SaratogaMSET/FishySummerCode2014 | src/com/team649/frc2014summer/autonomous/HotTargetVision.java | Java | bsd-3-clause | 17,430 |
package com.onplan.scheduler;
import org.apache.log4j.Logger;
import org.quartz.DisallowConcurrentExecution;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
@DisallowConcurrentExecution
public class GarbageCollectionJob implements Job {
private static final Log... | melphi/onplan | onplan-service/src/main/java/com/onplan/scheduler/GarbageCollectionJob.java | Java | bsd-3-clause | 550 |
/*
* Copyright (c) 2009, INRIA
* 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... | jdfekete/obvious | obviousx/src/main/java/obviousx/io/Exporter.java | Java | bsd-3-clause | 2,323 |
package io.compgen.cgpipe.parser.op;
import io.compgen.cgpipe.exceptions.ASTExecException;
import io.compgen.cgpipe.exceptions.VarTypeException;
import io.compgen.cgpipe.parser.context.ExecContext;
import io.compgen.cgpipe.parser.variable.VarValue;
public class Add extends BasicOp {
@Override
public VarValue eval(... | compgen-io/cgpipe | src/java/io/compgen/cgpipe/parser/op/Add.java | Java | bsd-3-clause | 622 |
package abi43_0_0.expo.modules.ads.admob;
import android.content.Context;
import abi43_0_0.expo.modules.core.ModuleRegistry;
import abi43_0_0.expo.modules.core.ViewManager;
import abi43_0_0.expo.modules.core.arguments.ReadableArguments;
import abi43_0_0.expo.modules.core.interfaces.ExpoProp;
import abi43_0_0.expo.mod... | exponentjs/exponent | android/versioned-abis/expoview-abi43_0_0/src/main/java/abi43_0_0/expo/modules/ads/admob/PublisherBannerViewManager.java | Java | bsd-3-clause | 2,697 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author unasscribed
*/
public class Electronics extends Product {
private String manufacturer;
private String modelNum;
private int serialNum;
public String getManufacturer() {
r... | Oatlad/ShoppingCart | src/Electronics.java | Java | bsd-3-clause | 1,552 |
package com.team2502.black_box;
import edu.wpi.first.wpilibj.networktables2.util.HalfQueue;
/**
*
* @author Josh Larson
*/
public class BlackBoxPacket {
private HalfQueue packetQueue;
// private ArrayList packetQueue;
private int dataSize = 0;
private final int headerSize = 0;
private final int footerSize =... | Team-2502/RobotCode2014 | src/com/team2502/black_box/BlackBoxPacket.java | Java | bsd-3-clause | 2,536 |
/*
* $Id$
*/
/*
Copyright (c) 2000-2007 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including... | edina/lockss-daemon | src/org/lockss/util/PdfDocument.java | Java | bsd-3-clause | 17,237 |
package br.com.badrequest.insporte.integration.bean;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import java.io.Serializable;
import java.util.Date;
/**
* Created by gmarques on 3/18/14.
*/
@NoArgsConstructor
@AllArgsConstructor(suppressConstructo... | badrequest/inSPorte | InsPorte_android/app/src/main/java/br/com/badrequest/insporte/integration/bean/ExtraSurveyInfo.java | Java | bsd-3-clause | 512 |
package org.basex.gui.layout;
import static org.basex.gui.GUIConstants.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import org.basex.gui.dialog.*;
import org.basex.util.*;
/**
* This component visualizes the current memory consumption.
*
* @author BaseX Team 2005-20, BSD License
* @author ... | dimitarp/basex | basex-core/src/main/java/org/basex/gui/layout/BaseXMem.java | Java | bsd-3-clause | 2,375 |
package za.org.grassroot.scheduling;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframewo... | grassrootza/grassroot-platform | grassroot-services/src/main/java/za/org/grassroot/scheduling/ScheduledEmailTasks.java | Java | bsd-3-clause | 5,354 |
package com.percolate.sdk.dto;
import com.fasterxml.jackson.annotation.*;
import com.percolate.sdk.interfaces.HasExtraFields;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
@S... | percolate/percolate-java-sdk | core/src/main/java/com/percolate/sdk/dto/VariantExt.java | Java | bsd-3-clause | 1,644 |
/*
* Copyright (C) 2011 - 2012, psanker and 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 list... | 128keaton/BeigeNoob | src/main/java/com/thevoxelbox/voxelguest/util/Formatter.java | Java | bsd-3-clause | 2,882 |
/*
* 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 o... | alameluchidambaram/CONNECT | Product/Production/Gateway/DocumentSubmission_20/src/main/java/gov/hhs/fha/nhinc/docsubmission/_20/entity/deferred/response/EntityDocSubmissionDeferredResponseUnsecured_g1.java | Java | bsd-3-clause | 2,708 |
//======================================================================================
// 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/plugins/illumina-platform/src/main/java/gov/nih/nci/caarray/plugins/illumina/BgxValidator.java | Java | bsd-3-clause | 6,388 |
/**
* Copyright (C) 2004-2016, GoodData(R) Corporation. All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
package com.gooddata.warehouse;
import com.gooddata.collections.PageableListDeserializer;
import com.... | liry/gooddata-java | src/main/java/com/gooddata/warehouse/WarehousesDeserializer.java | Java | bsd-3-clause | 760 |
/*
* $Id$
*
* Copyright 2003-2008 Online Breedband B.V.
* See the COPYRIGHT file for redistribution and use restrictions.
*/
package org.xins.tests.common.http;
import java.io.UnsupportedEncodingException;
import java.util.zip.CRC32;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.fram... | muloem/xins | src/tests/org/xins/tests/common/http/HTTPServiceCallerTests.java | Java | bsd-3-clause | 13,097 |
/*
* HE_Mesh Frederik Vanhoutte - www.wblut.com
*
* https://github.com/wblut/HE_Mesh
* A Processing/Java library for for creating and manipulating polygonal meshes.
*
* Public Domain: http://creativecommons.org/publicdomain/zero/1.0/
*/
package wblut.geom;
import java.io.BufferedReader;
import java.io.FileNotF... | DweebsUnited/CodeMonkey | java/CodeMonkey/HEMesh/wblut/geom/WB_IsoSurfaceVOL.java | Java | bsd-3-clause | 16,824 |
package org.usfirst.frc2084.CMonster2017.PID;
import org.usfirst.frc2084.CMonster2017.RobotMap;
import org.usfirst.frc2084.CMonster2017.subsystems.DriveBase;
import edu.wpi.first.wpilibj.command.PIDSubsystem;
import edu.wpi.first.wpilibj.livewindow.LiveWindow;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboa... | RobotsByTheC/CMonster2017 | src/org/usfirst/frc2084/CMonster2017/PID/DistancePID.java | Java | bsd-3-clause | 1,461 |
package org.jasperreportssample;
import java.awt.Component;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.JButton;
import javax.swing.border.EmptyBorder;
import javax.swing.JTextField;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.sw... | elguille10/jasperReports-sample | src/org/jasperreportssample/ReportFrame.java | Java | bsd-3-clause | 5,859 |
package abi40_0_0.expo.modules.taskManager;
import android.app.job.JobParameters;
import android.app.job.JobService;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Pe... | exponent/exponent | android/versioned-abis/expoview-abi40_0_0/src/main/java/abi40_0_0/expo/modules/taskManager/TaskService.java | Java | bsd-3-clause | 22,261 |
/*================================================================================
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/HealthSystemRuntime.java | Java | bsd-3-clause | 2,329 |
/*L
* Copyright SAIC, SAIC-Frederick.
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/caadapter/LICENSE.txt for details.
*/
package gov.nih.nci.caadapter.hl7.mif.v1;
/**
* The class defines an object parsing CMET information.
*
* @author OWNER: Eugene Wang... | NCIP/caadapter | software/caadapter/src/java/gov/nih/nci/caadapter/hl7/mif/v1/CMETInfoParser.java | Java | bsd-3-clause | 8,196 |
package edu.clemson.resolve.jetbrains.actions;
import com.intellij.ide.actions.CreateFileFromTemplateAction;
import com.intellij.ide.actions.CreateFileFromTemplateDialog;
import com.intellij.ide.fileTemplates.FileTemplate;
import com.intellij.ide.fileTemplates.FileTemplateManager;
import com.intellij.openapi.editor.Ed... | ClemsonRSRG/jetbrains-plugin-resolve | src/edu/clemson/resolve/jetbrains/actions/RESOLVECreateFileAction.java | Java | bsd-3-clause | 1,760 |
/**
*============================================================================
* 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/test/calc/verRemoteException/src/calc/Subtracter.java | Java | bsd-3-clause | 1,096 |
package com.tinkerpop.blueprints.util.wrappers.event2;
import com.tinkerpop.blueprints.Direction;
import com.tinkerpop.blueprints.Edge;
import com.tinkerpop.blueprints.EdgeTestSuite;
import com.tinkerpop.blueprints.Graph;
import com.tinkerpop.blueprints.GraphTestSuite;
import com.tinkerpop.blueprints.IndexTestSuite;
i... | dsiegel/BlueprintsExperiment | src/test/java/com/tinkerpop/blueprints/util/wrappers/event2/EventGraphTest.java | Java | bsd-3-clause | 15,145 |
/*
* This file is part of the Jikes RVM project (http://jikesrvm.org).
*
* This file is licensed to You under the Common Public License (CPL);
* 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/cpl1.0.php
*... | ut-osa/laminar | jikesrvm-3.0.0/rvm/src/org/jikesrvm/classloader/ClassLoadingListener.java | Java | bsd-3-clause | 758 |
package it.unitn.ing.fortran;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.PrintStream;
import java.io.StringBufferInputStream;
import java.util.Hashtable;
import java.util.Vector;
/* This exception is thrown if formatted output detects a string
that won't fit in its format, e.g. tryi... | luttero/Maud | src/it/unitn/ing/fortran/StringTooWideOnWriteException.java | Java | bsd-3-clause | 976 |
/**
*
*/
package org.middlecraft.patcher;
/**
* Append a function's bytecode to the end of the specified function.
* <br /><br />
* The function's signature must be void(Object[] localHeap)
* @author Rob
*
*/
public @interface Append {
String value();
}
| N3X15/MiddleCraft | src/org/middlecraft/patcher/Append.java | Java | bsd-3-clause | 267 |
package com.whumap.util;
import java.util.Calendar;
public class CountDownDate {
/** 指定倒计时的结束时间,年,月,日*/
private int year ;
private int month ;
private int day;
/** 当前系统时间,年,月,日 */
private int currentYear;
private int currentMonth;
private int currentDay;
/**
* 在构造函数中初始化倒计时时间
* @param year
* @param ... | flsf/WHUMap | src/com/whumap/util/CountDownDate.java | Java | bsd-3-clause | 2,409 |
/**
*/
package com.rockwellcollins.atc.agree.agree;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Periodic Statement</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link com.rockwellcollins.atc.agree.agree.PeriodicState... | smaccm/smaccm | fm-workbench/agree/com.rockwellcollins.atc.agree/src-gen/com/rockwellcollins/atc/agree/agree/PeriodicStatement.java | Java | bsd-3-clause | 1,455 |
package org.basex.query.func.bin;
import org.basex.query.*;
import org.basex.query.value.item.*;
import org.basex.util.*;
/**
* Function implementation.
*
* @author BaseX Team 2005-22, BSD License
* @author Christian Gruen
*/
public final class BinPadLeft extends BinFn {
@Override
public Item item(final Quer... | BaseXdb/basex | basex-core/src/main/java/org/basex/query/func/bin/BinPadLeft.java | Java | bsd-3-clause | 409 |
package org.nanocontainer.remoting.rmi;
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface NanoNaming extends Remote {
Object lookup(ByRefKey key) throws RemoteException;
} | picocontainer/NanoContainer-remoting | remoting/src/java/org/nanocontainer/remoting/rmi/NanoNaming.java | Java | bsd-3-clause | 201 |
/**
*============================================================================
* 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/IntroduceI2b2DataServiceStyle/projects/i2b2DataServiceStyle/src/java/domain/org/cagrid/i2b2/domain/Map.java | Java | bsd-3-clause | 12,150 |
package org.hjdskes.id2202.ast.statement.impl;
import org.hjdskes.id2202.ast.Visitor;
import org.hjdskes.id2202.ast.expression.Expression;
import org.hjdskes.id2202.ast.statement.Statement;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import static or... | Unia/minijava | src/test/java/org/hjdskes/id2202/ast/statement/impl/WhileTest.java | Java | bsd-3-clause | 1,495 |
package gov.samhsa.consent2share.service.valueset;
/**
* The Class ValueSetCategoryNotFoundException.
*/
public class ValueSetCategoryNotFoundException extends Exception {
/** The Constant serialVersionUID. */
private static final long serialVersionUID = 5122534788895239791L;
/**
* Instantiates a new value se... | OBHITA/Consent2Share | DS4P/consent2share/service/src/main/java/gov/samhsa/consent2share/service/valueset/ValueSetCategoryNotFoundException.java | Java | bsd-3-clause | 610 |
package net.ripe.db.whois.common.profiles;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.core.env.ConfigurableEnvironment;
public class WhoisProfile {
private WhoisProfile() {}
public static final String ENDTOEND = "ENDTOEND";
public static final S... | 8v060htwyc/whois | whois-commons/src/main/java/net/ripe/db/whois/common/profiles/WhoisProfile.java | Java | bsd-3-clause | 876 |
/*
* 2010 2012 Copyright Northwestern University and Stanford University
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/annotation-and-image-markup/LICENSE.txt for details.
*/
package edu.stanford.isis.atb.service;
import java.io.File;
import java.util.Collection;
i... | NCIP/annotation-and-image-markup | ATB_1.0_src/src/main/java/edu/stanford/isis/atb/service/TemplateService.java | Java | bsd-3-clause | 1,501 |
package com.neuronrobotics.bowlerstudio.creature;
import java.util.ArrayList;
import com.neuronrobotics.sdk.addons.kinematics.MobileBase;
import eu.mihosoft.vrl.v3d.CSG;
public interface IgenerateBody {
/**
* This function should generate the body and any limbs of a given base. the user should attach
* any... | CommonWealthRobotics/bowler-script-kernel | src/main/java/com/neuronrobotics/bowlerstudio/creature/IgenerateBody.java | Java | bsd-3-clause | 499 |
/*
* Carrot2 project.
*
* Copyright (C) 2002-2010, 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... | arnaudsj/carrot2 | core/carrot2-util-text/src/org/carrot2/text/preprocessing/filter/GenitiveLabelFilter.java | Java | bsd-3-clause | 2,294 |
package org.brandonhaynes.pipegen.utilities;
import java.lang.reflect.Array;
import java.util.*;
public class ArrayUtilities {
public static Object[] concat(Object[] left, Object right) {
Object[] joined = (Object[]) Array.newInstance(left.getClass().getComponentType(), left.length + 1);
System.a... | uwdb/pipegen | src/main/java/org/brandonhaynes/pipegen/utilities/ArrayUtilities.java | Java | bsd-3-clause | 4,016 |
/*******************************************************************************
* Copyright (c) 2012, Institute for Pervasive Computing, ETH Zurich.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditi... | curioustechizen/Californium | californium/src/main/java/ch/ethz/inf/vs/californium/dtls/DTLSConnectionState.java | Java | bsd-3-clause | 4,421 |
/*
* 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-util | src/main/java/com/sri/ai/util/rangeoperation/core/AbstractDAEFunction.java | Java | bsd-3-clause | 2,210 |
/****************************************************************************
* Copyright (c) 2011, Monnet 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... | monnetproject/lemon.api | main/src/main/java/eu/monnetproject/lemon/impl/PrototypeImpl.java | Java | bsd-3-clause | 3,069 |
/**
* Copyright (c) 2013, impossibl.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 notice,
* this list of cond... | jesperpedersen/pgjdbc-ng | src/test/java/com/impossibl/postgres/system/tables/PgProcTest.java | Java | bsd-3-clause | 2,981 |
/*
* This code is free software; you can redistribute it and/or modify it under
* the terms of the new BSD License.
*
* Copyright (c) 2011-2018, Sebastian Staudt
*/
package com.github.koraktor.mavanagaiata.mojo;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotatio... | koraktor/mavanagaiata | src/main/java/com/github/koraktor/mavanagaiata/mojo/TagMojo.java | Java | bsd-3-clause | 2,197 |
package org.basex.build;
import static org.junit.jupiter.api.Assertions.*;
import org.basex.*;
import org.basex.core.cmd.*;
import org.basex.io.*;
import org.basex.util.*;
import org.junit.jupiter.api.*;
import org.junit.jupiter.api.Test;
/**
* Tests for creating databases and adding documents.
*
* @author BaseX ... | BaseXdb/basex | basex-core/src/test/java/org/basex/build/CreateTest.java | Java | bsd-3-clause | 3,897 |
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.vulkan.video;
import javax.annotation.*;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.Checks.*;
import static o... | TheMrMilchmann/lwjgl3 | modules/lwjgl/vulkan/src/generated/java/org/lwjgl/vulkan/video/StdVideoH265SequenceParameterSetVui.java | Java | bsd-3-clause | 49,484 |
/**
*============================================================================
* Copyright The Ohio State University Research Foundation, The University of Chicago -
* Argonne National Laboratory, Emory University, SemanticBits LLC, and
* Ekagra Software Technologies Ltd.
*
* Distributed under the OSI-approved B... | NCIP/cagrid-core | caGrid/projects/gaards-ui/src/org/cagrid/gaards/ui/dorian/federation/CredentialPanel.java | Java | bsd-3-clause | 1,101 |
package cz.muni.physics.pdr.backend.resolver.vizier;
import cz.muni.physics.pdr.backend.CosmicCoordinates;
import java.math.BigDecimal;
import java.util.Set;
public class VariableStarInformationModel {
private CosmicCoordinates coordinates;
private String originalName;
private Set<String> names;
pri... | m-krajcovic/photometric-data-retriever | backend/src/main/java/cz/muni/physics/pdr/backend/resolver/vizier/VariableStarInformationModel.java | Java | bsd-3-clause | 1,924 |
/*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | pongad/api-client-staging | generated/java/gapic-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcIntentsCallableFactory.java | Java | bsd-3-clause | 5,004 |
// Copyright 2015 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.contextualsearch;
import android.text.TextUtils;
import org.chromium.base.CommandLine;
import org.chromium.base.SysU... | danakj/chromium | chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchFieldTrial.java | Java | bsd-3-clause | 17,593 |
package com.projectchanged.client.userInterface;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JSplitPane;
import javax.s... | ShengLiu/File-Dependency-Client | src/com/projectchanged/client/userInterface/CommitDetailPanel.java | Java | bsd-3-clause | 3,650 |
/*
* File: DenseVector.java
* Authors: Kevin R. Dixon
* Company: Sandia National Laboratories
* Project: Cognitive Foundry
*
* Copyright March 14, 2006, Sandia Corporation. Under the terms of Contract
* DE-AC04-94AL85000, there is a non-exclusive license for us... | codeaudit/Foundry | Components/CommonCore/Source/gov/sandia/cognition/math/matrix/mtj/DenseVector.java | Java | bsd-3-clause | 11,479 |
/*
* Copyright (c) 2014, Harald Kuhr
* 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 condition... | haraldk/TwelveMonkeys | imageio/imageio-pnm/src/main/java/com/twelvemonkeys/imageio/plugins/pnm/PNMHeaderWriter.java | Java | bsd-3-clause | 2,775 |
/*
* Copyright (c) 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 the above copyright notice, this
* list of condition... | dhis2/dhis2-android-dashboard | api/src/main/java/org/hisp/dhis/android/dashboard/api/job/NetworkJob.java | Java | bsd-3-clause | 3,451 |
package org.openmrs.module.sana.api;
/**
* An point of data collection as it is represented on the Sana platform.
* Translated into Observations on OpenMRS
*
* @author Sana Development Team
*
*/
public class MDSQuestion {
/**
* Default constructor
*/
public MDSQuestion() {}
/** The id at... | SanaMobile/sana.openmrs | api/src/main/java/org/openmrs/module/sana/api/MDSQuestion.java | Java | bsd-3-clause | 972 |
// 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.webapps;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.j... | endlessm/chromium-browser | chrome/android/junit/src/org/chromium/chrome/browser/webapps/WebApkUpdateManagerUnitTest.java | Java | bsd-3-clause | 58,726 |
// Copyright 2017 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.page_info;
import android.support.test.filters.MediumTest;
import org.junit.Rule;
import org.junit.Test;
import org.... | endlessm/chromium-browser | chrome/android/javatests/src/org/chromium/chrome/browser/page_info/ConnectionInfoPopupTest.java | Java | bsd-3-clause | 1,946 |
/*
Copyright (c) 2016, Shanghai YUEWEN Information Technology Co., Ltd.
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 ... | crosg/Albianj2 | Albianj.Commons/src/main/java/org/albianj/verify/Validate.java | Java | bsd-3-clause | 4,058 |
/*
* 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 abi41_0_0.host.exp.exponent.modules.api.components.svg;
import abi41_0_0.com.facebook.react.bridge.Call... | exponent/exponent | android/versioned-abis/expoview-abi41_0_0/src/main/java/abi41_0_0/host/exp/exponent/modules/api/components/svg/SvgViewModule.java | Java | bsd-3-clause | 3,382 |
/*
* Copyright (c) 2014, Salesforce.com, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list of condit... | SalesforceEng/coyote | roadrunner-framing/roadrunner-framing-netty/src/main/java/com/salesforce/keystone/coyote/DirectByteBufMemoryManager.java | Java | bsd-3-clause | 2,022 |
package org.pmiops.workbench.rdr;
import java.sql.Timestamp;
import java.time.OffsetDateTime;
import java.time.ZoneOffset;
import java.util.Arrays;
import java.util.Objects;
import java.util.Optional;
import java.util.Set;
import java.util.stream.Collectors;
import javax.annotation.Nullable;
import org.mapstruct.Mappe... | all-of-us/workbench | api/src/main/java/org/pmiops/workbench/rdr/RdrMapper.java | Java | bsd-3-clause | 5,973 |
// Copyright 2015 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.webapps;
import android.annotation.TargetApi;
import android.app.ActivityManager;
import android.app.ActivityManager.... | Workday/OpenFrame | chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDirectoryManager.java | Java | bsd-3-clause | 8,481 |
/*
Copyright (c) 2016, Henrique Abdalla <https://github.com/AquariusPower><https://sourceforge.net/u/teike/profile/>
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... | AquariusPower/CommandsConsoleGUI | src/com/github/commandsconsolegui/spCmd/misc/Priority.java | Java | bsd-3-clause | 2,502 |
/*
* Copyright (c) 2013, Regents of the University of California
* 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... | wdv4758h/ZipPy | edu.uci.python.runtime/src/edu/uci/python/runtime/sequence/storage/DoubleSequenceStorage.java | Java | bsd-3-clause | 9,086 |
package utils;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.List;
import org.joda.time.DateTimeZone;
import org.joda.time.LocalDate;
import org.joda.time.LocalTime;
import org.mapdb.Fun.Tuple2;
import com.fasterxml.jackson.core.JsonGenerationException;
import com.fasterxm... | markjd84/gtfs-editor | app/utils/JacksonSerializers.java | Java | mit | 5,838 |
package com.myhitchhikingspots.utilities;
import android.app.ProgressDialog;
import android.content.Context;
import android.database.Cursor;
import android.database.DatabaseUtils;
import android.os.AsyncTask;
import android.text.TextUtils;
import android.util.Log;
import com.crashlytics.android.Crashlytics;
import co... | Hitchwiki/MyHitchhikingSpots-for-Android | app/src/main/java/com/myhitchhikingspots/utilities/DatabaseImporter.java | Java | mit | 22,049 |
/*
* RDV
* Real-time Data Viewer
* http://rdv.googlecode.com/
*
* Copyright (c) 2008 Palta Software
*
* 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, i... | DrFuehrer/rdv | src/org/rdv/viz/spectrum/SpectrumViz.java | Java | mit | 20,671 |
package com.thebluealliance.androidclient.subscribers;
import com.thebluealliance.androidclient.DefaultTestRunner;
import com.thebluealliance.androidclient.datafeed.APICache;
import com.thebluealliance.androidclient.datafeed.framework.DatafeedTestDriver;
import com.thebluealliance.androidclient.datafeed.framework.Mode... | 1fish2/the-blue-alliance-android | android/src/test/java/com/thebluealliance/androidclient/subscribers/EventListSubscriberTest.java | Java | mit | 2,855 |
package June2021GoogLeetcode;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
public class _0721AccountMerge {
public static void main(String[] args) {
System.out.println(accountsMerg... | darshanhs90/Java-Coding | src/June2021GoogLeetcode/_0721AccountMerge.java | Java | mit | 2,756 |