code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
package com.example.conami.dokimemo;
public final class UserModel {
private static int id = 1;
private static String name = "user1";
private static int coupleId = 1;
private static int partnarId = 3;
private UserModel() {}
private void setId(int id) {
this.id = id;
}
private ... | shimomo/dokidoki-memorial | client/app/src/main/java/com/example/conami/dokimemo/UserModel.java | Java | mit | 823 |
package org.knowm.xchange.bity;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.*;
import org.knowm.xchange.bity.dto.account.BityInputTransaction;
import org.knowm.xchange.bity.dto.account.BityOrder;
import org.knowm.xchange.bity.dto.account.BityOutputTransaction;
import org.knowm.xchange.... | douggie/XChange | xchange-bity/src/main/java/org/knowm/xchange/bity/BityAdapters.java | Java | mit | 4,222 |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2015 Umeng, Inc
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to u... | Chanven/the-tech-frontier-app | src/org/tech/frontier/net/handlers/RecommendHandler.java | Java | mit | 1,984 |
import java.io.*;
public class FileOutputter
{
private BufferedWriter m_writer;
private String m_filename;
public static void print( String filename, String text )
{
try
{
File file = new File( filename );
BufferedWriter bw = new BufferedWriter(
... | Rachels-Courses/Course-Common-Files | STUDENT_REFERENCE/EXAMPLE_CODE/File IO/Java/OutputCSV/FileOutputter.java | Java | mit | 1,760 |
package org.anddev.andengine.util;
import android.graphics.Color;
/**
* @author Nicolas Gramlich
* @since 11:13:45 - 04.08.2010
*/
public class ColorUtils {
// ===========================================================
// Constants
// ===========================================================
private static... | liufeiit/itmarry | source/android-game/PlantsVsBugs/src/org/anddev/andengine/util/ColorUtils.java | Java | mit | 2,138 |
package org.jabref.gui.fieldeditors;
import java.util.stream.Collectors;
import javafx.beans.binding.Bindings;
import javafx.fxml.FXML;
import javafx.scene.Parent;
import javafx.scene.layout.HBox;
import org.jabref.gui.autocompleter.SuggestionProvider;
import org.jabref.gui.util.ViewModelListCellFactory;
import org.... | sauliusg/jabref | src/main/java/org/jabref/gui/fieldeditors/LinkedEntriesEditor.java | Java | mit | 2,406 |
/**
* 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.cognitiveservices.vision.customvision.training.models;
impo... | selvasingh/azure-sdk-for-java | sdk/cognitiveservices/ms-azure-cs-customvision-training/src/main/java/com/microsoft/azure/cognitiveservices/vision/customvision/training/models/ImageIdCreateEntry.java | Java | mit | 2,042 |
package com.voxelwind.server.network.util;
import com.google.common.base.Charsets;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import static org.junit.Assert.assertEquals;
public class CompressionUtilTest {
@org.junit.Test
public void fullTest() throws Exception {
ByteBuf toCompr... | minecrafter/voxelwind | server/src/test/java/com/voxelwind/server/network/util/CompressionUtilTest.java | Java | mit | 868 |
package madgik.exareme.master.engine.parser;
import junit.framework.TestCase;
import madgik.exareme.common.schema.expression.SQLQuery;
import madgik.exareme.common.schema.expression.SQLScript;
import java.io.ByteArrayInputStream;
import java.rmi.ServerException;
public class ParserTest extends TestCase {
public... | XristosMallios/cache | exareme-master/src/test/java/madgik/exareme/master/engine/parser/ParserTest.java | Java | mit | 996 |
/**
* Implementation of built-in Selenide commands.
* You can override and add any commands.
*/
package com.codeborne.selenide.commands;
| codeborne/selenide | src/main/java/com/codeborne/selenide/commands/package-info.java | Java | mit | 140 |
/**
* 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.network.v2018_06_01.implementation;
import com.m... | navalev/azure-sdk-for-java | sdk/network/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/network/v2018_06_01/implementation/LocalNetworkGatewayImpl.java | Java | mit | 3,555 |
/****************************************************************
*
* 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.
... | lauringlab/CodonShuffle | lib/EMBOSS-6.6.0/jemboss/org/emboss/jemboss/soap/PrivateRequest.java | Java | mit | 7,138 |
/*
* Copyright 2007 Sun Microsystems, 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, thi... | theyelllowdart/jmockit | samples/AnimatedTransitions/src/org/jdesktop/animation/transitions/TransitionType.java | Java | mit | 5,116 |
package com.aspose.cells.model;
import com.aspose.cells.model.Link;
import com.aspose.cells.model.CellArea;
public class Hyperlink {
private String Address = null;
private CellArea Area = null;
private String ScreenTip = null;
private String TextToDisplay = null;
private Link link = null;
/**
* getAddres... | asposecellscloud/Aspose.Cells_Cloud_SDK_For_Java | src/main/java/com/aspose/cells/model/Hyperlink.java | Java | mit | 2,104 |
/*
* Copyright (c) 2007 - 2008 by Damien Di Fede <ddf@compartmental.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as published
* by the Free Software Foundation; either version 2 of the License, or
* (at your o... | drakh/enterin_wodies | processing_libraries/minim/src/ddf/minim/javasound/JSMPEGAudioRecordingStream.java | Java | cc0-1.0 | 3,294 |
/*****************************************************************************
* Copyright (c) 2011 CEA LIST.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* ht... | bmaggi/Papyrus-SysML11 | plugins/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src-gen/org/eclipse/papyrus/sysml/diagram/blockdefinition/BlockDefinitionDiagramEditorFactory.java | Java | epl-1.0 | 928 |
/*******************************************************************************
* Copyright (c) 2015 Bosch Software Innovations GmbH and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution Lice... | erlemantos/eclipse-vorto | repo/remoterepository/src/main/java/org/eclipse/vorto/remoterepository/service/DefaultModelRepoService.java | Java | epl-1.0 | 2,490 |
/*******************************************************************************
* Copyright (c) 2012 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is avai... | sguan-actuate/birt | UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/DataSetBindingSelectorPage.java | Java | epl-1.0 | 2,767 |
/*
* Copyright (c) 2013 Big Switch Networks, Inc.
*
* Licensed under the Eclipse Public License, Version 1.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.eclipse.org/legal/epl-v10.html
*
* Unless required by ap... | mandeepdhami/netvirt-ctrl | sdnplatform/src/main/java/org/sdnplatform/netvirt/manager/internal/NetVirtManagerImpl.java | Java | epl-1.0 | 73,762 |
/*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | sguan-actuate/birt | model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/elements/structures/StyleRule.java | Java | epl-1.0 | 9,305 |
/*******************************************************************************
* Copyright (c) 2017 Oak Ridge National Laboratory.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and i... | ControlSystemStudio/cs-studio | applications/archive/archive-plugins/org.csstudio.archive.reader.channelarchiver/src/org/csstudio/archive/reader/channelarchiver/file/ArchiveFileReader.java | Java | epl-1.0 | 3,756 |
/*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | sguan-actuate/birt | model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/metadata/StringPropertyType.java | Java | epl-1.0 | 4,515 |
/*******************************************************************************
* Copyright (c) 2006 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | sguan-actuate/birt | chart/org.eclipse.birt.chart.tests/src/org/eclipse/birt/chart/tests/script/component/AxisTest.java | Java | epl-1.0 | 4,036 |
/***********************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* ... | sguan-actuate/birt | engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/IBlockStackingLayoutManager.java | Java | epl-1.0 | 642 |
/**
* Copyright (c) 2010-2017 by the respective copyright holders.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/... | peuter/openhab2 | addons/binding/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/parser/RpcResponseParser.java | Java | epl-1.0 | 2,368 |
package p;
class A{
A(){
this(5);
}
A(int u){
super();
}
void f(){
int i= 0;
}
} | maxeler/eclipse | eclipse.jdt.ui/org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_test16_in.java | Java | epl-1.0 | 92 |
/*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | sguan-actuate/birt | engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/css/HTMLProcessor.java | Java | epl-1.0 | 11,427 |
/*******************************************************************************
* Copyright (c) 2004, 2005 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | sguan-actuate/birt | engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/instance/IDrillThroughInstance.java | Java | epl-1.0 | 2,637 |
/* ********************************************************************** **
** Copyright notice **
** **
** (c) 2005-2009 RSSOwl Development Team **
... | rssowl/RSSOwl | org.rssowl.core/src/org/rssowl/core/internal/persist/SortedLongArrayList.java | Java | epl-1.0 | 3,146 |
/**
* Copyright (c) 2010-2017 by the respective copyright holders.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/... | beowulfe/openhab2 | addons/binding/org.openhab.binding.loxone/src/main/java/org/openhab/binding/loxone/internal/core/LxControlTimedSwitch.java | Java | epl-1.0 | 4,682 |
/*******************************************************************************
* Copyright (c) 2016 IBH SYSTEMS GmbH and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is ... | ibh-systems/packagedrone | bundles/org.eclipse.packagedrone.repo.trigger.common/src/org/eclipse/packagedrone/repo/trigger/common/unique/UniqueArtifactProcessorFactory.java | Java | epl-1.0 | 2,095 |
/*
* Created on 05-Sep-2005
* Created by Paul Gardner
* Copyright (C) 2005, 2006 Aelitis, All Rights Reserved.
*
* 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... | AcademicTorrents/AcademicTorrents-Downloader | vuze/org/gudy/azureus2/plugins/ui/UIManagerListener.java | Java | gpl-2.0 | 1,583 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2007-2015 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2015 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | jeffgdotorg/opennms | opennms-provision/opennms-detector-lineoriented/src/test/java/org/opennms/netmgt/provision/detector/NrpeDetectorTest.java | Java | gpl-2.0 | 3,187 |
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | armenrz/adempiere | base/src/org/compiere/model/X_C_JobCategory.java | Java | gpl-2.0 | 4,312 |
/*
* Copyright (c) 2007, 2012, 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 ... | arodchen/MaxSim | graal/graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/bytecode/BC_putstatic.java | Java | gpl-2.0 | 1,754 |
package com.iot.nero.parent_app.exception;
import com.iot.nero.exception.BaseException;
/**
* Author neroyang
* Email nerosoft@outlook.com
* Date 2017/6/30
* Time 上午10:40
*/
public class ClientOnlineException extends BaseException {
public ClientOnlineException(String message) {
super(message);
... | ENERROR/iot_cloud | parent_app/src/main/java/com/iot/nero/parent_app/exception/ClientOnlineException.java | Java | gpl-2.0 | 438 |
/*
* java-gnome, a UI library for writing GTK and GNOME programs from Java!
*
* Copyright © 2007-2010 Operational Dynamics Consulting, Pty Ltd
*
* The code in this file, and the program it is a part of, is made available
* to you by its authors as open source software: you can redistribute it
* and/or modify it ... | severinh/java-gnome | src/bindings/org/gnome/pango/FontFamily.java | Java | gpl-2.0 | 2,442 |
/*
* Copyright (c) 2014, 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 Softwa... | reprogrammer/jsr308-langtools | test/com/sun/javadoc/testSerializedForm/pkg1/ProtectedInnerClass.java | Java | gpl-2.0 | 1,994 |
/*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as published by
the Free Software Foundation.
This progra... | ianopolous/JPC | src/org/jpc/emulator/execution/opcodes/vm/fchs.java | Java | gpl-2.0 | 1,660 |
/*
* Copyright (c) 2007, 2018, 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 ... | md-5/jdk10 | src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/jdk/EnumMap01.java | Java | gpl-2.0 | 1,845 |
/*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as published by
the Free Software Foundation.
This progra... | ianopolous/JPC | src/org/jpc/emulator/execution/opcodes/pm/fdivp_ST2_ST6.java | Java | gpl-2.0 | 2,070 |
/*
* Copyright (c) 2009, 2012, 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 ... | teamfx/openjfx-8u-dev-tests | tools/Jemmy/JemmyFX/test/org/jemmy/fx/control/MenuTest.java | Java | gpl-2.0 | 5,883 |
/*
* Copyright (c) 2013, 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 Softwa... | lewurm/graal | graal/com.oracle.graal.asm.ptx/src/com/oracle/graal/asm/ptx/PTXMacroAssembler.java | Java | gpl-2.0 | 9,613 |
/*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as published by
the Free Software Foundation.
This progra... | ysangkok/JPC | src/org/jpc/emulator/execution/opcodes/rm/adc_Ed_Ib.java | Java | gpl-2.0 | 2,085 |
///////////////////////////////////////////////////////////////////////////////
// For information as to what this class does, see the Javadoc, below. //
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, //
// 2007, 2008, 2009, 2010, 2014, 2015 by Peter Spirtes, Richard Scheines, Joseph... | jdramsey/tetrad | tetrad-lib/src/main/java/edu/cmu/tetrad/search/Images.java | Java | gpl-2.0 | 61,462 |
/*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as published by
the Free Software Foundation.
This progra... | ysangkok/JPC | src/org/jpc/emulator/execution/opcodes/vm/faddp_ST6_ST1.java | Java | gpl-2.0 | 2,015 |
/* Generated By:JJTree: Do not edit this line. ASTBuiltinValue.java */
package org.jzkit.a2j.codec.comp;
public class ASTBuiltinValue extends SimpleNode {
public int which = 0;
public ASTBuiltinValue(int id) {
super(id);
}
public ASTBuiltinValue(AsnParser p, int id) {
super(p, id);
}
}
| backslash47/a2j | src/main/java/org/jzkit/a2j/codec/comp/ASTBuiltinValue.java | Java | gpl-2.0 | 311 |
/**
* This file is part of Aion-Lightning <aion-lightning.org>.
*
* Aion-Lightning 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 3 of the License, or
* (at your option) any lat... | GiGatR00n/Aion-Core-v4.7.5 | AC-Game/data/scripts/system/handlers/ai/instance/IdgelDome/UnstableIdeEnergyAI2.java | Java | gpl-2.0 | 4,039 |
/*
* Copyright (c) 2016, 2018, 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 ... | md-5/jdk10 | src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/InstructionDecoder.java | Java | gpl-2.0 | 1,966 |
package com.nutiteq.maps;
import com.nutiteq.maps.projections.EPSG3785;
import com.nutiteq.ui.Copyright;
import com.nutiteq.ui.StringCopyright;
/**
* Default implementation using Open Street Map tiles server.
*/
public class OpenStreetMap extends EPSG3785 implements GeoMap, UnstreamedMap {
private static final St... | camptocamp/maps-lib-nutiteq | src/com/nutiteq/maps/OpenStreetMap.java | Java | gpl-2.0 | 1,518 |
/**
* This file is part of Aion-Lightning <aion-lightning.org>.
*
* Aion-Lightning 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 3 of the License, or
* (at your option) any lat... | GiGatR00n/Aion-Core-v4.7.5 | AC-Game/src/com/aionemu/gameserver/model/items/GodStone.java | Java | gpl-2.0 | 4,983 |
/**
* Copyright (c) SpaceToad, 2011
* http://www.mod-buildcraft.com
*
* BuildCraft is distributed under the terms of the Minecraft Mod Public
* License 1.0, or MMPL. Please check the contents of the license located in
* http://www.mod-buildcraft.com/MMPL-1.0.txt
*/
package buildcraft.api.blueprints;
import ... | Vexatos/PeripheralsPlusPlus | src/api/resources/reference/buildcraft/api/blueprints/BptBlockUtils.java | Java | gpl-2.0 | 2,396 |
/*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as published by
the Free Software Foundation.
This progra... | ysangkok/JPC | src/org/jpc/emulator/execution/opcodes/vm/cwde.java | Java | gpl-2.0 | 1,672 |
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | geneos/adempiere | base/src/org/compiere/model/X_AD_ReplicationDocument.java | Java | gpl-2.0 | 6,693 |
package miscperipherals.util;
import java.util.LinkedList;
import java.util.List;
public class BFMachine implements Runnable {
private String code;
private String input;
private List<BFEventHandler> handlers = new LinkedList<BFEventHandler>();
public String output;
private int pc = 0;
private int head = 0;
p... | TheCodingMonster/PeripheralsPlusPlus | src/api/resources/reference/miscperipherals/util/BFMachine.java | Java | gpl-2.0 | 5,731 |
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | syslover33/ctank | java/android-sdk-linux_r24.4.1_src/sources/android-23/android/widget/TimePicker.java | Java | gpl-3.0 | 10,323 |
package fragment;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLa... | Fshem/developers-chat | app/src/main/java/fragment/topic.java | Java | gpl-3.0 | 9,561 |
package dna.parallel.nodeAssignment;
import dna.parallel.partition.AllPartitions;
import dna.updates.batch.Batch;
import dna.updates.update.NodeAddition;
public class RoundRobinNodeAssignment extends NodeAssignment {
protected int counter = 0;
public RoundRobinNodeAssignment(int partitionCount) {
super(partitio... | Rwilmes/DNA | src/dna/parallel/nodeAssignment/RoundRobinNodeAssignment.java | Java | gpl-3.0 | 533 |
package net.minecraft.util.datafix.walkers;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.datafix.DataFixesManager;
import net.minecraft.util.datafix.IDataFixer;
public class ItemStackDataLists extends Filtered
{
private final String[] matchingTags;
public ItemStackDataLists(String id, S... | TheValarProject/AwakenDreamsClient | mcp/src/minecraft/net/minecraft/util/datafix/walkers/ItemStackDataLists.java | Java | gpl-3.0 | 692 |
package fr.lium.experimental.spkDiarization.programs;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.StringTokenizer;
import java.util.TreeMap;
import java.util.logging.Level;
import java.util.logging.Logger;
imp... | Adirockzz95/GenderDetect | src/src/fr/lium/experimental/spkDiarization/programs/SpeakerIdenificationDecision2.java | Java | gpl-3.0 | 38,353 |
/*
* This file is part of BBCT for Android.
*
* Copyright 2012-14 codeguru <codeguru@users.sourceforge.net>
*
* BBCT for Android 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 3 of the L... | BaseballCardTracker/bbct | swing/src/main/java/bbct/common/exceptions/package-info.java | Java | gpl-3.0 | 869 |
/*
gl-client Client library for the URI-based RESTful service for the gl project.
Copyright (c) 2012-2015 National Marrow Donor Program (NMDP)
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published
by the Free ... | epearson-nmdp/genotype-list | gl-client/src/main/java/org/nmdp/gl/client/cache/package-info.java | Java | gpl-3.0 | 1,106 |
/* Copyright 2010, 2011 Semantic Web Research Center, KAIST
This file is part of JHanNanum.
JHanNanum 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 3 of the License, or
(at your option) ... | haven-jeon/HanNanum-Analyzer | src/kr/ac/kaist/swrc/jhannanum/plugin/SupplementPlugin/PosProcessor/NounExtractor/NounExtractor.java | Java | gpl-3.0 | 2,741 |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | s20121035/rk3288_android5.1_repo | cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ResultReporter.java | Java | gpl-3.0 | 2,059 |
package org.triplea.modules.game.lobby.watcher;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.is;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import ... | triplea-game/triplea | spitfire-server/lobby-module/src/test/java/org/triplea/modules/game/lobby/watcher/ChatUploadModuleTest.java | Java | gpl-3.0 | 1,885 |
package us.talabrek.ultimateskyblock.handler;
import net.milkbowl.vault.economy.Economy;
import net.milkbowl.vault.item.ItemInfo;
import net.milkbowl.vault.item.Items;
import net.milkbowl.vault.permission.Permission;
import org.bukkit.OfflinePlayer;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStac... | swan201/uSkyBlock | uSkyBlock-Core/src/main/java/us/talabrek/ultimateskyblock/handler/VaultHandler.java | Java | gpl-3.0 | 2,682 |
package lux.query.parser;
import org.apache.commons.lang.StringUtils;
import org.apache.lucene.queryparser.ext.ExtensionQuery;
import org.apache.lucene.queryparser.ext.ParserExtension;
import org.apache.lucene.queryparser.xml.ParserException;
import org.apache.lucene.queryparser.classic.ParseException;
class NodePars... | coyotesqrl/lux | src/main/java/lux/query/parser/NodeParser.java | Java | mpl-2.0 | 1,682 |
package rocks.inspectit.agent.java.proxy;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation for methods which will be proxied.
*
* For every method of a {@link IProxySubject} with this an... | inspectIT/inspectIT | inspectit.agent.java/src/main/java/rocks/inspectit/agent/java/proxy/ProxyMethod.java | Java | agpl-3.0 | 1,651 |
/*
* DataImportOptionsUiMongo.java
*
* Copyright (C) 2009-16 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Pu... | jar1karp/rstudio | src/gwt/src/org/rstudio/studio/client/workbench/views/environment/dataimport/DataImportOptionsUiMongo.java | Java | agpl-3.0 | 1,851 |
/*
* MobileV2.java
*
* Tigase Jabber/XMPP Server
* Copyright (C) 2004-2013 "Tigase, Inc." <office@tigase.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of... | wangningbo/tigase-server | src/main/java/tigase/xmpp/impl/MobileV2.java | Java | agpl-3.0 | 8,860 |
package test.beast.evolution.alignment;
import java.util.List;
import org.junit.Test;
import beast.evolution.alignment.Alignment;
import beast.evolution.alignment.Sequence;
import beast.evolution.datatype.DataType;
import beast.evolution.tree.Tree;
import beast.util.TreeParser;
import junit.framework.TestCase;
pub... | tgvaughan/beast2 | src/test/beast/evolution/alignment/UncertainAlignmentTest.java | Java | lgpl-2.1 | 4,019 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2017, Red Hat, Inc., and individual contributors as indicated
* by the @authors tag.
*
* 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 Licen... | darranl/wildfly-core | testsuite/shared/src/main/java/org/jboss/as/test/integration/management/api/ClientCompatibilityUnitTestBase.java | Java | lgpl-2.1 | 13,609 |
/*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH (http://www.alkacon.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free So... | it-tavis/opencms-core | src/org/opencms/file/types/CmsResourceTypeXmlContainerPage.java | Java | lgpl-2.1 | 13,782 |
/*
* Hibernate OGM, Domain model persistence for NoSQL datastores
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.ogm.backendtck.batchfetching;
import static org.fest.... | DavideD/hibernate-ogm | core/src/test/java/org/hibernate/ogm/backendtck/batchfetching/BatchFetchingTest.java | Java | lgpl-2.1 | 7,666 |
/**
* @author : Paul Taylor
* @author : Eric Farng
*
* Version @version:$Id$
*
* MusicTag Copyright (C)2003,2004
*
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser
* General Public License as published by the Free Software Foundation; either ver... | craigpetchell/Jaudiotagger | src/org/jaudiotagger/tag/id3/framebody/FrameBodyTSOT.java | Java | lgpl-2.1 | 2,188 |
package com.arcusys.learn.persistence.liferay.service.persistence;
import com.arcusys.learn.persistence.liferay.model.LFConditionRule;
import com.arcusys.learn.persistence.liferay.service.LFConditionRuleLocalServiceUtil;
import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery;
import com.liferay.portal.ke... | ViLPy/Valamis | learn-persistence-liferay620/src/main/java/com/arcusys/learn/persistence/liferay/service/persistence/LFConditionRuleActionableDynamicQuery.java | Java | lgpl-3.0 | 859 |
package android.database.sqlite;
//import android.os.ParcelFileDescriptor;
public final class SQLiteStatement
extends SQLiteProgram
{
SQLiteStatement()
{
throw new RuntimeException("Stub!");
}
public void execute()
{
throw new RuntimeException("Stub!");
}
public i... | MaxNad/find-sec-bugs | plugin-deps/src/main/java/android/database/sqlite/SQLiteStatement.java | Java | lgpl-3.0 | 908 |
/**
* Copyright (C) 2013 Inera AB (http://www.inera.se)
*
* This file is part of Inera Axel (http://code.google.com/p/inera-axel).
*
* Inera Axel is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, e... | sklaxel/inera-axel | shs/shs-protocol/src/main/java/se/inera/axel/shs/xml/agreement/ShsAgreement.java | Java | lgpl-3.0 | 4,780 |
package com.dstevens.user.patronage;
import com.dstevens.utilities.Identified;
public enum PaymentType implements Identified<Integer> {
OTHER(0),
PAYPAL(1),
AWARD(2),
GIFT(3)
;
public static PaymentType forId(int id) {
for (PaymentType paymentType : values()) {
if(paymentType.id == id)... | tsal/ElysiumFrontend | src/java/com/dstevens/user/patronage/PaymentType.java | Java | unlicense | 585 |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | camunda/camunda-bpm-platform | model-api/bpmn-model/src/test/java/org/camunda/bpm/model/bpmn/CamundaExtensionsTest.java | Java | apache-2.0 | 57,428 |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | camunda/camunda-bpm-platform | engine/src/test/java/org/camunda/bpm/engine/test/jobexecutor/JobDefinitionDeploymentTest.java | Java | apache-2.0 | 9,640 |
/*
* 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 ... | DariusX/camel | components/camel-atomix/src/test/java/org/apache/camel/component/atomix/client/map/AtomixMapNodesProducerTest.java | Java | apache-2.0 | 3,520 |
package com.ibm.kdd.core;
public enum DataType {
STR,
INT,
FLOAT,
DATE,
TIME,
TIMESTAMP,
UNKNOWN;
public static DataType getDataType(String typeName) {
if (typeName.equalsIgnoreCase("string") || typeName.equalsIgnoreCase("str")) {
return STR;
}
else if (typeName.equalsIgnoreCase("inte... | wliu015/event_miner | pages/temporal-pattern/WEB-INF/classes/com/ibm/kdd/core/DataType.java | Java | apache-2.0 | 967 |
/*
* Copyright 2014 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | emilianoandre/jbpm-console-ng | jbpm-console-ng-executor-service/jbpm-console-ng-executor-service-client/src/main/java/org/jbpm/console/ng/es/client/editors/servicesettings/JobServiceSettingsPopup.java | Java | apache-2.0 | 9,936 |
/*
* 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 ... | mxm/incubator-beam | runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/ParDoTranslation.java | Java | apache-2.0 | 28,033 |
/* $Id: QueryRetrieveScpService.java 1004 2004-02-21 22:32:43Z gunterze $
* Copyright (c) 2002,2003 by TIANI MEDGRAPH AG
*
* This file is part of dcm4che.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the F... | medicayun/medicayundicom | dcm4jboss-all/tags/dcm4jboss_0_7_1/dcm4jboss-sar/src/java/org/dcm4chex/service/QueryRetrieveScpService.java | Java | apache-2.0 | 8,887 |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | dpursehouse/elasticsearch | client/benchmark/src/main/java/org/elasticsearch/client/benchmark/metrics/Sample.java | Java | apache-2.0 | 1,742 |
/*
* Copyright (C) 2013 Manuel Peinado
*
* 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 ag... | fedefernandez/RefreshActionItem-ActionBarCompat | library/src/main/java/com/manuelpeinado/refreshactionitem/ProgressIndicator.java | Java | apache-2.0 | 5,766 |
/**
* Copyright (c) 2016-present, RxJava Contributors.
*
* 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 l... | akarnokd/RxJava | src/test/java/io/reactivex/internal/operators/single/SingleDoAfterTerminateTest.java | Java | apache-2.0 | 3,785 |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | stewartpark/presto | presto-main/src/main/java/com/facebook/presto/metadata/MetadataUtil.java | Java | apache-2.0 | 10,472 |
/*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | etirelli/kie-wb-common | kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-case-mgmt/kie-wb-common-stunner-case-mgmt-api/src/test/java/org/kie/workbench/common/stunner/cm/factory/CaseManagementDiagramFactoryImplTest.java | Java | apache-2.0 | 2,654 |
/*
* #%L
* SparkCommerce Common Libraries
* %%
* Copyright (C) 2015 Spark Commerce
* %%
*/
package org.sparkcommerce.common.email.service.message;
import java.util.Map;
public interface EmailServiceProducer {
public void send(final Map props);
}
| akdasari/SparkCommon | src/main/java/org/sparkcommerce/common/email/service/message/EmailServiceProducer.java | Java | apache-2.0 | 265 |
package gov.hhs.onc.dcdt.data;
import org.springframework.dao.DataAccessException;
public class ToolBeanDataAccessException extends DataAccessException {
private final static long serialVersionUID = 0L;
public ToolBeanDataAccessException() {
super(null);
}
public ToolBeanDataAccessException(... | mkotelba/dcdt | dcdt-core/src/main/java/gov/hhs/onc/dcdt/data/ToolBeanDataAccessException.java | Java | apache-2.0 | 559 |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | KeyNexus/netty | src/main/java/org/jboss/netty/handler/codec/http/HttpResponseEncoder.java | Java | apache-2.0 | 1,462 |
/*
* ******************************************************************************
* Copyright 2014-2019 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License i... | rpmoore/ds3_java_sdk | ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/ClearSuspectBlobTapesSpectraS3ResponseParser.java | Java | apache-2.0 | 2,153 |
/**
* Copyright 2007-2015, Kaazing Corporation. 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 require... | jfallows/k3po | driver/src/main/java/org/kaazing/k3po/driver/internal/netty/bootstrap/agrona/DefaultAgronaServerChannelConfig.java | Java | apache-2.0 | 1,132 |
/**
* 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 m... | apache/santuario-java | src/test/java/org/apache/xml/security/test/dom/transforms/TransformTest.java | Java | apache-2.0 | 1,911 |
/*
* 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 ... | jzonthemtn/opennlp | opennlp-tools/src/main/java/opennlp/tools/util/StringUtil.java | Java | apache-2.0 | 11,195 |
/*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http... | susinda/product-mss | samples/petstore/frontend-util/src/main/java/org/wso2/carbon/mss/examples/petstore/util/fe/client/PetCategoryServiceClient.java | Java | apache-2.0 | 5,196 |
package ca.uhn.fhir.rest.server;
import static org.hamcrest.Matchers.startsWith;
import static org.junit.Assert.*;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.apache.commons.io.IOUtils;
import org.apache.http.HttpResponse;
import org.apache.http.client.method... | eug48/hapi-fhir | hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/rest/server/BinaryTest.java | Java | apache-2.0 | 7,677 |