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
8ba11126359ca47befca955514df1a9474f33d71
Java
team-ams/repository_ams
/ams-system/src/main/java/com/ams/system/domain/AssetsAccident.java
UTF-8
1,370
1.804688
2
[ "MIT" ]
permissive
package com.ams.system.domain; import com.ams.common.core.domain.BaseEntity; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import java.util.Date; @Data public class AssetsAccident extends BaseEntity { /** * '事故ID' */ private Integer accidentId; /** * 事故单号 */...
true
38895cdc13bd663f11bff6dac67da31cea0c733d
Java
weicheng2138/bb-js-tl
/src/Stack.java
UTF-8
710
3.15625
3
[]
no_license
public class Stack { private TreeNode head = null; public boolean isEmpty() { return head == null; } public TreeNode getTop() { return this.head; } public void push(TreeNode node) { if (this.isEmpty()) { head = node; } else { node.setNext(head); head = node; } } pu...
true
2401ab856de0ff901bc87ef7f68788ad39e4b801
Java
kansasSamurai/raven
/proj/RavenCore/src/com/kitfox/raven/wizard/RavenWizardDialog.java
UTF-8
6,205
2.171875
2
[]
no_license
/* * Copyright 2011 Mark McKay * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
true
a89eb3e8451eb201f82c8bf34a515baad95d0073
Java
tylerhyperHD/GameModeInventories
/src/main/java/me/eccentric_nz/gamemodeinventories/GameModeInventoriesInventory.java
UTF-8
20,223
2.046875
2
[]
no_license
/* * Kristian S. Stangeland aadnk * Norway * kristian@comphenix.net * thtp://www.comphenix.net/ */ package me.eccentric_nz.gamemodeinventories; import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Array...
true
b4e623f25f69e77b761503db236055faab4e19a6
Java
Lxt000806/eclipse_workspace
/homeProject/src/com/house/home/serviceImpl/basic/cmpActivityServiceImpl.java
UTF-8
2,193
1.828125
2
[]
no_license
package com.house.home.serviceImpl.basic; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.house.framework.bean.Result; import com.house.framework.commons.orm.BaseServiceImpl; import com.house.framework.commons.orm.Page; impo...
true
6c85a817ff6e27891a318dc779db4d034aabc023
Java
JOHNKING123/eagle
/eg-bussiness/eg-base-api/src/main/java/cc/zhengcq/eagle/base/model/BaseVendorItem.java
UTF-8
2,960
1.90625
2
[]
no_license
package cc.zhengcq.eagle.base.model; import cc.zhengcq.eagle.core.db.json.CurrencyDeserializer; import cc.zhengcq.eagle.core.db.json.CurrencySerializer; import cc.zhengcq.eagle.core.db.json.IdWorkerDeserializer; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName...
true
3482011342866e1fe54511700c68c365fd8081c7
Java
KwonMinha/BOJ
/BOJ#1012/src/Main.java
UTF-8
2,140
3.40625
3
[]
no_license
/** * @author Minha Gwon * @date 2021. 1. 17. * 유기농 배추 * https://www.acmicpc.net/problem/1012 * * 입력의 첫 줄에는 테스트 케이스의 개수 T가 주어진다. 그 다음 줄부터 각각의 테스트 케이스에 대해 첫째 줄에는 배추를 심은 배추밭의 가로길이 M(1 ≤ M ≤ 50)과 세로길이 N(1 ≤ N ≤ 50), 그리고 배추가 심어져 있는 위치의 개수 K(1 ≤ K ≤ 2500)이 주어진다. 그 다음 K줄에는 배추의 위치 X(0 ≤ X ≤ M-1), Y(0 ≤ Y ≤...
true
dcfdd16aac581a4e5aef2a2d1f9baa245fcd39cd
Java
ESPOIR-DITE/orgman
/src/test/java/ac/za/cput/adp3/xyzcongolmerate/factory/user/UserFactoryTest.java
UTF-8
386
1.898438
2
[]
no_license
package ac.za.cput.adp3.xyzcongolmerate.factory.user; import ac.za.cput.adp3.xyzcongolmerate.domain.user.User; import org.junit.Assert; import org.junit.Test; import static org.junit.Assert.*; public class UserFactoryTest { @Test public void buildUser() { User user= UserFactory.buildUser("espoie@gma...
true
da52ab9c208df684bbe217aec1d78f854b923e8f
Java
Jacques-Fry/springboot
/springboot_shiro/src/main/java/com/jacques/shiro/dao/RoleDao.java
UTF-8
506
1.9375
2
[]
no_license
package com.jacques.shiro.dao; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import org.springframework.stereotype.Component; import java.util.HashSet; /** * @author Jack_YD * @create 2019/12/23 14:27 */ @Mapper @Component pub...
true
9601ef722edc0ef598c797a987ea7e0165611818
Java
joao-parana/algorithm
/src/main/java/dsaj/design/TestProgression.java
UTF-8
2,609
3.3125
3
[]
no_license
/* * Copyright 2014, Michael T. Goodrich, Roberto Tamassia, Michael H. Goldwasser * * Developed for use with the book: * * Data Structures and Algorithms in Java, Sixth Edition * Michael T. Goodrich, Roberto Tamassia, and Michael H. Goldwasser * John Wiley & Sons, 2014 * * This program is free softwar...
true
e3aed887c501c232ba4d7714035d3478c83a6d91
Java
RedServer/AssetsRenamer
/src/main/java/ru/redserver/assetsrenamer/Utils.java
UTF-8
2,873
2.703125
3
[ "MIT" ]
permissive
package ru.redserver.assetsrenamer; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.ArrayList; import java.util.List; import javafx.scene.control.Alert; import javafx.stage.StageStyle; ...
true
3427ea6dfcf6ba89864fc8799921fc743eb51650
Java
VenkatMugesh/Thirukkural-android-main
/app/src/main/java/com/example/venkatmugesh/meetmrvalluvar/PlayGame.java
UTF-8
10,415
2.0625
2
[]
no_license
package com.example.venkatmugesh.meetmrvalluvar; import android.content.Intent; import android.database.Cursor; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import a...
true
df190d1e7b6dd8e4a20044765dbb5ee8c3a2e6bd
Java
xyzhu/imbalancelearningapp
/src/main/java/classification/Classification.java
UTF-8
8,480
2.171875
2
[]
no_license
package classification; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Map; import classification.bagging.*; import classification.boosting.ResampleOutBoostingClassification; import org.apache.log4j.Logger; import util.DataStorageUtil; import util.PrintUtil; i...
true
cdc2480816c57053803a590d5bfc39527629a13f
Java
saurabhshendye/Hadoop-Census-Analysis
/src/cs455/hadoop/Q5/houseValueMedianMapper.java
UTF-8
3,555
2.4375
2
[]
no_license
/* * Created by Saurabh on 3/30/2017. */ package cs455.hadoop.Q5; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Mapper; import java.io.IOException; public class houseValueMedianMapper extends Mapper<LongWritable, Text, Text, Text> { public void...
true
2f54c40ed87cc01b2d96c63de95fc8e177526cec
Java
XiangLiHealthy/XiangLiHealthyLife
/client_andriod/model_lib/src/main/java/com/example/model_lib/accont_manage.java
UTF-8
2,412
2.359375
2
[]
no_license
package com.example.model_lib; import com.example.commondata.*; import com.example.net_lib.NetFacade; import com.example.threadlib.*; import com.example.commondata.*; import com.example.commondata.AccountMethod.*; public class accont_manage extends Notify { public void notify(Notify task) { AccountMan...
true
b40efbde6c0c3f0b1948edc34bc911ca372dc248
Java
combean/yyz
/core/src/main/java/com/bean/model/RoleMenu.java
UTF-8
794
2.171875
2
[]
no_license
package com.bean.model; import java.io.Serializable; /** * @author */ public class RoleMenu implements Serializable { private Integer roleMenuId; /** * 角色ID */ private Integer roleId; /** * 操作菜单ID */ private Integer menuId; private static final long serialVersionUID =...
true
96d6069547b7b0a15ae33b56e942262378afe5c9
Java
jdziekonski/ais_client
/src/ais_client/ship_display.java
UTF-8
10,643
2.203125
2
[]
no_license
package ais_client; import ais.service.Ship; import ais.service.ShipService_Service; import javax.swing.JOptionPane; public class ship_display extends javax.swing.JFrame { private byte[] photo; public ship_display() { initComponents(); } @SuppressWarnings("unchecked") // <editor-f...
true
0a4f536048eae20926387002251ec105f06108aa
Java
kinglong123/androiddistribution
/app/src/main/java/touch/touchdemo/widget/ViewTool.java
UTF-8
1,818
2.296875
2
[]
no_license
package touch.touchdemo.widget; /** * Created by lanjl on 2016/9/4. */ public class ViewTool { public static final int ACTION_UP = 1; public static final int ACTION_DOWN = 0; public static final int ACTION_MOVE = 2; public static final int ACTION_CANCEL ...
true
a377657eab957345a17a1ed960a92aceeb0b26d7
Java
moutainhigh/cloudconfig
/kuangchi/java/com/kuangchi/sdd/consumeConsole/incomeStatistics/util/ExcelUtilSpecial.java
UTF-8
13,350
2.46875
2
[]
no_license
package com.kuangchi.sdd.consumeConsole.incomeStatistics.util; import org.apache.poi.hssf.usermodel.HSSFCellStyle; import org.apache.poi.hssf.usermodel.HSSFFont; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.hssf.util.HSSFColor; import org.apache.poi.ss.usermodel.*; import org.apache.poi.ss...
true
0bc7a4d9e57ffb85fb326cff1e4aa581b98cafc2
Java
SavorGit/Hotspot-master-devp
/common-library/src/main/java/com/common/api/widget/adr/WheelAddress.java
UTF-8
5,568
2.4375
2
[ "Apache-2.0" ]
permissive
package com.common.api.widget.adr; import java.util.HashMap; import java.util.Map; import com.common.api.R; import com.common.api.utils.LogUtils; import com.common.api.vo.AddressList; import com.common.api.vo.Area; import com.common.api.vo.Province; import com.common.api.vo.Town; import com.common.api.widget.adrW...
true
8d933f62293f54c02756245386f8d4a4d1c2d4c7
Java
Aduran/iso2010-11
/src/com/umbrella/worldconq/domain/GameEngine.java
UTF-8
6,844
2.296875
2
[]
no_license
package com.umbrella.worldconq.domain; import java.util.ArrayList; import java.util.UUID; import com.umbrella.worldconq.comm.ServerAdapter; import com.umbrella.worldconq.exceptions.InvalidArgumentException; import com.umbrella.worldconq.exceptions.PendingAttackException; import com.umbrella.worldconq.ui.GameEventList...
true
909f60c0dfb9bfb88a33a954f29d9d4aa6fd35ac
Java
xp-zhao/learn-java
/learn-basics/src/main/java/mapstruct1/source/PropertyDTO.java
UTF-8
291
1.734375
2
[ "MIT" ]
permissive
package mapstruct1.source; import java.util.List; import lombok.AllArgsConstructor; import lombok.Data; /** * @author zhaoxiaoping * @date 2021-12-28 */ @Data @AllArgsConstructor public class PropertyDTO { private String name; private List<ValueDTO> value; private String code; }
true
701b8a7f4b4096e1ab9b5a8320ec028b75d12692
Java
kashalba/flightplan
/src/main/java/com/flightplan/Trip.java
UTF-8
910
3.125
3
[]
no_license
package com.flightplan; public class Trip { private Airport departure; private String destination; public Trip(Airport departure, String destination) { while (Util.isEmpty(departure) || Util.isEmpty(destination)) { throw new IllegalArgumentException( "Please send ...
true
780a98becaa2ec99781c6aabaf6b807cfb20a012
Java
zhilu/risk
/api/src/main/java/ald/rc/api/core/IntOperator.java
UTF-8
274
2.453125
2
[]
no_license
package ald.rc.api.core; /** * @author shiguihong * @version 1.0 */ public enum IntOperator { EQ("="),NE("!="),GT(">"),GE(">="),LT("<"),LE("<="); IntOperator(String s) { } public static IntOperator toOperator(String value){ return EQ; } }
true
9e7cf184410fb5d95eed7c7eadb9561de2ec6cfa
Java
jenkinsci/analysis-model
/src/main/java/edu/hm/hafner/analysis/parser/YuiCompressorParser.java
UTF-8
5,484
2.6875
3
[ "MIT" ]
permissive
package edu.hm.hafner.analysis.parser; import java.util.Optional; import java.util.regex.Matcher; import java.util.regex.Pattern; import edu.hm.hafner.analysis.Issue; import edu.hm.hafner.analysis.IssueBuilder; import edu.hm.hafner.analysis.LookaheadParser; import edu.hm.hafner.analysis.Severity; import edu.hm.hafner...
true
05368623ffd6bdb38d59144c74dd62474206fd8a
Java
tkofford/weatherserviceApp
/server/src/main/java/weatherservice/SpringBootVueApplication.java
UTF-8
743
1.890625
2
[]
no_license
package weatherservice; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cache.annotation.EnableCaching; import org.springframework.context.annotation.Bean; import weatherservice.service.ThirdPartyDataService; import wea...
true
0ed7780a84412569932f387e75558372ce93d3f3
Java
SeungYongSon/mini-festa
/app/src/main/java/com/kkori/mini_festa/presentation/ui/event/board/EventListAdapter.java
UTF-8
4,447
2.15625
2
[]
no_license
package com.kkori.mini_festa.presentation.ui.event.board; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.recyclerview.widget.DiffU...
true
001b595d5bf44ec80828d7ee62228c0a958b5e72
Java
plter/AndroidLesson20170425
/20170524/MyFragment/app/src/main/java/top/yunp/myfragment/MainActivity.java
UTF-8
552
1.882813
2
[]
no_license
package top.yunp.myfragment; import android.app.FragmentManager; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { private FragmentManager fragmentManager; @Override protected void onCreate(Bundle savedInstanceState) { ...
true
d6772d7f193dbf5e92ac6ba0c9b5dfaa38d12a74
Java
dezel-framework/dezel-android
/dezel/src/main/java/ca/logaritm/dezel/core/external/JavaScriptValueExternal.java
UTF-8
8,930
2.40625
2
[]
no_license
package ca.logaritm.dezel.core.external; /** * @class JavaScriptValueExternal * @since 0.1.0 * @hidden */ public class JavaScriptValueExternal { /** * @method createNull * @since 0.1.0 * @hidden */ static native public long createNull(long contextPtr); /** * @method createUndefined * @since 0.1.0 ...
true
bbdf377475498e9869eb4a4c39fc4bbcbd5bdae5
Java
rodrigueaf/justmove
/src/main/java/com/claude/justmove/util/CollectionsUtils.java
UTF-8
882
2.5625
3
[]
no_license
package com.claude.justmove.util; import com.fasterxml.jackson.core.type.TypeReference; import com.google.gson.Gson; import java.util.List; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.function.Function; import java.util.function.Predicate; public class CollectionsUtils { ...
true
aa3fef80cda9c134ba6e2c18ed685f44a8db5ea9
Java
1614202740/DuStoreApplication
/app/src/main/java/com/dustoreapplication/android/ui/community/recommend/detail/GoodHeadListAdapter.java
UTF-8
1,776
2.140625
2
[]
no_license
package com.dustoreapplication.android.ui.community.recommend.detail; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import com.bumptech.glide.Glide; import com.dustoreapplication.andro...
true
07bff46c894a63d8a9ddc81dc2111bd643935748
Java
wocommunity/wonder
/Frameworks/Core/ERExtensions/Sources/er/extensions/localization/ERXDutchLocalizer.java
UTF-8
3,493
2.703125
3
[]
no_license
// // ERXDutchLocalizer.java // ERExtensions // // Created by Johan Henselmans on 08/11/09. // Copyright (c) 2009. All rights reserved. // package er.extensions.localization; /** * ERXDutchLocalizer is a subclass of {@link ERXLocalizer}. * <p> * Overrides <code>plurify</code> from its super class * and t...
true
54128cc102c9a72f48f5f14dff61bc79dfa013f3
Java
jhack000/myrobotlab
/src/org/myrobotlab/service/ParallelPort.java
UTF-8
3,987
2.515625
3
[ "Apache-2.0" ]
permissive
/** * * @author greg (at) myrobotlab.org * * This file is part of MyRobotLab (http://myrobotlab.org). * * MyRobotLab is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version...
true
40e07fac26d051cdd75f6b243a8db8e2a6d39664
Java
qiuchengxin/pos
/src/main/java/com/market/pos/mapper/MembersMapper.java
UTF-8
920
2.0625
2
[]
no_license
package com.market.pos.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.market.pos.pojo.Members; import org.apache.ibatis.annotations.Mapper; import java.util.List; @Mapper public interface MembersMapper extends BaseMapper<Members> { /** * 通过userid查询用户 * @param userid * ...
true
934932a567fe7f581165a31c87ba8832f8a861eb
Java
emmadebayos/germinate-daim
/src/jhi/germinatedataimporter/gui/dialog/DateOptionsDialog.java
UTF-8
8,328
2.203125
2
[ "Apache-2.0" ]
permissive
/** * Copyright 2017 Information and Computational Sciences, * The James Hutton Institute. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-...
true
73ed475b5c9395d2bd16b5378181004415a8b26e
Java
apache/tika
/tika-eval/tika-eval-core/src/main/java/org/apache/tika/eval/core/tokens/TokenCounter.java
UTF-8
5,443
2.078125
2
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "LicenseRef-scancode-unknown", "EPL-1.0", "ICU", "LicenseRef-scancode-bsd-simplified-darwin", "MPL-2.0", "LicenseRef-scancode-iptc-2006", "LicenseRef-scancode-proprietary-license", "MIT", "NetCDF", "LicenseRef-scancode-public-domai...
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 may ...
true
9026d7f1a679c1019f6bdbfdc981b0af813e6f2f
Java
ali1dc/legacy-modernization
/payment/src/main/java/com/legacy/payment/kafka/OrderStream.java
UTF-8
1,358
2.109375
2
[ "Apache-2.0" ]
permissive
package com.legacy.payment.kafka; import com.fasterxml.jackson.databind.ObjectMapper; import com.legacy.payment.config.StateStores; import com.legacy.payment.dto.*; import com.legacy.payment.event.OrderItemEvent; import org.apache.kafka.common.serialization.Serdes; import org.apache.kafka.streams.KeyValue; import org....
true
f360dcb2278001ad40ba6ebe575c573a9c55de8c
Java
barisoztop/pp12-636
/MembranePony/src/evaluation/Evaluation.java
UTF-8
7,776
2.765625
3
[]
no_license
package evaluation; import interfaces.Prediction; import interfaces.Predictor; import interfaces.PredictorFactory; import interfaces.Result; import interfaces.Sequence; import java.util.ArrayList; import java.util.Arrays; import java.util.LinkedList; import java.util.List; /** * tenfold crossvalidatio...
true
efa2ab2b20c8d77b6fbaae80e34bda8da991f000
Java
lslolly/welcome
/app/src/main/java/com/example/ls/mywww/Main2Activity.java
UTF-8
895
2.1875
2
[]
no_license
package com.example.ls.mywww; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; public class Main2Activity extends AppCompatActivity { // public static void launch(Context context, Intent nextIntent) { // Main2Activity.nextIntent = nextIntent; // Intent intent = new Inten...
true
838b6210c74b0a7c2f605279107e5affd0dd7bdd
Java
sebukoleth/Excel2DB
/src/main/java/excel2db/service/impl/CloseConnectionMongoDBImpl.java
UTF-8
311
1.90625
2
[]
no_license
package excel2db.service.impl; import excel2db.excel2db; import excel2db.service.CloseConnection; /** * Created by Andrey on 8/15/2017. */ public class CloseConnectionMongoDBImpl implements CloseConnection{ @Override public void closeDBConnection() { excel2db.mongoClient.close(); } }
true
74ff1d0c108013aa3f5dc0aa1010407c5d1d1a64
Java
jstrachan/guicey
/test/com/google/inject/LoggerInjectionTest.java
UTF-8
1,753
2.453125
2
[ "Apache-2.0" ]
permissive
package com.google.inject; import static com.google.inject.Asserts.assertContains; import com.google.inject.name.Names; import java.util.logging.Logger; import junit.framework.TestCase; /** * Test built-in injection of loggers. * * @author jessewilson */ public class LoggerInjectionTest extends TestCase { @Inj...
true
664f977880b02941e71b2e9c60f49b683387b894
Java
ShaneeexD/Biomes
/src/main/java/com/serenity/biomesplus/world/biomes/BiomeMagicForest.java
UTF-8
7,664
2.25
2
[]
no_license
package com.serenity.biomesplus.world.biomes; import java.util.Random; import com.serenity.biomesplus.world.decorators.BiomeMagicForestDecorator; import com.serenity.biomesplus.world.decorators.BiomeOvergrownDecorator; import net.minecraft.block.BlockDoublePlant; import net.minecraft.block.BlockFlower; impo...
true
2249d839c7e5fd64cb8f6c808886e97ce302e1bc
Java
zhongxingyu/Seer
/Diff-Raw-Data/6/6_4057b669a0c81de52db68e3adb3999cd494aafb0/JournalCrashTest/6_4057b669a0c81de52db68e3adb3999cd494aafb0_JournalCrashTest_s.java
UTF-8
8,426
2.015625
2
[]
no_license
/* * Copyright 2009 Red Hat, Inc. * Red Hat 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 app...
true
77aa5fb470b69448dbd9e317ddd506b8cf86f17a
Java
NortonWEI/SWEN90007-Project
/src/com/freshmel/security/AppRealm.java
UTF-8
3,400
2.234375
2
[]
no_license
package com.freshmel.security; import com.freshmel.dataMapper.CustomerMapper; import com.freshmel.dataMapper.VenderMapper; import com.freshmel.model.Customer; import com.freshmel.model.User; import com.freshmel.model.Vender; import org.apache.shiro.authc.*; import org.apache.shiro.authz.AuthorizationInfo; import org.a...
true
c331b954529a98fa99f02a91db54b9075f615f5c
Java
nimesh9528/-Crux-NP-Sep21
/Lec8/SubArray_sum.java
UTF-8
478
3.1875
3
[]
no_license
package Lec8; public class SubArray_sum { public static void main(String[] args) { // TODO Auto-generated method stub int [] arr = {-3,4,5,-7,8}; System.out.println(max_sum(arr)); } public static int max_sum(int [] arr) { int ans = Integer.MIN_VALUE; for (int i = 0; i < arr.length; i++) { for (int j ...
true
695477f190242b83951aa796b329fc1f58c44367
Java
msandim/call-biller
/src/main/java/callbiller/NumberBill.java
UTF-8
2,127
3.9375
4
[ "MIT" ]
permissive
package callbiller; /** * Class that represents a bill of a specific number. This bill includes * information regarding the number, the total duration of the calls made by * this number (in seconds) and the total cost of those calls (in cents). */ public class NumberBill { private String phoneNumber; priva...
true
33d90df12c1e729e5e350ed82396962f715afea0
Java
HamZil/DataStructureWithJava
/Searches/src/searches/LinearSearch.java
UTF-8
246
3
3
[]
no_license
package searches; public class LinearSearch { public static int linearSearch(int A[] ,int size , int key) { int index = 0; while (index < size) { if(A[index]== key) return index; index++; } return -1; } }
true
bd00ffcd9fdd72e2f06f21611d223616737c6847
Java
demodawid/aterrizar-k3052-05
/src/aterrizar/NivelVip.java
UTF-8
161
1.742188
2
[]
no_license
package aterrizar; public class NivelVip implements NivelImportancia { @Override public Boolean puedeVer(Asiento unAsiento) { return true; } }
true
a29c93ee004f9069d898159634b0c82de417be91
Java
carusooo/encrypted-camera
/src/main/java/com/andrewreitz/encryptedcamera/sharedpreference/SharedPreferenceService.java
UTF-8
1,149
2.046875
2
[ "Apache-2.0" ]
permissive
/* * Copyright (C) 2014 Andrew Reitz * * 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
d613300c32510699fb61ccc780ceb8ec2b01d4a9
Java
Cornutum/tcases
/tcases-lib/src/test/java/org/cornutum/tcases/util/CollectionUtilsTest.java
UTF-8
2,104
2.5
2
[ "MIT" ]
permissive
////////////////////////////////////////////////////////////////////////////// // // Copyright 2019, Cornutum Project // www.cornutum.org // ////////////////////////////////////////////////////////////////////////////// package org.cornutum.tcases.util; import static or...
true
b098956bfdcf5c5108a1449b1a14df5e6c080905
Java
Mashashi/javaroles
/JavaRoles/src/pt/mashashi/javaroles/register/ClassScheduler.java
UTF-8
1,020
2.71875
3
[ "MIT" ]
permissive
package pt.mashashi.javaroles.register; import java.util.Iterator; import java.util.LinkedList; import java.util.List; public class ClassScheduler { private List<ICmd> actual; private List<ICmd> next; private List<ICmd> finalize; public ClassScheduler(){ actual = new LinkedList<>(); next = new LinkedLi...
true
65e429db4e195ddc672ebf87d49c684ed37fda06
Java
JustLex/Selenium_lab
/src/main/src/main/java/Test.java
UTF-8
1,413
2.078125
2
[]
no_license
import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import tutby.actions.*; import tutby.bl.JobsAnalyzer; import java.util.ResourceBundle; import java.util.Stack; /** * Created by Aleksei on 19.11.14. */ public class Test { private ResourceBundle bundle = ResourceBundle.getB...
true
f25505c4aff5cd78666f448d9fab91d6a13b8f21
Java
RodexterMalinao/springBoard
/BomLtsPortal/src/com/bomltsportal/web/BasketDetailSlideController.java
UTF-8
6,316
1.84375
2
[]
no_license
package com.bomltsportal.web; import java.util.ArrayList; import java.util.List; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.lang.StringUtils; import org.apache.commons.logging.Log; import org.apache.com...
true
2fa7cbb01733029ae161ee8466a2b8e5e7ba8c51
Java
charygao/intellij-reference-diagram
/src/ch/docksnet/rgraph/method/ReferenceCount.java
UTF-8
1,538
2.234375
2
[ "Apache-2.0" ]
permissive
/* * Copyright (C) 2019 Stefan Zeller * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
true
ac9a82f0b00082f606e6a19cafe739948a7f352b
Java
rbaral/Coding-Challenge
/src/com/alg/practice/MyStackWithMinDemo.java
UTF-8
1,406
3.765625
4
[]
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.alg.practice; /** * implement stack with min() function * * @author rbaral */ public class MyStackWithMinDemo { p...
true
28c11d40e5c9c6bae6ac935704c22a10c74745a2
Java
newagroup/newRepository
/manage/manager_web/src/main/java/com/yzit/project/controller/EduWebsiteEhcacheController.java
UTF-8
3,230
1.945313
2
[]
no_license
package com.yzit.project.controller; import com.yzit.common.annotation.Log; import com.yzit.common.domain.AjaxResult; import com.yzit.common.domain.TableDataInfo; import com.yzit.common.enums.BusinessType; import com.yzit.project.entity.EduWebsiteEhcache; import com.yzit.project.service.EduWebsiteEhcacheService; impor...
true
9383b45e3ce3d5461e3ae1a4603e2c901b73c7ab
Java
alexandergalanki/GitJavaWork
/BC 4/Boot camp4/src/Term/Electricity.java
UTF-8
965
3.484375
3
[]
no_license
package Term; import java.util.Scanner; public class Electricity { private static Scanner sc; public static void main(String[] args) { int Units; double BillAmount,FinalAmount; sc = new Scanner(System.in); System.out.print("Please Enter the Units that you Consumed : ");//message for use...
true
88662dc2eda034f9670d5ab3af6ee6df2b418b0e
Java
wsjwoods/filink-project
/src/main/java/com/bigdata/windows/EventSessionWindows.java
UTF-8
2,719
2.65625
3
[]
no_license
package com.bigdata.windows; import org.apache.flink.api.java.tuple.Tuple3; import org.apache.flink.streaming.api.TimeCharacteristic; import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment; import org.apache.flink.streaming.api.functions.source.SourceFunction; import org.apache.flink.streaming.ap...
true
60b73ba12d0f3b0f980457dd06086e8395f1f8b0
Java
Programming-Metholodogy-II-Fa18/linking-assignment-NgaManCheng
/problem1/problemnumber1.java
UTF-8
1,697
3.46875
3
[]
no_license
public class problemnumber1 { public static void main(String[] args){ int sortArray []; //introduce array that need to test a given array of integers ... storage place for sorts integers problemnumber1 test = new problemnumber1(); int[] inputOfArrayNumbers = {7, -48, 89}; ...
true
97087124981bb88102eb6f6d653b80037ae29eaa
Java
ijoseruizlopez/entropy-pf
/producto/trunk/Entropy_Profesor/src/frontend/estadisticas/CeldaRespuestasHeaderRenderer.java
UTF-8
3,019
2.625
3
[]
no_license
package frontend.estadisticas; import frontend.auxiliares.LookAndFeelEntropy; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.util.Enumeration; import javax.swing.BorderFactory; import javax.swing.JLabel; import javax.swing.JTable; import javax.swing.UIManager; impor...
true
0d1f72d110b5c01bc6a2122412e035a304116608
Java
kientv80/vietpage_trunk
/vietpage_trunk/src/com/vnsoft/server/TomcatServer.java
UTF-8
1,036
2.1875
2
[]
no_license
package com.vnsoft.server; import javax.servlet.ServletException; import org.apache.catalina.LifecycleException; import org.apache.catalina.startup.Tomcat; import org.apache.log4j.Logger; import org.apache.log4j.PropertyConfigurator; import com.vnsoft.server.util.ConfigurationHelper; public class TomcatS...
true
a0289d0b6e36b275c15650cdf931c45db6ccafd5
Java
whiteolga48/androiddemo
/pollolokoretrofit/src/main/java/com/mariusapps/pollolokoretrofit/Adaptadores/ProductosListAdapter.java
UTF-8
1,915
2.375
2
[]
no_license
package com.mariusapps.pollolokoretrofit.Adaptadores; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import com.mariusapps.pollolokoretrofit.R; import com.mariusapps.pollol...
true
520293eab57e3e0b14fc0364860bb3f1732223f9
Java
bapadua/spring-io-guides
/Consuming a RESTful Web Service/consuming-rest/src/main/java/io/github/bapadua/consumingrest/ConsumingRestApplication.java
UTF-8
1,353
2.21875
2
[]
no_license
package io.github.bapadua.consumingrest; import io.github.bapadua.consumingrest.model.Quote; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication...
true
726c8790a60a6a17e4a8fe0b38cadb7319c967a6
Java
dengxiao0509/Smart-Grid
/IntelligentGrill/src/INF380/PolitiqueA1.java
UTF-8
2,041
2.6875
3
[]
no_license
package INF380; import java.util.ArrayList; import java.util.List; public class PolitiqueA1 extends PolitiqueA{ public PolitiqueA1(){ } /*public void addP(District d){ for(int i = 0;i<d.getHome().size();i++){ if((d.getHome().get(i).getP()-d.getHome().get(i).getC())>0){ this...
true
b00223e9b771dc9c4e115c489b6053bb4189bce7
Java
AntKuk/Netcraker-homeworks
/src/com/netcracker/third/Main.java
UTF-8
2,031
3.015625
3
[]
no_license
package com.netcracker.third; import com.netcracker.third.Sort; import java.util.Arrays; import java.util.Random; public class Main { public static void main(String[] args) { int n = 1000; Sort sort = new Sort(n); sort.bubbleSort(); sort.insertionSort(); sort.sort(); ...
true
6eb4f03449dc3cf722aa64215d69c28d34c6c67e
Java
kcromer93/CSC-1301
/forBeeb/SoloPractice.java
UTF-8
1,149
3.40625
3
[]
no_license
package forBeeb; // Kayla //Solo Practice: Explaining Primitives in Java public class SoloPractice { /* * */ //First four only cover whole numbers, but are in order by increasing size. //First start with byte. Byte is any integer from -128 to 127. //used for dealing with smaller numbers byte byte1 = 3; //Nex...
true
f0626ee7bf88c1f2b91fd20eff3c828ddd22d5d9
Java
gar13177/Hoja-de-Trabajo-4
/src/HojaDeTrabajo/BaseNodo.java
UTF-8
797
2.765625
3
[]
no_license
package HojaDeTrabajo; /* Vidal Villegas 131023 Kevin Garcia 13177 */ public class BaseNodo<T> implements Comparable{ protected T _valor; protected BaseNodo<T> _siguiente; protected NodoDoble<T> _anterior; public BaseNodo<T> getSiguiente() { return _siguiente; } public void s...
true
313646c11962fa532071276de6c3638760ee9be4
Java
wsgcya/coder
/src/main/java/com/wsgcya/coder/wechat/wechataccess/service/WechatApiService.java
UTF-8
2,249
1.804688
2
[]
no_license
package com.wsgcya.coder.wechat.wechataccess.service; import com.wsgcya.coder.common.pojo.WechatOauthInfo; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; public interface WechatApiService { /** * * @Title checkSignature * @Class WechatApiService * @retur...
true
ce69f252fc1b8fac2b0387f42f8ebcdaaf7ee19e
Java
bonn1112/CreditCardValid
/CreditCard.java
UTF-8
730
3
3
[]
no_license
package YosukeAkutsuPP02; public class CreditCard {//class private long number; private String expDate; public CreditCard(long number, String expDate){ this.number = number; this.expDate = expDate; } // add public setter/...
true
6db9a9ba6ae9e35214f59fccfa3402ed5a71c82a
Java
cuiods/HostelWorld
/src/main/java/edu/nju/util/enums/ReserveState.java
UTF-8
130
1.710938
2
[ "MIT" ]
permissive
package edu.nju.util.enums; /** * state of a reservation * @author cuihao */ public enum ReserveState { reserve,checkIn }
true
140caa0f4865dd17457de63f4c1917c8ac3202ea
Java
JavaQualitasCorpus/jrat-1-beta1
/trunk/source/core/java/org/shiftone/jrat/provider/tree/ui/hierarchy/nodes/PackageHierarchyNode.java
UTF-8
3,957
2.734375
3
[]
no_license
package org.shiftone.jrat.provider.tree.ui.hierarchy.nodes; import org.shiftone.jrat.provider.tree.ui.summary.MethodSummaryModel; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /** * @author jeff@shiftone.org (Jeff Drost) */ public class PackageHierarchyNode extends HierarchyNode { ...
true
7b1e6b0dce7ade5bec60e17bf398fb2125eaa9f3
Java
STEM-Alliance/RobotCode
/reuse/src/main/java/org/wfrobotics/reuse/config/ButtonFactory.java
UTF-8
5,252
2.765625
3
[ "MIT" ]
permissive
package org.wfrobotics.reuse.config; import org.wfrobotics.reuse.config.Xbox.AXIS; import edu.wpi.first.wpilibj.buttons.Button; import edu.wpi.first.wpilibj.command.Command; /** * Assigns {@link Command}s to run when {@link Button}s are pressed * @author STEM Alliance of Fargo Moorhead */ public abstract class Bu...
true
86949a957a6a92492105e6c386db629664c7e10c
Java
caseyrodgers/cm
/src/main/java/hotmath/gwt/cm_mobile3/client/view/PrescriptionLessonResourceResultsView.java
UTF-8
597
1.65625
2
[]
no_license
package hotmath.gwt.cm_mobile3.client.view; import hotmath.gwt.cm_mobile_shared.client.page.IPage; import hotmath.gwt.cm_tutor.client.view.ShowWorkPanel2; public interface PrescriptionLessonResourceResultsView extends IPage { void setPresenter(Presenter p); void setQuizResults(String title, String resultHtml,...
true
5e8ee8fc42ad689bfa5fded8280a5891deb039eb
Java
jaksonfact/Name_List_View
/app/src/main/java/com/example/name_list_view/MainActivity.java
UTF-8
1,288
2.625
3
[]
no_license
package com.example.name_list_view; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.Toast; import java.util.ArrayList; import static java....
true
471a017bf5bde293c10084692deed129b3f76bbe
Java
zk-api/nio-multicast
/src/main/java/com/github/zk/sync/Client.java
UTF-8
2,380
2.984375
3
[]
no_license
package com.github.zk.sync; import java.io.IOException; import java.net.*; import java.nio.ByteBuffer; import java.nio.channels.DatagramChannel; import java.util.Date; /** * @author zhaokai * @date 2019/11/24 下午12:59 */ public class Client { public static void main(String[] args) { String localHost = "...
true
4271ef86d76d73c0dbcf281a76ae59d5ea04097b
Java
jw6/TigerZone
/src/GameState/Tile.java
UTF-8
371
2.421875
2
[]
no_license
package GameState; public class Tile { //2d array 5x5 of tile attributes Feature[][] subGrid = new Feature[5][5]; private String name; private final boolean shield = false; private final int id = 0; public Tile() { this.name = "Not set"; } public Tile(String name) { this.name = name; } ...
true
6d10b1217c6ac97f91cc98b38db5b9e8c81ba521
Java
OCLC-Developer-Network/circill-toolkit
/service/base/src/test/java/org/oclc/circill/toolkit/service/base/BaseTestPropertyTypes.java
UTF-8
11,284
2
2
[ "MIT" ]
permissive
/* * Copyright (c) 2018 OCLC, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms of the MIT/X11 license. The text of the license can be * found at http://www.opensource.org/licenses/mit-license.php. */ package org.oclc.circill.toolkit.service.base; import static o...
true
08a9dba7b5dc41768c9fb64768211c67a05000e5
Java
bishabosha/CuppaJoe
/cuppajoe-immutable-collections/src/main/java/com/github/bishabosha/cuppajoe/collections/immutable/Bunch.java
UTF-8
2,237
3.140625
3
[ "MIT" ]
permissive
package com.github.bishabosha.cuppajoe.collections.immutable; import com.github.bishabosha.cuppajoe.annotation.NonNull; import java.util.Objects; import java.util.function.BiPredicate; import java.util.function.Predicate; public interface Bunch<E> extends Iterable<E> { default boolean contains(E obj) { ...
true
16c279e2848c07d71573f270b53125d265969368
Java
koalhou/Android
/servers/clwapi/src/main/java/com/neusoft/mid/clwapi/entity/coremsg/CoreMsgReqFunction.java
UTF-8
1,646
2.015625
2
[]
no_license
/** * @(#)CoreMsgReqFunction.java 2013-4-9 * * Copyright 2013 Neusoft Group Ltd. All rights reserved. * Neusoft PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package com.neusoft.mid.clwapi.entity.coremsg; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlE...
true
9b9703b888391b554c397b559f4b62d2353b6b72
Java
sourcelabs-nl/modularity-investigation
/src/main/java/nl/rabobank/c4/cleanexample/mortgage/domain/Income.java
UTF-8
272
1.6875
2
[]
no_license
package nl.rabobank.c4.cleanexample.mortgage.domain; import lombok.AllArgsConstructor; import lombok.Getter; @Getter @AllArgsConstructor public class Income { private int amount; private VakantieGeld vakantieGeld; private BonusRegelingen bonusRegelingen; }
true
7df2617d8d6a2eb9a824c055446c2c9491c41b42
Java
mschrimpf/Secure-Multiuser-Network-System
/src/nz/ac/aut/hss/network/mail/MailAuthenticator.java
UTF-8
1,501
2.796875
3
[]
no_license
package nz.ac.aut.hss.network.mail; import javax.mail.Authenticator; import javax.mail.PasswordAuthentication; /** * @author Martin Schrimpf * @created 18.07.2014 */ public class MailAuthenticator extends Authenticator { private final String username; private final String password; public MailAuthenticator(Str...
true
6bb7cf62fe83a7718d7921b45472b616a3a0e329
Java
liutaoyxz/yxzmq-parent
/yxzmq-broker/src/main/java/com/liutaoyxz/yxzmq/broker/messagehandler/YxzMessageHandler.java
UTF-8
7,567
2.21875
2
[]
no_license
package com.liutaoyxz.yxzmq.broker.messagehandler; import com.liutaoyxz.yxzmq.broker.Client; import com.liutaoyxz.yxzmq.broker.Group; import com.liutaoyxz.yxzmq.broker.storage.MessageContainer; import com.liutaoyxz.yxzmq.common.util.ProtostuffUtil; import com.liutaoyxz.yxzmq.io.protocol.MessageDesc; import com.liutaoy...
true
c54747e5c9234a1f66bc8092e0512da12534161c
Java
seepure/kudu-client-java
/src/main/java/org/seepure/kudu/client/KuduManualFlushWriter.java
UTF-8
4,332
2.421875
2
[]
no_license
package org.seepure.kudu.client; import static org.seepure.kudu.client.KuduConfConst.FLUSH_INTERVAL; import java.util.Comparator; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.concurrent.TimeUnit; import org.apache.commons.collections4.CollectionUtils; import org.apache.ku...
true
b036057731302d4ba942cb982f0e736187ec24f0
Java
saxenasachin/Dynamic-Android-Form
/src/main/java/com/github/jarvis/controllers/BaseLineController.java
UTF-8
6,487
2.46875
2
[ "Apache-2.0" ]
permissive
package com.github.jarvis.controllers; import android.annotation.SuppressLint; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.widget.FrameLayout; import com.github.jarvis.FormElementController; import com.github.jarvis.dynamicformbuilder.R; import com.gith...
true
dacab3cc6fe919c51535f8451d91d024dce67feb
Java
darren-fu/lab
/src/jdk8/thread/future/TestCompletableFuture.java
UTF-8
25,431
3.15625
3
[]
no_license
package jdk8.thread.future; import org.junit.Test; import java.util.Arrays; import java.util.List; import java.util.concurrent.*; import java.util.function.Function; import java.util.stream.Collectors; /** * 说明: * <p/> * Copyright: Copyright (c) * <p/> * Company: * <p/> * * @author darrenfu * @version 1.0.0...
true
0399083700813671fe6efc14a7ffdcd897369dc9
Java
wilybear/SmartShopping
/app/src/main/java/com/example/smartshopping/model/Beacon.java
UTF-8
2,052
2.890625
3
[]
no_license
package com.example.smartshopping.model; import java.util.ArrayList; import java.util.UUID; public class Beacon implements Comparable<Beacon> { private UUID uuid; private double rssi; private int major; private int minor; private String name; private double max_rssi; private double min_rss...
true
e04e08ff4493179216e3be8562ac0b0edd2cfe3e
Java
cshekhars/reactjs-demo
/flight-details/src/main/java/com/example/demo/FlightsController.java
UTF-8
777
2.5
2
[]
no_license
package com.example.demo; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class FlightsController { @GetMapping("/flig...
true
f9c0300ceadccc25c0deb626a36893737562a369
Java
santiagovelez999/Gym
/microservicio/dominio/src/main/java/com/ceiba/suscripcion/modelo/entidad/Suscripcion.java
UTF-8
2,855
2.46875
2
[ "Apache-2.0" ]
permissive
package com.ceiba.suscripcion.modelo.entidad; import lombok.Getter; import java.math.BigDecimal; import java.time.LocalDateTime; import static com.ceiba.dominio.ValidadorArgumento.validarObligatorio; import static com.ceiba.suscripcion.ValidadorEntidad.validarTipoSuscripcion; import static com.ceiba.suscripcion.Vali...
true
88f3ad47cd5c7e553cfbaa149b4a5157eca57e80
Java
TOMcyber/TomJavaWorkSchule2018
/JavaDerGrundkurs/beispiele/loesungen-kap16-find-java/FindJava.java
UTF-8
2,043
3.09375
3
[]
no_license
import java.io.IOException; import java.nio.file.DirectoryStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; public class FindJava { public static void main(String[] args) { // Startverzeichnis = Home-Verzeichnis String current = System.getProperty("user.home"); ...
true
9b3bdebf263657c202a71f3de3ec241e07376f01
Java
nguyenthanhhong/jasper-report
/src/main/java/com/nth/jasperreport/controller/ReportController.java
UTF-8
1,021
2.234375
2
[ "MIT" ]
permissive
package com.nth.jasperreport.controller; import com.nth.jasperreport.report.ReportType; import com.nth.jasperreport.service.ReportService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web...
true
d33d58062c7bac5669b95ab3df272e4acd1be51a
Java
manishas/dstack
/code/iaas/api-logic/src/main/java/io/github/ibuildthecloud/dstack/iaas/api/object/postinit/AccountFieldPostInitHandler.java
UTF-8
1,353
1.921875
2
[ "Apache-2.0" ]
permissive
package io.github.ibuildthecloud.dstack.iaas.api.object.postinit; import io.github.ibuildthecloud.dstack.api.auth.Policy; import io.github.ibuildthecloud.dstack.api.utils.ApiUtils; import io.github.ibuildthecloud.dstack.core.constants.AccountConstants; import io.github.ibuildthecloud.dstack.object.meta.ObjectMetaDataM...
true
c3b4b9b2ce020a4f799950ec909f27a1908c4559
Java
Eng-ShahinazMoamon/Complaints-VMay
/app/src/main/java/com/example/shahi/citizenscomplaints/UserDetails.java
UTF-8
3,435
1.96875
2
[]
no_license
package com.example.shahi.citizenscomplaints; import android.content.Intent; import android.net.Uri; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView; import com.google.fir...
true
2ae430091beb81ca646286f5124087a453c3f710
Java
WeRockStar/Grokking-Reactive-User-Interfaces
/chapter7/TicTacToe/app/src/main/java/com/tehmou/tictactoe/GameStateView.java
UTF-8
636
2.84375
3
[]
no_license
package com.tehmou.tictactoe; import android.content.Context; import android.util.AttributeSet; import android.widget.TextView; public class GameStateView extends TextView { public GameStateView(Context context) { super(context); } public GameStateView(Context context, AttributeSet attrs) { ...
true
7feb86c91a966041ba675185c0f3859dad9d643c
Java
burberius/eve-esi
/src/main/java/net/troja/eve/esi/model/AllianceContactsResponse.java
UTF-8
7,144
1.914063
2
[ "Apache-2.0" ]
permissive
/* * EVE Swagger Interface * An OpenAPI for EVE Online * * The version of the OpenAPI document: 1.17 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package net.troja.eve.esi.model; import ...
true
ef2d13aaa0d661165bd1f3e47379e81cda4f957c
Java
dlstjs8246/java_study_01
/src/kr/or/yi/java_study_01/ch04/Ch04Main02.java
UHC
1,761
3.4375
3
[]
no_license
package kr.or.yi.java_study_01.ch04; import java.util.Arrays; public class Ch04Main02 { public static void main(String[] args) { // circle(); arrayPassingEX(); methodSample(); } private static void methodSample() { MethodSample m = new MethodSample(); int i = m.getSum(1, 2); int j = m.ge...
true
dc68aa8f10af5275861f41cf256e6ae224e61743
Java
shuchuan999/wechat-mp-tools
/src/main/java/wechat/core/token/RefreshTokenJob.java
UTF-8
387
1.828125
2
[]
no_license
package wechat.core.token; import org.quartz.Job; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; import wechat.core.config.WeChatContext; public class RefreshTokenJob implements Job { @Override public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionEx...
true
92d9cec0f15b14edc8c1cec345770247c3232a3e
Java
TripleTeam/best-fintech-app-ever
/app/src/main/java/com/aiaiai/bestfintechappever/fragment/FourthFragment.java
UTF-8
4,291
2.203125
2
[]
no_license
package com.aiaiai.bestfintechappever.fragment; import android.content.Context; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import...
true
33eb779a2cbf54671d2e9fa44b05f863298bf152
Java
dstl/baleen
/baleen-core/src/main/java/uk/gov/dstl/baleen/exceptions/MissingParameterException.java
UTF-8
941
2.78125
3
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-public-domain", "PDDL-1.0", "ODbL-1.0", "LicenseRef-scancode-dbcl-1.0" ]
permissive
// Dstl (c) Crown Copyright 2017 package uk.gov.dstl.baleen.exceptions; /** * Exception thrown when Baleen is missing a required parameter. In general, code should assume a * sensible default rather than throwing this exception. */ public class MissingParameterException extends BaleenException { private static fi...
true
f541ce6db1d01e1c30f6498d2c8f33316ca6cdfe
Java
DamSaulGoodMan/rpn-skeleton
/src/main/java/rpn/consumer/ExceptionConsumer.java
UTF-8
575
2.625
3
[]
no_license
package rpn.consumer; import rpn.message.ExceptionsMessage; import rpn.message.Message; public class ExceptionConsumer implements Consumer { @Override public void receive(Message message) { ExceptionsMessage exceptionsMessage = (ExceptionsMessage) message; System.err.println("Exception retri...
true
b0f589bef42be76949a6c2d25be3d0fbc242264b
Java
SaphireLattice/Shocky
/src/modules/java/ModuleFactoidLister.java
UTF-8
5,126
2.1875
2
[]
no_license
import com.sun.net.httpserver.Headers; import com.sun.net.httpserver.HttpExchange; import com.sun.net.httpserver.HttpHandler; import pl.shockah.shocky.Module; import pl.shockah.shocky.cmds.Command; import pl.shockah.shocky.cmds.CommandCallback; import pl.shockah.shocky.cmds.Parameters; import pl.shockah.shocky.interfac...
true