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
37435cd4815fa517ff5c2d5abf9ee7b08635e651
Java
ccubillo/metaheuristica
/CargarDatos.java
UTF-8
3,405
3.28125
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 pr1meta; import java.io.FileNotFoundException; import java.io.FileReader; import java.util.ArrayList; import java.ut...
true
40a327a6dce37278c74e1bc54e032cd2c735aec4
Java
YangJian1994/NewGank
/app/src/main/java/com/yangjian/newgank/ui/fragment/AllFragment.java
UTF-8
4,202
2.0625
2
[]
no_license
package com.yangjian.newgank.ui.fragment; import android.os.Bundle; import android.support.annotation.Nullable; import android.text.Html; import android.text.method.LinkMovementMethod; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.mikepenz.fontawesome_typeface_l...
true
d49626cbd8c5dadb3cadb26d2a31d07880bc2d58
Java
sdy183/OceanShoppingMall
/ocean-user/src/main/java/com/sdy/ocean/user/mapper/UserMapper.java
UTF-8
593
2.125
2
[]
no_license
package com.sdy.ocean.user.mapper; import com.sdy.ocean.user.bean.UmsMember; import org.apache.ibatis.annotations.Param; import tk.mybatis.mapper.common.Mapper; import java.util.List; //继承的是通用Mapper泛型之中的是对应的bean public interface UserMapper extends Mapper<UmsMember> { /** * 查询所有用户信息 * (所有用户的List集合) ...
true
91984f44219d79aca3341ce443de1bfe383b2b88
Java
RadoslawSulikowski/wroclawhelper-b
/src/main/java/com/wroclawhelperb/controller/WeatherController.java
UTF-8
1,514
2.203125
2
[]
no_license
package com.wroclawhelperb.controller; import com.wroclawhelperb.domain.location.GPSLocationDtoNoIdNoType; import com.wroclawhelperb.domain.weather.WeatherDtoNoId; import com.wroclawhelperb.exception.UserNotFoundException; import com.wroclawhelperb.exception.WeatherStationNotFoundException; import com.wroclawhelperb.s...
true
66b687a4d41b95ddc06369d59988dd96ea178031
Java
uqac-8inf851/Apollo-PP-Group-2
/backend/src/main/java/com/apollo/backend/controller/TrackController.java
UTF-8
3,143
2.140625
2
[]
no_license
package com.apollo.backend.controller; import com.apollo.backend.model.Track; import com.apollo.backend.repository.TrackRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.rest.webmvc.RepositoryRestController; import org.springframework.http.HttpStatus; import or...
true
5c67cae285758cbd7aa2a5ee302d37cb848502a1
Java
coder0728/EpicFramework
/src/EpicCommon/common/util/EpicHttpRequest.java
UTF-8
1,928
2.390625
2
[]
no_license
package com.epic.framework.common.util; import java.io.IOException; import java.util.HashMap; import com.epic.framework.implementation.EpicHttpImplementation; import com.epic.framework.common.util.exceptions.EpicInvalidArgumentException; import com.epic.framework.common.util.exceptions.EpicNotImplementedException; p...
true
42fd49f3ea650bc6124d707896f82b44c273315b
Java
yubaoquan/dostring
/src/package1/multiThread/CachedThreadPool.java
UTF-8
582
2.734375
3
[]
no_license
package package1.multiThread; import java.io.IOException; import java.util.Scanner; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; public class CachedThreadPool { /** * @param args */ public static void main(String[] args) { ExecutorService exec = Executors.newCachedThrea...
true
8b853a6b0bf25cbaa4b69fb22e07ce41c8daee32
Java
Xiosn/MyMusicActivity
/app/src/main/java/com/myapplication/activitys/MeActivity.java
UTF-8
915
2.078125
2
[]
no_license
package com.myapplication.activitys; import android.content.Intent; import android.os.Bundle; import android.view.View; import com.myapplication.R; import com.myapplication.utils.UserUtils; public class MeActivity extends BaseActivity { @Override protected void onCreate(Bundle savedInstanceState) { ...
true
b83d7acd84d9bf92d9800a864b3eda2cb8325f02
Java
techone577/Blogging-aps
/src/main/java/com/blogging/aps/support/annotation/PostStatistic.java
UTF-8
273
1.890625
2
[]
no_license
package com.blogging.aps.support.annotation; import java.lang.annotation.*; /** * @author techoneduan * @date 2019/4/20 */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) @Documented public @interface PostStatistic { String value () default ""; }
true
043d758dfc0d665397b7a08e88492ca3e01213fc
Java
dodowinnie/effective-java
/src/com/brandon/effective/java/demo2/Demo2.java
UTF-8
345
2.625
3
[]
no_license
package com.brandon.effective.java.demo2; /** * Created by Brandoncui on 2019/11/25. */ public class Demo2 { public static void main(String[] args) { NutritionFacts nutritionFacts = new NutritionFacts.Builder(100, 20).calories(50).carbohydrate(40).fat(12).sodium(33).build(); System.out.println(nu...
true
31dc18560d46610dae431ffa6d327c24a6fe5050
Java
zengsuwa/AllDemo
/HelloApplication/app/src/main/java/com/zsw/zeng/helloapplication/activity/ServiceTestActivity.java
UTF-8
4,422
2.4375
2
[]
no_license
package com.zsw.zeng.helloapplication.activity; import android.app.Service; import android.content.ComponentName; import android.content.Intent; import android.content.ServiceConnection; import android.os.IBinder; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; impor...
true
098377f2276dacdc0b5ccc084561a5d8edc170ac
Java
w2ogroup/incubator-streams
/streams-contrib/streams-persist-mongo/src/main/java/org/apache/streams/mongo/MongoPersistWriter.java
UTF-8
8,292
2
2
[ "Apache-2.0" ]
permissive
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
true
04cfb06dd8fa5f216264811a4bd9a863535ea019
Java
chensong1993/huiwen
/app/src/main/java/com/shanghai/logistics/models/entity/logistics/LStoreInfoEntity.java
UTF-8
5,835
2.09375
2
[]
no_license
package com.shanghai.logistics.models.entity.logistics; import java.util.List; public class LStoreInfoEntity { private String storeAddress; private int storeServicePoint; private double latitude; private List<DedicatedLine> dedicatedLine; private String storeName; private String position;...
true
2aeb2e7943055611f20800594dddd3c9188effac
Java
SaulGrez/curso_fi
/app/src/main/java/curso_intermedio/activitys/tema17inActivity.java
UTF-8
2,837
1.890625
2
[]
no_license
package curso_intermedio.activitys; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.content.Intent; import android.os.Bundle; import android.view.View; import...
true
945eb07cf1af97b431ab03ffe93f90b9b37a46a3
Java
ranjeet692/apocalypto
/plagiarism/8/6/14mcmc74.java
UTF-8
155
1.78125
2
[]
no_license
import.util.*; class String { public static void main(String args[]) { String st; Scanner s= new Scanner(System.in); int n; int n=s.nextInt();
true
804a57b84e6c77c54b86ce1b987918b1601b9df5
Java
enjoyDevepter/enjoy_client
/app/src/main/java/me/jessyan/mvparms/demo/di/component/CashPasswordComponent.java
UTF-8
487
1.710938
2
[]
no_license
package me.jessyan.mvparms.demo.di.component; import dagger.Component; import com.jess.arms.di.component.AppComponent; import me.jessyan.mvparms.demo.di.module.CashPasswordModule; import com.jess.arms.di.scope.ActivityScope; import me.jessyan.mvparms.demo.mvp.ui.activity.CashPasswordActivity; @ActivityScope @Comp...
true
efddc76572e6fb2cb14500c9f7af9b902228a7a2
Java
ADomashev/Final_task_part1
/src/main/java/menu/MenuAuthorization.java
UTF-8
1,084
3.078125
3
[]
no_license
package menu; import static functional.Functional.*; public class MenuAuthorization extends BaseMenu { private String login; private String password; public void showMenu() { System.out.println("Hello Sign in system please: "); System.out.println("Enter you login"); setLogin(scanner.next()); System.out.p...
true
c0e4b2b0ab76856f255feed09705e6addc7f0a58
Java
jerrellmardis/Study-Jam-BackgroundTasks
/app/src/main/java/com/jerrellmardis/studyjam/backgroundtasks/UpdateTimerService.java
UTF-8
430
2.078125
2
[]
no_license
package com.jerrellmardis.studyjam.backgroundtasks; import android.app.IntentService; import android.content.Intent; public class UpdateTimerService extends IntentService { public UpdateTimerService() { super("UpdateTimerService"); } @Override protected void onHandleIntent(Intent intent) { // send a b...
true
f92ee16e58cf82d815d50403dc4a2637f7de5b24
Java
crh/escidoc-core-1.3
/aa/src/main/java/de/escidoc/core/aa/service/ActionHandlerService.java
UTF-8
2,262
1.835938
2
[]
no_license
package de.escidoc.core.aa.service; import de.escidoc.core.common.exceptions.application.invalid.XmlCorruptedException; import de.escidoc.core.common.exceptions.application.invalid.XmlSchemaValidationException; import de.escidoc.core.common.exceptions.application.notfound.ContextNotFoundException; import de.escid...
true
9e152faff65a17ee3b85ab39f6edf48490f97698
Java
cesar-rayo/AutomationPracticeJava
/src/main/java/pages/formy/DatePickerPage.java
UTF-8
627
2.3125
2
[]
no_license
package pages.formy; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; public class DatePickerPage { private WebDriver driver; private By datePicker = By.id("datepicker"); public DatePickerPage(WebDriver driver) { ...
true
6f694643bd8741f403cc8f81b8857b8ff2bb4c49
Java
ciaran92/ZombieRun
/app/src/main/java/com/selwyn/ciaran/zombierun/state/LoadingState.java
UTF-8
716
2.265625
2
[]
no_license
package com.selwyn.ciaran.zombierun.state; import android.view.MotionEvent; import android.view.View; import com.selwyn.ciaran.zombierun.entities.World; import com.selwyn.ciaran.zombierun.game.Assets; import com.selwyn.ciaran.zombierun.utilities.Drawer; /** * Created by Ciaran on 24/05/2017. */ public class Loadin...
true
92b2db7edeaa26227249749eb5a634032174a9a0
Java
xilu-wang/leetcode
/src/main/java/xwang/march2020/forthBatch/PacificAtlanticWaterFlow.java
UTF-8
4,624
3.296875
3
[]
no_license
package xwang.march2020.forthBatch; import org.junit.jupiter.api.Test; import java.util.*; import static utils.PrintUtils.printMatrix; /* * 5/8/20 * leetcode # 417. Pacific Atlantic Water Flow * link: https://leetcode.com/problems/pacific-atlantic-water-flow/ * tags: * level: medium */ public class PacificAtl...
true
220106a68ae630693c97f69f1fae55272a5607b0
Java
cvbutani/StarSpace
/app/src/main/java/com/example/chiragpc/starspace/ui/settings/SettingsPresenter.java
UTF-8
1,651
2.109375
2
[]
no_license
package com.example.chiragpc.starspace.ui.settings; import android.net.Uri; import com.example.chiragpc.starspace.base.BasePresenter; import com.example.chiragpc.starspace.data.DataManager; import com.example.chiragpc.starspace.data.callbacks.OnTaskCompletion; import com.example.chiragpc.starspace.model.UserAccount; ...
true
bf879651a08a853287b42c3895b981e2b64cd5a4
Java
mikeharder/dotnet-cli-perf
/scenarios/web/large/gradle/ClassLib016/src/main/java/ClassLib016/Class007.java
UTF-8
122
1.65625
2
[]
no_license
package ClassLib016; public class Class007 { public static String property() { return "ClassLib016"; } }
true
b79c5607a6557290e2766ae285f95149d62bcd43
Java
new-javacc/Chess
/CheckLegality.java
UTF-8
206
2.53125
3
[]
no_license
public class CheckLegality { public static boolean isLegal(Piece[][] board, int x1, int y1, int x2, int y2) { if (board[x1][y1] == null) return false; return board[x1][y1].checkLegality(x2, y2); } }
true
df54be0ba2b95df4b308011283c1366777482dc2
Java
ProLoser/CIS-406-Project
/src/cis406/student/TaskMainPanel.java
UTF-8
3,134
2.578125
3
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NewJPanel.java * * Created on May 29, 2010, 12:11:32 AM */ package cis406.student; import cis406.PanelInterface; import java.awt.CardLayout; /** * * @author Owner */ public class TaskMainPanel extends java...
true
d954bf680f46323792e54f8b115a78dbda994aba
Java
SyAtlantis/etmall
/etmall-api-user/src/main/java/com/entanmo/etmall/api/user/controller/UserUserFormId.java
UTF-8
1,690
1.9375
2
[]
no_license
package com.entanmo.etmall.api.user.controller; import com.entanmo.etmall.api.user.annotation.LoginUser; import com.entanmo.etmall.core.util.ResponseUtil; import com.entanmo.etmall.db.domain.EtmallUser; import com.entanmo.etmall.db.domain.EtmallUserFormid; import com.entanmo.etmall.db.service.EtmallUserFormIdService; ...
true
a40f9700d8df90853ef25c63279180a49a41b218
Java
jagprojects/Glowstone
/src/main/java/net/glowstone/msg/QuickBarMessage.java
UTF-8
559
2.546875
3
[ "MIT" ]
permissive
package net.glowstone.msg; public class QuickBarMessage extends Message { private final short slot, id, amount, damage; public QuickBarMessage(short slot, short id, short amount, short damage) { this.slot = slot; this.id = id; this.amount = amount; this.damage = damage; } ...
true
0fdb819b65ad070272b01615f2393983c1001a4b
Java
Fowgard/javaChess
/src/Game/Figure.java
UTF-8
347
2.453125
2
[]
no_license
package Game; import javafx.scene.image.Image; public interface Figure { public boolean canmove(Field field, Board board); public int getCol(); public int getRow(); public void updateRC(Field field); public boolean getColor(); //1 pawn, 2 rook, 3 knight, 4 bishop, 5queen, 6 king public int getType(); ...
true
6ec45221a93bc755928d1511018f4815932a488e
Java
Gerst20051/JAVA
/comp410workspace/Resources/src/mohammad/Btree.java
UTF-8
6,106
3.515625
4
[]
no_license
package mohammad; public class Btree { Node root_ = null; Btree() { } // display structure of the btree void dump() { dis(root_, 1); } // return values concatenated as a string in order public String toString() { return "{ " + pr(root_) + " }"; } // add an item to the Tree void add(Comparable k) { ...
true
5773d66144f881e5a04e978c6de9d7ad10b54a5c
Java
ernest0994/PhotoAppApiUsers
/src/main/java/com/example/photoapp/api/users/controllers/UsersController.java
UTF-8
2,033
2.265625
2
[]
no_license
package com.example.photoapp.api.users.controllers; import com.example.photoapp.api.users.model.CreateUserRequestModel; import com.example.photoapp.api.users.model.CreateUserResponseModel; import com.example.photoapp.api.users.service.UserService; import com.example.photoapp.api.users.shared.UserDto; import org.modelm...
true
8af5fa6400c7f55632e5253f525dd245387baf86
Java
cuista/FantacalcioSiw2018
/FantacalcioSiw/src/persistence/UtilDao.java
ISO-8859-1
2,359
2.875
3
[]
no_license
package persistence; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; public class UtilDao { private DataSource dataSource; public UtilDao(DataSource dataSource) { this.dataSource = dataSource; } public void dropDatabase() { Connection connection = dataSource....
true
ca32216245410d25a71adb17ff3aeb7f5ca7d1cd
Java
IsaLambrechts/ExamenDesignPatternsEnICTArchitectuur
/domotica/src/domotica/command/RemoteControl.java
UTF-8
442
2.390625
2
[]
no_license
package domotica.command; import domotica.model.DomoticaObject; public class RemoteControl { public RemoteControl(){} public void setAllDoorsOpen(DomoticaObject object) { DoorsOpenCommand openDoorCommand = new DoorsOpenCommand(object); openDoorCommand.execute(); } public void setAllDoorsClosed(DomoticaO...
true
5f43a13f11c1e5b34e546ba469dda54c7d745b22
Java
katrinaannhadi/MULAFinanceApp
/mula-main/build/generated/source/kapt/debug/org/mula/finance/core/models/sqlite/SQLiteHabitList_Factory.java
UTF-8
1,027
2.0625
2
[]
no_license
package org.mula.finance.core.models.sqlite; import dagger.internal.Factory; import javax.annotation.Generated; import javax.inject.Provider; import org.mula.finance.core.models.ModelFactory; @Generated( value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev" ) @SuppressWarnings(...
true
3facd26167f1ec7ef8ad23891f7b916617a63c95
Java
Dagon-R/ticket-to-ride340
/app/src/main/java/Communication/SocketInitializer.java
UTF-8
2,308
3.046875
3
[]
no_license
package Communication; import android.os.AsyncTask; import android.support.annotation.Nullable; import java.io.IOException; import java.net.InetSocketAddress; import java.net.Socket; import java.net.SocketTimeoutException; import Models.MainModel; // Sockets need to be created on a different thread, this is that th...
true
b486dcccf90ec6d7b3c54caed94d54e5bb14a035
Java
sh1nes-1/Java_Labs
/src/main/java/lab7/dao/jdbc/SmartPhoneDaoJdbc.java
UTF-8
4,018
3.046875
3
[]
no_license
package lab7.dao.jdbc; import lab7.dao.SmartPhoneDao; import lab7.exception.DaoException; import lab7.model.SmartPhone; import java.sql.*; import java.util.LinkedList; import java.util.List; public class SmartPhoneDaoJdbc extends JdbcDao<SmartPhone> implements SmartPhoneDao { private static final String GET_ALL...
true
dd1ccd5a0b637ae4d2058e46668e2ab9cdbd9a8d
Java
masterscode/SpringPlayground
/src/main/java/spring/springdemo/services/UserService.java
UTF-8
923
2.296875
2
[]
no_license
package spring.springdemo.services; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UserDetailsService; import org.springframe...
true
4bae074236327040ab8ec7a7838707b275166a88
Java
staytrue51/job4j_elementary
/src/ru/job4j/condition/Point.java
UTF-8
527
3.359375
3
[]
no_license
package ru.job4j.condition; public class Point { public static double distance (int x1, int y1, int x2, int y2) { double rsl1 = x2-x1; double rsl2 = y2-y1; double rsl3 = Math.pow(rsl1,2); double rsl4 = Math.pow(rsl2,2); double rsl5 = rsl3+rsl4; double rsl6 = Math.sqr...
true
db201617d89aa5e84dd0bda3cd6ef0adec9a196c
Java
betarr/Giraphe
/src/sk/sochuliak/giraphe/network/NetworkStatistics.java
UTF-8
8,969
3.046875
3
[]
no_license
package sk.sochuliak.giraphe.network; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; import sk.sochuliak.giraphe.utils.CommonUtils; import sk.sochuliak.giraphe.utils.NetworkUtils; import sk.sochuliak.giraphe.utils.TaskTimeCounter; public cl...
true
19f5b941735b193a9f79846d3bea77a81de898f1
Java
SourcePointUSA/android-cmp-app
/samples/app/src/main/java/com/sourcepoint/app/v6/PropertyConfig.java
UTF-8
507
1.90625
2
[]
no_license
package com.sourcepoint.app.v6; import org.json.JSONException; import org.json.JSONObject; public class PropertyConfig { public int accountId; public int propertyId; public String propertyName; public String pmId; public PropertyConfig(JSONObject config) throws JSONException { accountId...
true
753c9af3d697c0ecaca5374ac13d682247089edf
Java
Ravikumar1997/Daily-pracitce
/java/javaeeHomeworkEJB/src/entity/PlanDetail.java
UTF-8
2,505
2.390625
2
[]
no_license
package entity; import javax.persistence.*; import java.io.Serializable; /** * Created by zzt on 2/16/16. * <p> * Usage: */ @Entity() @Table(name = "pdetail") @NamedQueries( { @NamedQuery(name = PlanDetail.A_PLAN_DETAIL, query = "select pd from PlanDetail pd where p...
true
bf80cc9577fdbdc6bb6f342c17451126ce7cdc8e
Java
dipu19/JavaBasics
/src/com/quantum/javabasics/ReversingStringUsingSplit.java
UTF-8
364
3.078125
3
[]
no_license
package com.quantum.javabasics; public class ReversingStringUsingSplit { public void rev(String str) { String token[] = str.split(""); for(int i= str.length()-1;i>=0;i--) { System.out.print(token[i]); } } public static void main(String[] args) { ReversingStringUsingSplit object = new ReversingStringUs...
true
9d9730c3bd25a02954f4b048d2b88d87488effec
Java
VinsUni/tinkubator
/lopsided/lopsided-farm/src/main/java/org/linkedprocess/farm/LinkedProcessFarm.java
UTF-8
4,787
2.28125
2
[ "MIT" ]
permissive
package org.linkedprocess.farm; import org.linkedprocess.LinkedProcess; import org.linkedprocess.farm.os.JobResult; import org.linkedprocess.farm.os.VmWorker; import javax.script.ScriptEngine; import javax.script.ScriptEngineFactory; import javax.script.ScriptEngineManager; import java.util.*; import java.util.loggin...
true
e21c67308836c29ab14ca0de71957c4dbb078bdb
Java
miuteo/JavaPractice
/src/designPatterns/creational/abstractFactory/ComputerFactory.java
UTF-8
284
2.71875
3
[]
no_license
package designPatterns.creational.abstractFactory; /** * Created by Asus x556 on 01-Jun-17. */ public class ComputerFactory { public static Computer getComputer(ComputerAbstractFactory computerAbstractFactory){ return computerAbstractFactory.createComputer(); } }
true
1a4f69ec835608565578318691c14da48ce16f87
Java
Luna-Zhang/estate-develop
/user-module/src/main/java/com/estate/develop/usermodule/dao/AgencyMapper.java
UTF-8
378
1.804688
2
[]
no_license
package com.estate.develop.usermodule.dao; import com.estate.develop.usermodule.entity.Agency; public interface AgencyMapper { int deleteByPrimaryKey(Long id); int insert(Agency record); int insertSelective(Agency record); Agency selectByPrimaryKey(Long id); int updateByPrimaryKeySelective(Age...
true
f078f13cd8dea34d8d59e658670c5ea951ec3cbe
Java
laguna-developer/serenitybddrestinspanishtraining
/src/test/java/hooks/ConfHooks.java
UTF-8
782
1.96875
2
[]
no_license
package hooks; import io.cucumber.java.Before; import net.serenitybdd.screenplay.Actor; import net.serenitybdd.screenplay.actors.OnStage; import net.serenitybdd.screenplay.actors.OnlineCast; import net.serenitybdd.screenplay.rest.abilities.CallAnApi; import net.thucydides.core.util.EnvironmentVariables; public class ...
true
46d04ed32c36666fa10cfdbcece87eb1656af612
Java
Deepak2428/ARRAY-PROGRAMS-IN-JAVA
/Sumoftwoarray.java
UTF-8
3,007
4.375
4
[]
no_license
/* PROGRAM TO FIND SUM OF TWO ARRAYS . ARRAYS MAY HAVE DIFFRENET SIZE */ /* SUM OF ARRAYS WILL FOLLOW DECIMAL ADDITION i.e IF SUM OF TWO ELEMENTS OF ARRAY IS GREATER THAN 10 THEN IT WILL PASS A CARRY TO THE PREVIOUS ELEMENT.*/ /* ADDITION WILL DONE FROM RIGHT TO LEFT*/ /*EG: A[]= {1,2,3,4,5} B[]={6,7,8} ...
true
2193d9c04b1ea352f4f820cf04a7ee2058add7d8
Java
xPromate/ESTG-ED-GhostRunner
/src/main/java/Exceptions/MapaException.java
UTF-8
143
2.125
2
[]
no_license
package Exceptions; public class MapaException extends Exception { public MapaException(String message) { super(message); } }
true
a757496f300b8a495a66fcbd12ad6cdb8de88767
Java
wangwjt/security-demo
/account/src/main/java/com/practise/security/conf/AuthorizationServerConfig.java
UTF-8
2,523
2.234375
2
[]
no_license
package com.practise.security.conf; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security.core.userdetails.UserDetailsService; import org.s...
true
5780436245bf6d3d4d85f7ba56210e01b999ee19
Java
liu1364599225/myProject.github.io
/music/src/main/java/com/music/service/impl/SongtypeServiceImpl.java
UTF-8
1,259
2.15625
2
[]
no_license
package com.music.service.impl; import org.springframework.beans.factory.annotation.Autowired; import com.music.dao.SongtypeMapper; import com.music.entity.Songtype; import com.music.service.SongtypeService; public class SongtypeServiceImpl implements SongtypeService{ @Autowired private SongtypeMapper songtypeMapp...
true
719a93350fb2a72f56458a381958ba861f522e57
Java
RamaTripathi/LeetCodePractice
/src/main/java/design/patterns/startegy/Strategy.java
UTF-8
166
2.15625
2
[]
no_license
/* * Copyright (c) 2021. * * Authored By Rama Abhimanyu Sharma */ package design.patterns.startegy; public interface Strategy { public int doOperation(int num1, int num2); }
true
c75014da7657b1d63390d4bb3140313f31f1473e
Java
GianmarcoSalvi/MrMart
/app/src/main/java/com/example/mytrueapplication/CatergorieSupermercati.java
UTF-8
13,428
2.0625
2
[]
no_license
package com.example.mytrueapplication; import androidx.annotation.NonNull; import androidx.appcompat.app.ActionBar; import androidx.appcompat.app.AppCompatActivity; import androidx.cardview.widget.CardView; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem...
true
4b31f420bf54e0a951e823163ff2338d6833df19
Java
coreycaplan3/BookMarket
/app/src/main/java/com/github/coreycaplan3/bookmarket/fragments/network/GetNetworkFragment.java
UTF-8
11,705
2.328125
2
[]
no_license
package com.github.coreycaplan3.bookmarket.fragments.network; import android.content.Context; import android.os.AsyncTask; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v4.util.ArrayMap; import android.util.Log; import com.github.c...
true
08a6e06e8952576dbce924cd019aca7a01447362
Java
s-webber/projog
/src/test/java/org/projog/core/parser/OperandsTest.java
UTF-8
5,014
2.34375
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2013-2014 S. Webber * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
true
4faf159e1ac1d7ef5db32e9396e9981442b30452
Java
voicurobert/JavaProjects
/TelacadCourses/src/java_01_associate/chapter_9_thread/Exemplu3.java
UTF-8
467
2.5625
3
[]
no_license
package java_01_associate.chapter_9_thread; import java.util.ArrayList; import java.util.List; public class Exemplu3 { public static List<Integer> list = new ArrayList<>(); public static void main(String[] args) { new Producator("P1").start(); new Producator("P2").start(); new Produ...
true
6a3b92b42ea08cd6ecc413654274b8d04e6bcc52
Java
JasonXiao001/fashionArchitecture
/app/src/main/java/cn/jx/fashionarchitecture/MainActivity.java
UTF-8
1,516
2.078125
2
[]
no_license
package cn.jx.fashionarchitecture; import android.os.Bundle; import android.util.Log; import java.util.List; import javax.inject.Inject; import javax.inject.Named; import cn.jx.fashionarchitecture.di.components.DaggerImageComponent; import cn.jx.fashionarchitecture.di.components.ImageComponent; import cn.jx.fashion...
true
a6077f3104c396ee2968923e6bb54179a47f929b
Java
kevinpostlewaite/killbill
/overdue/src/main/java/com/ning/billing/overdue/calculator/BillingStateCalculatorBundle.java
UTF-8
7,221
1.601563
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2010-2013 Ning, Inc. * * Ning licenses this file to you 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 a...
true
5d330778af9ae74df921d7ab8dbca0c5f8e6e271
Java
ieanwfg201/InvoiceAnalysis
/java/invoice-pdf/src/main/java/com/daisytech/invoice/pdf/entity/InvoiceCodeEntity.java
UTF-8
502
2.375
2
[]
no_license
package com.daisytech.invoice.pdf.entity; public class InvoiceCodeEntity extends BaseEntity { private String invoiceCode; public InvoiceCodeEntity(int errorCode, String errorMessage, String invoiceCode){ setErrorCode(errorCode); setErrorMessage(errorMessage); setInvoiceCode(invoiceCode...
true
16c83b3a443d35ee7d6496275ae04311ea915255
Java
coworks/coworks
/coworks/src/main/java/com/kh/coworks/attendance/model/vo/Attendance.java
UTF-8
3,626
2.125
2
[]
no_license
package com.kh.coworks.attendance.model.vo; import java.io.Serializable; import java.sql.Date; import java.sql.Time; import org.springframework.stereotype.Component; @Component public class Attendance implements Serializable { private int atten_no;// �ε��� private int emp_no;// �����ȣ private Date att...
true
30941f7344b47f562725eda671fd724cdfce5395
Java
cdlee390778266/qlttwx
/code/qltt-us/src/main/java/com/qianlong/qltt/us/mapper/TUSChnlDevInfoMapper.java
UTF-8
1,052
1.914063
2
[]
no_license
package com.qianlong.qltt.us.mapper; import com.qianlong.qltt.us.domain.TUSChnlDevInfo; import com.qianlong.qltt.us.domain.TUSChnlDevInfoExample; import com.qianlong.qltt.us.domain.TUSChnlDevInfoKey; import java.util.List; import org.apache.ibatis.annotations.Param; public interface TUSChnlDevInfoMapper { int cou...
true
661643166d30c728caad1113710cd3d052fa673f
Java
Lovelylys/Java8API
/src/test/java/java8/TestLocalTimeDateTest.java
UTF-8
684
2.109375
2
[]
no_license
package java8; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.*; /** * @author abs * @Date 2019/8/24 - 0:32 */ public class TestLocalTimeDateTest { TestLocalTimeDate demo; @Before public void setUp(){ demo = new TestLocalTimeDate(); } @Test public ...
true
ecb5dc6ee73ea919cdc75745d897538776eda34d
Java
qiuchili/ggnn_graph_classification
/program_data/JavaProgramData/35/1001.java
UTF-8
1,062
2.734375
3
[ "MIT" ]
permissive
package <missing>; public class GlobalMembers { public static int Main() { int[][] point = new int[8][8]; int n; int m; int p; int q; int max; int temp = 0; int i; int k; String tempVar = ConsoleInput.scanfRead(); if (tempVar != null) { n = Integer.parseInt(tempVar); } String tempVar2 ...
true
f26d1f842376a067815654e4632f79538f1730e8
Java
Akaenki/LeetCode
/459/RepeatSubstring.java
UTF-8
680
3.421875
3
[]
no_license
public class RepeatSubstring { /** The Knuth-Morris-Pratt Algorithm * The value array stores the longest prefix */ public boolean repeatedSubstringPattern(String s) { int[] value = new int[s.length()]; char[] str= s.toCharArray(); value[0] = 0; int start = 0, end = 1; ...
true
76f19dcefc8e3c7ebf307106d3676fa7684c7bef
Java
filhoeduardo83/restful-web-services
/src/main/java/com/in28minutes/rest/webservices/restfulwebservices/filtering/FilteringController.java
UTF-8
373
2.265625
2
[]
no_license
package com.in28minutes.rest.webservices.restfulwebservices.filtering; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class FilteringController { @GetMapping("/beanfiltrado") public SomeBean RecoveryBean () { retur...
true
a0c87f7b170080860120df52602f1a55408b1935
Java
cuizuoli/weibo
/src/main/java/cn/cuizuoli/weibo/service/WeiboService.java
UTF-8
5,800
1.960938
2
[]
no_license
/* * @(#)WeiboService.java $version 2014年5月23日 * * Copyright 2014 cuizuoli.cn. All rights Reserved. * cuizuoli.cn PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package cn.cuizuoli.weibo.service; import java.util.List; import javax.annotation.Resource; import lombok.extern.slf4j.Slf...
true
690b3acb8f4b0a16f07d51a96fa537cfa7c61529
Java
steget/tda367-owls
/src/main/java/storeit/viewcontroller/inventory/InventoryListItemController.java
UTF-8
1,472
2.5625
3
[ "MIT" ]
permissive
package storeit.viewcontroller.inventory; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.scene.control.Label; import javafx.scene.layout.AnchorPane; import storeit.model.IReservable; import storeit.model.StoreIT; import java.io.IOException; /** * @author Pär Aronsson */ public class Invento...
true
50fe1b1a9f316261df1cfe96f22b12dd0c1f03d5
Java
miletbashyan/challenge
/src/test/java/com/artak/twitter/console/commands/ReadCommantTest.java
UTF-8
1,492
2.65625
3
[]
no_license
package com.artak.twitter.console.commands; import static org.junit.Assert.*; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import org.junit.Test; import com.artak.twitter.console.commands.ReadCommand; import com.artak.twitter.server.Twitter; public class ReadCommantTest { private ReadCommand...
true
348bfcbc2d8500a41cf2242d6562a872f03b43a6
Java
MWargelin/wmn4j
/src/main/java/org/wmn4j/io/musicxml/MusicXmlWriterDom.java
UTF-8
34,419
1.773438
2
[ "MIT" ]
permissive
/* * Distributed under the MIT license (see LICENSE.txt or https://opensource.org/licenses/MIT). */ package org.wmn4j.io.musicxml; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.w3c.dom.DOMImplementation; import org.w3c.dom.Document; import org.w3c.dom.DocumentType; import org.w3c.dom.Element; i...
true
39b8ebc3ad2234574950b632e8cbcadd3f81961b
Java
JaquariusJ/hsbc-ocr-real-predictor
/src/main/java/com/_4paradim/hsbc/ocr/server/manager/vo/OcrResultItem.java
UTF-8
1,044
1.726563
2
[]
no_license
package com._4paradim.hsbc.ocr.server.manager.vo; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com._4paradim.hsbc.ocr.server.manager.vo.BaseEntity; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import lombok.EqualsAndHashCode;...
true
7dda6f8ea8f30c1532afde62ede586e86b5e477a
Java
auzias/SSII
/src/Debug.java
UTF-8
4,632
2.484375
2
[]
no_license
//package ?????; import java.io.*; import javax.sound.sampled.*; import javax.sound.sampled.AudioFormat.Encoding; import javax.sound.sampled.spi.FormatConversionProvider; /** * * @version 1.0 * @author Auzias & Genevier */ public class Debug { private int f; //Frequence d'harmonique 0 de la note s...
true
2095fecf0437e7a596e8531a77b43713a60ebd8d
Java
degulab/SOARS
/src/Program4.2/src/soars/application/visualshell/object/player/base/object/file/FileObject.java
UTF-8
5,122
2.296875
2
[ "MIT" ]
permissive
/** * */ package soars.application.visualshell.object.player.base.object.file; import java.io.File; import java.io.IOException; import java.nio.IntBuffer; import java.util.List; import soars.application.visualshell.layer.LayerManager; import soars.application.visualshell.main.Constant; import soars.app...
true
e6ed9dcbc4f195038ca0018eebeb0157d885c0ee
Java
majercik/Genetic-Algorithm-for-Musical-Exploration-GAME-
/GAME/src/Utilities.java
UTF-8
1,583
2.796875
3
[]
no_license
import java.util.Random; import jm.JMC; import jm.music.data.Note; import jm.music.data.Part; import jm.music.data.Phrase; import jm.music.data.Score; import jm.util.Play; public class Utilities implements JMC { public static int calcDistance(int pitch1, int pitch2){ int distance = Math.abs(pitch1 - pitch2); re...
true
504d2509b48742ac6f2accc45ea3ad05ec2127bb
Java
4ernookiy/Jump
/Task7/src/main/java/jmp/training/thread/deadlock/App.java
UTF-8
837
2.796875
3
[]
no_license
package jmp.training.thread.deadlock; import jmp.training.thread.deadlock.Lock; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.concurrent.CyclicBarrier; public class App { private final static Logger logger = LoggerFactory.getLogger(App.class); public static Lock LOCK1 = new Lock...
true
4ce7342a24e2b6f0c7c34613de8c86af2ff80d43
Java
Coldreader88/UCGO-Archive
/Server/UCGOPS/src/admin/commands/ban.java
UTF-8
1,727
2.40625
2
[]
no_license
package admin.commands; import characters.CharacterGame; import packetHandler.Packet; import packetHandler.PacketData; import players.PlayerChat; public class ban implements AdminCommand { @Override public boolean checkGMrights(PlayerChat p) { return true; } @Override public void execute...
true
b99921f8da7e758b08c7ff4849a4c6b49ab9275b
Java
Jiangxingd521/guangz
/src/main/java/com/ningyang/os/action/output/vo/web/serve/BrandSeriesProductNameVo.java
UTF-8
313
1.53125
2
[]
no_license
package com.ningyang.os.action.output.vo.web.serve; import lombok.Data; /** * @Author: kaider * @Date:2018/12/13 18:25 * @描述:品牌系列产品名称 */ @Data public class BrandSeriesProductNameVo { private String brandName; private String seriesName; private String productName; }
true
076513babf7d78c27f0bf85490d98f731a94527b
Java
victorcasignia/patinteroapp
/app/src/main/java/com/example/userr/patinteroapp/A_Stages.java
UTF-8
5,821
2.015625
2
[]
no_license
package com.example.userr.patinteroapp; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.MotionEvent; import android.view.View; import android.view.Window; import android.view.WindowManager; import android.widget.ImageButton; import android.w...
true
5e218806eda600f441c13c3b1dc238b01e6c9e5c
Java
aakash17kc/Symphony
/app/src/androidTest/java/com/logix/symphony/SignUpActivityTest.java
UTF-8
1,464
1.984375
2
[]
no_license
package com.logix.symphony; import android.app.Activity; import android.app.Instrumentation; import android.support.test.rule.ActivityTestRule; import org.junit.After; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import static android.support.test.InstrumentationRegistry.getInstrumentation;...
true
6c0ad9747b6bd9a82f4f151357be57b683c3890f
Java
P79N6A/icse_20_user_study
/methods/Method_38162.java
UTF-8
118
2.625
3
[]
no_license
/** * Indicate whether a transaction is in progress. */ public boolean isTransactionActive(){ return txActive; }
true
84761b47cababee5aa2e3284284b63409e007997
Java
yuchenlichuck/SUSTech-Data-Structure-and-algorithm-analysis
/Oj3/src/Main11.java
UTF-8
1,453
3.75
4
[]
no_license
import java.util.PriorityQueue; public class Main11 { public static int[] topKLargest(int[] input, int k) { PriorityQueue<Integer> minheap = new PriorityQueue<Integer>(k, new Comparator<Integer>() { @Override public int compare(Integer o1, Integer o2) { if (o1 < o2) { return 1; } else if (o1 > o...
true
1631f3e6f43fac941536d1ad6c4ce7219c37b658
Java
pedrofsn/espweb-mob-poo
/lab_heranca_3/src/br/ufg/lab/caso1/Boi.java
UTF-8
176
2.3125
2
[]
no_license
package br.ufg.lab.caso1; /** * Created by aluno on 13/05/17. */ public class Boi extends Animal { @Override public String som() { return "mugir"; } }
true
74aa7b5e8a5944a6e1747e035bf0539126603878
Java
team-placeholder/plan-it
/app/src/main/java/com/example/antoan/planit/view/home/HomeModule.java
UTF-8
401
1.554688
2
[ "MIT" ]
permissive
package com.example.antoan.planit.view.home; import com.example.antoan.planit.view.home.listEventsAsCreator.EventAsCreatorModule; import com.example.antoan.planit.view.home.listEventsAsParticipant.EventsAsParticipantModule; import dagger.Module; /** * Created by Antoan on 3/3/2017. */ @Module(includes = {EventAsCr...
true
b54dbadaafdf4cb7d0ad7643bcb90157d0c5d9e5
Java
sangajala/patientportal
/src/test/java/stepDefinitions/InvoicesSteps.java
UTF-8
2,370
2.078125
2
[]
no_license
package stepDefinitions; import cucumber.api.java.en.And; import cucumber.api.java.en.Given; import cucumber.api.java.en.Then; import cucumber.api.java.en.When; import org.openqa.selenium.By; import utils.basePage; import utils.utilities; public class InvoicesSteps extends baseStepDefs { @When("^patients click...
true
92036f863d1088aff44c2c619b626fedd22e30d1
Java
moutainhigh/crawler
/parent/common-module-dao/src/main/java/com/microservice/dao/repository/crawler/housing/shangrao/HousingShangRaoUserInfoRepository.java
UTF-8
325
1.570313
2
[]
no_license
package com.microservice.dao.repository.crawler.housing.shangrao; import org.springframework.data.jpa.repository.JpaRepository; import com.microservice.dao.entity.crawler.housing.shangrao.HousingShangRaoUserInfo; public interface HousingShangRaoUserInfoRepository extends JpaRepository<HousingShangRaoUserInfo, Long>{...
true
d903c5c2db2f5b19c5cd0e0bd51b8996df0eb301
Java
opensagres/mongodb-ide
/fr.opensagres.nosql.ide.mongodb.ui/src/fr/opensagres/nosql/ide/mongodb/ui/internal/handlers/OpenDatabaseEditorHandler.java
UTF-8
802
2.078125
2
[]
no_license
package fr.opensagres.nosql.ide.mongodb.ui.internal.handlers; import org.eclipse.ui.IEditorInput; import fr.opensagres.nosql.ide.mongodb.core.model.Database; import fr.opensagres.nosql.ide.mongodb.ui.internal.editors.database.DatabaseEditor; import fr.opensagres.nosql.ide.mongodb.ui.internal.editors.database.Da...
true
ba6bdebbed47394f359e98c2f97658590b95a2ca
Java
Error-250/sso
/src/main/java/com/sduwh/sso/config/JwtGrantConfig.java
UTF-8
3,587
1.8125
2
[]
no_license
package com.sduwh.sso.config; import com.sduwh.sso.grant.Md5PasswordEncoder; import com.sduwh.sso.grant.SsoExceptionTranslator; import com.sduwh.sso.grant.SsoGranter; import com.sduwh.sso.grant.SsoTokenStore; import com.sduwh.sso.service.impl.LocalClientServiceImpl; import org.springframework.beans.factory.annotation....
true
11deac0fdbe022f133d7d86e1ba4fb25597bdb00
Java
neviscom/nanodegree-xyzreader
/XYZReader/src/main/java/com/example/xyzreader/ui/articleList/CardViewHolder.java
UTF-8
1,648
2.21875
2
[]
no_license
package com.example.xyzreader.ui.articleList; import android.database.Cursor; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.text.format.DateUtils; import android.view.View; import android.widget.TextView; import com.example.xyzreader.R; import com.example.xyz...
true
e8d01646476bc3c8c45a151048862a5ae19c616d
Java
Phantoms007/zhihuAPK
/src/main/java/com/zhihu/android/app/util/AdWebViewCDNAPM.java
UTF-8
1,383
1.84375
2
[]
no_license
package com.zhihu.android.app.util; import com.secneo.apkwrapper.C6969H; import com.zhihu.android.apm.DroidAPM; /* renamed from: com.zhihu.android.app.util.j */ /* compiled from: AdWebViewCDNAPM */ public class AdWebViewCDNAPM { /* renamed from: a */ public static void m84703a(String str) { if (m84707...
true
0531355f41df57739ad812ea1f0bca53958f35fb
Java
rohitankam/BookMySeat
/app/src/main/java/com/bookmyseat/rohit/bookmyseat/Payment.java
UTF-8
1,297
2.046875
2
[]
no_license
package com.bookmyseat.rohit.bookmyseat; import android.app.Activity; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.Button; import android.widget.TextView; import android.widget.Toast; import com.craftman.cardform.Card; import com.craft...
true
46a7c530ac7c02e965cf3d6a9b6208945b8727d1
Java
wjl7123093/CoderCommunity
/app/src/main/java/com/fred_w/demo/codercommunity/mvp/ui/activity/ActiveListActivity.java
UTF-8
8,398
1.585938
2
[]
no_license
package com.fred_w.demo.codercommunity.mvp.ui.activity; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.widget.DefaultItemAnimator; import android.support.v7.widget.DividerItemDecoration; import android.support.v7.widget.LinearLayoutManager;...
true
082650a39d419c6d92d16e75a556e92737042003
Java
phx1314/pawn_user
/app/src/main/java/com/glavesoft/pawnuser/model/ModelProduct.java
UTF-8
3,992
1.953125
2
[]
no_license
package com.glavesoft.pawnuser.model; import java.io.Serializable; import java.util.List; public class ModelProduct implements Serializable { /** * total : 1 * footer : [] * rows : [{"mainMaterial":"牛肉","img":"000890ccb8e04719939c31f6c09f3ed9","goodsId":0,"createYear":"2020","reasonOfDismounting"...
true
8ade2b841fbab4bc611d92da08ffbb2ebe7c3112
Java
HealerJean/common-arith
/src/main/java/com/hlj/arith/demo00152_二叉树的直径/二叉树的直径.java
UTF-8
1,989
3.53125
4
[]
no_license
package com.hlj.arith.demo00152_二叉树的直径; import com.hlj.arith.z_common.treeNode.TreeNodeResources; import org.junit.Test; /** 作者:HealerJean 题目: 给定一棵二叉树,你需要计算它的直径长度。一棵二叉树的直径长度是任意两个结点路径长度中的最大值。这条路径可能穿过也可能不穿过根结点。 示例 : 给定二叉树 1 / \ 2 3 / \ 4 5 返回 3, 它...
true
03d510df116fba2b922073fadde09897fbace8e4
Java
ViniziSuricate/FichaAnimais
/CadFichaAnimalEJB/ejbModule/com/CadFichaAnimal/pkg/mantemFichaSB.java
UTF-8
10,885
2.46875
2
[]
no_license
package com.CadFichaAnimal.pkg; import java.util.Date; import java.util.List; import javax.ejb.LocalBean; import javax.ejb.Stateless; import javax.ejb.TransactionManagement; import javax.ejb.TransactionManagementType; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.persistence.Ent...
true
77790ea005ecf3c4522c5e57b6c140ae25d99ce3
Java
FuangCao/cavan
/java/CavanJava/src/com/cavan/java/CavanLargeValue.java
UTF-8
18,193
2.875
3
[]
no_license
package com.cavan.java; public class CavanLargeValue implements Cloneable, Comparable<CavanLargeValue> { public static int findMsbIndex(byte[] bytes, int msb) { while (msb >= 0 && bytes[msb] == 0) { msb--; } return msb; } public static int findMsbIndex(byte[] bytes) { return findMsbIndex(bytes, bytes....
true
a3752f64402d8aabe8c537a019aa50ba9f1db5e1
Java
alvarezcarlos/walmart_bk
/src/main/java/com/walmart/product/service/IProductService.java
UTF-8
215
1.632813
2
[ "MIT" ]
permissive
package com.walmart.product.service; import java.util.List; import com.walmart.product.collection.Products; public interface IProductService { List<Products> GetProductsWithLogicPalindrome(String findText); }
true
db2542e2ab44ab4ca3abbc89869fea9babdc6cfb
Java
rushabh268/cloudid-showcase
/cloudid/cloudid-lib/src/main/java/de/qaware/cloudid/lib/spire/WorkloadEntryConverter.java
UTF-8
4,695
2.171875
2
[ "Apache-2.0", "CC0-1.0", "CC-BY-3.0" ]
permissive
package de.qaware.cloudid.lib.spire; import com.google.protobuf.ByteString; import de.qaware.cloudid.lib.WorkloadId; import lombok.extern.slf4j.Slf4j; import org.bouncycastle.asn1.ASN1Sequence; import org.bouncycastle.asn1.pkcs.PrivateKeyInfo; import org.bouncycastle.asn1.sec.ECPrivateKey; import org.bouncycastle.asn1...
true
030bf3689ce27d09d2a1abb33b6200a65a4cd4c6
Java
reykjavik11/Greetings
/src/main/java/com/greetings/LocaleGreeting.java
UTF-8
2,587
3.0625
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.greetings; import static com.greetings.PropertiesKeys.*; import java.text.DateFormat; import java.text.ParseException; imp...
true
bb830b25a8e4c9eb87e9a763153132753e427053
Java
ashumeet/HackerRank
/src/com/moving/avrage/from/data/stream/Main.java
UTF-8
1,055
4.125
4
[]
no_license
package com.moving.avrage.from.data.stream; /* Given a stream of integers and a window size, calculate the moving average of all integers in the sliding window. Example: MovingAverage m = new MovingAverage(3); m.next(1) = 1 m.next(10) = (1 + 10) / 2 m.next(3) = (1 + 10 + 3) / 3 m.next(5) = (10 + 3 + 5) / 3 */ import...
true
112fae640304521b6e972c12a7480a6356a6b766
Java
mebobby2/instamoolah
/funding/src/main/java/com/instamoolah/funding/core/Fund.java
UTF-8
194
2.25
2
[]
no_license
package com.instamoolah.funding.core; public class Fund { public Integer loanAmount; @Override public String toString() { return "Fund{" + "loanAmount = " + loanAmount + "}"; } }
true
cb23c3421e21edb362678f4f7ac504d52cdbbd41
Java
satyamroy001/CodeForces
/274A - k-Multiple Free Set.java
UTF-8
1,647
3.15625
3
[]
no_license
import java.io.*; import java.util.*; import java.awt.*; public class Main { static int mod=(int)1e9+7; public static void main(String[] args) throws Exception { FastReader sc = new FastReader(); StringBuilder sb = new StringBuilder(); int n=sc.nextInt(); long k=sc.nextInt(); ...
true
541e30a8f5637e346b4553cb5650cb1e6acdfa95
Java
smarr/AmbientTalk-interpreter
/src/edu/vub/at/objects/ATContext.java
UTF-8
2,736
2.59375
3
[]
no_license
/** * AmbientTalk/2 Project * ATContext.java created on Jul 23, 2006 at 11:35:12 AM * (c) Programming Technology Lab, 2006 - 2007 * Authors: Tom Van Cutsem & Stijn Mostinckx * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files ...
true