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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
6de7540407b55a2980270c855a440b5301063df9 | Java | phanbach99/GK | /Android/ViDuAndroidTrenLop-master/ViDuAndroidTrenLop-master/GridView/app/src/main/java/com/example/gridview/MainActivity.java | UTF-8 | 1,200 | 2.21875 | 2 | [] | no_license | package com.example.gridview;
import androidx.appcompat.app.AppCompatActivity;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.GridView;
import android.widget.TextView;
public class MainActiv... | true |
0a661f9c2b8dd7648880529892f65f03c89941c4 | Java | siyuanzhe001/emp | /src/main/java/com/example/emp/servlet/UpdateEmpServlet.java | UTF-8 | 1,174 | 2.1875 | 2 | [] | no_license | package com.example.emp.servlet;
import com.example.emp.dao.EmpDao;
import com.example.emp.dao.impl.EmpDaoImpl;
import com.example.emp.domain.Emp;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
imp... | true |
71489e142e04b6c7865bc0b5aeaf84462afeb1e9 | Java | MaksimBugay/currency-converter | /src/main/java/zoo/plus/task/currencyconverter/service/UserService.java | UTF-8 | 214 | 1.835938 | 2 | [] | no_license | package zoo.plus.task.currencyconverter.service;
import zoo.plus.task.currencyconverter.model.security.User;
public interface UserService {
User findUserByEmail(String email);
void saveUser(User user);
}
| true |
34c792ac3a4e2cdf872ba94f2d4df0290f2032db | Java | sravyasri/universal-graph-client | /universal-graph-client-impl-core/src/main/java/com/intuit/ugc/impl/core/spi/GraphVisitor.java | UTF-8 | 3,103 | 1.9375 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (c) 2017.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* ajain17 - API and impl... | true |
707f94f5ddc86a1b35b5151fa6499abc66214170 | Java | raydogg779/Java_Stix | /src/main/java/org/icasi/cvrf/schema/vuln/_1/InvolvementStatusEnumType.java | UTF-8 | 2,713 | 1.984375 | 2 | [] | no_license | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.04.09 at 05:02... | true |
72cac864e906623ec5da3b9c491dc15e5bf3aacc | Java | Ludsonfrancisco/projetos-java | /curso-java-basico/src/cursojava/aula10/Variaveis.java | UTF-8 | 227 | 2.625 | 3 | [] | no_license | package cursojava.aula10;
public class Variaveis {
public static void main(String[] args) {
int age;
String name;
String nameMyDog;
age = 36;
System.out.println("age = "+ age);
}
}
| true |
51638320fc551b558e72d7f94f4c5f720bd9a25a | Java | niminghui/TokenAuthDemo | /src/main/java/com/shiep/jwtauth/service/IFXUserService.java | UTF-8 | 965 | 2.28125 | 2 | [] | no_license | package com.shiep.jwtauth.service;
import com.shiep.jwtauth.entity.FXUser;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* @author: 倪明辉
* @date: 2019/3/6 15:00
* @description: FXUser的Service接口
*/
@Transactional(rollbackFor = Exception.class)
public interface IFXUserS... | true |
3363c9ac443b1978ae9aa589a1337d3838c8c261 | Java | v4liulv/Elasticsearch-Hbase-master | /src/main/java/com/sinobest/eshbasetest/domain/Doc.java | UTF-8 | 1,709 | 2.546875 | 3 | [] | no_license | package com.sinobest.eshbasetest.domain;
import org.omg.CORBA.portable.UnknownException;
/**
* 文章实体类
* @author Administrator
*
*/
public class Doc {
private Integer id;
private String title;
private String describe;
private String content;
private String author;
private String cjsj;
public void ... | true |
5638c73fadc6634b64c58ab4b47dbda7882e2fba | Java | wuqq-20191129/wlmq | /6清算系统/AccSettleRealTime_latest/src/com/goldsign/settle/realtime/app/io/FileWriter52.java | UTF-8 | 5,006 | 2.234375 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.goldsign.settle.realtime.app.io;
import com.goldsign.settle.realtime.app.vo.FileRecord50;
import com.goldsign.settle.realtime.app.vo.FileRecord52;
import com.goldsign.settle.realtime.frame.exception.... | true |
0842d33cefeb3d453a127cd6c32c3ac2699566eb | Java | Naveen1789/leetcode | /ConstructBinaryTreeFromString0536.java | UTF-8 | 1,371 | 3.5 | 4 | [] | no_license | /**
* Definition for a binary tree node.
* public class TreeNode {
* int val;
* TreeNode left;
* TreeNode right;
* TreeNode(int x) { val = x; }
* }
*/
class ConstructBinaryTreeFromString0536 {
public TreeNode str2tree(String s) {
if(s == null || s.length() == 0){
return ... | true |
71e3dc349c456a75a0ef3f063d175f8a3db39b40 | Java | anannguyen202/house-manager | /src/main/java/com/aan/housemanager/dal/UserDao.java | UTF-8 | 1,133 | 2 | 2 | [] | no_license | /**
*
*/
/**
* @author An An Nguyen
*
*/
package com.aan.housemanager.dal;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.query.Param;
import com.aan.housemanager.model.Users;
public interface UserDao e... | true |
c5b0d211daae4db6721188208c759f84bc829525 | Java | dcodeh/Safe-I2C | /I2C master/src/cody/deviltech/safei2c/wholeshabang/Master.java | UTF-8 | 2,014 | 2.96875 | 3 | [] | no_license | /*
This class controls the whole transaction operation. The idea is to
prevent the robot from hanging up during transactions
This class depends on the other classes in this package, so make sure
you get the whole package
The purpose is to interface with the sensor only if there are no... | true |
bcdde0da492e4582bc8fbb9abdc3ce3f3021afd3 | Java | Viral-patel703/Testyourbond-aut0 | /lib/selenium-server-standalone-3.4.0/com/gargoylesoftware/htmlunit/httpclient/HtmlUnitBrowserCompatCookieHeaderValueFormatter.java | UTF-8 | 582 | 1.820313 | 2 | [] | no_license | package com.gargoylesoftware.htmlunit.httpclient;
import org.apache.http.message.BasicHeaderValueFormatter;
public class HtmlUnitBrowserCompatCookieHeaderValueFormatter
extends BasicHeaderValueFormatter
{
public static final HtmlUnitBrowserCompatCookieHeaderValueFormatter INSTANCE = new... | true |
e95e6733dc815317a575f650cea3c11b338bb545 | Java | leeeojin0915/Cobox | /src/com/koreait/cobox/exception/ReservationRegistException.java | UTF-8 | 254 | 2.15625 | 2 | [] | no_license | package com.koreait.cobox.exception;
public class ReservationRegistException extends RuntimeException{
public ReservationRegistException(String msg) {
super(msg);
}
public ReservationRegistException(String msg, Throwable e) {
super(msg, e);
}
}
| true |
f86caff26c955d58189f708be191f5ac92ab86d1 | Java | 7890/audio_rxtx_gui | /src/ch/lowres/audio_rxtx/gui/widgets/AButton.java | UTF-8 | 2,183 | 2.34375 | 2 | [] | no_license | /* part of audio_rxtx GUI
* https://github.com/7890/audio_rxtx_gui
*
* Copyright (C) 2014 Thomas Brand <tom@trellis.ch>
*
* This program is free software; feel free to redistribute it and/or
* modify it.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without ev... | true |
d2a0a0316f38f7825b14197a25eaf957fc308dd7 | Java | Werdio66/ProgrammerInterviewCollection | /src/com/_520/sort/Sort.java | UTF-8 | 1,242 | 3.40625 | 3 | [] | no_license | package com._520.sort;
/**
* @author Werdio丶
* @since 2020-07-01 09:52:38
*/
public class Sort {
public static void swap(int[] array, int i, int j) {
int temp = array[i];
array[i] = array[j];
array[j] = temp;
}
public void bubbleSort(int[] array){
for (int i = 0; i < a... | true |
b3ef124ff80a04e4802b10ddb5a8e9da6ceb79cf | Java | goalfinance/Abraham | /Abraham-core/src/main/java/abraham/core/web/security/repository/SecurityResourceGroupRepository.java | UTF-8 | 937 | 1.929688 | 2 | [] | no_license | /**
*
*/
package abraham.core.web.security.repository;
import abraham.core.web.security.domain.SecurityResourceGroup;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import java.util.Collection;
import java.util.List;
import java.util.Opti... | true |
a7040f01838b1bbd8747aef98a5eb7bd76c94dc9 | Java | ruizb/Themis | /src/business/affaire/AffaireManager.java | UTF-8 | 632 | 2.5625 | 3 | [] | no_license | /**
* @author Alexandre Laffaille, Nathan Marin, Benoit Ruiz, Tristan Sallé
*/
package business.affaire;
import java.util.ArrayList;
import java.util.HashMap;
public abstract class AffaireManager {
// ATTRIBUTES
/**
* Loaded list of Affaires
*/
protected ArrayList<Affaire> listeAffaires;
// CONSTRUCTOR
... | true |
021a9e3046ab655128b7261f95b36c4e26d1097c | Java | TavMar/progettoSDR | /src/it/sp4te/domain/IpotesiH1.java | UTF-8 | 701 | 2.625 | 3 | [] | no_license | package it.sp4te.domain;
import java.util.Arrays;
public class IpotesiH1 {
public double getProbabilitaDetection(Signal s, double soglia) {
double numeroSuccessi = 0;
Signal blocco;
for(int i=0; i<1000000; i=i+1000){
blocco = new Signal(Arrays.copyOfRange(s.values, i, i+999));
System.out.println... | true |
25f82b1bf99b6bf8e510c5b25c39488caf813904 | Java | HeyZOJian/State-Design-Pattern-Poc | /src/main/java/com/example/statedesignpatternpoc/StateDesignPatternPocApplication.java | UTF-8 | 376 | 1.65625 | 2 | [] | no_license | package com.example.statedesignpatternpoc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class StateDesignPatternPocApplication {
public static void main(String[] args) throws Exception {
SpringApplication.r... | true |
2509d17c618af545e8a4af44c10b3f2b7de64645 | Java | 0jinxing/wechat-apk-source | /com/google/android/exoplayer2/f/b/b$f.java | UTF-8 | 1,535 | 1.648438 | 2 | [] | no_license | package com.google.android.exoplayer2.f.b;
import android.util.SparseArray;
import com.tencent.matrix.trace.core.AppMethodBeat;
final class b$f
{
public final boolean bmY;
public final int bmZ;
public final int bna;
public final int bnb;
public final int bnc;
public final int bnd;
public fi... | true |
c2653803c0583c3f462c9edcc79ae883a44da47c | Java | billzhonggz/AndroidProjects | /Homework3/app/src/main/java/com/billzhonggz/homework3/ViewSnakes.java | UTF-8 | 1,056 | 2.5 | 2 | [] | no_license | package com.billzhonggz.homework3;
import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.view.View;
/**
* Homework Assignment 3
* Mobile Application Development
* 1430003045 Junru Zhong (Bill)
* May 2nd, 2017
*/
public class ViewSnakes ext... | true |
4e4dcdd6da175da15022f6cc4f56fe46b988cb43 | Java | rfrancese/024 | /SwiMapp/SwiMapp_versione_finale/src/com/example/androidmannagg/Evento.java | UTF-8 | 1,761 | 2.8125 | 3 | [] | no_license | package com.example.androidmannagg;
public class Evento {
private String _city = "";
private double _lng;
private double _lat;
private String _nome = "";
private String _data = "";
private String _piscina = "";
private String _sito ="";
private String _categoria = "";
... | true |
463c59e5ec4d25df7c0a98d8751313805afd7ba9 | Java | machadolucasvp/test-ithappens-1304 | /implementacao/src/main/java/com/ithappens/interview/services/ProdutoService.java | UTF-8 | 1,144 | 2.375 | 2 | [] | no_license | package com.ithappens.interview.services;
import com.ithappens.interview.dtos.ProdutoDTO;
import com.ithappens.interview.models.Cliente;
import com.ithappens.interview.models.Produto;
import com.ithappens.interview.repositories.ProdutoRepository;
import org.hibernate.ObjectNotFoundException;
import org.springframework... | true |
67dc21236d2d4b8bcc6fe2aafe158ed8dcd0b0f6 | Java | feinoah/boss | /src/main/java/com/eeepay/boss/common/bean/MerchantApiAddBean.java | UTF-8 | 773 | 1.703125 | 2 | [] | no_license | package com.eeepay.boss.common.bean;
public class MerchantApiAddBean {
private String merchantId;
private String ips;
private String linkmanName;
private String linkmanPhone;
public String getMerchantId() {
return merchantId;
}
public void setMerchantId(String merchantId) {
this.merchantI... | true |
ff7c768be4ca86333418e449b3f9fcc6ea7614cc | Java | vladmeh/jrt | /JavaHorstmann/src/innerClass/innerTest.java | UTF-8 | 765 | 3.359375 | 3 | [] | no_license | package innerClass;
import java.util.ArrayList;
/**
* @autor mvl on 02.06.2017.
*/
public class innerTest {
public static void main(String[] args) {
Car car = new Car();
System.out.println(car.getClass());
ArrayList list = car.createPoliceCars(10);
for (Object c: list)
... | true |
9742b3035d81edde20eda32885f14d1ad3c69185 | Java | BlueJack1984/ultrapower-bigdata | /bigdata-core/src/main/java/com/example/core/utils/PhoneFormatCheckUtil.java | UTF-8 | 1,521 | 2.953125 | 3 | [] | no_license | package com.example.core.utils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.regex.PatternSyntaxException;
/**
* @Author liuliying@ultrapower.com.cn
* @Description 手机号码效验工具类
* @Date 10:44 2020/1/2... | true |
c63f17a42264f9a35f6852c96b0520599290e6bb | Java | Astroner/JavaLab4 | /src/manager/Extension.java | UTF-8 | 81 | 1.515625 | 2 | [] | no_license | package manager;
public enum Extension {
folder,
txt,
docx,
other
}
| true |
334de1bb4312e9bc7efad9a6f4d1ea66bb0ccaab | Java | anseohyun/javadouble | /src/더블릿/twotwentynine.java | UHC | 1,956 | 3.625 | 4 | [] | no_license | // α : up_down
// ѽð: 1
//
// Nikky Byron üð ϰ ִ.
// Nikky Դ a Ŀ b ϰ , Byron Դ c d ϴ ۾ ݺ ϰ ߴ.
// ɸ ð .
// s ֽ ó ġ ָ ִ° ˾Ƴ α ϶.
//
// Է
// 5 a,b,c,d,s ־.
// , a,b,c,d 100 ̰ a > b , c > d ̰ s 10000 ̴.
//
// ϳ Ѵ.
// Nikky
// Byron
// Tied
//
//
// Է
// 4
// 2... | true |
2ae781c3c41891265f047ca0cd577fe33cb3ecfa | Java | etrange02/Perftest | /PerfTestSharedClasses/src/shared/SendableTest.java | UTF-8 | 555 | 2.40625 | 2 | [
"Apache-2.0"
] | permissive | package shared;
import java.util.List;
import shared.interfaces.IInstruction;
import shared.interfaces.ISendableTest;
public class SendableTest implements ISendableTest {
private int instructionDelay;
private List<IInstruction> instructions;
public SendableTest(int instructionDelay, List<IInstruction> instruct... | true |
d69a5b2cabf858b69810fecabeda0e93a5278753 | Java | peterclutch/importer-service | /src/main/java/com/peter/importerservice/service/importer/configuration/MultiLineElement.java | UTF-8 | 225 | 1.875 | 2 | [] | no_license | package com.peter.importerservice.service.importer.configuration;
import java.util.List;
public interface MultiLineElement<E extends LineElement> extends LineElement<E> {
void addLine(E object);
List<E> getLines();
}
| true |
fdef513f912e2bcc6343a8f277583e96b723c0a7 | Java | 785129039/psychedelic-artists | /src/main/java/com/nex/web/spring/controller/web/record/PresetController.java | UTF-8 | 798 | 1.984375 | 2 | [] | no_license | package com.nex.web.spring.controller.web.record;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import com.nex.domain.Record;
import com.nex.domain.Type;
import com.nex.web.spring.controller.web.FileEntityController;
import cz.tsystems.common.data.fi... | true |
dca58ee2cab3fbc7c783a156d462ad2de9ef07bb | Java | anukat2015/olap4ld | /OLAP4LD-trunk/src/org/olap4j/driver/olap4ld/Olap4ldPosition.java | UTF-8 | 1,037 | 1.984375 | 2 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | /*
// This software is subject to the terms of the Eclipse Public License v1.0
// Agreement, available at the following URL:
// http://www.eclipse.org/legal/epl-v10.html.
// Copyright (C) 2007-2010 Julian Hyde
// All Rights Reserved.
// You must accept the terms of that agreement to use this software.
*/
package org.ol... | true |
4150aff1dc185547f9d1063fde5f72775e889e4b | Java | pongpat705/gen-report | /src/main/java/com/maoz/app/genreport/component/filter/ReportRequestFilter.java | UTF-8 | 663 | 2.15625 | 2 | [] | no_license | package com.maoz.app.genreport.component.filter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import javax.servlet.*;
import java.io.IOException;
@Component
@Slf4j
public class ReportRequestFilter implements Filter {
@Override
public void doFilter(ServletRequest servletR... | true |
513ea74853aa42e38f13e917bc2b0d7982b42a8b | Java | salta-kozbagarova/e-library | /src/main/java/kz/salta/ssdb/service/BookService.java | UTF-8 | 311 | 2.015625 | 2 | [] | no_license | package kz.salta.ssdb.service;
import java.util.List;
import kz.salta.ssdb.model.Book;
import kz.salta.ssdb.model.Logbook;
public interface BookService {
Book findOne(Long id);
List<Book> findAll();
void takeBook(Long id);
void returnBook(Long id);
List<Book> booksToReturnForCurrentUser();
}
| true |
466ff0a0b1e76a4f762487ba2d01f8b423cfd94d | Java | qiangli524/myproject | /huboot-business-server/src/main/java/com/huboot/business/base_model/weixin_service/dto/dto/InitPublicFromMPDTO.java | UTF-8 | 363 | 1.546875 | 2 | [] | no_license | package com.huboot.business.base_model.weixin_service.dto.dto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* Created by Administrator on 2018/2/3 0003.
*/
@Data
public class InitPublicFromMPDTO {
@ApiModelProperty("shopuid")
private String shopUid;
@ApiModelProperty("授权认证码")... | true |
657257b1a5b1068f482badaf0cf20fea638029a2 | Java | Mustafa09875/LagerSoftware | /LagerSoftware/src/main/java/com/mycompany/lagersoftware/Pult.java | UTF-8 | 937 | 2.734375 | 3 | [] | no_license | package com.mycompany.lagersoftware;
/*
* 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 Test
*/
public class Pult extends Technik{
private double kanaele;
p... | true |
4fa9e6d23729a2d42d1098c75a589ff8d966b885 | Java | Isabella-MB/Platformer | /src/com/pixelaborate/platformer/Model.java | UTF-8 | 11,344 | 1.960938 | 2 | [] | no_license | package com.pixelaborate.platformer;
import static org.lwjgl.opengl.GL11.GL_BACK;
import static org.lwjgl.opengl.GL11.GL_COLOR_ARRAY;
import static org.lwjgl.opengl.GL11.GL_COLOR_BUFFER_BIT;
import static org.lwjgl.opengl.GL11.GL_COLOR_MATERIAL;
import static org.lwjgl.opengl.GL11.GL_COMPILE;
import static org.lwjgl.... | true |
1f0efd3b4726910384c938c0b28d86393e24cadc | Java | ksusha132/cinemaProjectEpam | /src/main/java/epam/cinemaProject/services/impl/BookingServiceImpl.java | UTF-8 | 2,742 | 2.421875 | 2 | [] | no_license | package epam.cinemaProject.services.impl;
import epam.cinemaProject.pojo.cinema.BookedTicket;
import epam.cinemaProject.pojo.cinema.Event;
import epam.cinemaProject.pojo.cinema.Store;
import epam.cinemaProject.pojo.user.User;
import epam.cinemaProject.services.AuditoriumService;
import epam.cinemaProject.services.Disc... | true |
ba01f30ed3548e203d726de2981de5e5d8bbea72 | Java | huihau/danmaku-test | /src/stage/s0/S018.java | UTF-8 | 2,530 | 2.21875 | 2 | [] | no_license | package stage.s0;
import battle.Engine;
import battle.Sprite;
import battle.bullet.Dot;
import battle.bullet.DotBullet;
import battle.bullet.Mover;
import battle.entity.Emiter;
import stage.SpellCard;
import util.P;
public class S018 extends SpellCard.LifeSpell implements Emiter.Ticker {
private static final Sprite... | true |
5b5b130cb795e9be8d6bdac8f654953fadf1150c | Java | clintonjmurdoch/jwxicc | /cricket-ejb/src/main/java/com/jwxicc/cricket/parse/cricketstatz/SharedPersistenceObjectsTransactionalCreator.java | UTF-8 | 3,114 | 2.25 | 2 | [] | no_license | package com.jwxicc.cricket.parse.cricketstatz;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import javax.ejb.EJB;
import javax.ejb.EJBException;
import javax.ejb.LocalBean;
import javax.ejb.SessionContext;
import javax.ejb.Singleton;
import javax.ejb.Transac... | true |
25ea31c2b71486f272f2d973fca0ec2eb7d66a7b | Java | nanofaroque/GangOfFourDesignPatternsTest | /src/facade_pattern/ShapeMaker.java | UTF-8 | 370 | 3.15625 | 3 | [] | no_license | package facade_pattern;
public class ShapeMaker {
private Shape circle;
private Shape rectangle;
private Shape triangle;
public ShapeMaker(){
circle=new Circle();
rectangle=new Rectangle();
triangle=new Triangle();
}
void drawCircle(){
circle.draw();
}
void drawTriangle(){
triangle.draw();
}
... | true |
03a95e29063e30ad3c0866cb7eccb13a31fa4e10 | Java | zengweitao/YiQuLife | /yiQu_Api/src/main/java/com/quanmai/yiqu/ui/fix/manager/FixManageClassActivity.java | UTF-8 | 2,619 | 1.84375 | 2 | [] | no_license | package com.quanmai.yiqu.ui.fix.manager;
import java.util.List;
import com.handmark.pulltorefresh.library.PullToRefreshBase;
import com.handmark.pulltorefresh.library.PullToRefreshBase.OnRefreshListener;
import com.handmark.pulltorefresh.library.PullToRefreshGridView;
import com.quanmai.yiqu.R;
import com.quanmai.yiqu... | true |
c3ec3089098111c1487ebbe316b4fb4199191944 | Java | bdybala/FootbOwl-REST | /src/bdyb/rest/player/PlayerDao.java | UTF-8 | 4,276 | 2.359375 | 2 | [] | no_license | package bdyb.rest.player;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.net.URISyntaxException;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import bdyb.rest.dao.DataAccessObject;
public class PlayerDao extends DataAccessO... | true |
ca2c2318f2cb265d57e0922bc9fdb6df4309d9f2 | Java | XujieSi/mercury-share | /partition/src/edu/gatech/traceprocessor/offloadingalgorithms/solver/ILP/ILPOffloadingAlgorithm2.java | UTF-8 | 5,406 | 2.375 | 2 | [] | no_license | package edu.gatech.traceprocessor.offloadingalgorithms.solver.ILP;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import edu.gatech.traceprocessor.offloadingalgorithms.solver.BooleanVariable;
import edu.gatech.traceprocessor.offloadingalgorithms.solver.SMethod;
import e... | true |
9626108874a5e17ac3147169fb1c4dfc2302f0ea | Java | traxexee/leetcode | /src/main/java/nowcoder/Main10.java | UTF-8 | 1,074 | 3.625 | 4 | [] | no_license | package nowcoder;
import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;
/**
* @Author: zhen
* @DateTime: 2021/3/20 14:26
* @Description: 题目描述
* 编写一个函数,计算字符串中含有的不同字符的个数。字符在ACSII码范围内(0~127),换行表示结束符,不算在字符里。不在范围内的不作统计。多个相同的字符只计算一次
* 例如,对于字符串abaca而言,有a、b、c三种不同的字符,因此输出3。
* 输入描述:
* 输入一行没有空格的字符串。
... | true |
b4ea2aeac138dde5241eb03aba3045a56ba86f96 | Java | FiwareTIConsoft/hibutils | /src/main/java/com/tilab/ca/hibutils/Hibutils.java | UTF-8 | 5,677 | 2.25 | 2 | [] | no_license | package com.tilab.ca.hibutils;
import java.util.Collection;
import java.util.LinkedList;
import java.util.List;
import org.hibernate.Criteria;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.criterion.Criterion;
import org.hibernate.criterion.Order;
import org.hibern... | true |
f1b41287d4cdab0b18f85e447c4ba05601731135 | Java | stevegaron/Synodroid | /src/com/bigpupdev/synodroid/protocol/DownloadStationNotFound.java | UTF-8 | 242 | 1.9375 | 2 | [] | no_license | package com.bigpupdev.synodroid.protocol;
public class DownloadStationNotFound extends Exception {
private static final long serialVersionUID = 1L;
public DownloadStationNotFound(String message) {
super(message);
}
}
| true |
a5130390c97cc5ccaaee675930c3b46c7b3feffe | Java | wofxuan/yunjing | /猜一猜/Source/guess-cms/V1.3_201710171731/src/main/java/com/cicada/pojo/vo/ClientAccountVo.java | UTF-8 | 3,115 | 2.21875 | 2 | [] | no_license | package com.cicada.pojo.vo;
import java.io.Serializable;
/**
* Created by Administrator on 2017/7/13.
*/
public class ClientAccountVo implements Serializable {
/**
* 账户ID
*/
private long accountId;
/**
* 所属用户
*/
private long userId;
/**
* 发布项目数--重新... | true |
bb2e6bbeb5b789944ae129a5a793a061535b3d25 | Java | jmiguelc/vinoteca | /src/datos/ConexionBD.java | UTF-8 | 3,013 | 3.03125 | 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 datos;
import excepciones.BDException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
... | true |
abb013bdf5f5612373731a6ffff477d12b1043b2 | Java | atslaha/long-map-linkedList | /src/test/java/il/co/longmaplinkedlistTest/LongMapImplTest.java | UTF-8 | 2,317 | 2.859375 | 3 | [] | no_license | package il.co.longmaplinkedlistTest;
import il.co.longmaplinkedlist.LongMapImpl;
import org.junit.Test;
import static org.junit.Assert.assertTrue;
public class LongMapImplTest {
long l1 = 13617;
long l2 = 13587;
long l5 = 12587;
long l6 = 11587;
@Test
public <V> void isEmpty() {
Lon... | true |
b7aba8d65c60027aeaa6cdddf1ad15d7143a1294 | Java | vinuthasr/Ehaenterprise | /src/main/java/com/elephant/model/order/OrderModel.java | UTF-8 | 3,717 | 1.921875 | 2 | [] | no_license | package com.elephant.model.order;
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import com.elephant.model.address.AddressModel;
import com.elephant.model.customer.CustomerModel;
import com.elephant.model.orderdetail.OrderDetailModel;
//import c... | true |
513591ba1d3ffc651846df257fd51bba6eace518 | Java | Group-2Transporter/eagleshipperbackend | /src/main/java/com/eagleshipperapi/FileUtility.java | UTF-8 | 1,731 | 2.3125 | 2 | [] | no_license | package com.eagleshipperapi;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Files;
import java.util.HashMap;
import org.springframework.web.multipart.MultipartFile;
import com.google.auth.oauth2.GoogleCredentials;
import com.google.c... | true |
da82b6a735668b47f824148ea2189d99eb8a98d2 | Java | JEule590/FinalProjectFishingAPI | /fishingApi/src/main/java/com/promineotech/fishingApi/service/ResultsService.java | UTF-8 | 1,982 | 2.171875 | 2 | [] | no_license | package com.promineotech.fishingApi.service;
//import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.promineotech.fishingApi.entity.Results;
import com.promineotech.fishingApi.entity.Waterbody;
import com.promineotech.fishin... | true |
1e6776414f0789f6f15211cd37cdb1f3ae908c0a | Java | sushilkhera/TechLearning | /src/main/java/com/sushil/springboot/service/impl/CourseServiceImpl.java | UTF-8 | 1,510 | 2.625 | 3 | [] | no_license | package com.sushil.springboot.service.impl;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.sushil.springboot.beans.Course;
import com.sushil.springboot.repo.CourseServiceRepo;
import... | true |
c4a707650d2dcdc1222e401a9bb740926fa85e0c | Java | wjdrbs96/Baekjoon | /Java/BOJ2900/Main_2903.java | UTF-8 | 517 | 3.28125 | 3 | [] | no_license | package Baekjoon.Java.BOJ2900;
import java.util.Scanner;
public class Main_2903 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int n = input.nextInt();
if (n == 1) System.out.println((int) Math.pow(3, 2));
if (n == 2) System.out.println((int) M... | true |
0b7ae8b5f511ef3171fceb32bf9a2e95f0261ba9 | Java | pksanthoshkumar/poc | /RecipeDb/recipeservice/src/main/java/com/recipe/recipeservice/repository/RecipeRepository.java | UTF-8 | 232 | 1.554688 | 2 | [] | no_license | package com.recipe.recipeservice.repository;
import domain.Recipe;
import org.springframework.data.repository.reactive.ReactiveCrudRepository;
public interface RecipeRepository extends ReactiveCrudRepository <Recipe, String> {
}
| true |
8c6a1eb3f20aabadc7bc171904c0634cd5b9c13b | Java | rahuldas-hits/DataStructure | /String/frequencyOfWord.java | UTF-8 | 1,033 | 3.234375 | 3 | [] | no_license | package String;
import java.util.Map;
import java.util.TreeMap;
public class frequencyOfWord {
public static void findFrequncy(String str){
Map<String,Integer> mp = new TreeMap<>();
String[] arr = str.split(" ");
for (int i = 0; i < arr.length; i++) {
i... | true |
5a286166d6db4315755cbcee3c0e038fd349eb1b | Java | redfield5121/Proyecto-Aula | /Speed_Feedback/src/java/ClasesJava/GastoBean.java | UTF-8 | 1,664 | 2.5 | 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 ClasesJava;
import java.sql.ResultSet;
public class GastoBean {
private int idUsuario;
private String aler... | true |
00e51dab810b71bac6a9599207892db87dc5616d | Java | hampusidstam/InteGame | /src/main/java/se/inte/group5/Plant.java | UTF-8 | 137 | 1.742188 | 2 | [] | no_license | package se.inte.group5;
public class Plant extends Consumable {
public Plant() {
super('?', Color.GREEN, 10);
}
}
| true |
4c2148bccd3a80ca86bf500adbc250185a10bd89 | Java | vladinooo/FITNESSFORCE | /src/com/vladinooo/fitnessforce/web/service/UsersService.java | UTF-8 | 1,178 | 2.15625 | 2 | [] | no_license | package com.vladinooo.fitnessforce.web.service;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.vladinooo.fitnessforce.web.dao.User;
import com.vladinooo.fitnessfo... | true |
3d2a40b383c9336a5bb9d4f19a9b0a44f4cb1574 | Java | ZiadMuhammad/CafeManagementSystemV1 | /CafeSystemClient/src/sample/Main.java | UTF-8 | 38,469 | 2.375 | 2 | [] | no_license | package sample;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.HBox;
import javafx.s... | true |
91c5f36000741be11454d0638ddf855ecb1d6431 | Java | TimeSlotTracker/timeslottracker-desktop | /test-resources/java/net/sf/timeslottracker/gui/dateperiod/DatePeriodTest.java | UTF-8 | 394 | 2.078125 | 2 | [] | no_license | package net.sf.timeslottracker.gui.dateperiod;
import static org.junit.Assert.*;
import net.sf.timeslottracker.gui.dateperiod.DatePeriod.PeriodType;
import org.junit.Test;
public class DatePeriodTest {
@Test
public void periodTypeValueOf() {
PeriodType value = DatePeriod.PeriodType.USER_PERIOD;
assertS... | true |
dde4a5045216345ae8983b81fefaee33f5eb04ad | Java | jananga/DPEX | /src/com/im/depx/composite/AssociationMember.java | UTF-8 | 1,207 | 3.171875 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.im.depx.composite;
/**
*
* @author acer
*/
public class AssociationMember implements Member{
private ... | true |
08e9d1aa1f8f449ca249b4c715f60f1dfb7bf265 | Java | chenglinjava68/movision | /src/main/java/com/movision/controller/boss/CircleController.java | UTF-8 | 25,948 | 1.984375 | 2 | [] | no_license | package com.movision.controller.boss;
import com.movision.common.Response;
import com.movision.facade.boss.CircleFacade;
import com.movision.facade.boss.UserManageFacade;
import com.movision.mybatis.category.entity.Category;
import com.movision.mybatis.category.entity.CategoryVo;
import com.movision.mybatis.circle.ent... | true |
ff85799072f2b03aaad32178c008221dcf8fc5e0 | Java | edwint229/raptor | /raptor-springboot/src/main/java/com/ppdai/framework/raptor/spring/autoconfig/RaptorServiceAutoConfiguration.java | UTF-8 | 4,702 | 1.617188 | 2 | [
"Apache-2.0"
] | permissive | package com.ppdai.framework.raptor.spring.autoconfig;
import com.ppdai.framework.raptor.common.RaptorConstants;
import com.ppdai.framework.raptor.filter.provider.ProviderAccessLogFilter;
import com.ppdai.framework.raptor.filter.provider.ProviderFilter;
import com.ppdai.framework.raptor.filter.provider.ProviderMetricsF... | true |
7669b145aac6b1973007f3aa1a87483007965f9a | Java | yonyong/aop-annoation | /src/main/java/com/cn/service/impl/UserServiceImpl.java | UTF-8 | 431 | 1.90625 | 2 | [] | no_license | package com.cn.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.cn.dao.UserDao;
import com.cn.entity.User;
import com.cn.service.UserService;
@Service
public class UserServiceImpl implements UserService{
... | true |
2b5daf66445fcb75948cff082cf6a19c6f8abc21 | Java | Surialpha/CeibaADN-Cursos | /cursos/dominio/src/main/java/com/ceiba/inscripcion/puerto/dao/DaoInscripcion.java | UTF-8 | 570 | 1.976563 | 2 | [] | no_license | package com.ceiba.inscripcion.puerto.dao;
import java.util.List;
import com.ceiba.inscripcion.modelo.dto.DtoInscripcion;
public interface DaoInscripcion {
/**
* Permite listar inscripciones
* @return las inscripciones
*/
List<DtoInscripcion> listar();
/**
* Permite listar inscrip... | true |
66c869b58f4c36d6104f9c385c1955ed33a74612 | Java | vajaritesh/Data-Structure | /Recursion/Easy/BunnyEars.java | UTF-8 | 307 | 3.53125 | 4 | [] | no_license | package com.academy.recursion;
public class BunnyEars {
public static void main(String[] args) {
int bunnies = 6;
int ans = bunnyEars(bunnies);
System.out.println(ans);
}
public static int bunnyEars(int bunnies) {
if (bunnies == 0) {
return 0;
}
return 2 + bunnyEars(bunnies - 1);
}
}
| true |
51cfe435a1b7dc79aa1c6659f382bd9051a4b8be | Java | Sphinx01/CodinGame | /code_of_the_rings.java | UTF-8 | 5,204 | 3.09375 | 3 | [] | no_license | import java.util.*;
import java.io.*;
import java.math.*;
class Player {
private static char [] charTab = new char[27];
private static char runeCourante = ' ';
private static char [] runes = new char[30];
private static int [] distLeft = new int[30];
private static int [] distRight = new int[30];
private static... | true |
0c8dbb85d9e998f002f7b9b478245e65bbf9dc1b | Java | fujianren/MyStudy_anim_and_view | /app/src/main/java/com/example/zds_t/myapplication/view/ColorView.java | UTF-8 | 1,655 | 2.25 | 2 | [] | no_license | package com.example.zds_t.myapplication.view;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.ColorMatrix;
import android.graphics.ColorMatrixColorFilter;
import android.graphics.Paint;
import android.graphic... | true |
2adc906a49c61d1e2e728f95809ee0ea234be4df | Java | tiendnuit/online-market | /src/main/java/edu/miu/cs545/group5/onlinemarket/service/impl/PaymentServiceImpl.java | UTF-8 | 745 | 2.125 | 2 | [] | no_license | package edu.miu.cs545.group5.onlinemarket.service.impl;
import edu.miu.cs545.group5.onlinemarket.domain.Payment;
import edu.miu.cs545.group5.onlinemarket.repository.PaymentRepository;
import edu.miu.cs545.group5.onlinemarket.service.PaymentService;
import org.springframework.beans.factory.annotation.Autowired;
import ... | true |
2314222c612f4820a954074c77ea088d0f127d92 | Java | YmanChris/OpenGlLibrary | /app/src/main/java/com/yman/camerautils/CameraPreviewActivity.java | UTF-8 | 728 | 1.976563 | 2 | [] | no_license | package com.yman.camerautils;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import com.yman.ycamera.CameraUtils.GlMethod.GLCameraFragment;
/**
* Created by Yman on 2017/12/28.
* E-Mail : yin_xiangyang@outlook.com
* WeChat : y22620
*/
publi... | true |
e545c79ef15263ebac51d42a027c70893f07e16e | Java | Phantoms007/zhihuAPK | /src/main/java/com/zhihu/android/article/tts/TTSPlayEvent.java | UTF-8 | 2,393 | 2.25 | 2 | [] | no_license | package com.zhihu.android.article.tts;
/* renamed from: com.zhihu.android.article.tts.q */
/* compiled from: TTSPlayEvent */
public class TTSPlayEvent {
/* renamed from: a */
private String f60705a = Long.toString(this.f60706b);
/* renamed from: b */
private long f60706b = System.currentTimeMillis();... | true |
c7c0a7fb7a1351c43561be55b09b9fc4709cc162 | Java | luyanfei/algorithm016 | /Week_01/11.container-with-most-water.java | UTF-8 | 1,347 | 3.609375 | 4 | [] | no_license | /*
* @lc app=leetcode.cn id=11 lang=java
*
* [11] Container With Most Water
*
* https://leetcode-cn.com/problems/container-with-most-water/description/
*
* algorithms
* Medium (64.12%)
* Total Accepted: 281.5K
* Total Submissions: 438.8K
* Testcase Example: '[1,8,6,2,5,4,8,3,7]'
*
* 给你 n 个非负整数 a1,a2,..... | true |
0894a435d5d1ffc8898e7104552bd22eb950761b | Java | Hasindu-Jayasinghe/Pizza-Order | /src/lk/ijse/dep/pizza/order/dto/OrderDetailDTO.java | UTF-8 | 1,569 | 2.703125 | 3 | [] | no_license | package lk.ijse.dep.pizza.order.dto;
public class OrderDetailDTO {
private int pizza_id;
private String flavor;
private int pizza_size;
private Double unit_price;
private int qty;
public OrderDetailDTO() {
}
public OrderDetailDTO(int pizza_id, String flavor, int pizza_size, Double uni... | true |
2e91f7d5d504ce84b7dddfa03dc56eadc8c736ed | Java | iamaryaak/AP-Comp-Sci | /AP COMP SCI/Unit 5/503 FibonacciNumbers_Kulkarni.java | UTF-8 | 554 | 3.875 | 4 | [] | no_license | /**
*Arya Kulkarni
*Fibonacci Numbers
*/
class Fibonacci{
public static int count = 0;
public int fib(int n){
count++;
System.out.println("Count: " + (count - 1));
// method for fib
if(n == 0)
return 0;
if(n == 1)
return 1;
else
return (fib(n-1) + fib(n-2));
... | true |
9a5ea30a97b465d6177b5feb97f7e29290c07ef1 | Java | jaymilnamow/LargeDollarEnglishConverter | /src/main/java/LargeDollarEnglishConverter/ConvertToCurrencyFormat.java | UTF-8 | 442 | 2.8125 | 3 | [] | no_license | package LargeDollarEnglishConverter;
import java.text.NumberFormat;
import java.util.Locale;
/**
* Created by jaymilnamow on 6/11/16.
*/
public class ConvertToCurrencyFormat {
public String reformatNumberToUSD(String input) {
double amount = Double.parseDouble(input);
System.out.println(Number... | true |
4a798c349b2a77197b15333130137f30188c4564 | Java | chenxingyue2012/chenleiRepository | /demo/src/main/java/com/asisinfo/datasource/demo/mapper/RobotInfoMapper.java | UTF-8 | 418 | 2.046875 | 2 | [] | no_license | package com.asisinfo.datasource.demo.mapper;
import com.asisinfo.datasource.demo.domain.RobotInfo;
import org.apache.ibatis.annotations.Mapper;
/**
* 在MyBatisConfig配置类里使用了@MapperScan(value = "com.asisinfo.datasource.demo.mapper")
* 所以将@Mapper给注释掉了
*/
//@Mapper
public interface RobotInfoMapper {
pu... | true |
2c1408fe070d02f838f0e29962aa2ac0bb7c82e9 | Java | LeydiHuallpa/SI-074ProyectoConstruccion-II | /Aplicativo Movil/Rikuwa_Cliente/app/src/main/java/com/example/rikuwa_cliente/Login/LoginPresentador.java | UTF-8 | 1,156 | 2.390625 | 2 | [] | no_license | package com.example.rikuwa_cliente.Login;
public class LoginPresentador implements LoginInterface.Presenter, LoginInterface.TaskListener {
private LoginInterface.View view;
private LoginInterface.Model model;
public LoginPresentador(LoginInterface.View view) {
this.view = view;
model=new ... | true |
50aee922ba250d8c5b442bdbbe72ec8352388844 | Java | sebanime02/AppTerapiaDemencia | /app/src/main/java/co/edu/unicauca/appterapiademencia/items/BlessedScoreAverage.java | UTF-8 | 432 | 2.0625 | 2 | [] | no_license | package co.edu.unicauca.appterapiademencia.items;
/**
* Created by ENF on 20/12/2016.
*/
public class BlessedScoreAverage {
public Double getScore() {
return Score;
}
public void setScore(Double score) {
Score = score;
}
public String getMonth() {
return Month;
}... | true |
366c7d29f8a0a957860b0192ceae78f39cb448cf | Java | ixrjog/opscloud4 | /opscloud-manage/src/main/java/com/baiyi/opscloud/aspect/RevokeUserPermissionAspect.java | UTF-8 | 2,859 | 2.3125 | 2 | [
"Apache-2.0"
] | permissive | package com.baiyi.opscloud.aspect;
import com.baiyi.opscloud.common.exception.common.OCException;
import com.baiyi.opscloud.domain.annotation.BusinessType;
import com.baiyi.opscloud.domain.annotation.RevokeUserPermission;
import com.baiyi.opscloud.domain.constants.BusinessTypeEnum;
import com.baiyi.opscloud.facade.use... | true |
ac8ce2c1b0f97b3d96de3520633fca088cc998b1 | Java | tianhaolin1991/ssm_super | /ssm_service/src/main/java/cn/itcast/service/impl/UserServiceImpl.java | UTF-8 | 2,428 | 2.1875 | 2 | [] | no_license | package cn.itcast.service.impl;
import cn.itcast.dao.UserDao;
import cn.itcast.domain.Role;
import cn.itcast.domain.UserInfo;
import cn.itcast.service.UserService;
import com.github.pagehelper.PageHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.authority.... | true |
99d3a307ca852b794668348195de41ffd9415577 | Java | Sw4T/LotR_Risk_Android | /LOTR_Risk_Android_0.1/src/com/net/Reception.java | UTF-8 | 985 | 3 | 3 | [
"MIT"
] | permissive | package com.net;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import objects.Joueur;
public class Reception {
private ObjectInputStream obj_in;
public Reception(InputStream in) throws IOException {
this.obj_in = new ObjectInputStream(in);
}
public Joueur getJou... | true |
05f2b09b9b475557e49a4c6e66eeb7fdefae4ddf | Java | lokeshyadav1702/RacknapAutomationDec2020 | /DotbricksQA8_v1/src/test/java/Marketplace/SignIn.java | UTF-8 | 851 | 1.945313 | 2 | [] | no_license | package Marketplace;
import java.io.IOException;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import pageObjects.LoginPage;
import resources.base;
public class SignIn extends base{
//@Test(dataProvider="getLoginData")
@Test
public void SignIn() {
HomePage... | true |
2d323cd75cabdb84a153a9cd2f6bf521640db96f | Java | hanframework/han | /han-core/src/main/java/org/hanframework/beans/condition/filter/ConditionalOnMissingBeanFilter.java | UTF-8 | 1,456 | 2.28125 | 2 | [
"Apache-2.0",
"ICU"
] | permissive | package org.hanframework.beans.condition.filter;
import org.hanframework.beans.beanfactory.BeanFactory;
import org.hanframework.beans.condition.BeanCreateConditionException;
import org.hanframework.beans.condition.ConditionCheckMetaData;
import org.hanframework.beans.condition.annotation.ConditionalOnMissingBean;
impo... | true |
475b39ef0e572eac96533e30ef24129d682957aa | Java | chenc118/Scouting-Projects | /SheetScoutv1/scout/StandValues.java | UTF-8 | 733 | 2.359375 | 2 | [] | no_license | package scout;
import util.Lib;
public enum StandValues {
TimestampS,
TeamNumI,
MatchNumS,
TeleGearNumI,
TeleGearPullI,
TeleGearAttemptI,
TelePickS,
TeleShootB,
TeleShootRateS,
TeleHighRateS,
TeleLowRateS,
TeleShootLocationS,
SpeedI,
DefenseI,
DoDefenseB,
DoClimbB,
ClimbTimeI,
ClimbSuccessB,
FoulI,... | true |
253cea5a3a6c057f19f3eb5c44f0e343e97578be | Java | Swayambhu872/ImageHoster | /src/main/java/imagehosting/ImageHoster.java | UTF-8 | 443 | 1.765625 | 2 | [] | no_license | package imagehosting;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
@SpringBootApplication
@ComponentScan
public class Im... | true |
3ab3f42b0174df25837931e3f6d226b0b3d0b77a | Java | Vacanth/VenderTool | /sharedtypes/src/main/java/com/vendertool/sharedtypes/core/Phone.java | UTF-8 | 1,384 | 2.296875 | 2 | [] | no_license | package com.vendertool.sharedtypes.core;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlEnum;
import com.fasterxml.jackson.annotation.JsonIgnore;
@XmlAccessorType(XmlAccessType.FIELD)
public class Phone {
@XmlEnum
public enum ... | true |
9087492e315005a67681c54cde24107bee1e100f | Java | SudharshanR/Socket | /CountPOAClient.java | UTF-8 | 2,082 | 2.9375 | 3 | [] | no_license | // CountPOAClient.java Static Client, VisiBroker for Java
import org.omg.CosNaming.*;
import java.io.File;
import java.util.*;
class CountPOAClient
{
public static void main(String args[])
{
int k = 1000;
try
{
for(int i=0;i<k;i++){
if(new File("myCount"+i+".state").exists())
new File("myCount"+... | true |
847f45cc7ed47b8ddf2a8f88e43718114bb5d2ea | Java | BoscoSuen/leetcode | /Java/103.binary-tree-zigzag-level-order-traversal.java | UTF-8 | 1,393 | 3.40625 | 3 | [] | no_license | /*
* @lc app=leetcode id=103 lang=java
*
* [103] Binary Tree Zigzag Level Order Traversal
*/
// @lc code=start
/**
* Definition for a binary tree node.
* public class TreeNode {
* int val;
* TreeNode left;
* TreeNode right;
* TreeNode() {}
* TreeNode(int val) { this.val = val; }
* T... | true |
c52b28519d17309379647f36687909e5e7afec18 | Java | er-Bot/Pharoh | /src/core/controllers/Dashboard.java | UTF-8 | 4,408 | 2.203125 | 2 | [] | no_license | package core.controllers;
import core.db.DBConnection;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import java.net.URL;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.... | true |
18f38ac5f80b08c4c4c114019de12e9696b9254f | Java | hamed701326/departmentletter | /src/main/java/ir/department/letter/model/Letter.java | UTF-8 | 634 | 2.34375 | 2 | [] | no_license | package ir.department.letter.model;
public class Letter{
private int id;
private String title;
private String privacy;
private String date;
private int indicator;
private String sender;
public int getId() {
return id;
}
public String getTitle() {
return title;
... | true |
6ebb99d40cb3f9fec9976d3d341b6f0fcb888e4b | Java | samtstern/gplus-haiku-client-android | /haikuplus/HaikuPlus/src/main/java/com/google/plus/samples/haikuplus/HaikuArrayAdapter.java | UTF-8 | 6,392 | 2.5 | 2 | [
"Apache-2.0"
] | permissive | /* Copyright (C) 2014 Google Inc.
*
* 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... | true |
46f9d9a0526955202001e8a772361599f3f1c92f | Java | fallimic/CodeSamples | /java/CampusMaps/CampusPathControl.java | UTF-8 | 4,320 | 3.046875 | 3 | [] | no_license | package sample;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Collection;
public class CampusPathControl extends JPanel {
private CampusModel mod;
private CampusBuilding start;
private CampusBuilding end;
private CampusMapView ... | true |
2ea49a266a7e95dcea3feffe0c4723a0e3215326 | Java | algorithmtraining/algorithm | /easy/String/2019/06/2019-06-15/PH_solution.java | UTF-8 | 2,263 | 3.546875 | 4 | [] | no_license | class Solution { //Runtime: 2 ms, faster than 61.37% of Java online submissions for Count and Say.
//Memory Usage: 34.2 MB, less than 100.00% of Java online submissions for Count and Say.
public String countAndSay(int n) {
StringBuilder result = new StringBuilder("1");
StringBui... | true |
ff97d617708c83f04da806d1d1816cc9e4f4e9d4 | Java | rileyL6122428/gme | /src/main/java/l2kstudios/gme/model/turn/TurnDirector.java | UTF-8 | 303 | 1.882813 | 2 | [] | no_license | package l2kstudios.gme.model.turn;
import l2kstudios.gme.model.interaction.Input;
import l2kstudios.gme.model.turn.TurnPhaseSequence.PhaseProgressionFlag;
import l2kstudios.gme.swing.view.View;
public interface TurnDirector extends View {
public PhaseProgressionFlag receiveInput(Input input);
}
| true |
36a8340782f41771106e36b9cb827c1804ab380f | Java | matutter/DepGraphs | /src/depgraphs/data/FQN.java | UTF-8 | 2,950 | 2.515625 | 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 depgraphs.data;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
im... | true |
292305d3a6127f80f76cfcd54c9222d6502378ef | Java | zhangquanit/push_fcm | /app/src/main/java/com/sndo/fcm/demo4/util/LContext.java | UTF-8 | 1,359 | 2.28125 | 2 | [] | no_license | package com.sndo.fcm.demo4.util;
import android.content.Context;
import android.util.DisplayMetrics;
/**
* @author 张全
*/
public class LContext {
private static Context ctx;
public static int appIcon;
public static String appName;
public static String pkgName;
public static String versionName;
... | true |
719e920500acae2dac155582e291da33d383d8d2 | Java | DragonKing2014/JavaWeb | /JavaRedis/src/RedisTest.java | GB18030 | 651 | 2.84375 | 3 | [] | no_license | import redis.clients.jedis.Jedis;
public class RedisTest {
public static void main(String[] args){
Jedis jedis=RedisConnection.RedisConn();
// redis ַ
for(Integer i=0;i<=100000;i++){
Integer j=(int) Math.sqrt(i);
jedis.set(i.toString(),j.toString());
}
long start=System.currentTimeMillis();
... | true |