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
06f3c0c870badb2ab4f391c9ed8118db748c3862
Java
tygron-virtual-humans/tygron-connect
/tygron-connect-api/src/main/java/nl/tudelft/contextproject/tygron/handlers/objects/ServerWordsResultHandler.java
UTF-8
480
2.15625
2
[]
no_license
package nl.tudelft.contextproject.tygron.handlers.objects; import nl.tudelft.contextproject.tygron.handlers.JsonArrayResultHandler; import nl.tudelft.contextproject.tygron.handlers.ResultHandler; import nl.tudelft.contextproject.tygron.objects.ServerWords; public class ServerWordsResultHandler extends ResultHandler<S...
true
04cfc5da37695a0ba4ad303bc3bde66d49347b98
Java
xuweihao/fy
/src/com/spm/controller/UserController.java
UTF-8
1,617
2.109375
2
[]
no_license
package com.spm.controller; import javax.annotation.Resource; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springfra...
true
b1f88a28e93433d429db4a315d37dbdb34bc3bc6
Java
breno500as/kafka-library-producer
/src/main/java/com/kafka/library/producer/model/LibraryEvent.java
UTF-8
925
2.34375
2
[]
no_license
package com.kafka.library.producer.model; import javax.validation.Valid; public class LibraryEvent { private Integer id; @Valid private Book book; private Integer libraryEventId; private LibraryEventType libraryEventType; public LibraryEvent() { } public LibraryEvent(Integer id, Book book) { super(); ...
true
9e605545fc7e2bb3cf8375a19c3636bf3b154a53
Java
DominoKit/domino-ui
/domino-ui-shared/src/main/java/org/dominokit/domino/ui/style/ReplaceCssClass.java
UTF-8
3,764
2.1875
2
[ "Apache-2.0" ]
permissive
/* * Copyright © 2019 Dominokit * * 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
73748744493f5aa86db5d0bce4b3a50fa1a46ca2
Java
tlasseter/VolumePicker7
/src/com/Sts/Interfaces/StsDistanceTransformFace.java
UTF-8
487
2.15625
2
[]
no_license
package com.Sts.Interfaces; /** * <p>Title: S2S Development</p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2002</p> * <p>Company: S2S Systems LLC</p> * @author TJLasseter * @version beta 1.0 */ import com.Sts.Utilities.*; public interface StsDistanceTransformFace { int getNRows(); int getNCo...
true
ecc718fea363e9d269c927cf10d4705e5817e664
Java
Shusmoy108/Android-Salesman
/Arong_Salesman/app/src/main/java/com/example/shusmoy/arong_salesman/MainActivity.java
UTF-8
27,461
1.984375
2
[]
no_license
package com.example.shusmoy.arong_salesman; import android.app.Activity; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.net.Uri; import android.os.Bundle; import android.text.Editable; import android.text.TextUtils; import android.view.View; import android.widget.EditText...
true
3804a865c552639e550017d3d66630bc11bde2de
Java
EmiyaXzero/study
/leetcode/src/main/java/com/my/IsIsomorphic.java
UTF-8
1,891
3.28125
3
[ "Apache-2.0" ]
permissive
package com.my; import java.util.HashMap; import java.util.Map; /** * @author shang * @title: IsIsomorphic * @projectName study * @description: 同构字符串 * @date 2020/1/30-11:28 */ public class IsIsomorphic { public boolean isIsomorphic(String s, String t) { Map<Character,Integer> mapS = new HashMap(16)...
true
cbaa9660d181af6315080266c1bfbbbd5c72073f
Java
universeawaits/SDIS_XML_parser
/src/main/java/model/XmlComment.java
UTF-8
167
1.96875
2
[]
no_license
package model; public class XmlComment extends XmlElement { public XmlComment(String data, XmlElement parent) { super(data, parent, "<!--%s-->"); } }
true
f88c1ded961832352669711107a7fac608160f48
Java
limeodds/backendapi
/src/test/java/com/turing/backendapi/repository/CustomerRepositoryTest.java
UTF-8
1,682
2.203125
2
[]
no_license
package com.turing.backendapi.repository; import com.turing.backendapi.repository.entity.CustomerEntity; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.co...
true
16e816ca1ee861f2c46ad345010de63240b8fee3
Java
moutainhigh/xcdv2
/bms-seller-product-api/src/main/java/com/bms/slpd/validator/SLPD0615IValidator.java
UTF-8
1,239
1.945313
2
[]
no_license
package com.bms.slpd.validator; import com.bms.slpd.bean.param.SLPD0615IParam; import com.bms.slpd.bean.param.field.SLPD0613IGnqStdParam; import com.framework.validator.DefaultCustomValidator; import java.util.List; /* * 修改通用质量标准指标 */ public class SLPD0615IValidator extends DefaultCustomValidator<SLPD0615IParam> {...
true
968717357eeec7b4e3b1caad2a53e13ac8972506
Java
Rathorepradhumna/java-work
/work/src/test/java/FileTest/FileExistTest.java
UTF-8
665
2.53125
3
[]
no_license
package FileTest; import static org.junit.Assert.*; import java.io.IOException; import org.junit.Test; import FIleIO.FIleExist; public class FileExistTest { @Test public void testOne() throws IOException{ FIleExist test1 = new FIleExist(); String location = "D:\\capgemini_training\\java\\work...
true
7b7a6ca658624949e8f9e301cb877718ca9a5d71
Java
lengxu/YouYun
/Codes/server/datastore/api/src/test/java/uyun/bat/datastore/api/entity/ResourceTest.java
UTF-8
2,011
2.09375
2
[]
no_license
package uyun.bat.datastore.api.entity; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; import org.junit.Test; public class ResourceTest { Resource resource = new Resource(); @Test public void test() { Date modifie...
true
435add4ef0181c92869ebd0773503752e09e2149
Java
jimbarritt/bugsim
/src/main/java/com/ixcode/bugsim/experiment/parameter/resource/layout/predefined/CabbageInitialisationParametersFormat.java
UTF-8
2,734
2.515625
3
[]
no_license
/** * (c) planet-ix ltd 2005 */ package com.ixcode.bugsim.experiment.parameter.resource.layout.predefined; import com.ixcode.framework.javabean.format.DoubleFormat; import com.ixcode.framework.javabean.format.IJavaBeanValueFormat; import com.ixcode.framework.javabean.format.JavaBeanParseException; import com.ixcode....
true
2a2a2639f68bbc93bfdf288ae7e359a93ac0bdb9
Java
jadyfeijo/AuctionAPI
/src/main/java/auction/service/BidService.java
UTF-8
3,683
2.5625
3
[]
no_license
package auction.service; import auction.domain.Auction; import auction.domain.Bid; import auction.domain.enums.Status; import auction.repository.BidRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Service; impor...
true
5a3c0bb4faba68fd073bd6e11ef803249e0e7476
Java
MarianoMartinez25/Java-ClasesMaterias
/src/Miembros/Profesor.java
UTF-8
1,275
3.1875
3
[]
no_license
package Miembros; import Asignaturas.Curso; import Asignaturas.ErrorInscripcion; public class Profesor extends Persona{ private Curso docente[]; public Profesor (String nombre){ super(nombre); } public void dicta( Curso c ){ for(int i=0; i<docente.length;i+...
true
e9c09ccd86a2e713b8b9ec7a517301ef345921fa
Java
cpp288/sty
/base/java-8-concurrency/src/main/java/com/cpp/java8concurrency/java8/CompletableFutureDemo.java
UTF-8
2,556
3.5625
4
[]
no_license
package com.cpp.java8concurrency.java8; import java.time.LocalDate; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ExecutionException; /** * {@link CompletableFuture} Demo * * @author chenjian * @version v1.0 * @date 2018/11/26 10:51 AM * @see java.util.concurrent.CompletionStage */...
true
3c5ee80bd454e5d2891185bbc9a2327f3fc95a87
Java
xyhshen/hydrofoil
/hydrofoil-core/src/main/java/org/hydrofoil/core/engine/internal/AbstractGraphQueryRunner.java
UTF-8
5,617
2.25
2
[]
no_license
package org.hydrofoil.core.engine.internal; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.collections4.KeyValue; import org.apache.commons.collections4.MultiValuedMap; import org.apache.commons.collections4.multimap.ArrayListValuedHashMap; import org.apache.commons.lang3.ArrayUtils;...
true
f35b321e63c8fe24aef90b95df74310f4e3fd85d
Java
ronenhamias/netty-test
/netty3-echo/src/main/java/io/netty/example/netty3/ServerHandler.java
UTF-8
759
2.1875
2
[]
no_license
package io.netty.example.netty3; import io.netty.example.common.Counter; import org.jboss.netty.channel.ChannelHandlerContext; import org.jboss.netty.channel.ChannelStateEvent; import org.jboss.netty.channel.MessageEvent; import org.jboss.netty.channel.SimpleChannelHandler; public class ServerHandler extends SimpleCh...
true
290c130f73ebe8c09d70f3dd1b98fde200e73280
Java
wenrenzhejie/data-structure2
/src/c05_union_find/UnionFind.java
UTF-8
704
3.171875
3
[]
no_license
package c05_union_find; public class UnionFind { private int[] ids; private int size; public UnionFind(int n){ this.size = n; ids = new int[n]; for (int i = 0;i < n;i++){ ids[i] = i; } } public int find(int p){ //在此不做检验 return ids[p]; ...
true
2de4f48e68b9719b50070e37b0b4dffa8d2d5a04
Java
sanjana3001/capg2021labcode
/pro1/src/test2/EleDevice.java
UTF-8
1,009
2.8125
3
[]
no_license
package test2; public abstract class EleDevice { private String devicename; private int modelnumber; private String colour; private Power power; public EleDevice(String devicename, int modelnumber, String colour, Power power) { super(); this.devicename = devicename; this.modelnumber = mode...
true
ac89708f11a410a1b6c34d7451f434f2454a862a
Java
gantugs0130/Java
/HomeWorks/HW5/src/E7_1/Customer.java
UTF-8
1,046
3.515625
4
[]
no_license
package E7_1; public class Customer { protected String name; protected boolean member; protected String memberType; public Customer(){ setMember(false); setName("Customer"); setMemberType("Member"); } public Customer(String name, boolean member, String memberType){ ...
true
5cad4f505cce514cc0396c87869e19feeaa20da8
Java
fpepe29/Puppy
/app/src/main/java/com/litdgz/puppy/restApi/model/UsuarioResponse.java
UTF-8
772
2.4375
2
[]
no_license
package com.litdgz.puppy.restApi.model; public class UsuarioResponse { private String id; private String token; private String instagram; public UsuarioResponse(String id, String token, String instagram) { this.id = id; this.token = token; this.instagram = instagram; } ...
true
123a816db1ee94eace0d63e9dfac8a40019ca0d1
Java
fischerfel/TUM-Crypto
/data/hash/insecure/Snippet13323167_36864.java
UTF-8
886
2.953125
3
[]
no_license
PreparedStatement pst = conn.prepareStatement("SELECT id, password FROM userDetails"); ResultSet rs = pst.executeQuery(); String randomPassword = ""; StringBuffer sb; boolean myPassCheck = true; while (rs.next()) { myPassCheck = true; while (myPassCheck) { // this will generate random password r...
true
9acc129308ca109dd5ea0ea691484bca8ee946dc
Java
coffewithmi1k/artThree
/src/test/java/tests/ExampleTest.java
UTF-8
669
2.328125
2
[]
no_license
package tests; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalT...
true
c2e3c6e865ff7573e87136c1680fab983ba74060
Java
kelley60/BreakfastClub
/app/src/main/java/cs490/breakfastclub/RequestAdminViewAdapter.java
UTF-8
4,772
2.203125
2
[]
no_license
package cs490.breakfastclub; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.Button; imp...
true
53ca455c7cd303748107aaff8a95b28eb4cbbf15
Java
evilmose/myDouNiu
/app/src/main/java/com/zfxf/douniu/activity/simulation/ActivitysimulationQueryToday.java
UTF-8
5,674
2.078125
2
[ "Apache-2.0" ]
permissive
package com.zfxf.douniu.activity.simulation; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.support.v7.widget.LinearLayoutManager; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import android.widget.Toast; import com.zfxf.douniu.R;...
true
c859f35feeab1072d2aedf871a982b148e02c5c3
Java
huangliliu0917/mallplus
/mallplus-admin/src/main/java/com/zscat/mallplus/ums/service/IUmsMemberService.java
UTF-8
1,423
1.710938
2
[ "Apache-2.0" ]
permissive
package com.zscat.mallplus.ums.service; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.IService; import com.zscat.mallplus.ums.entity.UmsMember; import com.zscat.mallplus.ums.vo.UmsMemberSelect; i...
true
b4d95268ff7ce549e423ebbc17b1395fb753a862
Java
olyagil/Java-tasks
/task4/repository/src/main/java/com/epam/task4/repository/UserRepository.java
UTF-8
547
2.015625
2
[]
no_license
package com.epam.task4.repository; import com.epam.task4.entity.User; import org.bson.types.ObjectId; import org.springframework.data.mongodb.repository.MongoRepository; import org.springframework.stereotype.Repository; import java.util.Optional; @Repository public interface UserRepository extends MongoRepository<Us...
true
20847d74cce761d3cc8c498729a1eb9245fbfc3a
Java
zaqzaq/ZAQPullClient
/src/com/zaq/client/socket/ZAQRouter.java
UTF-8
3,053
2.28125
2
[]
no_license
package com.zaq.client.socket; import java.io.IOException; import java.io.InputStream; import java.nio.channels.SocketChannel; import java.util.Properties; import com.zaq.client.socket.parse.Iparse; import com.zaq.client.socket.protocol.ZAQprotocolException; import com.zaq.client.socket.util.ClientUtil; import com.za...
true
fd4f9493981eff502aa49c781a20f47120e6c04e
Java
jackjames8/WZYHome
/app/src/main/java/com/WZYHome/Study/Demo/Unit10_Service_BroadcastReceiver/Unit10_RingReceiver.java
UTF-8
532
2.109375
2
[]
no_license
package com.WZYHome.Study.Demo.Unit10_Service_BroadcastReceiver; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.widget.Toast; /** * Created by Administrator on 2017/7/15. */ public class Unit10_RingReceiver extends BroadcastReceiver { pub...
true
8a465d12449db31dc79e3962dae12836c0668523
Java
FodorAlexandru/DataHandler
/app/src/main/java/com/example/shade_000/datahandler/userdetail/UserDetailContract.java
UTF-8
492
1.71875
2
[]
no_license
package com.example.shade_000.datahandler.userdetail; import android.database.Cursor; import com.example.shade_000.datahandler.users.UsersContract; import common.base.BasePresenter; import common.base.BaseView; /** * Created by shade_000 on 03/05/2016. */ public interface UserDetailContract { interface View e...
true
a56bdc9b187ca910bd4e56d41b1e5fce42d912c7
Java
KiraneTMS/ElectricPaymentProject
/src/uas_04_arsyaalifianwidiatmoko/HomePage.java
UTF-8
10,868
2.109375
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 uas_04_arsyaalifianwidiatmoko; /** * * @author Lenovo */ public class HomePage extends javax.swing.JFrame { /** *...
true
6695b6bbc3da4d81294c11b5c166e7bb878abb2f
Java
shudongping/feiyu
/feiyu-common/feiyu-common-security/src/main/java/com/feiyu/common/security/config/ResourceServerSecurityConfig.java
UTF-8
3,535
1.875
2
[ "Apache-2.0" ]
permissive
package com.feiyu.common.security.config; import com.feiyu.common.security.handler.CustomAccessDeniedHandler; import com.feiyu.common.security.handler.ResourceAuthExceptionEntryPoint; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.an...
true
4a38b4ab501a90119bb84b31ad405f5e56710bb6
Java
AlexZhurkevich/CS680HW
/HW10/src/edu/umb/cs680/hw10/apfs/ApfsFileSearchVisitor.java
UTF-8
748
3
3
[]
no_license
package edu.umb.cs680.hw10.apfs; import java.util.LinkedList; public class ApfsFileSearchVisitor implements ApfsVisitor { protected String fileName; protected LinkedList<ApfsFile> searchedFiles = new LinkedList<ApfsFile>(); public ApfsFileSearchVisitor() {} public ApfsFileSearchVisitor(String fileName) { th...
true
ea970148538c8f4265c0223d717ba04ccfb06aed
Java
cliuhuan/design-pattern
/design-pattern-core/src/main/java/com/liuhuan/study/design/structural/proxy/cglib/EnglishTeacher.java
GB18030
245
2.828125
3
[ "Apache-2.0" ]
permissive
package com.liuhuan.study.design.structural.proxy.cglib; public class EnglishTeacher { public String teach() { System.out.println(" ʦڿ cglibҪʵֽӿ "); return "hello"; } }
true
e6ef31e652356cc548e35cfa04ec8acb4d99315c
Java
EdgarNX/SmartSolutions
/app/src/main/java/com/neo/smartsolutions/devices/AddDeviceFragment.java
UTF-8
5,527
2.109375
2
[]
no_license
package com.neo.smartsolutions.devices; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Color; import android.os.Bundle; import android.view.LayoutInflater; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; import android.widget.Ad...
true
ca59a56070e59be5378927737121ce7279878bae
Java
chenlongfree/blog
/src/main/java/com/loong/blog/web/IndexController.java
UTF-8
1,060
2
2
[]
no_license
package com.loong.blog.web; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import java.util.Map; @Controller public class IndexController { @Request...
true
0a29f65719029d6c8663f80badb7462dfdde030b
Java
KogtaSaloni/Foosball
/src/playerClasses/PlayerGK.java
UTF-8
2,912
2.890625
3
[]
no_license
package playerClasses; import java.awt.Color; import java.awt.Graphics2D; import java.awt.Rectangle; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.util.Random; import fieldClasses.Ball; import panels.gameScreen; import teamClasses.LeftTeam; public class PlayerGK extend...
true
9fbf2b58c74dc842955b2c7e6eb37225f4e7c951
Java
uiui881/SmartPlayGround_BACKEND_forREAL
/src/main/java/com/uiui881/springboot/web/safety/dto/SafetyUpdateRequestDto.java
UTF-8
408
1.992188
2
[]
no_license
package com.uiui881.springboot.web.safety.dto; import lombok.Builder; import lombok.Getter; import lombok.NoArgsConstructor; @Getter @NoArgsConstructor public class SafetyUpdateRequestDto { private boolean checkResult; private long id_MI; @Builder public SafetyUpdateRequestDto(boolean checkResult, l...
true
db9cdba76346652fd64749ba8b36e1ceb7fbd0ab
Java
iLemonBr/InterProject
/src/br/ifsp/marketplus/controller/OrderController.java
UTF-8
4,342
2.296875
2
[]
no_license
package br.ifsp.marketplus.controller; import br.ifsp.marketplus.Main; import br.ifsp.marketplus.initializer.Initializer; import br.ifsp.marketplus.manager.ClientManager; import br.ifsp.marketplus.manager.OrderManager; import br.ifsp.marketplus.manager.ProductManager; import br.ifsp.marketplus.model.*; import com.jfoe...
true
719b1b0dd7d868b710150af7d4ba21f853620b0a
Java
jakobehmsen/astava
/intellij/astava/src/main/java/astava/java/parser/MethodDeclaration.java
UTF-8
366
2.046875
2
[ "MIT" ]
permissive
package astava.java.parser; import astava.tree.MethodDom; import astava.tree.ParameterInfo; import java.util.List; public interface MethodDeclaration { int getModifier(); String getName(); List<ParameterInfo> getParameterTypes(); String getReturnTypeName(); MethodDom build(ClassDeclaration classD...
true
e16f4b0c3abde72413545a96a1c69a329b77719f
Java
NAQ8/Xavier-Discord-Bot
/src/main/java/me/comu/exeter/commands/bot/HelpCommand.java
UTF-8
12,094
2.515625
3
[]
no_license
package me.comu.exeter.commands.bot; import me.comu.exeter.core.CommandManager; import me.comu.exeter.core.Core; import me.comu.exeter.interfaces.ICommand; import net.dv8tion.jda.api.EmbedBuilder; import net.dv8tion.jda.api.Permission; import net.dv8tion.jda.api.events.message.guild.GuildMessageReceivedEvent; import ...
true
fe3445c94eced253951f98e47061982802745cc5
Java
harikrishna553/springboot
/test/controllerUnitTest/src/test/java/com/sample/app/controller/EmployeeControllerUnitTest.java
UTF-8
2,240
2.234375
2
[]
no_license
package com.sample.app.controller; import static org.junit.Assert.assertEquals; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post; import org.junit.Before; import org.junit.Test; import org.jun...
true
9f246d995d2cf64710ad9cd1f669084b0c216299
Java
Ahasveros5/THO7HuiswerkNakijken
/src/huiswerknakijken/hu/LeraarServlets/OverzichtLeerlingenServlet.java
UTF-8
1,165
2.359375
2
[]
no_license
package huiswerknakijken.hu.LeraarServlets; import huiswerknakijken.hu.DAO.ClassDAO; import huiswerknakijken.hu.DAO.PersonDAO; import huiswerknakijken.hu.Domain.Klass; import huiswerknakijken.hu.Domain.Student; import java.io.IOException; import java.util.ArrayList; import javax.servlet.RequestDispatcher; import jav...
true
52e38f2a3c2dcfd4a8e04f37b262235decb3f128
Java
wnakayama/ojt_ecsite
/test/SearchParameterTest.java
UTF-8
889
2.53125
3
[]
no_license
package ojt_ecsite; import static org.hamcrest.Matchers.*; import static org.junit.Assert.*; import org.junit.Test; /** * ユーザーが入力した検索条件を格納するデータクラスのテスト. * * @author nakayama * */ public class SearchParameterTest { @Test public void testGetProductName() { SearchParameter param = new SearchParamet...
true
a16c0d2074c89082c4c86524719e8e20e13e9634
Java
solovanilarion/javastuff
/lab/labb/Networking/src/main/java/concurs/network/objectprotocol/GetPDenumireResponse.java
UTF-8
300
2.140625
2
[]
no_license
package concurs.network.objectprotocol; import java.util.List; public class GetPDenumireResponse implements Response{ List<String> denumiri; public GetPDenumireResponse(List<String> denumiri){ this.denumiri = denumiri; } public List<String> getDenumiri(){return denumiri;} }
true
1140f5d183c285685223bb8d6e98abac979d534c
Java
xmc1993/cncf-fire-server
/src/main/java/com/cncf/dao/BtcMapper.java
UTF-8
1,145
1.953125
2
[]
no_license
package com.cncf.dao; import com.cncf.entity.Btc; import com.cncf.entity.BtcExample; import com.cncf.entity.BtcWithBLOBs; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface BtcMapper { int countByExample(BtcExample exam...
true
fe03c392982874ac851542b396a6c6772b73b40e
Java
prasad-ankit/B-Genius
/B-Genius_AdFree/app/src/main/java/com/google/android/gms/common/api/internal/h.java
UTF-8
1,436
1.703125
2
[]
no_license
package com.google.android.gms.common.api.internal; import android.os.Bundle; import com.google.android.gms.common.ConnectionResult; import java.util.concurrent.locks.Lock; final class h implements N { h(g paramg) { } public final void a(int paramInt, boolean paramBoolean) { g.a(this.a).lock(); t...
true
e3aed5ff99d7c53a808e56978920f5f0c539d4a0
Java
JuHanHeo/bookmall
/src/com/jx372/bookmall/dao/test/MembersDaoTest.java
UTF-8
926
2.390625
2
[]
no_license
package com.jx372.bookmall.dao.test; import java.util.List; import com.jx372.bookmall.dao.MembersDao; import com.jx372.bookmall.vo.MembersVo; public class MembersDaoTest { static List<MembersVo> list = null; public static void main(String[] args) { getTest(); } public static void insertTest() { ...
true
73f6ae27e7148f2e3e8959527b2e73e3bf10d275
Java
davidmr/seeit3d
/SeeIT3D/src/seeit3d/base/visual/relationships/DefaultRelationshipsRegistry.java
UTF-8
2,563
2.359375
2
[]
no_license
/** * Copyright (C) 2010 David Montaño * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * any later version. * * This program is distributed in the ...
true
cfaec2280a8b65d6bfba8c7c79a72fc95df4694b
Java
INTEateam/INTEProject
/test/inte/projekt/TestProductPrice.java
UTF-8
1,891
3.046875
3
[]
no_license
package inte.projekt; import org.junit.Test; import java.math.BigDecimal; import java.math.RoundingMode; import static org.junit.Assert.assertEquals; public class TestProductPrice { private static final int VALID_ID = 1; private static final String VALID_NAME = "Milk"; private static final String VALID...
true
048ac53c99c7885d0ce9fdd76f192a6217aa2d85
Java
rickzeng-love/springcloud-sisyphus
/sisyphus-auth-ms/sisyphus-auth-service/src/main/java/com/prometheus/sisyphus/uaa/service/MsgService.java
UTF-8
1,251
2.0625
2
[]
no_license
//package com.prometheus.sisyphus.uaa.service; // // //import com.netflix.client.ClientException; // //import javax.servlet.http.HttpServletResponse; // ///** // * 短信服务 // * // * @author wushaoyong // */ //public interface MsgService { // // /** // * 发送验证消息 // * // * @param phoneNum // ...
true
3ad081110223d78bb5715fc3f91253e47135dd43
Java
igweckay/Cognitive-Measures
/app/src/main/java/edu/usc/projecttalent/cognitive/numbers/SecNSEx1AActivity.java
UTF-8
1,885
2.171875
2
[]
no_license
package edu.usc.projecttalent.cognitive.numbers; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.databinding.DataBindingUtil; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widge...
true
0c7bbecd36a31609b8b12ebd87e325bc03bc4ab3
Java
pg1809/sise
/network/src/main/java/sise/ui/generator/TrainingDataGenerator.java
UTF-8
1,890
2.984375
3
[]
no_license
package sise.ui.generator; import java.io.FileNotFoundException; import java.io.PrintWriter; import java.util.Random; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author Wojciech Szałapski */ public class TrainingDataGenerator { public final static double MINIMUM = 1; public ...
true
00db430f0015700344208ca027432442c5ebb852
Java
cgarateO/Kunder
/src/java/com/example/messages/services/MessageService.java
UTF-8
521
1.992188
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.example.messages.services; /** * * @author cgarate */ import java.util.List; import java.util.Map; public interface M...
true
1fdf7ce1ece275b2cc4f55e226220ff1204a5205
Java
C11FeiGe/Git-
/AppInfoSystem/src/cn/appsys/service/versionServiceImpl.java
UTF-8
1,001
2.140625
2
[]
no_license
package cn.appsys.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import cn.appsys.dao.versioninfomapper; import cn.appsys.pojo.app_version; @Service("versionService") public class versionServiceImpl implements versionServi...
true
21730c3bc3ea10f860d53245e7d3dac2690a6bc4
Java
Lwz1966/cp-pc28yc
/src/main/java/com/dandanyc/entity/User.java
UTF-8
2,748
2.171875
2
[ "Apache-2.0" ]
permissive
package com.dandanyc.entity; import java.util.Date; public class User { private Integer eggsId; private String eggsUsername; private String eggsPassword; private String eggsKey; private Date eggsDate; private String eggsType; private String eggsIp; private String eggsFlag; ...
true
3c5d23499420e1a552e61f42f156d95902e86429
Java
augusto-asilva/bootcampw2-meli-atv-invdividuais
/java-aula-03/src/aula/manha/exercicio01/Exe04.java
UTF-8
563
3.046875
3
[]
no_license
package aula.manha.exercicio01; import java.util.Scanner; public class Exe04 { public static void main(String[] args) { int n = 0, i = 1, j = 2; System.out.println("Selecione quantos numeros primos voce quer ver: "); Scanner scan = new Scanner(System.in); n...
true
5c373649c9dcbc9dd307bf280ade4ccb3c1c6220
Java
gg485/recommend
/src/main/java/recommend/demo/model/Movie.java
UTF-8
1,179
2.703125
3
[]
no_license
package recommend.demo.model; import java.io.Serializable; import java.util.Objects; public class Movie implements Serializable { int id; String title; String types; String url; public Movie() { } public Movie(int id, String title,String types) { this.id = id; this.title ...
true
2d5c86f90c52448076a3299fd61285d13a7fbbb8
Java
savieo/Drug-X-Pharmacy-Management-System
/SalesManagementSystem/src/main/java/com/example/demo/dao/OrderProductsRepository.java
UTF-8
879
2.046875
2
[]
no_license
package com.example.demo.dao; import java.util.List; import javax.transaction.Transactional; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import com.example.demo.model.OrderProducts; pub...
true
a74d3bab8b2005673059f0fcb7ffd65e4f888b17
Java
mohammed-a-ali/Automation.Framework.Java
/src/test/java/tests/UserRegistrationTestWithTDDAndCSV.java
UTF-8
1,423
2.765625
3
[]
no_license
package tests; import com.opencsv.CSVReader; import org.testng.Assert; import org.testng.annotations.Test; import pages.HomePage; import pages.UserRegistrationPage; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; public class UserRegistrationTestWithTDDAndCSV extends Test...
true
7d44798777c930e9356e6363082f0b876e5726f2
Java
blacktean/project
/bankTransfer/bankTransfer-core/src/main/java/com/bankTransfer/pojo/Card_VO.java
UTF-8
1,130
1.9375
2
[]
no_license
package com.bankTransfer.pojo; import java.io.Serializable; import java.math.BigDecimal; import lombok.Getter; import lombok.Setter; import lombok.ToString; import java.util.Date; import lombok.Data; @Data @Getter @Setter @ToString public class Card_VO implements Serializable{ /** * */ pr...
true
f8d777d0ce45dcdad864df34b51c551138aa79ad
Java
Carolccc/yunsleLive_room
/src/main/java/com/test/service/ICustomerService.java
UTF-8
1,094
2.0625
2
[ "MIT" ]
permissive
package com.test.service; import com.test.dao.CustomerDao; import com.test.entity.Customer; import com.test.entity.StatusMessage; import org.springframework.beans.factory.annotation.Autowired; import java.util.List; /** * Created by Doublestar on 2017/12/5 21:06). */ public interface ICustomerService { /** ...
true
b84d3b1f07c3b0eedafa8f73cb576d7197cb42ff
Java
andrehaarengl/Atividade-Pr-tica-Supervisionada-POO
/src/OLD/Gerente.java
UTF-8
734
2.328125
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 OLD; /** * * @author andre */ public class Gerente extends Funcionario { public Gerente() { } public void cadastrarPr...
true
873eea8404794a79166e0f2059ad4e354f1ce97e
Java
gabcmenezes/app_cielo_outdoor
/app/src/main/java/com/example/app_cielo/activities/InfrastructureActivity.java
UTF-8
3,374
2.0625
2
[]
no_license
package com.example.app_cielo.activities; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.ImageView; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import com.example....
true
9e35f8c97eb8ba288e03c8e8461b90fe3e4aaee7
Java
thunderyk/chapter05
/src/com/javaex/ex03/PhoneApp.java
UTF-8
904
3.25
3
[]
no_license
package com.javaex.ex03; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; public class PhoneApp { public static void main(String[] args) throws IOException { InputStream in = new FileInputStream(...
true
1e9249db177a8c591e6b99d596bdff3ed148df5a
Java
kbalbertyu/ContentCrawler
/src/main/java/cn/btimes/model/common/Store.java
UTF-8
491
1.765625
2
[]
no_license
package cn.btimes.model.common; import lombok.Data; import org.apache.commons.collections.CollectionUtils; import java.util.List; /** * @author <a href="mailto:kbalbertyu@gmail.com">Albert Yu</a> 2020/11/21 22:58 */ @Data public class Store { private String name; private List<String> gallery; private L...
true
2fad3fea60ffe450a14f001cbd1181b05b8f6f51
Java
coderqin/life_manager
/GraduationThesis/app/src/main/java/youth/freecoder/graduationthesis/utils/SafeEncryptionUtils.java
UTF-8
2,041
2.65625
3
[]
no_license
package youth.freecoder.graduationthesis.utils; import android.content.Context; import android.telephony.TelephonyManager; import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; /** * Created by freecoder on 15/3/7. */ public class SafeEncryp...
true
3b717c950536ccc5b0b66a08a20c94fac10c339f
Java
s-ong-c/bitExample
/Jang10/src/io/UserInfo.java
UTF-8
434
2.796875
3
[]
no_license
package io; public class UserInfo implements java.io.Serializable { String name; String password; int age; public UserInfo() { this("Unknown","1111",0); } public UserInfo(String name, String password,int age) { this.name =name; this.password = password; this. age = age; } @Override pub...
true
a28a0a9f65e6a8c1350e3d48e19115402063cab6
Java
letui/o2oa
/collectserver/o2_collect_assemble/src/main/java/o2/collect/assemble/jaxrs/remote/ActionIp.java
UTF-8
817
1.960938
2
[ "BSD-3-Clause" ]
permissive
package o2.collect.assemble.jaxrs.remote; import javax.servlet.http.HttpServletRequest; import com.x.base.core.container.EntityManagerContainer; import com.x.base.core.container.factory.EntityManagerContainerFactory; import com.x.base.core.project.http.ActionResult; import com.x.base.core.project.http.EffectivePerson...
true
ee4923a8f1c05990f9d9b2400c7cfb9fb3a9e229
Java
technocode/com.wa_2.21.2
/src/main/java/X/C44041zP.java
UTF-8
635
1.507813
2
[]
no_license
package X; /* renamed from: X.1zP reason: invalid class name and case insensitive filesystem */ public final class C44041zP extends AnonymousClass00X { public Boolean A00; public Boolean A01; public Double A02; public Double A03; public Double A04; public Double A05; public Double A06; ...
true
18c17225f66ce692e971293bf8ad38b1a9162b58
Java
serdarselcuk/VendingMachine
/src/test/java/Testing_VM.java
UTF-8
2,016
2.890625
3
[]
no_license
import org.testng.Assert; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import vendingMachina.VendingMachine; public class Testing_VM { /* as dependency for testNG / maven I imported this dependency <!-- https://mvnrepository.com/artifact/org.testng/testng --> <dependency> <...
true
91432003aedcba57207e5b44db9c03220e1f8641
Java
JetBrains/MPS
/core/kernel/source/jetbrains/mps/smodel/ModelDependencyUpdate.java
UTF-8
7,555
1.96875
2
[ "LicenseRef-scancode-free-unknown", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
/* * Copyright 2003-2017 JetBrains s.r.o. * * 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 agre...
true
3ff7f3cb6132b8b4bff6fd5381f6638be189c696
Java
21tstrow/Java-Programs
/Programs/AP Practice Programs/ArrayManipulation.java
UTF-8
764
3.34375
3
[]
no_license
import java.util.ArrayList; public class ArrayManipulation { private static int[] nums = {3,5,6,3,6,8,7,3,2,1,2,6,4}; public static void orderHighLow(){ ArrayList<Integer> newNums = new ArrayList<Integer>(); boolean found = false; for (int i=1; i < nums.length; i++){ for (int c=0; c < newNu...
true
6c81820bfe23c56073fe4161d7e05c4f3da6b40c
Java
Skyrolight/ProjetJava
/Projet_fini/src/dao/objetMySQL/MySQLClientDAO.java
UTF-8
7,908
2.359375
2
[]
no_license
package dao.objetMySQL; import java.sql.Connection; import java.sql.Date; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.List; import cpoa.Connexion; import dao.objet.ClientDAO; import modele.Abonnemen...
true
5b5e1e55bcda1fd080903ac175803461dc8221ab
Java
tiagoviniciuslopes/ES1-trab4
/Implementacao/MyCommonBO/src/unioeste/geral/common/bo/Email.java
UTF-8
483
2.1875
2
[]
no_license
package unioeste.geral.common.bo; import java.io.Serializable; public class Email implements Serializable{ /** * */ private static final long serialVersionUID = 1L; private int idEmail; private String descricao; public int getIdEmail() { return idEmail; } public void setIdEmail(int idEmail) { thi...
true
68bfb9e5631a52bf275a951947f5ee33ae397712
Java
Denlarad/bat
/vkBotTest/src/main/java/ForUser/MessageHeader.java
UTF-8
2,465
2.234375
2
[]
no_license
package ForUser; import com.vk.api.sdk.client.VkApiClient; import com.vk.api.sdk.client.actors.UserActor; import com.vk.api.sdk.exceptions.ApiException; import com.vk.api.sdk.exceptions.ClientException; import com.vk.api.sdk.objects.messages.Dialog; import com.vk.api.sdk.objects.messages.responses.GetDialogsResponse; ...
true
c5777164841ea77ba409b4621d1eb35beaa35616
Java
saulotdr/spring-boot-web-demo
/src/main/java/br/online/meetup/springbootdemo/controller/IndexController.java
UTF-8
599
1.820313
2
[]
no_license
package br.online.meetup.springbootdemo.controller; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class IndexController { ...
true
fb517819b1fc34d2832ac6d17f4aea50ac350b3e
Java
kylevessPL/hotel_management_2021
/application/web-application-parent/web-application-infrastructure/src/main/java/pl/piasta/hotel/infrastructure/customers/CustomersRepositoryImpl.java
UTF-8
1,700
2.34375
2
[]
no_license
package pl.piasta.hotel.infrastructure.customers; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactional; import pl.piasta.hotel.domain.customers.CustomersRepository; import pl.piasta.hotel.domainmodel.customers.CustomerD...
true
23d6d0ee839e235d928eb2272936cb3621c5e916
Java
charygao/intellij-reference-diagram
/src/ch/docksnet/utils/IncrementableSet.java
UTF-8
1,360
2.515625
3
[ "Apache-2.0" ]
permissive
/* * Copyright (C) 2015 Stefan Zeller * * 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...
true
5fb6abd5b18bb489ced53434a68bd274309d3a55
Java
sathish1273/savings
/savings/src/com/stackroute/keepnote/dto/Villages.java
UTF-8
565
2.515625
3
[]
no_license
package com.stackroute.keepnote.dto; import java.util.HashMap; import java.util.Map; public enum Villages { ChinthaNekkonda("Parvathagiri"), Enugal("Parvathagiri"), Panikara("Nekkonda"); private String value; public static Map<String, String> integers; Villages(String value) { this.value = value; put...
true
46c69f95fd08e0205276ad07786e226c80aac1c3
Java
ptdeveloper1/AndroidPrograms
/SpeechToTextN/app/src/main/java/stotextn/example/com/speechtotextn/CommandHandler.java
UTF-8
6,653
2.96875
3
[]
no_license
package stotextn.example.com.speechtotextn; /** * Created by ADMIN on 12/11/2017. */ import java.text.SimpleDateFormat; import java.util.Calendar; /** * Created by ADMIN on 12/8/2017. */ public class CommandHandler { boolean handleText(String text,MainActivity ma) { if (text.cont...
true
2c7570eedecc40e72d9830abae300c89b7cb1038
Java
liaoxiangyong/AlgorithmQuestions
/leetCode/src/NiuKeWangLeetCode/Java_87.java
UTF-8
536
3.015625
3
[]
no_license
package NiuKeWangLeetCode; /** * Created by LXY on 2018/1/9. */ public class Java_87 { public int uniquePaths(int m, int n) { //二维矩阵从左上角都右下角的方式,每次只能向下或者向右移动一格 int A[][] = new int[m][n]; for(int i=0;i<m;i++){ for (int j=0;j<n;j++){ if(i==0 || j==0){ ...
true
a286799bd1dbcc9012f72b224359eda59e5242b1
Java
yblpratiks/entity-search
/src/main/java/com/ybl/genie/entitysearch/EntitySearchApplication.java
UTF-8
388
1.695313
2
[]
no_license
package com.ybl.genie.entitysearch; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication(scanBasePackages="com.ybl.genie.entitysearch") public class EntitySearchApplication { public static void main(String[] args) { ...
true
af8c1900104a18f82e3b00c8f656be2d12f438c4
Java
fankun895361652/fk-security
/fk-security-core/src/main/java/com/fk/security/core/social/weixin/api/Weixin.java
UTF-8
175
1.554688
2
[]
no_license
package com.fk.security.core.social.weixin.api; /** * @author fankun * @date 2018/3/29 10:55 */ public interface Weixin { WeixinUserInfo getUserInfo(String openId); }
true
7985de1c6d22d3bd9725dad69ef78af3b694ee2d
Java
ChristianHarten/EVA
/src/socket/udp/counter/Server.java
UTF-8
2,312
3.40625
3
[]
no_license
package socket.udp.counter; import java.net.DatagramSocket; import java.net.SocketException; public class Server { private static int counter; public static void main(String[] args) { if (args.length != 1) { throw new IllegalArgumentException("Usage: java socket.udp.counter.S...
true
230c30137ac505b02832d8af2a0d9bc624ca0072
Java
rotterdam-cs/liferayGoogleAnalytics-portlet
/docroot/WEB-INF/src/com/rcs/dto/MessagesDTO.java
UTF-8
925
2.40625
2
[]
no_license
package com.rcs.dto; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import java.util.Locale; import com.rcs.common.ResourceBundleHelper; public class MessagesDTO implements Serializable { private static final long serialVersionUID = 1L; List<MessageDTO> messages = new ArrayList<Mes...
true
ad32179b4d2b6c9078bb260767165a32ef4c8433
Java
ecangussu/projeto-javafx-jdbc
/src/gui/listeners/DataChangeListener.java
UTF-8
151
2.015625
2
[]
no_license
package gui.listeners; public interface DataChangeListener { //Evento para ser disparado quando os dados forem alterados void onDataChanged(); }
true
8715beba6c6e9034243ea5302ab7c56968bec61c
Java
Kondriu/study
/src/dima/homework10/woAbstractClass/SayHello.java
UTF-8
361
2.546875
3
[]
no_license
package dima.homework10.woAbstractClass; /** * Created by dmitriy.k on 09.06.16. */ public class SayHello { public static void main(String[] args) { System.out.println("Укрианец скажет привет:"); Ukr.Hello(); System.out.println("Американец скажет привет:"); USA.Hello(); } }
true
9083e1ce27d0c0ce3710216c8de5e94c6d49bbf4
Java
Astanislav1990/ALKHANOV_JAVA
/Tasks/Task22/src/ALKHANOV/GroundTransport.java
UTF-8
119
1.960938
2
[]
no_license
package ALKHANOV; /** * Created by Админ on 07.02.2019. */ public interface GroundTransport { void go(); }
true
ea104a2f9c53bc8b564e1dc8382aa681166d9443
Java
spoorthibasu/Automated-Clinical-System-for-General-Check-ups
/src/java/login/updateamount.java
UTF-8
3,883
2.28125
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 login; import com.dbutils.DBsingletone.DBsingletone; import java.io.IOException; import java.io.PrintWriter; import java.sql....
true
480c7b797fa80e0ab348c22db5fe84dca7bdcaac
Java
MohanreddyP95/rep2
/Pom/src/mohan1/test.java
UTF-8
675
1.9375
2
[]
no_license
package mohan1; import java.io.File; import org.openqa.selenium.OutputType; import org.openqa.selenium.TakesScreenshot; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.testng.annotations.Test; public class test { static { System.setProperty("webdrier...
true
429600fb5048d2dd9451398436a7b8950ab84d71
Java
Mabonma/OveOneCollections
/Example/src/com/company/Product.java
UTF-8
1,813
3.234375
3
[]
no_license
package com.company; public class Product { private int id; static private int idCount = 0; private String name, category; private double price, discount, actualPrice; public Product(String name, String category, double price, double discount) { id = idCount++; this.disco...
true
1a27a0704e9edff3072a1916f03dace58f755d82
Java
email2dhiren/SpringBoot
/7-Spring-Common-Annotations/src/com/dhiren/annotations/CollegeConfig.java
UTF-8
757
2.25
2
[]
no_license
package com.dhiren.annotations; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.PropertySource; @Configuration @ComponentScan(basePackages="com.d...
true
6a95c67154cfefb33d07fba58c39dbbb1557a6a6
Java
yinjinghao211/repairSystem
/domain/src/main/java/com/repair/entity/pt/EngineerRealnameauthenticationEntity.java
UTF-8
1,783
2.171875
2
[]
no_license
package com.repair.entity.pt; import javax.persistence.*; import java.util.Arrays; import java.util.Objects; /** * auther kangwang */ @Entity @Table(name = "pt_engineer_realnameauthentication", schema = "repair", catalog = "") public class EngineerRealnameauthenticationEntity { private String id; private ...
true
213a537eb172dbc90af8ca8e7ee0c0988ba58132
Java
Marimagui/TareaSemana4_fragment
/app/libs/javamail-samples (1)/javamail-samples/wait.java
UTF-8
3,499
2.234375
2
[]
no_license
/* * Copyright (c) 1996-2010 Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * noti...
true
7b35ec524a9a74c30e5f1b951f395532a17e4ca0
Java
ResurrectionRemix/android_frameworks_base
/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/DisplaySourceService.java
UTF-8
8,961
1.914063
2
[ "Apache-2.0", "LicenseRef-scancode-unicode" ]
permissive
/* * Copyright (C) 2013 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
true
7902c01f93588f4ec0ac00fd122eb0ad44dfa80f
Java
kangsb10/myRepo
/NONGDAM/src/main/java/kr/or/ddit/admin/cropsdoctor/utiles/WatsonAssistantEntitiesUtil.java
UTF-8
5,127
2.140625
2
[]
no_license
package kr.or.ddit.admin.cropsdoctor.utiles; import java.util.ArrayList; import java.util.List; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.ibm.watson.developer_cloud.assistant.v1.Assistant; import com...
true
94523e3aad45531502c363d898e5e1ac5521d7d8
Java
alldatacenter/alldata
/olap/kylin/src/query-common/src/main/java/org/apache/kylin/query/util/AsyncQueryUtil.java
UTF-8
6,296
1.875
2
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
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
0d14857a8b5276a5f12f0046f2182b19c91d62e3
Java
feihua/sys-parent
/sys-consumer/src/main/java/com/liufeihua/sys/consumer/service/RoleService.java
UTF-8
1,060
2.0625
2
[]
no_license
package com.liufeihua.sys.consumer.service; import com.liufeihua.sys.api.bean.SysRole; import com.liufeihua.sys.common.page.PageInfoVo; /** * 描述: 角色操作 * 作者: 刘飞华 * 日期: 2019/5/6 11:40 */ public interface RoleService { /** * 根据角色名查询 * * @param roleVo 参数 * @return PageInfo<SysRole> * @author: 刘飞华 * @dat...
true