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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
24972ef88e5048e3b71e696ebde20a86b415bc72 | Java | blitzik/game | /Enums/MessageType.java | UTF-8 | 114 | 1.914063 | 2 | [] | no_license | package game.Enums;
/**
*
* @author aleš tichava
*/
public enum MessageType {
BONUS, WARRNING, BAD;
}
| true |
1da22322d0bb3175d7b681757b308ed3c14e1038 | Java | fsmflying/fsmflying | /fsmflying-spring/src/main/java/com/fsmflying/spring/controller/UserInterfaceController.java | UTF-8 | 5,139 | 1.8125 | 2 | [] | no_license | package com.fsmflying.spring.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
@RequestMapping("/ui")
public class UserInterfaceController {
@RequestMapping("/account/login")
public String goToLoginPage01()
{
ret... | true |
f8c617d5fe37b8f4b84695a4d477ec767b940980 | Java | bilalsay/TCP_Game_Homework | /controller/MainController.java | UTF-8 | 1,408 | 2.25 | 2 | [] | no_license | package sample.controller;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.control.TextField;
import javafx.scene.layout.VBox;
import sample.*;
import sample.services.Game;
import java.io.IOException;
public class MainController extends Controller {
@FXML
private TextField server... | true |
00db91cefd2157a785f4f383be94664959772d1a | Java | EvgeniyShipov/threads | /src/main/java/ru/sbt/threads/Exercise1/CallableException.java | UTF-8 | 261 | 2.421875 | 2 | [] | no_license | package ru.sbt.threads.Exercise1;
public class CallableException extends RuntimeException {
public CallableException(Exception e) {
super(e);
System.out.println("Произошла ошибка. Попробуйте позже.");
}
}
| true |
ddbf72c406fdc73943042dc767290efce9df2e96 | Java | sdibona/ocapi | /src/main/java/org/akaza/openclinica/domain/dao/EventDefinitionCrfDao.java | UTF-8 | 2,272 | 2.015625 | 2 | [] | no_license | package org.akaza.openclinica.domain.dao;
import java.util.List;
import org.akaza.openclinica.domain.datamap.EventDefinitionCrf;
import org.springframework.stereotype.Service;
@Service
public class EventDefinitionCrfDao extends AbstractDomainDao<EventDefinitionCrf> {
@Override
Class<EventDefiniti... | true |
80f901f3818ca1899e2315952156c63c02322940 | Java | icarus94/StruDvoriste | /src/linearnestrukture/dinamicke/dslista/CvorDSListe.java | UTF-8 | 1,558 | 3.765625 | 4 | [] | no_license | package linearnestrukture.dinamicke.dslista;
/**
* Cvor dvostruko spregnute liste. Svaki cvor liste u sebi cuva podatak (kod
* ovog cvora to je ceo broj) i pokazivace na prethodni i sledeci cvor.
*
* @author Dejan Stojimirovic, Strukture podataka i algoritmi, FON, 2014
*
*/
public class CvorDSListe ... | true |
3a70a3ff1715eae2c1bfb99341151d6fe7f84532 | Java | lyq0604/spring-cloud-demo | /spring-cloud-auth/src/main/java/com/blade/springcloudauth/entity/User.java | UTF-8 | 2,957 | 2.234375 | 2 | [] | no_license | package com.blade.springcloudauth.entity;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
@Table(name = "base_user")
public class User implements Serializable {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private String id;
private Str... | true |
a39ac35924f174abb9b8da97320a2dcc6c0e61f3 | Java | rafa-gao/dbook | /dbook-member/src/main/java/com/rafagao/dbook/member/controller/MemberController.java | UTF-8 | 2,013 | 2.28125 | 2 | [] | no_license | package com.rafagao.dbook.member.controller;
import com.rafagao.dbook.common.api.CommonResult;
import com.rafagao.dbook.common.exception.DBookUserException;
import com.rafagao.dbook.domain.DbookMember;
import com.rafagao.dbook.member.dto.MemberInfo;
import com.rafagao.dbook.member.dto.param.MemberRegisterParam;
import... | true |
b4b802f27a5a7c5b7acf02ac08de62c9cf046d4a | Java | haoyuehong/push | /huaweipush/com/huawei/push/model/Importance.java | UTF-8 | 343 | 2.015625 | 2 | [] | no_license | //
// Decompiled by Procyon v0.5.36
//
package com.huawei.push.model;
public enum Importance
{
LOW("LOW"),
NORMAL("NORMAL"),
HIGH("HIGH");
private String value;
private Importance(final String value) {
this.value = value;
}
public String getValue() {
retu... | true |
12ebfe228977d23c3ddf8b0aa0f8d4ba7abb33eb | Java | shouzhangbo/tesppent | /paypal/src/main/java/com/my/paypal/ctrl/TestCtrl.java | UTF-8 | 955 | 2.03125 | 2 | [] | no_license | package com.my.paypal.ctrl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.apache.commons.logging.Log;
import... | true |
55f6ae489b4dfa274a35472dd9f0006a62487be0 | Java | julienvillegas/libgdx.info-particleEffect | /core/src/com/mygdx/game/MyGdxGame.java | UTF-8 | 797 | 2.234375 | 2 | [] | no_license |
package com.mygdx.game;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.scenes.scene2d.ui.Skin;
import com.mygdx.game.Screens.TitleScreen;... | true |
250ec4d0ce37fcc0a7d906b687e76e2284edf6d5 | Java | aayushibaghel/Demo_QA | /demoqa/RegistrationForm.java | UTF-8 | 3,205 | 2.21875 | 2 | [] | no_license | package demoqa;
import java.util.List;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.Select;
import BrowserFactory.BrowserPage;
import readExcel.ReadExcelSheet;
import registration.ClickOnRegistration;
public class ... | true |
5c9f5989e04b887a80f55517f8e5b18b41511380 | Java | AndersonESilva/mvpsamplejava | /app/src/main/java/com/zup/bank/service/AsyncService.java | UTF-8 | 687 | 2.234375 | 2 | [] | no_license | package com.zup.bank.service;
import android.os.AsyncTask;
import com.zup.bank.Db.DbConnection;
public class AsyncService extends AsyncTask<String, Void, String> {
private int opcao;
public AsyncService(int opcao){
this.opcao = opcao;
}
@Override
protected String doInBackground(String.... | true |
6a82d14b90fbd7a43f3822b049553ea98cd21c78 | Java | whytekieran/MultithreadCypherBreaker | /src/ie/gmit/sw/Resultable.java | UTF-8 | 493 | 2.671875 | 3 | [] | no_license | package ie.gmit.sw;
/**
* An interface for all Resultable's that are used in Multithread cyphers. Contains the basic methods you should be
* able to do with a Result object.
* @author Ciaran Whyte
* @version 1.0
*/
public interface Resultable
{
public abstract String getPlainText();
public abstract void setP... | true |
f5db31137bf62a0dfb850225f9044a1b819e70c0 | Java | testUserDX/CIManager | /src/main/java/com/model/Org.java | UTF-8 | 3,468 | 2.046875 | 2 | [] | 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 com.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.*;
import ... | true |
1527a1ce29f2875fddf4e8d3ff41bbe9177101e9 | Java | AVAtric/wsode3 | /src/RateMal.java | UTF-8 | 898 | 3.84375 | 4 | [] | no_license | /**
* RateMal dient zur veranschaulichung der Benutzung der Math-Klasse.
*
* @author Adnan Vatric
* @version v 1.0
*/
public class RateMal {
/**
* Eine Zahl muss über die Konsole eingegeben Werden und diese wird mit
* einer zufällig generierten Zahl verglichen.
*
* @param args Es werde kein... | true |
850efcf65eeac239363b0476c97cb23d1bdeb33d | Java | wolodey/zertifizierung_oracle | /src/ZertifizierungsProgramm/Test_Level3/v8_2_984/v8_2_1090/TestClass.java | UTF-8 | 397 | 2.671875 | 3 | [] | no_license | package ZertifizierungsProgramm.Test_Level3.v8_2_984.v8_2_1090;
/**
* Created by WSteinle on 02.02.2017.
*/
public class TestClass {
public static void main(String[] args) {
int sum = 0;
for (int i = 0, j = 10; sum < 20; ++i, --j) {
sum = sum + i + j;
}
System.out.prin... | true |
5b97e07ebed2d36d817b8ef86dc779174f0c0a82 | Java | kharkovstiger/serverForBB | /src/main/java/serverForBB/repository/PlayerRepository.java | UTF-8 | 367 | 1.96875 | 2 | [] | no_license | package serverForBB.repository;
import serverForBB.model.Player;
import java.util.List;
public interface PlayerRepository {
Player save(Player player);
Player findOne(String id);
List<Player> getAllFromCountry(String country);
List<Player> getAllFromCountryMinGames(String country);
... | true |
11a59cbfdb838eb78ac0a184d54f83bd948a3783 | Java | fgregg/cm | /2.7.x/choicemaker-cm/choicemaker-modeling/com.choicemaker.cm.matching.cfg/src/main/java/com/choicemaker/cm/matching/cfg/ContextFreeGrammar.java | UTF-8 | 11,035 | 2.359375 | 2 | [] | no_license | /*
* Copyright (c) 2001, 2009 ChoiceMaker Technologies, Inc. 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... | true |
c8c353b53e1459b3a83f6cdad0f7fb47efe4ae4c | Java | aygol/JavaProject | /src/array_practice/Array_warm_uP.java | UTF-8 | 1,244 | 3.5625 | 4 | [] | no_license | package array_practice;
public class Array_warm_uP {
public static void main(String[] args) {
// find create an arra of 7 items
//assign a value prinit out in reserve order
//2 store last item in a variable called LastItem
//print it out speraitly
int[] nums = {1, 3, 4, ... | true |
6ff393a883ccbb1cea907a01fdc3010c2f7c4b08 | Java | olisaJohnnyChukwu/PersonalCryptoManager | /src/main/java/com/ojc/Service/cryptoService.java | UTF-8 | 2,267 | 2.125 | 2 | [] | no_license | package com.ojc.Service;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;
import javax.annotation.PostConstruct;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.springframework.beans.factory.annota... | true |
625114c9a90a27e971ffcb8286c3ab6c1db539a1 | Java | llddoo/SpringBoot_Mybatis_Thymeleaf_Security | /src/main/java/com/iu/s1/member/MemberController.java | UTF-8 | 1,814 | 2.078125 | 2 | [] | no_license | package com.iu.s1.member;
import javax.servlet.http.HttpSession;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.validation.Errors;
import org.springframework.web.bind.annotation.GetMapping;
impo... | true |
b353da27a050e7c31c28302ecf9ae6c070087082 | Java | IdelsTak/dpml-svn | /snapshot/planet/facilities/reflector/impl/src/main/org/apache/metro/facilities/reflector/impl/ReflectionHandler.java | UTF-8 | 20,330 | 1.820313 | 2 | [] | no_license | /*
* Copyright 2004 Apache Software Foundation
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | true |
48d24d98d69c1269426385f031497c91b67dfa6f | Java | pwm-project/pwm | /server/src/main/java/password/pwm/util/cli/commands/ImportLocalDBCommand.java | UTF-8 | 2,588 | 2.15625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Password Management Servlets (PWM)
* http://www.pwm-project.org
*
* Copyright (c) 2006-2009 Novell, Inc.
* Copyright (c) 2009-2021 The PWM 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 ... | true |
49457fe088cbf5f37373919653d02352013a8abb | Java | delepoulle/LRjava | /src/lr/format/wavefront/NormalAnalyzer.java | UTF-8 | 816 | 2.71875 | 3 | [] | no_license | package lr.format.wavefront;
import lr.Vecteur;
import java.io.IOException;
import java.io.StreamTokenizer;
public class NormalAnalyzer extends AbstractWavefrontAnalyzer {
public NormalAnalyzer(WavefrontFormat format) {
super(format);
}
@Override
public String getNom() {
return "vn";... | true |
874cd822c4ad92c9ed1215049414fe42e56316a9 | Java | GoncaloLeitao/aula-dml | /src/main/java/pt/ulisboa/tecnico/softeng/bank/domain/Account.java | UTF-8 | 586 | 2.78125 | 3 | [] | no_license | package pt.ulisboa.tecnico.softeng.bank.domain;
public class Account extends Account_Base{
public Account(int iban, int balance, Bank bank) {
this.setIban(iban);
this.setBalance(balance);
this.setBank(bank);
bank.addAccount(this);
}
public void delete() {
this.setBank(null);
deleteDomainObject... | true |
cd270a74f367b351f77c34e6560e6a4c3cd7b1a9 | Java | IvanBelyaev/ibelyaev | /chapter_002/src/test/java/ru/job4j/profession/DoctorTest.java | UTF-8 | 1,128 | 3.046875 | 3 | [
"Apache-2.0"
] | permissive | package ru.job4j.profession;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* DoctorTest.
* @author Ivan Belyaev
* @since 12.09.2017
* @version 1.0
*/
public class DoctorTest {
/**
* Test for the treat method.
*/
@Test
public vo... | true |
1366acf41979f39c36bb1f8598ae0951ab5b8900 | Java | alus-it/GPSreceiver | /src/it/alus/GPSreceiver/serialPort/SerialDriver.java | UTF-8 | 10,443 | 2.53125 | 3 | [] | no_license | //============================================================================
// This file is part of GPSreceiver: a Java demo program that parses NMEA
// sentences from a serial GPS receiver and displays live the received data.
// Author : Alberto Realis-Luc <alberto.realisluc@gmail.com>
// Since : J... | true |
e25eb3dd5005da074f89da15d1f4036b6818d22d | Java | JorgeDirkx/Fundamentals | /src/com/jorgedirkx/arrayofstrings/App.java | UTF-8 | 488 | 3.703125 | 4 | [] | no_license | package com.jorgedirkx.arrayofstrings;
public class App {
public static void main(String[] args) {
//standard empty ref. text
String text = null;
String[]fruits = {"apple", "banana", "kiwi"};
String[]vegetables= {"paprika", "carrot"};
//for each loop
for(String fr... | true |
f4fee1c61d2063a55a738b4bd899e73d2b7cde69 | Java | lionani07/Sistema_Pedidos | /src/main/java/com/br/stefanini/pedidos/model/Usuario.java | UTF-8 | 2,514 | 2.484375 | 2 | [] | no_license | package com.br.stefanini.pedidos.model;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.validation.constrai... | true |
5311cddc68fa544807d85ed075adadd7f45ac0c8 | Java | yaokantv/YKCenterDemo-Android | /src/com/ykan/sdk/example/AirControlActivity.java | UTF-8 | 7,214 | 2.015625 | 2 | [
"MIT"
] | permissive | package com.ykan.sdk.example;
import java.util.HashMap;
import java.util.concurrent.ConcurrentHashMap;
import com.gizwits.gizwifisdk.api.GizWifiDevice;
import com.gizwits.gizwifisdk.enumration.GizWifiDeviceNetStatus;
import com.gizwits.gizwifisdk.enumration.GizWifiErrorCode;
import com.yaokan.sdk.api.JsonParser;
import... | true |
3c2169e3f6b77e692c6f036471e59137b580c33c | Java | CordonaCodeCraft/limeburgerapp | /limeburger/src/main/java/com/limeburger/domain/allergen/model/AllergenCustomerDto.java | UTF-8 | 704 | 2.28125 | 2 | [] | no_license | package com.limeburger.domain.allergen.model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@ApiModel(value = "DTO for displaying an allergen with attributes, tailored for a customer user")
@Data
public class AllergenCustomerDto {
@ApiModelProperty(valu... | true |
0863bcc775bae0756f94b5306601631419c0ea82 | Java | Ignotus/torcsnet | /src/main/java/storage/MLPSetup.java | UTF-8 | 2,534 | 2.8125 | 3 | [
"MIT"
] | permissive | package storage;
import org.apache.commons.math3.linear.MatrixUtils;
import org.apache.commons.math3.linear.RealMatrix;
import java.io.*;
public class MLPSetup {
public RealMatrix W1;
public RealMatrix W2;
public Normalization norm = new Normalization();
public MLPSetup(RealMatrix W1, RealMatrix W2,... | true |
983c8b2ab5301c0b4b6809d84a85668a38d3547d | Java | genghaihua/user_click | /src/cn/clickwise/net/http/SegClient.java | UTF-8 | 703 | 2.296875 | 2 | [] | no_license | package cn.clickwise.net.http;
import java.net.URLDecoder;
import java.net.URLEncoder;
import cn.clickwise.liqi.str.edcode.UrlCode;
public class SegClient {
public String url="http://192.168.110.182:7000/seg?s=";
public HttpClientTool hct=new HttpClientTool();
public String seg(String text)
{
String encode_te... | true |
b91abbac0b1bf3b6726672c1b3939dc16a9df80c | Java | rizkyabdillah/sistem-kasbon-mobile | /app/src/main/java/com/android/kasbon/sistem/adapter/TransaksiPembeliAdapter.java | UTF-8 | 2,019 | 2.078125 | 2 | [] | no_license | package com.android.kasbon.sistem.adapter;
import android.annotation.SuppressLint;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.core.content.ContextCompat;
import androidx.databinding.DataBindingUtil;
import androidx.recyclerview.widget.Recycle... | true |
6266f513bfa11e20e5a7ace53e39809fe1b3634b | Java | rsandhu1/grid-services-test | /src/main/java/org/ogce/grid/services/listener/JobSubmissionListener.java | UTF-8 | 3,033 | 2.3125 | 2 | [
"Apache-2.0"
] | 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"); y... | true |
a2135970cf72dd92eb758187709ee7dddda9f921 | Java | TymJanek/testing_junit | /src/JUnitClass2.java | UTF-8 | 894 | 3.28125 | 3 | [] | no_license | //class that checks if sequence is a geometric sequence (test for exercise 2)
import org.junit.Test;
import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;
import java.util.List;
public class JUnitClass2 {
@Test
public void checkGeometricSequence() throws IOException {
Geometri... | true |
f6b97cdd682c346d14f727974afab68a906a0728 | Java | sri-ts2012/PractiseJava | /src/streams/PaginationStreams.java | UTF-8 | 1,277 | 2.828125 | 3 | [] | no_license | package streams;
import java.util.List;
import java.util.stream.Collectors;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
public class PaginationStreams {
public static void main(String[] args) {
System.... | true |
a5d44288b76da38f434fa19ca981a3bfafe14b27 | Java | lujina/spring-web | /src/main/java/com/demo/spring_web/messaging/MessageSender.java | UTF-8 | 1,357 | 2.328125 | 2 | [] | no_license | package com.demo.spring_web.messaging;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.Session;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jms.core.JmsTemplate;
import org.springframework.jms.core.MessageCreator;
import org.springframew... | true |
93a5794882a63499b7c9ad5c23f62d02b2693d68 | Java | BajkaFCI/Sudoku2 | /src/sudoku2/Sudoku2.java | WINDOWS-1250 | 3,676 | 2.9375 | 3 | [] | no_license | package sudoku2;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.image.BufferedImage;
import java.io.File;
import javax.imageio.ImageIO;
impo... | true |
b936558d2b3c8015f2b40a78d2b7281e836dc2d3 | Java | hxxy2003/dyninfo | /m3.opinion-webchat/.svn/pristine/e5/e505353116067d0a46342825d71efc242b0a0ee3.svn-base | UTF-8 | 4,429 | 1.96875 | 2 | [] | no_license | /*
*
* Copyright (c) 2009-2015 SHENZHEN Eternal Dynasty Technology Co.,Ltd.
* All rights reserved.
*
* This file contains valuable properties of SHENZHEN Eternal Dynasty
* Technology Co.,Ltd., embodying substantial creative efforts and
* confidential information, ideas and expressions. No part of this ... | true |
b8b1c7791381c69204a26af259827c0c45ced8ca | Java | kuke0932/kehaoduo | /wechat/src/main/java/com/htcs/kehaoduo/wechat/handler/impl/LogHandler.java | UTF-8 | 843 | 1.945313 | 2 | [] | no_license | package com.htcs.kehaoduo.wechat.handler.impl;
import com.htcs.kehaoduo.wechat.handler.AbstractLogHandler;
import me.chanjar.weixin.common.exception.WxErrorException;
import me.chanjar.weixin.common.session.WxSessionManager;
import me.chanjar.weixin.mp.api.WxMpService;
import me.chanjar.weixin.mp.bean.message.WxMpXmlM... | true |
3fda1e00f6255979de081b0773f1431a16be7692 | Java | amjekula/ElectronicHealthRecord_BackEnd | /src/main/java/mjeks/athenkosi/service/internal_generics/LabTestService.java | UTF-8 | 271 | 1.757813 | 2 | [] | no_license | package mjeks.athenkosi.service.internal_generics;
import mjeks.athenkosi.entity.internal_generics.LabTest;
import mjeks.athenkosi.service.IService;
import java.util.Set;
public interface LabTestService extends IService<LabTest, String> {
Set<LabTest> getAll();
}
| true |
b83b546439359c8aca28ece8dd6553b467d07e1c | Java | isaacsecops/c | /cli/src/main/java/com/checkmarx/cxconsole/commands/GenerateTokenCommand.java | UTF-8 | 2,570 | 2.34375 | 2 | [
"Apache-2.0"
] | permissive | package com.checkmarx.cxconsole.commands;
import com.checkmarx.cxconsole.commands.constants.Commands;
import com.checkmarx.cxconsole.commands.exceptions.CLICommandException;
import com.checkmarx.cxconsole.commands.exceptions.CLICommandParameterValidatorException;
import com.checkmarx.cxconsole.commands.job.CxGenerateT... | true |
18baac0ce6793f16d10306d66e1a7faa19d073cb | Java | wojtekblack/miss2015 | /src/pl/edu/agh/miss/chart/ScatterChart.java | UTF-8 | 2,976 | 2.875 | 3 | [] | no_license | package pl.edu.agh.miss.chart;
import java.awt.Color;
import java.awt.Paint;
import java.awt.Shape;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartUtilities;
import org.jfree.chart... | true |
611daeb0d2c7b6d7f7690d30b2270255a912caf3 | Java | alexstarr8155/AlphaBetaChess | /CapstoneProject7/src/controller/ChessBoard.java | UTF-8 | 7,921 | 2.78125 | 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 controller;
import model.Board;
import model.Coordinate;
import java.awt.*;
import java.awt.event.ActionEvent;
impo... | true |
695fc7201a602b2d52ea84e6207857ac662711ab | Java | daoo/polhemthegame | /src/main/java/loader/data/json/types/ProjectileData.java | UTF-8 | 456 | 1.742188 | 2 | [
"LicenseRef-scancode-unknown-license-reference",
"Zlib"
] | permissive | /*
* Copyright (c) 2009-2012 Daniel Oom, see license.txt for more info.
*/
package loader.data.json.types;
@SuppressWarnings("InstanceVariableNamingConvention")
public class ProjectileData {
public boolean collides;
public boolean gravity;
public Size hitbox;
public AOEData aoe;
public float damage;
p... | true |
deef407a80ee19422c67b90f2fba88cde1490d74 | Java | ImgBotApp/primefaces | /src/main/java/org/primefaces/util/ComponentTraversalUtils.java | UTF-8 | 5,447 | 2.21875 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright 2009-2017 PrimeTek.
*
* 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 ... | true |
3c0f357651a179e3375a7c0ce1bc7994d48c999d | Java | xh2321020/apiPlan | /src/main/java/com/cnnp/social/onPlan/repository/dao/OnPlanModifyInfoDao.java | UTF-8 | 851 | 2 | 2 | [] | no_license | package com.cnnp.social.onPlan.repository.dao;
import java.util.List;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.transaction.annotation.Transactiona... | true |
4a75d1210302643d67b58d2eec80fe3922e18651 | Java | Poissonfish/iPat | /src/main/java/Enum_FileType.java | UTF-8 | 315 | 2.28125 | 2 | [] | no_license | public enum Enum_FileType {
NA("NA"), Phenotype("Phenotype"), Genotype("Genotype"), Map("Map"),
FAM("FAM"), BIM("BIM"), Covariate("Covariate"), Kinship("Kinship");
String name;
Enum_FileType(String name) {
this.name = name;
}
boolean isNA () {
return this == NA;
}
}
| true |
a7487a2f60062f7585df84ac7aa813b602854f0a | Java | aliyun/aliyun-openapi-java-sdk | /aliyun-java-sdk-sas/src/main/java/com/aliyuncs/sas/transform/v20181203/DescribeModuleConfigResponseUnmarshaller.java | UTF-8 | 3,204 | 1.820313 | 2 | [
"Apache-2.0"
] | permissive | /*
* 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 u... | true |
539c9d0ae48c86d06a653f723d598af6c00cb144 | Java | Daniel-BG/Maze-Generator-Solver | /src/com/marp/travellers/solving/TremauxTraveller.java | UTF-8 | 3,878 | 3.546875 | 4 | [] | no_license | package com.marp.travellers.solving;
import java.awt.Point;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Stack;
import com.marp.maze.Maze;
import com.marp.maze.MazeData;
import com.marp.travellers.MazeTraveller;
/**
* El algoritmo de Trèmaux funciona de la siguiente manera:... | true |
65fa90e29bf9d2b5ab9e9b41573d13f7351da1a4 | Java | arunav-b/dsalgo | /13-advancedgraphs/src/main/java/com/arunav/dsalgo/advancedgraphs/representation/Vertex.java | UTF-8 | 462 | 3.078125 | 3 | [] | no_license | package com.arunav.dsalgo.advancedgraphs.representation;
public class Vertex<T> {
private int id;
private T vertex;
public Vertex(int id, T vertex) {
this.id = id;
this.vertex = vertex;
}
public int getId() {
return id;
}
public T getVertex() {
return ver... | true |
964edb424fe037bf9ee64eae38ecfb2a49dcb504 | Java | sgholamian/log-aware-clone-detection | /NLPCCd/HBase/3620_1.java | UTF-8 | 984 | 1.882813 | 2 | [
"MIT"
] | permissive | //,temp,sample_742.java,2,16,temp,sample_743.java,2,16
//,2
public class xxx {
public void dummy_method(){
HRegionInfo parent = new HRegionInfo(td.getTableName(), Bytes.toBytes("aaa"), Bytes.toBytes("eee"));
HRegionInfo splita = new HRegionInfo(td.getTableName(), Bytes.toBytes("aaa"), Bytes.toBytes("ccc"));
HRegionInfo... | true |
04eacdca1dfdf310eb3a912f8756bcd8aa03006c | Java | magenta-aps/datafordeler | /core/src/main/java/dk/magenta/datafordeler/core/exception/InvalidServiceOwnerDefinitionException.java | UTF-8 | 612 | 2.328125 | 2 | [] | permissive | package dk.magenta.datafordeler.core.exception;
import dk.magenta.datafordeler.core.plugin.Plugin;
import java.util.regex.Pattern;
public class InvalidServiceOwnerDefinitionException extends InvalidPluginDefinitionException {
public InvalidServiceOwnerDefinitionException(Plugin plugin, String ownerDefinition, Pa... | true |
32ac14fd3f192aa8f86adf34d09cbdb823c50f08 | Java | hiejulia/batch | /src/main/java/com/project/batch/writer/transaction/CustomerStatementItemStreamItemWriter.java | UTF-8 | 1,849 | 2.28125 | 2 | [] | no_license | package com.project.batch.writer.transaction;
import java.util.List;
import org.springframework.batch.item.ExecutionContext;
import org.springframework.batch.item.ItemStreamException;
import org.springframework.batch.item.file.ResourceAwareItemWriterItemStream;
import org.springframework.core.io.Resource;
import co... | true |
a6f96d7b64445b11fad967f6b09835068806fb3c | Java | sinooceanland/OnePush | /one-push-huawei/src/main/java/com/peng/one/push/huawei/hmsagents/NotificationClickActivity.java | UTF-8 | 1,608 | 1.992188 | 2 | [
"Apache-2.0"
] | permissive | package com.peng.one.push.huawei.hmsagents;
import android.app.Activity;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import com.peng.one.push.OneRepeater;
import com.peng.one.push.utils.JsonUtils;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.UnsupportedEnc... | true |
a0c8a3f8fc51cd33865d8a4f54d465b6edd88297 | Java | UserWeronikaGarbarz/weronika-garbarz-kodilla-java | /kodilla-stream/src/main/java/com/kodilla/stream/world/World.java | UTF-8 | 613 | 2.96875 | 3 | [] | no_license | package com.kodilla.stream.world;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Stream;
public class World {
private List<Continent> continents = new ArrayList<>();
public void addContinent(Continent continent) {
continents.add(continent);
... | true |
59dda216a8c5fdae09b03054ca55ed91bdb447a9 | Java | tiborh/java | /points_and_lines/Point.java | UTF-8 | 603 | 3.609375 | 4 | [] | no_license | /**
* Point class to study a task of week 4 quiz
*
* @author University of Madrid
* @version 0.01
* @since 2015-06-06
*/
public class Point
{
/**
* Coordinates
*/
private double x = 0;
private double y = 0;
/**
* Constructor
*/
public Point(int a, int b)
{
... | true |
8720818a920669c4dcf9952f4a3f0a0c5ad23a3d | Java | lkemin/travel.b2b | /src/main/java/com/zb/app/web/tools/WebUserTools.java | UTF-8 | 3,280 | 2 | 2 | [] | no_license | /*
* Copyright 2011-2016 ZuoBian.com All right reserved. This software is the confidential and proprietary information of
* ZuoBian.com ("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 wit... | true |
fb26ffdbd2eb7703e5c482980165c9cc006c18ff | Java | rickymartingou/RowanMartini | /src/ViewProfileForm.java | UTF-8 | 8,496 | 2.40625 | 2 | [] | no_license | import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import java.sql.*;
import javax.swing.*;
public class ViewProfileFor... | true |
22f6365d9d91d0a7080028410fcbe4f4e902dab5 | Java | yugansan/SecuriteInformatique | /projet_SI/Cesar.java | UTF-8 | 1,573 | 3.203125 | 3 | [] | no_license | public class Cesar implements Chiffrement<String,Integer,Character>{
@Override
public char chiffrer_caract(Character car, Integer clef) {
car=Character.toLowerCase(car);
if(96<car && car<123){
int carInt=((int)car)-97;
char code=(char)(((carInt+clef)%26)+97);
return (code);
}/*}else if(64<car... | true |
58cae56dc1679508c854a92f42b2f52817c940b2 | Java | Matheus1206/SeleniumJavaTest | /src/test/java/configuration/Config.java | UTF-8 | 1,159 | 2.484375 | 2 | [] | no_license | package configuration;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import java.util.concurrent.TimeUnit;
public class Config {
private WebDriver driver;
private final String URL = "olapodcasts";
public WebDriver iniciaDriver(){
String soNome = System.ge... | true |
a26e526c987b789799798e6df50d7db3f854c0f3 | Java | srinnix1395/kindergaten | /app/src/main/java/com/srinnix/kindergarten/request/model/LoginResponse.java | UTF-8 | 826 | 1.984375 | 2 | [] | no_license | package com.srinnix.kindergarten.request.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.srinnix.kindergarten.model.Child;
import com.srinnix.kindergarten.model.Contact;
import com.srinnix.kindergarten.model.User;
import java.util.ArrayList;
/**
* Crea... | true |
3a1a4859f62732432fb4775961727b008fc565ac | Java | abarraco/imis-cbms | /src/org/vmasc/cbms/client/bindings/generated/cbml_1_0/RailcarTypeCategoryCode.java | UTF-8 | 4,272 | 1.84375 | 2 | [] | no_license | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.1... | true |
b9c3681c7ba4e8b991472c4ec2efb11d68a34734 | Java | trustnature/Spring_Hibernate | /src/xyz/tuny/jx/util/HibernateUtil.java | UTF-8 | 933 | 2.296875 | 2 | [] | no_license | package xyz.tuny.jx.util;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.boot.registry.StandardServiceRegistry;
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
import org.hibernate.cfg.Configuration;
public class HibernateUtil {
private final static Session... | true |
520ae29c790963f2c2f0d9dfd80397493fa3a414 | Java | iangowland/JavaPractice | /Week 5/NestedPractice/src/NestedLoops.java | UTF-8 | 433 | 3.25 | 3 | [] | no_license | public class NestedLoops
{
public static void main(String[] args)
{
for (int rowNum = 1; rowNum < 5; rowNum++)
{
System.out.print(rowNum);
System.out.print(" : ");
for (int colNum = 1; colNum< 5; colNum++)
{
System.out.print(colN... | true |
5f901e7456b2e365c859e7f4e9d1949e23be4d5d | Java | GislaineMartins/Agenda_JavaWeb | /src/java/teste.java | UTF-8 | 911 | 2.34375 | 2 | [] | no_license |
import Utilitarios.Conexao;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Te... | true |
1afb72057d07049e9031a301c0ea8975838b94f3 | Java | Shrey-Sachdeva/Project5_ss77335_kmo785 | /src/assignment5/Critter1.java | UTF-8 | 2,810 | 3.3125 | 3 | [] | no_license | package assignment5;
/* CRITTERS Critter1.java
* EE422C Project 4 submission by
* Shrey Sachdeva
* ss77335
* 15455
* Kylar Osborne
* kmo785
* 15455
* Slip days used: <0>
* Spring 2018
*/
/**
* Critter1 - The Buffalo
* Ecological Niche: Nomadic grazing animal, forms herds with its own kind and eats algae as... | true |
95512837c018051772a3359fa39bdab9d1e2fd2a | Java | JohnLeek/ssmProject | /shop-sso/src/main/java/com/taotao/sso/service/LoginService.java | UTF-8 | 400 | 1.757813 | 2 | [] | no_license | package com.taotao.sso.service;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.taotao.common.pojo.TaotaoResult;
public interface LoginService {
TaotaoResult login(String username, String password, HttpServletRequest httpServletRequest,
HttpServlet... | true |
e80d5112f337373c4a704c971e19b4de5121fa8e | Java | HughesLou/lintcode | /src/main/java/com/hughes/lou/lintcode/easy/ClosestBinarySearchTreeValue900.java | UTF-8 | 1,056 | 3.359375 | 3 | [] | no_license | package com.hughes.lou.lintcode.easy;
import com.hughes.lou.lintcode.level.Easy;
import com.hughes.lou.lintcode.model.TreeNode;
/**
* @author HughesLou
* Created on 2022-04-05
*/
public class ClosestBinarySearchTreeValue900 implements Easy {
/**
* @param root: the given BST
* @param target: the given... | true |
d6f2ef5a2e3cdf005b86ab2bfc9cd94c45ebb2c0 | Java | Den22/javaServerSpring | /src/main/java/com/example/Hotel.java | UTF-8 | 174 | 1.679688 | 2 | [] | no_license | package com.example;
import lombok.Data;
@Data
class Hotel {
private String url;
private String name;
private String description;
private String owner;
}
| true |
a9478ea7b2e1017135e162b7299a13efee647ee9 | Java | thanesh56/springboot-crud-jpa-oracle-oauth2-demo | /src/main/java/com/gl/springbootcrudjpaoracledemo/dao/impl/ClientDaoImpl.java | UTF-8 | 939 | 2.265625 | 2 | [] | no_license | package com.gl.springbootcrudjpaoracledemo.dao.impl;
import com.gl.springbootcrudjpaoracledemo.dao.ClientDao;
import com.gl.springbootcrudjpaoracledemo.model.Client;
import com.gl.springbootcrudjpaoracledemo.repository.ClientRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfr... | true |
e9ade7aa1443d2534a8a48c3ffc232e94b1cfb5c | Java | Gmdeng/gzz | /gzz-mybatis/src/main/java/com/gzz/mybatis/action/IndexAction.java | UTF-8 | 889 | 2.0625 | 2 | [] | no_license | package com.gzz.mybatis.action;
import com.gzz.mybatis.pojo.MiMember;
import com.gzz.mybatis.service.MiMemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import or... | true |
3b9b1c805f1d69c4317543bdc2b724b96bad2607 | Java | javers/javers | /javers-core/src/main/java/org/javers/java8support/LocalDateTimeTypeAdapter.java | UTF-8 | 714 | 2.515625 | 3 | [
"Apache-2.0"
] | permissive | package org.javers.java8support;
import org.javers.core.json.BasicStringTypeAdapter;
import org.javers.core.json.typeadapter.util.UtilTypeCoreAdapters;
import java.time.LocalDateTime;
/**
* @author bartosz.walacik
*/
class LocalDateTimeTypeAdapter extends BasicStringTypeAdapter<LocalDateTime> {
@Override
p... | true |
b322d2aee0f8869eda9508cf32e361e4273609b0 | Java | anna-chepiga/GoJavaEnterprise | /module5.1/src/main/java/ua/goit/lib/operations/OperationSquareRoot.java | UTF-8 | 161 | 1.640625 | 2 | [] | no_license | package ua.goit.lib.operations;
public interface OperationSquareRoot extends Operation {
String operationSymbol = "sqrt";
int correctInputLength = 2;
}
| true |
88574cacde6ca175d2b3a5704de8e5aae1b2ed4d | Java | jmotionsoft/weplace | /api-server/src/main/java/towntalk/controller/BoardController.java | UTF-8 | 1,150 | 2.1875 | 2 | [] | no_license | package towntalk.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestControll... | true |
70ae4e7585b80a58ebabba3985b50af28cfe85dc | Java | amulyack/employeeManagement | /src/main/java/com/mindtree/controller/EmployeeManagementController.java | UTF-8 | 2,748 | 2.296875 | 2 | [] | no_license | package com.mindtree.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.... | true |
31bc610c7ffa9f7a258bf32d80b810b91671393e | Java | spektion/segooro | /src/segooro/Tsveiculo.java | UTF-8 | 690 | 2.609375 | 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 segooro;
import java.io.Serializable;
/**
*
* @author a
*/
public class Tsveiculo extends Seguro implements Serializable{ ... | true |
f0bb4c5a14d721e27683e945d489c9daadb27623 | Java | Blackdogman/jwxt | /src/main/java/com/jwxt/controller/ydj/YdjLoginController.java | UTF-8 | 3,927 | 2.171875 | 2 | [] | no_license | package com.jwxt.controller.ydj;
import com.jwxt.model.ydj.YdjClassInfo;
import com.jwxt.model.ydj.YdjStudent;
import com.jwxt.model.ydj.YdjUser;
import com.jwxt.service.ydj.YdjClassInfoService;
import com.jwxt.service.ydj.YdjStudentService;
import com.jwxt.service.ydj.YdjUserService;
import org.springframework.beans.... | true |
3cb3ee5dc6323d4c3647c7037d0f1520c5e717f3 | Java | kimtc/SO | /so-virtualobject/src/main/java/com/pineone/icbms/so/virtualobject/DefaultVirtualObject.java | UTF-8 | 647 | 2.5625 | 3 | [
"BSD-2-Clause"
] | permissive | package com.pineone.icbms.so.virtualobject;
/**
* Virtual Object default class.<BR/>
* Created by uni4love on 2016. 11. 16..
*/
public class DefaultVirtualObject extends AGenericVirtualObject {
/**
* constructor
*/
public DefaultVirtualObject() {
}
/**
* constructor<BR/>
*
... | true |
10bf08335bdee363fa15a2c1df3ade35e2ec6f15 | Java | moussacamara7/TESTPARSER | /src/parser/parserTerrain/ParserGare.java | UTF-8 | 1,006 | 2.921875 | 3 | [] | no_license | package parser.parserTerrain;
import application.ui.UIPlateau;
import exception.ParserManquantException;
import parser.Parser;
import terrain.Gare;
public class ParserGare extends Parser {
/**
* Constructeur permettant de parser suivant
* @param suivant parser suivant
*/
public ParserGare(Par... | true |
6a0f30f4e9e4671b32917acf20cc951250be2474 | Java | Shantanu28/EventManager | /src/main/java/com/cultur/eventmanager/services/EventManagerService.java | UTF-8 | 434 | 1.820313 | 2 | [] | no_license | package com.cultur.eventmanager.services;
import com.cultur.eventmanager.dtos.request.EventPublishRequest;
import com.cultur.eventmanager.dtos.response.EventPublishResponse;
import org.springframework.stereotype.Service;
/**
* Created by shantanu on 29/4/17.
*/
@Service
public class EventManagerService {
publi... | true |
01a8679314fb39167735af506eda642078820400 | Java | edu-go/java-bootcamp | /TopicFINALPROJECT/src/main/java/com/bootcamp/shoppingcart/service/ShoppingCartRepository.java | UTF-8 | 308 | 1.578125 | 2 | [
"Apache-2.0"
] | permissive | package com.bootcamp.shoppingcart.service;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import com.bootcamp.shoppingcart.entity.ShoppingCart;
@Repository
public interface ShoppingCartRepository extends CrudRepository<ShoppingCart, Long>{
}
| true |
8358a00151a511b912db1bb0e939b3ba898e2d82 | Java | 782231139/uyun | /app/src/main/java/com/uyun/hummer/fragment/ContactsFragment.java | UTF-8 | 6,116 | 1.734375 | 2 | [] | no_license | package com.uyun.hummer.fragment;
import android.content.Context;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.annotation.RequiresApi;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View... | true |
f802bb7ea34ccff28f5a4b9db5ce3f9b2c61a0e9 | Java | hexi007/JVM | /src/classloader/ClassModifier.java | UTF-8 | 2,596 | 3.109375 | 3 | [] | no_license | package classloader;
/**
* @author 27771
* @description 将java.lang.System替换为我们自己定义的HackSystem类,暂时只提供修改常量池的功能
* @create 2020-10-12 21:06
**/
public class ClassModifier {
/**
* CONSTANT_POOL_COUNT_INDEX Class: 文件中常量池的起始偏移,8个字节
*/
private static final int CONSTANT_POOL_COUNT_INDEX = 8;
/**
... | true |
d1ef90e5979519744ef8ce89c1c7e1772b792f78 | Java | github4n/cloud | /aggregation/smart-home/src/main/java/com/iot/widget/exception/UserWidgetExceptionEnum.java | UTF-8 | 1,554 | 2.328125 | 2 | [] | no_license | package com.iot.widget.exception;
import com.iot.common.exception.IBusinessException;
/**
* 项目名称: IOT云平台
* 模块名称:
* 功能描述:
* 创建人: yuChangXing
* 创建时间: 2019/1/7 10:51
* 修改人:
* 修改时间:
*/
public enum UserWidgetExceptionEnum implements IBusinessException {
// ***** 设备相关
// 设备离线
DEVICE_OFFLINE(10101, "DEVI... | true |
301cb758eb896d191662d97951c4220d01fb0a60 | Java | thisisbaozi/reaver | /src/main/java/io/messaginglabs/reaver/com/LocalServer.java | UTF-8 | 1,663 | 2.453125 | 2 | [] | no_license | package io.messaginglabs.reaver.com;
import io.messaginglabs.reaver.com.msg.Message;
import io.netty.util.AbstractReferenceCounted;
import io.netty.util.ReferenceCounted;
import java.util.Objects;
import java.util.concurrent.TimeoutException;
import java.util.function.Consumer;
public class LocalServer extends Abstra... | true |
bddd0d9d7964a0332e8d41415567180ab99bb734 | Java | i3mainz/kiwi-postgis | /src/org/openrdf/query/algebra/evaluation/function/postgis/geometry/exporter/AsX3D.java | UTF-8 | 1,420 | 2.125 | 2 | [
"Apache-2.0"
] | permissive | package org.openrdf.query.algebra.evaluation.function.postgis.geometry.exporter;
import org.openrdf.model.vocabulary.POSTGIS;
import org.locationtech.jts.geom.Coordinate;
import org.locationtech.jts.geom.Geometry;
import org.openrdf.query.algebra.evaluation.function.postgis.geometry.base.GeometricStringExportFu... | true |
7ddd068f5f2009a986db553b60683b42e4d3cbb1 | Java | hungwen0425/cloudmall | /cloudmall-order/src/main/java/com/hungwen/cloudmall/order/service/PaymentInfoService.java | UTF-8 | 460 | 1.640625 | 2 | [] | no_license | package com.hungwen.cloudmall.order.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hungwen.common.utils.PageUtils;
import com.hungwen.cloudmall.order.entity.PaymentInfoEntity;
import java.util.Map;
/**
* 支付資料表
*
* @author Hungwen Tseng
* @email hungwen.tseng@gmail.com
* @date 20... | true |
51900bdeaae442f0d7b7a1ff6455e3e986b9024f | Java | aguilaj10/ProEscRec | /proescrec-model/target/generated-sources/annotations/com/jsm/proescrec/model/CatTipoEstructura_.java | UTF-8 | 724 | 1.515625 | 2 | [] | no_license | package com.jsm.proescrec.model;
import com.jsm.proescrec.model.EstructuraPlanteles;
import javax.annotation.Generated;
import javax.persistence.metamodel.ListAttribute;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;
@Generated(value="EclipseLink-2.5.2.v20140... | true |
c6f3aef9be74a5b1d72240cf796408033c4b4074 | Java | SandeepAshmar/MonetFirstVersion | /app/src/main/java/com/monet_android/modle/register/RegisterResponse.java | UTF-8 | 2,527 | 2.125 | 2 | [] | no_license | package com.monet_android.modle.register;
public class RegisterResponse {
private String user_gender;
private String user_country;
private String user_lname;
private String user_phone;
private String api_token;
private String user_password;
private String user_id;
private String... | true |
7cebe947af886c5a5d63a46fb43baba0f93a8155 | Java | Intrinsarc/intrinsarc-evolve | /Jazz-1.3/edu/umd/cs/jazz/event/ZSelectionResizeHandler.java | UTF-8 | 46,159 | 2.59375 | 3 | [] | no_license | package edu.umd.cs.jazz.event;
/**
* Copyright (C) 1998-2000 by University of Maryland, College Park, MD 20742, USA
* All rights reserved.
*/
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import java.util.*;
import java.io.*;
import javax.swing.event.*;
import edu.umd.cs.jazz.*;
import edu.um... | true |
9a525737e8566a808d73973aa0ee88e29c3e6a95 | Java | saydar31/java_lab | /course 2/2.JavaLabMessageQueue/src/main/java/ru/itis/javalabmessagequeue/service/SubscribeService.java | UTF-8 | 448 | 1.789063 | 2 | [] | no_license | package ru.itis.javalabmessagequeue.service;
import org.springframework.web.socket.WebSocketSession;
import ru.itis.javalabmessagequeue.dto.JlmqReceiveMessage;
import ru.itis.javalabmessagequeue.dto.JlmqSubscribeMessage;
import java.util.List;
public interface SubscribeService {
List<JlmqReceiveMessage> doServic... | true |
789190b06d95cb68600e9347997fcc3727720c0b | Java | m172371621/qx_mgr | /src/com/brilliantreform/sc/circle/po/CircleFriend.java | UTF-8 | 2,516 | 2.171875 | 2 | [] | no_license | package com.brilliantreform.sc.circle.po;
import java.sql.Timestamp;
public class CircleFriend {
private Integer me_id; // int(11) NOT NULL,
private Integer user_id; // int(11) NOT NULL,
private Integer status; // int(11) DEFAULT '1',
private Timestamp createTime; // timestamp NULL DEFAULT NULL,
private String... | true |
0260fdfd0f78b02cf4941db9154544b095113a88 | Java | deep-mm/FamFood | /App/app/src/main/java/com/canteenautomation/famfood/Activity/SearchActivity.java | UTF-8 | 4,548 | 2.171875 | 2 | [
"MIT"
] | permissive | package com.canteenautomation.famfood.Activity;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.text.Editable;
import andr... | true |
440a4ea748f57672acd2b7f7ea60e0c6acaf952e | Java | david-d25/programming-lab8 | /src/ru/david/room/server/HubFriendly.java | UTF-8 | 998 | 2.625 | 3 | [] | no_license | package ru.david.room.server;
/**
* Интерфейс для тех, кто дружит с {@link Hub}
*/
public interface HubFriendly {
/**
* Вызывается, когда экземпляр {@link Hub} создан и этот объект к нему подключён.
* В этом методе экземпляр следует сохранить, однако работать
* с хабом нельзя, так как он ещё не не... | true |
2e22bf9960122be163fb1c168079440c5b761a3c | Java | bsc-renewit/d2.2 | /powerModelling/prototype/src/main/java/es/bsc/autonomic/powermodeller/configuration/CoreConfiguration.java | UTF-8 | 10,082 | 1.53125 | 2 | [
"Apache-2.0"
] | permissive | /*
Copyright 2015 Barcelona Supercomputing Center
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 ... | true |
ae22b1f8fe3b9c5261e6a387fac76efc02e0a341 | Java | elKevin24/KOKOS | /src/java/controlador/BeanInventario.java | UTF-8 | 2,892 | 1.929688 | 2 | [] | no_license | package controlador;
public class BeanInventario {
public String getId_inventario() {
return id_inventario;
}
public void setId_inventario(String id_inventario) {
this.id_inventario = id_inventario;
}
public String getPrenda() {
return prenda;
}
public void setPr... | true |
f24f1336c12a1e7ff721f3c332f5609f7cb627e3 | Java | leedongyoen/cafein | /cafein/src/main/java/co/yedam/cafein/customer/login/CustomerLoginDAO.java | UTF-8 | 1,856 | 2.15625 | 2 | [] | no_license | package co.yedam.cafein.customer.login;
import java.util.List;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import co.yedam.cafein.vo.CustomerVO;
@Repository
public class CustomerLoginDAO {
... | true |