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
8536895657c3f185b9acc88874f51a5dd0cdbd3a
Java
rechel12138/satelliteMonitor
/src/main/java/com/htzh/htdxjk/service/impl/BzbjlServiceImpl.java
UTF-8
1,246
1.851563
2
[]
no_license
package com.htzh.htdxjk.service.impl; import com.htzh.htdxjk.entity.Bzbjl; import com.htzh.htdxjk.mapper.BzbjlMapper; import com.htzh.htdxjk.service.IBzbjlService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.beans.factory.annotation.Autowired; import org.spring...
true
90e18a9b9675f3fa3dbe8943901373bb7c211d22
Java
jsjoyac/callingsoap
/src/main/java/wcompensar/caf/InfoAfiliadoResponse.java
UTF-8
1,620
2.09375
2
[]
no_license
package wcompensar.caf; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymous complex type. * * <p...
true
3139b015ad3300f1ad595e25c9b2ce981ae4831e
Java
jordansjones/Mvc4j
/Common/src/main/java/nextmethod/io/Filesystem.java
UTF-8
1,408
2.21875
2
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
/* * Copyright 2014 Jordan S. Jones <jordansjones@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
true
d4df9a8645dd0c8b17237221dbede66d298f86a7
Java
tanzijian1/mytest
/tg/META-INF/classes/nc/bs/tg/renamechangebill/ace/bp/AceRenameChangeBillUnSendApproveBP.java
GB18030
1,038
1.992188
2
[]
no_license
package nc.bs.tg.renamechangebill.ace.bp; import nc.impl.pubapp.pattern.data.bill.BillUpdate; import nc.vo.tgfn.renamechangebill.AggRenameChangeBillHVO; import nc.vo.pub.VOStatus; import nc.vo.pub.pf.BillStatusEnum; /** * ׼ջصBP */ public class AceRenameChangeBillUnSendApproveBP { public AggRenameChangeBillHVO[] u...
true
10d3ba9ff478dce4eec5dcbbcc9607dbb15ccf51
Java
Arrioche/AlsoHanafuda
/app/src/main/java/com/tnielsen9082/alsohanafuda/ShowTakenTricks.java
UTF-8
2,066
2.75
3
[]
no_license
package com.tnielsen9082.alsohanafuda; import android.app.Activity; import android.view.View; import android.widget.Button; import android.widget.LinearLayout; import android.widget.TextView; public class ShowTakenTricks implements View.OnClickListener{ private LinearLayout[] takenTricks; private LinearLayou...
true
e1dc501f104c2af44d62016d90494035fb821a74
Java
balasasidhar/payu
/payu/src/main/java/com/sasidhar/smaps/payu/Utils.java
UTF-8
2,088
2.0625
2
[ "MIT" ]
permissive
package com.sasidhar.smaps.payu; import com.payu.india.Extras.PayUChecksum; import com.payu.india.Model.PaymentParams; import com.payu.india.Model.PayuHashes; import com.payu.india.Model.PostData; import com.payu.india.Payu.PayuConstants; import com.payu.india.Payu.PayuErrors; /** * Created by SASi on 24-May-16. */...
true
53c52f59392c30f735482590e4a320eee6e93be2
Java
rayanaprata/uc-padroes-de-projeto-de-software
/exercicio1/CartaoDeCredito.java
UTF-8
1,161
2.859375
3
[]
no_license
public class CartaoDeCredito implements FormaDePagamento { String nomeTitular; String numCartao; String codSeguranca; String dataVencimento; public CartaoDeCredito(String nomeTitular, String numCartao, String codSeguranca, String dataVencimento) { super(); this.nomeTitular = nomeTitular; this.numCartao ...
true
ce9be30b12e51136716e456b47a851cbbd78338a
Java
activeliang/tv.taobao.android
/sources/mtopsdk/framework/filter/before/ExecuteCallBeforeFilter.java
UTF-8
2,050
2.015625
2
[]
no_license
package mtopsdk.framework.filter.before; import mtopsdk.common.util.TBSdkLog; import mtopsdk.framework.domain.FilterResult; import mtopsdk.framework.domain.MtopContext; import mtopsdk.framework.filter.IBeforeFilter; import mtopsdk.framework.util.FilterUtils; import mtopsdk.mtop.domain.MtopResponse; import mtopsdk.mtop...
true
5045804fd226bd2f9a353454a1c6486ccc273c15
Java
XinyuLyu/ECE573
/datastructure/hw/hw3/HW3 DSA/src/HW3_Q4/RedBlackBST.java
UTF-8
6,533
3.515625
4
[]
no_license
package HW3_Q4; import java.util.*; public class RedBlackBST<Key extends Comparable<Key>, Value> { private static final boolean RED = true; private static final boolean BLACK = false; private Node root; // root of the BST private class Node { private Key key; // key priva...
true
7186ebeaf67d3a3e24ceb1a74f9ba3a65635e02b
Java
leejeeho6661/project_2
/src/main/java/com/javateam/project/mapper/CommentMapper.java
UTF-8
566
2.125
2
[]
no_license
package com.javateam.project.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import com.javateam.project.domain.CommentVO; public interface CommentMapper { //댓글 개수 public int commentCount(@Param("ano")int ano); // 댓글 목록 public List<CommentVO> commentList(@Param("ano")int ano); /...
true
14bb0c3d44b90436d349ff252d6bc30f2e88e806
Java
yaogdu/rpc
/src/main/java/com/demai/common/Config.java
UTF-8
1,374
2.828125
3
[ "MIT" ]
permissive
package com.demai.common; import java.io.IOException; import java.util.Enumeration; import java.util.HashMap; import java.util.Map; import java.util.Properties; /** * 配置 * * @author sumory.wu * @date 2015年1月21日 上午10:41:42 */ public class Config { private static Properties properties; private static vola...
true
0b310ab26eb3cb6e72f4d7c360558e75c3790e68
Java
zhouyuan93/leetcode
/src/main/java/v1/t700/T730.java
UTF-8
2,599
2.96875
3
[]
no_license
package v1.t700; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class T730 { private static final int MOD = 1000000007; int[][] dp; char[] c; public int countPalindromicSubsequences(String s) { this.c = s.toCharArray(); int len = s.length(); ...
true
04be1d001ddf64f7307cd99ad09aecc8e025cb58
Java
Razikus/MapAutographs
/src/main/java/eu/razniewski/countries/AutographCreator.java
UTF-8
4,966
2.046875
2
[ "Apache-2.0" ]
permissive
/* * 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 eu.razniewski.countries; import eu.razniewski.countries.config.ConfigGate; import org.bukkit.Bukkit; import org.bukki...
true
1131d4f84827ec498d310af2fb7531e5991fa996
Java
OdysseyOCN/OCPay
/OCPay_app_android/app/src/main/java/com/ocpay/wallet/widget/dialog/QRCodeSignDialog.java
UTF-8
4,303
2.09375
2
[]
no_license
package com.ocpay.wallet.widget.dialog; import android.app.Activity; import android.app.AlertDialog; import android.databinding.DataBindingUtil; import android.os.Bundle; import android.view.Gravity; import android.view.View; import android.view.ViewGroup; import android.view.Window; import com.ocpay.wallet.MyApp; im...
true
26d55d55961b925de6aaaf611a8892bee266ce2b
Java
WacoMaco/Super-Examen-Final-Chachi-Piruli
/Acme-Newspaper/src/main/java/services/NewspaperService.java
UTF-8
9,334
1.960938
2
[]
no_license
package services; import java.sql.Date; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Random; import javax.transaction.Transactional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Servi...
true
aec0afc0b375ee0ab6ce2353a48baa6b56e62c3f
Java
tuananh1994/Android-Code-Examples
/internet-network-wifi-web-blablabla.java
UTF-8
9,056
2.953125
3
[]
no_license
//********************************************** Download image from internet URL url = new URL(link text); Bitmap bmp = BitmapFactory.decodeStream(url.openConnection().getInputStream()); img.setImageBitmap(bmp); // ********************************************** read text / html from internet private class GetXM...
true
d69e9e0d6f1d3a63a555ce9fd0b528367f637181
Java
martins1930/samples
/gradle/WSCxf/WSShared/src/main/java/uy/edu/fing/pgrad/pge/wscxf/Hello.java
UTF-8
246
1.757813
2
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package uy.edu.fing.pgrad.pge.wscxf; import javax.jws.WebService; @WebService public interface Hello { public String sayHi(String name); }
true
47d3ef13b1b338ba3c7c014f6820f32eaa9b5b44
Java
lor6/tutorials
/testing-modules/junit5-migration/src/test/java/com/baeldung/junit4/AnnotationTestExampleUnitTest.java
UTF-8
653
2.40625
2
[ "MIT" ]
permissive
package com.baeldung.junit4; import com.baeldung.junit4.categories.Annotations; import com.baeldung.junit4.categories.JUnit4UnitTest; import org.junit.Ignore; import org.junit.Test; import org.junit.experimental.categories.Category; @Category(value = { Annotations.class, JUnit4UnitTest.class }) public class Annotatio...
true
b4613e6e34accf6bfe5f1fde403419cef5b013f7
Java
ekochnev/pla
/src/main/java/com/pla/publishedlanguage/domain/model/PremiumFrequency.java
UTF-8
660
2.40625
2
[]
no_license
package com.pla.publishedlanguage.domain.model; /** * Created by Samir on 4/7/2015. */ public enum PremiumFrequency { ANNUALLY { @Override public int getNoOfPremiumYearlyFactor() { return 1; } }, SEMI_ANNUALLY { @Override public int getNoOfPremiumYearlyFac...
true
e6f32471d58c3fddc8441e416fe69878a5412f12
Java
marcingebus/tcMenu
/tcMenuGenerator/src/main/java/com/thecoderscorner/menu/editorui/generator/arduino/ArduinoItemGenerator.java
UTF-8
9,202
2.28125
2
[ "Apache-2.0" ]
permissive
/* * Copyright (c) 2018 https://www.thecoderscorner.com (Nutricherry LTD). * This product is licensed under an Apache license, see the LICENSE file in the top-level directory. */ package com.thecoderscorner.menu.editorui.generator.arduino; import com.thecoderscorner.menu.domain.*; import com.thecoderscorner.menu.d...
true
9d235f35a4739a660768c13d4dc338bc457ff030
Java
TonySamara/CPWeb
/WebProject/src/main/java/com/dao/BiographyDAO.java
UTF-8
700
2.234375
2
[]
no_license
package com.dao; import com.models.Biography; import com.models.Player; import java.sql.SQLException; import java.util.List; /** * Created by ANTON on 07.03.2016. */ public interface BiographyDAO { public void addBiography(Biography biography) throws SQLException; public void updateBiography(Biography bi...
true
f1cdfdd3c653f2f06df2a017fba1c34dba3ee77f
Java
bluelhf/NaturalDisasters
/src/main/java/io/github/bluelhf/naturaldisasters/command/NaturalDisastersCommand.java
UTF-8
4,456
2.53125
3
[]
no_license
package io.github.bluelhf.naturaldisasters.command; import com.moderocky.mask.command.ArgString; import com.moderocky.mask.command.Commander; import com.moderocky.mask.template.WrappedCommand; import io.github.bluelhf.naturaldisasters.NaturalDisasters; import io.github.bluelhf.naturaldisasters.disaster.LocationedDisas...
true
5bad5a43c0adc104f5f64fd62c60c7de45ab3169
Java
Phynvi/jWakfu
/src/main/java/com/velocity/jwakfu/net/packets/in/Packet2079RequestWebSessionToken.java
UTF-8
513
1.914063
2
[]
no_license
package com.velocity.jwakfu.net.packets.in; import com.velocity.jwakfu.net.packets.IncomingPacket; import com.velocity.jwakfu.net.packets.out.Packet2079SetWebSessionToken; import com.velocity.jwakfu.session.ClientSession; import io.netty.buffer.ByteBuf; /** * Created by Bart on 1/14/2017. */ public class Packet2079...
true
e59a7fb49e09496cd8bda1235ae86cf859fe587d
Java
Kanger520/library-Swing-
/src/edu/libsys/service/OrderService.java
UTF-8
659
1.976563
2
[]
no_license
package edu.libsys.service; import java.util.List; import edu.libsys.bean.OrderBean; public interface OrderService { Long insert(OrderBean bean); Long delete(String ISBN); Long update(OrderBean bean); List<OrderBean> list(); OrderBean load(String ISBN);// 获取一行,传入主键,不存在返回null Long count();// 统计行数 OrderBe...
true
5c6dbd2896ce0724ccf866afb7a684da1821ccf0
Java
kaka-go/BeetleGo
/BeetleGo/src/game/edw/beetlego/model/Plane.java
UTF-8
2,282
2.578125
3
[]
no_license
package game.edw.beetlego.model; import game.edw.beetlego.C; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Rect; public class Plane { public float X = 0; public float Y = 0; public int ID = 0; public int Life = C.PLANE_LIFE; pu...
true
c70826ee35f160874ee644b10b5b45260172b5b0
Java
SmallEmoLover/PetApp
/src/main/java/petApp/Main.java
UTF-8
557
2.375
2
[]
no_license
package petApp; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Scene; import javafx.stage.Stage; public class Main extends Application { @Override public void start(Stage primaryStage) throws Exception { FXMLLoader windowLoader = new FXMLLoader(); windo...
true
5a890e8efefe7886c614f0a5968b36a7b070e80c
Java
xiaofans/Algorithm
/src/chapter_2_sort_base/Insertion.java
UTF-8
363
3.234375
3
[]
no_license
package chapter_2_sort_base; public class Insertion extends Example { public static void sort(Comparable[] a){ int N = a.length; for(int i = 1; i < N;i ++){ for(int j = i; j > 0 && less(a[j], a[j - 1]);j --){ exch(a, j, j - 1); } } } public static void main(String[] args) { Integer[] a = {10,2...
true
c4065caed7f76ea0343bd8ef5c47819678590e20
Java
GordanSajevic/BitpikAndroid
/app/src/main/java/bitpikteam/project/bitcamp/ba/bitpik/Activities/MainActivity.java
UTF-8
7,459
2.46875
2
[]
no_license
package bitpikteam.project.bitcamp.ba.bitpik.Activities; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Handler; import android.os.Looper; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.util.Log; imp...
true
4a78ef3771202f1a3e389d38c283ffcde000fedc
Java
wtyicy/wtyicy-file-demo
/src/main/java/com/wtyicy/controller/FileController.java
UTF-8
761
2.296875
2
[ "Apache-2.0" ]
permissive
package com.wtyicy.controller; import com.wtyicy.config.BaseConfig; import com.wtyicy.entity.VirtualFile; import com.wtyicy.uploader.FileUploader; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.multipart.Multi...
true
ff12b9ce9df7971e28ee727f1c3f098ebf3c4f86
Java
frizzleqq/BANGFile
/src/at/ac/univie/clustering/clusterers/ClustererFactory.java
UTF-8
2,467
3.390625
3
[]
no_license
package at.ac.univie.clustering.clusterers; import at.ac.univie.clustering.clusterers.bangfile.BANGFile; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Factory to produce objects extending the Clusterer class. * <br> * To add ...
true
59ceea73e5679e211eef113bbb137f82c3be0e9c
Java
ianuoui/elasticsearch
/server/src/main/java/org/elasticsearch/rest/action/admin/indices/RestClearIndicesCacheAction.java
UTF-8
2,613
1.726563
2
[ "Apache-2.0", "Elastic-2.0", "SSPL-1.0", "LicenseRef-scancode-other-permissive" ]
permissive
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
true
2e584a0c5eb7cc01ae861a7f2886e6f504650404
Java
mircofranzago/soapui
/soapui/src/main/java/com/eviware/soapui/settings/SSLSettings.java
UTF-8
2,967
2.0625
2
[]
no_license
/* * SoapUI, copyright (C) 2004-2012 smartbear.com * * SoapUI is free software; you can redistribute it and/or modify it under the * terms of version 2.1 of the GNU Lesser General Public License as published by * the Free Software Foundation. * * SoapUI is distributed in the hope that it will be use...
true
bb41d8b62592185707e3825310e34d0620d019fb
Java
lchasi/mipiensa
/src/main/java/com/clases/usuariodb/modelos/Pregunta.java
UTF-8
1,359
2.34375
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.clases.usuariodb.modelos; /** * * @author magb */ public class Pregunta { private int numero; private String pr...
true
7daf475e5361e80a276cfed1ea42d8d32b7fe5d7
Java
RyanTech/12306-Android-Decompile
/12306/src/org/codehaus/jackson/map/deser/impl/BeanPropertyMap.java
UTF-8
5,530
2.40625
2
[]
no_license
package org.codehaus.jackson.map.deser.impl; import java.util.Collection; import java.util.Iterator; import java.util.NoSuchElementException; import org.codehaus.jackson.map.deser.SettableBeanProperty; public final class BeanPropertyMap { private final Bucket[] _buckets; private final int _hashMask; private fin...
true
2d18e08f6909dee1fcc3624490dbf91e2f1ba6d7
Java
sudarsana-pra/OCTBATCH-AAMEC
/Myproject/src/project/Arrayopr/ArrayLi1.java
UTF-8
1,017
3.484375
3
[]
no_license
package project.Arrayopr; //qus 5.1 import java.util.ArrayList; public class ArrayLi1 { public static void main(String[] args) { // TODO Auto-generated method stub ArrayList<Integer> Al1 = new ArrayList<Integer>(); Al1.add(10); Al1.add(20); Al1.add(30); Al1.add(90); int indexOf = Al1.index...
true
3942788dac57cfb6d2198f7ea5e4e6c916e394f0
Java
TrusTio/CowsAndBulls_Java
/src/Game.java
UTF-8
15,707
2.40625
2
[]
no_license
import java.awt.*; import java.awt.event.*; import java.io.File; import javax.swing.*; import javax.swing.BorderFactory; import javax.swing.border.Border; public class Game extends JFrame{ private JPanel panelContainer; private CardLayout cl; private JTextField inputField; private JTextArea previousRes...
true
f174b1d15b25a02a57ca3ad68fc888666a4ef021
Java
nikolay-simeonov-86/Java-Course-Homeworks
/lekcia3/src/TimePlus15Minutes.java
UTF-8
1,811
3.453125
3
[]
no_license
import java.util.Scanner; public class TimePlus15Minutes { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int hour = Integer.parseInt(scanner.nextLine()); int min = Integer.parseInt(scanner.nextLine()); int hour2 = 1; int hour1 = 1; ...
true
1afc7d281465ad5521e2d5355e3aaaa42d9bac24
Java
rmptgw/aca-chunga
/project03/src/com/mis/dto/CusVO.java
UTF-8
1,308
2.3125
2
[]
no_license
package com.mis.dto; public class CusVO { /* * CREATE TABLE "MIS"."CUSTOMER" ( "CUS_NO" NUMBER NOT NULL ENABLE, "CUS_NAME" VARCHAR2(20 BYTE) NOT NULL ENABLE, "CUS_ADR" VARCHAR2(30 BYTE) NOT NULL ENABLE, "CUS_PHONE" VARCHAR2(11 BYTE) NOT NULL ENABLE, "CUS_EMAIL" VARCHAR2(30 BYTE) NOT NULL E...
true
9ce81d2f727bb92edb39cbd6e74aa09ef2ab0d52
Java
amxsa/application-community-openweb
/community-persistence/src/main/java/com/rfchina/community/persistence/model/ReleaseApplyGoods.java
UTF-8
9,167
1.984375
2
[]
no_license
package com.rfchina.community.persistence.model; import java.io.Serializable; import java.util.Date; public class ReleaseApplyGoods implements Serializable { private Integer id; private String applicantName; private String applicantPhone; private String carrierName; private String carrierPhone...
true
733264e7f5d261c1bb79a72bdbf1ecbc412cabf5
Java
wanghuixuan2014/test2
/CGB-JAVASE-V1.01/src/main/java/com/cy/java/serializable/TestSerializable03.java
UTF-8
2,702
3.21875
3
[]
no_license
package com.cy.java.serializable; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.util.Base64; import java.util.Base64.Decoder; import java.util.Base64.Encoder; class SysLog implemen...
true
e7e6e701bfa45fb18fb6a1adab8950989329fba7
Java
NhanDang797/Minishop
/minishop/src/main/java/com/impl/SanPhamImpl.java
UTF-8
454
1.742188
2
[]
no_license
package com.impl; import com.entity.DanhMucSanPham; import com.entity.SanPham; import java.util.List; public interface SanPhamImpl { List<SanPham> dsSamPhamLimit(int spBatDau);/*Hàm lấy ds sản phẩm theo giới hạn */ SanPham sanPhamTheoMa(int maSanPham); List<SanPham> sanPhamTheoDanhMuc(int maDanhMuc); ...
true
6ced85f02ef87fe54e5fe88d9687380e19b57c39
Java
uvsq21806299/pglp_9.9
/pglp_9.9/src/main/java/fr/uvsq/pglp_9/FormesDAO.java
UTF-8
6,654
2.421875
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 fr.uvsq.pglp_9; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLE...
true
f1d29ff581ce32943dfa8c3c005154e2ff7394eb
Java
zarusz/Workspace
/trading/fx-data-access-mock/src/main/java/com/cs/fx/dataaccess/MockCustomerRepository.java
UTF-8
593
2.640625
3
[ "Apache-2.0" ]
permissive
package com.cs.fx.dataaccess; import com.cs.fx.domainmodel.Customer; import com.cs.fx.domainmodel.CustomerRepository; /** * Created by Tomasz on 07.07.2017. */ public class MockCustomerRepository implements CustomerRepository { private static final String ID1 = "PLUTO1"; private static final String ID2 = "...
true
81cea45b16361526eb5eb59a5827b837f2f69227
Java
ronlm/mongoose
/Goose/test/testService/testGooseStatistic.java
UTF-8
2,480
1.914063
2
[]
no_license
package testService; import java.sql.Date; import java.util.ArrayList; import java.util.List; import org.junit.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import com.scau.goose.vo.FarmStock; import com.scau.model.g...
true
0d9ab32a37e8b87e1f0ebae72fb56c0e12c1473f
Java
timsu/zxzx
/zxzx-android/src/com/todoroo/zxzx/ZxZxGame.java
UTF-8
417
2.234375
2
[]
no_license
package com.todoroo.zxzx; import com.badlogic.gdx.Game; import com.badlogic.gdx.Screen; public class ZxZxGame extends Game { Screen mainMenuScreen; Screen playingScreen; /** Creates all the screens that the game will need, then switches to the main menu. */ public void create() { Assets.load...
true
9573837bc4ff2010bd25c14cf82f7569642344f9
Java
lydia0801/technology
/src/com/icss/actions/UserShowAction.java
UTF-8
395
2.109375
2
[]
no_license
package com.icss.actions; import com.icss.service.UsersService; import com.icss.service.UsersServiceImp; public class UserShowAction extends ActionSupport { private UsersService service = new UsersServiceImp(); private int id; @Override public String execute() throws Exception { return outJSON(se...
true
a351ce8cdbb4b42aef1490f9cf4e184ba3ffceb6
Java
miaoqiong/Object-Oriented-Application-Development
/src/is201/g5t08/farmcity/entity/Crop.java
UTF-8
3,745
3.359375
3
[]
no_license
package is201.g5t08.farmcity.entity; /** * The Crop class represents a type of crop. Crop seeds can be bought from the * store and be planted by users in their farm. After waiting for a set amount * of time, the crop matures and can be harvested by the user, earning them * experience points and gold. */ public cl...
true
b6d796f4ec875c16f60527aab48f550d3d5c406c
Java
DeadMan95/CucumberTest
/src/test/java/steps/CucumberSteps.java
UTF-8
1,149
2.421875
2
[]
no_license
package steps; import io.cucumber.java.After; import io.cucumber.java.Before; import io.cucumber.java.en.Given; import io.cucumber.java.en.Then; import io.cucumber.java.en.When; import org.junit.Assert; import org.openqa.selenium.support.PageFactory; import pages.HomePage; import pages.SearchResultsPage; import webdri...
true
2ced018efb62a957ea1b14dac4a581f11c53f46e
Java
parksm203/java_psm
/psm/src/day8/LottoEx1.java
UTF-8
4,208
3.703125
4
[]
no_license
package day8; import java.util.Arrays; import java.util.Scanner; public class LottoEx1 { public static void main(String[] args) { //1~45사이의 중복되지 않은 6개의 로또 번호와 1개의 보너스번호를 생성 int min = 1, max = 45; int [] lotto = randomArray(min, max, 6); //당첨번호와 중복되지 않게 보너스 번호를 랜덤으로 생성하여 저장 int bonus = createBonus(...
true
fe4e4596c106cb1f2c57a29ff809cc5b54fd9907
Java
rafscomm/Concorrente
/pc_trabalho02_201911907/thread/Controller.java
UTF-8
3,848
2.53125
3
[]
no_license
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Autor....: Rafael Pereira Santos Matricula: 201911907 Inicio...: 17 de agosto de 2021 Alteracao: 18 de agosto de 2021 Nome.....: Controller.java Funcao...: Construcao da classe de controle que manipula as threads =-=-=--=-=-=-=-=-=-=-=-=...
true
581d11087d67f8f03fab2eda118874030bf7e5f2
Java
elwyncrestha/restaurant-management-system
/src/main/java/com/github/elwyncrestha/rms/web/chart/ChartController.java
UTF-8
1,756
2.1875
2
[]
no_license
package com.github.elwyncrestha.rms.web.chart; import java.util.ArrayList; import java.util.List; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.Reque...
true
744b51421305f4abec3b9cc91bad63b8c50e1651
Java
GermanPinto/horoscopoChino
/PruebaHoroscopoChino/src/com/desafiolatam/modeloDAO/IHoroscopoDao.java
ISO-8859-10
362
1.960938
2
[]
no_license
package com.desafiolatam.modeloDAO; import com.desafiolaram.modelo.Horoscopo; public interface IHoroscopoDao { public abstract void create(); public abstract void update(Integer id); public abstract void delete(Integer id); public abstract void getAll(); public abstract void getById(Integer id); public abstrac...
true
c228ac6af0f4c97768fe885f2f55b4e3a1bb8c7f
Java
Javs15a/CuadroMagico
/src/GUI/TextNumbers.java
UTF-8
1,006
2.9375
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 GUI; import java.awt.Color; import java.awt.Font; import javax.swing.JTextField; import javax.swing.SwingConstants; /** * *...
true
7aa6e09d5df760a7bd0b3da2993324787fbe574e
Java
729324091/zdv_shop
/src/main/java/com/zdv/shop/model/DtDistributor.java
UTF-8
4,147
1.75
2
[]
no_license
package com.zdv.shop.model; import javax.persistence.Id; import javax.persistence.Table; import javax.persistence.Transient; /** * 经销商(供应商)表 */ @Table(name="dt_distributor") public class DtDistributor { @Id private String udistributorid; private String udname; private String ucustomerid;//经销商商户号 private Strin...
true
a45e20f4f545dee201adc64d6b582cc54bc3dbed
Java
pratikhatankar23/GitDemo
/gitstuff/src/testNG_OBDX/WMS_Redeem_1.java
UTF-8
46,700
2.09375
2
[]
no_license
package testNG_OBDX; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.util.Properties; import java.util.concurrent.TimeUnit; import org.apache.commons.io.FileUtils; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.Keys...
true
a9f6a4021cd9ee068bc868dfc1d400212f22321c
Java
Jayvos/jayvos_practice1
/Product Inventory Project/Test.java
UTF-8
544
2.703125
3
[]
no_license
import java.util.concurrent.ThreadLocalRandom; public class Test { public static void main(String[] args) { Inventory inventory = new Inventory(); for(int i = 0; i < 999999; i++) { String insert_string = String.format("v%06d", i+1); double insert_double = ThreadLocalRandom.current().nextDouble(1, 101); ...
true
3b2cf48a75833226cfb97f6e7a10371e015cc10f
Java
tastydew/jtt
/jtt2/app/src/main/java/tastydew/com/justthetip/BillController.java
UTF-8
3,936
2.3125
2
[]
no_license
package tastydew.com.justthetip; import android.app.Activity; import android.view.View; import android.widget.SeekBar; /** * Created by tasty on 3/26/2018. */ public class BillController { private BillModel bModel; private MainActivity bView; private double subTotal; private double tipAmount; ...
true
8d934ede478b9674818f081e8f95999afc692b3a
Java
tharagold/DetailsBank
/src/org/emp/Employee.java
UTF-8
500
2.6875
3
[]
no_license
package org.emp; public class Employee { public void empId(int id) { System.out.println("Employee Id:"+id); } public void empId(String name ) { System.out.println("Employee Name:"+name); } public void empId(int phno,String emailid) { System.out.println("Employee phone no:"+phno); System.out.println("Employ...
true
6a082a4c3d01351361e59061403b95f37ff1303d
Java
chuhuilove/marshal
/marsha-example/example-server/src/main/java/com/chuhui/marshal/examplserver/controller/OrderController.java
UTF-8
3,082
2.53125
3
[ "Apache-2.0" ]
permissive
package com.chuhui.marshal.examplserver.controller; import lombok.Getter; import lombok.Setter; import org.springframework.web.bind.annotation.*; import java.util.ArrayList; import java.util.List; import java.util.UUID; /** * OrderController * <p> * * @author: 纯阳子 * @date: 2019/12/3 */ @RestCo...
true
f669cc054c79a2ed5ec3f870926ff36b23ffe7b6
Java
huangbifu/hbf
/widget/app/src/main/java/com/cnsunrun/chat/adapters/ChatSearchHistoryAdapter.java
UTF-8
2,495
2.015625
2
[]
no_license
package com.cnsunrun.chat.adapters; import android.support.annotation.Nullable; import android.text.SpannableStringBuilder; import com.chad.library.adapter.base.BaseQuickAdapter; import com.chad.library.adapter.base.BaseViewHolder; import com.cnsunrun.R; import com.cnsunrun.common.boxing.GlideMediaLoader; import com....
true
6f65a973a5ddedb6fed9195b23be067e75f952f5
Java
mwsobol/iGrid
/iGrid/modules/sorcer/src/sorcer/core/context/ComprehensiveContextModelImpl.java
UTF-8
7,613
2.40625
2
[]
no_license
/* * Copyright 2009 the original author or authors. * Copyright 2009 SorcerSoft.org. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-...
true
404c46d2976d38fd47b65626d166bf126af28cc3
Java
SaraWin98/FishesEmulator
/src/sample/Main.java
UTF-8
1,097
3.109375
3
[]
no_license
package sample; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage; public class Main extends Application { //application is a prebuilt java class that provides a framework to manage a JavaFX application //resp...
true
f0a584e512055b45f03aad7f6ae45254add9bdf3
Java
RochShur/TsinghuaJS
/src/main/java/com/algorithm/numbertheory/ExtendedEuclideanalgorithm.java
UTF-8
973
3.703125
4
[]
no_license
package com.algorithm.numbertheory; /** * Created on 2020/4/2 * 扩展欧几里得算法. * <p> * 定理:设a,b,c为任意整数。若方程ax+by=c的一组整数解为(x0,y0),则它的任意整数解都可以写成(x0+kb',y0-ka') * 其中a'=a/gcd(a,b),b'=b/gcd(a,b) * </p> * * @author WuYi */ public class ExtendedEuclideanalgorithm { static int x; static int y; ...
true
524079946fa09580bf83e4c3af3428cbadd987dc
Java
watsonwanda/cryptonade
/app/src/main/java/com/mattcormier/cryptonade/BalancesFragment.java
UTF-8
6,425
2.0625
2
[]
no_license
package com.mattcormier.cryptonade; import android.content.res.Resources; import android.support.v4.app.Fragment; import android.content.Context; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.widget.SwipeRefreshLayout; import android.util.Log; import android.view.Layou...
true
6e7f230c95d9b20b1286005193455e34177459f8
Java
JulianRendon/JDBC_PersonDAO
/com.julianrendon.JDBC_PersonDAO/src/com/julianrendon/interfaceDAOImplementation/PersonDAOImplementation.java
UTF-8
3,413
2.953125
3
[]
no_license
package com.julianrendon.interfaceDAOImplementation; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import com.julianrendon.connection.ConnectionFactory; import com.julianrendon.interf...
true
a6c76aa5c55b0f66cd79dd0ad240d8aedd3444ff
Java
Niordsid/Proyecto.B.D.II
/src/negocio/ApoyoAlimentario.java
UTF-8
1,302
2.3125
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 negocio; import datos.ConvocatoriaDAO; import util.RHException; /** * * @author AndreStereo */ public class ApoyoAlimentari...
true
6834566a9b68e6aca83157b00ebd39d883053fef
Java
569717064/mybatis
/src/main/java/com/woniu/k_lazyload/Clazz.java
UTF-8
827
2.46875
2
[]
no_license
package com.woniu.k_lazyload; import java.io.Serializable; import java.util.Set; public class Clazz implements Serializable { private Integer cid; private String cname; private Set<Stu> stus; public Clazz(Integer cid, String cname, Set<Stu> stus) { super(); this.cid = cid; this.cname = cname; ...
true
b96a285292d0fa616bba560c398532844dd065c6
Java
wangyu190810/some_lang
/java/pdf_parse/src/main/java/parse/MoveFile.java
UTF-8
678
2.890625
3
[ "MIT" ]
permissive
package parse; /** * Created by wangyu on 2017/4/21. */ import java.io.File; public class MoveFile { public static void main(String[] args) { String newpath = "F://test//move//"; String path = "F://test//movea.txt"; move(path, newpath); } public static boolean move(String file...
true
115a26da8769268d6e9b8802b9ae6cce816e8caa
Java
thanghaqn2000/A1020I1-HoDucThang
/module4/11_WebService_Rest/BaiTap/Blog/src/main/java/vn/codegym/blog/controller/BlogRestController.java
UTF-8
2,227
2.09375
2
[]
no_license
package vn.codegym.blog.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import o...
true
7c0fee5180648af9cc8bf94283c888f8e573ce7e
Java
kunsingh/DataStructureAndAlgorithm
/LinkedList/src/com/test/circular/LinkedList.java
UTF-8
2,008
3.671875
4
[]
no_license
package com.test.circular; public class LinkedList { public Node first; int nItems; public LinkedList() { first = null; } public void insertAtEnd(int value) { Node node = new Node(value); if (first == null) { first = node; } else { Node cur...
true
b50b4b4a454d14eba65153bea82e2471512455f0
Java
Faiyong/example-everyday
/example-2021.05.23/src/main/java/io/github/syske/example2021052/Example.java
UTF-8
1,632
3.296875
3
[]
no_license
package io.github.syske.example2021052; import java.util.Comparator; import java.util.Optional; import java.util.concurrent.Callable; /** * @program: example-2021.05.23 * @description: 2021-05-23 example * @author: syske * @date: 2021-05-24 7:06 */ public class Example { public static void main(String[] args...
true
47794e6e37730feef8e6d172779f35e8b0f6be6b
Java
seerdaryilmazz/OOB
/library/configuration/src/main/java/ekol/oneorder/configuration/dto/ListOption.java
UTF-8
382
1.539063
2
[]
no_license
package ekol.oneorder.configuration.dto; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import ekol.model.CodeNamePair; @JsonIgnoreProperties(ignoreUnknown = true) public class ListOption extends Option<CodeNamePair[]> { /** * */ private static final long serialVersionUID = 1L; public ListO...
true
9d0fa8b358967bee25c751c6bdcf28b1e5b44c80
Java
FAMILIAR-project/Thesis-JHipster
/FML-brute/src/JHipsterTest.java
UTF-8
18,055
1.703125
2
[ "MIT" ]
permissive
import static org.junit.Assert.assertTrue; import java.io.File; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; import org.apache.commons.lang3.ArrayUtils; import org.apa...
true
6ffc238f1d82f0480b56e555a7b5125676ed3205
Java
cengizgoren/facebook_apk_crack
/app/com/facebook/katana/activity/places/PlacesInfoActivity$ActivityBlob.java
UTF-8
544
1.679688
2
[]
no_license
package com.facebook.katana.activity.places; import com.facebook.ipc.katana.model.FacebookPlace; class PlacesInfoActivity$ActivityBlob { final FacebookPlace a; public PlacesInfoActivity$ActivityBlob(PlacesInfoActivity paramPlacesInfoActivity, FacebookPlace paramFacebookPlace) { this.a = paramFacebookPlace;...
true
0365b1da1e33c13216079331a1d14f95f3e54b5a
Java
AndreeaComan94/NewsApplication
/src/model/RssExamples.java
UTF-8
787
2.25
2
[]
no_license
package model; import java.io.Serializable; import javax.persistence.*; /** * The persistent class for the RssExamples database table. * */ @Entity @NamedQuery(name="RssExamples.findAll", query="SELECT r FROM RssExamples r") public class RssExamples implements Serializable { private static final long seria...
true
474362510daca7d704c33f355297f9d1a43500f7
Java
gargshubhangi/Automation
/Test/src/automation/MultipleWindowEx2.java
UTF-8
1,298
2.859375
3
[]
no_license
package automation; import java.util.Iterator; import java.util.Set; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class MultipleWindowEx2 { public static String path="C:\\Users\\Shubh...
true
b4daa8fee1fd539ac3188b68650f914ab95938f5
Java
wuhaty/JavaInterview
/src/Question/mspractice/mock/d6/q2.java
UTF-8
648
2.921875
3
[]
no_license
package Question.mspractice.mock.d6; import java.util.*; public class q2 { public int[][] diagonalSort(int[][] mat) { int n = mat.length; int m = mat[0].length; Map<Integer, PriorityQueue<Integer>> map = new HashMap<>(); for (int i = 0; i < n; i++) { for (int j = 0; j...
true
f0630b5868a849e277b1cad775791354cebe9641
Java
CESNET/perun
/perun-web-gui/src/main/java/cz/metacentrum/perun/webgui/client/mainmenu/MainMenuItem.java
UTF-8
4,544
2.328125
2
[ "BSD-2-Clause" ]
permissive
package cz.metacentrum.perun.webgui.client.mainmenu; import com.google.gwt.resources.client.ImageResource; import com.google.gwt.user.client.ui.HTML; import com.google.gwt.user.client.ui.Hyperlink; import com.google.gwt.user.client.ui.Image; import com.google.gwt.user.client.ui.Widget; import cz.metacentrum.perun.webg...
true
0ce280ca02d8e6989326fcea63ea74a9dfe725f4
Java
514687572/imserver
/src/main/java/com/qiqiim/server/proxy/MessageProxy.java
UTF-8
1,266
2.0625
2
[ "Apache-2.0" ]
permissive
/** * ************************************************************************************** * * @Author 1044053532@qq.com * @License http://www.apache.org/licenses/LICENSE-2.0 * ************************************************************************************** */ package com.qiqiim.server.proxy; import com....
true
c1b432fff9686b8ac74a7ca43a6cf44db9bf0927
Java
opencypher/openCypher
/tools/grammar/src/main/java/org/opencypher/grammar/Node.java
UTF-8
6,188
2.125
2
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
/* * Copyright (c) 2015-2023 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * 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.ap...
true
40489b68aaf828d0c41b2ea350bb02ebf7dd82fc
Java
wzgiceman/DaggerMvpDemo
/app/src/main/java/com/wzgiceman/daggerdemo/di/component/MvpPresenterComponent.java
UTF-8
454
1.921875
2
[]
no_license
package com.wzgiceman.daggerdemo.di.component; import com.wzgiceman.daggerdemo.di.PerApp; import com.wzgiceman.daggerdemo.di.module.MvpPresenterModule; import com.wzgiceman.daggerdemo.mvp.ui.MvpActivity; import javax.inject.Singleton; import dagger.Component; /** * Created by WZG on 2016/11/4. */ @PerApp @Singlet...
true
bb184ad42d3be384f0d5b65b7e9853454eec3a1e
Java
M0hamedGamal/Android-self-study
/RecordInFile/app/src/main/java/com/example/user/recordinfile/MainActivity.java
UTF-8
8,219
2.5625
3
[]
no_license
package com.example.user.recordinfile; import android.Manifest; import android.content.pm.PackageManager; import android.media.MediaPlayer; import android.media.MediaRecorder; import android.os.Environment; import android.support.annotation.NonNull; import android.support.v4.app.ActivityCompat; import android.support....
true
d58dca284d8fb3c10ec79590c82dc7a75ce80373
Java
DimaTokyo2020/BlackHole
/app/src/main/java/com/dk/blackhole/models/image/ImagesDao.java
UTF-8
1,528
2.328125
2
[]
no_license
package com.dk.blackhole.models.image; import androidx.lifecycle.LiveData; import androidx.room.Dao; import androidx.room.Delete; import androidx.room.Insert; import androidx.room.OnConflictStrategy; import androidx.room.Query; import com.dk.blackhole.models.user.User; import java.util.List; import javax.annotation...
true
479dc35cf632ddb1090d59d753f893b623674e44
Java
allanx2000/BalanceTracker
/app/src/main/java/com/innouvous/balancetracker/data/Provider.java
UTF-8
1,975
2.6875
3
[]
no_license
package com.innouvous.balancetracker.data; import com.innouvous.utils.Utils; import java.util.Date; /** * Created by Allan on 8/21/2016. */ public class Provider { private Long id; private String name; private Date lastUsed = null; private double balance; private double fare; private Strin...
true
e7fc230d6931b9fdddbeb0f2b5c69ad1e44ed339
Java
fgrsetic/SMSapp
/app/src/main/java/com/franjo/smsapp/ui/messages/new_message/NewMessageFragment.java
UTF-8
6,987
1.914063
2
[ "Apache-2.0" ]
permissive
package com.franjo.smsapp.ui.messages.new_message; import android.app.Activity; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.provider.ContactsContract; import andro...
true
724014c970ccb912a77867be3688990dbc63c531
Java
rohitmodeltown/TestAutomation
/Practice/src/set/SetAddString.java
UTF-8
402
3.25
3
[]
no_license
package set; import java.util.HashSet; import java.util.Set; public class SetAddString { public static void main(String[] args) { Set<String> added = new HashSet<String>(); added.add("Ram"); added.add("Shyam"); added.add("Daam"); System.out.println(added.size()); if(!added.add("R...
true
54119e4c7649ccae94afe99c11dbb40ffa2db4b1
Java
mtlzyy/Acg
/src/com/acg/dao/UsersDao.java
GB18030
2,377
2.3125
2
[]
no_license
package com.acg.dao; import com.acg.bean.Users; import com.acg.dao.util.DaoHandle; public class UsersDao { /** * ûidûϢ * @param userId * @return */ public Users findUserByUserId(int userId){ return DaoHandle.executeQueryForSingle("select * from users where userId=?",new Object[]{userId},Users....
true
59bceb8e25619169bc05f588af185b978b352dd9
Java
JimmyLopes/vivo-challenge
/src/main/java/br/com/vivo/challenge/backend/utils/StringUtils.java
UTF-8
989
2.796875
3
[ "MIT" ]
permissive
package br.com.vivo.challenge.backend.utils; import java.text.MessageFormat; import java.util.Locale; import java.util.MissingResourceException; import java.util.ResourceBundle; public class StringUtils { /** * Construtor padrão privado para a classe não ser instanciada indevidamente. */ private St...
true
ab2eca315e6d28b58ae080ae6a26dee1bc3b043a
Java
FredrikFolkesson/D-Sek-Sjungbok
/src/com/sjung/sjungbok/CategoryActivity.java
UTF-8
6,196
2.09375
2
[ "MIT" ]
permissive
package com.sjung.sjungbok; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import android.os.Bundle; import android.os.Handler; import android.app.Activity; import android.content.Intent; import android.graphics.Color; import android.support.v4.app.ActionBarDrawerToggle; import an...
true
77de85689c7ce3ccd502184cbc3e0bc09f404c55
Java
mSpiker1/Spiker-app1-impl
/TodoListApplication/src/main/java/todobase/todolistapplication/TodoListApplication.java
UTF-8
6,725
3.140625
3
[]
no_license
/* * UCF COP3330 Fall 2021 Application Assignment 1 Solution * Copyright 2021 Matthew Spiker */ package todobase.todolistapplication; import javafx.application.Application; import javafx.stage.Stage; import java.io.*; public class TodoListApplication extends Application { //method to start the application w...
true
0217e7417eb7a876be8501ea024ea1c3487f4338
Java
sabirmustafayev/SeleniumProject
/src/test/java/tests/HW/Version2_VytractCalendarEvents/AllTests.java
UTF-8
1,697
2.421875
2
[]
no_license
package tests.HW.Version2_VytractCalendarEvents; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.openqa.selenium.interactions.Actions; import org.testng.Assert; import org.testng.annotations.Test; import tests.TestBase; import utils.Driver; import utils.Pages; public class AllTests ...
true
2e784ad67a7621950f8811e0ee8a9cc83adf63ad
Java
JOMC/JOMC-SDK
/jomc-sdk-model/src/main/java/org/jomc/sdk/model/ReflectionHelper.java
UTF-8
6,215
2.125
2
[]
no_license
/* * Copyright (C) Christian Schulte, 2005-206 * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * o Redistributions of source code must retain the above copyright * ...
true
0f882c49b41af4a86a1814f1370d44b446e12fd3
Java
atlanhq/marmaray
/marmaray/src/test/java/com/uber/marmaray/common/util/FileSinkConfigTestUtil.java
UTF-8
5,979
1.742188
2
[ "MIT" ]
permissive
/* * Copyright (c) 2018 Uber Technologies, Inc. * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge, p...
true
d35d330fac8b68277d9ab5765eb6c142ae20cca6
Java
KKambi/toy-timetable
/src/main/java/com/kkambi/timetable/service/RegistrationCourseService.java
UTF-8
3,858
2.21875
2
[]
no_license
package com.kkambi.timetable.service; import com.kkambi.timetable.domain.course.Course; import com.kkambi.timetable.domain.registrationCourse.RegistrationCourse; import com.kkambi.timetable.domain.registrationCourse.RegistrationCourseRepository; import com.kkambi.timetable.domain.user.User; import com.kkambi.timetable...
true
b256ec297308588866163d3d9447d66e197ba492
Java
awave1/Droider
/app/src/main/java/com/apps/wow/droider/Article/ArticlePresenter.java
UTF-8
2,303
2.203125
2
[]
no_license
package com.apps.wow.droider.Article; import android.util.Log; import com.apps.wow.droider.R; import com.apps.wow.droider.Utils.AppContext; import com.arellomobile.mvp.InjectViewState; import com.arellomobile.mvp.MvpPresenter; import rx.Subscriber; import rx.android.schedulers.AndroidSchedulers; /** * Created by J...
true
d10f35e4c619805ce54a25fc5bad8d777b0008ac
Java
ableKiHo/SpringBoot-restAPI-Template
/src/main/java/com/handcoding/restapi/exception/AccessTokenBadRequestException.java
UTF-8
245
1.6875
2
[ "MIT" ]
permissive
package com.handcoding.restapi.exception; /** * accessToken 발급 예외 * @author 이승환 * @version 2018.02.02 v1.0 */ public class AccessTokenBadRequestException extends Exception { private static final long serialVersionUID = 1L; }
true
f334df464e315469985922e80e2a72e5ba65870e
Java
dachengzi-software/ap
/Server/ThirdPartyBusinessModel/src/thirdparty/td/RuleModel.java
UTF-8
844
2.28125
2
[]
no_license
package thirdparty.td; import java.util.List; import com.google.gson.annotations.SerializedName; public class RuleModel{ @SerializedName("规则名称") private String ruleName; @SerializedName("命中分数") private int hitScore; @SerializedName("规则详情") private List<RuleDetailModel> ruleDetails; pu...
true
432ed954b835f6e72be9d17a9b2358cd7740644a
Java
DurianPancake/TotemCommunity
/totem-sso/src/main/java/com/xiaoniu/service/UserService.java
UTF-8
513
2.265625
2
[]
no_license
package com.xiaoniu.service; import com.xiaoniu.constant.enums.CheckType; import com.xiaoniu.pojo.User; public interface UserService { /** * true表示用户已经存在, false表示用户可以使用 * 1. param 用户参数 * 2. type 1 username 2 phone 3 email * @param param * @param type * @return */ b...
true
d3c4f69fa4a3f358aed38aca8519c208d9c2834a
Java
thealinaz/JAVA_IT_PARK_WORK
/HomeWorks/Task16/Program.java
UTF-8
547
3.578125
4
[]
no_license
//Оптимизировать вычисление ряда Фибоначии import java.util.Scanner; public class Program { public static int findFib(int n) { if (n < 3) { return 1; } else { int a = 1; int b = 1; for (int i = 3; i < n; i++) { b += a; a += b; } return b; } } public static void main(String[] args)...
true
f996c1108f39e5b3155576f0f4f76c83a8c24dbf
Java
buriosca/cz.burios.uniql-jpa
/src/cz/burios/uniql/persistence/jpa/jpql/tools/model/query/SimpleStateObject.java
UTF-8
3,226
2.53125
3
[]
no_license
/******************************************************************************* * Copyright (c) 2011, 2013 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 ...
true