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
/* * JBoss, Home of Professional Open Source * Copyright 2006, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. * See the copyright.txt in the distribution for a * full listing of individual contributors. * This copyrighted material is made available to anyone wishing to ...
wilsonjohn/safejbossts
1.0/src/com/arjuna/ats/arjuna/common/Environment.java
Java
lgpl-3.0
9,542
package info.freelibrary.util; /** * Allows timing of the execution of any block of code. */ public final class Stopwatch { /** * The logger of the stopwatch. */ private static final Logger LOGGER = LoggerFactory.getLogger(Stopwatch.class, MessageCodes.BUNDLE); /** * A flag indicating i...
ksclarke/freelib-utils
src/main/java/info/freelibrary/util/Stopwatch.java
Java
lgpl-3.0
3,556
/* 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...
git-moss/Push2Display
lib/batik-1.8/test-sources/org/apache/batik/test/svg/SVGAccuracyTestProcessor.java
Java
lgpl-3.0
1,382
// Written by Jürgen Moßgraber - mossgrabers.de // (c) 2017-2022 // Licensed under LGPLv3 - http://www.gnu.org/licenses/lgpl-3.0.txt package de.mossgrabers.controller.ableton.push.command.trigger; import de.mossgrabers.controller.ableton.push.PushConfiguration; import de.mossgrabers.controller.ableton.push.con...
git-moss/DrivenByMoss
src/main/java/de/mossgrabers/controller/ableton/push/command/trigger/PlayPositionKnobCommand.java
Java
lgpl-3.0
2,153
package dmillerw.minion.block; import dmillerw.minion.RoboticMinions; import dmillerw.minion.core.ModCreativeTab; import dmillerw.minion.core.handler.GuiHandler; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.world.W...
dmillerw/RoboticMinions
src/main/java/dmillerw/minion/block/BlockController.java
Java
lgpl-3.0
800
/* * Copyright (C) 2003-2013 eXo Platform SAS. * * 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 the License, or (at your option) any later version. * * This prog...
exodev/social
component/notification/src/main/java/org/exoplatform/social/notification/impl/RelationshipNotificationImpl.java
Java
lgpl-3.0
7,711
/** * www.anchora.com Inc. * Copyright (c) 2011 All Rights Reserved. */ package me.anchora.garbage.utils; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import org.apache.log4j.Logger; public class Md5 { private static final Logger logger = Logger.getLogger(Md5.class); ...
shenyefeng/garbage-web
src/main/java/me/anchora/garbage/utils/Md5.java
Java
lgpl-3.0
1,098
package org.ow2.mindEd.itf.editor.textual.ui.refactoring; import org.eclipse.emf.common.util.URI; import org.eclipse.emf.ecore.EClass; import org.eclipse.xtext.ui.refactoring.ui.IRenameElementContext; /** * This class is used in our FractalRenameStrategy to discriminate actions coming * from file renaming (...
StephaneSeyvoz/mindEd
org.ow2.mindEd.itf.editor.textual.ui/src/org/ow2/mindEd/itf/editor/textual/ui/refactoring/FractalItfFileRenameElementContext.java
Java
lgpl-3.0
692
/* Mesquite source code. Copyright 1997-2010 W. Maddison and D. Maddison. Version 2.74, October 2010. Disclaimer: The Mesquite source code is lengthy and we are few. There are no doubt inefficiencies and goofs in this code. The commenting leaves much to be desired. Please approach this source code with the spirit o...
MesquiteProject/MesquiteArchive
releases/Mesquite2.74/Mesquite Project/Source/mesquite/trees/NumForNodesWithChar/NumForNodesWithChar.java
Java
lgpl-3.0
9,310
package simulador; public abstract class Funcion extends TiposDeDatos { public Funcion(String nombre) { super(nombre); } public abstract TiposDeDatos ejecutar(Objeto objeto, TiposDeDatos datos[]); @Override public String tipoDeDato() { return "funcion"; } @Override public String toString() { ret...
CarlBarr/Simulador-2D
simulador/Funcion.java
Java
lgpl-3.0
3,175
/** * Copyright (C) 2010-2016 Gordon Fraser, Andrea Arcuri and EvoSuite * contributors * * This file is part of EvoSuite. * * EvoSuite 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 vers...
claudejin/evosuite
client/src/main/java/org/evosuite/coverage/branch/BranchCoverageGoal.java
Java
lgpl-3.0
11,207
/** * This file is part of pwt. * * pwt 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 version 3 of the * License, or (at your option) any later version. * * pwt is distributed in the hope ...
Putnami/putnami-web-toolkit
doc/src/main/java/fr/putnami/pwt/doc/client/page/sample/decorator/SampleDecorator.java
Java
lgpl-3.0
5,252
/* Mesquite source code. Copyright 1997 and onward, W. Maddison and D. Maddison. Disclaimer: The Mesquite source code is lengthy and we are few. There are no doubt inefficiencies and goofs in this code. The commenting leaves much to be desired. Please approach this source code with the spirit of helping out. Per...
MesquiteProject/MesquiteCore
Source/mesquite/diverse/CharAssocDivViewer/CharAssocDivViewer.java
Java
lgpl-3.0
12,955
package com.app.wms.engine.db.dao; import com.app.wms.engine.db.dto.PtsDtl; import java.util.List; public interface PtsDtlDao { public void insert(PtsDtl pd); public List<PtsDtl> findByPts(int ptsCode); }
rmage/gnvc-ims
src/java/com/app/wms/engine/db/dao/PtsDtlDao.java
Java
lgpl-3.0
242
package edu.vt.beacon.editor.canvas; public enum CanvasStateType { NORMAL, POINT_MOVING, SELECTION_DRAWING, SELECTION_MOVING, SELECTION_SIZING, SOURCE_CHANGING, TARGET_CHANGING, PORT_SHOWING; }
marakeby/beacon
Beacon/src/edu/vt/beacon/editor/canvas/CanvasStateType.java
Java
lgpl-3.0
226
package uk.co.mmscomputing.sms; import uk.co.mmscomputing.util.metadata.*; import uk.co.mmscomputing.device.capi.*; import uk.co.mmscomputing.device.capi.protocol.*; // A capi plugin that acts as a service centre. For test purposes. public class SMSSCCapiPlugin implements CapiPlugin{ private String centre=""; ...
alex73/mmscomputing
src/uk/co/mmscomputing/sms/SMSSCCapiPlugin.java
Java
lgpl-3.0
2,242
package com.amocrm.amocrmclient.account.entity; import java.util.List; public class CustomFields { public List<CustomFieldSettings> contacts; public List<CustomFieldSettings> leads; public List<CustomFieldSettings> companies; public List<CustomFieldSettings> customers; public List<CustomFiel...
syncro/amocrm-client
src/main/java/com/amocrm/amocrmclient/account/entity/CustomFields.java
Java
lgpl-3.0
1,057
/* * Copyright (C) 2005-2010 Alfresco Software Limited. * * This file is part of Alfresco * * Alfresco 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 version 3 of the License, or ...
loftuxab/community-edition-old
projects/repository/source/test-java/org/alfresco/jcr/tck/RepositoryStartupServlet.java
Java
lgpl-3.0
3,130
package com.cm.sva.datamart.dto; public class ConfigDTO implements DTO{ private String id; private String name; private String description; private Boolean secret; private String image; private Boolean parent; public ConfigDTO() { super(); // TODO Auto-generated constructor stub } public ConfigDTO...
modemm3/password
src/main/java/com/cm/sva/datamart/dto/ConfigDTO.java
Java
lgpl-3.0
1,845
/*************************************************** * * cismet GmbH, Saarbruecken, Germany * * ... and it just works. * ****************************************************/ package de.cismet.cids.custom.objectrenderer.wunda_blau; import com.guigarage.jgrid.JGrid; import com.guigarage.jgrid.renderer.Grid...
cismet/cids-custom-wuppertal
src/main/java/de/cismet/cids/custom/objectrenderer/wunda_blau/Sb_SingleStadtbildGridRenderer.java
Java
lgpl-3.0
7,327
/* * This file is part of RskJ * Copyright (C) 2021 RSK Labs Ltd. * * This program 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 version 3 of the License, or * (at your option) any later...
rsksmart/rskj
rskj-core/src/test/java/co/rsk/mine/SubmissionRateLimitHandlerTest.java
Java
lgpl-3.0
3,538
// CVS $Id$ // ReferenceFrameImpl.java Copyright (c) 2004 Brian Thomas. All rights reserved. /* LICENSE 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 version 2.1 of the...
brianthomas/qml
src/main/java/net/datamodel/qml/core/ReferenceFrameImpl.java
Java
lgpl-3.0
4,453
package mod.steamnsteel.block; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; import mod.steamnsteel.TheMod; import net.minecraft.block.BlockPane; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; public class S...
FoudroyantFactotum/The-Capricious-Production-Line-of-Wayward-Devices
src/main/disabled/mod/steamnsteel/block/SteamNSteelPaneBlock.java
Java
lgpl-3.0
1,292
/* * SonarQube Java * Copyright (C) 2012-2017 SonarSource SA * mailto:info AT sonarsource DOT com * * This program 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 * version 3 of the Licen...
mbring/sonar-java
java-checks/src/test/java/org/sonar/java/checks/ObjectFinalizeOverridenCheckTest.java
Java
lgpl-3.0
1,171
package com.silicolife.textmining.machinelearning.biotml.core.corpora.otherdatastructures; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import com.silicolife.textmining.machinelearning.biotml.core.BioTMLConstants; import com.silicolife.textmining.machinelearning.biotml.core.exceptio...
biotextmining/machinelearning
src/main/java/com/silicolife/textmining/machinelearning/biotml/core/corpora/otherdatastructures/BioTMLObjectWithFeaturesAndLabels.java
Java
lgpl-3.0
1,975
/* * #%L * Alfresco Remote API * %% * Copyright (C) 2005 - 2016 Alfresco Software Limited * %% * This file is part of the Alfresco software. * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * provided ...
loftuxab/alfresco-community-loftux
projects/remote-api/source/test-java/org/alfresco/rest/api/tests/TestPersonSites.java
Java
lgpl-3.0
38,211
/* * SonarQube, open source software quality management tool. * Copyright (C) 2008-2013 SonarSource * mailto:contact AT sonarsource DOT com * * SonarQube 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 Found...
xinghuangxu/xinghuangxu.sonarqube
sonar-batch/src/main/java/org/sonar/batch/issue/ignore/EnforceIssuesFilter.java
Java
lgpl-3.0
2,569
package digilib.conf; /* * #%L * DigilibConfiguration -- Holding all parameters for digilib servlet. * * Digital Image Library servlet components * %% * Copyright (C) 2001 - 2013 MPIWG Berlin * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser Ge...
jlerouge/digilib-pivaj
common/src/main/java/digilib/conf/DigilibConfiguration.java
Java
lgpl-3.0
7,644
/** * Copyright (C) 2010-2017 Gordon Fraser, Andrea Arcuri and EvoSuite * contributors * * This file is part of EvoSuite. * * EvoSuite 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 vers...
sefaakca/EvoSuite-Sefa
client/src/test/java/com/examples/with/different/packagename/solver/TestCaseStringIndexOfString.java
Java
lgpl-3.0
1,023
package com.vanitysoft.reapefire.android; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; i...
VanitySoft/geo-koala-android-client
src/com/vanitysoft/reapefire/android/PublisherServiceUtil.java
Java
lgpl-3.0
8,264
/* This file is part of Sarasvati. Sarasvati 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 version 3 of the License, or (at your option) any later version. Sarasvati is di...
plorenz/sarasvati
sarasvati-visual/src/main/java/com/googlecode/sarasvati/visual/process/SarasvatiProcessScene.java
Java
lgpl-3.0
4,066
/* * Copyright (C) 2003-2014 eXo Platform SAS. * * This 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 version 3 of * the License, or (at your option) any later version. * * This softwar...
exoplatform/mobile-android
app/src/main/java/org/exoplatform/ui/DocumentActionDialog.java
Java
lgpl-3.0
2,527
package es.unizar.iaaa.ctl.compliance.inspire.discovery31; import org.junit.runner.RunWith; import cucumber.api.junit.Cucumber; @RunWith(value = Cucumber.class) @Cucumber.Options(glue = { "es.unizar.iaaa.ctl.tests.inspire.TestSteps", "es.unizar.iaaa.ctl.hooks.inspire.discovery31.IGNHooksEn" }, features = { "s...
fjlopez/ctl-jvm
inspire/src/test/java/es/unizar/iaaa/ctl/compliance/inspire/discovery31/DiscoveryIR24TestEn.java
Java
lgpl-3.0
421
/* Copyright (c) 2001-2014, JGraph 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 list of conditions and the f...
pjgrace/connect-iot
src/main/java/uk/ac/soton/itinnovation/xifiinteroperability/guitool/editor/EditorPalette.java
Java
lgpl-3.0
9,658
/* * This file is part of Gaia Sky, which is released under the Mozilla Public License 2.0. * See the file LICENSE.md in the project root for full license details. */ package gaiasky.scenegraph; import gaiasky.util.coord.AstroUtils; import gaiasky.util.coord.Coordinates; import java.time.Instant; /** * Heliotro...
ari-zah/gaiasandbox
core/src/gaiasky/scenegraph/HeliotropicOrbit.java
Java
lgpl-3.0
1,036
package com.vdom.api; import com.vdom.core.CardImpl; import com.vdom.core.Cards.Type; import com.vdom.core.MoveContext; public interface Card { public Type getType(); public String getName(); public String getSafeName(); public String getExpansion(); public String getStats(); public Str...
rykerwilliams/androminion
vdom/src/com/vdom/api/Card.java
Java
lgpl-3.0
1,130
package de.teamlapen.vampirism.client.gui; import com.mojang.blaze3d.matrix.MatrixStack; import com.mojang.blaze3d.systems.RenderSystem; import de.teamlapen.vampirism.REFERENCE; import de.teamlapen.vampirism.VampirismMod; import de.teamlapen.vampirism.inventory.container.HunterBasicContainer; import de.teamlapen.vampi...
TeamLapen/Vampirism
src/main/java/de/teamlapen/vampirism/client/gui/HunterBasicScreen.java
Java
lgpl-3.0
3,264
/** * AnalyzerBeans * Copyright (C) 2014 Neopost - Customer Information Management * * This copyrighted material is made available to anyone wishing to use, modify, * copy, or redistribute it subject to the terms and conditions of the GNU * Lesser General Public License, as published by the Free Software Foundati...
datacleaner/AnalyzerBeans
components/standardizers/src/test/java/org/eobjects/analyzer/beans/standardize/UrlStandardizerTransformerTest.java
Java
lgpl-3.0
4,126
/* * This file is part of the 3D City Database Importer/Exporter. * Copyright (c) 2007 - 2013 * Institute for Geodesy and Geoinformation Science * Technische Universitaet Berlin, Germany * http://www.gis.tu-berlin.de/ * * The 3D City Database Importer/Exporter program is free software: * you can redist...
3dcitydb/importer-exporter-postgis
src/de/tub/citydb/modules/citygml/importer/database/content/DBAddress.java
Java
lgpl-3.0
11,964
package com.sleepycat.je.tree; import com.sleepycat.je.utilint.DbLsn; import de.ovgu.cide.jakutil.*; /** * Tracking info packages some tree tracing info. */ public class TrackingInfo { private long lsn; private long nodeId; public TrackingInfo( long lsn, long nodeId){ this.lsn=lsn; this.no...
SergiyKolesnikov/fuji
examples/BerkeleyDB-fuji-compilable/base/com/sleepycat/je/tree/TrackingInfo.java
Java
lgpl-3.0
446
package me.tv15dsi; public class ServerActions { public static main plugin; public ServerActions(main instance) { plugin = instance; } }
tv15dsi/ServerManager
me/tv15dsi/ServerActions.java
Java
lgpl-3.0
145
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact AT sonarsource DOT com * * This program 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 * version 3 of the License...
Builders-SonarSource/sonarqube-bis
server/sonar-server/src/test/java/org/sonar/server/rule/ws/CreateActionMediumTest.java
Java
lgpl-3.0
4,315
package uk.co.wehavecookies56.kk.client.gui; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.GuiScreen; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.RenderHelper; import net.minecraft.client.util.ITooltipFlag...
Wehavecookies56/Kingdom-Keys-Re-Coded
src/main/java/uk/co/wehavecookies56/kk/client/gui/GuiStock.java
Java
lgpl-3.0
6,555
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact AT sonarsource DOT com * * This program 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 * version 3 of the License...
Builders-SonarSource/sonarqube-bis
sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/highlighting/internal/DefaultHighlighting.java
Java
lgpl-3.0
4,602
package app.example.com.workshopapp; import android.app.Activity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.Toast; import com.parse.ParseObject; public class MyActivity extends Activity { @Over...
buibup/WorkshopApp
app/src/main/java/app/example/com/workshopapp/MyActivity.java
Java
unlicense
1,556
package org.zmc.qutils; import android.util.Log; import android.graphics.Color; import android.view.Window; import android.view.WindowManager; import android.view.WindowManager.LayoutParams; import android.view.View; import android.os.Build; import android.content.Intent; import android.app.AlertDialog.Builder; imp...
Furkanzmc/qutils
android/src/org/zmc/qutils/AndroidUtils.java
Java
unlicense
7,723
/* * NOTE: This copyright does *not* cover user programs that use HQ * program services by normal system calls through the application * program interfaces provided as part of the Hyperic Plug-in Development * Kit or the Hyperic Client Development Kit - this is merely considered * normal use of the program, and do...
cc14514/hq6
hq-server/src/main/java/org/hyperic/hq/appdef/server/session/AgentTypeDAO.java
Java
unlicense
1,788
package crazypants.enderio.machine.farm.farmers; import java.util.ArrayList; import java.util.List; import net.minecraft.entity.item.EntityItem; import net.minecraft.util.math.BlockPos; public class HarvestResult implements IHarvestResult { List<EntityItem> drops; List<BlockPos> harvestedBlocks; public Harve...
D-Inc/EnderIO
src/main/java/crazypants/enderio/machine/farm/farmers/HarvestResult.java
Java
unlicense
948
package jpl.gds.core.util; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.List; import java.util.Vector; import jpl.gds.core.log.TraceManager; import jpl.gds.core.log.Tracer; public class StringFormatter { private static Tracer log = TraceManager.getDefaultTracer(); public stat...
jjwright55/code_fragments
frags/java/StringFormatter.java
Java
unlicense
27,658
package org.idomac.training.wrms.question_006; import org.junit.Test; /** * Author : lihaoquan * Description : */ public class BottomArrGeneratorTest { @Test public void generate() { int[] a = BottomArrGenerator.generate(10); if (a != null) { for (int i = 0; i < a.length; i++)...
idomac/arithmeticode
training/src/test/java/org/idomac/training/wrms/question_006/BottomArrGeneratorTest.java
Java
unlicense
521
/** * This file is part of CardApplet-VCBP which is card applet implementation * of V Cloud-Based Payments for SimplyTapp cloud platform. * Copyright 2014 SimplyTapp, Inc. * * CardApplet-VCBP is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as publi...
SimplyTapp/CardExamples
CardApplet-VCBP_GPL/src/com/st/vcbp/data/AccountParamsStatic.java
Java
unlicense
16,164
/* ** 2014 January 31 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. */ package info.ata...
ata4/dragon-mounts
src/main/java/info/ata4/minecraft/dragon/server/entity/breeds/DragonBreedForest.java
Java
unlicense
4,436
package com.ferreusveritas.dynamictrees.worldgen; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.Collections; import ...
ferreusveritas/Growing-Trees
src/main/java/com/ferreusveritas/dynamictrees/worldgen/JoCodeStore.java
Java
unlicense
3,391
package com.syzton.sunread.service.region; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Sheet; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory...
xxing1982/EDU_SYZT
SunReadSource/src/main/java/com/syzton/sunread/service/region/RegionRepositoryService.java
Java
unlicense
5,711
package com.traventure.controller; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Scope; import org....
PrataapMS/Traventure
TraventureZero/src/main/java/com/traventure/controller/SessionController.java
Java
unlicense
7,162
/* * Hibernate, Relational Persistence for Idiomatic Java * * Copyright (c) 2010, Red Hat Inc. or third-party contributors as * indicated by the @author tags or express copyright attribution * statements applied by the authors. All third-party contributions are * distributed under license by Red Hat Inc. * * T...
codeApeFromChina/resource
frame_packages/java_libs/hibernate-distribution-3.6.10.Final/project/hibernate-core/src/main/java/org/hibernate/type/TypeFactory.java
Java
unlicense
10,905
package nl.mprog.tinkazorge.mylibrary; 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() { ...
tinkazorge/PointClickGame
mylibrary/src/androidTest/java/nl/mprog/tinkazorge/mylibrary/ApplicationTest.java
Java
unlicense
360
 private static double ortalama[][] = new double[8][2]; private static double zdeger=0,so=0,ss=0,vize=0,sondeger=0; int i; // //z = ((vize+final)/2-ortalama)/sapma*10+50 //(((z-50)/10)*sapma+ortalama)*2-vize=final // zdeger=0;so=0;ss=0;vize=0;sondeger=0; String a= jComboBox1.g...
muhammed06/myfirsjavas
android-util/notbulum.java
Java
unlicense
2,375
/** * *@Copyright: Copyright (c) 2014 * @author yang_jun *@Date:2014-6-19 下午3:56:00 *@QQ: 756427684 */ package com.changhong.smarthome.phone.sns.adapter; import android.content.Context; import android.graphics.Bitmap; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; imp...
yangjun2/android
changhong/ChanghongSmartHome/src/com/changhong/smarthome/phone/sns/adapter/PindanListAdapter.java
Java
unlicense
4,714
/* * Hibernate, Relational Persistence for Idiomatic Java * * Copyright (c) 2010, Red Hat Inc. or third-party contributors as * indicated by the @author tags or express copyright attribution * statements applied by the authors. All third-party contributions are * distributed under license by Red Hat Inc. * * T...
codeApeFromChina/resource
frame_packages/java_libs/hibernate-distribution-3.6.10.Final/project/hibernate-testsuite/src/test/java/org/hibernate/test/annotations/quote/resultsetmappings/ExplicitSqlResultSetMappingTest.java
Java
unlicense
2,774
package dorfgen.worldgen.structures.village; import java.util.Random; import dorfgen.conversion.DorfMap; import net.minecraft.block.state.IBlockState; import net.minecraft.init.Blocks; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import net.minecraft.world.gen.structure.Structur...
Thutmose/dorfgen
src/main/java/dorfgen/worldgen/structures/village/WrappedPath.java
Java
unlicense
3,271
package kr.spring.batch.chapter05.file; import kr.spring.batch.chapter05.Product; import org.springframework.batch.item.file.mapping.FieldSetMapper; import org.springframework.batch.item.file.transform.FieldSet; import org.springframework.validation.BindException; /** * kr.spring.batch.chapter05.file.ProductFieldSet...
debop/spring-batch-experiments
chapter05/src/main/java/kr/spring/batch/chapter05/file/ProductFieldSetMapper.java
Java
unlicense
827
package com.changhong.smarthome.phone.foundation.bean; /** * * 回调 用于处理登录完成之后所要做的事 * [功能详细描述] * @author hanliangru * @version [智慧社区-终端底座, 2014年3月14日] */ public interface CallBack { public abstract void update(Object object); }
yangjun2/android
changhong/ChanghongSmartHome/src/com/changhong/smarthome/phone/foundation/bean/CallBack.java
Java
unlicense
307
package de.egga.mega_types.numbers; import java.util.ArrayList; import java.util.Iterator; import java.util.List; public class IntegerRange implements Iterator<Integer>, Iterable<Integer> { private final Integer start; private final Integer end; private Integer current; public IntegerRange(Integer s...
Egga/mega-types
src/main/java/de/egga/mega_types/numbers/IntegerRange.java
Java
unlicense
1,327
package lib.x; public class XImage { WindowSubsystem dpy; int depth; int width; int height; int pixmapId; int bitmapId; public final WindowSubsystem dpy() { return dpy; } public final int width() { return width; } public final ...
ibukanov/ahome
dev/x11-java/src/lib/x/XImage.java
Java
unlicense
5,084
package android.support.v4.app; public abstract interface FragmentManager$OnBackStackChangedListener { public abstract void onBackStackChanged(); } /* Location: E:\Progs\Dev\Android\Decompile\apktool\zssq\zssq-dex2jar.jar * Qualified Name: android.support.v4.app.FragmentManager.OnBackStackChangedList...
clilystudio/NetBook
allsrc/android/support/v4/app/FragmentManager$OnBackStackChangedListener.java
Java
unlicense
357
package org.kane.base.io; abstract public class SmallDocumentSource { abstract public State readNextDocument(); abstract public State getSimpleState(); abstract public String getCurrentDocument(String default_value); static public enum State { READ_DOCUMENT_NOT_YET_ATTEMPTED, DOCUMENT_AVAILABLE, NO_MORE_D...
jdezso/jimmutable-clone
base/src/main/java/org/kane/base/io/SmallDocumentSource.java
Java
unlicense
358
/* Copyright (c) 2018 FIRST. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted (subject to the limitations in the disclaimer below) provided that * the following conditions are met: * * Redistributions of source code must retain the above cop...
GreenJellyBeans/FTC12598
RC2/FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples/ConceptTensorFlowObjectDetection.java
Java
unlicense
8,386
/***************************************************************************** * * HOPERUN PROPRIETARY INFORMATION * * The information contained herein is proprietary to HopeRun * and shall not be reproduced or disclosed in whole or in part * or used for ...
yangjun2/android
telematics_android/src/com/hoperun/telematics/mobile/adapter/AbsHaveListAdapter.java
Java
unlicense
898
package org.joemojo.util.stream; import java.util.Arrays; import java.util.stream.Collectors; public class Functions { private Functions(){}; public static String[] trimCells(String[] cellValues){ return Arrays.stream(cellValues).map((String cellValue) -> cellValue.trim()).collect(Collectors.toList()).toArray(ce...
joe-mojo/IOStream
src/main/java/org/joemojo/util/stream/Functions.java
Java
unlicense
337
package org.hermes.core.entities.filters; import org.hermes.core.entities.price.Bar; /** * Created by Almaz on 14.05.2017. */ public class AcceptAllFilter implements MarketBookFilter { @Override public boolean accept(Bar bar) { return true; } }
Almaz-KG/Hermes
hermes-core/src/main/java/org/hermes/core/entities/filters/AcceptAllFilter.java
Java
unlicense
271
package co.d3s.ylt.renate.player.protocol; import java.io.IOException; import java.nio.ByteBuffer; import co.d3s.ylt.renate.network.protocol.Protocol; import co.d3s.ylt.renate.player.Player; import co.d3s.ylt.renate.player.PlayerPacketHandler; public class Packet254GetInfo extends PlayerPacket { public Packet254Get...
ylt/Renate
API/src/co/d3s/ylt/renate/player/protocol/Packet254GetInfo.java
Java
unlicense
827
package com.diguage.books.thinking.concurrency; /** * 线程的使用方式:实现Runnable接口 * <p/> * User: D瓜哥,http://www.diguage.com/ * Date: 13-8-30 * Time: 下午1:38 */ public class SelfManaged implements Runnable { private int countDown = 5; private Thread t = new Thread(this); public SelfManaged() { t.star...
diguage/ThinkingInJava
src/main/java/com/diguage/books/thinking/concurrency/SelfManaged.java
Java
unlicense
827
package com.mobium.config.models; import android.support.annotation.Nullable; import android.view.View; import com.mobium.client.models.Action; /** * on 02.11.15. */ public interface ItemWithCost { String name(); String cost(); @Nullable String oldCost(); String iconUrl(); Action onClick(); }
naebomium/android
app/src/main/java/com/mobium/config/models/ItemWithCost.java
Java
unlicense
320
/* * Copyright 2015 zua. * * 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 wri...
zuacaldeira/lifetime
lifetime-ui/src/test/java/lifetime/component/custom/NumericStatsViewNGTest.java
Java
unlicense
1,630
package gui.container; import javafx.application.Application; import javafx.geometry.Insets; import javafx.geometry.Orientation; import javafx.geometry.Pos; import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.control.*; import javafx.scene.layout.TilePane; public class TilePaneExample extends Ap...
KonstantinTwardzik/Graphical-User-Interfaces
CodeExamples/src/gui/container/TilePaneExample.java
Java
unlicense
1,067
package quark_md; public class quark_spi_api_TaskProxy extends quark.reflect.Class implements io.datawire.quark.runtime.QObject { public static quark.reflect.Class singleton = new quark_spi_api_TaskProxy(); public quark_spi_api_TaskProxy() { super("quark.spi_api.TaskProxy"); (this).name = "quar...
bozzzzo/quark
quarkc/test/emit/expected/java/quark/src/main/java/quark_md/quark_spi_api_TaskProxy.java
Java
apache-2.0
1,152
/** * 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"); yo...
ufctester/commons-cli
src/main/java/org/apache/commons/cli/OptionValidator.java
Java
apache-2.0
3,245
/* * Copyright 2013 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 b...
leapframework/framework
data/orm/src/main/java/leap/orm/command/DefaultDropTableCommand.java
Java
apache-2.0
1,715
/* * Copyright (c) 2008-2022 The Aspectran 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 applicabl...
aspectran/aspectran
core/src/main/java/com/aspectran/core/component/translet/scan/TransletScanFilter.java
Java
apache-2.0
856
/** * Copyright (c) 2017 YCSB contributors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You * may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
brianfrankcooper/YCSB
elasticsearch5/src/test/java/site/ycsb/db/elasticsearch5/ElasticsearchClientIT.java
Java
apache-2.0
874
// Dstl (c) Crown Copyright 2017 package uk.gov.dstl.baleen.annotators.language; import static org.junit.Assert.assertEquals; import java.util.ArrayList; import java.util.List; import org.apache.uima.UIMAException; import org.apache.uima.fit.factory.ExternalResourceFactory; import org.apache.uima.fit.util.JCasUtil; ...
dstl/baleen
baleen-annotators/src/test/java/uk/gov/dstl/baleen/annotators/language/WordNetLemmatizerTest.java
Java
apache-2.0
2,480
public class Solution { public String convertToTitle(int n) { String result = ""; if(n>26){ int i = n%26==0?n/26-1:n/26; result += convertToTitle(i); n=n-26*i; } result += String.valueOf((char)(n+64)); return result; } }
ylovesy/CodeFun
caoguodong/Excel Sheet Column Title.java
Java
apache-2.0
304
/* * Licensed to the Technische Universität Darmstadt under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The Technische Universität Darmstadt * licenses this file to you under the Apache License, Versio...
webanno/webanno
webanno-api-dao/src/main/java/de/tudarmstadt/ukp/clarin/webanno/api/dao/export/ProjectExportServiceImpl.java
Java
apache-2.0
18,073
package com.base.spring.domain.Deprecated; import com.base.spring.domain.BaseEntity; import com.base.spring.domain.RoleEntity; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.ManyToMany; import java.util.ArrayList; import java.util.List; /** * 代表页面资源,或者具体的功能如 :下载、打印 ...
h819/spring-boot
spring-boot-webapp/src/main/java/com/base/spring/domain/Deprecated/PrivilegeEntity.java
Java
apache-2.0
4,344
/* * Copyright (c) 2016 DataSand,Sharon Aicler 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 available at http://www.eclipse.org/legal/epl-v10.html */ package o...
saichler/DataSand
micro-service/src/test/java/org/datasand/microservice/tests/TestObjectSerializer.java
Java
apache-2.0
1,276
package ca.ulaval.glo4002.domain.drug; import java.util.List; public interface DrugRepository { void persist(Drug drug); Drug getByDin(Din din); List<Drug> search(String name); }
JDownloader/QA_H2014_Equipe_B3
src/main/java/ca/ulaval/glo4002/domain/drug/DrugRepository.java
Java
apache-2.0
187
package com.google.appinventor.client.editor.simple.components; import com.google.appinventor.client.editor.simple.SimpleEditor; import com.google.gwt.user.client.ui.Image; import com.google.gwt.user.client.ui.SimplePanel; public class MockGraph extends MockVisibleComponent{ /** * Component type name. */ pu...
mit-dig/punya
appinventor/appengine/src/com/google/appinventor/client/editor/simple/components/MockGraph.java
Java
apache-2.0
1,514
/** * 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...
JingchengDu/hbase
hbase-server/src/test/java/org/apache/hadoop/hbase/master/locking/TestLockProcedure.java
Java
apache-2.0
19,974
package com.lauren.simplenews.news.view; /** * Description : * Author : lauren * Email : lauren.liuling@gmail.com * Blog : http://www.liuling123.com * Date : 2015/12/21 */ public interface NewsDetailView { void showNewsDetialContent(String newsDetailContent); void showProgress(); void hidePro...
HarryXR/SimpleNews
app/src/main/java/com/lauren/simplenews/news/view/NewsDetailView.java
Java
apache-2.0
332
/* * Copyright 2012 Red Hat inc. and third party contributors as noted * by the author tags. * 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/LICENS...
gijsleussink/ceylon
runtime/testsuite/src/test/java/org/jboss/ceylon/test/modules/nativex/test/NativeTestCase.java
Java
apache-2.0
2,034
/** * Copyright 2018 Shape Security, Inc. <p> 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 <p> http://www.apache.org/licenses/LICENSE-2.0 <p> Unless required by * applicable law or agreed ...
shapesecurity/shift-java
src/main/java/com/shapesecurity/shift/es2018/parser/PatternAcceptor.java
Java
apache-2.0
27,318
/* * 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 distributed under t...
googleapis/google-api-java-client-services
clients/google-api-services-networkconnectivity/v1alpha1/1.31.0/com/google/api/services/networkconnectivity/v1alpha1/model/ListHubsResponse.java
Java
apache-2.0
3,871
package br.com.consulti.academics.util; // @author Mateus Cordeiro import com.mchange.v2.c3p0.ComboPooledDataSource; import java.beans.PropertyVetoException; import java.sql.Connection; import java.sql.SQLException; import org.apache.log4j.Logger; public class PooledConnections { private static final String URL...
juniorsml/academics
src/main/java/br/com/consulti/academics/util/PooledConnections.java
Java
apache-2.0
1,797
package com.wuhulala.model; /** * Created by coding on 2017/5/15. */ public class JWTToken { private String access_token; private String token_type; private long expires_in; public String getAccess_token() { return access_token; } public void setAccess_token(String access_token) { ...
wuhulala/qa-api
src/main/java/com/wuhulala/model/JWTToken.java
Java
apache-2.0
691
/* * Copyright (c) 2021, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * 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.apac...
lessthanoptimal/BoofCV
main/boofcv-ip/src/test/java/boofcv/alg/filter/derivative/impl/TestGradientSobel_Outer.java
Java
apache-2.0
3,454
package org.apereo.cas.redis.core; import org.apereo.cas.authentication.CasSSLContext; import org.apereo.cas.configuration.model.support.redis.BaseRedisProperties; import org.apereo.cas.configuration.support.Beans; import io.lettuce.core.ClientOptions; import io.lettuce.core.ReadFrom; import io.lettuce.core.SocketOpt...
apereo/cas
support/cas-server-support-redis-core/src/main/java/org/apereo/cas/redis/core/RedisObjectFactory.java
Java
apache-2.0
12,628
package com.jboc.mapcam.http; import android.util.Log; import com.loopj.android.http.AsyncHttpClient; import com.loopj.android.http.AsyncHttpResponseHandler; import com.loopj.android.http.FileAsyncHttpResponseHandler; import com.loopj.android.http.RequestParams; import java.io.File; import java.io.FileNotFoundExcept...
sonjh87/jboc
MyApplication/app/src/main/java/com/jboc/mapcam/http/RestHttpClient.java
Java
apache-2.0
2,063
/** * Copyright 2011-2017 Asakusa Framework Team. * * 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...
cocoatomo/asakusafw
utils-project/java-dom/src/main/java/com/asakusafw/utils/java/model/syntax/StatementExpressionList.java
Java
apache-2.0
1,211
/* * 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"...
boneman1231/org.apache.felix
trunk/ipojo/composite/src/main/java/org/apache/felix/ipojo/composite/service/provides/CompositionMetadata.java
Java
apache-2.0
13,832