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
766e6211ca5c9c1b3737fe38754d8d47abcdaa00
Java
SilentHiKing/MyApplication
/app/src/main/java/com/h/myapplication/bean/Errors.java
UTF-8
619
2.15625
2
[]
no_license
package com.h.myapplication.bean; public class Errors { public final static Throwable ERROR_NETWORK = new NetworkError(); public final static Throwable ERROR_SINGLE = new SingleError(); public final static Throwable ERROR_EMPTY_INPUT = new EmptyInputError(); public final static Throwable ERROR_EMPTY_R...
true
9ca5f1327926b034cccc35862fe2015a9569da18
Java
kptnewler/ZhongSuLogistics
/app/src/main/java/com/zhongsuwuliu/zhongsulogistics/JavaBean/ContainerBean.java
UTF-8
1,001
2.1875
2
[]
no_license
package com.zhongsuwuliu.zhongsulogistics.JavaBean; import java.io.Serializable; /** * Created by 刺雒 on 2016/11/23. */ public class ContainerBean implements Serializable{ private String ContainerID;//货箱ID private String KindID;//种类ID private String WarehouseID;//绑定库区ID private String temporaryID;//临...
true
79012682927cfc49f47b4f59df144f380132c9fa
Java
rusl-krow/Shagaliev_11-806
/HW5/src/com/company/num2.java
UTF-8
412
3.15625
3
[]
no_license
import java.util.Scanner; public class num2 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String number = sc.next(); char[] ch = number.toCharArray(); int res = 0; for (int i = 0; i < ch.length; i++) { res += Math.pow(10...
true
cdfcc567b08ca2cfc0d904979a402b09caa9a6ca
Java
beststarry/CS2110Projects
/src/a1/Person.java
UTF-8
5,165
4.09375
4
[]
no_license
package a1; /** an instance of a person */ public class Person { // class invariant: non-null and non-empty string private String name; // class invariant: any integer that represents a valid year private int birthYear; // class invariant: in range [1..12] private int birthMonth; // class invariant: in...
true
6ee6f008a3f8b9cc93bb06db86439f8421456029
Java
filipushandi23/Threadther-Server
/src/java/WS/WSCashier.java
UTF-8
2,315
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 WS; import controller.CustomerCtrl; import controller.MovieCtrl; import dao.StudioDAO; import dao.UserDAO; import j...
true
18b73d837e45d6d21598e3fb03fb4bd48b50e9d6
Java
JO-YUN/app-api-fy
/src/main/java/com/mscs/app/web/dao/NewsInfoNHMapper.java
UTF-8
867
1.890625
2
[]
no_license
package com.mscs.app.web.dao; import java.util.List; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import com.mscs.app.common.dto.resp.RespNewsInfoNHDto; import com.mscs.app.common.util.Page; import com.mscs.app.we...
true
ee83b6fce96db105d8d3e47889d720a43665e6e6
Java
liferayenespanol/BookingSystem
/BookingSystem-portlet/docroot/WEB-INF/src/com/LiferayEnEspanol/booking/model/impl/MeetingRoomModelImpl.java
UTF-8
22,182
1.695313
2
[]
no_license
package com.LiferayEnEspanol.booking.model.impl; import com.LiferayEnEspanol.booking.model.MeetingRoom; import com.LiferayEnEspanol.booking.model.MeetingRoomModel; import com.LiferayEnEspanol.booking.model.MeetingRoomSoap; import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; import com.liferay.portal.kernel.e...
true
e4674f4d988ebe69d14d832a141f6eefb09e5851
Java
sinimal-hit/sinamal
/stu-dorm-sys/src/main/java/org/example/controller/DormController.java
UTF-8
1,391
2.296875
2
[]
no_license
package org.example.controller; import org.example.model.Dorm; import org.example.service.DormService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.util.List; @RestController @RequestMapping("/dorm") public class DormController { @A...
true
f636ac631effd0e60a8f66a5aafc7c7a5dd262c1
Java
Abhimagic/FreeCRM
/FreeCRM/src/test/java/TestRunner/Runner.java
UTF-8
489
1.59375
2
[]
no_license
package TestRunner; import org.junit.runner.RunWith; import cucumber.api.CucumberOptions; import cucumber.api.junit.Cucumber; @RunWith(Cucumber.class) @CucumberOptions( features="Features/TagTest.feature", glue="stepDefination", format = {"pretty","html:target/html/","json:target/cucumber-json.json", ...
true
0d1b84468879f6bdee3f16889b4c705c9109123f
Java
xianhe005/AIDLClient
/app/src/main/java/com/hxh/aidlclient/MainActivity.java
UTF-8
4,183
2.09375
2
[]
no_license
package com.hxh.aidlclient; import android.annotation.SuppressLint; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.os.Build; im...
true
10b77aa1cad2bfcd554e76ceeb189467ac3d53d6
Java
gayathriksoman/revelio
/app/src/main/java/com/example/gayathri/revelio/Maps.java
UTF-8
1,957
2.0625
2
[]
no_license
package com.example.gayathri.revelio; import android.annotation.TargetApi; import android.app.Fragment; //import android.support.v4.app.Fragment; import android.os.Build; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android....
true
604f2b4c7d7507fdeb589c0e22fc3cf05400ddf3
Java
Harvey44/linkwallet
/app/src/main/java/com/mobile/linkwallet/Read.java
UTF-8
6,206
2.015625
2
[]
no_license
package com.mobile.linkwallet; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.Bundle; import androidx.annotation.NonNull; import...
true
374658c2ef41cf16e5dcb954f9e27fe6d2307de5
Java
StefanGecko/ComputerDatabaseTestNG
/src/test/java/tests/FilterComputerTests.java
UTF-8
737
2.296875
2
[]
no_license
package tests; import org.testng.annotations.Test; import pages.MainPage; import utils.ExtentReports.ExtentTestManager; public class FilterComputerTests extends BaseTest { @Test(description = "TC: 18 - Validate if filtering is done by ComputerName.") public void filterSingleComputerTest() throws InterruptedE...
true
8ad51fc172389776dc3a9c553e12c386a9bbf187
Java
EMCECS/nfs-client-java
/src/main/java/com/emc/ecs/nfsclient/rpc/RpcResponseHandler.java
UTF-8
2,103
2.484375
2
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
/** * Copyright 2016-2018 Dell Inc. or its subsidiaries. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0.txt * * or in...
true
b9277d5e5f2b7e3510864d5c7b64dc6fdaee0942
Java
oguzozturk/WirelessTransmitterRange
/WeightedEdge.java
UTF-8
457
3.109375
3
[ "Apache-2.0" ]
permissive
public class WeightedEdge extends AbstractGraph.Edges implements Comparable <WeightedEdge> { public double weight; //Created a weighted edge on(u,v) public WeightedEdge(int u,int v,double weight){ super(u,v); this.weight=weight; } //Compare two edges on weights @Override public int compa...
true
c5412ba3386b75ede82a62c6665ba144e211226d
Java
kalvian1060/IACaculator
/app/src/main/java/com/goo/iacaculator/view/activity/SubmitActivity.java
UTF-8
965
1.851563
2
[]
no_license
package com.goo.iacaculator.view.activity; import android.webkit.WebView; import com.goo.iacaculator.R; import com.goo.iacaculator.base.BaseSwipeBackActivity; import com.goo.iacaculator.presenter.SubmitPresenter; import com.goo.iacaculator.view.vinterface.SubmitVInterface; public class SubmitActivity extends BaseSwi...
true
bded66c3acbaf8df0cacb745ce77a696c3696a3d
Java
SeahawksRawesome/LeagueInvaders
/src/Alien.java
UTF-8
593
2.8125
3
[]
no_license
import java.awt.Color; import java.awt.Graphics; public class Alien extends GameObject { int xspeed = 2; int yspeed = 3; int counter = 0; Alien(int x, int y, int width, int height) { super(); this.x = x; this.y = y; this.height = height; this.width = width; } void update() { super.update(); y += ...
true
01d1ea2fad106b9c3582ea19d51e231126a66d6a
Java
BlackJet/Contest
/src/algo3/order/QuickOrderer.java
UTF-8
1,189
3.546875
4
[]
no_license
package algo3.order; public class QuickOrderer extends ArrayOrderer { @Override protected int[] orderArray() { order(0, array.length - 1); return array; } private void order(int start, int end) { if(start >= end) return; int separatorPos = divide(start, end); or...
true
4722c6a05cab9e324ccf8692a7640814f882b2f5
Java
luishsantos/AirportVConc
/AirportVConc/src/sharedRegions/ArrivalTerminalTransferQuay.java
UTF-8
4,381
3.078125
3
[]
no_license
package sharedRegions; import java.util.LinkedList; import java.util.Queue; import java.util.Random; import entities.BusDriver; import entities.BusDriverStates; import mainProject.SimulPar; public class ArrivalTerminalTransferQuay { /** * General Repository of Information * @serialField repository ...
true
279ae9b702e594ae6305be53bb0e9102597e3f65
Java
w-k-s/Service-Marketplace
/customer-service/src/main/java/com/wks/servicemarketplace/customerservice/adapters/web/ApiResource.java
UTF-8
3,536
2.140625
2
[]
no_license
package com.wks.servicemarketplace.customerservice.adapters.web; import com.wks.servicemarketplace.common.CustomerUUID; import com.wks.servicemarketplace.common.auth.Authentication; import com.wks.servicemarketplace.common.auth.User; import com.wks.servicemarketplace.common.errors.CoreException; import com.wks.service...
true
a32a8b839ac38fdaf708181cca779ed11427c9a8
Java
19029489/TW-ListView
/app/src/main/java/com/myapplicationdev/android/tw_listview/SecondActivity.java
UTF-8
1,766
2.4375
2
[]
no_license
package com.myapplicationdev.android.tw_listview; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.TextView; import android.widget.Toast; import org.w3c.dom.Text; import ...
true
589a93b18cc9fe9772650da9b59c117a631c7680
Java
AssSina/Logistics
/src/main/java/com/sanyang/logistics/jaj/dao/TruckDimDaoImp.java
UTF-8
1,433
2.0625
2
[]
no_license
package com.sanyang.logistics.jaj.dao; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.sanyang.logistics.base.pojo.TruckDim; import com.sanyang.logistics.jaj.mapper.TruckDimMapper; /** * 车辆数据访问层实现类 * @auth...
true
d502dc0392cfed60458e8603eb437cef85fbcceb
Java
wsws1996/my-java-project
/eclipseworkspace/mybatis2/test/com/wang/mybatis/mapper/UserMapperTest.java
UTF-8
1,242
2.21875
2
[]
no_license
package com.wang.mybatis.mapper; import java.io.InputStream; import java.util.List; import org.apache.ibatis.io.Resources; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import org.apache.ibatis.session.SqlSessionFactoryBuilder; import org.junit.Before; import org.ju...
true
83f1e88607ddb4b39b216fa12cf9bde799ba8748
Java
FasterXML/woodstox
/src/main/java/com/ctc/wstx/io/BaseInputSource.java
UTF-8
5,558
2.09375
2
[ "Apache-2.0" ]
permissive
package com.ctc.wstx.io; import java.io.IOException; import java.net.URL; import javax.xml.stream.XMLStreamException; /** * Abstract base class that implements shared functionality that all current * {@link WstxInputSource} implementations Woodstox includes need. */ public abstract class BaseInputSource exten...
true
99000b61c4202c925e4cf298f0caca0f16c2bf3a
Java
peterpavles/password-manager
/src/main/java/org/panteleyev/pwdmanager/PasswordManagerApplication.java
UTF-8
4,161
2.15625
2
[ "BSD-2-Clause" ]
permissive
/* * Copyright (c) 2016, 2020, Petr Panteleyev <petr@panteleyev.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright no...
true
d9a201139aa4ce64e14658cb05f32eae4e8daf3f
Java
tlsJP/SpaceMapping
/src/main/java/com/jp/core/SpaceFactory.java
UTF-8
218
1.765625
2
[]
no_license
package com.jp.core; /** * What a cool name, but this just builds a room. This will borrow heavily from the stuff I made from * the Graphs repo * * Created by JP on 4/4/2017. */ public class SpaceFactory { }
true
63d176194785f615d07ccd81b7465a5b4b49ef51
Java
FP-July/PicEngine
/src/main/java/dao/DBConstants.java
UTF-8
2,203
2.53125
3
[]
no_license
package dao; public class DBConstants { //status codes public static final int SUCCESS = 1000; public static final int SQL_EXCUTION_ERROR = 1001; //proj public static final int PROJ_ALREADY_EXIST = 1100; public static final int NO_SUCH_PROJ = 1101; //user public static final int USER_ALREADY_EXIST = 1200; pu...
true
aa1646bb164dde0ec2c0289dafc793a30b9655bd
Java
bg1bgst333/Sample
/android/Environment/getExternalStoragePublicDirectory/src/Environment/Environment_/src/com/bgstation0/android/sample/environment_/MainActivity.java
SHIFT_JIS
4,516
2.921875
3
[ "MIT" ]
permissive
package com.bgstation0.android.sample.environment_; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.os.Environment; import android.text.Editable...
true
590d8c820aaa7a6bf68eb67919f135ee7c2358df
Java
capp59marcelo/startup-lanches
/src/main/java/br/com/startupLanches/exception/PedidoNotFoundException.java
UTF-8
224
1.96875
2
[]
no_license
package br.com.startupLanches.exception; public class PedidoNotFoundException extends Exception { private static final long serialVersionUID = 1L; public PedidoNotFoundException(String message) { super(message); } }
true
d591e59ed0019ac6df33534d6855d1af598d65ad
Java
MischaFvG/Homework_number_11
/src/com/cat/Board.java
UTF-8
980
3.328125
3
[]
no_license
package com.cat; import javafx.scene.canvas.GraphicsContext; import java.util.ArrayList; import java.util.List; public class Board { private GraphicsContext graphicsContext; private List<Shape> shapes = new ArrayList<>(); public Board(GraphicsContext graphicsContext) { this.graphicsContext = gra...
true
679bde40b60801e53b5fcaea51dffcb79e3b4365
Java
929753733/githubdemo4
/Test/src/com/inspur/StaticDemo.java
UTF-8
787
3.1875
3
[]
no_license
package com.inspur; public class StaticDemo { String a = "aaa"; static String b = "aaa"; public static void aaa() { System.out.println("aaaaa"); } public void bbb() { System.out.println(a); System.out.println(b); ccc(); ggg(); System.out.println("bbbbb"); } public static void ccc() { System....
true
7c402f8c620eefe836d267b951bb036ac48f480a
Java
fangzhzh/AndroidSavingTest
/app/src/main/java/com/example/zhenfang/myapplication/databaseImp/orm/builder/DBCacheBuilder.java
UTF-8
874
2.609375
3
[]
no_license
package com.example.zhenfang.myapplication.databaseImp.orm.builder; import com.example.zhenfang.myapplication.databaseImp.orm.bean.DBCache; /** * @author zhangzf * @since 6/22/15 5:34 PM */ public class DBCacheBuilder { private String key; private String value; private DBCacheBuilder() { } pu...
true
e52fa9cb159d5bbaf14ddcbe84d18680ed092a77
Java
Shawnarun/Pharmacymanagement_System_netbeans
/src/sukiva/distributor.java
UTF-8
18,505
1.953125
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 sukiva; import java.awt.Font; import java.awt.HeadlessException; import java.sql.Connection; import java.sql.PreparedStatemen...
true
9786ec9903e477eceacd4b05d4c29a7f92eca79d
Java
wayden-jones/Java-MasterClass
/NumberOfDaysInMonth/src/com/company/Main.java
UTF-8
657
3.625
4
[]
no_license
package com.company; public class Main { public static void main(String[] args) { System.out.println(getDaysInMonth(11, 2001)); } public static int getDaysInMonth(int month, int year) { LeapYear myLeapYear = new LeapYear(); if (month < 1 || month > 12 || year < 1 || year > 9999) ...
true
17c199dd2f991dc4961339a1460c20239bfc880b
Java
maks7/Core-Java-2-HW
/W3-FilesPaths/FilesPaths/test/com/hackbulgaria/tests/TextTest.java
UTF-8
1,833
2.8125
3
[]
no_license
package com.hackbulgaria.tests; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.junit.Before; import org.junit.Test; import com.hackbulgaria.task7.text.Text; public class TextTest { Text text = n...
true
716dd6dd8ab92982a341effa09a271cde79ee24c
Java
etillson/automation
/RandomGen.java
UTF-8
1,226
2.890625
3
[]
no_license
package test1; import java.util.Random; public class RandomGen extends seleniumTest{ public String randomId(){ int randId = 1 + (int)(Math.random()* 999999999); return Integer.toString(randId); } public String randomId(int length){ int temp = Integer.parseInt(concatenateDigits(length)); int randId ...
true
55f2fab9e12c781170e399d0c17134a13fc12a32
Java
xuepeng11/medicine-admin
/src/main/java/com/xpjava/medicine/entity/MedicineChn.java
UTF-8
1,037
1.914063
2
[]
no_license
package com.xpjava.medicine.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import java.io.Serializable; impo...
true
0be5deb03f1bc4d87b7a63fb18fbf8b29423232d
Java
prasannasv/IshaEventManager
/src/main/java/org/ishausa/events/MailPoller.java
UTF-8
3,889
2.453125
2
[ "Apache-2.0" ]
permissive
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.ishausa.events; import com.google.common.base.Throwables; import org.ishausa.oauth.OAuth2Authenticator; import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.CountDownLatch; import ja...
true
5047e2640eec6e908931591ba51f58b5f6db0a13
Java
lonuslan/daily-leetcode
/src/main/java/com/lonuslan/dailyleetcode/chapter1/LongestSubstringWithoutRepeatingCharacters.java
UTF-8
4,752
3.984375
4
[]
no_license
package com.lonuslan.dailyleetcode.chapter1; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; /** * @author :lonus_lan * @date :Created in 2020/1/30 16:48 * @description: longest substring without repeating characters * @modified By: */ public class LongestSubstring...
true
f9433f1adcc3de50294b250b54d031aa60020409
Java
jekkos/runwalkvideo
/runwalk-video/src/main/java/com/runwalk/video/io/VideoFileManager.java
UTF-8
11,963
2.390625
2
[]
no_license
package com.runwalk.video.io; import java.io.File; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.commons.io.FilenameUtils; import org.jdesktop.application.utils.AppHelper; import org.jdesktop.application.utils.PlatformType; imp...
true
d066f5c92363315e689d45ca8b58fb4df58bf626
Java
vittin/battleshipServer
/src/main/java/org/cucumbers/Ship.java
UTF-8
384
2.9375
3
[]
no_license
package org.cucumbers; /** Created by Mateusz on 2016-06-11. */ class Ship { private final int size; private int shotParts = 0; Ship(int size){ this.size = size; } boolean isAlive() { return (size - shotParts) > 0; } int getSize() { return size; } void ...
true
8bf94ffe3f77af99c986fb8fe8b118397579e726
Java
kkutschera/GoLiteJavaCompiler
/test.java
UTF-8
4,659
3.171875
3
[]
no_license
import java.util.Arrays; import java.util.ArrayList; import java.lang.ArrayIndexOutOfBoundsException; class Slice<T>{ public int cap; public int len; public ArrayList<T> elementList; public Slice() { elementList = new ArrayList<>(0); cap = 0; len = 0; } public Slice<...
true
e863205ca76bf3032f1a2373447e30e076f039c9
Java
lichunbo123/moji-lcb
/client/Test/app/src/main/java/cn/edu/hebtu/software/test/Activity/LoginInActivity.java
UTF-8
9,579
1.882813
2
[]
no_license
package cn.edu.hebtu.software.test.Activity; import android.content.Intent; import android.graphics.Color; import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.text.method.HideReturnsTransformationMethod; import android.text.method.PasswordTransformati...
true
3c5edc03c57f36e75cc20005863e9617a24e8e7f
Java
liuxiaoming7708/p2p
/parent/mgrsite/src/main/java/com.payease.p2p/mgrsite/controller/RealAuthController.java
UTF-8
1,264
1.929688
2
[]
no_license
package com.payease.p2p.mgrsite.controller; import com.payease.p2p.base.query.RealAuthQueryObject; import com.payease.p2p.base.service.IRealAuthService; import com.payease.p2p.base.util.JSONResult; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import o...
true
3d5a4c292df06bdb23a7e52e94efdfa4a3d1b41f
Java
Bouowmx/APCS
/06-Quickselect/Quickselect.java
UTF-8
2,153
3.9375
4
[ "MIT" ]
permissive
import java.util.Arrays; import java.util.Random; import static java.lang.System.out; public class Quickselect { //Quickselect is one word //I tried creating quickselect for ints. It didn't work because with int, one cannot indicate "empty" space(s) for the pivot: 0, -1, or any other integer don't work. Integer was t...
true
e048d88e969d5de32b94c27a8ddcdcd5bf9a49ec
Java
viianaisabel/exercicios_java
/POO I/Lista 5/Peixe.java
UTF-8
329
3.171875
3
[]
no_license
package Lista_5; public final class Peixe extends Animal implements Aquatico { public Peixe(int x, int y) { super(x, y); } @Override public void nada(Posicao posDestino) { System.out.println("Peixe nadando de posição ("+this.x+","+this.y+") para ("+posDestino.x+","+posDestino.y+")"); ...
true
7d4f6273a3ccd97fab1d0d082e3d9020552c11f6
Java
mcteach21/CircularMenuDemo
/app/src/main/java/mchou/apps/main/tools/Animations.java
UTF-8
820
2.15625
2
[]
no_license
package mchou.apps.main.tools; import androidx.appcompat.app.ActionBar; import android.content.Context; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.graphics.drawable.TransitionDrawable; import mchou.apps.main.R; public class Animations { public static v...
true
58889cbb5d3331f28ecf9137ca8cdd0a84478e9b
Java
Angular2Guy/AngularPortfolioMgr
/backend/src/main/java/ch/xxx/manager/adapter/client/NasdaqConnector.java
UTF-8
3,490
2.140625
2
[ "Apache-2.0" ]
permissive
/** * Copyright 2019 Sven Loesekann Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
true
96d67ce4ea336dbec9219769a46dfb752ade32f8
Java
BackupTheBerlios/nwnprc
/DocGen/prc/utils/ScrollMerchantGen.java
UTF-8
10,942
2.59375
3
[]
no_license
package prc.utils; import static prc.Main.verbose; import java.util.*; import java.io.*; import prc.autodoc.*; import prc.autodoc.Main.TLKStore; import prc.autodoc.Main.TwoDAStore; /** * A little tool that parses des_crft_scroll, extracts unique item resrefs from it and * makes a merchant selling those resrefs....
true
47a88f40997bc843b301e522079e7a7fb49b8de9
Java
RafalBrendanWelz/PraceDomoweSDA
/praceDomoweSourceCode/src/Grudzien/SwietaPaczkaZads/czasData.java
UTF-8
9,599
3.09375
3
[]
no_license
package Grudzien.SwietaPaczkaZads; import java.time.*; import java.time.format.DateTimeFormatter; import java.util.Random; import java.util.Scanner; import java.util.regex.Pattern; public class czasData { public static void zadCzasData() throws InterruptedException { //zad1Start(); //zad2Start();...
true
d0f9c49b6f0a92d48ade1f012ad1e0a174c2ccd8
Java
YuryMatskevich/Drools
/deliveryCost/src/main/java/com/gmail/ynmatskevich/calculate/DeliveryCostWithDrools.java
UTF-8
1,911
3.171875
3
[ "Apache-2.0" ]
permissive
package com.gmail.ynmatskevich.calculate; import org.drools.compiler.kie.builder.impl.KieServicesImpl; import org.kie.api.KieServices; import org.kie.api.runtime.KieContainer; import org.kie.api.runtime.KieSession; /** * The class cost the price for current weight and distance * using drools */ public class Deliv...
true
240d6089232e9b930d44a2804f3d4851c1008ab3
Java
swapnanildutta/WoSafe
/Files/src/main/java/com/saif/wosafe/settings/WebViewActivity.java
UTF-8
691
2.015625
2
[ "MIT" ]
permissive
package com.saif.wosafe.settings; import android.content.Intent; import android.os.Bundle; import android.webkit.WebView; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import com.saif.wosafe.R; public class WebViewActivity extends AppCompatActivity { WebView webView; ...
true
18900182898ee744c549791bb94413e0d4d2948a
Java
HZKun/algorithm-datastruct
/src/main/java/vip/qmwk/leetcode/sort/SelectSort.java
UTF-8
1,003
4
4
[]
no_license
package vip.qmwk.leetcode.sort; import java.util.Arrays; /** * 选择排序 * * 首先在未排序序列中找到最小(大)元素,存放到排序序列的起始位置,然后,再从剩余未排序元素中继续寻找最小(大)元素,然后放到已排序序列的末尾。以此类推,直到所有元素均排序完毕。 * * */ public class SelectSort implements Sort{ @Override public void sort(int[] arr) { for (int i = 0; i < arr.length; ...
true
e2690c0ee0f8fe85c650736e0ec22d24e3d1e05e
Java
kluxa/dungeon-raider
/src/dungeon/Path.java
UTF-8
258
2.03125
2
[]
no_license
package dungeon; import enemies.*; import dungeon.*; import player.*; import items.*; import game.*; public class Path extends Tile { @Override public char toChar() { return ' '; } @Override public String getImageName() { return "path"; } }
true
df846270a88c9f46beec4320247fab5ef32f54bb
Java
okaxel/udacitypopularmovies
/app/src/main/java/hu/drorszagkriszaxel/popularmovies/MovieFromInternet.java
UTF-8
5,395
2.734375
3
[ "MIT" ]
permissive
package hu.drorszagkriszaxel.popularmovies; import android.os.AsyncTask; import android.util.Log; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java....
true
67576100f0c8e90a85008d801bdca3f71ca05f8b
Java
zibul444/JavaRush
/JavaRushHomeWork/src/com/javarush/test/level06/lesson05/task04/abcPoint.java
UTF-8
365
2.921875
3
[]
no_license
package com.javarush.test.level06.lesson05.task04; /** * Created by Михаил Алексеевич on 17.12.2015. */ public class abcPoint { abcPoint(int a, int b) { x = a; y = b; } int x, y; public static void main(String[] args) { abcPoint p = new abcPoint(5,3), p1; p1 = p; ...
true
5c8b3dd9f78f66476c5699006887762211ff11ce
Java
Mungrel/krescendos-android
/app/src/main/java/com/krescendos/input/LikeButtonClickListener.java
UTF-8
1,900
2.28125
2
[]
no_license
package com.krescendos.input; import android.view.View; import android.widget.ImageButton; import com.krescendos.R; import com.krescendos.firebase.FirebaseManager; import com.krescendos.model.Track; import com.krescendos.model.VoteDirection; import com.krescendos.model.VoteItem; public class LikeButtonCli...
true
53ed137658e4d08ceee9e14fcb27719a1d665c3e
Java
mcrose/icarusdb-commons
/src/main/java/py/org/icarusdb/commons/util/BundleHelper.java
UTF-8
2,350
2.390625
2
[]
no_license
/** * Copyright 2014 Roberto Gamarra [icarus] ** ( Betto McRose ) * mcrose@icarusdb.com.py | mcrose.dev@gmail.com * * as you wish... at your service ;-P * * IcarusDB.com.py * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
true
b567f391fd2ae5c91d0c6a86c4c9809beb961278
Java
Huang-W/GoWebServer
/ProjectGo/src/main/java/go/view/datamodel/impl/GoViewImpl.java
UTF-8
8,518
2.25
2
[]
no_license
package go.view.datamodel.impl; import javax.sound.sampled.AudioInputStream; import javax.sound.sampled.AudioSystem; import javax.sound.sampled.Clip; import javax.swing.JFrame; import javax.swing.JOptionPane; import javax.swing.WindowConstants; import java.util.LinkedList; import java.util.List; import go.view.datam...
true
f9ea1ed7e2b9ae575b0773a2b8afbfd2b94eef62
Java
lisycn/wepaysp
/wepaysp-parent/wepaysp_web/src/main/java/com/zbsp/wepaysp/manage/web/util/SysUserUtil.java
UTF-8
3,900
2.265625
2
[]
no_license
package com.zbsp.wepaysp.manage.web.util; import com.zbsp.wepaysp.manage.web.security.ManageUser; import com.zbsp.wepaysp.po.manage.SysUser; public class SysUserUtil { /** * 是否是顶级服务商 * * @return */ public static boolean isTopPartner(ManageUser manageUser) { int level =...
true
9758b86939179585838b110d1c11010519fc292b
Java
rogue-three/GymChampion_API
/src/main/java/com/gymchampion/GymChampion/model/SetScheme.java
UTF-8
1,367
2.53125
3
[]
no_license
package com.gymchampion.GymChampion.model; import javax.persistence.*; @Entity @Table(name = "set_scheme") public class SetScheme { @Id @Column(name = "set_scheme_id") @GeneratedValue(strategy = GenerationType.IDENTITY) private int setSchemeId; @Column(name = "reps", nullable = false) privat...
true
fb130be21fb6434c472653d3e1f857921ab0abce
Java
bellmit/core-4
/modules/components/component-mail/src/main/java/org/ow2/easybeans/component/mail/factory/AbsJavaMailFactory.java
UTF-8
4,621
2.25
2
[]
no_license
/** * EasyBeans * Copyright (C) 2007 Bull S.A.S. * Contact: easybeans@ow2.org * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or any later v...
true
6e4485d4641f41097f16b4e0daf09eb9d85af1ee
Java
kimminkyeng/CodingStudy
/0814_database/src/T1_Dbconnection/DbConnRun.java
UTF-8
215
1.898438
2
[]
no_license
package T1_Dbconnection; public class DbConnRun { public static void main(String[] args) { DbConnection conn = new DbConnection(); //DbConnection 클래스의 결과 : 드라이버 검색완료. } }
true
e0a50312e7f06b7e9514b6ba5b91fdb737ab8024
Java
cozos/emrfs-hadoop
/com/amazon/ws/emr/hadoop/fs/shaded/com/amazonaws/metrics/ServiceLatencyProvider.java
UTF-8
1,679
1.9375
2
[]
no_license
package com.amazon.ws.emr.hadoop.fs.shaded.com.amazonaws.metrics; import com.amazon.ws.emr.hadoop.fs.shaded.com.amazonaws.annotation.NotThreadSafe; import com.amazon.ws.emr.hadoop.fs.shaded.com.amazonaws.util.TimingInfo; import com.amazon.ws.emr.hadoop.fs.shaded.org.apache.commons.logging.Log; import com.amazon.ws.emr...
true
1353503a3939fb2e9732f4cde164a4f660c50837
Java
danvarga1985/Recipe_App
/src/main/java/daniel/varga/recipeapp/services/UnitOfMeasureService.java
UTF-8
215
1.789063
2
[]
no_license
package daniel.varga.recipeapp.services; import daniel.varga.recipeapp.commands.UnitOfMeasureCommand; import java.util.Set; public interface UnitOfMeasureService { Set<UnitOfMeasureCommand> listAllUoms(); }
true
0f9043c95a7558d37595d47a281e80799ec726d3
Java
fniftaly/dev_demo
/NetBeansProjects/Mvnsrn/src/main/java/com/controller/UserController.java
UTF-8
2,531
2.640625
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 com.controller; import com.google.gson.Gson; import com.model.User; import com.model.UserImpl; import java.util.ArrayList; imp...
true
81705b2d2d32ac1e4cb1188f42151cda7c62c28b
Java
ConanWu/java-test-e2e
/junit/src/main/java/cn/wl/test/Hello.java
UTF-8
146
1.773438
2
[]
no_license
package cn.wl.test; /** * Created by zjjwu on 2017/3/16. */ public class Hello { public String sayHello(){ return "Hello"; } }
true
0c0040e2b5d3d26bcb8c3642c5b74f632356527c
Java
shuile/ReadingList
/DesignPatterns/HeadFirstDesignPatterns/src/com/shui/headfirstdesignpatterns/chapter6/SimpleRemoteControl.java
UTF-8
356
2.53125
3
[]
no_license
package com.shui.headfirstdesignpatterns.chapter6; /** * @author shui. * @date 2021/7/16. * @time 14:13. */ public class SimpleRemoteControl { Command slot; public SimpleRemoteControl() { } public void setCommand(Command command) { slot = command; } public void buttonWasPressed(...
true
dd3071c95af961f51dcca8330fdc8e984ddbfb19
Java
massfords/we99
/we99-jpa/src/main/java/edu/harvard/we99/services/storage/entities/PlateMetricsEntity.java
UTF-8
2,092
2.1875
2
[ "Apache-2.0" ]
permissive
package edu.harvard.we99.services.storage.entities; import javax.annotation.Generated; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; /** * @author mford */ @Entity public class PlateMetricsEntity { /** * Prima...
true
86febfc7f60f4a664f2997377d8b2cbc8039424e
Java
fdale15/OOP-Servlet-Project
/src/com/forrestdale/utils/ModelLoader.java
UTF-8
1,197
2.640625
3
[]
no_license
package com.forrestdale.utils; /** * Created by forrestdale on 2/16/17. */ import com.forrestdale.Main; import java.io.FileNotFoundException; import java.io.FileReader; import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class ModelLoader { private String mFilename = ""; pr...
true
d8713eb1438b2a315f0bbd20b069e5ba785da5fc
Java
jinny-c/jiddProject
/src/main/java/com/jidd/view/controller/JiddUserController.java
UTF-8
9,715
1.8125
2
[]
no_license
package com.jidd.view.controller; import java.security.SecureRandom; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Future; import java.util.concu...
true
72d188efa093716002118e8ca8f68c104789a9c2
Java
erankitarora/erankitarora.github.io
/projects/StudentInformationSystem/src/org/iiitb/sis/admin/news/service/SearchCourseByFacultyService.java
UTF-8
424
2.0625
2
[]
no_license
package org.iiitb.sis.admin.news.service; import org.iiitb.sis.admin.news.model.SearchCourseByFacultyModel; public class SearchCourseByFacultyService { public String search(SearchCourseByFacultyModel result) { String getMesaage = result.getCourseID(); System.out.println("hello"); if(getMesaage.equals("Succ...
true
36ad9e39e7c0ab622c57a71deda2908fbecc1dcc
Java
dzungvu/Reup_JZU_NEWS
/JzuNews/app/src/main/java/com/software/dzungvu/jzunews/BussinessPage.java
UTF-8
9,236
1.6875
2
[]
no_license
package com.software.dzungvu.jzunews; import android.annotation.SuppressLint; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.AsyncTask; import android.os.Bundle; import android.s...
true
6372a33f913ba8c5f9289a204aea3fadaf0bae0f
Java
Crazyhell13/MovieManager
/src/test/java/ru/netology/domain/MovieManagerOneObjectTest.java
UTF-8
1,903
2.703125
3
[]
no_license
package ru.netology.domain; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class MovieManagerOneObjectTest { private Movie first = new Movie(6, "Гарри Поттер и философский камень", "Фэнтези", "URL",false); @Test public void shouldAddMoviesDefault (){ MovieMan...
true
8eb0dfa06cc91d57fd66db269039d71c38cc89e4
Java
Sambor123/foodie-server
/src/main/java/com/foodie/web/service/impl/DishService.java
UTF-8
1,447
2.046875
2
[]
no_license
package com.foodie.web.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.foodie.web.dao.DishMapper; import com.foodie.web.model.Dish; import com.foodie.web.service.IDishService; @Service public class DishServ...
true
91eac2aae81e8a748ad0a4e643ad4f7c7604b648
Java
RenaudBernard59/COMP-S13-2-Java-5-Exercices
/ExercicesPOO/src/main/java/ch/conceptforge/exercicespoo/Exercice05/PersonneDescription.java
UTF-8
1,355
3.375
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 ch.conceptforge.exercicespoo.Exercice05; /** * * @author renob */ public class PersonneDescription { private int age; ...
true
59cdd2bb1592dd55e3b9e7f8dc4f54cec3bd2257
Java
swaswani/SakshiWaswani_Assignments
/Core_Java_Assignment-1/src/AvgTotalMarks.java
UTF-8
1,212
3.578125
4
[]
no_license
public class AvgTotalMarks { public static void main(String[] args) { int totalA , totalB , totalC , totalSub1 , totalSub2 , totalSub3 ; float avgA , avgB, avgC , avgSub1 , avgSub2 , avgSub3 ; // Subject wise marks for student 1 :- int a1=95 , b1=65 , c1=75 ; int a2=60 , b2=75 , c2=80 ; int a3=9...
true
1e1b1d8d9cffa5ff87a63324056bb286f3159a53
Java
BulkSecurityGeneratorProject/eAuth-v2
/egov-eauth/eauth-ui/eauth-ui-backend/src/main/java/bg/bulsi/egov/idp/dto/RegisterRequest.java
UTF-8
2,440
2.203125
2
[ "Apache-2.0" ]
permissive
package bg.bulsi.egov.idp.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; impo...
true
d251d0345b30da3480288f2b399ed4bf4c11a891
Java
NationalCrimeAgency/elasticsearch-extract
/src/test/java/uk/gov/nca/elasticsearch/extract/ExtractSettingsTest.java
UTF-8
5,629
2.0625
2
[ "Apache-2.0" ]
permissive
/* National Crime Agency (c) Crown Copyright 2018 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wr...
true
565d6465fd168fc3f8c0281ab209a9fc6a80b337
Java
snyh/toy
/JavaSender/src/Node.java
UTF-8
7,692
2.4375
2
[]
no_license
package SenderTest; import javax.swing.text.*; import javax.swing.JButton; import javax.swing.JTextField; import javax.swing.JTextPane; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JComboBox; import javax.swing.Box; import javax.swing.BoxLayout; import javax....
true
c0711de3a84feca437955560205363ca5baf4c27
Java
peternadykamal/Bank-Queue-System
/src/sample/DataController.java
UTF-8
21,221
2.5
2
[]
no_license
package sample; import sample.AccountPackage.Account; import sample.AccountPackage.MoneyMarketAccount; import sample.AccountPackage.SavingsAccount; import sample.LoanPackage.BusinessLoan; import sample.LoanPackage.Loan; import sample.LoanPackage.PersonalLoan; import sample.PersonPackage.Client; import sample.PersonPac...
true
8dbe3b2f538708097df80e0d6a354ea7001a296d
Java
TulioTriste/bukkit-core
/src/main/java/net/pandamc/core/servermonitor/menu/ServerMonitorMenu.java
UTF-8
1,008
2.390625
2
[]
no_license
package net.pandamc.core.servermonitor.menu; import net.pandamc.core.servermonitor.button.ServerMonitorButton; import net.pandamc.core.util.menu.Button; import net.pandamc.core.util.menu.Menu; import org.bukkit.entity.Player; import java.util.HashMap; import java.util.Map; public class ServerMonitorMenu extends Menu...
true
da2aefa9c9f69fbbc441b8ec08af5c7f86d3f442
Java
zx150842/task-scheduler
/admin/src/main/java/com/dts/admin/common/vo/CronJob.java
UTF-8
2,026
2.21875
2
[]
no_license
package com.dts.admin.common.vo; import java.util.Date; /** * @author zhangxin */ public class CronJob { private String jobId; // task名字 private String tasks; // cron表达式 private String cronExpression; // job提交到的worker组 private String workerGroup; // job状态 private int status; // job允许运行的最大时间(s) ...
true
a10798bb9ea8c6f03ea099ef71ecde6bc09d358f
Java
comdata/HomeAutomation
/src/main/java/cm/homeautomation/services/gasmeter/GasMeterService.java
UTF-8
1,551
2.125
2
[]
no_license
package cm.homeautomation.services.gasmeter; import java.math.BigDecimal; import java.sql.Timestamp; import java.util.ArrayList; import java.util.List; import javax.inject.Inject; import javax.persistence.EntityManager; import javax.transaction.Transactional; import javax.transaction.Transactional.TxType; import java...
true
6bc117fc3c4d48bc5801754018ca41645f8858f6
Java
xiezhuolin/tesla
/app/src/main/java/cn/acewill/pos/next/base/fragment/BaseFragment.java
UTF-8
2,240
2.09375
2
[]
no_license
package cn.acewill.pos.next.base.fragment; import android.app.Activity; import android.content.Context; import android.content.res.Resources; import android.os.Bundle; import android.support.v4.app.Fragment; import android.text.TextUtils; import cn.acewill.pos.R; import cn.acewill.pos.next.config.MyApplication; impor...
true
4b4c76f8dba33619b32994cd6ddc277f0b83735a
Java
stanislavkisyov/ProgrammingFundamentalsInJava
/src/Lap/Lists/P02_Append_Lists.java
UTF-8
640
3.046875
3
[]
no_license
package Lap.Lists; import java.lang.reflect.Array; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Scanner; public class P02_Append_Lists { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); char[] separators = " | ...
true
62ca86d2f96caee1cc59c3bd3f72f0f65062241f
Java
erzih/diklat
/src/com/id/diklatpku/MainActivity.java
UTF-8
1,009
1.84375
2
[]
no_license
package com.id.diklatpku; import com.id.diklatpku.R; import com.id.diklatpku.listpiket.PetugasPiketFragment; import android.app.TabActivity; import android.content.Intent; import android.content.res.Resources; import android.os.Bundle; import android.widget.TabHost; @SuppressWarnings("deprecation") public class Main...
true
cf0c1f751d81fc66d726f5bf0b74de142a623332
Java
martinidea/gcuMath
/app/src/main/java/com/gcu/math/base/util/StringUtils.java
UTF-8
365
2.609375
3
[]
no_license
package com.gcu.math.base.util; /** * Created by Martin on 2016/9/8. */ public class StringUtils { public static String endPoint(String s) { if (s == null) { return ""; } int pointIndex = s.lastIndexOf("."); if (pointIndex != -1) { return s.substring(point...
true
6e87523403022979b55e7a0552b087bf5c5fdc43
Java
SAHARSH123/OracleJ2EE
/webservice/wsclientapp/src/com/client/ws/WSClient.java
UTF-8
429
2.1875
2
[]
no_license
package com.client.ws; import client.ws.CalcService; import client.ws.CalcService_Service; public class WSClient { public static void main(String[] args) { CalcService_Service service= new CalcService_Service(); CalcService obj =service.getCalcServicePort(); int sum=obj.add(100,...
true
54e1437a616235a32075e06d1d06effbe391caae
Java
LivanAlex/Epam
/java-online/src/by/jonline/four/class05/Counter.java
UTF-8
533
3.40625
3
[]
no_license
package by.jonline.four.class05; public class Counter { private long counter; /** Sets default value of counter = 0 */ public Counter() { counter = 0; } /** Sets value of counter */ public Counter(long counter) { this.counter = counter; } public long getCounter() { return counter; } public void se...
true
cd4fca1aefb2e07833105a582b267febf385ee53
Java
gg1302112/tank
/src/com/zyjk/tank/Bullet.java
UTF-8
2,576
2.765625
3
[]
no_license
package com.zyjk.tank; import org.w3c.dom.css.Rect; import javax.annotation.Resource; import java.awt.*; /** * @Auther: lzw * @Date: 20/10/7 - 10 - 07 - 17:00 * @Description: com.zyjk.tank * @version: 1.0 */ public class Bullet { private int x,y; public static int WIDTH = ResourceMgr.bulletD.getWidth();...
true
54ee7dfac102e2e5cb4d30b429e3a6aad0fcebca
Java
heishandian/recommendersystem
/recommendersystem/src/main/java/com/huangkai/service/IUserRegisterService.java
UTF-8
186
1.679688
2
[]
no_license
package com.huangkai.service; import java.util.List; import com.huangkai.model.Movie_genres; public interface IUserRegisterService { List<Movie_genres> getAllMovie_genres(); }
true
62ceb87f25b80b16376e8c1a23f16772b7480c15
Java
codeghoul/u-binge
/src/main/java/com/finalassessment/ubinge/controller/DeliveryGuyController.java
UTF-8
4,737
2.515625
3
[]
no_license
package com.finalassessment.ubinge.controller; import com.finalassessment.ubinge.dto.DeliveryGuyDTO; import com.finalassessment.ubinge.dto.OrderDTO; import com.finalassessment.ubinge.dto.OrderModificationDTO; import com.finalassessment.ubinge.service.DeliveryGuyService; import lombok.extern.slf4j.Slf4j; import org.spr...
true
2ae0b97af5ff91afb634e4ec2fae3976880d728c
Java
akyekth/hopsworks
/hopsworks-common/src/main/java/io/hops/hopsworks/common/dao/jobs/description/JobDescriptionFacade.java
UTF-8
5,211
2.25
2
[ "Apache-2.0" ]
permissive
package io.hops.hopsworks.common.dao.jobs.description; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import javax.ejb.Stateless; import javax.ejb.TransactionAttribute; import javax.ejb.TransactionAttributeType; import javax.persistence.EntityManager; import javax.persistence.P...
true
b034f126a2ffba7e0b741bdc802bcad86e94ab1f
Java
hpatrick5/FTCLeagueRandomizer
/src/Model.java
UTF-8
849
2.484375
2
[]
no_license
import java.io.Serializable; import java.util.ArrayList; import java.util.TreeMap; /* * 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. */ /** * * @author Hannah */ public class Model i...
true
e0afea8656a79a9345fa70c561c5b7eac6f7234c
Java
Corentin-Luc-Artaud/isadevops-2018-2019
/teami-cli-admin/src/main/java/fr/unice/polytech/si4/isa/devops/teami/commands/GenerateInitialPlanning.java
UTF-8
584
2.015625
2
[]
no_license
package fr.unice.polytech.si4.isa.devops.teami.commands; import fr.unice.polytech.si4.isa.devops.teami.api.CeremonyManagerApi; import fr.unice.polytech.si4.isa.devops.teami.framework.Command; public class GenerateInitialPlanning extends Command<CeremonyManagerApi> { @Override public String identifier() { ...
true
ccced7fe291dbf3f829a3756265c82fdc07c4681
Java
Evans-Marshall/HibernateDemo
/HibernateDemo/src/HibernateDemo/TestDAO.java
UTF-8
1,450
2.640625
3
[]
no_license
package HibernateDemo; import org.hibernate.*; import java.util.*; public class TestDAO { SessionFactory factory = null; Session session = null; private static TestDAO single_instance = null; private TestDAO() { factory = HibernateUtils.getSessionFactory(); } public static TestDAO...
true
cb6f492f0e583465d43c6ca2f7a013c346737ea5
Java
scheshan/spring-cloud-extended
/eureka-server/src/main/java/com/heshan/cloud/eureka/server/ExtendedAutoConfiguration.java
UTF-8
1,765
1.875
2
[ "Apache-2.0" ]
permissive
package com.heshan.cloud.eureka.server; import com.netflix.discovery.EurekaClient; import com.netflix.discovery.EurekaClientConfig; import com.netflix.eureka.EurekaServerConfig; import com.netflix.eureka.registry.PeerAwareInstanceRegistry; import com.netflix.eureka.resources.ServerCodecs; import org.springframework.bo...
true
f2312966d269da701d7f3d9aabc9a0514356d43e
Java
eliashomsi/RestoApp-ECSE223
/RestoApp/src/ca/mcgill/ecse223/resto/controller/Controller.java
UTF-8
38,731
2.46875
2
[]
no_license
package ca.mcgill.ecse223.resto.controller; import java.awt.Rectangle; import java.sql.Time; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import ca.mcgill.ecse223.resto.application.RestoApplication; import ca.mcgill.ecse223.resto.model.Bill; import ca.mcgill.ecs...
true
df5ecd31d78a98ab93f682e7e1c0e7736a21fa5d
Java
VadimGuryanov/Spring-Boot-Semestrovka
/src/main/java/ru/itis/springboothomework/models/CovidData.java
UTF-8
6,566
2.171875
2
[]
no_license
package ru.itis.springboothomework.models; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; public class CovidData { @JsonProperty("updated") private long updated; @JsonProperty("country") private String country; ...
true