blob_id stringlengths 40 40 | language stringclasses 1
value | repo_name stringlengths 5 132 | path stringlengths 2 382 | src_encoding stringclasses 34
values | length_bytes int64 9 3.8M | score float64 1.5 4.94 | int_score int64 2 5 | detected_licenses listlengths 0 142 | license_type stringclasses 2
values | text stringlengths 9 3.8M | download_success bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|
11b1f974fdb04ca99cff6fa7b88e6bd51f65f653 | Java | apycazo/jander-ms | /ms-redis/src/main/java/es/jander/ms/redis/RedisApp.java | UTF-8 | 424 | 1.515625 | 2 | [
"Apache-2.0"
] | permissive | package es.jander.ms.redis;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.redis.repository.configuration.EnableRedisRepositories;
@SpringBootApplication
@EnableRedisRepositories
public class RedisApp
{
public... | true |
b92d058d4f7ac20c8bb125bff659cef44bbfa595 | Java | debugroom/wedding | /wedding-microservice/wedding-frontend/wedding-web-frontend/src/main/java/org/debugroom/wedding/app/model/management/PageParam.java | UTF-8 | 508 | 2.03125 | 2 | [] | no_license | package org.debugroom.wedding.app.model.management;
import java.io.Serializable;
import javax.validation.constraints.Min;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.Builder;
@AllArgsConstructor
@Builder
@Data
public class PageParam implements Serializable{
private static final long serial... | true |
e8d799045fcb09fdc9e43cc55bbe03990afd005a | Java | vscom/Transmit | /src/com/bvcom/transmit/handle/smginfo/NvrStatusSet.java | UTF-8 | 13,889 | 2.171875 | 2 | [] | no_license | package com.bvcom.transmit.handle.smginfo;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.apache.log4j.Logger;
import org.dom4j.Document;
import org.dom4j.Element;
import com.bvcom... | true |
c3f1cf7f73315e917e9a5cbae0e60a3d2c63a1fc | Java | julbob/Vivarium-Pokemon-Java | /src/model/attacks/Coupe.java | UTF-8 | 184 | 2.140625 | 2 | [] | no_license | package model.attacks;
import model.Attack;
import model.Type;
public class Coupe extends Attack {
public Coupe() {
super((short) 50, (float) 0.95, (short) 30, Type.Normal);
}
} | true |
5d93555d4b7ca9d0ca2ff2ac0d26c651afce5500 | Java | Camelcade/Perl5-IDEA | /plugin/core/src/main/java/com/perl5/lang/perl/idea/refactoring/introduce/occurrence/PerlSequentialOccurrencesCollector.java | UTF-8 | 2,667 | 2.015625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2015-2018 Alexandr Evstigneev
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | true |
c2ea978ee68e5a8d16be57fbeb5b7fcd4a00c3b1 | Java | Giri1013/todo | /src/main/java/Helpers/Report.java | UTF-8 | 1,380 | 2.296875 | 2 | [
"Apache-2.0"
] | permissive | package Helpers;
import net.masterthought.cucumber.Configuration;
import net.masterthought.cucumber.ReportBuilder;
import java.io.File;
import java.io.FilenameFilter;
import java.util.ArrayList;
import java.util.List;
public class Report {
public static void main(String args[]){
GenerateMasterthoughtRep... | true |
47f36a5eddfe7b9d0f1aa2f21e87c7a5eb56ab37 | Java | guozhongdong/bookmanage | /src/test/java/com/ngp/book/web/bookmanage/BookmanageApplicationTests.java | UTF-8 | 2,643 | 2.03125 | 2 | [] | no_license | package com.ngp.book.web.bookmanage;
import com.alibaba.fastjson.JSONObject;
import com.ngp.book.web.bookmanage.config.PageInfo;
import com.ngp.book.web.bookmanage.config.PageRequest;
import com.ngp.book.web.bookmanage.result.Result;
import com.ngp.book.web.bookmanage.result.ResultVO;
import com.ngp.book.web.bookmana... | true |
cfd9b349f0c5bb2c631f43e373dce1811f355ce3 | Java | nakpilse/care | /src/controllers/NewItemFormController.java | UTF-8 | 11,645 | 2.015625 | 2 | [] | no_license | package controllers;
import alpha.Care;
import com.jfoenix.controls.JFXButton;
import com.jfoenix.controls.JFXCheckBox;
import com.jfoenix.controls.JFXDialog;
import com.jfoenix.controls.JFXTextField;
import java.net.URL;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;
import java.util.Res... | true |
185fd17f0cd0b520f20ca1f6646dc8abbdc8a14a | Java | LiZachary/zachary_Util | /app/src/main/java/com/zachary/util/Net/progress/ProgressCancelListener.java | UTF-8 | 194 | 1.796875 | 2 | [] | no_license | package com.zachary.util.Net.progress;
/**
* Created on 2016/9/8 14:08
*
* @desc 取消监听
* @auther Zachary
*/
public interface ProgressCancelListener {
void onCancelProgress();
}
| true |
e1e60e0ff48f72494cf597698d08cf5b7e557086 | Java | lisax302j/109_2_Android | /106332013_HW10/106332013_HW10a/app/src/main/java/com/example/android/simpleasynctask/SimpleAsyncTask.java | UTF-8 | 8,598 | 2.890625 | 3 | [
"Apache-2.0"
] | permissive | /*
* Copyright (C) 2018 Google 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 agree... | true |
0b3d5abe4d212454cbc5d58ad8ffd4c943e31352 | Java | VrainzAccelerator/commons-legacy | /MCPPersistence/mcp-model/src/main/java/com/vrains/persistence/oldmodel/mcp/Suscripcion.java | UTF-8 | 4,202 | 1.9375 | 2 | [] | no_license | package com.vrains.persistence.oldmodel.mcp;
import java.sql.Date;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;... | true |
e1825163e1c86e3c0949db6d815b8ce531f307b1 | Java | johnny8353/jproject | /springmvc/springmvc-demo/src/main/java/com/johnny/springmvc/converters/handlers/SpringMVCTest.java | UTF-8 | 1,784 | 2.03125 | 2 | [] | no_license | package com.johnny.springmvc.converters.handlers;
import java.io.IOException;
import java.io.InputStream;
import java.util.Collection;
import java.util.Date;
import java.util.Locale;
import java.util.Map;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpSession;
import org.springframewo... | true |
cab5b352be8a157383c2ceeaf1f30ad791e60382 | Java | andreinamiling/practice-programming-problems | /ArmstrongNumber.java | UTF-8 | 618 | 4.0625 | 4 | [] | no_license | import java.util.*;
class ArmstrongNumber{
public static void main(String[]args){
Scanner s = new Scanner(System.in);
int num = 0, r = 0, sum = 0, temp = 0;
System.out.print("Enter an Integer: ");
num = s.nextInt();
temp = num; //Passing the value of num to temp
while (num!=0){
r = num % 10; //G... | true |
e0c3666d0241cc18c165c0b917a2ea685e9b60a6 | Java | rex731083168/passport | /passport/src/main/java/cn/ce/passport/controller/AuthController.java | UTF-8 | 4,012 | 2.046875 | 2 | [] | no_license | package cn.ce.passport.controller;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.C... | true |
7fee066d0c6784f694474ba290892a86ee9b3fe3 | Java | owenzip/todos-app | /todoapp/app/src/main/java/com/example/gamma/todoapp/AnimationEffect.java | UTF-8 | 1,032 | 2.234375 | 2 | [] | no_license | package com.example.gamma.todoapp;
import android.content.Context;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
/**
* Created by Bean on 17/01/2018.
*/
public class AnimationEffect {
public static Animation animCircular (Context context) {
Animation animCircula... | true |
87c9fce000958c659e1386c4b8cd516573dd2bf7 | Java | gvquiroz/aydoo2016 | /extension-libreria/src/main/java/ar/edu/untref/aydoo/PublicacionPeriodica.java | UTF-8 | 931 | 2.890625 | 3 | [] | no_license | package ar.edu.untref.aydoo;
public class PublicacionPeriodica extends Producto implements Suscribible {
private final int periodicidadMensual;
private boolean suscripcion;
private boolean tieneDescuento;
public PublicacionPeriodica(String nombre, double monto, int nuevaPeriodicidadMensual) {
... | true |
0ba1549ee1b6ef1b9833030345b8d14d0ba216e6 | Java | otoukebri/atom | /atom-game-engine/src/main/java/net/vpc/gaming/atom/ioc/AtomSpriteCreationAction.java | UTF-8 | 5,440 | 2.34375 | 2 | [] | no_license | package net.vpc.gaming.atom.ioc;
import net.vpc.gaming.atom.annotations.AtomSprite;
import net.vpc.gaming.atom.annotations.OnInstall;
import net.vpc.gaming.atom.engine.GameEngine;
import net.vpc.gaming.atom.engine.SceneEngine;
import net.vpc.gaming.atom.engine.SpriteTask;
import net.vpc.gaming.atom.engine.collision.Sp... | true |
08e7a1ad33a82b507487320e02aae3d043c04317 | Java | JesusMaestreCarmona/MyBankSpringBoot | /src/main/java/com/myBank/controllers/UsuarioController.java | UTF-8 | 5,327 | 2.171875 | 2 | [] | no_license | package com.myBank.controllers;
import java.util.Date;
import javax.servlet.http.HttpServletRequest;
import org.apache.tomcat.util.codec.binary.Base64;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annot... | true |
bac36fc3b51445569d0a89e6a5c587c694ce67fd | Java | xsRST/MyProject | /Scoket/src/test/java/Test.java | UTF-8 | 185 | 2.09375 | 2 | [] | no_license | import org.apache.commons.lang.StringUtils;
public class Test {
public static void main(String[] args) {
System.out.println(StringUtils.stripStart("60000", "0"));
}
}
| true |
349e5e0c0be330330d0249ced84bc29ba0582fed | Java | gembin/virgo.apps | /org.eclipse.virgo.apps.admin.core/src/main/java/org/eclipse/virgo/apps/admin/core/state/StandardRequiredBundleHolder.java | UTF-8 | 3,021 | 1.710938 | 2 | [] | no_license | /*******************************************************************************
* Copyright (c) 2008, 2010 VMware Inc.
* 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 a... | true |
1b379befe8ad4de77ff7884dc9a9afa9fd271248 | Java | StanAlexandru/struts-learning | /hello-world-from-struts2/src/main/java/com/learn/processingforms/action/RegisterAction.java | UTF-8 | 1,357 | 2.453125 | 2 | [] | no_license | package com.learn.processingforms.action;
import org.apache.struts2.convention.annotation.Result;
import com.learn.processingforms.model.Person;
import com.opensymphony.xwork2.Action;
import com.opensymphony.xwork2.ActionSupport;
@org.apache.struts2.convention.annotation.Action(value = "register", results = {
@Res... | true |
0824c151c2dfe905d8ae53d8bc2b272fef7dfc89 | Java | ma2695212419/haikang | /src/main/java/com/mzp/haikang/face/FaceAlarmBusiness.java | UTF-8 | 3,260 | 2.046875 | 2 | [] | no_license | package com.mzp.haikang.face;
import com.mzp.haikang.commons.AlarmBusiness;
import com.mzp.haikang.commons.Constants;
import com.mzp.haikang.commons.HikBean;
import com.mzp.haikang.commons.HikCache;
import com.mzp.haikang.dao.ConfigMapper;
import com.mzp.haikang.model.Config;
import org.apache.logging.log4j.LogManage... | true |
56f497e5979ed4380f1bd7cf288b5bdc330c5e22 | Java | ZoranLi/wechat_reversing | /com/tencent/mm/ui/tools/SquareImageView.java | UTF-8 | 728 | 2.234375 | 2 | [] | no_license | package com.tencent.mm.ui.tools;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ImageView;
public class SquareImageView extends ImageView {
public SquareImageView(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
}
public SquareIm... | true |
3a46dd27f898daee1d89ab031b582f9ad494d929 | Java | GabrielMVzla/Portafolio | /Prácticas_Tutorías_Fundamentos/EjerciciosClase/parametros/ExplicacionMetodoLlamada.java | WINDOWS-1250 | 409 | 3.46875 | 3 | [] | no_license | package parametros;
public class ExplicacionMetodoLlamada
{
public static double RetornaTipoDouble()
{
double retorna = 10.0;
//retorna tiene el valor de 10 en un inicio
//la siguiente operacin es como si dijera
//10.0 + 10.0 = nuevo valor en retorna, es decir, 20.0
//recordar que las instrucciones s... | true |
7f97af36e03196caaebe8031c5d2f4b38d228af4 | Java | lifelonglearner127/ssorestcommon | /src/main/java/com/idfconnect/ssorest/common/utils/ConfigProperties.java | UTF-8 | 42,049 | 2.375 | 2 | [] | no_license | /*
* Copyright 2013 IDF Connect, Inc.
* All Rights Reserved.
*/
package com.idfconnect.ssorest.common.utils;
import java.io.IOException;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Enumeration;
import java.util.Iterator;
import ... | true |
375e5ec4544b87f8a47cb0908a02a05d78d60902 | Java | msmacorin/jump | /admin/src/main/java/br/com/jump/admin/service/iface/IUsuarioService.java | UTF-8 | 318 | 1.789063 | 2 | [] | no_license | package br.com.jump.admin.service.iface;
import br.com.jump.model.admin.Usuario;
import br.com.jump.core.service.iface.IGenericService;
public interface IUsuarioService extends IGenericService<Usuario, Long> {
public Usuario buscarPorEmail(String email);
public Usuario buscarPorUsuario(String usuario);
}
| true |
b1d1ea4fa9b89417ef45b9de50783e70d127610e | Java | EdGruberman/MessageManager | /src/edgruberman/bukkit/messagemanager/commands/TimestampFormat.java | UTF-8 | 679 | 2.515625 | 3 | [] | no_license | package edgruberman.bukkit.messagemanager.commands;
import edgruberman.bukkit.messagemanager.commands.util.Action;
import edgruberman.bukkit.messagemanager.commands.util.Context;
import edgruberman.bukkit.messagemanager.commands.util.Handler;
class TimestampFormat extends Action {
TimestampFormat(final H... | true |
fabd7f3fb716c5addcff7585f566d9abd6426b4f | Java | xuehairui/flowable-ui-example | /src/main/java/com/promote/app/config/MyBatisPlusConfig.java | UTF-8 | 1,044 | 1.953125 | 2 | [] | no_license | package com.promote.app.config;
import com.baomidou.mybatisplus.autoconfigure.ConfigurationCustomizer;
import com.baomidou.mybatisplus.core.MybatisConfiguration;
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.conte... | true |
4174e3d9a365f7686d6ae43e8b5c8cdd52fe8f07 | Java | yuhongwen-coder/pad_2.4 | /app/src/main/java/com/maxvision/tech/robot/utils/ImageEngineUtils.java | UTF-8 | 6,520 | 2.40625 | 2 | [] | no_license | package com.maxvision.tech.robot.utils;
import android.content.Context;
import android.text.TextUtils;
import android.util.Base64;
import android.widget.ImageView;
import androidx.annotation.NonNull;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.engine.DiskCacheStrategy;
import com.bumptech.glide.loa... | true |
1aed8267b93fce0149da47c16bc3dbf7e3bd8964 | Java | elhamidi/Aidoo | /AidooProject/src/main/java/be/bt/entities/Comment.java | UTF-8 | 1,716 | 2.28125 | 2 | [] | no_license | package be.bt.entities;
import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;
/**
* The persistent class for the comment database table.
*
*/
@Entity
@NamedQuery(name="Comment.findAll", query="SELECT c FROM Comment c")
public class Comment implements Serializable {
privat... | true |
a549ee9815a62d51bed0bb82623be9644f2f1e4b | Java | Clark-caipeiyuan/sampleSDK | /XiXiSdk/src/main/java/com/xixi/sdk/serialpos/SerialPosClient.java | UTF-8 | 5,084 | 2.046875 | 2 | [
"Apache-2.0"
] | permissive | package com.xixi.sdk.serialpos;
import java.util.Map;
import java.util.TreeMap;
import com.xixi.sdk.CustomizedCRCConverter;
import com.xixi.sdk.LLSDKUtils;
import com.xixi.sdk.android_serialport_api.device.service.LongLakeDataPumpService;
import com.xixi.sdk.app.LongLakeApplication;
import com.xixi.sdk.logger.Log;
im... | true |
4ebaf050f410cfc138ab16b9477f9a3b26c0a882 | Java | raidcraft/rcgroups | /src/main/java/de/raidcraft/rcgroups/exception/GroupPlayerNotLeaderException.java | UTF-8 | 387 | 2.046875 | 2 | [] | no_license | package de.raidcraft.rcgroups.exception;
/**
*
*/
public class GroupPlayerNotLeaderException extends GroupException {
private static final long serialVersionUID = 7307013697144637838L;
public GroupPlayerNotLeaderException() {
super("Player not group leader");
}
public GroupPlayerNotLeader... | true |
630c622c32c8d4f275af55613bcd7d90b69b8750 | Java | gajendrahedau/payrollJPA | /CGPayrollSystemJPAHibernate/src/com/cg/project/services/PayrollServices.java | UTF-8 | 568 | 2.03125 | 2 | [] | no_license | package com.cg.project.services;
import java.util.ArrayList;
import com.cg.project.beans.Associate;
public interface PayrollServices {
int acceptAssociateDetails(int yearlyInvestmentUnder80C,String firstName,String lastName,
String department,String designation,String panCard ,String emailId,
int basicSa... | true |
93a29b342328e830882684cb1463d2138f2e4ae7 | Java | chaug2018/web | /com.yzj.ebs.report/src/com/yzj/ebs/report/biz/impl/FocusReportBizImpl.java | UTF-8 | 10,516 | 1.914063 | 2 | [] | no_license | package com.yzj.ebs.report.biz.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.yzj.ebs.common.IBasicInfoAdm;
import com.yzj.ebs.common.ICheckMainDataAdm;
import com.yzj.ebs.common.XDocProcException;
import com.yzj.ebs.common.param.PageParam;
import c... | true |
0fa004fab544d888ee6c37a25790976ffd035ce9 | Java | t-paudel/JettyServer | /src/main/java/com/demo/jettyServerPOC/jettyUtils/Handler.java | UTF-8 | 1,070 | 2.546875 | 3 | [] | no_license | package com.demo.jettyServerPOC.jettyUtils;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.eclipse.jetty.server.Request;
import org.eclipse.jetty.server.handler.AbstractHandler;
public class Handler exte... | true |
e4bd6acef87ec685e374001933a039fae75f280c | Java | alejandroSagrera/someAlgorithms | /Algorithms/src/javaAlgorithms/GrafoL.java | UTF-8 | 8,787 | 3.015625 | 3 | [] | no_license | /*
* 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 javaAlgorithms;
import java.util.LinkedList;
import java.util.Queue;
import java.util.Stack;
import javaAlgorithms.H... | true |
c32a7bf7975bd5b38cae156bf540c5de1b1f1c90 | Java | iamamir/UCLAFeeds | /Server_End/150415 - Buzz-Server/Buzz-Server/app/dao/common/NonShardedDao.java | UTF-8 | 1,620 | 2.390625 | 2 | [] | no_license | package dao.common;
import javax.persistence.Query;
import models.db.common.DbEntity;
import dao.shard.ShardManager.AccessMode;
public class NonShardedDao extends GenericDao {
private final static String defaultDS_RW = "default";
private final static String defaultDS_RO = "default_ro";
public static Query crea... | true |
ca05546f7d5e699422df990e56d36c90d6a78eeb | Java | alzimmermsft/azure-sdk-for-java | /sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/compute/generated/VirtualMachineExtensionsListSamples.java | UTF-8 | 1,852 | 1.90625 | 2 | [
"LGPL-2.1-or-later",
"BSD-3-Clause",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"CC0-1.0",
"LicenseRef-scancode-generic-cla"
] | permissive | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.compute.generated;
/** Samples for VirtualMachineExtensions List. */
public final class VirtualMachineExtensionsListSamples {
... | true |
9f840c5805f7beb2d3b7b91fd9f71ecf6eb39d15 | Java | mamjong/Bioscoop | /app/src/main/java/com/example/whrabbit/bioscoop/ReviewListActivity.java | UTF-8 | 3,315 | 2.078125 | 2 | [] | no_license | package com.example.whrabbit.bioscoop;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.ListView;
import com.example.whrabbit.bioscoop.API.Film;
impor... | true |
cc43b9fd179a14b1b8a80f273e37985e22551d5b | Java | CyberspaceStudio/uapply | /src/main/java/com/volunteer/uapply/sevice/impl/UserServiceImpl.java | UTF-8 | 3,272 | 2.171875 | 2 | [] | no_license | package com.volunteer.uapply.sevice.impl;
import com.volunteer.uapply.mapper.DepartmentMemberMapper;
import com.volunteer.uapply.mapper.UserMessageMapper;
import com.volunteer.uapply.pojo.DepartmentMember;
import com.volunteer.uapply.pojo.User;
import com.volunteer.uapply.pojo.info.TokenPO;
import com.volunteer.uapply... | true |
33699d296dbb3dabd5b8f303a918b55c8cfe1f13 | Java | Joseavilez20/SemilleroHBT | /ambiente/semillero-hbt/semillero-padre/semillero-servicios/src/main/java/com/hbt/semillero/ejb/GestionarPersonajeBean.java | UTF-8 | 4,228 | 2.625 | 3 | [] | no_license | package com.hbt.semillero.ejb;
import com.hbt.semillero.dto.PersonajeDTO;
import com.hbt.semillero.entidad.Comic;
import com.hbt.semillero.entidad.Personaje;
import com.hbt.semillero.interfaz.IGestionarPersonajeLocal;
import java.util.ArrayList;
import java.util.List;
import javax.ejb.Stateless;
import javax.ejb.Tra... | true |
70547ffa2b5571345fcac410f153c5331041ce1b | Java | jditlee/democloud | /service-feign/src/main/java/com/lingyunxin/servicefeign/service/impl/FeignServiceImpl.java | UTF-8 | 362 | 1.96875 | 2 | [] | no_license | package com.lingyunxin.servicefeign.service.impl;
import com.lingyunxin.servicefeign.service.FeignService;
import org.springframework.stereotype.Component;
@Component
public class FeignServiceImpl implements FeignService {
@Override
public String sayHiFromEurekaCli(String name) {
return "sorry,"+name+... | true |
88951314bb5405afd75e48153f9a89d8654ef220 | Java | kushunet/mall | /mall-dao/src/main/java/cn/dnaizn/mall/mapper/StatementsMapper.java | UTF-8 | 890 | 1.890625 | 2 | [] | no_license | package cn.dnaizn.mall.mapper;
import cn.dnaizn.mall.pojo.Statements;
import cn.dnaizn.mall.pojo.StatementsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface StatementsMapper {
int countByExample(StatementsExample example);
int deleteByExample(StatementsExample examp... | true |
8f1ef05d37f38b07137ee59ead03e2af1c0e3c77 | Java | saasquatch/apache-client5-reactive | /src/test/java/com/saasquatch/client5reactive/LifecycleTests.java | UTF-8 | 1,307 | 2.328125 | 2 | [
"Apache-2.0"
] | permissive | package com.saasquatch.client5reactive;
import io.reactivex.rxjava3.core.Flowable;
import org.apache.hc.client5.http.async.methods.SimpleRequestBuilder;
import org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient;
import org.apache.hc.client5.http.impl.async.HttpAsyncClients;
import org.junit.jupiter.api.Tes... | true |
b027481805c4d4d626d507ceccf089969e19f1cf | Java | u0652804/Java-practice-print_aToz | /src/StringPrint1/src/StringPrint1/StringPrint.java | UTF-8 | 506 | 3.921875 | 4 | [] | no_license | package StringPrint1;
/***
* @author Bo-Xun Liao
*
***/
public class StringPrint {
public StringPrint() {
String str = "";
// init. str = "a1"~"z1"
for(char i = 'a'; i <= 'z'; i ++)
if(i == 'z')
str = str + i + ' ';
else
str = str + i + ',';
System.out.print("The String : " + st... | true |
e9bfa91290ee0c31efadce705e01a724d1672be8 | Java | shreeshasa/eureka | /src/main/java/io/github/shreeshasa/selenium/AbstractPage.java | UTF-8 | 4,091 | 2.640625 | 3 | [
"Apache-2.0"
] | permissive | package io.github.shreeshasa.selenium;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.PageFactory;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.FluentWait;
import org.openq... | true |
8773e368e217a7a6f8eab50fa04e797b18363c07 | Java | AlJamilSuvo/AutoTaskEmailSend | /src/al/jamil/suvo/autoemail/fx/AutoEmailSender.java | UTF-8 | 4,569 | 2.25 | 2 | [] | no_license | package al.jamil.suvo.autoemail.fx;
import al.jamil.suvo.autoemail.controller.AutoEmailController;
import al.jamil.suvo.autoemail.traynotification.animations.Animations;
import al.jamil.suvo.autoemail.traynotification.notification.Notification;
import al.jamil.suvo.autoemail.traynotification.notification.Notification... | true |
e941d1ac2110827701e42601d5f3424c6505bb57 | Java | aburgosu/AT10-logicalPlayer | /src/main/java/com/fundation/logic/view/loadSaveCriteria/PopupLoadSave.java | UTF-8 | 1,269 | 2.484375 | 2 | [] | no_license | /**
* Copyright (c) 2019 Jalasoft.
*
* This software is the confidential and proprietary information of Jalasoft.
* ("Confidential Information"). You shall not
* disclose such Confidential Information and shall use it only in
* accordance with the terms of the license agreement you entered into
* with Jalasoft.
... | true |
8918c969b1adaa6d3fc9109300992002eae68c08 | Java | wsgan001/c2001 | /src/net/c2001/utils/ui/atom/JTextFieldPanel.java | UTF-8 | 2,860 | 2.9375 | 3 | [
"BSD-2-Clause",
"MIT"
] | permissive | package net.c2001.utils.ui.atom;
import javax.swing.JPanel;
import java.awt.BorderLayout;
import java.awt.event.MouseListener;
import javax.swing.JTextField;
/**
* Create a {@link JPanel} which contains a {@link JTextField}.
* @author Lin Dong
*
*/
public class JTextFieldPanel extends JPanel implements Checkable
... | true |
98a238bbce8b314379c3bff5b6a1214aa4bd3de3 | Java | BandwidthOnDemand/nsi-common-lib | /src/main/java/net/es/nsi/common/signing/SimpleKeySelectorResult.java | UTF-8 | 398 | 2.09375 | 2 | [
"BSD-3-Clause-LBNL"
] | permissive | package net.es.nsi.common.signing;
import java.security.Key;
import java.security.PublicKey;
import javax.xml.crypto.KeySelectorResult;
/**
*
* @author hacksaw
*/
public class SimpleKeySelectorResult implements KeySelectorResult {
private final PublicKey pk;
SimpleKeySelectorResult(PublicKey pk) {
... | true |
d0ccbdc4082667550c6f9d91f6ad37432ec16402 | Java | joelmwood/Contact-Info-DB-with-Java | /ContactInfo/src/ContactInfoInput.java | UTF-8 | 501 | 2.75 | 3 | [] | no_license | /**
*
* @author Wood
*/
import javax.swing.JFrame;
public class ContactInfoInput {
public static void main(String[] args) {
ContactInputForm mainFrame = new ContactInputForm();
mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
mainFrame.setSize( 400, 400 );//set frame s... | true |
ee88a4d097e45e82b217e5e2434da1bd4a21724e | Java | biaolv/com.instagram.android | /src/com/instagram/android/activity/y.java | UTF-8 | 2,437 | 1.59375 | 2 | [] | no_license | package com.instagram.android.activity;
import android.app.Dialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Bundle;
import android.view.Window;
import com.facebook.z;
import com.instagram.android.a.f... | true |
69668a3102f108f6d2a9739cb4cc6c207ab229c6 | Java | cuong369/FirstProject | /FirstProjects/src/project4/CalculatesLetter.java | UTF-8 | 652 | 3.15625 | 3 | [] | no_license | package project4;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
public class CalculatesLetter {
public static Map<String, Integer> numberLetter(String inputString) {
Set<String> calculates = new HashSet<String>();
for (String i : inputString.split("")) {
if (... | true |
1f94adce1e96a4e616bc598dffad9aedd4485a7b | Java | gprabhakar/SimSys | /Game Generator/src/edu/utdallas/gamegeneratorcollection/ComponentSelection/SearchAlgo.java | UTF-8 | 7,028 | 2.796875 | 3 | [] | no_license | package edu.utdallas.gamegeneratorcollection.ComponentSelection;
import java.util.LinkedList;
import Jama.EigenvalueDecomposition;
import Jama.Matrix;
/*Control Class
*/
public class SearchAlgo {
private String xmlCharacters;
private String xmlLessons;
private String xmlChallenges;
private String xml... | true |
4819c9ff71b7ac91f9715d0257ecf5b25daacdd7 | Java | gahlawat4u/repoName | /rda0105-agl-aus-java-a43926f304e3/xms-persistence/src/main/java/com/gms/xms/persistence/service/note/NoteServiceImp.java | UTF-8 | 1,554 | 2.015625 | 2 | [] | no_license | package com.gms.xms.persistence.service.note;
import com.gms.xms.common.exception.DaoException;
import com.gms.xms.filter.note.NoteFilter;
import com.gms.xms.persistence.dao.NoteDao;
import com.gms.xms.txndb.vo.NoteVo;
import java.util.List;
import java.util.Map;
/**
* Posted from NoteServiceImp
* <p>
... | true |
e94cf0de8d439516cfde5361a3ed48e8643e4751 | Java | kutaydemireren/Monopoly | /test/unittesting/LandCardsTest.java | UTF-8 | 920 | 2.75 | 3 | [
"MIT"
] | permissive | package unittesting;
import static org.junit.Assert.*;
import org.junit.BeforeClass;
import org.junit.Test;
import game.LandCards;
import game.Player;
public class LandCardsTest {
private static LandCards landCard;
private static Player p1;
@BeforeClass
public static void setUpBeforeClass() t... | true |
58107477f36d32cea99b08b8c85732ce7250cf36 | Java | yasmineA/bank-account-back | /src/main/java/com/sg/bankaccountback/model/Balance.java | UTF-8 | 293 | 1.882813 | 2 | [] | no_license | package com.sg.bankaccountback.model;
import com.sun.javafx.beans.IDProperty;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
@Entity
public class Balance {
@Id
@GeneratedValue
private Long id;
private float amount;
}
| true |
e148b0e30db0ac86a5171da6abe5651894c257ab | Java | Zhandos-Hello-World/Introduction-to-Java | /Chapter_19/Exercise19.10/Main.java | UTF-8 | 808 | 3.953125 | 4 | [] | no_license | /*
(Smallest element in ArrayList) Write the following method that returns the
smallest element in an ArrayList:
public static <E extends Comparable<E>> E min(ArrayList<E> list)
*/
import java.util.ArrayList;
public class Main {
public static void main(String[]args){
ArrayList<Integer>list = new ArrayLis... | true |
df328037fb6b9baa50ebd61255acd9e56bcef352 | Java | karlfehd/GraphNode | /graph-node/src/main/java/com/sample/GNodeImpl.java | UTF-8 | 2,072 | 3.03125 | 3 | [] | no_license | package com.sample;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
public class GNodeImpl implements GNode {
private final String name;
private final ArrayList<GNode> children... | true |
2a5f0bf7a1262049df572483a9f0e4d16a3f97a9 | Java | PetoMichalak/EsperOn | /app/src/main/java/eu/uk/ncl/pet5o/esper/epl/expression/core/ExprFilterSpecLookupable.java | UTF-8 | 2,509 | 1.90625 | 2 | [] | no_license | /*
***************************************************************************************
* Copyright (C) 2006 EsperTech, Inc. All rights reserved. *
* http://www.espertech.com/esper *
* http://www.espertech.com ... | true |
84e28d55ade82fbb704777a9fb4513582e3a6300 | Java | matezov/ref | /KiszurosAmoba/src/amoba/model/Board.java | UTF-8 | 4,603 | 3.109375 | 3 | [] | no_license | package amoba.model;
import java.util.ArrayList;
import java.util.Random;
public class Board {
private int size;
private Symbol[][] gameBoard;
private Symbol actualPlayer;
private int freeField;
private ArrayList<Point> symX = new ArrayList<>();
private ArrayLis... | true |
402b94b1ea0764e6a379830e394a266a694a55ad | Java | quophyie/javashared | /src/main/java/com/quantal/javashared/dto/LogTraceId.java | UTF-8 | 1,195 | 2.40625 | 2 | [] | no_license | package com.quantal.javashared.dto;
import com.quantal.javashared.constants.CommonConstants;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* Created by dman on 09/10/2017.
*/
@Data
@Builder
@EqualsAndHashCode(callSuper = true)
public class LogTraceId extends LogField{
private ... | true |
58785935dc3bd330994641e3100a72ff04a34575 | Java | nadeni/National-MD | /NationalMd/src/Login_in/Connective.java | UTF-8 | 552 | 2.109375 | 2 | [] | no_license | package Login_in;
import java.sql.DriverManager;
import java.sql.SQLException;
public class Connective {
public static java.sql.Connection getConnection() throws SQLException, ClassNotFoundException{
String driver ="com.mysql.jdbc.Driver";
String url="jdbc:mysql://localhost:3306/Gam... | true |
e48dd7b32f3522cb591af840b8c4e0da6953b604 | Java | xia-lin/ScratchFileReader | /src/com/roscopeco/scratch/io/objects/False.java | UTF-8 | 228 | 2.15625 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | package com.roscopeco.scratch.io.objects;
public class False extends ScratchBool {
public static final False instance = new False();
private False() {}
@Override
protected boolean value() {
return false;
}
}
| true |
146f7211f5f4b8c44f47552584cde73367c0955d | Java | andrewbhennessy/CS1332 | /hw8/src/Sorting.java | UTF-8 | 12,170 | 3.828125 | 4 | [] | no_license | import java.util.LinkedList;
import java.util.Comparator;
import java.util.Random;
/**
* Your implementation of various sorting algorithms.
*
* @author Andrew Hennessy
* @userid ahennessy6
* @GTID 903309743
* @version 1.0
*/
public class Sorting {
/**
* Implement insertion sort.
*
* It shoul... | true |
8ec1027628f3e27e082c39d064dff6a389899968 | Java | ajayk-git/myBatis-XML | /Student/src/main/java/com/mybatis/Student/controllers/WebController.java | UTF-8 | 847 | 2.234375 | 2 | [] | no_license | package com.mybatis.Student.controllers;
import com.mybatis.Student.entities.User;
import com.mybatis.Student.mappers.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import java.... | true |
640dfe6c9ef9a2f6453cc2e066bb956b2462e699 | Java | wapalxj/Java | /javaworkplace/SXT/src/c77_GameBasic/GameFrame5.java | MacCentralEurope | 779 | 2.71875 | 3 | [
"Apache-2.0"
] | permissive | package c77_GameBasic;
import java.awt.Color;
import java.awt.Font;
import java.awt.Frame;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
/**
* Constant,MyFrame
* @param args
*/
public class GameFrame5 extends MyFrame{
Image img =GameUtil.ge... | true |
cea966388ed716cab89a3b99a4972505abb084bd | Java | buddavalladevikumari/data | /src/main/java/com/example/demo/controller/Data_Controller.java | UTF-8 | 669 | 2.09375 | 2 | [] | no_license | package com.example.demo.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class Data_Controller {
@RequestMapping(value... | true |
e835d5564848964251b5dab945b33cf654848e87 | Java | ramtej/Qi4j.Feature.Spatial | /samples/dci-cargo/dcisample_b/src/main/java/org/qi4j/sample/dcicargo/sample_b/data/structure/voyage/Voyage.java | UTF-8 | 3,131 | 2.671875 | 3 | [
"Apache-2.0",
"MIT",
"BSD-3-Clause"
] | permissive | /*
* Copyright 2011 Marc Grue.
*
* 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... | true |
951a3ea544d0230c6cde01f3b9b1df5684dae7f1 | Java | vaibhav1412627/Online-Food | /app/src/main/java/com/example/win7/onlinefood/C.java | UTF-8 | 4,622 | 2.078125 | 2 | [] | no_license | package com.example.win7.onlinefood;
import android.content.Intent;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import a... | true |
684d3e140d7980d5f117720b128732912474552c | Java | OEarchive/edisonAPITestTool | /src/main/java/Model/DataModels/Alarms/AlarmsHistoryResponse.java | UTF-8 | 572 | 2.21875 | 2 | [] | no_license | package Model.DataModels.Alarms;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
public class AlarmsHistoryResponse {
@JsonProperty("message")
private String message;
@JsonProperty("timestamp")
private String timestamp;
@JsonProperty("histories")
private List<Al... | true |
4cdf40f22fca86f5ebc286ca2cc1c5a09e257756 | Java | BBVA/cognito-mfa-singlestep-authorization-plugin | /src/main/java/cd/go/authorization/cognitomfasinglestep/CognitoSingleStepLoginManager.java | UTF-8 | 4,138 | 2.15625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2019 Banco Bilbao Vizcaya Argentaria, 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 copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | true |
2f56e6f6f2b7c2daefcb61dedf25d9662fd059c9 | Java | alunegov/TeamCity-Telegram | /src/main/java/alunegov/teamcity/message/MessageFormat.java | UTF-8 | 152 | 1.828125 | 2 | [] | no_license | package alunegov.teamcity.message;
/**
* Created by Alexander on 19.08.2016.
*/
public enum MessageFormat {
PlainText,
Markdown,
Html
}
| true |
93b7a3998bb50e0bcbd6b5621923e9d7a663751a | Java | Sugie-306/OHOHO | /src/jp/co/eintecs/servlet/UpdateUserServlet.java | UTF-8 | 2,573 | 2.5 | 2 | [] | no_license | package jp.co.eintecs.servlet;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
... | true |
531750cbec3c24ba5ef3c413079babe279395b6c | Java | lxs-code/springcloud01 | /eureka-provider/src/main/java/com/zking/eurekaprovider/model/Commodity.java | UTF-8 | 1,849 | 1.945313 | 2 | [] | no_license | package com.zking.eurekaprovider.model;
import lombok.Data;
import java.util.Date;
@Data
public class Commodity {
private Integer tComid;
private String tComname;
private Double tComprice;
private String tComremark;
private String tComnodata;
private Integer tState;
private String t... | true |
c15abd2d49c8097048ace9440b9c575c58ef4837 | Java | shijir38/OpenNotification | /src/net/reliableresponse/notification/broker/impl/sql/GenericSQLTemplateBroker.java | UTF-8 | 4,550 | 2.109375 | 2 | [
"Apache-2.0"
] | permissive | /*
* Created on Jun 27, 2007
*
*Copyright Reliable Response, 2007
*/
package net.reliableresponse.notification.broker.impl.sql;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Vector;
import net.reliableresponse.notification.... | true |
313413997c839e8737a027cd89eec80dadde62ba | Java | demongel/DailyReader | /DailyReader/app/src/main/java/com/shakespace/dailyreader/fragment/TwoFragment.java | UTF-8 | 1,009 | 2.234375 | 2 | [] | no_license | package com.shakespace.dailyreader.fragment;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.shakespace.dailyreader.R;
import com.shakespace.dailyreader.base.BaseFragment;
/**
* A simple {@link... | true |
6034e0230a0a263dcae6818a17f8aa48c85bc2f3 | Java | yunien/Traffic | /src/main/java/com/wistron/occ/enums/InfoCode.java | UTF-8 | 1,172 | 2.671875 | 3 | [] | no_license | package com.wistron.occ.enums;
import org.apache.commons.lang3.StringUtils;
public enum InfoCode {
CODE_NULL("null", 0, "NULL"),
CODE_5F0F("5f0f", 4, "燈態步階傳輸週期管理"),
CODE_0f81("0f81", 4, "燈態步階傳輸週期管理");
private String infoCode;
private int params;
private String des;
InfoCode (final String... | true |
294b8c6d8f91908945124ebe6fe934f9cde32074 | Java | Aleks-Ya/yaal_examples | /Java+/Libs+/Cron+/quartz/test/quartz/job/listener/JobListenerSupportTest.java | UTF-8 | 2,742 | 2.359375 | 2 | [] | no_license | package quartz.job.listener;
import org.junit.jupiter.api.Test;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.quartz.SchedulerException;
import org.quartz.listeners.JobListenerSupport;
import quartz.Factory;
import quartz.UniversalJob;
import util.Tuple2;
import java.util.... | true |
b161ed89ca7036ac9331a7912cbab169eb085e0c | Java | john123pal4/californiaexploration | /src/bl-dataaccess/src/main/java/com/jpmorgan/am/im/loanops/queries/ContractQueries.java | UTF-8 | 188 | 1.601563 | 2 | [] | no_license | package com.jpmorgan.am.im.loanops.queries;
public interface ContractQueries {
String getContractsBySecurityId = "SELECT c FROM VWContract c WHERE c.facilityId=:facilityId";
}
| true |
dec21a29d040103b686ee85125413e884d104c1b | Java | lintsGitHub/TeacherCode | /test01 (1)/test01/src/main/java/com/nf147/test01/controller/OrderController.java | UTF-8 | 828 | 1.828125 | 2 | [] | no_license | package com.nf147.test01.controller;
import com.nf147.test01.entity.Order;
import com.nf147.test01.validator.CommonValidator;
import org.springframework.stereotype.Controller;
import org.springframework.validation.BindingResult;
import org.springframework.validation.annotation.Validated;
import org.springframework.web... | true |
45a39a47fc29ef6cb93fac276d19484dacb6401d | Java | naweak/Project-Lambda | /src/main/java/melonslise/lambda/client/renderer/color/LambdaColors.java | UTF-8 | 662 | 2.140625 | 2 | [] | no_license | package melonslise.lambda.client.renderer.color;
import net.minecraftforge.client.event.ColorHandlerEvent;
public class LambdaColors
{
private LambdaColors() {}
public static void registerColors(ColorHandlerEvent.Item event)
{
/*
IItemColor color;
color = new IItemColor()
{
@Override
public int colo... | true |
3d0b2f53215c3486b3a07407ac9ae22ed39422e8 | Java | boltony/MSG | /src/msg/member/MailController.java | UTF-8 | 6,533 | 2.140625 | 2 | [] | no_license | package msg.member;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Properties;
import java.util.Random;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.PasswordAuthentication;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.interne... | true |
f51ce733b2183a1d4351b69ae0fb242b6efbfe70 | Java | sora12345/SpringTest | /ksr1/src/main/java/kr/co/ksr1/board/service/Impl/BoardDocServiceImpl.java | UTF-8 | 7,200 | 1.921875 | 2 | [] | no_license | package kr.co.ksr1.board.service.Impl;
import java.util.List;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.multipart.... | true |
d197812555a16286989d6f1f519df65436c1e66b | Java | Pascal66/driemworks | /driemworks-ar/src/main/java/com/driemworks/ar/utils/HandDetectionUtils.java | UTF-8 | 636 | 2.421875 | 2 | [
"MIT"
] | permissive | package com.driemworks.ar.utils;
import android.util.Log;
import org.opencv.core.Point;
import java.util.List;
/**
* Created by Tony on 7/3/2017.
*/
public class HandDetectionUtils {
/**
*
* @param points
* @return
*/
public static Point getGunTip(List<Point> points) {
// sor... | true |
3dc029c3dbc30d0581b56346e62edf987c164e3d | Java | WJtoy/rptMicroservice | /src/main/java/com/kkl/kklplus/provider/rpt/service/CustomerChargeSummaryRptNewService.java | UTF-8 | 39,792 | 1.882813 | 2 | [] | no_license | package com.kkl.kklplus.provider.rpt.service;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import com.kkl.kklplus.entity.rpt.RPTCancelledOrderEntity;
import com.kkl.kklplus.entity.rpt.RPTCompletedOrderEntity;
import com.kkl.kklplus.entity.rpt.RPT... | true |
8993332c5fac111109c937c9ba16e6552ae73119 | Java | LYTWork/Practical-Training | /医院药品管理系统/total - 副本/src/main/java/com/java1234/service/impl/SaleListDrugsServiceImpl.java | UTF-8 | 2,554 | 2.078125 | 2 | [] | no_license | package com.java1234.service.impl;
import java.util.List;
import javax.annotation.Resource;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Predicate;
import javax.persistence.criteria.Root;
import com.java1234.entity.PurchaseListD... | true |
177979445d84577fbaf6233b2f6fe7d65c677168 | Java | alexanderguk/Mad_Game | /src/core/gamestates/MenuState.java | UTF-8 | 1,863 | 2.375 | 2 | [] | no_license | package core.gamestates;
import core.model.Menu;
import core.resourcemanager.ResourceManager;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.state.BasicGameState;
import org.newdawn.slick.state.StateBasedGame;
import core.co... | true |
1a845b91ed1a61f3b1ad062a2dcd5ca58f2c6c2d | Java | mucahitzirek/spring-boot-subjects | /spring-boot-sujects/01-springbasics/src/main/java/com/godoro/springbasics/post/EditingController.java | UTF-8 | 859 | 2.5625 | 3 | [] | no_license | package com.godoro.springbasics.post;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
@Controller
public class EditingController {
// http://localhost:8080/ed... | true |
2704f8fbf767d72c2ad17dc1eb96a759ae8208e9 | Java | tdomzal/junit-docker-rule | /src/main/java/pl/domzal/junit/docker/rule/wait/LogSequenceChecker.java | UTF-8 | 1,457 | 2.609375 | 3 | [
"Apache-2.0"
] | permissive | package pl.domzal.junit.docker.rule.wait;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* {@link StartConditionCheck} met when incoming log lines contains specified
* message sequence..
*/
public class LogSequenceChecker imple... | true |
cd505603934d5f21aa8bc6c8e12a2fe7a5c601dd | Java | s011208/BlogSamples | /app/src/main/java/yhh/blog/samples/butterknife/ButterKnifeMainActivity.java | UTF-8 | 1,843 | 2.046875 | 2 | [] | no_license | package yhh.blog.samples.butterknife;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import butterknife.BindArray;
import butterknife.BindString;
i... | true |
1a28b17e5b3ef186dc437ce43c240f71ba3f335b | Java | felipeparaujo/FlexibleTimeManager | /app/src/main/java/xyz/felipearaujo/flexibletimemanager/usecase/GetLocation.java | UTF-8 | 825 | 2.21875 | 2 | [] | no_license | package xyz.felipearaujo.flexibletimemanager.usecase;
import javax.inject.Inject;
import rx.Observable;
import xyz.felipearaujo.flexibletimemanager.datasource.DataSource;
import xyz.felipearaujo.flexibletimemanager.injection.BackgroundThread;
import xyz.felipearaujo.flexibletimemanager.injection.ForegroundThread;
pu... | true |
759d8969289207fd4889e7fbe9464af200ecb2f5 | Java | mkej/mongows1 | /src/main/java/com/avsystem/mongows/dao/impl/FakeDao.java | UTF-8 | 755 | 2.484375 | 2 | [] | no_license | package com.avsystem.mongows.dao.impl;
import com.avsystem.mongows.dao.Dao;
import com.avsystem.mongows.data.DataObject;
import java.util.HashMap;
/**
* Created by MKej
*/
public class FakeDao<T extends DataObject> implements Dao<T> {
public static final int MAX_SIZE = 10000;
private final HashMap<String, ... | true |
603f229aca238c60a224b6dd5fadcbe191c1227a | Java | AgapovaDaria/OOPpractice | /src/test/java/ru/ssau/tk/forev/OOPpractice/Points/PointsTest.java | UTF-8 | 2,479 | 2.75 | 3 | [] | no_license | package ru.ssau.tk.forev.OOPpractice.Points;
import org.testng.annotations.Test;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertTrue;
public class PointsTest {
private static double accuracy = 0.00005;
@Test
public void testSum() {
assertTrue(Points.equalsApp... | true |
93310843f2479c5cbe51eb47b550f61433cd9ae5 | Java | mglunafh/Programming-II-semester | /2012.03.23_VI/GuiCalculator/src/guicalculator/Calc.java | UTF-8 | 21,653 | 3.15625 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package guicalculator;
import java.awt.Button;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JOptionPane;
/**
*
* @author Fedor Uvarychev
*/... | true |
a0f66d7b3ebf27236b85efcd707f0603c952ffbd | Java | anirudh985/ScavengersWorld | /app/src/main/java/com/example/aj/scavengersworld/Activities/HuntsFeed/MyPopularHuntsRecyclerViewAdapter.java | UTF-8 | 3,875 | 2.3125 | 2 | [] | no_license | package com.example.aj.scavengersworld.Activities.HuntsFeed;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.RatingBar;
import android.widget.TextView;
import com.amulyakh... | true |
084517a8baccdf4946b6c9fcbf4071f7fe16cb87 | Java | apache/hadoop | /hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/HATestUtil.java | UTF-8 | 1,630 | 1.726563 | 2 | [
"CC-PDDC",
"CC0-1.0",
"CC-BY-3.0",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"CDDL-1.0",
"GCC-exception-3.1",
"MIT",
"EPL-1.0",
"Classpath-exception-2.0",
"BSD-3-Clause",
"GPL-2.0-only",
"Apache-2.0",
"LicenseRef-scancode-pu... | permissive | /**
* 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... | true |
1ae2ad9f68d41dc159457c83216f42981862189c | Java | kbalbertyu/ContentCrawler | /src/main/java/jp/btimes/source/Asahi.java | UTF-8 | 3,886 | 2.234375 | 2 | [] | no_license | package jp.btimes.source;
import cn.btimes.model.common.Article;
import cn.btimes.model.common.BTExceptions.PastDateException;
import cn.btimes.model.common.CSSQuery;
import cn.btimes.model.common.Category;
import cn.btimes.model.common.Image;
import cn.btimes.utils.Common;
import com.amzass.utils.common.Constants;
im... | true |
99f0241dc8208cec0b728c053c93d73ba6f2ef7b | Java | viktor-235/SafeNote | /src/main/java/com/viktor235/safenote/delegator/Thingable.java | UTF-8 | 134 | 1.789063 | 2 | [] | no_license | package com.viktor235.safenote.delegator;
/**
* Created by User on 17.07.2017.
*/
public interface Thingable {
void thing();
}
| true |
b84c33d7ef2b7164bc6b5723dacae1bf46df51c8 | Java | RuudyLee/MapTest | /app/src/main/java/com/example/maptest/VehicleActivity.java | UTF-8 | 7,275 | 2.15625 | 2 | [] | no_license | package com.example.maptest;
import android.*;
import android.content.Intent;
import android.content.IntentSender;
import android.content.pm.PackageManager;
import android.location.Location;
import android.os.SystemClock;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import and... | true |