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
f3142150a6c93b875ae7990b4e262de8bf157f68
Java
wayshall/dbm
/src/main/java/org/onetwo/common/db/builder/QueryBuilderImpl.java
UTF-8
7,299
2.28125
2
[]
no_license
package org.onetwo.common.db.builder; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.onetwo.common.db.InnerBaseEntityManager; import org.onetwo.common.db.RawSqlWrapper; import org.onetwo.common.db.sqlext.ExtQuery; import org.onetwo.common.db.sqlext.ExtQuery.K; import org.onetw...
true
427bbe74c3595c4d5622c8235527674d491090a6
Java
cietwwl/CFLogic
/src/com/kola/kmp/logic/level/KGameScenarioReward.java
UTF-8
3,193
2.453125
2
[]
no_license
package com.kola.kmp.logic.level; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import com.koala.game.exception.KGameServerException; import com.koala.game.util.KGameExcelTable.KGameExcelRow; import com.kola.kmp.logic.level.KLevelReward.NormalItemRewardTemp...
true
45313b1376ef68d4fd2084ae8be6051fed2cd55f
Java
Albatros46/SpringFramework
/student-management-system/src/main/java/com/servet/repository/StudentRepository.java
UTF-8
208
1.648438
2
[]
no_license
package com.servet.repository; import org.springframework.data.jpa.repository.JpaRepository; import com.servet.entity.Student; public interface StudentRepository extends JpaRepository<Student, Long> { }
true
953fee85498c71a6b6d9cf615afbca246acacd5e
Java
encomiendas/encomiendas
/src/main/java/py/com/domainsoft/seguridad/services/TipoDocumentoService.java
UTF-8
286
1.796875
2
[]
no_license
package py.com.domainsoft.seguridad.services; import java.util.List; import py.com.domainsoft.seguridad.dtos.TipoDocumentoDTO; public interface TipoDocumentoService { public TipoDocumentoDTO grabarTipoDocumento(TipoDocumentoDTO tipoDocumento); List<TipoDocumentoDTO> findAll(); }
true
3c621ce3fb0fcec5e644a0a3247dee446ecbb844
Java
ZENEGIX/car-rental
/src/main/java/ru/zenegix/carrental/domain/history/HistoryRepository.java
UTF-8
448
1.875
2
[]
no_license
package ru.zenegix.carrental.domain.history; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface HistoryRepository extends JpaRepositor...
true
4f1934252ce0bf8dd73f39fbca3a7cef51e7aec7
Java
bhanupratapjain/CS5800-Algorithms
/PA/src/homework09/question04/reference/BHTest.java
UTF-8
1,524
3.109375
3
[ "MIT" ]
permissive
package homework09.question04.reference; /** * Created by Bhanu on 22/03/2016. */ public class BHTest { public static void main(String[] args) { int[] E = {17, 12, 90, 21}; int[] F = {25, 52, 95, 63, 18}; // binomialHeap heap1 = MakeBinomialHeap(); // int[] E = { 0, 12, 90, 1, 85...
true
a3b2830d81e49530e7018e817bb7c02f2b35a9f6
Java
jabley/volmobserverce
/framework/MCS-Open/subsystems/interaction/test/support/java/com/volantis/mcs/interaction/sample/descriptors/Descriptors.java
UTF-8
6,689
2
2
[]
no_license
/* This file is part of Volantis Mobility Server. Volantis Mobility Server 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 3 of the License, or (at your option) any later version. Volantis Mobili...
true
9a3cd3372ca965060c1dd0249281d6b621f269e1
Java
RajeshPatadiya/firefly-3
/src/firefly/java/edu/caltech/ipac/firefly/server/visualize/imageretrieve/AllSkyRetriever.java
UTF-8
3,025
2.171875
2
[]
no_license
/* * License information at https://github.com/Caltech-IPAC/firefly/blob/master/License.txt */ /* * License information at https://github.com/Caltech-IPAC/firefly/blob/master/License.txt */ package edu.caltech.ipac.firefly.server.visualize.imageretrieve; import edu.caltech.ipac.firefly.data.FileInfo; import edu.c...
true
b78c5fe8683ad72cd48e1b4e2c68ef98759865d6
Java
qq7796336/Socket
/src/com/zdx/tcp/Demo_Socket.java
UTF-8
1,059
3.234375
3
[]
no_license
package com.zdx.tcp; import java.io.IOException; import java.io.OutputStream; import java.net.Socket; import java.net.UnknownHostException; public class Demo_Socket { public static void main(String[] args) { Socket socket = null; OutputStream os =null; try { //1.建立客户端的socket,并指定所要链接的主机的IP与程序端口...
true
a1bf7f222f07c80f0bc3802608e764cfc9909210
Java
maximilian-zollbrecht/vaadin-demo
/vaadin-demo-micro-service/src/main/java/de/muenchen/demo/service/rest/api/BuergerResource.java
UTF-8
2,960
2.234375
2
[]
no_license
package de.muenchen.demo.service.rest.api; import de.muenchen.demo.service.domain.Buerger; import de.muenchen.demo.service.domain.Pass; import de.muenchen.demo.service.domain.Sachbearbeiter; import de.muenchen.demo.service.domain.Staatsangehoerigkeit; import de.muenchen.demo.service.domain.StaatsangehoerigkeitReferenc...
true
54108a19bc515d4a1b36a14e08554da7e60a86f7
Java
Liar1zhuang/EveryingDemo
/src/acompany_sina/Sina1.java
UTF-8
1,527
3.203125
3
[]
no_license
package acompany_sina; import java.util.Scanner; public class Sina1 { static int len; public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); char[] chars = s.toCharArray(); len = chars.length; boolean flag = true; cha...
true
a453bbf4cffac8bac6ac8446d0166af9975cca17
Java
MrUstiik/online-book-store
/src/main/java/com/example/controllers/GenreController.java
UTF-8
2,762
2.234375
2
[]
no_license
package com.example.controllers; import com.example.entity.Genre; import com.example.service.interfaces.GenreServiceInterface; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.validati...
true
448909fc348ee37f0cfe43e5409a243ccc0a4742
Java
mohitsen0122/Library-Management-by-HashMap-Stand-alone-java-application
/ReturnBook.java
UTF-8
2,891
2.71875
3
[]
no_license
package com.lirarymanagmenet; import java.awt.Color; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.HashMap; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPa...
true
6704da84e6caae2253cdd52f5594fc135ef32463
Java
shevelevandrey/com.gb.java.level_3
/src/main/java/com/gb/lesson_1/generic/Apple.java
UTF-8
269
2.96875
3
[]
no_license
package com.gb.lesson_1.generic; public class Apple extends Fruit { public Apple(float weigth) { super(weigth); } @Override public String toString() { return "Apple{" + "weigth=" + weigth + '}'; } }
true
22fb0d4ebd52ec96d55dd4644ab34eb20a124e20
Java
dasom-tech/Java
/Java2/whileClass/src/whileClass/mainClass.java
UTF-8
1,365
3.921875
4
[]
no_license
package whileClass; public class mainClass { public static void main(String[] args) { /* while(순환문) do while 형식: 변수 선언 변수 초기화 while(조건식) { 처리 연산식 } ...
true
107a8adab4d399ef7c0b1ae4e186d2f5547f8ed2
Java
Deepankarsingh98/Playground
/Add first and third digit/Main.java
UTF-8
172
2.375
2
[]
no_license
#include<stdio.h> int main() { int a; scanf("%d",&a); int first, third; first = a/100; third = a%10; int add = first + third; printf("%d", add); return 0; }
true
3867d5039a665ff75a7c6fc5e41c391e08ea2401
Java
efair4/CS2410
/assn7/src/cs2410/assn7/view/Add.java
UTF-8
4,210
2.921875
3
[]
no_license
package cs2410.assn7.view; import javafx.geometry.Insets; import javafx.scene.control.Label; import javafx.scene.control.TextField; import javafx.scene.layout.HBox; import javafx.scene.layout.VBox; /** * This class controls the view to add a new person. * @author Ember Fairbanks * @version 1.0 */ class Add { ...
true
6f386fa1867f436886e2e18da24a3ceba29c9f03
Java
dasphantom/Structure
/app/src/main/java/com/example/sander/structure/DBHelper.java
UTF-8
3,322
2.71875
3
[]
no_license
package com.example.sander.structure; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.os.Environment; import java.sql.Timestamp; import java.util.ArrayL...
true
fa4903052e86fc0fc87f98fc9b4b3e588013ad5f
Java
crislaez/Reto4MVCgit
/src/Modelo/Alojamiento.java
UTF-8
3,071
2.546875
3
[]
no_license
package Modelo; public class Alojamiento { private static int numeroAlojamiento=0; private String nombreAlojamiento; private String ubicacion; private int habitacionesDisponibles; private double precio; private int numeroreservas; private boolean wifi; private boolean piscina; private boolean spa; private b...
true
c33967b6e6af54c688726a56e9a0cf5d7d9741c2
Java
arlengur/MongoDb
/src/main/java/ru/arlen/mongo/B_MongoDbInsertDocument.java
UTF-8
1,609
3.328125
3
[]
no_license
package ru.arlen.mongo; import com.mongodb.*; import java.net.UnknownHostException; import java.util.Arrays; /** * @author Alexey Galin <arlengur@rambler.ru> */ public class B_MongoDbInsertDocument { public static void main(String[] args) throws UnknownHostException { // Creates MongoDB client instance...
true
631b77647002c311cca994b6c453b8ec3fcdc8d8
Java
SaeJinKim/Eclipse
/Square/src/Main.java
UTF-8
1,271
3.0625
3
[]
no_license
import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class Main { public static void main(String[] args) throws IOExceptio...
true
b5cd22767700149af5972e17f0ef6b7066f4b50e
Java
jleong1/UndergraduateClasswork
/Desktop/OldClassProjects/COMP 271 Code/ch05/ch5/BinarySearch/BinarySearchUser.java
UTF-8
2,217
3.734375
4
[]
no_license
import java.util.*; public class BinarySearchUser { public static void main (String[ ] args) { new BinarySearchUser ().run(); } // method main public void run() { final String ARRAY_MESSAGE = "The array on which binary searches will be performed is:\n" + ...
true
c1046b4da2ff41689608f42f36b05be1ad137ad7
Java
xeraph/kraken
/siem/kraken-logfile-parser/src/main/java/org/krakenapps/logfile/OpenSshLogNormalizerFactory.java
UTF-8
1,312
2.234375
2
[]
no_license
package org.krakenapps.logfile; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Locale; import java.util.Properties; import org.apache.felix.ipojo.annotations.Component; import org.apache.felix.ipojo.annotations.Provides; import org.krakenapps.log.api.LogNo...
true
80cd61bedb38dda36f5ebb01984ce9e078501b6a
Java
BimaSebayang/Roxas-Katering-Projek-ZK
/Roxas-Portal-Cored/src/main/java/entity/MasterSchema/TableMasterSimulasiHargaMenuDtl.java
UTF-8
2,099
2.09375
2
[]
no_license
package entity.MasterSchema; import java.math.BigDecimal; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.IdClass; import javax.persistence.Table; import entity.MasterSchema.entityMasterPk.TableMasterSimulasiHargaMenuDtlPk; @Entity ...
true
1709bf114d4eb54151acc4ffa207f0fbcca3e5cc
Java
liwangaishuang/ruoyi-talents
/talents/src/main/java/com/ruoyi/talents/service/impl/DeclarationInformationServiceImpl.java
UTF-8
3,755
1.929688
2
[ "MIT" ]
permissive
package com.ruoyi.talents.service.impl; import java.util.List; import com.ruoyi.common.core.domain.model.LoginUser; import com.ruoyi.common.utils.DateUtils; import com.ruoyi.common.utils.ServletUtils; import com.ruoyi.framework.web.service.TokenService; import org.springframework.beans.factory.annotation.Autowired; i...
true
7784cce5f349af3acc6287d902beeefeb3ec2dd6
Java
RyanWendling/Text-Based-Board-Game
/Dice.java
UTF-8
392
3.140625
3
[]
no_license
/* Program: Deadwood.java * Class: Dice.java * Authors: Marshall Powell, Ryan Wendling, Dalainee Viernes * Purpose: Used by the Deadwood game that returns a random integer between 1 & 6 */ package net.processing; import java.util.Random; public class Dice{ // random number generator function public stati...
true
7532e89cc20058b29dc7b3f037f5410e198f135b
Java
subbu0x0/myapplication
/app/src/main/java/com/evolet/myapplication/Activities/NotificationActivity.java
UTF-8
2,473
1.96875
2
[]
no_license
package com.evolet.myapplication.Activities; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.View; import android.widget.Lis...
true
4fe136e43d3db74b912e35afa7a4a882c798cf21
Java
Marqueeze/lab1
/src/main/java/Checker/Checker.java
UTF-8
114
1.953125
2
[]
no_license
package Checker; import Person.Person; public interface Checker { boolean check(Person p, Object value); }
true
cbd01e20facfe63b91320673962806d0ad5ad539
Java
Nowforpasserby/best
/src/main/java/com/logictech/entity/so/ResultEntity.java
UTF-8
1,559
2.375
2
[ "MIT" ]
permissive
package com.logictech.entity.so; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; import java.io.Serializable; /** * @author JG.Hannibal * @since 2017/11/10 上午11:10 */ @JsonInclude(Include.NON_NULL) public class ResultEntity<T> implements Serializab...
true
e37899b4c6bcdfd4c91936091fe0ae5501ac9a95
Java
freedmanMain/opera-app
/src/main/java/opera/app/spring/dao/AbstractDao.java
UTF-8
1,168
2.65625
3
[]
no_license
package opera.app.spring.dao; import opera.app.spring.exception.DataProcessingException; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.Transaction; public abstract class AbstractDao<T> implements GenericDao<T> { protected final SessionFactory sessionFactory; ...
true
6c4413c776be309a01cdef65dda4120f0363976d
Java
vinipachecov/University-Codes
/2017/First-Semester/Distributed Systems/BankAccountManager/src/bankaccountmanager/Account.java
UTF-8
1,002
2.90625
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 bankaccountmanager; import java.util.UUID; /** * * @author root */ public class Account { private String ID; ...
true
ed876952c9e1cc0dba7786d891f89253842a990c
Java
mdogan/hazelcast
/hazelcast/src/test/java/com/hazelcast/internal/server/OperationPacketFilter.java
UTF-8
2,281
1.890625
2
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
/* * Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
true
fd920cb2b4c4254173759960ec1270ead9e6633d
Java
zhangzh45/SSH_Prototype_J2EE_5.0
/src/com/service/RunlogService.java
UTF-8
1,076
2.25
2
[]
no_license
package com.service; import java.util.List; import com.bean.Runlog; import com.bean.RunlogDAO; public class RunlogService { private RunlogDAO runlogDao; public RunlogDAO getRunlogDao() { return runlogDao; } public void setRunlogDao(RunlogDAO runlogDao) { this.runlogDao = runlogDao; } public void addRunlog...
true
b8acdc7005ea92afbd75ddb7c5485064df0f5a2d
Java
alexander-zw/material-property
/Porosity/src/fileio/Main.java
UTF-8
2,130
3.1875
3
[]
no_license
package fileio; import calculation.Bounds; import calculation.BoxFinder; import calculation.PorosityFinder; import images.APImage; /** * Main class. Run this class to begin calculating. * <p> * Notes for this program:<ul> * <li> All code assumes the original data. There is suspicion that bamboo1a and 1b * m...
true
8e8aa1cef4848d9d99c16dbae98c20721c12e1ff
Java
lcsjr/stdy-java-mensageria
/src/main/java/com/stdy/mensageria/AppSendToFila.java
UTF-8
1,296
2.21875
2
[ "Apache-2.0" ]
permissive
package com.stdy.mensageria; import java.util.Scanner; import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.Destination; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageConsumer; import javax.jms.MessageListener; import javax.jms.MessageProducer...
true
334c5846f7c4d28f05aa66f83f14449466459bdb
Java
marcellodesales/InterviewCodingProblems
/src/gfg/ValidateBST.java
UTF-8
962
3.4375
3
[]
no_license
package gfg; import datastructure.tree.Node; public class ValidateBST { public boolean validateBST(Node root){ return validate(root, Integer.MAX_VALUE, Integer.MIN_VALUE); } private boolean validate(Node node, int maxValue, int minValue) { if(node == null) return true; if(node.g...
true
68920b9b4d92041c644f5b7ed4e96f36baf5d833
Java
shahadul-17/Chidori
/src/chidori/Frame.java
UTF-8
13,107
2.234375
2
[]
no_license
package chidori; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.event.WindowEvent; import java.awt.event.WindowListener; import java.io.File; import java.util.ArrayList; import javax.swing.JFileChooser; ...
true
14d2148786719cfad9a20ec326503123dfc688df
Java
GfintN/lecture-1
/src/main/java/by/it_academy/IntegerOutput.java
UTF-8
1,228
3.453125
3
[]
no_license
package by.it_academy; import java.util.IllegalFormatException; import java.util.InputMismatchException; import java.util.Objects; import java.util.Scanner; import static java.lang.Thread.sleep; public class IntegerOutput { private int number; private final Scanner scan = new Scanner(System.in);; public ...
true
6314bc955d1448a7a9964a8d10a88681417b3815
Java
limeditor/jsdt
/jsdt/org.ayound.js.debug.core/src/org/ayound/js/debug/model/VariableUtil.java
UTF-8
3,028
1.976563
2
[]
no_license
/******************************************************************************* * *============================================================================== * * Copyright (c) 2008-2011 ayound@gmail.com * This program and the accompanying materials * are made available under the terms of the Apache Lic...
true
dfbfce5d0204a8f4c2fd6cf205289ce1105a36f5
Java
CloudDU/HelloTest
/src/com/du/util/generic/GenericReading.java
UTF-8
1,183
3.21875
3
[]
no_license
package com.du.util.generic; import java.util.Arrays; import java.util.List; public class GenericReading { static List<Apple> apples = Arrays.asList(new Apple()); static List<Fruit> fruits = Arrays.asList(new Fruit()); static class Reader<T>{ T readExact(List<T> list){ return list.get...
true
0f04efd7ed3740955ee5beb775eb8929bcdcb0b3
Java
JihoAlgorithm/BOJ
/src/boj15655/collection/recursive/Main.java
UTF-8
1,326
3.328125
3
[]
no_license
package boj15655.collection.recursive; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Stack; class Main { private static int N, M; private static List<Integer> numbers; private static Stack<Integer> selected; private static StringBuilder sb = new St...
true
bc8dfa5963bc05a5e8af25032061e070c9ace7fa
Java
CasperVerswijvelt/Pazaak
/Project-Pazaak/src/gui/KaartSelectiePaneel.java
UTF-8
7,082
2.265625
2
[]
no_license
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package gui; import domein.DomeinController; import static gui.Utilities.maakTextPassendInButton; import java.util.ArrayList; import j...
true
f6bf63b2d697c47c0804885dc5fc6543749cdf13
Java
waldirpires/personal-projects
/Pitagoras/aed2/pit-aed2-pesquisadados/test/br/pitagoras/aed2/pesquisa/hash/TabelaHashTest.java
WINDOWS-1250
2,092
3.296875
3
[]
no_license
package br.pitagoras.aed2.pesquisa.hash; import org.junit.Assert; import org.junit.Test; public class TabelaHashTest { // testar a criacao da tabela @Test public void testCriacaoTabelaHash(){ // definir os parametros de teste int tamanho = 100; // criar a tabela com os parametros TabelaHash tabela = new T...
true
408342e0faa8863dfc68e7e9ef897880fe312872
Java
gy121681/Share
/customer/src/main/java/com/shareshenghuo/app/user/ActivDetailActivity.java
UTF-8
3,557
2
2
[]
no_license
package com.shareshenghuo.app.user; import android.os.Bundle; import com.shareshenghuo.app.user.R; import com.shareshenghuo.app.user.network.bean.ActivInfo; /** * @author hang * 活动详情页 */ public class ActivDetailActivity extends BaseTopActivity { private ActivInfo activInfo; @Override protected void onCreat...
true
3fed061e666f681a4a533678791133cf026fb77a
Java
flywind2/joeis
/src/irvine/math/group/ShanksPhi.java
UTF-8
1,318
2.953125
3
[]
no_license
package irvine.math.group; import irvine.factor.factor.Cheetah; import irvine.factor.util.FactorSequence; import irvine.math.z.Z; import java.util.ArrayList; import java.util.Collections; import java.util.List; /** * A special implementation for calculating a variation of the Euler totient * function for the case ...
true
31d68df0aab240073272c51bbbec8d9cdccc09b7
Java
ToxicBill/Anmeldungs--und-VerwaltungsService
/uav/infrastructure/src/main/java/de/hhu/propra/uav/github/GithubApiImpl.java
UTF-8
4,581
1.882813
2
[]
no_license
package de.hhu.propra.uav.github; import de.hhu.propra.uav.domains.applicationservices.StudentService; import de.hhu.propra.uav.domains.applicationservices.UebungService; import de.hhu.propra.uav.domains.github.GithubApi; import de.hhu.propra.uav.domains.model.student.Student; import de.hhu.propra.uav.domains.model.st...
true
357061060d2ace11b9d2e6455adbc742c0c8db3d
Java
ykozletcov/btree
/Main.java
UTF-8
581
2.84375
3
[]
no_license
package com.company; import java.util.ArrayList; public class Main { public static void main(String[] args) { int[] Arr = {7,2,-1,5,12}; ArrayList<Integer> arr2 = new ArrayList<>(); BTree bt = new BTree(); bt.setRoot(new BTreeNode(Arr[0])); for (int i=0; i<A...
true
195d53baa820791642408f883303a0ca02bb5fcc
Java
xiejiajun/radish
/radish-core/src/main/java/org/sam/shen/core/util/ScriptUtil.java
UTF-8
7,087
2.578125
3
[]
no_license
package org.sam.shen.core.util; import bsh.Interpreter; import lombok.extern.slf4j.Slf4j; import org.apache.commons.exec.CommandLine; import org.apache.commons.exec.DefaultExecutor; import org.apache.commons.exec.ExecuteWatchdog; import org.apache.commons.exec.PumpStreamHandler; import org.apache.commons.io.FileUtils...
true
fe5591f607779d0c696b2ed8b27548ad4c70a099
Java
jonathan-paul-deguzman/MissionToMars
/src/main/java/Models/U1.java
UTF-8
916
2.9375
3
[]
no_license
package main.java.Models; public class U1 extends Rocket { private static final long U1_ROCKET_COST = 100000000; private static final int U1_ROCKET_WEIGHT_IN_KG = 10000; private static final int U1_ROCKET_MAX_WEIGHT_IN_KG = 18000; public U1() { super(U1_ROCKET_COST, U1_ROCKET_WEIGHT_IN_KG, ...
true
2af6e6343bb5b40c4dfbc5161fcb35bfc4c130b5
Java
neilbalch/APCS
/Exams/10192018 Quiz/MathQuiz2.java
UTF-8
288
3.265625
3
[]
no_license
public class MathQuiz2 { private double pi; private double radius; public MathQuiz2(double radius) { this.pi = 3.14; this.radius = radius; } public double getArea() { return pi * Math.pow(radius, 2); } public void setRadius(double radius) { this.radius = radius; } }
true
e84eecbeeb7cedf3d25372c54af805e4fdc2391b
Java
earthgee/android_plugin
/TestPlugin/bundle/src/main/java/com/earthgee/bundle/runtime/InstrumentationHook.java
UTF-8
13,905
1.75
2
[]
no_license
package com.earthgee.bundle.runtime; import android.annotation.TargetApi; import android.app.Activity; import android.app.Application; import android.app.Instrumentation; import android.app.UiAutomation; import android.content.ComponentName; import android.content.Context; import android.content.Intent; impo...
true
d1f7cd2cc4940f938c554f45422d812933e07b8a
Java
kimjongmo/restaurant
/login-api/src/test/java/com/example/restaurant/interfaces/SessionControllerTest.java
UTF-8
5,762
2.3125
2
[]
no_license
package com.example.restaurant.interfaces; import com.example.restaurant.application.EmailNotExistedException; import com.example.restaurant.application.PasswordWrongException; import com.example.restaurant.application.UserService; import com.example.restaurant.domain.User; import com.example.restaurant.utils.JwtUtils...
true
d78ad8aee0124059afa29748c4358efc9ef2052d
Java
luckygxf/hbase_demo
/src/main/java/com/gxf/jdk/TryResource.java
UTF-8
446
2.421875
2
[]
no_license
package com.gxf.jdk; /** * @Author: <guanxiangfei@meituan.com> * @Description: * @Date: Created in : 2018/11/30 1:20 PM **/ public class TryResource { public static void main(String[] args) { try { myAutoClosable(); } catch (Exception e) { e.printStackTrace(); } } private static voi...
true
bcdf59858a81bcfa1517cb22665ac9021aa56ce4
Java
mjsalisu/Java
/self-paced-virtual-training/java_study_3/page10/Main.java
UTF-8
475
3.203125
3
[]
no_license
public class Main { public static void main(String[] args) { // Rewrite the calls to the printData and fullName methods // printData(fullName("Kate", "Jones"), 27, 1.6, 50.0); // printData(fullName("John", "Christopher", "Smith"), 65, 1.75, 80.0); String name = Person.fullName("Kate", "Jones"); ...
true
d6dce211b344ee0a599d2bd9d6e781dd7675ddff
Java
zzt5046/QuickyBot
/src/main/java/utils/QuickyBotUtils.java
UTF-8
1,997
3.265625
3
[]
no_license
package utils; import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.Random; import java.util.Scanner; public class QuickyBotUtils { private QuickyBotUtils(){} public static String getRandomInsult(){ ArrayList<String> insults = new ArrayList<>(); ...
true
8e8779476e8bab21d8ae87b1fee1623e87556bc9
Java
xiaohei88/hey-parent
/hey-common/src/main/java/org/heyframework/common/file/ExcelReader.java
UTF-8
3,642
2.59375
3
[]
no_license
package org.heyframework.common.file; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java...
true
05f0a61043e844a1258b6ce5aba5e8b15013a7a3
Java
jamilr/turboaz-scraper
/src/main/java/org/turboaz/scraper/util/Util.java
UTF-8
680
2.5625
3
[]
no_license
package org.turboaz.scraper.util; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.IllegalFormatException; /** * Created with IntelliJ IDEA. * User: jr * Date: 3/11/14 * Time: 4:48 PM * To change this template use File | Settings | File Templates. */ public class Util { private s...
true
249a6d9f10d719f7b0be4d1d61c2c917819a8484
Java
Phape/programming-semester-2
/src/main/java/algodat/sheet_6/Wert.java
UTF-8
80
1.546875
2
[]
no_license
package algodat.sheet_6; public class Wert { double wert; Wert next; }
true
c8003f11e2b96f0c697bcccb6c493f0996cdc568
Java
vp-byte/jME3-SpaceShift-Editor
/jme3-spaceshift-extension/src/com/ss/extension/scene/filter/impl/EditableFXAAFilter.java
UTF-8
3,425
2.171875
2
[ "Apache-2.0" ]
permissive
package com.ss.extension.scene.filter.impl; import com.jme3.export.InputCapsule; import com.jme3.export.JmeExporter; import com.jme3.export.JmeImporter; import com.jme3.export.OutputCapsule; import com.jme3.post.filters.FXAAFilter; import com.jme3.util.clone.Cloner; import com.ss.extension.property.EditableProperty; i...
true
403342e9f965eb9b1afcf488181471672045c862
Java
stonebuddha/JStype
/src/ir/IRIf.java
UTF-8
1,636
2.578125
3
[]
no_license
package ir; import fj.Hash; import fj.P; import fj.P2; import fj.P3; import immutable.FHashSet; /** * Created by wayne on 15/10/27. */ public final class IRIf extends IRStmt { public final IRExp e; public final IRStmt s1, s2; final int recordHash; static final Hash<P3<IRExp, IRStmt, IRStmt>> hash = ...
true
5485b107c5eea087dde8be40caab5c53b03299c1
Java
L4ngu0r/ecommerce-example
/ecommerce/src/com/exemple/ecommerce/dao/ProductDaoMem.java
UTF-8
1,676
2.90625
3
[ "MIT" ]
permissive
package com.exemple.ecommerce.dao; import java.util.ArrayList; import java.util.Collections; import java.util.List; import com.exemple.ecommerce.bean.Product; import com.exemple.ecommerce.exceptions.UnknownProductException; public class ProductDaoMem implements ProductInterface { private List<Product> p...
true
a1522916f8d8a74b35671d6b6a52e323e47b7acc
Java
yangzijia/school5
/school5/src/main/java/com/b505/web/LoginController.java
UTF-8
7,396
1.875
2
[]
no_license
/* *@包名:com.b505.web *@文档名:LoginController.java *@功能:登录系统 *@作者:李振强 *@创建时间:2014.4.20 *@版权:河北北方学院信息技术研究所 */ package com.b505.web; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org....
true
a428d630ce6207439343403c718bf9ce3d9ef602
Java
yeonjju21/HelloWorld
/ver00.00/Hello/src/org/yjj/chapter/s120/SquareMain.java
UHC
703
3.015625
3
[ "Apache-2.0" ]
permissive
package org.yjj.chapter.s120; import java.util.Scanner; import org.yjj.chapter.s119.IMagicSquare; public class SquareMain { public static void main(String[] args) { System.out.println("3̻ Էϼ."); Scanner scann=new Scanner(System.in); int n=scann.nextInt(); try(FactoryMagic magicF...
true
8a7d3f3a9122837e6482ff25d1d3997703a7bb5a
Java
sccGg/FunSchool
/app/src/main/java/com/example/match/Activity/AddClassActitcity.java
UTF-8
5,829
2.359375
2
[]
no_license
package com.example.match.Activity; import android.content.Context; import android.os.Bundle; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import androidx.fragment.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; impor...
true
2c6793cb2554202ca79a74e7f841f4709187547f
Java
LucasKrzy/Exercicios-java-basico
/java-basico/src/exercicios/Exercicio23.java
ISO-8859-2
663
3.828125
4
[]
no_license
package exercicios; import javax.swing.JOptionPane; /** * Programa para converter Fahrenheit para Celsius * @author Lucas Pedroso Krzyzanowski * @since 05/02/2021 */ public class Exercicio23 { /* * Mtodo principal para executar o programa */ public static void main(String[] args) { // declarando variavei...
true
2182960e435f466e3af408d99309a3cf8d97189b
Java
mycodefarm/old-memory-code
/android/AMVS/app/src/main/java/com/jimo/mvs/MyLocation.java
UTF-8
4,659
2.265625
2
[]
no_license
package com.jimo.mvs; import android.Manifest; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.location.LocationProvider; import a...
true
27caa42a003c68331cffe8b1a1be5c9c16358e57
Java
WyattScottModding/HistoryOfTechnology
/src/main/java/blocks/industrial/ConveyorBelt.java
UTF-8
4,447
2.234375
2
[]
no_license
package blocks.industrial; import java.util.ArrayList; import java.util.List; import main.History; import net.minecraft.block.Block; import net.minecraft.block.BlockRenderType; import net.minecraft.block.BlockState; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; import ...
true
1d8606c7d55e8ead467867525495ad620840f1d0
Java
ZhaoPan12/reaction
/src/main/java/com/net/system/service/sysmange/RoleService.java
UTF-8
1,061
2.15625
2
[ "MIT" ]
permissive
package com.net.system.service.sysmange; import java.util.List; import com.net.system.model.Role; public interface RoleService { public Role selectOne(Integer roleId); public List<Role> selectAll(int page, int limit, Role roleQuery); public List<Role> selectAll(); public List<Role> selectAll...
true
6e5513aa12bad87c89ec0ff671474bb9bae6969a
Java
chenxinxiner/mianshi
/src/main/java/springboot/entities/TwoTuple.java
UTF-8
208
2.15625
2
[]
no_license
package springboot.entities; public class TwoTuple { public final String v1; public final String v2; public TwoTuple(String v1, String v2) { this.v1 = v1; this.v2 = v2; } }
true
b85e653236a73a319d5a3730167c82ce5e438eb4
Java
brunoliraa/spring-webflux
/src/test/java/com/br/springwebflux/integration/MovieControllerIntegration.java
UTF-8
11,169
2.265625
2
[]
no_license
package com.br.springwebflux.integration; import com.br.springwebflux.model.Movie; import com.br.springwebflux.repository.MovieRepository; import com.br.springwebflux.util.MovieCreator; import java.util.Arrays; import java.util.concurrent.FutureTask; import java.util.concurrent.TimeUnit; import org.junit.jupiter.api....
true
502f7fdbdd2e5aa0a03c22013e1e5a188ccca1af
Java
okayhan89/springbootworkshop
/demo-2/src/main/java/com/example/demo/TestController.java
UTF-8
513
2.015625
2
[]
no_license
package com.example.demo; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class TestController { private TestService testService; public TestController(TestService testService) { super(); th...
true
0acc9084f4006b2efab46eab421539ce023c5904
Java
Mikie/MCSG-v1
/src/main/java/me/smiileyface/backend/servers/ServerState.java
UTF-8
1,842
2.671875
3
[]
no_license
package me.smiileyface.backend.servers; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import me.smiileyface.backend.Servers; import me.smiileyface.backend.database.DBConnection; import me.smiileyface.mcsg.game.GameState; public class ServerSta...
true
996de0faf4ae142dbb3857babade673eeca3403c
Java
michael-groble/netty-socketio
/src/main/java/com/corundumstudio/socketio/PacketListener.java
UTF-8
1,703
2.3125
2
[ "Apache-2.0" ]
permissive
/** * Copyright 2012 Nikita Koksharov * * 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 agree...
true
7cf4060f38af0fe771fa6fb279adfb85ef685113
Java
rteammco/rcc
/src/rcc/network/ConnectionThread.java
UTF-8
4,254
3.03125
3
[]
no_license
package rcc.network; import rcc.ErrorUI; import rcc.video.Screen; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.InputStream; import java.net.Socket; import javax.imageio.ImageIO; /* * A simple class that hand...
true
12d59fefd290b6e96ff463ecaa2935cf173ccdf8
Java
weilixu7/ade
/src/sparse_pipeline/GradientKeeper.java
UTF-8
389
2.0625
2
[]
no_license
package sparse_pipeline; class GradientKeeper { double[][] gradW; double[] gradB; // initialize gradient matrixes, their dimensions are identical to the corresponding matrixes. public GradientKeeper(Parameters parameters, SparseLayer sparse) { gradW = new double[sparse.W.length][sparse.W[0].length]; ...
true
1137f25f86435ae2ef0447ce4fc3f459701d6ded
Java
MZCretin/AndroidUtilsProject
/androidutils/src/main/java/com/cretin/tools/androidutils/password/PswUtils.java
UTF-8
2,322
3.109375
3
[]
no_license
package com.cretin.tools.androidutils.password; import com.cretin.tools.androidutils.string.StringUtils; /** * @date: on 2020-05-26 * @author: cretin * @email: mxnzp_life@163.com * @desc: 密码相关工具类 */ public class PswUtils { //数字 private static final String REG_NUMBER = ".*\\d+.*"; //小写字母 private s...
true
be8e82a7923eda0bf27470952c77e9a85572d901
Java
john-smith/neetomo_v1
/WEB-INF/src/action/admin/RemoveUserAction.java
UTF-8
1,045
2.03125
2
[]
no_license
package action.admin; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; i...
true
dcfcabe2bd1106a3eaa073b50570ae7242e23093
Java
smadol/flash-pay
/flash-pay-merchant-application/src/main/java/com/flash/merchant/common/intercept/GlobalExceptionHandler.java
UTF-8
2,979
2.171875
2
[ "Apache-2.0" ]
permissive
package com.flash.merchant.common.intercept; import com.flash.common.domain.BusinessException; import com.flash.common.domain.CommonErrorCode; import com.flash.common.domain.ErrorCode; import com.flash.common.domain.RestResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http....
true
8f966323f4ab2047961f3a90d332babd34a2eacc
Java
anonymous-at-dot/shared-notes
/MultiLevelInheritance.java
UTF-8
455
2.4375
2
[ "Unlicense" ]
permissive
package oops; public class MultiLevelInheritance { public static void main(String[] args) { Results r = new Results(); r.showResults(); two obj = new two(); } } //hierarchical class dept extends Student { } class Sports extends Student { } class one { vo...
true
5a432cbd1e10410c53fb5eda27964afe18224dee
Java
Rihannaswift/Travel
/src/test/java/test/Test1.java
UTF-8
305
1.570313
2
[]
no_license
package test; public class Test1 { public static void main(String[] args){ //8c702ae443795331c91cfab48f3f3833 //8c702ae443795331c91cfab48f3f3833 //9dc51640b36bfbdca56e551261dc2c98 //9dc51640b36bfbdca56e551261dc2c98 String str = PasswordTest.creatMD5("libai","123456"); ...
true
b666f3ffd016d5f605d70ab4aa2b8b04f340cd0e
Java
rramaswamy2/cqrs
/eventbus/src/test/java/com/cqrs/eventbus/kafka/WhenPublishingAEventTest.java
UTF-8
3,473
2.40625
2
[]
no_license
package com.cqrs.eventbus.kafka; import static com.cqrs.assertj.Assertions.assertThat; import static java.util.concurrent.TimeUnit.SECONDS; import static org.awaitility.Awaitility.await; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import j...
true
79932aad98fc50803420d15225b4102e640f94c4
Java
baconsoi9999/QuanLyKho
/QuanLyKho/app/src/main/java/com/example/quanlykho/chi_tiet_hoa_don/ChiTietHoaDonActivity.java
UTF-8
6,324
1.851563
2
[]
no_license
package com.example.quanlykho.chi_tiet_hoa_don; import android.content.Intent; import android.os.Bundle; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.EditText; import android.widget.Spinner; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget...
true
94c85a82eaf4db1fdae51a329215eef1c324bfa7
Java
Ragelyna/EpicFarming
/src/main/java/com/songoda/epicfarming/storage/StorageItem.java
UTF-8
1,766
2.9375
3
[ "LicenseRef-scancode-other-permissive" ]
permissive
package com.songoda.epicfarming.storage; import com.songoda.epicfarming.utils.Serializers; import org.bukkit.inventory.ItemStack; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class StorageItem { private String key = null; private Object object; public StorageItem(...
true
db864fade596fb130b9f40d5f0e2e83548e60271
Java
svn2github/jbidibc
/tags/1.6.0/jbidibc/src/main/java/org/bidib/jbidibc/enumeration/PomOperation.java
UTF-8
496
2.421875
2
[]
no_license
package org.bidib.jbidibc.enumeration; public enum PomOperation implements BidibEnum { RD_BLOCK(0, "read-block"), RD_BYTE(1, "read-byte"), WR_BIT(2, "write-bit"), WR_BYTE(3, "write-byte"); private final byte type; private final String key; private PomOperation(int type, String key) { this.ty...
true
05a0052d2726c466711d88f8b0ab639ab1a83784
Java
LeoTheMighty/HorseSimulator
/src/Main.java
UTF-8
1,092
3.109375
3
[]
no_license
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Random; public class Main { public static void main(String[] args) { // For testing various things // System.out.println((League.PONY).toString())...
true
bafb7e87d341d9495fa7d7ea80c3f9e3d2e21cc8
Java
himananda2/practice
/src/main/java/arrays/Remove.java
UTF-8
557
3.515625
4
[]
no_license
package arrays; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; public class Remove { public static void main(String[] args) { ArrayList list = new ArrayList(); HashMap map = new HashMap(); map.remove(null); //list.remove(index); int[] arr = { 1, 2, 3, 4, 5, 6, 7 ...
true
22c637f267765061deb88791560b50913bde585c
Java
ifangeek/viewmodel_demo
/app/src/main/java/com/example/diegopacheco/viewmodel_demo/ui/MainActivity.java
UTF-8
1,687
2.03125
2
[]
no_license
package com.example.diegopacheco.viewmodel_demo.ui; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import com.example.diegopacheco.viewmodel_demo.R; import com.example.diegopacheco.viewmodel_demo.ui.View...
true
61cbb791a98521a96ad8c2ef6b07f1f05bea8042
Java
shimanyu/java
/dd153.java
UTF-8
669
2.25
2
[]
no_license
package day03.com.smy.kg; public class dd153 { public static void main(String[] args) { dd152 qwe = new dd152(); qwe.setName("薛之谦"); qwe.setNianling(26); qwe.setSubject("Java"); qwe.setXingbie("男"); qwe.show(); dd152 qwe2 = new dd152(); qwe2...
true
be5a0ecbd3180a10648edf2b221c061752db7417
Java
looooogan/icomp-4gb-api
/web/src/main/java/com/api/common/controller/AuthDepartmentController.java
UTF-8
3,713
2.03125
2
[]
no_license
package com.api.common.controller; import com.api.base.controller.BaseController; import com.common.pojo.AuthDepartment; import com.common.vo.AuthDepartmentVO; import com.service.common.IAuthDepartmentService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Control...
true
6f9818ee4a3f2111c84f27040f942f89b8ba79ae
Java
zbn123/PLARanker
/src/main/java/DataIO/Database.java
UTF-8
6,116
2.65625
3
[]
no_license
package DataIO; import org.apache.log4j.Logger; import Utils.Util; import java.sql.*; /** * Created by IntelliJ IDEA. * User: jigar.p * Date: Jul 15, 2010 * Time: 12:45:03 PM * To change this template use File | Settings | File Templates. */ public class Database { private static Logger log = Logger.getLo...
true
6a60d9985b22a2bd75122b3f762d7f27d6a2e13d
Java
johnzinhw/factory
/factory/src/br/edu/univas/ex/Dialog.java
UTF-8
299
2.375
2
[]
no_license
package br.edu.univas.ex; public abstract class Dialog { public void renderWindows () { System.out.println("Rendering windows"); Button okButton = createButton(); okButton.render(); okButton.onClick(); System.out.println("Sucessfull..."); } public abstract Button createButton(); }
true
d2f3d34c47c54d721df77ddcc389cae13df13a69
Java
StarBound6494/Toronto-Navigator
/src/main/java/net/inizicraft/starbound/NavigatorMenu.java
UTF-8
922
2.46875
2
[]
no_license
package net.inizicraft.starbound; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; impo...
true
4d2b6680074c87ff4b18220a810542eb88b212db
Java
bjt23/TrainController
/TNC/src/TNM/TNC_Test.java
UTF-8
1,133
2.28125
2
[]
no_license
package TNM; import TKM.*; /** * NSECS-TNC TEST INTERFACE * * @author (Ben Tomasulo) * @version (4/24/2013) */ public class TNC_Test { public static TNC_UI tncUI; public static TrainController testTNC; public static Block negout = new Block(-3, "A", "I", 100.0, 3.0, 60.0, false, false, true, false...
true
daaf0d1f8eb7096265332efc0d4f99084c05dc69
Java
Koleau/fapfap
/src/main/java/com/lolapiproject/repository/ChampionRepository.java
UTF-8
276
1.609375
2
[]
no_license
package com.lolapiproject.repository; import com.lolapiproject.bean.Champion; import org.springframework.data.mongodb.repository.MongoRepository; /** * Created by Pflieger on 27/04/2016. */ public interface ChampionRepository extends MongoRepository<Champion, Integer>{ }
true
be9f5bd40687ab57bf5083534ab91c471286f5da
Java
nbittich/bce-to-ttl
/src/main/java/tech/artcoded/csvtottl/utils/ShaclValidationUtils.java
UTF-8
1,262
2.015625
2
[]
no_license
package tech.artcoded.csvtottl.utils; import org.apache.jena.graph.Graph; import org.apache.jena.riot.Lang; import org.apache.jena.riot.RDFDataMgr; import org.apache.jena.riot.RDFParser; import org.apache.jena.shacl.ShaclValidator; import org.apache.jena.shacl.Shapes; import org.apache.jena.shacl.ValidationReport; imp...
true
0b7f3ac206b3312143ba0240d1c61e679e4895a8
Java
John930312/ghealth-aggregator
/ghealth-api/src/main/java/com/todaysoft/ghealth/mybatis/mapper/SendOrderDetailMapper.java
UTF-8
427
1.796875
2
[]
no_license
package com.todaysoft.ghealth.mybatis.mapper; import com.todaysoft.ghealth.mybatis.model.SignInHistory; import com.todaysoft.ghealth.mybatis.searcher.SignInOrderDetailSearcher; import java.util.List; public interface SendOrderDetailMapper { List<SignInHistory> search(SignInOrderDetailSearcher searcher); ...
true
4edfd526497044d0e7bde56d7e186c7104eb1aef
Java
nir20ane/Java
/leetcode/UniqueEmailAddress.java
UTF-8
1,880
3.640625
4
[]
no_license
/*Unique Email Addresses Every email consists of a local name and a domain name, separated by the @ sign. For example, in alice@leetcode.com, alice is the local name, and leetcode.com is the domain name. Besides lowercase letters, these emails may contain '.'s or '+'s. If you add periods ('.') between some characters i...
true
5174aedf6809428b0a5c5395100ed6ca297753a7
Java
guilhermejccavalcanti/storm
/external/storm-cassandra/src/test/java/org/apache/storm/cassandra/bolt/BaseTopologyTest.java
UTF-8
2,083
1.945313
2
[ "Apache-2.0", "GPL-1.0-or-later", "BSD-3-Clause", "MIT" ]
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
9b5ebe0e2440e05eace23ce21ddea1da69454916
Java
robson01nandes/ArqSw_Patterns-Criacionais
/design_pattens/src/aplicacaoNomesfactory/Nome.java
UTF-8
308
2.359375
2
[]
no_license
package nomesfactory; /** * * @author Igor Almeida * RA: 81617543 * */ public class Nome { private String nome; private String sobrenome; public Nome(String nome, String sobrenome) { this.nome = nome; this.sobrenome = sobrenome; } public String toString() { return nome + " " + sobrenome; } }
true
a8e810ffcda24e9a2b383c18b0aa61704259f575
Java
akakim/AdvancedSampleGroupApp
/app/src/main/java/group/sample/advanced/rrk/com/advancedsamplegroupapplication/data/AudioColumnClass.java
UTF-8
3,710
2.46875
2
[]
no_license
package group.sample.advanced.rrk.com.advancedsamplegroupapplication.data; import android.net.Uri; import android.os.Parcel; import android.os.Parcelable; import android.provider.MediaStore; /** * @author KIM * @version 0.0.1 * @date 2017-11-25 * @since 0.0.1 */ public class AudioColumnClass implements Parcelab...
true