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
20ed6c6bf26be3b294da0609d5ef526d2671e6f5
Java
FreeAndFair/evoting-systems
/EVTs/EML Voting Project/connecticutVotingDemo/src/java/util/BallotDaoHandler.java
UTF-8
2,821
2.328125
2
[]
no_license
package util; import java.io.PrintStream; import java.util.HashMap; import org.xml.sax.Attributes; import org.xml.sax.SAXException; import org.xml.sax.helpers.DefaultHandler; public class BallotDaoHandler extends DefaultHandler { private HashMap daoObjects; private StringBuffer buffer; privat...
true
4368ade312620f9474a50e70edd7f7c1943f0cd8
Java
karamanmehmet/Spring-App-ProjectManagement
/SpringMVC-ProjectManagement/src/main/java/com/cybertek/entity/BaseEntity.java
UTF-8
1,842
2.484375
2
[]
no_license
package com.cybertek.entity; import java.time.LocalDateTime; public class BaseEntity { private long id; private LocalDateTime insertDateTime; private long insertUserId; private LocalDateTime lastUpdateDateTime; private long lastUpdateUserId; public long getId() { return id; } public void setId(long id) {...
true
afbf5c748da91d98a58d5559211e996cc85556f3
Java
Suresh918/mySpringbootMicroServices
/MYCHANGE/java/mychange-configuration-service/src/main/java/com/example/mirai/mychange/services/configuration/form/models/Help.java
UTF-8
389
1.867188
2
[]
no_license
package com.example.mirai.projectname.services.configuration.form.models; import java.io.Serializable; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor public class Help implements Serializable { private String title; private Strin...
true
bbc0890c5849e2edf591a6200e5414c19a852298
Java
veereshkamble/Software-Engineer-Interview-Preparation
/Leetcode/src/ArraysAndStrings/TwoSumII.java
UTF-8
1,116
3.96875
4
[]
no_license
package ArraysAndStrings; public class TwoSumII { public int[] twoSum(int[] numbers, int target) { int index1 = 0, index2 = numbers.length - 1; int[] index = new int[2]; if(numbers == null || numbers.length < 2) return index; while(index1 < index2) { if(numbers[index1...
true
957caf669c59b10ce26f7f26a5210023dbe794b2
Java
jonmid/ContactosBaseDeDatos
/app/src/main/java/com/example/jonmid/contactosbasededatos/Utilities/Constants.java
UTF-8
1,387
2.140625
2
[]
no_license
package com.example.jonmid.contactosbasededatos.Utilities; /** * Created by jonmid on 26/10/17. */ public class Constants { public static final String TABLA_NAME_USERS = "users"; public static final String TABLA_FIELD_ID = "id"; public static final String TABLA_FIELD_NAME = "name"; public static fin...
true
3bc9ef550e053289589cdbd4d05506d6bd1a6090
Java
ComradePovar/Auctioneer
/src/main/java/edu/core/java/auction/vo/LotValueObject.java
UTF-8
1,171
2.8125
3
[]
no_license
package edu.core.java.auction.vo; import java.util.Date; /** * Created by Maxim on 19.02.2017. */ public class LotValueObject extends ValueObject { public double currentPrice; public Date endDate; public Long productId; public LotValueObject() { } public LotValueObject(Long id, Date endDa...
true
51963bc383d1eada4f3b7ed99fc38d7f90ac8199
Java
sansan1611/inventory_management
/src/main/java/com/hanu/ims/exception/InitializationException.java
UTF-8
264
1.804688
2
[]
no_license
package com.hanu.ims.exception; public class InitializationException extends RuntimeException { /** * */ private static final long serialVersionUID = 1L; public InitializationException() { super("InitializationException"); } }
true
a92afcf5e2844bc2f2a5dad9e7db58efeb272fad
Java
rchan41/ScheduleSharp
/src/java/JavaCode/admin/DeleteSchool.java
UTF-8
6,787
2.65625
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 JavaCode.admin; import static JavaCode.admin.AddSchool.initLog; import java.io.IOException; import java.io.PrintWriter; import...
true
4fdb9440c809d9b1825d7b2de048fe5435dfc446
Java
KINGDOMQUEEN/Syntax
/src/dart/Dart.java
UTF-8
4,556
2.5625
3
[]
no_license
package dart; import java.util.Set; import syntax.FourUnit; import syntax.Syntax; public class Dart { /** * @param args */ VarTable[] varTable; int currentVar; Syntax s; int nextquad; int start; int end; Dart(){ try{ varTable = new VarTable[100]; this.currentVar = 0; this.nextquad = 0; ...
true
fd830b587f9ef44a0f5fc7eea7b03af9b2373730
Java
showTimeFoYour/journey
/journey-manager/journey-manager-web/src/main/java/com/journey/abc/web/ImportHotelMessage.java
UTF-8
984
1.929688
2
[]
no_license
package com.journey.abc.web; import com.journey.abc.dto.MessageResult; import com.journey.abc.service.SearchHotelService; import org.apache.solr.client.solrj.SolrServerException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework....
true
802d8006307d6c24cc0ac17e96c39235050da131
Java
Enegra/OWL
/app/src/main/java/com/app/agnie/owl/Fragments/LessonDetailFragment.java
UTF-8
2,685
2.265625
2
[]
no_license
package com.app.agnie.owl.Fragments; import android.annotation.TargetApi; import android.os.Build; 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.w...
true
f54e230b5b1114931aa801694179410aebd5d56c
Java
zyoo5/LogisticsTraffic
/weixinpay/src/main/java/com/bt/zhangzy/logisticstraffic/d/pay/WXRequest.java
UTF-8
1,083
1.867188
2
[]
no_license
package com.bt.zhangzy.logisticstraffic.d.pay; import com.zhangzy.base.http.BaseEntity; /** * Created by ZhangZy on 2016-3-30. */ public class WXRequest extends BaseEntity { String title, detail, // orderId,//返回的订单号包含yyyyMMdd前缀 // totalFee,//价格 单位:分 from;//发送订单的手机的ip地址 ...
true
7984f3a64ceabd61a2a250e228b0bd65f9eb6702
Java
thomqq/SpellingWebApp
/src/tq/spelling/web/resources/ResourcesMapper.java
UTF-8
368
2.390625
2
[]
no_license
package tq.spelling.web.resources; import java.util.HashMap; public class ResourcesMapper { private HashMap< String, String > resourcesKeyToPath = new HashMap<>(); public void registerPath(String key, String path) { resourcesKeyToPath.put(key, path); } public String getPath(String key) { ...
true
3e85e3d7426d2d3a67a2a58dda995964f3cb070b
Java
josh-newman/stratosim
/stratosim/src/main/java/com/stratosim/shared/model/circuit/Port.java
UTF-8
230
1.867188
2
[]
no_license
package com.stratosim.shared.model.circuit; import com.google.common.collect.ImmutableSet; import com.stratosim.shared.model.drawing.Hidable; public interface Port extends Hidable { ImmutableSet<Port> getConnectedPorts(); }
true
b53a3d70652f8d170bacd8bd246afb39c20fbec4
Java
yhpeng19/Trivia-Game
/VB_3/VB_3/FrontEnd/app/src/main/java/vb_3/trivial/player/Friend_item_Activity.java
UTF-8
372
1.578125
2
[]
no_license
package vb_3.trivial.player; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import vb_3.trivial.R; public class Friend_item_Activity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setC...
true
4d4ae2d9f1e8e337a3a79ea9148b385b62e64fac
Java
soa4java/shopping
/src/main/java/com/guogod/shopping/rest/model/RetrievalResponse.java
UTF-8
7,112
2.203125
2
[]
no_license
package com.guogod.shopping.rest.model; /** * Created by shijunbo on 2015/7/15. */ import java.io.IOException; import java.util.Date; import java.util.HashMap; import java.util.Map; import com.fasterxml.aalto.stax.InputFactoryImpl; import com.fasterxml.jackson.dataformat.xml.XmlFactory; import com.faste...
true
48fe83b177768fa945a9c215a9a09a852e8fa6f1
Java
vipulgarg192/ShareSmilesAndroid
/app/src/main/java/com/cipher/sharesmilesandroid/ui/BottomSheetFragment.java
UTF-8
2,347
1.96875
2
[]
no_license
package com.cipher.sharesmilesandroid.ui; import android.app.Dialog; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import androidx.annotation.NonNull; import androidx.coordinatorlayout.widge...
true
6bac4b60ea108ac46f0021014924a299a2f7fec3
Java
myaccount-club/beacon-chain-java
/crypto/src/main/java/org/ethereum/beacon/crypto/bls/milagro/MilagroMessageMapper.java
UTF-8
1,866
2.453125
2
[ "Apache-2.0" ]
permissive
package org.ethereum.beacon.crypto.bls.milagro; import org.apache.milagro.amcl.BLS381.BIG; import org.apache.milagro.amcl.BLS381.ECP2; import org.apache.milagro.amcl.BLS381.FP2; import org.ethereum.beacon.crypto.Hashes; import org.ethereum.beacon.crypto.MessageParameters; import org.ethereum.beacon.crypto.MessageParam...
true
690171308306154b0c9c75cf60c7e76f2dabf166
Java
vanishiment/ToyApp
/app/src/main/java/com/plant/toyapp/lego/ILego.java
UTF-8
563
2.125
2
[]
no_license
package com.plant.toyapp.lego; /** * lego 渲染流程 init--->getData--->processData--->render--->bindEvent--->report */ public interface ILego { /** * 事件绑定器,设置一切 setOnXXXListener */ void getEvent(); /** * 数据拉取 */ void getData(); /** * View 的初始化,只执行一次 */ void initView(); /** * 该 lego ...
true
1db16b5ead3b65c4cb2ad63540553bf683e72b11
Java
jcsahnwaldt/util-io
/src/main/java/jcsahnwaldt/util/io/basic/binary/BinaryHandlers.java
UTF-8
352
1.734375
2
[]
no_license
package jcsahnwaldt.util.io.basic.binary; import jcsahnwaldt.util.io.basic.BasicHandlers; public class BinaryHandlers extends BasicHandlers { public BinaryHandlers() { super( new BinaryTagHandler(), new BinaryIntHandler(), new BinaryStringHandler(), new BinaryByteIdHandler(), new B...
true
7aed33c86e9bf1924cbea367c866a34a79d44d45
Java
prasadvsundar/PCodeBase
/Utilities/src/main/java/com/nanobi/drill/Test.java
UTF-8
1,976
2.1875
2
[]
no_license
package com.nanobi.drill; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import org.apache.drill.jdbc.DrillConnection; import org.apache.drill.jdbc.Driver; public class Test { /* public static void main(String[] args) ...
true
39e56bd22ca8092fa4dc61c1d65b1916a063e130
Java
yranibee/exercise
/tile/domain/src/main/java/com/exercise/tarmag/service/AppMenuService.java
UTF-8
8,296
2.0625
2
[]
no_license
package com.dt.tarmag.service; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.dt.tarmag.dao.IAppMenuDao; import com.dt.tarmag.dao.IAppMenuResidentDao; import com.dt.tarma...
true
ed0b0adb47b4ce8d1d52b1917a871725cca7d6dd
Java
enekofb/price-calculator
/src/main/java/org/eneko/prices/PriceRepository.java
UTF-8
452
1.648438
2
[]
no_license
package org.eneko.prices; import org.springframework.data.elasticsearch.repository.ElasticsearchRepository; import org.springframework.stereotype.Repository; import java.util.Map; /** * Created by eneko on 21/06/17. */ @Repository public interface PriceRepository extends ElasticsearchRepository<ProductPrice, Strin...
true
495149c7903a40f8a9ce1799477a613b7a590ac7
Java
winday0215/FBinterview
/mineSweeper.java
UTF-8
1,950
3.453125
3
[]
no_license
import java.io.*; import java.util.*; /* * To execute Java, please define "static void main" on a class * named Solution. * * If you need more classes, simply define them inline. */ class Solution { public static char[][] generateMineSweeper(int r, int c, int mines) { int minesPlaced = 0; Random rand =...
true
67e91ccee2aa7801041f3bb0c007c737104fd6a8
Java
danieldotinc/design-patterns
/Design Patterns - Part 1/Exercises/src/com/codewithmosh/state/course/IconType.java
UTF-8
102
1.671875
2
[]
no_license
package com.codewithmosh.state.course; public enum IconType { SELECTION, BRUSH, ERASER }
true
0a5fc658edae9a27480310cc0d4a0610d0793b8d
Java
UnopposedQuill/II-Proyecto-Lenguajes
/Recipes/app/src/main/java/model/Receta.java
UTF-8
1,826
2.984375
3
[]
no_license
package model; import android.net.Uri; import java.net.URI; import java.util.ArrayList; public class Receta { private String nombre; private String tipo; private ArrayList<String> ingredientes; private ArrayList<String> instrucciones; private ArrayList<Uri> imagenes; public Receta(String no...
true
ec861a2558ea6bd420dcdb4b331ed7bfe0877c09
Java
hjkimxoxo/gradle_spring_webmvc_study
/src/main/java/gradle_spring_webmvc_study/exception/WrongIdPasswordException.java
UTF-8
230
1.773438
2
[]
no_license
package gradle_spring_webmvc_study.exception; public class WrongIdPasswordException extends RuntimeException { public WrongIdPasswordException(String message) { super(message); // TODO Auto-generated constructor stub } }
true
51ab4f44653034242a4ece4046195fe9c5dbea62
Java
deepvn98/Module4_week2_Repository_customer_Province
/src/main/java/model/CustomerFile.java
UTF-8
1,226
2.28125
2
[]
no_license
package model; import org.springframework.web.multipart.MultipartFile; public class CustomerFile { private Long id; private String name; private Province province; private MultipartFile img; public CustomerFile() { } public CustomerFile(String name) { this.name = name; } ...
true
728e71f89cc286c0d84eb3ba3e92df024801d237
Java
philipzhang86/CS61B_18
/proj2/byog/lab5/Room_Demo.java
UTF-8
3,305
3.171875
3
[]
no_license
/* package byog.lab5; import byog.TileEngine.TERenderer; import byog.TileEngine.TETile; import byog.TileEngine.Tileset; import javax.swing.text.Position; import java.util.HashSet; import java.util.Random; public class Room_Demo { private static final int WIDTH = 120; private static final int HEIGHT = 60; ...
true
68988a74255b4e856f5d73b4956e86ece9e3bb34
Java
wkdgudcjf/WithSchedule
/wis/src/socket/AddScheduleServerSocketHandler.java
UTF-8
3,009
2.828125
3
[]
no_license
package socket; import java.io.IOException; import java.net.ServerSocket; import java.util.GregorianCalendar; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import org.json.simple.parser.ParseException; import dto.ScheduleInfo; import management.Schedu...
true
c313270e5bc885fe75e64bb9f77af26d1dbab4c8
Java
295286769/yiqijinew
/app/src/main/java/com/yiqiji/money/modules/book/detailinfo/view/BookBillHeadView.java
UTF-8
5,970
1.914063
2
[]
no_license
package com.yiqiji.money.modules.book.detailinfo.view; import android.content.Context; import android.support.annotation.Nullable; import android.util.AttributeSet; import android.util.TypedValue; import android.view.View; import android.widget.CheckBox; import android.widget.CompoundButton; import android.widget.Imag...
true
725a43bff1a97923790415ab1109bfc99ac180fc
Java
quehanwei/jhipster-online
/src/main/java/io/github/jhipster/online/service/GithubService.java
UTF-8
7,864
2.03125
2
[ "Apache-2.0" ]
permissive
/** * Copyright 2017-2018 the original author or authors from the JHipster Online project. * * This file is part of the JHipster Online project, see https://github.com/jhipster/jhipster-online * for more information. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file ...
true
6ab11790b002fce0ea0945fb7f02dfe7b7eead8a
Java
VERRibeiro/PD
/nfs_rmi/src/main/java/nfs/FilesUtilIF.java
UTF-8
536
2.203125
2
[]
no_license
package nfs; import java.io.IOException; import java.rmi.Remote; import java.rmi.RemoteException; public interface FilesUtilIF extends Remote{ public boolean exists() throws RemoteException ; public void createFile(String fileName) throws RemoteException ; public void deleteFile(String fileName) throws RemoteExc...
true
49527987afb00e380ac0444280e80f640f948aba
Java
AlekseyKozlov/Labyrinth-of-fortune-tritpo-
/Клиент/model/Car.java
UTF-8
10,302
2.6875
3
[]
no_license
package model; import java.awt.Graphics; import java.awt.Image; import java.awt.Toolkit; import java.awt.event.KeyEvent; import java.io.IOException; import java.util.StringTokenizer; import javax.sound.sampled.LineUnavailableException; import javax.sound.sampled.UnsupportedAudioFileException; public class Car { C...
true
d12137d84d7cdb8fd4545f75d0b8097842102ec1
Java
cozos/emrfs-hadoop
/com/amazon/ws/emr/hadoop/fs/shaded/com/google/protobuf/GeneratedMessageLite$Builder.java
UTF-8
962
1.859375
2
[]
no_license
package com.amazon.ws.emr.hadoop.fs.shaded.com.google.protobuf; import java.io.IOException; public abstract class GeneratedMessageLite$Builder<MessageType extends GeneratedMessageLite, BuilderType extends Builder> extends AbstractMessageLite.Builder<BuilderType> { public BuilderType clear() { return this; ...
true
a9a01b47269e8a4a0ebe9ca06fcf041228d35740
Java
vberegov/blackduck-common
/src/main/java/com/synopsys/integration/blackduck/codelocation/bdio2legacy/Bdio2UploadCodeLocationCreationRequest.java
UTF-8
1,233
1.71875
2
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
/* * blackduck-common * * Copyright (c) 2021 Synopsys, Inc. * * Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide. */ package com.synopsys.integration.blackduck.codelocation.bdio2legacy; import com.synopsys.integration.black...
true
6e5b8a87bb44653cf8aa539957d52e99874edbe6
Java
Krishnaa-M/guvi
/Natural.java
UTF-8
328
2.796875
3
[]
no_license
import java.io.*; public class Natural { public static void main(String [] args) throws IOException{ BufferedReader a=new BufferedReader(new InputStreamReader(System.in)); int i,sum=0; Integer b=Integer.parseInt(a.readLine()); for( i=0;i<=b;i++) { sum=sum+i; } System.out.println(sum)...
true
41215313377ef61987bc55777011b23a35f89871
Java
leodevel/telegram-notifications
/src/br/com/marino/monitorar/enums/Tipo.java
UTF-8
124
1.804688
2
[]
no_license
package br.com.marino.monitorar.enums; public enum Tipo { MAIOR, MAIOR_OU_IGUAL, MENOR, MENOR_OU_IGUAL, IGUAL; }
true
d8db524ccfd299a570ed5a56814659d5941f1815
Java
wangqingxian/springBoot
/action-root/action-bll/src/main/java/cn/gyyx/action/bll/wechat/MappingBLL.java
UTF-8
600
1.8125
2
[]
no_license
/************************************************* Copyright ©, 2015, GY Game Author: 范永良 Created: 2015年-12月-23日 Note:自定义参数映射业务逻辑 ************************************************/ package cn.gyyx.action.bll.wechat; import cn.gyyx.action.beans.wechat.MappingBean; import cn.gyyx.action.dao.we...
true
2b9d59b8e66844d9e90bdfc7bd9798a970768697
Java
javaobjects/demo514_1
/src/super关键字/Test.java
UTF-8
260
2.265625
2
[]
no_license
package super关键字; public class Test { public static void main(String[] args) { //实例化Consumer,并给username属性赋值 Consumer c = new Consumer("zhangsan"); // c.setUsername("zhangsan"); System.out.println(c.getUsername()); } }
true
c8d98966e7c46ed7921b51d362b822214c6868b6
Java
snupy/myApp3
/src/main/java/ru/malik/myApp3/server/repos/simple/GenericDaoHibernateImpl.java
UTF-8
3,456
2.375
2
[]
no_license
package ru.malik.myApp3.server.repos.simple; import com.sencha.gxt.data.shared.SortDir; import com.sencha.gxt.data.shared.SortInfo; import com.sencha.gxt.data.shared.loader.FilterConfig; import org.hibernate.Criteria; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.SessionFactory; import...
true
573b800229bcfad689bb4508da343e7384fdfe80
Java
YusukeIwaki/imakara-android
/app/src/main/java/io/github/yusukeiwaki/imakara/entrypoint/EntryPointActivity.java
UTF-8
2,160
2.03125
2
[]
no_license
package io.github.yusukeiwaki.imakara.entrypoint; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.text.TextUtils; import java.util.regex.Matcher; import java.util.regex.Pattern; import io.github.yusukeiwaki.i...
true
6dbbc69023443582a61aa8b68e77fb81afba4982
Java
daxingyou/dzs_server
/src/main/java/com/mdy/dzs/game/domain/calcattack/CalcRoleCard.java
UTF-8
5,215
2.40625
2
[]
no_license
package com.mdy.dzs.game.domain.calcattack; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import com.mdy.dzs.data.domain.card.Card; import com.mdy.dzs.data.domain.road.RoadCardLevel; import com.mdy.dz...
true
58834b0af243c7e0fb1b18c8a539883b4d80b315
Java
YonatanWN/PresidentialVotingMinecraftPlugin
/src/com/yonatanwn/presidentialvoting/Candidate.java
UTF-8
1,043
2.859375
3
[]
no_license
package com.yonatanwn.presidentialvoting; import org.bukkit.OfflinePlayer; import org.bukkit.entity.Player; import java.util.ArrayList; import java.util.List; import java.util.UUID; public class Candidate { private OfflinePlayer player; private List<OfflinePlayer> votes; public Candidate(OfflinePlayer ...
true
8f615c819ab30dc685d119b6a7ba5fd38482d540
Java
VuAnhtu95/Module2
/doituonghinhhoc/Run.java
UTF-8
605
3.359375
3
[]
no_license
package doituonghinhhoc; public class Run { public static void main(String[] args) { Circle[] circles = new Circle[3]; circles[0] = new Circle(3.6); circles[1] = new Circle(3); circles[2] = new Circle(3.5); System.out.println("Trước khi tăng :"); for (Circle circle :...
true
31ae7cc2c8e8821e06d029a273a1909d9ddbcba3
Java
AndreXXXXX/2048
/Board.java
UTF-8
10,158
3.890625
4
[]
no_license
import java.util.Random; public class Board { private int[][] board; // holds state of game private Random rnd = new Random(0); // setup random # generator private int tilesOccupied = 0; private int numOpenSpaces = 16; private boolean change = false; /* default constructor for board */ // constructors must...
true
0492ec0de56a92b1cd34dc86877f607ce2c80dbc
Java
bakanui/Wallet
/app/src/main/java/com/vct/wallet/ui/BaseActivity.java
UTF-8
1,755
2.015625
2
[ "MIT" ]
permissive
package com.vct.wallet.ui; import android.content.Intent; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.View; import com.vct.wallet.R; import com.vct.wallet.inter...
true
f11a1ca0ba08b88f20440ae06ab89cd7d820b22d
Java
Andreas237/AndroidPolicyAutomation
/ExtractedJars/Health_com.huawei.health/javafiles/com/google/protobuf/DescriptorProtos$UninterpretedOption$Builder.java
UTF-8
94,877
1.703125
2
[ "MIT" ]
permissive
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.google.protobuf; import java.io.IOException; import java.util.*; // Referenced classes of package com.google.protobuf: // DescriptorProtos,...
true
199508be2b009728681a568167cece41b638a2ae
Java
dsanmartins/PhdProject
/br.ufscar.sas.rmas/src/rMSAS/codeModel/impl/CodeModelPackageImpl.java
UTF-8
13,424
1.632813
2
[ "Apache-2.0" ]
permissive
/** */ package rMSAS.codeModel.impl; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.impl.EPackageImpl; import org.eclipse.modisco.omg.kdm.action.ActionPackage; import org.ecli...
true
c4dee2a2d53335402cb559521dfc2988d9d7840b
Java
HFAKHFAKH/Projet-Test
/Serveur/projetTest/src/main/java/com/example/societe/SocieteRepository.java
UTF-8
232
1.539063
2
[]
no_license
package com.example.societe; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface SocieteRepository extends JpaRepository<Societe, Long> { }
true
a0f2f9ff2927b1409d9cf9945109cf7b568fbb8b
Java
kamaleshraj/Selenium_prgms
/Dynamicpath_Practise.java
UTF-8
831
2.28125
2
[]
no_license
package com.selenium.basic; import java.util.ArrayList; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; public class Dynamicpath_Practise { public static void main(String[] args) { ...
true
1c73c261018783595586dbefea314b0dc514ed2a
Java
njdub/java-ee-integration-tests
/src/main/java/controller/HomeFilter.java
UTF-8
967
2.015625
2
[]
no_license
package controller; import javax.resource.spi.SecurityPermission; import javax.servlet.*; import javax.servlet.annotation.WebFilter; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; /** * Created on 12-May-16. * * @author Nazar Dub */ //@WebF...
true
67588fc40b49fd095e48f7bd1cb0ebd20c2e22e4
Java
dvien/Weixin_Server
/src/main/java/com/whayer/wx/test/spring/SpringResource.java
UTF-8
988
2.125
2
[]
no_license
package com.whayer.wx.test.spring; import java.io.IOException; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.core.io.Resource; public class SpringResource implements Applic...
true
cc5a0f7e2f40cea31cb295857c7df1c838a8aa02
Java
hobao2112/GoogleMap
/Map/app/src/main/java/com/bindungso/map/MainActivity.java
UTF-8
14,832
1.828125
2
[]
no_license
package com.bindungso.map; import android.Manifest; import android.app.ProgressDialog; import android.content.Context; import android.content.pm.PackageManager; import android.location.Location; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.Build; import android.support.anno...
true
29ae12ed97ae7bb275a3a03f79560ef06b6fbc7e
Java
MarcosBorba/empresa4
/src/modelo/FinanceiroEntradasDAO.java
UTF-8
5,625
2.78125
3
[ "Apache-2.0" ]
permissive
package modelo; import java.sql.Connection; import java.sql.Date; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.util.ArrayList; /** * Implementa o CRUD para objeto controlador Create/Retreave/Update/Delete * * @author marcos * ...
true
2d2753903624b3e2f9374c2785e8d1261b622748
Java
peeyushkapoor72/IntelliSelenium
/src/com/newPackage/ss/web/element/impl/IntelliSDrag.java
UTF-8
467
2.03125
2
[]
no_license
package com.csc.ss.web.element.impl; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.interactions.Actions; public class IntelliSDrag implements IIntelliSWebElement { public void process(WebDriver driver, WebElement ele...
true
e8b544a1fd060b490e5e6a46e6f0f53210c0b6cf
Java
vepailjanov/gitfile
/homework/task3.java
UTF-8
361
3.03125
3
[]
no_license
package homework; public class task3 { public static void main(String[] args) { int [] intArr = {1,2,3,4,}; for(int i = 0; i<intArr.length; i++){ if (intArr[i]==1||intArr[i]==4){ System.out.println(false); } else { System.out.println(tr...
true
06ca5d4e198ceee38b3ce436c040b974ad60df99
Java
luispillaga/PryControlMedico
/src/main/java/com/medico/app/web/models/service/RecetaService.java
UTF-8
1,027
2.078125
2
[]
no_license
package com.medico.app.web.models.service; import com.medico.app.web.models.dao.IRecetaDAO; import com.medico.app.web.models.entities.Receta; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; im...
true
ff5cfb764e127f558db2560ad22d3bca5950f2d3
Java
Cdala/Java
/Operador5.java
UTF-8
641
3.8125
4
[ "MIT" ]
permissive
/** Código demonstra a aplicação de operadores de atribuição *@author Carlos Dalagrana*/ public class Operador5{ public static void main (String [] args){ //Adiciona um valor a variável x int x = 7; x += 3; System.out.println(x); //Subtrai um valor a variável x1 int x1 = 7; x1 -= 3; System....
true
2a25204422e2a92af4b69b4b382c2839337e2534
Java
David-bfg/HospitalWeb-Services
/MayoWS/src/com/mayo/db/VisitResearchStudy.java
UTF-8
643
2.21875
2
[]
no_license
package com.mayo.db; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table (name = "visitresearchstudy") public class VisitResearchStudy implements Serializable { @Id @Column (n...
true
3d30c19e79b2732dae70b21c3317fd130c02c5d2
Java
mahbubh/Adjuster
/src/main/java/com/tasacom/adjuster/config/domain/ClaimantVehicle.java
UTF-8
8,402
2.125
2
[]
no_license
package com.tasacom.iadjuster.domain; import org.hibernate.annotations.Cache; import org.hibernate.annotations.CacheConcurrencyStrategy; import javax.persistence.*; import java.io.Serializable; import java.time.ZonedDateTime; import java.util.Objects; /** * A ClaimantVehicle. */ @Entity //@Table(name = "claimant_v...
true
666dea382b9bea38b1758410a80fd9433dc57c0e
Java
mlj0381/Posdoctoral_managementSystem
/postdoctor/src/main/java/com/province/postdoctor/mapper/Subsidies_application/AttachmentMapper.java
UTF-8
343
1.53125
2
[]
no_license
package com.province.postdoctor.mapper.Subsidies_application; import com.province.postdoctor.entity.Subsidies_application.Attachment; import com.baomidou.mybatisplus.core.mapper.BaseMapper; /** * <p> * Mapper 接口 * </p> * * @author tykj * @since 2020-11-07 */ public interface AttachmentMapper extends BaseMappe...
true
720112bae53b7ff4ce65b38a8bb2b403cd3cacac
Java
DilanSandaruwan/myproject-backend
/src/main/java/com/ousl/myproject/services/CategoryService.java
UTF-8
174
1.648438
2
[]
no_license
package com.ousl.myproject.services; import com.ousl.myproject.models.requestResponse.Response; public interface CategoryService{ public Response getCategories(); }
true
7a58262146a1c9e49a3afcf3d1c72bd1253420c4
Java
awhiting93/Mobile-Apps
/CriminalIntent/app/src/main/java/awhiting18/criminalintent/CrimeListActivity.java
UTF-8
863
1.953125
2
[]
no_license
package awhiting18.criminalintent; import android.support.v4.app.FragmentManager; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; public class Cri...
true
21751850b55a8332f5732b3e326ae983be05105a
Java
thienphuvn95/VendingMachine
/src/vendingmachine/Money.java
UTF-8
483
2.6875
3
[]
no_license
package vendingmachine; public class Money { private double insertmoney; private double total; public Money(double total, double insert) { this.total=total; this.insertmoney=insert; // TODO Auto-generated constructor stub } public double getInsertmoney() { return insertmoney; } public void setInsertmo...
true
abfe5d16c3d1220972c60de59f579fd21eac6242
Java
twotom/performanceappraisal
/src/main/java/cn/js/ccit/util/SpringContextUtil.java
UTF-8
544
2.21875
2
[]
no_license
package cn.js.ccit.util; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.stereotype.Component; @Component public class SpringContextUtil implements ApplicationContextAware{ pr...
true
fe45455b25db97203d3f9750f4c9db65928cd84b
Java
Xuefeng-Zhu/Chess-Game
/test/GameManagerTest.java
UTF-8
3,083
2.765625
3
[]
no_license
import static org.junit.Assert.*; import org.junit.After; import org.junit.Test; import org.junit.Before; import pieces.Piece; import pieces.Queen; import pieces.Rook; import board.Chessboard; import board.Location; import management.*; public class GameManagerTest { @Before public void setUp() { GameManager.in...
true
81cd634a742dcac7dd2b9f485d5ff408fd9d145f
Java
jotorres526/ProjJava-LI3-1920
/src/application/GestVendasMVCApp.java
UTF-8
800
2.25
2
[ "MIT" ]
permissive
package application; import controllers.Controller; import interfaces.*; import models.GestVendas; import views.ViewCollections; import views.ViewErros; import views.ViewMenuPrincipal; public class GestVendasMVCApp { private static IGestVendas createData() { IGestVendas igv = new GestVendas(); igv...
true
38de10e255f7b11d62dbaafc4e4708d535ecd6a6
Java
sstewart2012/peticodiac4J
/src/main/java/ca/uwaterloo/simplex/bounds/DeviceBounds.java
UTF-8
3,029
2.59375
3
[]
no_license
package ca.uwaterloo.simplex.bounds; import ca.uwaterloo.shediac.memory.Memory; public class DeviceBounds implements Bounds { private final int numBasic; private final int numNonbasic; private final int numVars; // private final float epsilon; public Memory memLower; public Memory memUpper; public Mem...
true
0ab0b68aae3dbab28ac9ae24b9a63e23a22bc34c
Java
privatego/design-pattern
/src/main/java/com/dingdang/pattern/ch02/singleton/lazy/LazySimpleSingleton.java
UTF-8
598
2.78125
3
[]
no_license
package com.dingdang.pattern.ch02.singleton.lazy; /** * @author: blessed * @Date: 2019/4/6 */ public class LazySimpleSingleton { private static LazySimpleSingleton lazy = null; private LazySimpleSingleton() { } public static LazySimpleSingleton getInstance(){ if (lazy == null){ ...
true
d762ffc097060f2fc2fb78de7fa8d6165ca4bf99
Java
yangchuyingt/zhongtuanapp20150706
/src/com/teambuy/zhongtuan/activity/activities/TBHDetails.java
UTF-8
5,556
1.664063
2
[]
no_license
package com.teambuy.zhongtuan.activity.activities; import java.util.List; import org.apache.http.NameValuePair; import org.apache.http.message.BasicNameValuePair; import android.app.AlertDialog; import android.graphics.Color; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListene...
true
d285cd1c89b5ce60058918b9fd4633a65ab0f9f5
Java
jamesw6811/SpiritGame
/IntelliJ/SpiritBase/src/spiritgameclient/SpiritGameApplet.java
UTF-8
21,294
2.3125
2
[ "MIT" ]
permissive
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package spiritgameclient; import java.applet.Applet; import java.awt.BorderLayout; import java.awt.Canvas; import java.awt.Font; import java.nio.FloatBuffer; import static org.lwjgl.opengl.GL11.*; import static org.lwjg...
true
2c3864c8cb75ec8636edf6ab33fcd859fda5e441
Java
vespa-engine/vespa
/indexinglanguage/src/test/java/com/yahoo/vespa/indexinglanguage/expressions/SelectInputTestCase.java
UTF-8
4,958
2.390625
2
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.indexinglanguage.expressions; import com.yahoo.collections.Pair; import com.yahoo.document.DataType; import com.yahoo.document.Field; import com.yahoo.document.datatypes.StringFieldValue; im...
true
443339fbd3c8e15f586c9bf77758a8d490e5992b
Java
sp2020jarvan/RESOLVE
/src/main/java/edu/clemson/cs/r2jt/vcgeneration/vcs/VCCollector.java
UTF-8
3,936
2.65625
3
[ "BSD-3-Clause" ]
permissive
/* * VCCollector.java * --------------------------------- * Copyright (c) 2020 * RESOLVE Software Research Group * School of Computing * Clemson University * All rights reserved. * --------------------------------- * This file is subject to the terms and conditions defined in * file 'LICENSE.txt', which is pa...
true
2112ec43d91a4e9ceda2492cca6a7da28e21c727
Java
ssseara/crawler
/crawler/src/main/java/br/com/editoraglobo/crawler/util/WebCrawler.java
UTF-8
2,270
2.578125
3
[]
no_license
package br.com.editoraglobo.crawler.util; import java.io.InputStream; import java.net.URL; import java.util.HashSet; import java.util.LinkedList; import java.util.Queue; import java.util.Set; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.json.JSONAr...
true
dd5cc116548842aebb7b709d371499a411cc759f
Java
modia9548/11U-Assignments
/src/Examples/Methods.java
UTF-8
1,831
4
4
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Examples; import java.util.Scanner; /** * * @author Aakash Modi */ public class Methods { //void method type mean perform and action //sometimes called a procedure //inside the rou...
true
3b2ff2250d572d76ae465a0e36b2758b8b2fe62b
Java
moce96/ctbtdemo_database
/textExcel/src/InsertData/d_breed/DiseaseMonitorEquipment.java
UTF-8
2,735
2.390625
2
[]
no_license
package InsertData.d_breed; import getAllByExcel.breed.GetMonitorPoint; import getAllByExcel.breed.GetSensor; import random.*; import random.RandomNumber; import utilClass.breed.MonitorPoint; import utilClass.breed.Sensor; import java.sql.*; import java.util.List; import java.util.Random; public class DiseaseMonitor...
true
2d090a6af11935b4637100eb64a006e443ed3f81
Java
Ivanovskij/Workshop_Alg_Str_Data
/src/src/java/chapter6/recursion/StackTriangle.java
UTF-8
6,384
3.8125
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 src.java.chapter6.recursion; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamRea...
true
7c503a1bd468e20a8b616c27a0d54ba85b4f6b91
Java
yongjin5184/BaekjoonAlgorithm
/src/Practice2548.java
UTF-8
1,366
3.484375
3
[]
no_license
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; /** * Created by yong on 2018. 9. 29.. */ public class Practice2548 { public static void main(String[] args) throws IOException{ /** * description : 백준 2548번 대표 자연수 * s...
true
be1ba394de88c12593334224bb3ce00d76a1b65a
Java
luluzsp/TravelSite
/travelService/src/main/java/com/luluzsp/travel/service/impl/RoleServiceImpl.java
UTF-8
1,380
2.234375
2
[]
no_license
package com.luluzsp.travel.service.impl; import com.luluzsp.travel.Dao.RoleDao; import com.luluzsp.travel.entity.Permission; import com.luluzsp.travel.entity.Role; import com.luluzsp.travel.service.RoleService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service...
true
262984cfcc927b66aac491cccde5270840fb56dc
Java
widerules/tournesol-framework
/Android.Tournesol.Game/src/com/tournesol/game/unit/WallCollision.java
WINDOWS-1250
2,254
2.6875
3
[]
no_license
package com.tournesol.game.unit; import com.tournesol.game.GameMath; import com.tournesol.game.shape.CollisionUnit; import com.tournesol.game.shape.Shape; import com.tournesol.game.shape.ShapeLine; import com.tournesol.game.utility.RecycleBin; import android.graphics.PointF; import android.util.FloatMath; ...
true
3400f5c14f12bd838c085cf9525087d5e811f5ad
Java
JetBrains/intellij-community
/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/streamApiMigration/findFirst/afterFindFirstMap.java
UTF-8
465
2.4375
2
[ "Apache-2.0" ]
permissive
// "Collapse loop with stream 'findFirst()'" "true-preview" import java.util.stream.IntStream; class Lookup { boolean matches(char[] lookup) {} } // IDEA-200209 class C { private Lookup[] lookbehindFormats; private char[] lookupChars; private Lookup lookbehindFormat; { IntStream.range(0, lookbehindF...
true
c69986b09aec6e1b11cd9643cb396e4e4a6d5863
Java
rahul228/AllCoreJavaCodes
/MapHomework/P14.java
UTF-8
416
2.453125
2
[]
no_license
package MapHomework; import java.util.HashMap; import java.util.LinkedHashMap; public class P14 { public static void main(String[] args) { // TODO Auto-generated method stub HashMap<Integer,String> hm=new HashMap(); hm.put(1, "Rahul"); hm.put(2, "Kulkarni"); LinkedHashMap<Integer,String> lm=new LinkedHash...
true
5c365fd0ec1051c1da2a84baeec48ce2c95265c6
Java
PabloCanalSuarez/sdi1920-entrega1-302-315
/sdi1920-entrega1-302315/src/test/java/com/uniovi/TestsJesus.java
UTF-8
19,750
2.109375
2
[]
no_license
package com.uniovi; import java.util.List; import org.junit.After; import org.junit.AfterClass; import org.junit.Assert; import org.junit.Before; import org.junit.BeforeClass; import org.junit.FixMethodOrder; import org.junit.Test; import org.junit.jupiter.api.Assertions; import org.junit.runners.MethodSorters; impor...
true
f509799a33bbc57b1ff9f78f3348d88b9ddf87a7
Java
Pedroken/emulador-ula
/ULA/src/br/com/felipe/MainULA.java
ISO-8859-1
3,891
3.59375
4
[]
no_license
package br.com.felipe; import java.util.Scanner; import static java.lang.Math.random;; public class MainULA { private static Registrador registradorA = new Registrador((int)(random() * 255)); private static Registrador registradorB = new Registrador((int)(random() * 255)); private static ULA ula = new ULA(); p...
true
cd2a896841d8fa929631396f490b025cdb4005e1
Java
giljun/Workshop
/실습_0128/Stack_GLinkedList.java
UTF-8
1,779
3.6875
4
[]
no_license
package ssafy0128; import java.util.Stack; public class Stack_GLinkedList<T> { private Node<T> top; public Stack_GLinkedList() { top = new Node(null); // top 노드는 스택에 push될때 맨 위 노드의 주소만 저장하면 됨. // 현재 top.next 에는 null이 저장되어 있음. 즉 스택에 아무도 없음. } public void push(T data) { Node<T> newNode = new Node<>(data); ...
true
e9806e7486390695f3419cdad345ded03a53513e
Java
Alfresco/poi
/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFTable.java
UTF-8
12,412
1.6875
2
[]
no_license
/* * ==================================================================== * 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 license...
true
ed347eb18ec42eb8914d6c6de155458d86c65706
Java
qiulile/dubbo_pom
/Dubbo_02HelloConsumer/src/main/java/cn/com/demo/dubbo/helloconsumer/StartConsumer.java
UTF-8
476
1.820313
2
[]
no_license
package cn.com.demo.dubbo.helloconsumer; import org.apache.dubbo.config.spring.context.annotation.EnableDubbo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication @EnableDubbo(scanBasePackages = {"cn.com.demo.dubbo.helloconsume...
true
80cfdda1300818dccab095e1b894d2bbb8e38fc4
Java
Duta/Daejo
/src/interpreter/DaejoClass.java
UTF-8
214
1.554688
2
[]
no_license
package interpreter; /** * Created with IntelliJ IDEA. * User: Bertie * Date: 07/06/13 * Time: 18:43 * To change this template use File | Settings | File Templates. */ public enum DaejoClass { INT, LIST }
true
b28b7d73addbda54611aff646a2e8fac6de59892
Java
ninilo97/GladiatorProject
/final_project/src/main/java/com/lti/service/PayeeService.java
UTF-8
253
1.703125
2
[]
no_license
package com.lti.service; import java.util.List; import javax.annotation.Resource; import com.lti.entity.Payee; @Resource public interface PayeeService { public List<Payee> getPayeeList(int accNo); public void addPayee(Payee payee); }
true
92a30dc2eed4c15d991289e677c7aedffcc832ba
Java
KarelPeeters123/CiceroBot
/src/main/java/lu/karelpeeters/Discordbot/controller/handlers/RandomStoryHandler.java
UTF-8
3,450
2.40625
2
[]
no_license
package lu.karelpeeters.Discordbot.controller.handlers; import com.fasterxml.jackson.databind.ObjectMapper; import lu.karelpeeters.Discordbot.discord.Utils; import net.dv8tion.jda.api.events.message.MessageReceivedEvent; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.Nam...
true
393aaf040e24043fd9ac84cdf10667df92914e0b
Java
khangit96/Sourcecode-Android
/QuanLyCaPhe/app/src/main/java/khangit96/quanlycaphe/model/Admin.java
UTF-8
327
2
2
[]
no_license
package khangit96.quanlycaphe.model; /** * Created by Administrator on 12/2/2016. */ public class Admin { public String password; public String username; public Admin(String password, String username) { this.password = password; this.username = username; } public Admin() { ...
true
463bc212e9f5633630d7d38d3622b7cb557b7633
Java
HYAACCEE/aceonline
/PC_ACEOnlineWeb/src/com/svv/dms/web/service/manager/TestWebServer.java
UTF-8
6,450
2.03125
2
[]
no_license
package com.svv.dms.web.service.manager; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.net.URL; import java.net.URLConnection; import java.util.Date; import com.svv.dms.web.util.DES; public class TestWebServer { final static int BUFFER...
true
764a0460df43759064f32f406b849993c80c6c1c
Java
apache/guacamole-client
/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/permission/AbstractPermissionService.java
UTF-8
4,749
2.125
2
[ "LicenseRef-scancode-ietf-trust", "BSD-3-Clause", "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
f2f6e22ac686947b57f2cb7c2ab2cc913710675c
Java
MichaelWongK/micheal-spring-cloud
/micheal-spring-cloud-zipkin/src/main/java/com/micheal/spring/cloud/zipkin/ZipKinApplication.java
UTF-8
791
1.945313
2
[]
no_license
package com.micheal.spring.cloud.zipkin; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.EnableEurekaClient; import zipkin2.server.internal.EnableZipkinServer; /** * @author <a href="mailto:wangmk1...
true
eaadc1a79e037c9e5401d715d42134e849ce4cea
Java
LGYRMetal/practics
/java/jdbc/note/通过配置文件获取数据库驱动完整类名/MySql.java
UTF-8
127
2.109375
2
[]
no_license
public class MySql implements JDBC { public void getConnection() { System.out.println("MySql connection"); } }
true
6fd3f337ee9205247e80001236a6a815dab21e1f
Java
Norbygyerek/forras
/packages/src/main/java/edu/bbte/packages/taskSpec/TaskSpecV3.java
UTF-8
32,211
2.484375
2
[]
no_license
/* Copyright 2008 Matt Radkie Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distribute...
true
093a5a6469aada9bd2cb53e3159294d50b9074dd
Java
RajuTesting/Testing
/sslcore/src/com/borngroup/ssl/core/search/solrfacetsearch/impl/SolrQueryConverter.java
UTF-8
4,198
1.914063
2
[]
no_license
package com.borngroup.ssl.core.search.solrfacetsearch.impl; import de.hybris.platform.catalog.model.classification.ClassAttributeAssignmentModel; import de.hybris.platform.category.model.CategoryModel; import de.hybris.platform.solrfacetsearch.config.FacetType; import de.hybris.platform.solrfacetsearch.config.Ind...
true
2d5c16a1572163df4805a6949ba01f2c2efe3703
Java
qayserily/TrainigJava
/replit/Repl_it_Tasks/_160_MethodsWithReturn_HamletLogic.java
UTF-8
870
4.0625
4
[]
no_license
package Repl_it_Tasks; public class _160_MethodsWithReturn_HamletLogic { /* The danish prince most famous quote is "to be or not to be". thats a classic example of boolean logic. the hamletQuote method only returns true if one of or both of the boolean parameters is true. example: hamletQuote(true...
true
dae375245b13f33389d328cb2c0bf646267b0091
Java
pabplanalp/pvmail
/java/source/com/vmail/edi/uspsD1Resdit2/AcEdiUspsD1Resdit2Sts.java
UTF-8
3,328
2.140625
2
[]
no_license
package com.vmail.edi.uspsD1Resdit2; import com.jwApps.edi.*; import com.vmail.edi.base.*; /** * STS Segment * Status * Version * Usps Domestic Resdit * Version 2 Release 3 * Based on EDIFACT D.96B * Elements * 0: C601 <not used> * 0,0: 9015 <not used> * 0,1: 1131...
true