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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
d9b19420d988499375873c5d8b7469641dec7e1d | Java | RidhimaAneja/swagLabs | /src/main/java/pageobject/BasketPage.java | UTF-8 | 2,509 | 2.78125 | 3 | [] | no_license | package pageobject;
import java.util.List;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import org.openqa.selenium.support.ui.ExpectedConditions;... | true |
ef4473c5ee966c915967405eb5c1c9214cdfb2f5 | Java | JDevlieghere/MAS | /rinsim/src/main/java/com/jonasdevlieghere/mas/strategy/SchedulingStrategy.java | UTF-8 | 924 | 2.5 | 2 | [
"Apache-2.0"
] | permissive | package com.jonasdevlieghere.mas.strategy;
import com.jonasdevlieghere.mas.beacon.BeaconParcel;
import com.jonasdevlieghere.mas.common.Scheduler;
import rinde.sim.core.TimeLapse;
import rinde.sim.core.model.pdp.PDPModel;
import rinde.sim.core.model.road.RoadModel;
public interface SchedulingStrategy {
/**
*... | true |
10b03de9426d8b219a8f2d2d4717393c77c1535b | Java | fatesss777/ssm | /test/com/wzp/xstream/XStreamTest.java | UTF-8 | 459 | 2.515625 | 3 | [] | no_license | package com.wzp.xstream;
import com.thoughtworks.xstream.XStream;
import com.wzp.bean.User;
import org.junit.Test;
public class XStreamTest
{
@Test
public void beanToXml()
{
User user = new User(1, "哇哇哇", "123");
XStream xStream = new XStream();
//起别名
xStream.alias("user",... | true |
53030dc54eb434bf0205cfe285e4cb89af5a1d4e | Java | konradkrzysztofiak/pixelShop | /src/main/java/com/pixel/dao/postgresql/implementations/QuestCompletedDAOI.java | UTF-8 | 843 | 2.59375 | 3 | [] | no_license | package com.pixel.dao.postgresql.implementations;
import com.pixel.model.Quest;
import com.pixel.model.Student;
import java.sql.*;
public class QuestCompletedDAOI {
private Connection connection;
public QuestCompletedDAOI(Connection connection) {
this.connection = connection;
}
public bool... | true |
7dbd5a68b6b106053ca012a71b03d0317ae2cdaa | Java | surabhi883/Registrationpage | /com.ssap.iava.demo.collage/src/com/ssap/iava/demo/collage/Student.java | UTF-8 | 1,276 | 2.703125 | 3 | [] | no_license | package com.ssap.iava.demo.collage;
public class Student {
private int Rollno;
private String Name;
private String Department;
private Address Address;
private String gender;
public int getRollno() {
return Rollno;
}
public void setRollno(int rollno) {
Rollno = rollno;
}
public String... | true |
a41ab8b119ddc1201570536a7e303709f47ef527 | Java | Hoanghung2000/GameTowerDefense | /GameDemoDefense/src/sample/Menu/StageCreation.java | UTF-8 | 683 | 2.890625 | 3 | [] | no_license | package sample.Menu;
import Tower.TowerMenu;
import javafx.scene.layout.Pane;
import java.util.ArrayList;
public class StageCreation {
public static ArrayList<TowerMenu> towerMenus = new ArrayList<TowerMenu>();
public static void creatTowerMenu(Pane root){
for(int i = 0; i < 4; i++){
to... | true |
d02b82044fe3be2de46bdc3c74e969a76ad4b8d7 | Java | viniciusramos91/BionimbuzClient | /src/main/java/br/unb/cic/bionimbuz/rest/action/Schedule.java | UTF-8 | 640 | 1.734375 | 2 | [] | no_license | package br.unb.cic.bionimbuz.rest.action;
import javax.ws.rs.client.Client;
import br.unb.cic.bionimbuz.rest.request.RequestInfo;
import br.unb.cic.bionimbuz.rest.response.ResponseInfo;
public class Schedule extends Action {
// private static final String SCHED_LOGIN_URL = "/rest/sched";
@Override
public vo... | true |
594c3ff54696dd8c6840833f04b4bd15c1efe80e | Java | PIDEVSportify/BesthostMobile | /src/GUI/OfferGuimobile/AfficherOffersGuimobile.java | UTF-8 | 3,351 | 2.375 | 2 | [] | no_license | package Gui.OfferGuimobile;
import Entities.offre;
import Gui.RatingGuimobile.AjouterRatingGuimobile;
import Services.Offre_c;
import com.codename1.components.MultiButton;
import com.codename1.components.ShareButton;
import com.codename1.io.Util;
import com.codename1.share.ShareService;
import com.codename1.ui.*;
impo... | true |
7a0e663be5e4b639344bb9b2013f5f8ae5cd4e22 | Java | bapi/ConcurrentKDTree | /src/se/chalmers/dcs/bapic/concurrentKDTree/utils/DimensionLimitException.java | UTF-8 | 428 | 1.859375 | 2 | [
"BSD-2-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.
*/
package se.chalmers.dcs.bapic.concurrentKDTree.utils;
/**
*
* @author bapic
*/
public class DimensionLimitException exte... | true |
8465227f71545624ba7e99ea44bac0bde5dd2300 | Java | othmane-aja/Ticket-me | /app/src/main/java/ma/ensias/ticket_me/requests/RequestEvent.java | UTF-8 | 1,097 | 2.25 | 2 | [
"MIT"
] | permissive | package ma.ensias.ticket_me.requests;
public class RequestEvent {
private int admin_event;
private String name_event;
private String date_event;
private String location;
public RequestEvent(int admin_event, String name_Event, String date_event, String location) {
this.admin_event = admin_... | true |
0572747934da03484f4f3e5eb0a7c57d53c8a76c | Java | waterandwind/TianTong | /tiantong/src/main/java/com/tiantong/model/FormInfo.java | UTF-8 | 1,252 | 1.929688 | 2 | [] | no_license | package com.tiantong.model;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import jav... | true |
6e12c9ffde0bd8bc3f29b18fc8ccabc9a3b73d90 | Java | drissamri/linkshortener | /linkshortener-api/src/main/java/be/drissamri/service/impl/Base36HashService.java | UTF-8 | 2,198 | 2.09375 | 2 | [
"MIT"
] | permissive | /*
* The MIT License (MIT)
*
* Copyright (c) 2014 Driss Amri
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... | true |
1193c75ad7b47d3103857df658f1a85ecfcd32ea | Java | kvverti/Documented-DataFixerUpper | /src/main/java/com/mojang/datafixers/TypedOptic.java | UTF-8 | 7,881 | 1.78125 | 2 | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
package com.mojang.datafixers;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Maps;
import com.google.common.reflect.TypeToken;
import com.mojang.datafixers.kinds.App;
import com.mojang.data... | true |
166b236e6ffb3c84c01d62652341593ade9db305 | Java | qq1074600100/OJforJava | /testCase/TestCase3.java | UTF-8 | 854 | 2.625 | 3 | [] | no_license | import org.junit.Assert;
import org.junit.Test;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class TestCase3 {
@Test
public void testSolute() throws Exception {
Solution solution = new Solution();
Map<List<Integer>, Integer> datas = ne... | true |
44a087d8c6301372db0b42a9d15b6ab318446e93 | Java | RgrMz/carreful | /src/main/java/edu/uclm/esi/carreful/tokens/AlmacenUsuarios.java | UTF-8 | 862 | 2.46875 | 2 | [] | no_license | package edu.uclm.esi.carreful.tokens;
import java.util.HashMap;
public class AlmacenUsuarios {
private static AlmacenUsuarios yo;
private HashMap<String, String[]> usuariosRecordados;
private AlmacenUsuarios() {
this.usuariosRecordados = new HashMap<>();
}
public static synchronized AlmacenUsuarios getInst... | true |
a6e1de7f3737d31b1572004d8599687723097cc8 | Java | tranthanhquang9900/vnuk-java-swing | /src/vn/edu/vnuk/controller/Controller.java | UTF-8 | 14,280 | 3.078125 | 3 | [] | no_license | package vn.edu.vnuk.controller;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Scanner;
import vn.edu.vnuk.define.Define;
import vn.edu.vnuk.model.CasualWorker;
import vn.edu.vnuk.model.Lecturer;
import... | true |
66d1a3e28da0e7ba50ace37e9ef980eb497f14e9 | Java | BillingLiao/bill360 | /src/com/wx/b360/repository/UserRepository.java | UTF-8 | 516 | 1.90625 | 2 | [] | no_license | package com.wx.b360.repository;
import java.util.List;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import com.wx.b360.entity.User;
public interface UserRepository... | true |
d9c3c8f3804c62699ed3b0d966aa7e67c1c26c3b | Java | hellosunshinegit/winnerbook | /src/main/base/com/winnerbook/base/frame/dao/impl/JdbcDaoImpl.java | UTF-8 | 3,778 | 2.46875 | 2 | [] | no_license | package com.winnerbook.base.frame.dao.impl;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;
import java.sql.Timestamp;
import java.sql.Types;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
i... | true |
496236476c7833794007dca0789037a4d192e0c6 | Java | apache/netbeans | /ide/refactoring.api/src/org/netbeans/modules/refactoring/spi/RefactoringElementImplementation.java | UTF-8 | 5,067 | 1.976563 | 2 | [
"Apache-2.0"
] | permissive | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | true |
2d204825f01d00f7c9bb0924969002970bfbff2b | Java | akhilsharma12297/Interview-Prepration | /dp/CountTheRepetitions.java | UTF-8 | 1,237 | 2.984375 | 3 | [] | no_license | package dp;
public class CountTheRepetitions {
public int getMaxRepetitions(String s1, int n1, String s2, int n2) {
int len1 = s1.length();
int len2 = s2.length();
boolean c[] = new boolean[26];
for (int k = 0; k < len1; k++) {
c[s1.charAt(k) - 'a'] = true;
}
for (int k = 0; k < len2; k++) {
if (!c... | true |
2bc8152a142b543e74fd18eed98fa1e4d638f963 | Java | fightingyuman/tis-solr | /tis-console/src/main/java/com/qlangtech/tis/manage/biz/dal/dao/impl/ZookeeperServerDAOImpl.java | UTF-8 | 4,910 | 1.960938 | 2 | [
"MIT"
] | permissive | /*
* The MIT License
*
* Copyright (c) 2018-2022, qinglangtech Ltd
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to... | true |
9f13868ef728cc08b17a7adfa1685e470e74dbd9 | Java | XUELAN-Tracy/Big-Java-Exercise-Solutions | /chapter2/codestudy/AlienFaceViewer.java | UTF-8 | 495 | 2.75 | 3 | [] | no_license | package chapter2.codestudy;
import javax.swing.JFrame;
public class AlienFaceViewer {
public static void main(String[] args) {
// TODO Auto-generated method stub
JFrame frame = new JFrame();
frame.setSize(150, 250);
frame.setTitle("An allien's face");
frame.setDefaultCloseOperation... | true |
6f2f6fdbd23bd06b69fbdd72805a677c790107b9 | Java | secret1123/JavaSE_20171 | /src/main/java/java1702/javase/exercise/Student.java | UTF-8 | 1,431 | 3.65625 | 4 | [] | no_license | package java1702.javase.exercise;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
/**
* Created by AnLu on
* 2017/4/10 19:42.
* JavaSE_20171
*/
public class Student {
private String name;
private int age;
private char gender;
public Student(String name, int age, ... | true |
97b37f5ba74fa89a7760a205884da1b133fc3ea4 | Java | furszy/IoP-Governance-Apps | /old_app/src/main/java/iop/org/iop_contributors_app/intents/DialogIntentsBuilder.java | UTF-8 | 1,699 | 1.976563 | 2 | [] | no_license | package iop.org.iop_contributors_app.intents;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Handler;
import org.iop.WalletModule;
import org.iop.intents.constants.IntentsConstants;
import java.util.concurrent.TimeUn... | true |
0c2d6234366088f9260a815878b1094f59b83f90 | Java | OleksijO/collections | /src/main/java/training/collection/MyAbstractList.java | UTF-8 | 5,962 | 3.3125 | 3 | [] | no_license | package training.collection;
import java.util.*;
/**
* Variation of ArrayList implementation.
*
* @author oleksij.onysymchuk@gmail.com
*/
abstract class MyAbstractList<E> implements List<E> {
final static String INDEX_OUT_OF_BOUNDS = "Index is out of bounds. Index = %d.";
final static String NO_PLACE_LE... | true |
8fb1dc720f24d47217f4472084f4531c2b19c236 | Java | AirlanggaHealthCareIS/iClinic | /Project/IClinic_ServerApp/test/PendaftarandanRegistrasiPasienLama/DataPasienLamaTerdaftar.java | UTF-8 | 1,474 | 2.25 | 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 PendaftarandanRegistrasiPasienLama;
import Database.Entity.Pasien;
import ServerApplication.Service.Bag_PendaftaranServiceServ... | true |
a7cb89f6b0b5963eb79248064d853e127a8a03f5 | Java | faathima/workflow_ss | /org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/environment/dao/impl/DatabasePrivilegeTemplateDAOImpl.java | UTF-8 | 5,898 | 1.96875 | 2 | [] | no_license | /*
* Copyright (c) 2013, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.... | true |
f76f7ae1a6f73e7a65819fe0e81e13c62a913818 | Java | lospejos/jooby | /tests/src/test/java/io/jooby/Issue1292.java | UTF-8 | 1,594 | 2.25 | 2 | [
"Apache-2.0"
] | permissive | package io.jooby;
import io.jooby.i1292.Controller1292;
import io.jooby.junit.ServerTest;
import io.jooby.junit.ServerTestRunner;
import java.util.function.Predicate;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class Issue1292 {
public static class SubApp extends Jooby {
{
get("... | true |
0926f44ec54c49d77780383af96df7dd78018f03 | Java | GhayaStory/LearnProject | /ghaya-demo/mybatis-plus/src/main/java/com/ghaya/mybatisplus/entity/User.java | UTF-8 | 620 | 1.960938 | 2 | [] | no_license | package com.ghaya.mybatisplus.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
//自动getset
@Data
//无参构造
@NoArgsConstructor
//全参构造
@AllArgsConstructor
@TableName("t_user")
public class User {
... | true |
ca613f544f40ff52ac149aabd6f506e23fec0291 | Java | secretadmin/NCBSinfo | /app/src/main/java/com/rohitsuratekar/NCBSinfo/activities/transport/adapters/TransportRouteListAdapter.java | UTF-8 | 2,651 | 2.390625 | 2 | [
"MIT"
] | permissive | package com.rohitsuratekar.NCBSinfo.activities.transport.adapters;
import android.content.Context;
import android.support.constraint.ConstraintLayout;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextVi... | true |
0c097fb684e20f73c7e8e88dcb40eb3e75da1d64 | Java | Evan-hu/companyWeb | /MakeUpERP/.svn/pristine/0c/0c097fb684e20f73c7e8e88dcb40eb3e75da1d64.svn-base | GB18030 | 1,686 | 1.945313 | 2 | [] | no_license | package com.ga.erp.biz.comm.sort;
import java.sql.ResultSet;
import com.ga.click.control.tree.TreeNode;
import com.ga.click.exception.BizException;
import com.ga.click.layout.Layout;
import com.ga.click.layout.ViewPageLayout;
import com.ga.click.mvc.ModelMap;
import com.ga.click.mvc.UnitPage;
import com.ga.cl... | true |
654307f3988040f75bfe97916999cf3a1956631f | Java | codrodev/project_v5 | /app/src/main/java/dm/sime/com/kharetati/util/Dialog.java | UTF-8 | 723 | 2.125 | 2 | [] | no_license | package dm.sime.com.kharetati.util;
import android.app.AlertDialog;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.view.LayoutInflater;
import dm.sime.com.kharetati.R;
public class Dialog extends DialogFragment {
@Override
public android.app.Dialog onCreateDialog(Bundl... | true |
839107cd531a704a4259f6c2bccb6773e4119ebd | Java | shesunshine/yunweipingtai | /src/com/hhh/platform/ops/OPSEntryPoint.java | UTF-8 | 543 | 1.84375 | 2 | [] | no_license | package com.hhh.platform.ops;
import org.eclipse.rap.rwt.application.EntryPoint;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.application.WorkbenchAdvisor;
public class OPSEntryPoint implements EntryPoint {
public OPSEntryPoint() {
// TODO Auto-generated constru... | true |
63583fcf108a7f49147728d9023ffa6ef141f286 | Java | chenhuang511/ejbca-custom-ui | /modules/ejbca-ejb-interface/src/org/cesecore/core/ejb/authorization/AdminEntitySession.java | UTF-8 | 1,705 | 1.90625 | 2 | [] | no_license | /*************************************************************************
* *
* EJBCA: The OpenSource Certificate Authority *
* *
* This software is... | true |
80e730cec4bd7d3dc1b235f0ea9be21baa5953b9 | Java | Jenkins-eldiosantos/mobile-messenger-web | /src/main/java/net/eldiosantos/messenger/repository/interfaces/Repository.java | UTF-8 | 197 | 1.632813 | 2 | [] | no_license | package net.eldiosantos.messenger.repository.interfaces;
import java.io.Serializable;
public interface Repository<T, K extends Serializable> extends Read<T, K>, Write<T, K>, Delete<T, K>
{
} | true |
b268e1ce42cb163015834c5583f85e17989be27f | Java | cdosousa/Condominio | /target/generated-sources/annotations/com/condomino/domain/Prestadorservico_.java | UTF-8 | 1,989 | 1.59375 | 2 | [] | no_license | package com.condomino.domain;
import java.util.Date;
import javax.annotation.Generated;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;
@Generated(value="EclipseLink-2.5.2.v20140319-rNA", date="2019-07-30T11:26:30")
@StaticMetamodel(PrestadorServico.class)
pub... | true |
f3807705e7bf8c4239e0cc9514400dd383660c00 | Java | thiagosantoscunha/aimbra-finance | /product/src/main/java/com/aimbra/finance/product/endpoints/controllers/ProductController.java | UTF-8 | 1,114 | 2.015625 | 2 | [] | no_license | package com.aimbra.finance.product.endpoints.controllers;
import com.aimbra.finance.core.entities.Product;
import com.aimbra.finance.product.endpoints.services.ProductService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import ... | true |
5c24f24a4d524630ec6b2f9ebb4c4f31564940b6 | Java | Metaswitch/gradle | /subprojects/model-core/src/main/java/org/gradle/internal/reflect/validation/AbstractValidationProblemBuilder.java | UTF-8 | 3,786 | 1.734375 | 2 | [
"BSD-3-Clause",
"LGPL-2.1-or-later",
"LicenseRef-scancode-mit-old-style",
"EPL-2.0",
"CDDL-1.0",
"MIT",
"LGPL-2.1-only",
"Apache-2.0",
"MPL-2.0",
"EPL-1.0"
] | permissive | /*
* Copyright 2021 the original author or authors.
*
* 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 applica... | true |
b08c81cf3a7e3bb6f904b90b377f226ea0330537 | Java | RashmiKonda/BlazeFlightProject | /src/main/java/com/pageObject/PurchaseTicketPage.java | UTF-8 | 2,962 | 2.46875 | 2 | [] | no_license | package com.pageObject;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import com.base.CommonLibrary;
public class PurchaseTicketPage {
public WebDriver driver;
CommonLibrary commonLibrary = CommonLibrary.getInstance();
public PurchaseTicketPage(W... | true |
c761dbb3cb68f95c291faf8383d366d6e5db22cb | Java | murteiraPT/Projeto-JAVA-Programacao-com-objetos | /sth/core/Student.java | UTF-8 | 5,942 | 3.046875 | 3 | [] | no_license | package sth.core;
import java.util.*;
import sth.core.exception.*;
public class Student extends Person implements java.io.Serializable{
private boolean _isRepresentative;
private HashMap<String, Discipline> _disciplineMap;
private Course _course;
@Override
void parseContext(String lineContext, School school)... | true |
d18d496957d9f8457c9ad15e65043ee64781eb68 | Java | naldoreupo/PatronesDeDise-oPUCP | /PatronesDeDiseño/src/patronesdediseño/AbstractFactory/BusToyota.java | UTF-8 | 398 | 2.859375 | 3 | [] | no_license | package patronesdediseño.AbstractFactory;
public class BusToyota implements IBus {
private String nombre;
private double precio;
public BusToyota() {
this.nombre = "Bus Toyota";
this.precio = 27650;
}
@Override
public String getNombre() {
return this.nombre;
}
... | true |
852246a037a89ac6b6fe79bfbdf2ed56430b80f5 | Java | iqiangzi/ssdutZhangCC | /src/net/xidlims/service/teaching/TAssignmentForExamServiceImpl.java | UTF-8 | 23,875 | 1.8125 | 2 | [] | no_license | package net.xidlims.service.teaching;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
i... | true |
5cf34de42139a389e64d34f9bb3f7d338851211c | Java | BrianGaucher/Camasia | /src/code/entity/Player.java | UTF-8 | 21,467 | 2.734375 | 3 | [
"Apache-2.0"
] | permissive | package code.entity;
import code.Game;
import code.InputHandler;
import code.entity.particle.TextParticle;
import code.gfx.Color;
import code.gfx.Screen;
import code.item.*;
import code.item.resource.Resource;
import code.level.Level;
import code.level.tile.Tile;
import code.menu.InventoryMenu;
import code.sound.Sound... | true |
727a4d8298d68c9866dee6f9f9e6df584327332b | Java | newcrows/FApp | /app/src/main/java/com/crowsnet/fappexample/core/provider/DateProvider.java | UTF-8 | 7,794 | 2.125 | 2 | [] | no_license | package com.crowsnet.fappexample.core.provider;
import android.os.Bundle;
import android.util.Log;
import com.crowsnet.fappexample.core.pojo.User;
import com.crowsnet.fappexample.core.pojo.DateItem;
import com.crowsnet.fappexample.core.pojo.ItemType;
import com.crowsnet.fappexample.core.exception.DateProviderExceptio... | true |
c7b4580ef71122f1d7b0f47a4e4ca6b5c6227058 | Java | shawon39/Java-Project-Netbeans | /JavaTpoint/src/Threaddd/TestMultitasking4.java | UTF-8 | 498 | 3 | 3 | [] | no_license |
package Threaddd;
public class TestMultitasking4 {
public static void main(String[] args) {
Thread th1 = new Thread(){
@Override
public void run(){
System.out.println("Task One ! !!");
}
};
Thread th2 = new Thread(){
... | true |
38b8958c10446f123460daedf0e78b7657ebfe3c | Java | Harshida123/birthday | /MY HOMEWORK1703/src/ShrikatsirHomework15042019/AllNumberprint.java | UTF-8 | 197 | 2.375 | 2 | [] | no_license | package ShrikatsirHomework15042019;
public class AllNumberprint {
public static void main(String[] args){
for(int b=1;b<=100;b++){
System.out.println(b);
}
}
}
| true |
ddc6b2e4683039625a6275b5b1b88a397b2a9b84 | Java | edgarzhavoronkov/vclang | /src/test/java/com/jetbrains/jetpad/vclang/typechecking/typeclass/TypeClassesGlobal.java | UTF-8 | 5,216 | 2.46875 | 2 | [] | no_license | package com.jetbrains.jetpad.vclang.typechecking.typeclass;
import com.jetbrains.jetpad.vclang.typechecking.TypeCheckingTestCase;
import org.junit.Test;
public class TypeClassesGlobal extends TypeCheckingTestCase {
@Test
public void inferInstance() {
typeCheckClass(
"\\class X {\n" +
" | A : ... | true |
752bd5d98d53023fc49363f47b98da51b1fc8cb1 | Java | GomathiSiddaiyan/Selenium_Week2.Day2 | /SalesForceLoginProgram.java | UTF-8 | 2,106 | 2.484375 | 2 | [] | no_license | package week2.day2;
import java.time.Duration;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.Select;
import io.github.bonigarcia.wdm.WebDriverManager;
public class SalesForceLoginProgram {
public s... | true |
0d92e5047ba0595a9b9b0460ed82629e23c91b31 | Java | takidean/codingame-tests | /src/main/java/changeTest/Change.java | UTF-8 | 488 | 2.0625 | 2 | [] | no_license | package changeTest;
import java.io.IOException;
import java.io.Reader;
import java.io.StringReader;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.util.*;
import j... | true |
41596ce955ecfa20c69ec7976cdf0fc59c83f87e | Java | SezerUrun/Freelancer | /app/src/main/java/com/freelancer/API/GetData.java | UTF-8 | 1,924 | 2.0625 | 2 | [] | no_license | package com.freelancer.API;
import com.freelancer.Message;
import com.freelancer.Offer;
import com.freelancer.Proje;
import com.freelancer.User;
import java.util.List;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrof... | true |
14776c675ea62fe4767dda24cc29d8d80380289e | Java | yexizhan/zookeeper-temp | /src/main/java/com/dunkrik/master/MasterListener.java | UTF-8 | 716 | 2.328125 | 2 | [] | no_license | package com.dunkrik.master;
import java.util.Observable;
import java.util.Observer;
public class MasterListener implements Observer {
private MetaNode metaNode;
public MasterListener(MetaNode metaNode) {
this.metaNode = metaNode;
}
@Override
public void update(Observable o, Object arg) ... | true |
ee4ec72c4d65e6536361820135af1ffbad5c44ce | Java | palash051/R-D | /VIPShopper/src/com/shopper/app/activities/More.java | UTF-8 | 15,132 | 2.0625 | 2 | [] | no_license | package com.shopper.app.activities;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.inputmethod.InputMethodManager;
import android.widget.Button... | true |
1a176c70e4bf2e8a2e3806fe3474bf123b62305d | Java | wnr/Othello-other | /src/kth/demo/Demo7.java | UTF-8 | 1,302 | 3.265625 | 3 | [] | no_license | package kth.demo;
import kth.game.othello.OthelloFactoryImpl;
import kth.game.othello.Othello;
import kth.game.othello.board.Node;
import kth.game.othello.player.Player;
import java.util.List;
/**
* Starts a human game, plays a few move and then undo the last move.
*
* @author Mattias Harrysson
*/
public class D... | true |
591ad5fe7034f02d043fa14f1f046d89f1bf3794 | Java | KengoShimizu/Material | /src/com/material/ui/MainActivity.java | UTF-8 | 8,275 | 2.03125 | 2 | [] | no_license | package com.material.ui;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.app.ActionBarDrawerToggle;... | true |
a10fe6f06b099d4c3cff15c6065462642e3dc6a5 | Java | kachna96/Search-tool | /src/main/java/cz/muni/fi/pb162/find/impl/comparators/FilePathComparator.java | UTF-8 | 643 | 2.71875 | 3 | [] | no_license | package cz.muni.fi.pb162.find.impl.comparators;
import cz.muni.fi.pb162.find.comparators.BasicComparator;
import cz.muni.fi.pb162.find.filesystem.SearchEntry;
/**
* Class for comparing two objects based on their path
* @author xkacmar (445721)
* @version 1.0
*/
public class FilePathComparator implements BasicComp... | true |
b2823baaa54e5735222a3ee6e11eb911318bfef9 | Java | BagusWibowo/Rekayasa-Perangkat-Lunak | /app/src/main/java/com/example/healthcareservice/SflashActivity.java | UTF-8 | 1,156 | 1.898438 | 2 | [] | no_license | package com.example.healthcareservice;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.widget.ImageView;
import androidx.appcompat.app.AppCompatActivity;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.engine.DiskCacheStrategy;
public class SflashAc... | true |
4c85a89bba0d5d52827a597c647e59529a1d8e86 | Java | gabriel-vanca/ScenarioWeek4 | /src/DataStructures/Edge.java | UTF-8 | 815 | 3.484375 | 3 | [] | no_license | package DataStructures;
import java.awt.geom.Line2D;
import static java.lang.Math.pow;
import static java.lang.Math.sqrt;
/**
* Created by Andreas Zinonos on 20/02/17.
*/
public class Edge extends Line2D.Double {
public Node node1 = null;
public Node node2 = null;
public double weight;
public Edg... | true |
0c41c1a8ebdb0a416d7338a63fd2dcd4c5305307 | Java | MHR1985/BookFinderProjects | /BookFinder/src/main/java/com/example/bookfinder/BookfinderApplication.java | UTF-8 | 490 | 1.671875 | 2 | [] | no_license | package com.example.bookfinder;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import java.io.IOException;
@SpringBootApplication
public class BookfinderApplication {
public static void main(String[] args) throws IOException {
S... | true |
bd19c4642cc27d0d4259b7ebbf9c800f7e8fad62 | Java | fernandolopezsanchez/EjercicioTarjPunt | /workspace/01_TarjetaPuntos/src/main/java/com/tarjeta/service/ClienteService.java | UTF-8 | 547 | 1.71875 | 2 | [] | no_license | package com.tarjeta.service;
import org.springframework.beans.factory.annotation.Autowired;
import com.tarjeta.domain.Cliente;
import com.tarjeta.persistence.ClienteDao;
import com.tarjeta.persistence.UsuarioDao;
public class ClienteService implements IClienteService{
@Autowired
private ClienteDao clienteDao;
... | true |
795a04c1e12df2d20e3ca292c7c581dcd34f53df | Java | rdp89/examenMarzoCorregido | /pgn/poo/examenMarzo2017/jerarquiaDeFiguras/Triangulo.java | WINDOWS-1250 | 1,372 | 3.125 | 3 | [] | no_license | package pgn.poo.examenMarzo2017.jerarquiaDeFiguras;
import pgn.poo.examenMarzo2017.excepciones.DimensionNoValidaException;
import pgn.poo.examenMarzo2017.matematicas.Aleatorio;
public class Triangulo extends FiguraCerrada {
private double base;
private double altura;
private Aleatorio aleatorio = new Aleat... | true |
d78e6f3d271fedccb41768e532f694e0651ab89c | Java | ntquan2911/MD2_CodeGym | /03_ArraysAndMethods/src/_06_BT_DeleteElement/DeleteElement.java | UTF-8 | 1,258 | 4.15625 | 4 | [] | no_license | package _06_BT_DeleteElement;
import java.util.Scanner;
public class DeleteElement {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int i, number, position;
System.out.println("Enter the number of elements: ");
number = scanner.nextInt();
... | true |
ad04488789d73c3edd327fa75844509f865718c9 | Java | ZhangLeiZ/JAVA | /ShiroDemo/src/main/java/com/zl/Dao/PermissonDao.java | UTF-8 | 324 | 1.726563 | 2 | [] | no_license | package com.zl.Dao;
import com.zl.Bean.Permisson;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* Created by Administrator on 2017/10/9.
*/
@Repository
public interface PermissonDao {
List<String> permissonList(String username);
List<Permisson> permissionPageList(Integer mid)... | true |
dc43723273d76c2ede126705e39b6d2cb8f892e0 | Java | taniaasim/invoicify | /src/main/java/com/libertymutual/goforcode/invoicify/repositories/FlatFeeBillingRecordRepository.java | UTF-8 | 363 | 1.710938 | 2 | [] | no_license | package com.libertymutual.goforcode.invoicify.repositories;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.libertymutual.goforcode.invoicify.models.FlatFeeBillingRecord;
@Repository
public interface FlatFeeBillingRecordRepository extends Jpa... | true |
9d74bf97f6d5214cd31698da5c0c85a79197ab4b | Java | nli2code/jss-artifact | /src/PatternCompleter/data/draw_border/corpus/69.java | UTF-8 | 11,721 | 2.25 | 2 | [] | no_license | package com.gil.bridge;
import org.apache.poi.xssf.usermodel.XSSFClientAnchor;
import org.apache.poi.xssf.usermodel.XSSFDrawing;
import org.apache.poi.xssf.usermodel.XSSFRichTextString;
import org.apache.poi.xssf.usermodel.XSSFTextBox;
import org.openxmlformats.schemas.drawingml.x2006.main.STShapeType;
import static ... | true |
fa921fc268b12cca92b81975908f895e18b95554 | Java | AvocadoG/COMP2042_CW_sfyxg1 | /TryFrog1_20093715/src/main/java/froggerActors/Obstacle.java | UTF-8 | 1,445 | 3.59375 | 4 | [] | no_license | package froggerActors;
import froggerMaterialGenerator.ImageGenerator;
import javafx.scene.image.Image;
/**
* <b>Represents the Obstacles, which are the cars and the trucks on the road, in Frogger Game.<br>
* {@code Obstacle} is also an {@link froggerActors.Actor}.</b>
*
*/
public class Obstacle extends Actor{
... | true |
362711376d98df05e7f4bd9ba0e21bc1366fca0d | Java | prajuacj/fnh-new | /src/main/java/com/leimingtech/service/module/store/service/impl/StoreExtendServiceImpl.java | UTF-8 | 2,353 | 2.171875 | 2 | [] | no_license | package com.leimingtech.service.module.store.service.impl;
import com.leimingtech.core.entity.base.Express;
import com.leimingtech.core.entity.base.StoreExtend;
import com.leimingtech.service.module.setting.service.ExpressService;
import com.leimingtech.service.module.store.dao.StoreExtendDao;
import com.leiming... | true |
b411042248424f8d009ba566876fa750e049183b | Java | elhackeado/Fittocracy | /app/src/main/java/com/example/amanthakur/fittocracy/CoreStrength.java | UTF-8 | 7,953 | 2.15625 | 2 | [] | no_license | package com.example.amanthakur.fittocracy;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import andr... | true |
22a4e83a5370f649f3593a60dab8ef2bf4ed2bb2 | Java | otkp/23-REG-SERVICES | /epragati-reg-services/src/main/java/org/epragati/registration/service/ServiceProviderFactory.java | UTF-8 | 1,550 | 2.15625 | 2 | [] | no_license | package org.epragati.registration.service;
import java.util.Optional;
import org.epragati.exception.BadRequestException;
import org.epragati.master.service.PrSeriesService;
import org.epragati.sn.service.NumberSeriesService;
import org.epragati.sn.service.impl.NumberSeriesSateLevelServiceImpl;
import org.epragati.sn.... | true |
d15ea8ae9365188122072c6463e96848d6e2859d | Java | TeamSven/KaiTo | /app/src/main/java/io/github/dnivra26/kaito/ParseHelper.java | UTF-8 | 5,941 | 2.234375 | 2 | [] | no_license | package io.github.dnivra26.kaito;
import android.content.Context;
import com.parse.ParseException;
import com.parse.ParseFile;
import com.parse.ParseGeoPoint;
import com.parse.ParseUser;
import com.parse.SaveCallback;
import io.github.dnivra26.kaito.models.FoodItem;
import io.github.dnivra26.kaito.models.FoodRating;... | true |
19c3e21ddf1fecca2ceca5c0fe00f4415dd36e39 | Java | longle2812/Module5 | /api-angular-product/src/main/java/com/codegym/apiangularproduct/service/product/IProductService.java | UTF-8 | 241 | 1.585938 | 2 | [] | no_license | package com.codegym.apiangularproduct.service.product;
import com.codegym.apiangularproduct.model.Product;
import com.codegym.apiangularproduct.service.IGeneralService;
public interface IProductService extends IGeneralService<Product> {
}
| true |
8ff1ff3ff22327be1a7b3c1b80aadffa9927fcc3 | Java | redbeluga/rubyCode | /ruby/src/main/java/music/JoinCommand.java | UTF-8 | 2,755 | 2.5625 | 3 | [] | no_license | package music;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.entities.GuildVoiceState;
import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.entities.TextChannel;
import net.dv8tion.jda.api.entities.VoiceChannel;
import net.dv8tion.jda.api.events.message.guild.GuildMessageRe... | true |
c0528bcf9b43b379c7e7bec8400baa3e40fef2a3 | Java | veresdavid/coders | /src/main/java/hu/unideb/inf/coders/result/RegistrationResult.java | UTF-8 | 268 | 1.734375 | 2 | [] | no_license | package hu.unideb.inf.coders.result;
import lombok.*;
import java.util.Map;
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@ToString
@EqualsAndHashCode
public class RegistrationResult {
private boolean successful;
private Map<String, String> errors;
}
| true |
02c3cc0efbb5d315032fabf199a98c5bd3efad24 | Java | Azure/azure-sdk-for-java | /sdk/datamigration/azure-resourcemanager-datamigration/src/main/java/com/azure/resourcemanager/datamigration/fluent/models/ProjectProperties.java | UTF-8 | 6,820 | 1.8125 | 2 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-2.1-or-later",
"CC0-1.0",
"BSD-3-Clause",
"UPL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.datamigration.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import co... | true |
05f33df35af6a1adfe5b6f584e8d9168fc40174f | Java | ayyyo/android | /app/src/main/java/com/ayyayo/g/UI/PreferenceActivity.java | UTF-8 | 2,023 | 1.71875 | 2 | [] | no_license | package com.ayyayo.g.ui;
import com.ayyayo.g.R;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.os.Bundle;
import android.preference.Preference;
import android.preference.Preference.OnPreferenc... | true |
c07120a136165a342cc3b972d96bca383917fc43 | Java | Krasnyanskiy/LeetCode | /LeetCode/src/MergeIntervals.java | UTF-8 | 2,711 | 3.59375 | 4 | [] | no_license | import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* Created by yaodh on 2014/11/23.
* <p/>
* LeetCode: Merge Intervals
* Link: https://oj.leetcode.com/problems/merge-intervals/
* Description:
* -----------------------------
* Given a collection of intervals, merge all overlapp... | true |
72311fde44add822cb57b3b3c51ef8e265a5081b | Java | EGo14T/XinCloudMusic | /xinmusic-gateway/src/main/java/com/ego14t/gateway/filter/HeaderFilter.java | UTF-8 | 2,033 | 2.296875 | 2 | [] | no_license | package com.ego14t.gateway.filter;
import com.auth0.jwt.JWT;
import com.auth0.jwt.interfaces.Claim;
import com.auth0.jwt.interfaces.DecodedJWT;
import com.ego14t.gateway.entity.UserInfo;
import org.springframework.cloud.gateway.filter.GatewayFilterChain;
import org.springframework.cloud.gateway.filter.GlobalFilter;
im... | true |
da2b1afc449aeab35f20d04a69fbb035e9bf7206 | Java | Marcin-Stan/MulticastBroadcast | /src/Program1/MulticastReceiver.java | UTF-8 | 1,785 | 3.25 | 3 | [] | no_license | package Program1;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.InetAddress;
import java.net.MulticastSocket;
import java.net.UnknownHostException;
public class MulticastReceiver extends Thread {
protected MulticastSocket socket = null;
protected byte[] buf = new byte[256];
i... | true |
c4175ea0fe345ad03c3dafa7667bdee8ae149e31 | Java | ekmixon/account-identity | /src/main/java/eu/cryptoeuro/accountmapper/AccountMapperApplication.java | UTF-8 | 1,635 | 2.125 | 2 | [
"MIT"
] | permissive | package eu.cryptoeuro.accountmapper;
import org.apache.catalina.connector.Connector;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.embedded.Embedd... | true |
74c0c55d4c440bbd23e63ef17d5a5168afdc2bf3 | Java | svh2811/Popular_Movies | /app/src/main/java/com/example/android/popular_movies/models/Genres.java | UTF-8 | 1,070 | 2.734375 | 3 | [] | no_license | package com.example.android.popular_movies.models;
/**
* Created by SARVESH UPADHYAY on 13-03-2016.
*
* Ideally this should be a stored somewhere (common Db_table maybe)
* and should be periodically populated based on json response of
* http://api.themoviedb.org/3/genre/movie/list?api_key=XXXXXXXXXXX
*/
public ... | true |
d5d92777e9936f0c437b4e22248de1d3f348c8b4 | Java | foxhack/NewAgri2018 | /business/agriclaim/agriclaim-api/src/main/java/com/sinosoft/agriclaim/api/workflowmanage/dto/SwfNodeDto.java | UTF-8 | 8,191 | 1.796875 | 2 | [] | no_license | package com.sinosoft.agriclaim.api.workflowmanage.dto;
import java.io.Serializable;
import com.sinosoft.framework.dto.BaseRequest;
/**
* @author codegen@研发中心
* @mail admin@sinosoft.com.cn
* @time 2017-11-08 05:47:03.090
* 工作流节点定义表Api操作对象
*/
public class SwfNodeDto extends BaseRequest implements Serializable{
... | true |
6a3d62163849cafa61cf4ce88ba27325128b86f9 | Java | kenuosec/Decompiled-Whatsapp | /com/whatsapp/fieldstats/t.java | UTF-8 | 2,990 | 2.328125 | 2 | [] | no_license | package com.whatsapp.fieldstats;
import org.v;
import org.whispersystems.at;
public enum t {
;
public static final t DAILY;
public static final t MANUAL;
public static final t MONTHLY;
public static final t OFF;
public static final t WEEKLY;
private static final t[] b;
private sta... | true |
ac1fd188c384603a67d5ef1fe79b536c73224024 | Java | haloer111/media | /src/main/java/com/aojing/redstore/media/util/FTPUtil.java | UTF-8 | 5,819 | 2.296875 | 2 | [] | no_license | package com.aojing.redstore.media.util;
import com.aojing.redstore.media.common.Const;
import com.aojing.redstore.media.properties.FtpProperties;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.net.ftp.FTPClient;
import org.apache.commons.net.ftp.FTPReply;
import org.springframework.beans.factory.annotatio... | true |
94985dbe4a8247b0b4dc93f9cbc54be9c60b9abf | Java | otto-de/edison-microservice | /edison-validation/src/main/java/de/otto/edison/validation/web/ErrorHalRepresentationFactory.java | UTF-8 | 2,823 | 2.125 | 2 | [
"Apache-2.0"
] | permissive | package de.otto.edison.validation.web;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.support.Abst... | true |
b1f6812a679f2db951013ccc1386e994ff7dc404 | Java | sanmi/concharto | /tsm/src/lab/java/org/tsm/concharto/lab/audit/SimpleAuditInterceptor.java | UTF-8 | 3,572 | 2.015625 | 2 | [
"Apache-2.0"
] | permissive | /*******************************************************************************
* Copyright 2009 Time Space Map, LLC
*
* 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
*
* htt... | true |
7f06a0dffdcfced1b89d374e47c3919dee5422dc | Java | AiziChen/MyGirl | /app/src/main/java/org/pub/girlview/scanner/DetailScanner.java | UTF-8 | 1,830 | 2.40625 | 2 | [
"MIT"
] | permissive | package org.pub.girlview.scanner;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import org.pub.girlview.domain.Gesture;
import org.pub.girlview.domain.GirlDetail;
import java.io.IOException;
import java.util.ArrayList;
/**
* ��ǰhref�µ�Ů���... | true |
f8863c424fccd60284d310fe836a2f9f3879207a | Java | ucc4916/GameChang | /src/service/BoardWriteService.java | UTF-8 | 619 | 2.390625 | 2 | [] | no_license | package service;
import static db.JdbcUtil.*;
import java.sql.Connection;
import bean.BoardBean;
import dao.BoardDAO;
public class BoardWriteService {
public boolean registArticle(BoardBean boardBean) {
//DB접속
Connection con = getConnection();
BoardDAO boardDAO = BoardDAO.getInstance();
boardDAO.setConne... | true |
cc8edf51e8d55c05f679cfbb31d61792e50f2530 | Java | wood121/VFDemos | /app/src/main/java/com/example/wood121/viewdemos/base/fragments/MathJniFragment.java | UTF-8 | 720 | 2.328125 | 2 | [] | no_license | package com.example.wood121.viewdemos.base.fragments;
/**
* Created by wood121 on 2017/12/20.
* Data Structure and Algorithm,
*/
public class MathJniFragment extends BaseTabFragment {
public static MathJniFragment mathJniFragment;
public static MathJniFragment newInstance() {
if (mathJniFragment ... | true |
89fd9b2f767d7f4b12504f54eebd48802fb2a4bf | Java | Khaean/ConnectFourMVC | /src/model/GameInterface.java | UTF-8 | 346 | 2.71875 | 3 | [] | no_license | package model;
public interface GameInterface {
public void initializeGame();
public void initializeGame(int row, int column, int countToWin);
public void newGame();
public void processTurn(int column, Player player);
public Board getBoard();
public Player getCurrentPlayer();
public Player[] getPlayers();
... | true |
da172aeafbb26e8293fa689bc69eea28a1d93e5b | Java | mahendrakawde/FDMS-Source-Code | /WEBFDMSLib/bin/com/aldorsolutions/webfdms/database/framework/.svn/text-base/Field.java.svn-base | UTF-8 | 5,391 | 2.875 | 3 | [] | no_license | /*
* Created on Dec 19, 2005
*/
package com.aldorsolutions.webfdms.database.framework;
import java.sql.Date;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Time;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Hashtable;
/**
* @author Ranando
*
* A Field o... | true |
60f64ade74820dccee52b1c8730dfc88849af2ce | Java | CarleeOuwerkerk/Hunger-Games-Repository | /hungerGames/src/byui/cit260/hungerGames/model/AssignedItem.java | UTF-8 | 1,714 | 2.703125 | 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 byui.cit260.hungerGames.model;
import java.io.Serializable;
import java.util.Objects;
/**
*
* @author Zack
*/... | true |
f5c9ad63d9c474d3b2eea9c17acfcda823f7f160 | Java | Janipai/Galgeleg | /app/src/main/java/com/example/s195477/SelvValgtOrd.java | UTF-8 | 1,452 | 2.28125 | 2 | [] | no_license | package com.example.s195477;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import com.example.s195477.Model_logik.Model_logik.Contex;
imp... | true |
96e84569199273c596f4e19d2d15f36ffbb182f9 | Java | zagayevskiy/lang | /src/test/java/com/zagayevskiy/lang/utils/ThrowLogger.java | UTF-8 | 343 | 2.203125 | 2 | [] | no_license | package com.zagayevskiy.lang.utils;
import com.zagayevskiy.lang.logging.Logger;
import javax.annotation.Nonnull;
public class ThrowLogger implements Logger {
public static final Logger INSTANCE = new ThrowLogger();
@Override
public void logError(@Nonnull String message) {
throw new RuntimeExcep... | true |
fc43c87869cd6893d3587fc180e21798080ba1b1 | Java | Dukeboys/open-dis | /old/tags/2.1/java/edu/nps/moves/jaxb/dis/IsPartOfPdu.java | UTF-8 | 5,110 | 1.71875 | 2 | [
"BSD-3-Clause"
] | permissive | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs
// 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: 2008.01.31 at... | true |
88c2e9f1788db0bd5e3afdf07b25dd3eebaaae0e | Java | evandor/skysail | /skysail.server/src/io/skysail/server/security/SecurityContext.java | UTF-8 | 694 | 2.0625 | 2 | [
"Apache-2.0"
] | permissive | package io.skysail.server.security;
import java.util.Collections;
import org.restlet.security.User;
import io.skysail.server.security.token.AnonymousAuthenticationToken;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NonNull;
import lombok.ToString;
@Getter
@ToString
@EqualsAndHashCode
public ... | true |
958d754545a0b2aa4163250f282d3117038d411f | Java | ankitmehtag/AnkitRahejaSales | /app/src/main/java/com/services/NotificationJobIntentService.java | UTF-8 | 9,057 | 1.71875 | 2 | [] | no_license | package com.services;
import android.app.Notification;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.TaskStackBuilder;
import android.content.Context;
import android.content.Intent;
import android.graphics.BitmapFactory;
import andr... | true |
f2ec7dd11fa18a4f588ef46f41c04c69c28b9d3a | Java | RiyaSuri30/CodingInterviewPrep | /72.OccurenceOfIntegerInLinkedList.java | UTF-8 | 518 | 2.3125 | 2 | [] | no_license | class Solution
{
public static int count(Node head, int search_for)
{
//code here
int counter = 0;
if(head==null)
{
return 0;
}
while(head!=null)
{
if(head.data == search_for)
{
counter++;
}
... | true |
8ea3c7c7bf337ceb92437f20161808fec57b497c | Java | Vasic2000/SimpleAcyncTasks | /app/src/main/java/ru/vasic2000/simpleacynctasks/FiveTasks.java | UTF-8 | 2,041 | 2.421875 | 2 | [] | no_license | package ru.vasic2000.simpleacynctasks;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.widget.ProgressBar;
import androidx.appcompat.app.AppCompatActivity;
public class FiveTasks extends AppCompatActivity {
pr... | true |
d0c93e6bb014934cf6aaf2545e196f4183211601 | Java | Abdoulr29/Integrated-College-Information-System | /src/java/com/fianYear/project/icis/TestDbFileUpload.java | UTF-8 | 1,643 | 2.09375 | 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.fianYear.project.icis;
import java.io.IOException;
import java.io.InputStream;
import javax.servlet.ServletExcept... | true |
bdfd53f773b0be318b0ae35530e25872328216e3 | Java | VASCChris/HRsys | /hrsystem/src/main/java/hr/model/InfoServiceFormBean.java | UTF-8 | 11,577 | 1.84375 | 2 | [] | no_license | package hr.model;
import java.io.Serializable;
import java.util.Date;
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... | true |
fb8e254be7957681afa8faa96f101c0d501f9d0b | Java | BathieSG7/Multiplatform-CRUD-App | /src/main/java/ssamba/ept/sn/BankerApp/repository/ClientRepository.java | UTF-8 | 302 | 1.8125 | 2 | [] | no_license | package ssamba.ept.sn.BankerApp.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import ssamba.ept.sn.BankerApp.model.Client;
import java.util.List;
public interface ClientRepository extends JpaRepository<Client, Integer> {
// List<Client> findClientById(Integer id);
}
| true |