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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
a603215df14c6eda02512fffaa072c6346dd3253 | Java | yonisho52/Android-Party-Project | /app/src/main/java/com/example/android_party_app/Model/UserTypeClasses/UserDJ.java | UTF-8 | 2,379 | 2.421875 | 2 | [] | no_license | package com.example.android_party_app.Model.UserTypeClasses;
import java.util.List;
public class UserDJ extends GeneralUser
{
private String stageName;
private String playingGenre;
private String youtubeLink; // change from url
private String spotifyLink; // change from url
private String appleMus... | true |
c3ff5fda250ced66a34711f87bf9e8c164335b1e | Java | Jolicous/grafikeditor | /src/Main.java | UTF-8 | 1,058 | 3 | 3 | [] | no_license | import figuren.*;
import java.awt.*;
import java.util.ArrayList;
import java.util.Vector;
public class Main {
private static final Display display = new Display();
private static ArrayList<Figur> figur = new ArrayList<>();
public static void main(String[] args) {
Rechteck rechteck = new Rechteck(... | true |
8560be78ebfe2e13e6131ae09899a736cc2bbd92 | Java | PropherTone/ImgIMGViewer | /app/src/main/java/com/example/imgviewer/TextROOM/Text.java | UTF-8 | 2,705 | 2.234375 | 2 | [] | no_license | package com.example.imgviewer.TextROOM;
import android.util.Log;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Date;
@Entity
public class Text {
@PrimaryKey(autoGenerate ... | true |
f7d68dc895b4a5adc63eb71f67f879ec83167bd0 | Java | yuhuan520/layUi-HospitalityManagement | /src/main/java/com/java/springBoot/entity/RoomType.java | UTF-8 | 643 | 2.421875 | 2 | [] | no_license | package com.java.springBoot.entity;
public class RoomType {
private Integer id;
private String roomTypeName;
private Float roomPrice;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getRoomTypeName() {
retu... | true |
bbaae9a30ba2c8c41cd9b8757e7d7e7e99e09263 | Java | HarshalBhalerao/BookStore-App | /app/src/androidTest/java/com/comp3350_group10/bookstore/SortTest.java | UTF-8 | 2,069 | 2.359375 | 2 | [] | no_license | /**
* As a user, I want to find all the genre specific novels.
*/
package com.comp3350_group10.bookstore;
import android.app.Activity;
import android.widget.TableLayout;
import android.widget.TableRow;
import android.widget.TextView;
import androidx.test.ext.junit.rules.ActivityScenarioRule;
import androidx.test.e... | true |
601d9ba82cdee9cf3c40f5f7953de409623eeddd | Java | TestingFrameworksLtd/javaTestFramework | /src/main/java/web/SharedDriver.java | UTF-8 | 1,815 | 2.53125 | 3 | [] | no_license | package web;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.support.events.EventFiringWebDriver;
import java.io.IOException;
/**
* Created by vika... | true |
ad7f92254ea3f916b499b23227a18ce7c505b5c3 | Java | FreezeIce1/western-fair | /western-fair/src/main/java/com/atcrowdfunding/service/impl/PartnerServiceImpl.java | ISO-8859-7 | 1,804 | 1.9375 | 2 | [] | no_license | package com.atcrowdfunding.service.impl;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.atcrowdfunding.bean.Partner;
import com.atcrowdfunding.bean.PartnerType;
import com.atcrowdfunding.d... | true |
4da6abc035fbdbc35476e05b4567b862c6e2490f | Java | tao-tao/BusinessModuleDesign | /avicit.ui.view.navigator/src/avicit/ui/runtime/core/node/ServiceNode.java | WINDOWS-1252 | 1,365 | 2.015625 | 2 | [] | no_license | package avicit.ui.runtime.core.node;
import org.eclipse.core.internal.resources.ResourceException;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import avicit.ui.core.runtime.resource.IFolderDelegate;
import avicit.ui.core.runtime.resource.IResourceDelegate;
import avicit.ui... | true |
46b19c01503aa34c3e411485cb6e39162eef790a | Java | artkostm/FlymerClient2 | /app/src/main/java/com/artkostm/flymer/flymerclient2/login/LoginHelper.java | UTF-8 | 2,250 | 2.21875 | 2 | [] | no_license | package com.artkostm.flymer.flymerclient2.login;
import com.artkostm.flymer.flymerclient2.login.model.FlymerUserInfo;
import com.artkostm.flymer.flymerclient2.login.model.LoginModel;
import org.jsoup.Connection;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import java.util.Map;
/**
* Created by arttsio... | true |
f7bcc8e02b9b0650d7ff5b6d4730f15f67031654 | Java | wyrkens/RollerbladesRentApp | /src/main/java/com/rollerbladeRentApp/api/model/Rent.java | UTF-8 | 402 | 1.882813 | 2 | [] | no_license | package com.rollerbladeRentApp.api.model;
import lombok.*;
import java.time.LocalDate;
import java.time.LocalDateTime;
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Rent {
private Long rentId;
private Customer customer;
private Rollerblades rollerblades;
private int pr... | true |
92e977b5ac471c6191059fd0704f83bca360fa90 | Java | gsg332/Select-android | /src/com/kcube/golaju/item/ModifyForm.java | UTF-8 | 5,706 | 2.265625 | 2 | [] | no_license | package com.kcube.golaju.item;
import java.net.URLEncoder;
import org.w3c.dom.Document;
import com.kcube.golaju.R;
import com.kcube.golaju.util.PropertyUtil;
import com.kcube.golaju.util.XmlUtil;
import com.kucbe.golaju.common.LoadingProgress;
import com.kucbe.golaju.common.NormalActivity;
import android.content.In... | true |
3b7c972f861e1b7d0623b1c03df9f7c21cbd0784 | Java | anthyllide/Jeu-de-pendu | /src/fr/alexandra/model/Word.java | ISO-8859-1 | 3,305 | 3.125 | 3 | [] | no_license | package fr.alexandra.model;
import java.awt.Desktop;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.LineNumberReader;
import java.lang.reflect.Array;
import java.net... | true |
7fb07fd4c4efea71964a2c2d5279e57560a49a62 | Java | pansanday/repository | /git-common/src/main/java/com/git/jdbc/BoneCpDao.java | UTF-8 | 258 | 1.820313 | 2 | [] | no_license | package com.git.jdbc;
import java.util.Map;
/**
* @author pansanday
* @since 2016年1月14日
*/
public interface BoneCpDao {
/**
* 根据主键获取该条记录
* @param id
*/
public Map<String, Object> fetchData(String id);
}
| true |
08a7d7cb5977bca5436f699539482600b3f723d1 | Java | AlexOstin7/practice_2019 | /src/main/java/ru/bellintegrator/practice/dao/impl/UserDAOImpl.java | UTF-8 | 7,677 | 2.09375 | 2 | [] | no_license | package ru.bellintegrator.practice.dao.impl;
import org.hibernate.Criteria;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
import org.hibernate.criterion.Conjunction;
import org.hibernate.criterion.Disjunction;
import org.hibernate.criterion.Restrictions;
imp... | true |
18d6c469b25f0e8eb2edee49617178ca2539950d | Java | go-soojin/JAVA | /Project0413_1/src/ExecClass.java | UTF-8 | 283 | 2.109375 | 2 | [] | no_license |
public class ExecClass implements AClass {
public static void main(String[] args) {
System.out.println();
}
@Override
public void todoMethod() {
// TODO Auto-generated method stub
}
@Override
public void todoMethod2() {
// TODO Auto-generated method stub
}
}
| true |
24903364eb861ab04747cb9744f75da00f055ecb | Java | Samourai-Wallet/samourai-wallet-android | /app/src/main/java/com/samourai/wallet/network/NetworkDashboard.java | UTF-8 | 18,568 | 1.554688 | 2 | [
"Unlicense"
] | permissive | package com.samourai.wallet.network;
import android.app.Activity;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import androidx.constraintlayout.widget.ConstraintLayout;
import com.google.android.material.snackbar.Snackbar;
im... | true |
aaed89c5f5bef61c058943f2bebacd38160917da | Java | dongbruno/StationerySystem_mysql | /StationerySystem/src/citi/export/excel/ExportExcel.java | UTF-8 | 233 | 1.5625 | 2 | [] | no_license | package citi.export.excel;
public interface ExportExcel {
int TOTALINFO_AT_COLUMN = 3;
String generatePurchaseExcel(String location) throws Exception;
String generateDispatchExcel(String location) throws Exception;
}
| true |
04cf4ce308a26f577d5cbb58541e2ba4059fd173 | Java | centronairmontezdecastro/cenmc-web | /src/br/org/cenmc/faces/PessoaConverter.java | UTF-8 | 803 | 2.390625 | 2 | [] | no_license | package br.org.cenmc.faces;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
import javax.faces.convert.FacesConverter;
import javax.inject.Inject;
import br.org.cenmc.model.Pessoa;
@FacesConverter(value = "pessoaConverter")
public class PessoaC... | true |
2f9e0f1a9dd5a3b178ed2a79ce78e3f9cbf3d92a | Java | lylerolleman/SIDSL | /src/Expressions/Neg.java | UTF-8 | 1,544 | 2.609375 | 3 | [] | no_license | package Expressions;
import java.util.ArrayList;
import org.antlr.runtime.tree.CommonTree;
import Global.Expr_Return;
import Global.PersistentData;
import Global.TypeSystem;
import PIExceptions.PIException;
import PIExceptions.NotANumberException;
import PIExceptions.TypeCastException;
import SymbolTable.KeyValue;
i... | true |
637ee4db68e264e6e741e231efe4206347d89d48 | Java | sbadi99/price-ui-sample-project | /app/src/main/java/com/goodrx/android/di/module/RetrofitModule.java | UTF-8 | 1,873 | 2.28125 | 2 | [] | no_license | package com.goodrx.android.di.module;
import com.goodrx.android.api.RetrofitApiClient;
import com.goodrx.android.api.EndPoint;
import com.goodrx.android.di.scopes.ApplicationScope;
import dagger.Module;
import dagger.Provides;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit... | true |
8dadfb30e49113f56cc71daf2b90adde579195f7 | Java | chandantiwari-19/TransClient | /TransClient/src/main/java/trans/response/TransliterationResponseNode.java | UTF-8 | 828 | 2.390625 | 2 | [] | no_license | package trans.response;
import java.util.List;
public class TransliterationResponseNode {
private String inString;
private List<String> outString;
private int apiStatus;
public TransliterationResponseNode(String inString, List<String> outString, int apiStatus) {
this.inString = inString;
this.outString = ... | true |
12d8dc092d5cb59452aa25885c3209512b3a853e | Java | vamsikrishna2193/selfproj | /Selenium_maven/src/main/java/Seleniumpracticeprogs/screenshotTest.java | UTF-8 | 917 | 2.15625 | 2 | [] | no_license | package Seleniumpracticeprogs;
import org.testng.Assert;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Listeners;
import org.testng.annotations.Test;
//This is used in order to respond to Listnerclass we use @Listeners,cutomListener.clas... | true |
d121acddc8ee53127ce0e0a5d84b5a4bf39d3716 | Java | KodaxClient/Kodax | /src/main/java/me/kodingking/kodax/utils/GuiUtils.java | UTF-8 | 1,829 | 2.265625 | 2 | [] | no_license | package me.kodingking.kodax.utils;
import java.awt.Color;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.Gui;
import net.minecraft.client.gui.ScaledResolution;
import net.minecraft.client.renderer.EntityRendere... | true |
96a841aec2258ab5e0708e7791278fe52ea6995c | Java | MikePaz/Cb7Project | /cb7teamProtoBack/src/main/java/com/klicks/klicks/KlicksApplication.java | UTF-8 | 531 | 1.617188 | 2 | [] | no_license | package com.klicks.klicks;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import com.klicks.klicks.property.FileStorageProperties;
@SpringBootApplication
... | true |
16c5604832af347ec403462b89b6690b1c597234 | Java | Eldodo/VERSO | /master/verso/verso/src/verso/activator/Application.java | UTF-8 | 965 | 1.945313 | 2 | [] | no_license | package verso.activator;
import org.eclipse.core.resources.IncrementalProjectBuilder;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.equinox.app.IApplication;
import org.eclipse.equinox.app.IApplicationContext;
import verso.representation.cubeLandscape.PluginScene;
import verso.representation.c... | true |
541289dffd8b2f39add5f4ed361906175394c92f | Java | baobao110/ATM- | /src/com/dayuanit/atm/test/AtmServiceTest2.java | UTF-8 | 1,190 | 2.4375 | 2 | [] | no_license | package com.dayuanit.atm.test;
import com.dayuanit.atm.service.AtmService;
import com.dayuanit.atm.service.impl.AtmServiceImpl;
import com.dayuanit.atm.service.impl.AtmServiceImpl2;
public class AtmServiceTest2 {
private static final AtmService service = new AtmServiceImpl();
// private static final AtmService ser... | true |
f569e38c93c31f842adcfe647f07056a9037efdd | Java | dleenattv/demo-jpa-subway | /src/main/java/jpa/study/demojpasubway/domain/line/service/LineService.java | UTF-8 | 1,729 | 2.546875 | 3 | [] | no_license | package jpa.study.demojpasubway.domain.line.service;
import jpa.study.demojpasubway.api.dto.LineCreateDto;
import jpa.study.demojpasubway.domain.line.entity.Line;
import jpa.study.demojpasubway.domain.line.repository.LineRepository;
import org.springframework.stereotype.Service;
import javax.persistence.EntityNotFoun... | true |
8c414cce4e55deddbbd86665eb2bcf424a81601c | Java | rogerdavila/BambinoCare2 | /BambinoCareAPI/src/main/java/com/bambinocare/api/bambinocareAPI/model/PersonalReference.java | UTF-8 | 2,529 | 2.296875 | 2 | [] | no_license | package com.bambinocare.api.bambinocareAPI.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persis... | true |
b4102a1935a3fb245dad8ecb91918e62779254c1 | Java | miyurud/siddhi-llvm-benchmarks | /EsperBenchmark/FilterBenchmark/src/main/java/DataGenerator.java | UTF-8 | 494 | 3.140625 | 3 | [
"Apache-2.0"
] | permissive | public class DataGenerator {
float data;
long currentTime;
public DataGenerator(float data, long currentTime) {
this.data = data;
this.currentTime = currentTime;
}
public float getData() {
return data;
}
public void setData(float data) {
this.data = data;
... | true |
a03aa402a09d3ce96fab90867b43e177c9709cf3 | Java | Lafilosofia/practice | /Subject03.java | UTF-8 | 808 | 3.671875 | 4 | [] | no_license | /**
* 在一个 n * m 的二维数组中,每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序。
* 请完成一个函数,输入这样的一个二维数组和一个整数,判断数组中是否含有该整数。
*/
public class Subject03 {
public boolean findNumber2DArray(int[][] matrix,int target){
if(matrix == null || matrix.length == 0 || matrix[0].length == 0){
return false;
}
... | true |
3e6c5c6869a74d9d50588e9351ce4d3680bb3952 | Java | faterkery/InternetOfThings | /monitor/src/java/share/com/tyloo/vo/StrDb.java | UTF-8 | 182 | 1.851563 | 2 | [] | no_license | package com.tyloo.vo;
public class StrDb {
private String strDb;
public String getStrDb() {
return strDb;
}
public void setStrDb(String strDb) {
this.strDb = strDb;
}
}
| true |
b651e9645fd7432d02a2b5df4d4824ca36ed4d62 | Java | sun2141/Freekick-2 | /src/preprocessing/java/config.java | UTF-8 | 634 | 1.65625 | 2 | [] | no_license | public class config {
public static final String INPUT_FILE_PATH = "src/main/resources/out.csv/";
public static final String OUTPUT_FILE_PATH = "src/main/resources/output/";
public static final String demographics_input = INPUT_FILE_PATH+"england.csv";
public static final String BASE_URL = "http://ww... | true |
cfa60ada9bfcf25b0805481bd55457dd873c37f5 | Java | autentia/pdfbox | /xmpbox/src/main/java/org/apache/padaf/xmpbox/schema/PDFAPropertyDescription.java | UTF-8 | 6,629 | 2.140625 | 2 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"APAFML",
"Adobe-Glyph",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-unknown"
] | 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 th... | true |
02e5b1b4a11ed9f38a11a54134172b9a1e0426bc | Java | hyojaekim/algorithm_practice | /app/src/test/java/practice/study/자물쇠와_열쇠.java | UTF-8 | 2,157 | 3.03125 | 3 | [] | no_license | package practice.study;
import java.util.Arrays;
public class 자물쇠와_열쇠 {
int holeCnt;
public boolean solution(int[][] key, int[][] lock) {
this.holeCnt = 0;
lock = padding(lock);
if (holeCnt == 0) return true;
for (int i = 0; i < 4; i++) {
if (isCollect(key, loc... | true |
a15990247570d61ff32bf10297fbd91273b37d92 | Java | kuzmin2021/sms-sender | /src/main/java/ru/dezhik/sms/sender/api/smsru/status/SMSRuStatusHandler.java | UTF-8 | 1,361 | 2.296875 | 2 | [] | no_license | package ru.dezhik.sms.sender.api.smsru.status;
import java.util.List;
import java.util.StringTokenizer;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import ru.dezhik.sms.sender.RequestValidationException;
import ru.dezhik.sms.sender.api.smsru.AbstractSMSRuApiHandler;
impor... | true |
059258a39921c498eeecb41b8fd6065adcc7c934 | Java | sekift/tarpan | /src/main/java/com/tarpan/www/util/LogUtils.java | UTF-8 | 2,575 | 2.90625 | 3 | [
"Apache-2.0"
] | permissive | package com.tarpan.www.util;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* @author: sekift
* @date: 2020/10/20 11:15
* @description: 日志处理统一管理类
*/
public class LogUtils {
/**
* 错误输入日志
*/
public static final Logger log = LoggerFactory.getLogger(LogUtils.class);
/**
* 记录... | true |
7690b8babde0a52cfac10508e690625b8646903c | Java | justinaltena/huiswerkSemester2 | /huiswerkJava/src/huiswerk14/Acteur.java | UTF-8 | 403 | 2.078125 | 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 huiswerk14;
/**
*
* @author W10
*/
public class Acteur {
private String naam;
private Rol rol;
public Acteur(... | true |
74e1022991f59ca3cea2dea7af7a6a8c8da072d7 | Java | lkl123456/education1 | /adks-people_express/adks-commons/src/main/java/com/adks/commons/util/WebConstants.java | UTF-8 | 374 | 1.570313 | 2 | [] | no_license | package com.adks.commons.util;
/**
* 常量
* @author harry
*
*/
public class WebConstants {
//总校的唯一 标识,前后通用
public static final String ORG_NAME_PLATFORM = "gclc";
//前台用到的配置文件
public static final String CONFIG_NAME = "config.properties";
//platform web
public static final String VIDEO_PATH = "media.videoPat... | true |
d29a2db17971079ded62f30b2c2014b74882f7f2 | Java | samlepyrate/covoiturage | /src/main/java/model/UserBean.java | UTF-8 | 4,503 | 2.140625 | 2 | [] | no_license | package model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Transient;
@Entity
public class UserBean {
@Id
@GeneratedValue
private long id;
private String profil; // conducteur, passager
private String email;
private String no... | true |
a0a9d2737819d071eacbbbd8bbc35875fc195c68 | Java | JuulArthur/logres | /src/exercise2/RushHourNode.java | UTF-8 | 3,034 | 3.3125 | 3 | [] | no_license | package exercise2;
import java.awt.Point;
import java.util.ArrayList;
public class RushHourNode implements Node{
//Spesific node to solve the Rush Hour puzzle
private int costToNode;
private int estimationToGoal;
private int totalCost;
private Boolean isGoal;
private Board board;
private int state;
private Bo... | true |
9fb53593f22b782e8d6542691aaebbec55e91266 | Java | SlavisWolf/ProyectoRecetas | /app/src/main/java/com/recetas/aplicacion/aplicacionrecetas/Pojo/Usuario.java | UTF-8 | 3,908 | 2.34375 | 2 | [] | no_license | package com.recetas.aplicacion.aplicacionrecetas.Pojo;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.Date;
import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
/**
* Created by anton on 01/05/2017.
*/
@DatabaseT... | true |
a73ba30526a634ee2345bcba4b1db8a1579b2d16 | Java | fusionmc-evilscoop/FusionInstalle.Src | /org/apache/log4j/lf5/viewer/categoryexplorer/CategoryImmediateEditor.java | UTF-8 | 3,167 | 2.09375 | 2 | [] | no_license | /* */ package org.apache.log4j.lf5.viewer.categoryexplorer;
/* */
/* */ import java.awt.Dimension;
/* */ import java.awt.Rectangle;
/* */ import java.awt.event.MouseEvent;
/* */ import java.util.EventObject;
/* */ import javax.swing.Icon;
/* */ import javax.swing.JLabel;
/* */ impor... | true |
fe305e448d915bede1f6ce3aab9810a0b99027c6 | Java | zhanght86/pdsci | /src/com/pinde/sci/enums/srm/ProjEvaluationStatusEnum.java | WINDOWS-1252 | 643 | 2.171875 | 2 | [] | no_license | package com.pinde.sci.enums.srm;
import com.pinde.core.commom.GeneralEnum;
import com.pinde.core.util.EnumUtil;
public enum ProjEvaluationStatusEnum implements GeneralEnum<String> {
Evaluation("evaling",""),
;
private final String id;
private final String name;
ProjEvaluationStatusEnum(String i... | true |
2f7ccd538513af3078d2c24ddd271cb0655ec81d | Java | markmakemate/cloud | /src/main/java/repository/AdminRepository.java | UTF-8 | 719 | 2.015625 | 2 | [] | no_license | package repository;
import model.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotyp... | true |
8118f45feca81b7745732f6e6e8280885cd09d73 | Java | zeng233/rejdk | /sun/management/counter/perf/PerfInstrumentation.java | UTF-8 | 6,828 | 1.882813 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | true |
a86c7ee8d6b0d5988a1d8116050c0f7697d519db | Java | Paladin1412/house | /java/classes/android/support/v4/graphics/TypefaceCompatApi26Impl.java | UTF-8 | 17,211 | 1.859375 | 2 | [
"Apache-2.0"
] | permissive | package android.support.v4.graphics;
import android.content.Context;
import android.content.res.AssetManager;
import android.content.res.Resources;
import android.graphics.Typeface;
import android.graphics.fonts.FontVariationAxis;
import android.support.v4.content.res.FontResourcesParserCompat.FontFamilyFilesResourceE... | true |
0b6e8a87c6c8b1eef0688840b2e1d590d9669c69 | Java | tongweiInDm/jh | /ImagePickerDemo/app/src/main/java/com/tw/image/IItemUIEventHandler.java | UTF-8 | 163 | 1.859375 | 2 | [] | no_license | package com.tw.image;
public interface IItemUIEventHandler {
boolean onUserAddItem(ImageItem imageItem);
boolean onUserRemoveItem(ImageItem imageItem);
}
| true |
dc6e73eadbbfdcef414f4e289930dd6d9d49a7f6 | Java | PeterXn/JvmDemo | /chapter13/src/com/atguigu/java/StringObjectTest.java | UTF-8 | 387 | 2.515625 | 3 | [] | no_license | package com.atguigu.java;
/**
* Created with IntelliJ IDEA.
* To change it use File | Settings | Editor | File and Code Templates.
*
* @author Peter
* @date 2021/9/27 15:44
* @description: TODO
* <p>
* new String("ab");到底创建了几个对象?
*/
public class StringObjectTest {
public static void main(String[] args) {
... | true |
625691b2eb74219d12ee866e07e4162211fe0968 | Java | GreenApple-jsy/swEngineering-Assignment | /sw_all/src/sw_all/Main_Memo.java | UHC | 8,839 | 3.1875 | 3 | [] | no_license | package sw_all;
import java.io.*;
import java.util.Scanner;
public class Main_Memo {
static Scanner s = new Scanner(System.in);
public static void main(String args[]) {
Select_m();
return;
}
static void Select_m(){
File file = new File("c://Example//File");
if(!file.exists... | true |
d6407084178ae8aeba281bac1b7bb01c0041b4a2 | Java | Mo-AG/xinlizixun_app | /paopao_studio/app/src/main/java/base/BaseSwipeBackActivity.java | UTF-8 | 7,440 | 1.820313 | 2 | [] | no_license | package base;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.support.annotation.IdRes;
import android.support.annotation.NonNull;
import android.support.v4... | true |
7189435036a40db42288b37a0b840d6f44c9b853 | Java | Masyun/socket-server-client | /src/abs/component/Component.java | UTF-8 | 601 | 3.109375 | 3 | [] | no_license | package abs.component;
/**
* Abstraction over the bigger components of the system, like the client and server
* It allows us to give a standard flow to both of our modules by invoking one method
*/
public abstract class Component {
/**
* The driver code for any component
* By giving the correct impl... | true |
62d3e92a62737f15fc7447c043148f80699d9cce | Java | lmpick/synonym | /benchmarks/github/ContactModelImpl.java | UTF-8 | 42,089 | 1.609375 | 2 | [] | no_license | /* ./liferay-liferay-portal-b66e4b4/portal-impl/src/com/liferay/portal/model/impl/ContactModelImpl.java */
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as pub... | true |
b49e1fad7bb9344b8ada7df91e59ae753c813828 | Java | guncha301290/AutomationTest | /ConduitTest/src/test/java/dataProvider/ConfigFileReader.java | UTF-8 | 5,396 | 2.515625 | 3 | [] | no_license | package dataProvider;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Date;
import java.util.Properties;
import enums.DriverType;
import enums.EnvironmentType;
public class ConfigFileReader {
private Properties... | true |
994b8748de6f9f281c3d27fcdb599c5a2ba2cb17 | Java | Akash642-eng/DBMS-Mini-project | /PRO/src/adminview.java | UTF-8 | 20,294 | 2.09375 | 2 | [
"BSD-3-Clause"
] | permissive | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author nithi
*/
public class adminview extends javax.swing.JFrame {
/**
* Creates new form adminview
*/
... | true |
0e28f47b62871d3fcae4a8f0d88c667c8be8e950 | Java | cbarruffaldi/EDA | /1ºParcial/src/taller/OpenParenthesis.java | UTF-8 | 256 | 3.078125 | 3 | [] | no_license | package taller;
public class OpenParenthesis implements Operator {
String string = "(";
int precedence = 2;
@Override
public double apply(double a, double b) {
return a + b;
}
@Override
public int precedence() {
return this.precedence;
}
}
| true |
2ed7fbf6b0134950e476ffba4f8ce83582a37ac7 | Java | ssjy/proj1 | /theacherProj2/src/jdbc_p/YoonMain.java | UTF-8 | 457 | 1.960938 | 2 | [] | no_license | package jdbc_p;
public class YoonMain {
public static void main(String[] args) {
// TODO Auto-generated method stub
ExamDAO dao = new ExamDAO();
for(ExamDTO dto :dao.getList())
{
System.out.println(dto);
}
// System.out.println(new ExamDAO().ge... | true |
40c02ffa1ad7a0b17ac42054fae956eb7093ff2d | Java | xiodozzh/MaiganApp | /presentation/src/main/java/com/mgtech/maiganapp/utils/AlarmUtil.java | UTF-8 | 1,961 | 2.46875 | 2 | [] | no_license | package com.mgtech.maiganapp.utils;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import com.mgtech.maiganapp.receiver.MyAlarmReceiver;
public class AlarmUtil {
public static Intent getAlarmIntent(Context context) {
retur... | true |
32d5a2328596470b905dfab72cfea0f90e9a924c | Java | rodrigosiqueira/logbook | /designPatter/Method_Factory/Java/PizzaStore/pizzaStore/src/codigo/NYStyleCheesePizza.java | UTF-8 | 267 | 2.453125 | 2 | [] | no_license | package codigo;
public class NYStyleCheesePizza extends Pizza
{
public NYStyleCheesePizza()
{
name = "Piza no estilo NY - Tempero e queijo";
dough = "Massa fina e crocante";
sauce = "Maninara";
topping.add("Grande quantidade de queijo Reggiano");
}
}
| true |
64d5952484400aaa542bb9ac8ed5ce351ff672a5 | Java | candelo09/CristhianCandelo | /src/java/logica/FacturaLogica.java | UTF-8 | 1,571 | 2.03125 | 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 logica;
import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import modelo.DetalleFactura;
import modelo.P... | true |
a26f72f4045b5fb58ba5300c4fe1fc45fbfa820c | Java | Qualified-gad/qualified_io | /src/leetcode/RemoveNthNodeFromEndofList.java | UTF-8 | 469 | 3.046875 | 3 | [] | no_license | package leetcode;
/**
* Created by anthony on 5/16/14.
*/
public class RemoveNthNodeFromEndofList {
public ListNode removeNthFromEnd(ListNode head, int n) {
ListNode p = head, q = head;
for(int i = 0; i < n; i++)
p = p.next;
//remove head...
if(p==null) return head.nex... | true |
6ba64fd533d58bfa4414399dfb62b3185d1d62a6 | Java | petrfilip/webalyt | /webalyt-plugin-loading-performance-info-recorder/src/main/java/cz/upce/webalyt/plugin/performancecollector/WebalytPluginController.java | UTF-8 | 837 | 2.09375 | 2 | [] | no_license | package cz.upce.webalyt.plugin.performancecollector;
import cz.upce.webalyt.analytics.sessionplayertest.entity.LoadingPerformance;
import cz.upce.webalyt.analytics.sessionplayertest.repository.LoadingPerformanceRepository;
import cz.upce.webalyt.plugin.core.SimpleMessageProcessor;
import org.springframework.beans.fact... | true |
4ae902bf5516a71bce009fd91a95b47368e2abe3 | Java | FeilyZhang/tablesaw | /html/src/main/java/tech/tablesaw/io/html/HtmlWriter.java | UTF-8 | 3,468 | 2.59375 | 3 | [
"Apache-2.0"
] | permissive | /*
* 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
* distribut... | true |
e710d10bb51f5862184cbb4f1d92b28f32bab6da | Java | idani301/Dronefleet-PreSigma | /controller-tcpip-common/src/main/java/eyesatop/controller_tcpip/common/PipeBroadcastInfo.java | UTF-8 | 714 | 2.453125 | 2 | [] | no_license | package eyesatop.controller_tcpip.common;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
public class PipeBroadcastInfo {
private static final String DRONE_ID = "droneID";
private static final String IP = "ip";
private final int droneID;
pr... | true |
f390f31fef9b75123fc40710d95683941a4f86fb | Java | wangning1/konwledge-re-disc | /dubbo/dubbo_memcache/src/main/java/com/aop/AopController/CacheAnnotationAspectController.java | UTF-8 | 1,278 | 2.21875 | 2 | [] | no_license | package com.aop.AopController;
import com.annotation.CacheEvict;
import com.annotation.Cacheable;
import com.aop.AopAspect.CacheAnnotationAspect;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.an... | true |
ea6f7fa020bed8b64662ad61db884d80cdacd427 | Java | e-polischuk/MoreLessWithGUI | /src/test/java/ua/itea/moreless/ControllerTest.java | UTF-8 | 1,567 | 2.46875 | 2 | [] | no_license | package ua.itea.moreless;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
import static org.mockito.Mockito.*;
import static ua.itea.moreless.MLConst.*;
import org.junit.Test;
public class ControllerTest {
@Test
public void run() {
final St... | true |
11d0e5751aaa9d8ce879bbdba5d9ff67538ce48c | Java | Prilipko/java-junior-lab | /rxjava/src/main/java/observableCreation/DeferExample.java | UTF-8 | 830 | 3.0625 | 3 | [] | no_license | package observableCreation;
import rx.Observable;
/**
* Created by oleksandr.prylypko on 29.06.2017.
*/
public class DeferExample {
public static void main(String[] args) throws InterruptedException {
Observable<Long> o = Observable.defer(() -> Observable.just(System.currentTimeMillis()));
o.sub... | true |
f9f8b4a043bf87c942c1f954a92c2131f4cbf057 | Java | sergivb01/StaffUtilities | /src/main/java/site/solenxia/staffutilities/listeners/PlayerListener.java | UTF-8 | 1,230 | 2.4375 | 2 | [] | no_license | package site.solenxia.staffutilities.listeners;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.event.player.PlayerQuitEvent;
import site.solenxia.staffutilities.StaffUti... | true |
f33c655eaf7c67b7ee68034ee3e79db7b25a1438 | Java | lieweschwerzel/rent-share-backend | /src/main/java/com/rentshare/repository/AdvertRepository.java | UTF-8 | 594 | 1.945313 | 2 | [] | no_license | package com.rentshare.repository;
import com.rentshare.model.Advert;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
public interface AdvertRepository extends JpaRepository<Advert, Long> {
List<Advert> findByTitleContaining(String title);
Advert findAdvertById(Long id);
... | true |
e668bc3a62205dffd863d350a10c77b676399103 | Java | varunam/DevAppForKK | /app/src/main/java/com/kannadakali/developerapp/app/devappforkk/data/firebase/EntertainmentContentProvider.java | UTF-8 | 17,398 | 2.359375 | 2 | [] | no_license | package com.kannadakali.developerapp.app.devappforkk.data.firebase;
import android.content.Context;
import android.support.annotation.NonNull;
import android.util.Log;
import android.widget.Toast;
import com.google.firebase.database.*;
import com.kannadakali.developerapp.app.devappforkk.data.model.SimpleVideo;
import ... | true |
0cea7570d29bdb924672485c64e2c5133a7430be | Java | conlan/compound-finance-bot | /src/com/conlan/compound/serialization/MarketHistoryObject.java | UTF-8 | 2,037 | 2.578125 | 3 | [] | no_license | package com.conlan.compound.serialization;
import java.util.ArrayList;
import com.conlan.compound.TokenUtils.Token;
public class MarketHistoryObject {
public ArrayList<ValueObject> total_supply_history;
public ArrayList<ValueObject> total_borrows_history;
private ArrayList<RateObject> supply_rates;
private Array... | true |
54c3d7cd7df1c8294deb096e0d7a955277d4f9be | Java | zhenishkaziev/HomeWork8 | /src/h/HavingSuperAbility.java | UTF-8 | 109 | 1.96875 | 2 | [] | no_license | package h;
public interface HavingSuperAbility {
void applySuperAbility(Boss boss, Heroes[] heroes);
}
| true |
9b43d6c75c8b54411a033fa2e33b4760d245a2c2 | Java | menucha-de/Util.HAL | /src/main/java/havis/application/base/Service.java | UTF-8 | 368 | 1.734375 | 2 | [
"Apache-2.0"
] | permissive | package havis.application.base;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
@RemoteServiceRelativePath("service")
public interface Service extends RemoteService {
String start();
Content getContent();
Content getContent(Content ... | true |
1284b09ac5bf039587e1bb5d6db3dbbf169b614e | Java | ASofterSpace/Toolbox-Java | /src/com/asofterspace/toolbox/Utils.java | UTF-8 | 2,179 | 2.890625 | 3 | [
"Unlicense"
] | permissive | /**
* Unlicensed code created by A Softer Space, 2018
* www.asofterspace.com/licenses/unlicense.txt
*/
package com.asofterspace.toolbox;
import com.asofterspace.toolbox.utils.BitUtils;
import com.asofterspace.toolbox.utils.DateUtils;
import java.util.Date;
public class Utils {
public final static int TOOLBOX_V... | true |
1ea21e62363cbbd9e5b94a1840ae861ec6afcb13 | Java | PiotrSkorupa/fileDifferentiator | /src/app/view/Displayable.java | UTF-8 | 121 | 2.09375 | 2 | [] | no_license | package app.view;
import java.io.IOException;
public interface Displayable {
void display() throws IOException;
}
| true |
9aca9aec89ba8d65dce4ca987dbc23cb028c3b88 | Java | palashcrs/fms-service | /src/main/java/com/get/edgepay/fms/domain/dto/FmsRuleCacheDto.java | UTF-8 | 267 | 1.515625 | 2 | [] | no_license | package com.get.edgepay.fms.domain.dto;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
@Data
public class FmsRuleCacheDto implements Serializable {
private final static long serialVersionUID = 1L;
private List<FmsRuleDto> ruleList;
}
| true |
eda46e161392ecede824dbecd032c261cf7dfc96 | Java | egortcevasofia/crop-crop-resize-resize | /src/main/java/mts/teta/ImageProcessor.java | UTF-8 | 2,316 | 2.65625 | 3 | [] | no_license | package mts.teta;
import marvin.image.MarvinImage;
import marvin.io.MarvinImageIO;
import mts.teta.imagehandlers.*;
import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.IOException;
import static marvinplugins.MarvinPluginCollection.scale;
import static marvinplugins.MarvinPluginCollecti... | true |
8fb9f6663ab8482614646d346f86e2cb5fe864d9 | Java | debezium/debezium | /debezium-connector-oracle/src/main/java/io/debezium/connector/oracle/OracleStreamingChangeEventSourceMetricsMXBean.java | UTF-8 | 10,220 | 2.09375 | 2 | [
"MIT",
"Apache-2.0",
"Artistic-1.0-Perl",
"LicenseRef-scancode-unicode",
"LicenseRef-scancode-warranty-disclaimer",
"Zlib",
"LGPL-2.1-only",
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"GPL-1.0-or-later",
"LGPL-2.0-or-later",
"Apache-1.1",
"GPL-3.0-only",
"GPL-2.0-only",
"Artisti... | permissive | /*
* Copyright Debezium Authors.
*
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package io.debezium.connector.oracle;
import java.math.BigInteger;
import java.util.Set;
import io.debezium.pipeline.metrics.StreamingChangeEventSourceMetricsMXBe... | true |
669926d74684393a4055e58e2ea6443e10362dd0 | Java | snh-png/Challenges | /src/DataStructure/Tree/IdenticalBTree.java | UTF-8 | 3,499 | 4.1875 | 4 | [] | no_license | /*
package DataStructure.Graph;
import DataStructure.Tree.BinaryTree;
import java.util.ArrayList;
import java.util.List;
public class IdenticalBTree {
public static class BinaryTreeNode {
}
// Function to check if the two trees are identical
public static boolean areIdentical(BinaryTreeNode... | true |
d89f56a2d8920d349435050e9ecc66f17455fd53 | Java | topazb/mmn14 | /mmn14/Tester2.java | UTF-8 | 3,499 | 2.921875 | 3 | [] | no_license |
/**
* Write a description of class Test here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Tester2
{
public static void checkFind() {
int[][] mat = {
{1, 2},
{3, 4}};
int[][] mat1 = {
{-4,-2,6,9},
... | true |
b997487b0953adf3136102444e2253945c0cc97b | Java | suneelpamujula035/Java_Practices_03 | /spring-jdbc-select-002/src/com/seleniumexpress/dao/StudentDAOImpl.java | UTF-8 | 3,279 | 2.8125 | 3 | [] | no_license | package com.seleniumexpress.dao;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.BeanPropertyRowMapper;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;
import co... | true |
0102a14533712b2df01990a03f04a0c1da1d4c47 | Java | uuuzombie/web_demo_multi_tenant_separate_schema | /src/main/java/com/sky/demo/web_demo_multi_tenant_separate_schema/notification/queue/EndpointNotificationQueueServiceImpl.java | UTF-8 | 1,033 | 2.203125 | 2 | [] | no_license | package com.sky.demo.web_demo_multi_tenant_separate_schema.notification.queue;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
/**
* Created by user on 17/3/18.
*/
@Service
public class EndpointNotificationQueueServiceImpl extends BaseNotificationQueueService ... | true |
55e66f20fbf1f3dc61d2ae364778f65db897e5e9 | Java | ryan4456/MSD_DevelopmentArtefacts | /04_API_Project/VTL/server/src/main/java/com/luulsj/www/yuyue/server/controller/LoginController.java | UTF-8 | 1,203 | 2.25 | 2 | [] | no_license | package com.luulsj.www.yuyue.server.controller;
import com.jfinal.core.Controller;
import com.jfinal.plugin.redis.Cache;
import com.jfinal.plugin.redis.Redis;
import com.jfinal.plugin.redis.RedisPlugin;
import com.luulsj.www.yuyue.server.bean.ResultBean;
import com.luulsj.www.yuyue.server.util.StringUtil;
public cla... | true |
11baa412e8860bea0c6d46b9cb57dc4a48c5c022 | Java | mahmoudEldeeb/Asset | /models/Prefrences.java | UTF-8 | 1,009 | 2.28125 | 2 | [] | no_license | package com.g2m.asset.models;
import android.content.Context;
import android.content.SharedPreferences;
import com.g2m.asset.util.Constants;
public class Prefrences
{
public static SharedPreferences getPrefrence(){
SharedPreferences preference;
preference= Constants.context.getSharedP... | true |
400ee804c21e24fa94406145a9e8e2a2c8bd63c0 | Java | mBaenaCh/MyP | /app/src/main/java/com/example/vdanielmora/myp/Helper/ValidacionEntradas.java | UTF-8 | 1,743 | 2.8125 | 3 | [] | no_license | package com.example.vdanielmora.myp.Helper;
import android.content.Context;
import android.util.Patterns;
import android.widget.EditText;
import android.widget.Toast;
public class ValidacionEntradas {
private Context context;
public ValidacionEntradas(Context context){
this.context = context;
}
... | true |
439f26566d59a64dfbbe7e144c7e09e7450ae1ac | Java | purplexsu/purple-haze | /src/com/purplehaze/Division.java | UTF-8 | 1,372 | 2.671875 | 3 | [] | no_license | package com.purplehaze;
import com.purplehaze.output.Translations;
/**
* The division of the site content.
*/
public enum Division {
BLOG('b', Translations.BLOG, false, true),
TRAVEL('t', Translations.TRAVEL, true, true),
PHOTO('p', Translations.PHOTO, false, false),
MUSIC('u', Translations.MUSIC, true, tru... | true |
9bcd39781a18047003e982b97211a9aec7aca93a | Java | jananga/javaFXProject | /src/com/wdg/interestsystem/controller/CustomerDAO.java | UTF-8 | 664 | 2 | 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 com.wdg.interestsystem.controller;
import com.wdg.interestsystem.model.Customer;
import java.util.List;
/**
*
* @author ace... | true |
7d565f03db261826065a7307cf36ff5847c8caf6 | Java | dmilei/Bank_Account_DB | /Bank_Account_DB/src/GUI/ControlPanel.java | UTF-8 | 15,225 | 2.296875 | 2 | [] | no_license | package GUI;
import java.awt.EventQueue;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import java.awt.Font;
import java.awt.Image;
import javax.swing.JTabbedPane;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import jav... | true |
1a6ce19549e5a08023e81cb6d99c91b5c03ebec1 | Java | tim91/EZI | /weka-api-intro/src/put/cs/idss/dw/weka/CompareClassifiers.java | UTF-8 | 3,753 | 2.828125 | 3 | [] | no_license | package put.cs.idss.dw.weka;
import java.io.BufferedReader;
import java.io.FileReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Random;
import weka.classifiers.Classifier;
import weka.classifiers.bayes.NaiveBayes;
import weka.classifiers.functions.SimpleLogistic;
im... | true |
057238e8f0a5bc48434fe9e03f90b5cafac21a2b | Java | pwojczyn/firstSpring | /src/main/java/com/pwojczyn/firstSpring/models/services/WeatherService.java | UTF-8 | 2,010 | 2.65625 | 3 | [] | no_license | package com.pwojczyn.firstSpring.models.services;
import com.pwojczyn.firstSpring.models.Config;
import com.pwojczyn.firstSpring.models.IWeatherObserver;
import com.pwojczyn.firstSpring.models.Utils;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.List;
import ... | true |
3584942426f356ce1b1848028bcfb57f2a2618c4 | Java | baralgin1003/LinPhoneDemo | /app/src/main/java/com/example/administrator/linphonedemo/MainActivity.java | UTF-8 | 5,382 | 1.867188 | 2 | [] | no_license | package com.example.administrator.linphonedemo;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.TextUtils;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
import com.example.administrator.linphonede... | true |
8921db7ae697b0327399dbc8a9a37ce58e2c0975 | Java | zhenxiao/presto | /presto-main/src/main/java/com/facebook/presto/index/IndexManager.java | UTF-8 | 3,337 | 1.765625 | 2 | [
"Apache-2.0"
] | permissive | /*
* 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
* distribut... | true |
13f63fd196c41374e481b810ab590d736c3e8f92 | Java | sgholamian/log-aware-clone-detection | /NLPCCd/Hadoop/9970_2.java | UTF-8 | 443 | 2.515625 | 3 | [
"MIT"
] | permissive | //,temp,sample_8630.java,2,16,temp,sample_5931.java,2,16
//,3
public class xxx {
private void mkdir(FileSystem fs, Path path, FsPermission fsp) throws IOException {
if (!fs.exists(path)) {
try {
fs.mkdirs(path, fsp);
FileStatus fsStatus = fs.getFileStatus(path);
if (fsStatus.getPermission().toShort() != fsp.toShort()) ... | true |
ce8474d45361b84aaffd9e665babf54e6f356f7d | Java | rgatkinson/Information | /FTDI/Android_Java_D2xx_2.05.00.000/decompile/fernflower/com/ftdi/j2xx/ft4222/dev_ctrl.java | UTF-8 | 265 | 1.609375 | 2 | [] | no_license | package com.ftdi.j2xx.ft4222;
class dev_ctrl {
byte ep_in;
byte ep_out;
byte[] proc_io;
public dev_ctrl(char[] fwVer) {
if(fwVer[0] < 66) {
this.proc_io = new byte[3];
} else {
this.proc_io = new byte[1];
}
}
}
| true |
da902c70f7c82cb60ec3a04d6f38de487995021c | Java | saschaluebke/MatchingService | /src/main/java/utils/corpus/DictReader.java | UTF-8 | 4,541 | 2.625 | 3 | [] | no_license | package utils.corpus;
import components.Relation;
import components.Word;
import database.DBHelper;
import database.dbStrategy.simpleStrategy.SimpleStrategy;
import utils.ontology.FileReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java... | true |
3413d4ffedef87e274da8700784fafe039ae8fc8 | Java | luluhua/neighbor | /neighbor_web/src/main/java/com/citysmart/ucenter/common/util/PWDStrongUtil.java | UTF-8 | 2,929 | 2.765625 | 3 | [] | no_license | package com.citysmart.ucenter.common.util;
import com.citysmart.common.util.Encryption3DEsUtil;
import com.google.common.collect.Lists;
import java.util.List;
import java.util.regex.Pattern;
/**
* <p>
* 密码强壮度工具
* </p>
* 共有5个档次,1很弱,2弱,3中,4强,5很强
*
* @author zhouyanjian
* @Date 2019/6/19 15:29
*/
public class P... | true |
d738eb530ae4b21e6f3cdf2e50a31dacbb2cb9fd | Java | TIMAN-group/meta-demo-paper | /lucene/Search.java | UTF-8 | 2,868 | 2.1875 | 2 | [] | no_license | import java.io.BufferedReader;
import java.io.File;
import java.nio.file.Paths;
import java.io.FileReader;
import java.io.IOException;
import java.util.Date;
import org.apache.lucene.search.CollectionStatistics;
import org.apache.lucene.analysis.core.StopFilter;
import org.apache.lucene.analysis.Analyzer;
import org.a... | true |
42e33b9284ba1cc1612cf9f2da42e40637d66b69 | Java | erastus-murungi/Orientate | /app/src/main/java/com/erastus/orientate/student/signup/StudentSignUpActivity.java | UTF-8 | 6,825 | 2.28125 | 2 | [] | no_license | package com.erastus.orientate.student.signup;
import android.os.Bundle;
import com.erastus.orientate.BuildConfig;
import com.erastus.orientate.databinding.ActivityStudentSignUpBinding;
import com.erastus.orientate.student.signup.dob.DobFragment;
import com.erastus.orientate.student.signup.name.NameEmailFragment;
impo... | true |
a4b6445b2f9e77cef32f6d986eaae45d9de6ee2d | Java | sh2268411762/JavaDocSearch | /Javadoc-searcher/src/main/java/org/example/dao/addDAO.java | UTF-8 | 939 | 2.484375 | 2 | [] | no_license | package org.example.dao;
import org.example.model.UserInfo;
import org.example.util.DBUtil;
import java.sql.Connection;
import java.sql.PreparedStatement;
/**
* @author 枳洛淮南
* @version 1.0
* @Description 功能
* @Date 2021/4/30 下午 15:13
*/
public class addDAO
{
//注册新增
public static int insert(UserInfo a,... | true |
aa0f1129da7c4bf5408c77ae8398f5edafe821a6 | Java | Lion-Code-kcfr/LionCode | /Geof.java | UTF-8 | 9,454 | 1.992188 | 2 | [] | no_license | package com.example.lioncode.sec;
import android.Manifest;
import android.app.PendingIntent;
import android.content.Intent;
import android.location.Location;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
impor... | true |
62b982ef6c60bc6122649bcdecb65c5480e05feb | Java | yunhua98/schedule-planner | /src/Schedule.java | UTF-8 | 1,268 | 3.21875 | 3 | [] | no_license | import java.util.ArrayList;
public class Schedule {
private String name;
private ArrayList<ClassSection> classList;
public Schedule(String scheduleName)
{
name = scheduleName;
classList = new ArrayList<ClassSection>();
}
public void replaceWith(Schedule newSchedule)
{
classList = newSchedule.getClassA... | true |