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 |
|---|---|---|---|---|---|
///////////////////////////////////////////////////////////////////////////////
//
// JTOpen (IBM Toolbox for Java - OSS version)
//
// Filename: AS400PackedDecimal.java
//
// The source code contained herein is licensed under the IBM Public License
// Version 1.0, which has been approved by the Open Source Initiative... | devjunix/libjt400-java | src/com/ibm/as400/access/AS400PackedDecimal.java | Java | epl-1.0 | 24,379 |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.ai4fm.proofprocess;
import org.eclipse.emf.cdo.CDOObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Intent</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link o... | andriusvelykis/proofprocess | org.ai4fm.proofprocess/src/org/ai4fm/proofprocess/Intent.java | Java | epl-1.0 | 2,381 |
/*******************************************************************************
* Copyright (c) 1998, 2013 Oracle and/or its affiliates. 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 License v. ... | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | foundation/eclipselink.core.test/src/org/eclipse/persistence/testing/models/collections/map/AggregateMapValue.java | Java | epl-1.0 | 1,297 |
/*******************************************************************************
* Copyright (c) 2012-2015 Codenvy, S.A.
* 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 ... | riuvshin/che-plugins | plugin-runner/che-plugin-runner-ext-runner/src/main/java/org/eclipse/che/ide/ext/runner/client/manager/button/ButtonWidgetImpl.java | Java | epl-1.0 | 3,851 |
/*****************************************************************
SPINE - Signal Processing In-Node Environment is a framework that
allows dynamic on node configuration for feature extraction and a
OtA protocol for the management for WSN
Copyright (C) 2007 Telecom Italia S.p.A.
GNU Lesser General Public L... | t2health/BSPAN---Bluetooth-Sensor-Processing-for-Android | AndroidSpineServer/src/spine/datamodel/ShimmerData.java | Java | epl-1.0 | 6,167 |
/*
* Copyright (c) 2014. Seonggyu Lee. All Rights Reserved.
* User: Seonggyu Lee
* Date: 14. 5. 15 오후 8:10
* Created Date : $today.year.month.day
* Last Modified : 14. 5. 15 오후 8:10
* User email: shalomeir@gmail.com
*/
package edu.kaist.irlab.classify.tui;
import cc.mallet.types.*;
import cc.mallet.util.Co... | shalomeir/tctm | src/edu/kaist/irlab/classify/tui/Vectors2InfoForExp.java | Java | epl-1.0 | 17,146 |
package com.openMap1.mapper.core;
import java.util.Vector;
/**
* Data item that gives one row of the Translation Summary View
* after running a translation test.
*
* @author robert
*
*/
public class TranslationSummaryItem implements SortableRow{
/**
* Make a new TranslationSummaryItem , b... | openmapsoftware/mappingtools | openmap-mapper-lib/src/main/java/com/openMap1/mapper/core/TranslationSummaryItem.java | Java | epl-1.0 | 4,491 |
/*
* Copyright (c) 2015 NEC 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 http://www.eclipse.org/legal/epl-v10.html
*/
package org.opendaylight.vt... | opendaylight/vtn | manager/it/util/src/main/java/org/opendaylight/vtn/manager/it/util/action/SetDscpVerifier.java | Java | epl-1.0 | 2,520 |
/**
* ***************************************************************************** Copyright (c) 2004,
* 2006 Subclipse project 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,... | subclipse/subclipse | bundles/subclipse.ui/src/org/tigris/subversion/subclipse/ui/subscriber/RevertSynchronizeAction.java | Java | epl-1.0 | 6,541 |
/**
* Instituto de Matemática e Estatística da Universidade de São Paulo (IME-USP)
* iVProg is a open source and free software of Laboratório de Informática na
* Educação (LInE) licensed under GNU GPL2.0 license.
* Prof. Dr. Leônidas de Oliveira Brandão - leo@ime.usp.br
* Romenig da Silva Ribeiro - romenig@... | Romenig/iVProg_2 | src/usp/ime/line/ivprog/IVPSystemFactory.java | Java | gpl-2.0 | 2,904 |
/*
* Copyright (C) 2016-2022 ActionTech.
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher.
*/
package com.actiontech.dble.plan.common.field.num;
import com.actiontech.dble.plan.common.item.FieldTypes;
import com.actiontech.dble.plan.common.item.Item.ItemResult;
/**
* mediumint(%d) |unsigne... | actiontech/dble | src/main/java/com/actiontech/dble/plan/common/field/num/FieldMedium.java | Java | gpl-2.0 | 849 |
/**************************************************************************************
* Copyright (C) 2008 EsperTech, Inc. All rights reserved. *
* http://esper.codehaus.org *
* http://www.espertech.com ... | intelie/esper | esper/src/main/java/com/espertech/esper/epl/core/StreamTypeServiceImpl.java | Java | gpl-2.0 | 18,945 |
/**
*
*/
package com.ankamagames.dofus.harvey.engine.numeric.bytes.sets.classes;
import com.ankamagames.dofus.harvey.engine.common.sets.interfaces.IContinuousBound;
import com.ankamagames.dofus.harvey.engine.numeric.bytes.sets.interfaces.ICommonContinuousByteSet;
import com.ankamagames.dofus.harvey.engine.numeric.by... | Ankama/harvey | src/com/ankamagames/dofus/harvey/engine/numeric/bytes/sets/classes/CommonDegenerateContinuousByteSetBridge.java | Java | gpl-2.0 | 967 |
package nobugs.team.shopping.mvp.interactor;
import java.util.List;
import nobugs.team.shopping.mvp.model.Product;
import nobugs.team.shopping.repo.RepoCallback;
import nobugs.team.shopping.repo.Repository;
/**
* Created by xiayong on 2015/8/31.
*/
public class ProductInteractorImpl implements ProductInteractor {
... | 10211509/maketaobao | app/src/main/java/nobugs/team/shopping/mvp/interactor/ProductInteractorImpl.java | Java | gpl-2.0 | 1,294 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.ssanalytics.snapshotplugin.domainModel.crawlerData.sqlWrapper.shared;
import org.ssanalytics.snapshotplugin.domainModel.crawlerData.contract.shared.ISharedLocation;
import org.ssanalytics.snapshotplugin.doma... | christianbors/snapshot-plugin | src/main/java/org/ssanalytics/snapshotplugin/domainModel/crawlerData/sqlWrapper/shared/SharedLocationSql.java | Java | gpl-2.0 | 1,646 |
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... | rex-xxx/mt6572_x201 | mediatek/packages/apps/RCSe/core/src/com/mediatek/rcse/mvc/ModelImpl.java | Java | gpl-2.0 | 102,722 |
package fr.nonimad.ld32;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.ScreenAdapter;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.g2d.GlyphLayout;
import com.badlogic.gdx.scenes.scene2d.InputEvent;
import com.badlogic.gdx.scenes.scene2d.Stage;
... | NoNiMad/VoiceFighter | core/src/fr/nonimad/ld32/ScreenGameOver.java | Java | gpl-2.0 | 1,751 |
/* Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2016 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | brunotl/LK8000 | android/src/org/LK8000/BatteryReceiver.java | Java | gpl-2.0 | 1,524 |
/*
* 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 ... | BIORIMP/biorimp | BIO-RIMP/test_data/code/cio/src/test/java/org/apache/commons/io/DirectoryWalkerTestCase.java | Java | gpl-2.0 | 21,473 |
/*
* Craft - Crafting game for Android, PC and Browser.
* Copyright (C) 2014 Miguel Gonzalez
*
* 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 yo... | bitbrain-gaming/craft | core/src/de/bitbrain/craft/models/LearnedRecipe.java | Java | gpl-2.0 | 2,512 |
package org.checkerframework.framework.util.element;
import com.sun.tools.javac.code.Attribute;
import com.sun.tools.javac.code.Symbol;
import com.sun.tools.javac.code.TargetType;
import javax.lang.model.element.Element;
import javax.lang.model.element.ElementKind;
import org.checkerframework.framework.type.AnnotatedT... | Jianchu/checker-framework | framework/src/org/checkerframework/framework/util/element/ClassTypeParamApplier.java | Java | gpl-2.0 | 3,118 |
package sKits.cmds;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.bukk... | jaypeeteeB/sKits | src/sKits/cmds/SoupCommand.java | Java | gpl-2.0 | 1,325 |
package it.unibas.freesbee.ge.web.modello;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class Utente {
private Log logger = LogFactory.getLog(this.getClass());
private String nomeUtente = "admin";
private String password = "admin";
private Strin... | donatellosantoro/freESBee | freesbeeWebGE/src/it/unibas/freesbee/ge/web/modello/Utente.java | Java | gpl-2.0 | 2,071 |
/*
* Copyright 1999,2000,2004 The Apache Software Foundation.
*
* 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 requir... | BIORIMP/biorimp | BIO-RIMP/test_data/code/xerces/src/org/apache/wml/WMLBigElement.java | Java | gpl-2.0 | 1,426 |
package main.list.structure;
/** Created by martin on 29.7.13. */
public class BasketListItem extends CommonListItem {
private static final long serialVersionUID = -2824687856810769231L;
protected double price;
protected boolean buyed;
public BasketListItem(String name, double price) {
this(name, price,... | marty-cz/desktop-basket | src/main/list/structure/BasketListItem.java | Java | gpl-2.0 | 805 |
/*
* CLabel.java
*
* Copyright 2014 Subhraman Sarkar <subhraman@subhraman-Inspiron-660s>
*
* 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 you... | babaissarkar/paladin | clz/CLabel.java | Java | gpl-2.0 | 8,259 |
package sys.vp8;
import sys.vp8.lib.*;
import sys.vp8.lib.Vp8Library.*;
import org.bridj.*;
public class Converter {
// Converts RGB24 data (packed as ARGB ints) to a VPX YUV I420 image
public static void ConvertRGB24ToI420(int[] rgbData, Pointer<vpx_image_t> img) {
int width = img.get().d_w();
... | Exiliot/video-conference | ClientSystem/src/sys/vp8/Converter.java | Java | gpl-2.0 | 5,166 |
/*
* Copyright (c) 2020, 2020, 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 ... | smarr/Truffle | substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/phases/EarlyConstantFoldLoadFieldPlugin.java | Java | gpl-2.0 | 4,777 |
/*
* 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 Modèle;
import Controleur.Controleur;
import java.awt.Color;
import vue.Graphique.BlocCustomGraphique;
/**
* Ce bloc permet... | FunLABGIT/FunArduino | src/Modèle/BlocCustom.java | Java | gpl-2.0 | 1,071 |
/*
* Copyright (c) 2017, 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... | akunft/fastr | com.oracle.truffle.r.library/src/com/oracle/truffle/r/library/fastrGrid/FastRGridExternalLookup.java | Java | gpl-2.0 | 8,532 |
package org.ups.sma.interfaces;
import org.ups.sma.custom.domain.agent.State;
public interface Stateful {
public State getState();
public State getPublicState();
}
| Ornro/SMA | src/org/ups/sma/interfaces/Stateful.java | Java | gpl-2.0 | 168 |
/*
** Authored by Timothy Gerard Endres
** <mailto:time@gjt.org> <http://www.trustice.com>
**
** This work has been placed into the public domain.
** You may use this work in any way and for any purpose you wish.
**
** THIS SOFTWARE IS PROVIDED AS-IS WITHOUT WARRANTY OF ANY KIND,
** NOT EVEN THE IMPLIED WARRANTY OF M... | pltxtra/libvuknob | src_jar/com/ice/tar/TarBuffer.java | Java | gpl-2.0 | 10,583 |
package marc.scp.sshutils;
import com.jcraft.jsch.Logger;
import java.io.PipedInputStream;
import java.io.PipedOutputStream;
import java.nio.charset.Charset;
public class ConnectionInfo implements Logger
{
static java.util.Hashtable name=new java.util.Hashtable();
static
{
name.put(new Integer(... | marcb1/droid-ssh | scp/src/main/java/marc/scp/sshutils/ConnectionInfo.java | Java | gpl-2.0 | 769 |
package com.chb.sample.stringobj;
/**
* Created by renen-inc_hempel on 14-3-14.
*/
public class StringInternTest {
public static void main(String[] args) {
// 使用char数组来初始化a,避免在a被创建之前字符串池中已经存在了值为"abcd"的对象
String a = new String(new char[] { 'a', 'b', 'c', 'd' });
String b = a.intern();
if (b == a) {
System... | hempelchen/javatech | src/com/chb/sample/stringobj/StringInternTest.java | Java | gpl-2.0 | 544 |
/*
* Copyright 2013 Ambud Sharma
*
* 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 3 of the License, or
* (at your option) any later version.
*
* This program is... | srotya/marauder | library-module/src/main/java/org/ambud/marauder/event/MarauderBaseEvent.java | Java | gpl-2.0 | 2,474 |
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or ... | rex-xxx/mt6572_x201 | mediatek/frameworks/base/tests/net/tests/src/mediatek/net/libcore/external/bouncycastle/asn1/pkcs/SignedData.java | Java | gpl-2.0 | 6,631 |
package proxy1;
import java.io.*;
public class Call implements Serializable{
private String className; //±íʾÀàÃû
private String methodName; //±íʾ·½·¨Ãû
private Class[] paramTypes; //±íʾ·½·¨²ÎÊýÀàÐÍ
private Object[] params; //±íʾ·½·¨²ÎÊýÖµ
private Object result; //±íʾ·½·¨µÄ·µ»ØÖµ»òÕß·½·¨Å׳öµÄÒì³£
... | AutuanLiu/Code | MyJava/sourcecode/chapter10/src/proxy1/Call.java | Java | gpl-2.0 | 1,541 |
/*
* Copyright (C) 2010 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... | rex-xxx/mt6572_x201 | packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/ExchangeDirectoryProviderTests.java | Java | gpl-2.0 | 6,940 |
package dynamicJoin;
import java.io.IOException;
import java.io.StringReader;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.logging.Logger;
import org.xml.sax.Attributes;
import org.xml.sax.EntityResolver;
import org.xml... | konum/mybatis-dynamicJoin | src/main/java/dynamicJoin/MapperInfo.java | Java | gpl-2.0 | 5,792 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.anarres.qemu.exec;
import java.io.File;
import java.util.List;
import javax.annotation.Nonnegative;
import javax.annotation.Nonnull;
/**
*
* @author shevek
*/
public class QEmuMemoryOption extends Abstra... | shevek/qemu-java | qemu-exec/src/main/java/org/anarres/qemu/exec/QEmuMemoryOption.java | Java | gpl-2.0 | 1,780 |
/*
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... | smeny/JPC | src/main/java/com/github/smeny/jpc/emulator/execution/opcodes/rm/salc.java | Java | gpl-2.0 | 1,746 |
/*
* Copyright (c) 2005, 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 ... | isaacl/openjdk-jdk | src/share/classes/com/sun/tools/attach/VirtualMachine.java | Java | gpl-2.0 | 31,253 |
package net.butfly.albacore.paral.split;
import java.util.Objects;
import java.util.Spliterator;
abstract class ConvedSpliteratorBase<E, E0> extends LockSpliterator<E> {
protected final Spliterator<E0> impl;
protected final int ch;
protected ConvedSpliteratorBase(Spliterator<E0> impl, int ch) {
super();
this.... | zbutfly/albacore | core/src/main/java/net/butfly/albacore/paral/split/ConvedSpliteratorBase.java | Java | gpl-2.0 | 533 |
package com.liiwin.utils;
/**
* <p>标题: webserviceUtil类</p>
* <p>功能: </p>
* <p>所属模块: rootbase</p>
* <p>版权: Copyright © 2017 zyzhu</p>
* <p>公司: xyz.zyzhu</p>
* <p>创建日期:2017年8月11日 下午2:42:53</p>
* <p>类全名:com.liiwin.utils.WSUtils</p>
* 作者:赵玉柱
* 初审:
* 复审:
* 监听使用界面:
* @version 8.0
*/
public class WSUtils
{
}
| zyz963272311/testGitHub | rootbase/src/com/liiwin/utils/WSUtils.java | Java | gpl-2.0 | 416 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2021... | rebeca-lang/org.rebecalang.compiler | src/main/java/org/rebecalang/compiler/modelcompiler/corerebeca/objectmodel/Type.java | Java | gpl-2.0 | 4,723 |
/**
* Copyright 2014 Society for Health Information Systems Programmes, India (HISP India)
*
* This file is part of Registration module.
*
* Registration module 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 ... | kenyaehrs/Registration | omod/src/main/java/org/openmrs/module/registration/web/controller/patient/RevisitPatientRegistrationController.java | Java | gpl-2.0 | 3,049 |
package com.code.aon.ql.ast.sql;
import java.io.IOException;
import java.io.Writer;
import java.util.Iterator;
import java.util.logging.Logger;
import com.code.aon.ql.Criteria;
import com.code.aon.ql.Order;
import com.code.aon.ql.OrderByList;
import com.code.aon.ql.Projection;
import com.code.aon.ql.Projec... | Esleelkartea/aon-employee | aonemployee_v2.3.0_src/paquetes descomprimidos/aon.ql-1.9.15-sources/com/code/aon/ql/ast/sql/SqlRenderer.java | Java | gpl-2.0 | 6,238 |
/**
* Copyright (C) 2009 Andrea Bonomi - <andrea.bonomi@gmail.com>
*
* https://github.com/andreax79/one-neighbor-binary-cellular-automata
*
* 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;... | andreax79/one-neighbor-binary-cellular-automata | src/main/java/com/github/andreax79/meca/Main.java | Java | gpl-2.0 | 13,692 |
package utilities;
/**
* A class that contains user's roles
* @author Alexander
*/
public class CMRoles {
public static final int GUEST_USER = 0;
public static final String GUEST_DESCRIPTION = "Guest User";
public static final int SIMPLE_USER = 1;
public static final String SIM... | am1120/CarMechanic | webapp/src/java/utilities/CMRoles.java | Java | gpl-2.0 | 1,157 |
/**
* (C) 2011-2012 Alibaba Group Holding Limited.
* <p>
* 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.
*/
package com.taobao.profile.config;
import java.io.BufferedInputStream... | zhoulifu/TProfiler | src/main/java/com/taobao/profile/config/ProfConfig.java | Java | gpl-2.0 | 12,957 |
package net.demilich.metastone.game.events;
import net.demilich.metastone.game.Attribute;
import net.demilich.metastone.game.GameContext;
import net.demilich.metastone.game.entities.Entity;
public class AttributeGainedEvent extends GameEvent {
private final Entity target;
private final Attribute attribute;
publ... | doombubbles/metastonething | game/src/main/java/net/demilich/metastone/game/events/AttributeGainedEvent.java | Java | gpl-2.0 | 730 |
package com;
/***************************************************************************
* (c) Copyright 2003 NPTest, Inc. *
* This computer program includes Confidential, Proprietary Information *
* and is a trade secret of NPTest. All use, disclosure, and/or *... | guanghaofan/MyTSP | 2.1.1.2/CPGTSP/src/com/BinResultConsumer.java | Java | gpl-2.0 | 22,629 |
/*
* Copyright (c) 1998-2011 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | dlitz/resin | modules/resin/src/com/caucho/ejb/session/StatefulComponent.java | Java | gpl-2.0 | 2,418 |
/* This file is part of the project "Hilbert II" - http://www.qedeq.org
*
* Copyright 2000-2014, Michael Meyling <mime@qedeq.org>.
*
* "Hilbert II" 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... | m-31/qedeq | QedeqKernelBo/src/org/qedeq/kernel/bo/service/basis/ModuleServiceExecutor.java | Java | gpl-2.0 | 1,198 |
package sady.utilframe.bdControl;
import java.util.List;
import java.util.Set;
import sady.utilframe.bdControl.configuration.ColumnConfiguration;
import sady.utilframe.bdControl.configuration.FKConfiguration;
import sady.utilframe.bdControl.configuration.TableConfiguration;
public abstract class FullDBObject extends... | sadybr/UtilFrame | UtilFrame/src/sady/utilframe/bdControl/FullDBObject.java | Java | gpl-2.0 | 1,296 |
package com.example;
import java.util.concurrent.atomic.AtomicLong;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class Greeting2 {
private static fi... | soniyj/basement | src/Java/maven/demo/src/main/java/com/example/Greeting2.java | Java | gpl-2.0 | 660 |
package com.harrcharr.pulse;
class JNIUtil {
public static native void deleteGlobalRef(long ref);
}
| hchapman/libpulse-android | src/main/java/com/harrcharr/pulse/JNIUtil.java | Java | gpl-2.0 | 102 |
package net.demilich.metastone.game.actions;
public enum ActionType {
SYSTEM, END_TURN, PHYSICAL_ATTACK, SPELL, SUMMON, HERO_POWER, BATTLECRY, EQUIP_WEAPON,
}
| rafaelkalan/metastone | src/main/java/net/demilich/metastone/game/actions/ActionType.java | Java | gpl-2.0 | 161 |
package org.openthinclient.web.ui;
import static org.openthinclient.web.i18n.ConsoleWebMessages.UI_LOGIN_LOGIN;
import static org.openthinclient.web.i18n.ConsoleWebMessages.UI_LOGIN_PASSWORD;
import static org.openthinclient.web.i18n.ConsoleWebMessages.UI_LOGIN_REMEMBERME;
import static org.openthinclient.web.i18n.Con... | openthinclient/openthinclient-manager | console-web/webapp/src/main/java/org/openthinclient/web/ui/LoginUI.java | Java | gpl-2.0 | 5,939 |
/**
* Calculon - A Java chess-engine.
*
* Copyright (C) 2008-2009 Barry Smith
*
* 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
*
... | BarrySW19/CalculonX | src/test/java/barrysw19/calculon/analyzer/KingSafetyScorerTest.java | Java | gpl-2.0 | 1,728 |
package io.github.funkynoodles.projectcirkt;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.wid... | FunkyNoodles/ProjectCirkt | app/src/main/java/io/github/funkynoodles/projectcirkt/FindFragment.java | Java | gpl-2.0 | 3,641 |
// BlogBridge -- RSS feed reader, manager, and web based service
// Copyright (C) 2002-2006 by R. Pito Salas
//
// 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 Li... | pitosalas/blogbridge | src/com/salas/bb/views/themes/LAFTheme.java | Java | gpl-2.0 | 4,729 |
package org.iatoki.judgels.gabriel.blackbox.sandboxes;
import org.iatoki.judgels.gabriel.blackbox.Sandbox;
import org.iatoki.judgels.gabriel.blackbox.SandboxExecutionResult;
import org.iatoki.judgels.gabriel.blackbox.SandboxesInteractor;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStr... | ia-toki/judgels-gabriel-commons | src/main/java/org/iatoki/judgels/gabriel/blackbox/sandboxes/FakeSandboxesInteractor.java | Java | gpl-2.0 | 2,878 |
/*
* #%L
* BSD implementations of Bio-Formats readers and writers
* %%
* Copyright (C) 2005 - 2015 Open Microscopy Environment:
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Software, Inc.
* - University of Dundee
* %%
* Redistribution and use in source and binary forms, with or... | dominikl/bioformats | components/formats-api/src/loci/formats/meta/ModuloAnnotation.java | Java | gpl-2.0 | 3,845 |
import javax.media.opengl.GL2;
import javax.media.opengl.GLAutoDrawable;
import javax.media.opengl.GLEventListener;
import javax.media.opengl.GLProfile;
import javax.media.opengl.awt.GLCanvas;
import com.jogamp.newt.Window;
import com.jogamp.newt.event.KeyAdapter;
import com.jogamp.newt.event.KeyEvent;
import com.jog... | isel-leic-cg/1415i-public | OpenGL/05-Gears-JOGL/src/Gears.java | Java | gpl-2.0 | 15,577 |
/*
* Decompiled with CFR 0_123.
*/
package com.mojang.escape.level.block;
import com.mojang.escape.Art;
import com.mojang.escape.Sound;
import com.mojang.escape.entities.Item;
import com.mojang.escape.gui.Sprite;
import com.mojang.escape.level.Level;
import com.mojang.escape.level.block.Block;
public class ChestBlo... | Pugduddly/enderX | apps/PoC/src/main/java/com/mojang/escape/level/block/ChestBlock.java | Java | gpl-2.0 | 878 |
/*
* Project: Tester.java
* Description: Tests Circle.java, Dice.java, Polygon.java
* Name: Aaron Snowberger
* Date: Oct 8, 2015
*/
public class Tester {
public static void main( String[] args ) {
Circle c = new Circle();
System.out.println( "Circle Area: " + c.calcArea(3) ); // static method ca... | gpakorea/java-more-math-and-strings | Tester.java | Java | gpl-2.0 | 659 |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2016-2016 Karl Griesser (fullref@gmail.com)
* Copyright (C) 2010-2016 Serge Rieder (serge@jkiss.org)
*
* 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... | Corvu/dbeaver | plugins/org.jkiss.dbeaver.ext.exasol/src/org/jkiss/dbeaver/ext/exasol/model/cache/ExasolViewCache.java | Java | gpl-2.0 | 4,507 |
package org.hotswap.agent.plugin.cxf.jaxrs;
import org.hotswap.agent.annotation.OnClassLoadEvent;
import org.hotswap.agent.javassist.CannotCompileException;
import org.hotswap.agent.javassist.ClassPool;
import org.hotswap.agent.javassist.CtClass;
import org.hotswap.agent.javassist.CtConstructor;
import org.hotswap.age... | HotswapProjects/HotswapAgent | plugin/hotswap-agent-cxf-plugin/src/main/java/org/hotswap/agent/plugin/cxf/jaxrs/CxfJAXRSTransformer.java | Java | gpl-2.0 | 5,921 |
package binnie.core.machines;
import binnie.Binnie;
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.tileentity.TileEntit... | draknyte1/MiscUtils | src/Java/binnie/core/machines/RendererMachine.java | Java | gpl-2.0 | 2,351 |
package com.examstack.scoremarker.config;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Value;
import org.spri... | 781852423/ExamStack | scoreMarker/src/main/java/com/examstack/scoremarker/config/ScoreMarkConfig.java | Java | gpl-2.0 | 3,254 |
package eu.ttbox.geoping.ui.core.validator.validate;
import android.content.Context;
import android.widget.TextView;
import eu.ttbox.geoping.ui.core.validator.ValidateField;
import eu.ttbox.geoping.ui.core.validator.Validator;
import eu.ttbox.geoping.ui.core.validator.validator.NotEmptyValidator;
/**
* Va... | gabuzomeu/geoPingProject | geoPing/src/main/java/eu/ttbox/geoping/ui/core/validator/validate/OrTwoRequiredValidate.java | Java | gpl-2.0 | 1,810 |
package com.yh.hr.component.unit.service;
import com.yh.hr.res.unit.dto.UtOrgDTO;
import com.yh.hr.res.unit.dto.UtUnitDTO;
import com.yh.platform.core.exception.ServiceException;
public interface UtOrganizationComService {
/**
* 同步创建机构信息
* @param utUnitDTO
* @throws ServiceException
* @author lenghh
... | meijmOrg/Repo-test | freelance-hr-component/src/java/com/yh/hr/component/unit/service/UtOrganizationComService.java | Java | gpl-2.0 | 1,418 |
/*
* Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | consulo/jdi | lib/src/main/java/consulo/internal/com/sun/jdi/VMOutOfMemoryException.java | Java | gpl-2.0 | 1,689 |
package omoikane.producto.compras;
import com.github.springtestdbunit.DbUnitTestExecutionListener;
import javafx.application.Application;
import omoikane.principal.Principal;
import omoikane.producto.DummyJFXApp;
import omoikane.repository.ProductoRepo;
import org.junit.Test;
import org.junit.runner.RunWith;
import or... | ZooMMX/Omoikane | test/src/omoikane/producto/compras/ComprasProductoTest.java | Java | gpl-2.0 | 2,073 |
/*
* Copyright (c) 2000, 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 ... | isaacl/openjdk-jdk | src/share/classes/javax/print/DocFlavor.java | Java | gpl-2.0 | 56,612 |
package tp.pr2.mv;
/**
* Clase que representa la pila de operandos.
* @author Adrian Garcia y Omar Gaytan
*
*/
public class OperandStack {
private int maxSize = 100;
private Integer[] stack;
private int top = -1;
private int numElements = 0;
/**
* Constructor... | mizadri/java_tp | 2pr/src/tp/pr2/mv/OperandStack.java | Java | gpl-2.0 | 2,424 |
/****************************************************************************************
* Copyright (c) 2014 Houssam Salem <houssam.salem.au@gmail.com> *
* *
* This program is free software; you can redistri... | mikeAopeneng/joyo-kanji | KanjiDroid/src/androidTest/java/com.ichi2.anki.tests/MediaTest.java | Java | gpl-2.0 | 9,354 |
/*
* Copyright (C) 2013-2016 Parallel and Reconfigurable Computing Group, University of Auckland.
*
* Authors: <http://homepages.engineering.auckland.ac.nz/~parallel/ParallelIT/People.html>
*
* This file is part of Pyjama, a Java implementation of OpenMP-like directive-based
* parallelisation compiler and its r... | ParallelAndReconfigurableComputing/Pyjama | src/pj/parser/ast/visitor/PyjamaToJavaVisitor.java | Java | gpl-2.0 | 69,061 |
/*
* PS3 Media Server, for streaming any medias to your PS3.
* Copyright (C) 2008 A.Brochard
*
* 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; version 2
* of the License only.
*
* This... | DigitalMediaServer/DigitalMediaServer | src/main/java/net/pms/dlna/WebAudioStream.java | Java | gpl-2.0 | 979 |
package com.o2o.business.app;
import com.o2o.core.base.BaseController;
import com.o2o.model.request.FeedBack;
import com.o2o.model.result.Result;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;... | canmind/interface | src/main/java/com/o2o/business/app/FeedBackController.java | Java | gpl-2.0 | 882 |
package com.example.jameshwart.sample;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
... | jameshwartlopez/QRCodeScanning | app/src/androidTest/java/com/example/jameshwart/sample/ApplicationTest.java | Java | gpl-2.0 | 360 |
/*******************************************************************************
* Software Name : RCS IMS Stack
*
* Copyright (C) 2010 France Telecom S.A.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a cop... | rex-xxx/mt6572_x201 | mediatek/packages/apps/RCSe/core/src/com/orangelabs/rcs/core/ims/protocol/rtp/stream/DummyPacketSourceStream.java | Java | gpl-2.0 | 3,684 |
package de.jeisfeld.randomimage.util;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
/**
* Decoder for animated gif.
*/
public class GifDecoder {
/**
* The maximum stack size.
*/
private static final i... | jeisfeld/RandomImage | RandomImageIdea/randomImageLib/src/main/java/de/jeisfeld/randomimage/util/GifDecoder.java | Java | gpl-2.0 | 17,811 |
package fi.helsinki.cs.titotrainer.app.model.handler;
import org.hibernate.HibernateException;
import org.hibernate.event.PreInsertEvent;
import org.hibernate.event.PreInsertEventListener;
import org.hibernate.event.PreUpdateEvent;
import org.hibernate.event.PreUpdateEventListener;
/**
* <p>A pre-insert/pre... | titokone/titotrainer | WEB-INF/src/fi/helsinki/cs/titotrainer/app/model/handler/AssociationValidator.java | Java | gpl-2.0 | 6,732 |
package com.proint1.udea.notificaciones;
import java.io.File;
import java.io.Serializable;
import java.util.Properties;
import javax.activation.DataHandler;
import javax.activation.DataSource;
import javax.activation.FileDataSource;
import javax.mail.BodyPart;
import javax.mail.Message;
import javax.mail.MessagingExc... | RegistroUdeA/Prueba | PI1Web/src/com/proint1/udea/notificaciones/EMailHtml.java | Java | gpl-2.0 | 7,571 |
package de.jlab.android.hombot.utils;
import android.content.Context;
import android.database.Cursor;
import android.support.annotation.ArrayRes;
import android.support.annotation.LayoutRes;
import android.support.annotation.NonNull;
import android.view.LayoutInflater;
import android.view.View;
import android.view.Vie... | rampage128/hombot-control | mobile/src/main/java/de/jlab/android/hombot/utils/ColorableArrayAdapter.java | Java | gpl-2.0 | 1,688 |
/*
* Copyright (C) 2014 Ian G. Clifton
*
* 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... | AndroidREPo-jason/CodingClient | coding/src/net/coding/android/widget/FloatLabel.java | Java | gpl-2.0 | 14,374 |
package cn.com.cms.library.model;
import cn.com.cms.framework.base.tree.TreeNodeEntity;
import cn.com.cms.library.constant.EDataNavigateType;
import cn.com.cms.library.constant.ELibraryNodeType;
/**
* 数据导航类
*
* 包含数据库、数据库分类、数据标签三种类型
*
* @author shishb
* @see TreeEntity
* @version 1.0
*/
public class DataNavi... | shellposhy/cms | src/main/java/cn/com/cms/library/model/DataNavigate.java | Java | gpl-2.0 | 3,164 |
package com.hp.hpl.guess.util.intervals;
/**
* an implementatation of a Red-Black tree so that we can keep our interval
* tree balanced. Nothing too exciting here... It's directly out of
* of CLR.
*
*/
public class RBTree extends Tree {
/**
* Simple constructor
* @return a new RBTree
... | carvalhomb/tsmells | guess/guess-src/com/hp/hpl/guess/util/intervals/RBTree.java | Java | gpl-2.0 | 6,305 |
/*
*
Copyright 2008 RobertoPinho. All rights reserved.
This file is part of incboard.api.
incboard.api 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
... | robertodepinho/HexBoard-API | src/incboard/api/DataItemInterface.java | Java | gpl-2.0 | 1,379 |
/* ownCloud Android Library is available under MIT license
* Copyright (C) 2014 ownCloud 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 ... | CEREMA/com.cerema.cloud | owncloud-android-library/src/com/cerema/cloud/lib/resources/shares/ShareXMLParser.java | Java | gpl-2.0 | 12,289 |
package games.strategy.net;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
public interface IObjectStreamFactory {
ObjectInputStream create(InputStream stream) throws IOException;
ObjectOutputStream create(... | simon33-2/triplea | src/games/strategy/net/IObjectStreamFactory.java | Java | gpl-2.0 | 363 |
/*
* aTunes
* Copyright (C) Alex Aranda, Sylvain Gaudard and contributors
*
* See http://www.atunes.org/wiki/index.php?title=Contributing for information about contributors
*
* http://www.atunes.org
* http://sourceforge.net/projects/atunes
*
* This program is free software; you can redistribute it and/or
* mo... | PDavid/aTunes | aTunes/src/main/java/net/sourceforge/atunes/kernel/modules/state/ApplicationStateDevice.java | Java | gpl-2.0 | 3,055 |
package form_amdata;
import java.io.File;
import java.text.DecimalFormat;
import java.util.ArrayList;
import class_amdata.Class_CensoCarga;
import sypelc.androidamdata.R;
import miscelanea.SQLite;
import miscelanea.Tablas;
import miscelanea.Util;
import android.app.Activity;
import android.content.ContentValues;
impo... | JulianPoveda/AndroidData | src/form_amdata/Form_CensoCarga.java | Java | gpl-2.0 | 37,678 |
package biz;
import entity.*;
public class MotoManage {
public MotoVehicle motoLeaseOut(String motoType) throws ClassNotFoundException, InstantiationException, IllegalAccessException{
Class<?> motoClass=Class.forName("entity."+motoType);
MotoVehicle moto= (MotoVehicle)motoClass.newInstance();
moto.leaseOutFlo... | simurayousuke/2017java03 | 课堂练习/week1/java-day4-VehicleManage/VehicleManage/src/biz/MotoManage.java | Java | gpl-2.0 | 346 |
/*
* Copyright 1999 Sun Microsystems, Inc. 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 Software Foundati... | TheTypoMaster/Scaper | openjdk/corba/src/share/classes/com/sun/tools/corba/se/idl/som/cff/FileLocator.java | Java | gpl-2.0 | 14,450 |
package com.sgulab.thongtindaotao.models;
public class ExamSchedule {
private String subjectId;
private String subjectName;
private int numberOfStudents;
private String date;
private String time;
private int duration;
private String room;
public String getSubjectId() {
return subjectId;
}
pub... | toantruonggithub/sguthongtindaotao | app/src/main/java/com/sgulab/thongtindaotao/models/ExamSchedule.java | Java | gpl-2.0 | 1,210 |
/*
* Copyright 1999 Sun Microsystems, Inc. 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 Software Foundati... | TheTypoMaster/Scaper | openjdk/jdk/test/java/rmi/server/RMIClassLoader/downloadArrayClass/DownloadArrayClass_Stub.java | Java | gpl-2.0 | 3,569 |
package test.it.unibas.freesbee.ge.comunicazione.g;
import it.unibas.freesbee.ge.messaggi.XmlJDomUtil;
import it.unibas.freesbee.ge.modello.CategoriaEventiInterna;
import it.unibas.freesbee.ge.modello.Configurazione;
import it.unibas.freesbee.ge.modello.ConfigurazioniFactory;
import it.unibas.freesbee.ge.modello.Gesto... | donatellosantoro/freESBee | freesbeeGE/test/test/it/unibas/freesbee/ge/comunicazione/g/Conferma8.java | Java | gpl-2.0 | 7,844 |