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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
141458aa64975a52667e106e1c6e422498e52952 | Java | JoseMAP-99/ImageViewer | /ñ/ImageviewerX/Imageviewer/src/imageviewer/Main.java | UTF-8 | 850 | 2.609375 | 3 | [] | no_license | package imageviewer;
import imageviewer.control.NextImageCommand;
import imageviewer.control.PrevImageCommand;
import imageviewer.control.ExitCommand;
import imageviewer.persistence.files.FileImageLoader;
import imageviewer.model.Image;
import imageviewer.ui.swing.SwingImageDisplay;
public class Main {
... | true |
888cdae6e61e244fe085e411c7c6a7ae9f7ef318 | Java | leujingqian/FYP | /app/src/main/java/com/example/myapplication1/View/CreateClass.java | UTF-8 | 8,160 | 2.171875 | 2 | [] | no_license | package com.example.myapplication1.View;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentTransaction;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import a... | true |
5b81a383840e5bb76eb54ef4a06f0945d52cf6a6 | Java | grusnac/travel-weatherer | /back-end/src/main/java/io/github/grusnac/travel/weatherer/itinerary/WeatherEntityConverter.java | UTF-8 | 729 | 2.4375 | 2 | [] | no_license | package io.github.grusnac.travel.weatherer.itinerary;
import org.springframework.core.convert.converter.Converter;
import org.springframework.stereotype.Component;
import java.time.LocalDate;
import java.time.ZoneOffset;
@Component
public class WeatherEntityConverter implements Converter<ItineraryAdditionRequest.Cit... | true |
7fc81a2682cf7a1b8da4d998d0bb3911ada8fd8c | Java | 447857062/vpn | /app/src/main/java/com/pencilbox/netknight/view/IpInputDialog.java | UTF-8 | 3,044 | 2.21875 | 2 | [
"Apache-2.0"
] | permissive | package com.pencilbox.netknight.view;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import an... | true |
680f1f1061ee1a702d96a4eff63bd9489a619001 | Java | Sachin97github/SPRING | /mvc_29_SecurityLDAPserver/src/main/java/com/nit/controller/HomeController.java | UTF-8 | 530 | 2.015625 | 2 | [] | no_license | package com.nit.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@Controller
public class HomeController {
@RequestMapping(value="/home",method=RequestMethod.GET)
publ... | true |
a685df10ef6183d3f60d4d53b56ba4e05e5b11ad | Java | ibuziuk/jbosstools-openshift | /plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/filters/SimplePropertyActionFilter.java | UTF-8 | 2,299 | 2.265625 | 2 | [] | no_license | /*******************************************************************************
* Copyright (c) 2014 Red Hat, Inc.
* Distributed under license by Red Hat, Inc. All rights reserved.
* This program is made available under the terms of the
* Eclipse Public License v1.0 which accompanies this distribution,
* and is a... | true |
908d3c2d4b234b235dfe98c940563716d89e27f4 | Java | shikeio/vertx-corenlp-client | /src/main/generated/io/vertx/ext/corenlp/client/CoreNLPClientOptionsConverter.java | UTF-8 | 2,193 | 2.171875 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2014 Red Hat, Inc.
*
* Red Hat 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.org/licenses/LICENSE-2.0
*
* Unless required by app... | true |
4808b235cb52f270241fd5bc9ea70cba2583d769 | Java | gfis/joeis-lite | /internal/fischer/mangf/A267863.java | UTF-8 | 604 | 2.703125 | 3 | [
"Apache-2.0"
] | permissive | package irvine.oeis.a267;
import irvine.math.q.Q;
import irvine.oeis.triangle.RationalTriangle;
/**
* A267863 Numerators of the rational number triangle R(m, a) = (m - 2*a)/(2*m), m >= 1, a = 1, ..., m.
* This is a regularized Sum_{j >= 0} (a + m*j)^(-s) for s = 0 defined by analytic continuation of a genera... | true |
c853b8cd35def4de537d7f9c9abe9244e36f8c9a | Java | orbeon/saxon | /src/main/java/org/orbeon/saxon/exslt/Common.java | UTF-8 | 2,400 | 2.0625 | 2 | [] | no_license | package org.orbeon.saxon.exslt;
import org.orbeon.saxon.expr.XPathContext;
import org.orbeon.saxon.pattern.AnyNodeTest;
import org.orbeon.saxon.type.BuiltInAtomicType;
import org.orbeon.saxon.type.ItemType;
import org.orbeon.saxon.type.TypeHierarchy;
import org.orbeon.saxon.value.Value;
import org.orbeon.saxon.om.Value... | true |
50b17880d987f2f2df9a11043bff232b030112d5 | Java | mktol/SiestaDoc | /RepositoryOne/src/main/java/com/repo/one/controller/LiveController.java | UTF-8 | 434 | 2.015625 | 2 | [] | no_license | package com.repo.one.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
/**
* Controller responsible check if the service is alive
*/
@Controller
public class LiveController {
... | true |
7a686f0e11e7394bbaaae1cd1fe9591ed9f3638e | Java | fdinoff/neovim-java-client | /src/main/java/com/neovim/SocketNeovim.java | UTF-8 | 1,018 | 2.515625 | 3 | [
"MIT"
] | permissive | package com.neovim;
import com.google.common.net.HostAndPort;
import com.neovim.msgpack.MessagePackRPC;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.Socket;
public class SocketNeovim implements MessagePackRPC.Connection {
Socket neovim;
InputStream inpu... | true |
2dbc881131a98fbdea5916522e157ec531a5a623 | Java | aws/aws-sdk-java | /aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/Vocabulary.java | UTF-8 | 23,359 | 1.976563 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | true |
68908dab028d7c6d19804b45d80c4a4dac651257 | Java | blostic/BO | /BO/src/bo/project/logic/Intersection.java | UTF-8 | 3,938 | 3.078125 | 3 | [] | no_license | package bo.project.logic;
import java.util.ArrayList;
import java.util.Random;
@SuppressWarnings("serial")
public class Intersection extends Junction {
/*
* czas w sekundach swiecenia swiatla dla ulicy po
* edit: Musi byc double
*/
protected double greenLightTime;
protected double redLightTime;
public I... | true |
d333110714246620cf438c450f252b2bae26c648 | Java | nengqiang/java-thoughts | /algorithm-demo/src/main/java/com/hnq/study/everyday/quarter202303/NextGreaterElement.java | UTF-8 | 3,790 | 3.65625 | 4 | [] | no_license | package com.hnq.study.everyday.quarter202303;
import java.util.*;
/**
* nums1 中数字 x 的 下一个更大元素 是指 x 在 nums2 中对应位置 右侧 的 第一个 比 x 大的元素。
* <p>
* 给你两个 没有重复元素 的数组 nums1 和 nums2 ,下标从 0 开始计数,其中nums1 是 nums2 的子集。
* <p>
* 对于每个 0 <= i < nums1.length ,找出满足 nums1[i] == nums2[j] 的下标 j ,并且在 nums2 确定 nums2[j] 的 下一个更大元素 。
* 如果不存... | true |
26ad1a4266de5f09f57198ea819a07d7d455b307 | Java | TenzLiu/HotchPotch | /app/src/main/java/com/tenz/hotchpotch/module/video/adapter/VideoAdapter.java | UTF-8 | 1,199 | 2.0625 | 2 | [] | no_license | package com.tenz.hotchpotch.module.video.adapter;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.tenz.hotchpotc... | true |
d695181300fc4316a7196f300cb8273a8f157bc5 | Java | Bhalu-gif/Someimp | /src/CaptureScr/Amazonsrc.java | UTF-8 | 936 | 2 | 2 | [] | no_license | package CaptureScr;
import java.io.File;
import org.apache.commons.io.FileUtils;
import org.openqa.selenium.By;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.annotations.Test;
... | true |
a850ec5ecddd60ce4be254da9f5b424dd247e9a6 | Java | LgLinus/Othello | /src/logic/Controller.java | UTF-8 | 9,147 | 3.390625 | 3 | [] | no_license | package logic;
import gui.BoardPanel;
import gui.Console;
import java.util.ArrayList;
/**
* Class that handles a lot of the logic for the game, such as simulating moves,
* changing players and keeping track of the score
* @author Linus
*
*/
public class Controller {
public static final int PLAYERTURN = 0, CO... | true |
aae6572bd7fc0cae435d6410f843bcf72bf2d034 | Java | McLeodMoores/starling | /projects/bloomberg/src/main/java/com/opengamma/bbg/replay/TicksPlayerJob.java | UTF-8 | 4,065 | 2.34375 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.bbg.replay;
import java.util.concurrent.BlockingQueue;
import org.fudgemsg.FudgeMsg;
import org.fudgemsg.mapping.FudgeDeserializer;
import org.slf4j.Logger;
i... | true |
135804102267a3fbaec569e8ff7727cdb00c4365 | Java | DavidSoong128/db-flake | /src/main/java/com/horizon/flake/queue/EventWorkHandler.java | UTF-8 | 598 | 2.1875 | 2 | [] | no_license | package com.horizon.flake.queue;
import com.horizon.flake.core.EventSqlHandler;
import com.lmax.disruptor.WorkHandler;
/**
* @author : David.Song/Java Engineer
* @date : 2016/1/25 16:13
* @see
* @since : 1.0.0
*/
public class EventWorkHandler<T> implements WorkHandler<BufferEvent<T>>{
private EventSqlHandle... | true |
faa021e08c901bbdf0e966ed55d0da1958867df3 | Java | xtecuan/introjavaeecourse | /Clase8/samples/pruebaJSTL/src/main/java/servicio/dto/Region.java | UTF-8 | 940 | 2.34375 | 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 servicio.dto;
/**
*
* @author xtecuan
*/
public class Region {
private Long regionId;
private String regionName;
... | true |
9f4402bfe9ff0f4f8632e52e0706f432e87b580c | Java | nvnghia2212/MobileApplication-JavaAndroid | /MapLocation/app/src/main/java/com/example/nghia/maplocation/GroupActivity.java | UTF-8 | 15,748 | 1.984375 | 2 | [] | no_license | package com.example.nghia.maplocation;
import android.app.FragmentManager;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.ImageView... | true |
12494a1d626cb2350a92ee4c14cce3c09728772c | Java | phanindersangineni/neet_qb | /src/main/java/com/neet/qb/controller/QuestionBankController.java | UTF-8 | 8,101 | 2.203125 | 2 | [] | no_license | package com.neet.qb.controller;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.security.a... | true |
d91fc52c4e2850a721df559a1a5921e60bc4351a | Java | GSuaki/spring-mongo-scaffolding | /server/src/main/java/com/inomind/modelo/springmongo/form/UsuarioForm.java | UTF-8 | 401 | 1.875 | 2 | [] | no_license | package com.inomind.modelo.springmongo.form;
import javax.validation.constraints.NotNull;
import com.inomind.modelo.springmongo.enums.TipoUsuario;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
public class UsuarioForm {
@NotNull
private String login;
@NotNull
private String nom... | true |
fc6c94db6106eb2ef79fd2112313407817412494 | Java | analivia1709/Estudos | /CursoLoiane/Loiane/IfElseLaçosCondicionais/Vogal.java | WINDOWS-1252 | 2,613 | 3.265625 | 3 | [] | no_license | import java.util.Scanner;
public class Vogal {
public static void main(String[] args) {
Scanner leia = new Scanner(System.in);
System.out.println("Entre com uma letra");
String vogal=leia.next();
if(vogal.equalsIgnoreCase("a")) {
System.out.println("Isso uma vogal ");
}
else if(vogal.equalsIgn... | true |
849bc1c9f5845ff4c1e7852d94270d5b3cd63c40 | Java | we456890/nim_demo | /uikit/src/com/netease/nim/uikit/common/bean/IdEntity.java | UTF-8 | 349 | 1.84375 | 2 | [
"Apache-2.0"
] | permissive | package com.netease.nim.uikit.common.bean;
import java.io.Serializable;
/**
* 实体编号
*
* @DateTime: 2012-9-10
* @author lushigai
* @version 1.0
*/
public interface IdEntity extends Serializable
{
/**
*
* @return long
*/
String getId();
/**
*
* @param id id
*/
void... | true |
11cadab2af25aaaad0cd0a7fb8ff948dae9ee48c | Java | Jcondori/STClaro | /src/Controlador/ImeiC.java | UTF-8 | 8,929 | 2.21875 | 2 | [] | no_license | package Controlador;
import Conexion.Conexion;
import Vistas.Imei;
import java.awt.Color;
import java.awt.HeadlessException;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.sql.Connection;
import java.sql.Date;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.... | true |
9de9d2496e065336c98737f85ab17c4dc68aee0a | Java | longshihan1/javaStudy | /src/main/java/Thread/ThreadDemo/bingxingtusuanfa/sousuo/TestSearch.java | UTF-8 | 921 | 2.453125 | 2 | [] | no_license | package Thread.ThreadDemo.bingxingtusuanfa.sousuo;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
/**
* Created by dell on 2017/2/28.
*/
public class TestSearch {
static int[] arr;
public static void main(String args[])... | true |
4173ed26fecc4b3398ab3c22c202269f25831540 | Java | 7517/taskschedule-parent | /web/src/main/java/com/edison/service/taskschedule/report/report/valid/ReportPlanValidator.java | UTF-8 | 2,169 | 2.265625 | 2 | [] | no_license | package com.edison.service.taskschedule.report.report.valid;
import com.edison.saas.common.framework.web.data.PageSearchRequest;
import com.edison.service.report.business.report.dto.ReportPlanAddDto;
import com.edison.service.report.business.report.dto.ReportPlanCondition;
import com.edison.service.taskschedule.busin... | true |
3499b6639ab8a3e6f8d14642e29b974e88d65134 | Java | jpiecuch/training-manager | /src/main/java/pl/jakubpiecuch/gymhome/service/repository/accountrecord/AccountRecordCriteria.java | UTF-8 | 2,597 | 2.28125 | 2 | [] | no_license | package pl.jakubpiecuch.gymhome.service.repository.accountrecord;
import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import pl.jakubpiecuch.gymhome.dao.impl.Criteria;
import pl.jakubpiecuch.gymhome.domain.AccountRe... | true |
30a78141182b8830cfcf98448f7fae7d23cbae7b | Java | husseinfahmy/MoneyWise | /app/src/main/java/me/husseinfahmy/moneywise/RecommendationsActivity.java | UTF-8 | 2,843 | 2.09375 | 2 | [] | no_license | package me.husseinfahmy.moneywise;
import android.os.StrictMode;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.yelp.clientlib.connection.YelpAPI;
import com.yelp.clientlib.connection.YelpAPIFactory;
import com.yelp.clientlib.entities.Business;
import com.yelp.clientlib.entities... | true |
b243ad6fac0e98fa422d70a2f2e3a5c4742d8373 | Java | lihongweimail/MASU | /oldMASUFiles/scdetector/src/jp/ac/osaka_u/ist/sdl/scdetector/Scorpioui.java | SHIFT_JIS | 1,482 | 2.1875 | 2 | [] | no_license | package jp.ac.osaka_u.ist.sdl.scdetector;
import java.awt.Dimension;
import java.awt.Toolkit;
import jp.ac.osaka_u.ist.sdl.scdetector.gui.MainWindow;
import jp.ac.osaka_u.ist.sdl.scdetector.io.XMLReader;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.co... | true |
8b73913957706439130b6f36f01c53d1d71c0b19 | Java | phac-nml/irida | /src/test/java/ca/corefacility/bioinformatics/irida/config/workflow/IridaWorkflowsGalaxyIntegrationTestConfig.java | UTF-8 | 2,101 | 2.046875 | 2 | [
"Apache-2.0"
] | permissive | package ca.corefacility.bioinformatics.irida.config.workflow;
import java.io.IOException;
import java.net.URISyntaxException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Set;
import java.util.UUID;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.be... | true |
bd82ca9ede1081bfd753b1e4614de8eee65e1183 | Java | rachana1101/knowledgebase | /src/com/knowledgebase/book/datastrucuture/narasimha/tree/BinaryTree.java | UTF-8 | 26,276 | 3.859375 | 4 | [] | no_license | package com.knowledgebase.book.datastrucuture.narasimha.tree;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.Stack;
/**
* 1) Test if a binary tree is balanced or not 2) Find k-unbalanced nodes 3)
* Test if a binary tree is symmetric 4) Compute the LCA in a binary tree 5)
* Compute the LCA w... | true |
f6a96fd0d2195277b247482b4545f0294d343f95 | Java | PetroHul/prestashop | /src/main/java/pages/AddressesPage.java | UTF-8 | 1,648 | 2.25 | 2 | [] | no_license | package pages;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class AddressesPage extends AHeadComponent {
@FindBy(css = ".page-header > h1")
private W... | true |
e1485357a6e290ab0e17ca23f368a41b016f8c72 | Java | HoussemNasri/Logisim-Dark | /src/logisim_src/std/memory/Random.java | UTF-8 | 5,941 | 2.328125 | 2 | [
"MIT"
] | permissive | /* Copyright (c) 2010, Carl Burch. License information is located in the
* logisim_src.Main source code and at www.cburch.com/logisim/. */
package logisim_src.std.memory;
import java.awt.Graphics;
import logisim_src.data.Attribute;
import logisim_src.data.Attributes;
import logisim_src.data.BitWidth;
import logisim... | true |
ea1c46c3ec9d2189bea64b0e866f96997a937b36 | Java | yogitash27/fullstackassignment | /Fullstack_assignment/Core_java/Miniproject 2/src/main/ProductTest.java | UTF-8 | 3,719 | 3.53125 | 4 | [] | no_license | package main;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
import bean.Product;
import service.ProductService;
import java.io.*;
class ProductTest
{
public static void main(String[] args) throws Exception
{
List<Product> pro1=new ArrayList<>();
int id;
Strin... | true |
5c6d1cbd1b734d3655ad925896361c4bfb53a595 | Java | bbaarroo/Gabinet2 | /src/main/java/pl/coderslab/converter/SuplementConverter.java | UTF-8 | 503 | 2.265625 | 2 | [] | no_license | package pl.coderslab.converter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.convert.converter.Converter;
import pl.coderslab.Service.SuplementService;
import pl.coderslab.model.Suplement;
public class SuplementConverter implements Converter<String, Suplement> {
... | true |
d15e9db344215bd055d3701bbc8e5635bf2c51b1 | Java | marfu/hotelNov2 | /newGPV3000-entities/src/main/java/ci/prosuma/prosumagpv/entity/stock/DetailMouvement.java | UTF-8 | 9,032 | 1.804688 | 2 | [] | no_license | /**
*
*/
package ci.prosuma.prosumagpv.entity.stock;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persiste... | true |
c72e7f4de3489bcdbe9958f05036ecc1949a7604 | Java | metaborg/spoofax-intellij | /src/main/java/org/metaborg/intellij/idea/gui/languagesettings/LanguagesAction.java | UTF-8 | 2,273 | 1.898438 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright © 2015-2016
*
* This file is part of Spoofax for IntelliJ.
*
* 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
*
* Unl... | true |
3ce40ba12e5d0b1fa2810477f46cc013b40fe8d5 | Java | hanuj2ee/vehicle-status-app | /src/main/java/com/vsa/listener/ApplicationStartListener.java | UTF-8 | 1,725 | 2.578125 | 3 | [] | no_license | package com.vsa.listener;
import java.io.IOException;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.event.ApplicationReadyEvent;
import org.springframework.context.event.EventListen... | true |
2f77c48a94ddad8c50fb5a847db179ddb0694844 | Java | Lach01298/Nuclear-Engineering | /src/main/java/lach_01298/nuclear_engineering/world/radiation/RadiationBlocker.java | UTF-8 | 3,823 | 2.3125 | 2 | [] | no_license | package lach_01298.nuclear_engineering.world.radiation;
import java.util.List;
import java.util.Map;
import lach_01298.nuclear_engineering.block.RegisterBlocks;
import lach_01298.nuclear_engineering.block.blocks.BlockMetal;
import com.google.common.collect.Maps;
import net.minecraft.block.Block;
import... | true |
bb39533eaafe421e915328f247cab90a3ef4c9f6 | Java | shenruliaojie/AppUpdate | /app/src/main/java/com/demo/appupdate/updater/entity/ApkInfo.java | UTF-8 | 959 | 2.234375 | 2 | [] | no_license | package com.demo.appupdate.updater.entity;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.Serializable;
/**
* author: liguangwei
* date: 2019/08/27
**/
public class ApkInfo implements Serializable {
public String title;
public String content;
public String url;
public St... | true |
14bf4e8ecea50615ff53cb29b6bd1f361a6d8b93 | Java | securesystemslab/zippy | /zippy/edu.uci.python/src/edu/uci/python/nodes/interop/PForeignToPTypeNode.java | UTF-8 | 2,953 | 2.15625 | 2 | [
"BSD-3-Clause"
] | permissive | /**
*
*/
package edu.uci.python.nodes.interop;
import java.math.BigInteger;
import com.oracle.truffle.api.CompilerDirectives;
import com.oracle.truffle.api.dsl.Specialization;
import com.oracle.truffle.api.frame.VirtualFrame;
import com.oracle.truffle.api.interop.ForeignAccess;
import com.oracle.truffle.api.interop... | true |
2ed9f7964799b793d859e1fd81797fea45e39f44 | Java | Maixianda/NetGrilPic | /NetGirlPic/geeknews/src/main/java/com/draggerdemo/maidou/geeknews/AppContext.java | UTF-8 | 1,195 | 2.03125 | 2 | [] | no_license | package com.draggerdemo.maidou.geeknews;
import android.content.Context;
import android.support.multidex.MultiDex;
import com.draggerdemo.maidou.geeknews.di.Component.AppComponent;
import com.draggerdemo.maidou.geeknews.di.Component.DaggerAppComponent;
import com.draggerdemo.maidou.geeknews.di.module.AppModule;
impor... | true |
68ce508ad498419c1c2dc2ac4d7f6bdc480d565e | Java | Vlaedr/SpotOn_App | /app/src/main/java/ch/epfl/sweng/spotOn/gui/PhotoOnMarker.java | UTF-8 | 2,011 | 2.59375 | 3 | [] | no_license | package ch.epfl.sweng.spotOn.gui;
import android.content.Context;
import android.graphics.Bitmap;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import com.google.android.gms.maps.GoogleMap;
import com.google.andro... | true |
5694b92ba8c513b82e71118ddb3846d231ca1c24 | Java | rfdouro/Javalin-Template-JPA | /src/main/java/br/org/rfdouro/javalincrud/javalincrud/controles/IndexController.java | UTF-8 | 624 | 1.84375 | 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 br.org.rfdouro.javalincrud.javalincrud.controles;
import io.javalin.Handler;
import java.util.HashMap;
import java.ut... | true |
3a31b80defd69849000854026c4c37c5b6a3e9e8 | Java | bellmit/kstar | /system.permission/com/ibm/kstar/api/system/permission/IRoleService.java | UTF-8 | 526 | 1.671875 | 2 | [] | no_license | package com.ibm.kstar.api.system.permission;
import org.xsnake.web.action.PageCondition;
import org.xsnake.web.page.IPage;
import com.ibm.kstar.api.system.lov.entity.LovMember;
public interface IRoleService {
//给角色配置权限
void configPermission(String roleId, String[] split);
void configEmployee(String roleId,Stri... | true |
b2a9924a48703d425853770c348e59b018da7807 | Java | jkahwati/WebDesktop | /Bambu-Web-Desktop/src/main/java/modeloDAO/NoticiaDAO.java | UTF-8 | 2,623 | 2.546875 | 3 | [
"Apache-2.0"
] | permissive | package modeloDAO;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Formatter;
import java.util.List;
import bean.Conexion;
import modelo.Maestrico;
import modelo.Noticia;
public class NoticiaDAO extends ConexionDAO {
public void agregarNoticia(Noticia n) {
... | true |
f336e25c9a96c7417e4e7260b647cb0279607560 | Java | lingmingit/xbmt | /xbmt-service-ehcache/src/main/java/com/xbmt/test/dao/ITestEntityDao.java | UTF-8 | 447 | 1.757813 | 2 | [] | no_license | /**
* <p>
* copyright &copy; together 2014, all rights reserved.
* @author admin
* @version $Id$
* @since 1.0
*
*/
package com.xbmt.test.dao;
import com.xbmt.framework.dao.base.ICoreBaseDao;
import com.xbmt.test.entity.TestEntity;
/**
* 测试实体 数据库操作dao接口类<p>
* @author LingMin
* @date 2015-5-8<br>... | true |
87cb3b018c34a0088e8d3dd2221f0f7e5062280b | Java | mahmoudhakam/Springboot-akka-cache | /Sprinboot-googleCache/src/main/java/com/se/onprem/strategy/CpnSearchStrategy.java | UTF-8 | 356 | 1.648438 | 2 | [] | no_license | package com.se.onprem.strategy;
import com.se.onprem.dto.ws.PartSearchRequest;
import com.se.onprem.dto.ws.PartSearchResponse;
import com.se.onprem.services.HelperService;
public interface CpnSearchStrategy
{
PartSearchResponse getCpnSearch(PartSearchRequest pcnSearchRequest, LoggerStrategy databaseLoggerStrategy,... | true |
b77836f2175de79a3d6f46dedceae5b8ad4f78a7 | Java | ThiagoSouzaCardoso/atividadepraticaweb | /amigosecreto/src/br/com/amigosecreto/mb/SorteioMB.java | UTF-8 | 1,426 | 1.890625 | 2 | [] | no_license | package br.com.amigosecreto.mb;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import javax.faces.bean.SessionScoped;
import javax.faces.context.ExternalContext;
import javax.faces.context.FacesContext;
im... | true |
dcb6269defd1afdd944e50ba7dac1ee0063e00e5 | Java | AngieMeG/POOB-2020 | /Laboratorios/Lab03/IstaTortuga/src/pruebas/dominio/LagoTest.java | UTF-8 | 1,794 | 3.15625 | 3 | [] | no_license | package dominio;
import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.awt.Color;
import java.util.*;
/**
* The test class PalmeraTest.
*
* @author Angie - Medina
* @version 28/09/20
*/
public class LagoTest
{
/**
* Default constructor f... | true |
4594346ac4f0f1b2c20a29fb62f49bb35914f63e | Java | xyd104449/amems | /amems/src/main/java/com/eray/thjw/project2/control/AssessmentController.java | UTF-8 | 22,089 | 1.742188 | 2 | [] | no_license | package com.eray.thjw.project2.control;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import net.sf.jasperreports.engine.JRDataSource;
import net.sf.jaspe... | true |
ff1540a7e4c8eea7281b150f6f21c940b39780c2 | Java | dexX7/OmniJ | /src/main/java/com/msgilligan/bitcoin/cli/Status.java | UTF-8 | 1,244 | 2.578125 | 3 | [
"Apache-2.0"
] | permissive | package com.msgilligan.bitcoin.cli;
import com.msgilligan.bitcoin.rpc.BitcoinClient;
import com.msgilligan.bitcoin.rpc.JsonRPCException;
import java.io.IOException;
import java.util.Map;
/**
* A command-line client that prints some basic information retrieved via RPC
*/
public class Status extends CliCommand {
... | true |
a76c8db55fc6e7c44c37d8bd1dd6b6b4ee63c34e | Java | kc345ws/MyDemos | /Java/DesignPattern/src/com/kc345ws/factory/factorymethod/pizza/BJPetterPizza.java | UTF-8 | 292 | 2.8125 | 3 | [] | no_license | package com.kc345ws.factory.factorymethod.pizza;
public class BJPetterPizza extends Pizza {
@Override
public void prepare() {
System.out.println("北京胡椒准备中...");
}
@Override
public void sosht() {
System.out.println(name+"制作中");
}
}
| true |
a147470e941d6223a178a59b320f4fe6181a45bd | Java | TsvetomirSlavov/Library-Assistant-JavaFX-Application-Tsvetomir-Slavov | /test/junit/framework/libraryassistant/Retry.java | UTF-8 | 1,089 | 2.4375 | 2 | [] | no_license |
package junit.framework.libraryassistant;
import org.junit.rules.TestRule;
import org.junit.runner.Description;
import org.junit.runners.model.Statement;
/**
*
* @author cccce
*/
public class Retry implements TestRule{
private int retryCount;
public Retry(int retryCount){
this.retryCount... | true |
a8c100364af605cb4f5a31c30da872225c05ad12 | Java | abluciano/JavaLessons | /Documents/NetBeansProjects/HomeWork3/src/homework3/HomeWork3.java | UTF-8 | 512 | 2.21875 | 2 | [] | no_license |
package homework3;
public class HomeWork3 {
public static void main(String[] args) {
// Cellphone mobila = new SamsungGalaxy("smartphone", "S19", "Samsung", 11, 12, 15, "blue", 100, "SD/microSD", "802/802.g", "Chrome, 2GIS", false);
// mobila.printPhone();
... | true |
941671f71d46e82cb7ffd72a9951bd93cb440490 | Java | fyiyu091/Leetcode | /tree/L117.java | UTF-8 | 1,153 | 3.4375 | 3 | [] | no_license | package tree;
/* Assume current level's next pointer is established, use this to construct the next level's connection
* */
public class L117 {
public Node connect(Node root) {
if (root == null) {
return root;
}
Node curr = root;
Node head = null;
Node prev = n... | true |
d57f626f458aeb8f5be068bd91b262fe6aa7dce0 | Java | ffwATL/eCommerce_store | /src/main/java/com/ffwatl/admin/order/dao/OrderNumberDao.java | UTF-8 | 136 | 1.59375 | 2 | [] | no_license | package com.ffwatl.admin.order.dao;
/**
* @author ffw_ATL.
*/
public interface OrderNumberDao {
String findLastOrderNumber();
} | true |
28256596519eaf1044c06f04548d2c75ca45543d | Java | nlnwa/veidemann-harvester | /veidemann-chrome-client/src/main/java/no/nb/nna/veidemann/chrome/client/BrowserClientBase.java | UTF-8 | 12,342 | 2.046875 | 2 | [
"Apache-2.0"
] | permissive | package no.nb.nna.veidemann.chrome.client;
import no.nb.nna.veidemann.chrome.client.BrowserClientBase.BrowserPage;
import no.nb.nna.veidemann.chrome.client.ws.CdpConnection;
import no.nb.nna.veidemann.chrome.client.ws.CdpSession;
import no.nb.nna.veidemann.chrome.client.ws.CreateBrowserContextCmd;
import no.nb.nna.vei... | true |
f1a6289e683d38e019f21c08f7dbb3bf527b33d1 | Java | PsyX99/CMRlundi | /CRM_v2/src/main/java/fr/inti/model/Particulier.java | UTF-8 | 4,559 | 1.960938 | 2 | [] | no_license | package fr.inti.model;
import java.util.Date;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import org.springframewo... | true |
95511bacb3ff9f4c05b54c47dbf00f5317b493dd | Java | treejames/backgroundTasks | /sample/src/main/java/com/example/backgroundtaskstest/MainActivity.java | UTF-8 | 2,852 | 2.21875 | 2 | [] | no_license | package com.example.backgroundtaskstest;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import com.github.slezadav.backgroundTasks.BaseTask;
import com.github.slezadav.backgroundTasks.BgTasks;
import com.github... | true |
408c5e10838808ddd15179a5535cc5b281727773 | Java | BernikovAD/Calculator | /app/src/main/java/com/example/calculator/MainActivity.java | UTF-8 | 8,482 | 2.6875 | 3 | [] | no_license | package com.example.calculator;
import androidx.appcompat.app.AppCompatActivity;
import android.icu.text.Normalizer;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import java.util.Arrays;
public class MainActivity extends AppCompatActivity {
pr... | true |
437d962cce424bde351234afd89c7472ae6f9eb4 | Java | vietcoscc/LearnMoreGame | /app/src/main/java/com/example/vaio/adapter/ViewPagerAdapter.java | UTF-8 | 3,240 | 2.265625 | 2 | [] | no_license | package com.example.vaio.adapter;
import android.content.ClipData;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.net.ConnectivityManager;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAd... | true |
4e43d207b28c2d386b8146bf725f0b6147346fe6 | Java | yyt528966469/commerce | /e-commerce/src/main/java/com/wm/edu/model/order/T_order.java | UTF-8 | 6,373 | 1.679688 | 2 | [] | no_license | package com.wm.edu.model.order;
import com.wm.edu.model.base.PageEntity;
import com.wm.edu.model.commodity.T_commodity_info;
import com.wm.edu.model.coupons.T_coupons;
import com.wm.edu.model.cuser.C_user_info;
import com.wm.edu.model.store.T_store_info;
import com.wm.edu.utils.common.AttaUtils;
import java.util.Date... | true |
d3271d6b837e19372863e9aa11e87c6565ef2eed | Java | ricokritzer/TriasAnalyser | /Studienarbeit/WebView/src/main/java/de/dhbw/studienarbeit/WebView/tiles/Tile.java | UTF-8 | 1,088 | 2.828125 | 3 | [] | no_license | package de.dhbw.studienarbeit.WebView.tiles;
import java.util.Arrays;
import java.util.List;
import com.vaadin.flow.component.button.Button;
import com.vaadin.flow.component.html.Div;
import com.vaadin.flow.component.icon.VaadinIcon;
import com.vaadin.flow.component.orderedlayout.VerticalLayout;
public class Tile ex... | true |
53ad8cfb47cd62baa308df4e171b039b1c2d7db0 | Java | cdtswdk/crawlerDemo | /src/main/java/cn/itcast/job/service/impl/JobInfoFieldRepositoryServiceImpl.java | UTF-8 | 2,062 | 2.171875 | 2 | [] | no_license | package cn.itcast.job.service.impl;
import cn.itcast.job.dao.JobInfoFieldRepository;
import cn.itcast.job.pojo.JobInfoField;
import cn.itcast.job.pojo.JobResult;
import cn.itcast.job.service.JobInfoFieldRepositoryService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.... | true |
c3fc913940955aae034d12c3f3e138277be09eae | Java | lin-lee/eclipse_workspace_test | /workspace_activeMq/activemq-parent/activemq-core/src/main/java/org/apache/activemq/kaha/ListContainer.java | UTF-8 | 4,940 | 2.671875 | 3 | [
"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 may... | true |
d23f650aa5c3c5e4e4f99fa7489350b34ded3496 | Java | yangchengyu1028/Terminal | /TerminalData/src/com/ycy/util/DBUtil.java | UTF-8 | 5,237 | 2.75 | 3 | [] | no_license | package com.ycy.util;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import java.sql.*;
/**
* 连接数据库
*/
public class DBUtil {
private static final String DRIVER= ReadFile.getDRIVER();
private static final String URL1 = ReadFile.getURL1();
private static final String... | true |
8e3b997720729cf7ad5d88aab97f26461ac18989 | Java | hyunseokYou/hyunisacu1 | /app/src/main/java/com/ake/akeapplication/Study/Fragment_Study2.java | UTF-8 | 897 | 2.140625 | 2 | [] | no_license | package com.ake.akeapplication.Study;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.ake.akeapplication.R;
/**
* Crea... | true |
19784aac53d5c192dc69060e24a792268c1ff7db | Java | osivia/osivia-collaboration | /workspace/edition/src/main/java/org/osivia/services/workspace/edition/portlet/service/WorkspaceEditionServiceImpl.java | UTF-8 | 18,149 | 1.789063 | 2 | [] | no_license | package org.osivia.services.workspace.edition.portlet.service;
import java.io.File;
import java.io.IOException;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import javax.naming.Name;
import javax.portlet.PortletException;
import org.apache.commons.lang.StringUti... | true |
ce4145014c69f197645a5a2921a7c7e94e74687a | Java | AmilaWasantha/Ijse-Payment-System | /src/lk/ijse/ijsebillinsystem/querydto/BatchTransferQueryDTO.java | UTF-8 | 2,408 | 2.265625 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package lk.ijse.ijsebillinsystem.querydto;
/**
*
* @author user
*/
public class BatchTransferQueryDTO {
private String studentn... | true |
afa9b409f3ed273342e068d8cd498bd18cf347c6 | Java | evelasco85/PoEAA | /Android/app/src/main/java/com/peaa/DataSynchronizationManager.java | UTF-8 | 5,310 | 2.515625 | 3 | [
"MIT"
] | permissive | package com.peaa;
import com.peaa.Interfaces.IDataSynchronizationManager;
import com.peaa.Interfaces.IRepository;
import com.peaa.DataManipulation.BaseMapperInterfaces.IBaseMapperConcrete;
import com.peaa.DataManipulation.BaseQueryObjectInterfaces.IBaseQueryObjectConcrete;
import com.peaa.Domain.Interfaces.IDomainObje... | true |
25e687c46a7036063d3e53b15b55cc5aa38cc49c | Java | John-Macao/ventaLibros | /venta/src/controlador/ListarLibroController.java | ISO-8859-10 | 2,157 | 2.390625 | 2 | [] | no_license | package controlador;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
im... | true |
448679a516908badd0e3e01e69d2c1f2b7544181 | Java | omar5919/backendb2b | /web/src/com/incloud/tgestiona/b2b/service/dto/BaseResponse.java | UTF-8 | 286 | 1.625 | 2 | [] | no_license | package com.incloud.tgestiona.b2b.service.dto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BaseResponse {
private int estado;
private String mensaje;
private int total;
}
| true |
d06609bea156d052ef2593de712cc98ac4e1564c | Java | Lakshamana/spmtmp | /src/test/java/br/ufpa/labes/spm/web/rest/RequiredResourceResourceIT.java | UTF-8 | 10,837 | 1.960938 | 2 | [] | no_license | package br.ufpa.labes.spm.web.rest;
import br.ufpa.labes.spm.SpmApp;
import br.ufpa.labes.spm.domain.RequiredResource;
import br.ufpa.labes.spm.repository.RequiredResourceRepository;
import br.ufpa.labes.spm.web.rest.errors.ExceptionTranslator;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Tes... | true |
a8c172393688e36e71b46b2691ca9f701fb1130b | Java | TroyNeubauer/SpeedrunAssistant | /src/main/java/com/troy/speed/SpeedrunAssistant.java | UTF-8 | 14,024 | 2.40625 | 2 | [
"MIT"
] | permissive | package com.troy.speed;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.util.ArrayDeque;
import java.util.Deque;
import java.util.HashMap;
import java.util.Random;
import java.util.UUID;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.WorldCreator;
impor... | true |
cb58fd6a3bd3ef77d3c5cb552158a99d6a6e2ef8 | Java | Nsikaktopdown/Mobile-App-Developmentw | /app/src/main/java/com/client/APIInterface.java | UTF-8 | 287 | 1.828125 | 2 | [] | no_license | package com.client;
import com.model.PlaceResponse;
import retrofit2.Call;
import retrofit2.http.GET;
public interface APIInterface {
@GET("place/nearbysearch/json?location=4.64231,7.92438&radius=1500&type=restaurant&key=AIzaSyA_PUIMp_dv0hwSIDAUIvooEVahgJktUIU")
Call<PlaceResponse> getNearbyRestaurant();
}... | true |
dbfdd3496153ffce03cd756e4dc637eab6405274 | Java | gonni/yghttpserver | /MicroWebServerEx/src/org/ygsoft/webserver/ui/PnMain.java | UTF-8 | 1,930 | 2.59375 | 3 | [] | no_license | package org.ygsoft.webserver.ui;
import java.awt.*;
import java.awt.event.ContainerListener;
import javax.swing.*;
public class PnMain extends JPanel{
private static final long serialVersionUID = 1L;
private JTabbedPane tPane = null;
private PnSubMain subMain = null;
public PnMain(){
this... | true |
7d76e58fd96516e6254c67e812fc6cfe4e4a2fa5 | Java | AmirPatel59/Flight-Management-System | /src/main/java/com/cg/flightmgmt/service/IFlightService.java | UTF-8 | 537 | 2.046875 | 2 | [] | no_license | package com.cg.flightmgmt.service;
import java.math.BigInteger;
import java.util.Set;
import com.cg.flightmgmt.dto.Flight;
import com.cg.flightmgmt.exception.FlightNotFoundException;
public interface IFlightService {
public Flight addFlight(Flight flight);
public Flight viewFlight(BigInteger flightno) throws Flig... | true |
b52046f195ad8fd4f932d90fb75e010609094170 | Java | YangPeihao1203/TeachSystem | /后端/TeachManagerSystem/src/main/java/org/wumbuk/entity/Teacher.java | UTF-8 | 2,684 | 2.28125 | 2 | [
"Apache-2.0"
] | permissive | package org.wumbuk.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
public class Teacher {
private Integer tid;
private String tname;
private Integer tsex;
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date tbirth;
privat... | true |
47d0eee06fbe893d0d4d4515d691c5d0ec6ce0d7 | Java | solokia/RsPeerProject | /src/MagicEnchant/MagicEnchant.java | UTF-8 | 6,103 | 2.34375 | 2 | [] | no_license | package MagicEnchant;
import org.rspeer.runetek.adapter.component.InterfaceComponent;
import org.rspeer.runetek.adapter.component.Item;
import org.rspeer.runetek.adapter.scene.Player;
import org.rspeer.runetek.api.commons.BankLocation;
import org.rspeer.runetek.api.commons.Time;
import org.rspeer.runetek.api.componen... | true |
41fd02afc9ce677623fdebfef0a14d91fbd6bb3e | Java | jaycekon/Shop_XL | /src/main/java/com/Shop/Dao/WithdrawalsOrderDao.java | UTF-8 | 5,417 | 2.3125 | 2 | [
"Apache-2.0"
] | permissive | package com.Shop.Dao;
import com.Shop.Model.WithdrawalsOrder;
import com.Shop.Util.Page;
import org.hibernate.Session;
import java.util.List;
/**
* Created by Administrator on 2016/4/20 0020.
*/
public class WithdrawalsOrderDao extends BaseDao implements IGeneralDao<WithdrawalsOrder> {
@Override
public Wit... | true |
38b094c2e57ce5ff0d2ce161d9c59a006173b85b | Java | Arckman/CBPM | /jboss-remoting/src/org/jboss/remoting/transport/sslrmi/TransportServerFactory.java | UTF-8 | 532 | 1.992188 | 2 | [] | no_license | package org.jboss.remoting.transport.sslrmi;
import org.jboss.remoting.InvokerLocator;
import org.jboss.remoting.ServerInvoker;
import org.jboss.remoting.transport.ServerFactory;
import java.util.Map;
/**
* @author <a href="mailto:tom.elrod@jboss.com">Tom Elrod</a>
*/
public class TransportServerFactory implements... | true |
2ce63e6c62432092665314304b5939b0f24c3107 | Java | rcovert/carbackend | /src/main/java/com/arc/cardemo/CardemoApplication.java | UTF-8 | 3,260 | 2.34375 | 2 | [] | no_license | package com.arc.cardemo;
import java.util.Arrays;
import java.util.concurrent.Executor;
import org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler;
import org.springframework.aop.interceptor.SimpleAsyncUncaughtExceptionHandler;
import org.springframework.beans.factory.annotation.Autowired;
import org.sp... | true |
a976fcf52acf0365b831c8420fba2784d1201c4f | Java | xy19980319/algorithm | /week03/src/com/xiaoxiao/面试题1716按摩师/TestDemo.java | UTF-8 | 466 | 2.546875 | 3 | [] | no_license | package com.xiaoxiao.面试题1716按摩师;
import org.junit.Test;
/**
* @author Xiaoyu
* @date 2020/3/24 - 21:25
*/
public class TestDemo {
@Test
public void test() {
long start = System.currentTimeMillis();
Solution s = new Solution();
int[] nums = {0};
int massage = s.massage(nums);... | true |
54b0cb24c04f78545dd7c29947cece5c76f0b882 | Java | zhoujiamin33/localProject | /ThirdProject/thirdproject/src/main/java/com/trkj/thirdproject/entity/Trainingperiod.java | UTF-8 | 907 | 2 | 2 | [] | no_license | package com.trkj.thirdproject.entity;
import lombok.Data;
import java.io.Serializable;
import java.sql.Timestamp;
/**
* trainingperiod
* @author
*/
@Data
public class Trainingperiod implements Serializable {
/**
* 培训时段编号
*/
private Integer periodId;
/**
* 培训时段
*/
private Stri... | true |
c67a2c54885c28e156d1a9bc6582d1bfc9cbf9b7 | Java | tmanager/mswl | /mswl-core/src/main/java/com/frank/mswl/core/response/BaseRequest.java | UTF-8 | 426 | 1.914063 | 2 | [] | no_license | package com.frank.mswl.core.response;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public abstract class BaseRequest {
// 当前页码,如果等于空,表示不分页
private int currentpage = 0;
// 开始检索index
private int startindex = 0;
// 每页显示条数,如果等于空,表示不分页
private int pagesize = 0;
// 请求次数
pr... | true |
810c6c95250f9fdf55e03093088c195bb2d3e937 | Java | chplalex/NockFX | /Common/src/main/java/Const.java | UTF-8 | 1,604 | 2.03125 | 2 | [] | no_license | public class Const {
public final static String SERVER_NAME = "Nock.Server";
public final static String CLIENT_NAME = "Nock.Client";
public final static int SERVER_PORT = 8189;
public final static String SERVER_ADDR = "localhost";
// внутрение команды программы
public final static String CMD_S... | true |
571d47dbf4f93a923aedfe5f43d2c53152e76d0a | Java | ArtyomLobanov/place-notifier | /app/src/main/java/ru/spbau/mit/placenotifier/HotPointsListFragment.java | UTF-8 | 4,058 | 2.25 | 2 | [] | no_license | package ru.spbau.mit.placenotifier;
import android.app.Activity;
import android.app.Fragment;
import android.content.Intent;
import android.graphics.PorterDuff.Mode;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import andr... | true |
52f9a15daa5d5ebb74caea6a0150534cdf1e93ef | Java | LauncherTrainingCourse/Ralph-NewsReader | /app/src/main/java/com/example/newsreader/NewsListAdapter.java | UTF-8 | 2,719 | 2.734375 | 3 | [] | no_license | package com.example.newsreader;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import java.util.ArrayList;
/**
* Created by Ralph_Chao on ... | true |
fcbe4d03a34907febe10e01d53b8e96ac263e815 | Java | ash-nmbr/SMC-Springboot | /src/main/java/com/example/StockMarketCharting/controller/IPODetailController.java | UTF-8 | 3,017 | 2.34375 | 2 | [] | no_license | package com.example.StockMarketCharting.controller;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframew... | true |
54fd5435973f8edd2cdc4a0455ed7911d07e5e95 | Java | mgray88/DriverLogAndroid | /app/src/main/java/digital/is/mike/driverlog/persistence/DayDao.java | UTF-8 | 995 | 2.25 | 2 | [] | no_license | package digital.is.mike.driverlog.persistence;
import android.arch.lifecycle.LiveData;
import android.arch.persistence.room.Dao;
import android.arch.persistence.room.Insert;
import android.arch.persistence.room.Query;
import android.arch.persistence.room.Update;
import com.prolificinteractive.materialcalendarview.Cal... | true |
b8de3a467012d4a9eaf2c49a768d70d8ce9807aa | Java | j143-zz/hillview | /platform/src/main/java/org/hillview/utils/BlasConversions.java | UTF-8 | 4,144 | 3.125 | 3 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | package org.hillview.utils;
import org.hillview.table.ColumnDescription;
import org.hillview.table.DoubleArrayColumn;
import org.hillview.table.Table;
import org.hillview.table.api.*;
import org.jblas.DoubleMatrix;
import org.jblas.ranges.AllRange;
import org.jblas.ranges.PointRange;
import java.util.ArrayList;
impor... | true |
ded60a8f0ae1ea4bdaf1b2e508f510def360a554 | Java | 143prudhvi/simplify-serve | /src/main/java/com/simplify/myapp/service/SlipService.java | UTF-8 | 748 | 2.515625 | 3 | [] | no_license | package com.simplify.myapp.service;
import com.simplify.myapp.domain.Slip;
import java.util.List;
import java.util.Optional;
/**
* Service Interface for managing {@link Slip}.
*/
public interface SlipService {
/**
* Save a slip.
*
* @param slip the entity to save.
* @return the persisted e... | true |
d7b56e36721ce201d7a4d67229c3c6d3515880ec | Java | JamesSmall/OldProjects | /GameEngineIteration1/src/Graphics/Abstract2DObject.java | UTF-8 | 470 | 2.71875 | 3 | [
"Unlicense"
] | permissive | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Graphics;
/*
* @author james small
*/
public abstract class Abstract2DObject extends GraphicsObject{
public Abstract2DObject(boolean disabled){
super(disabled);
super.setPriority... | true |
9f3e0bce0787c7286ff472150b0b2fccb2550799 | Java | liliwei25/addressbook-level4 | /src/main/java/seedu/address/logic/commands/ImageCommand.java | UTF-8 | 6,383 | 2.84375 | 3 | [
"MIT"
] | permissive | package seedu.address.logic.commands;
import static java.util.Objects.requireNonNull;
import static seedu.address.commons.core.Messages.MESSAGE_DUPLICATE_PERSON;
import static seedu.address.commons.core.Messages.MESSAGE_MISSING_PERSON;
import static seedu.address.model.Model.PREDICATE_SHOW_ALL_PERSONS;
import java.ut... | true |
7a42ba39e97d5eea0cc471352e0e36e818bff231 | Java | projecthub14/mysqlConcepts | /JPADemo/src/main/java/com/example/demo/jpa/OrderTest.java | UTF-8 | 2,676 | 3.09375 | 3 | [] | no_license | package com.example.demo.jpa;
import com.example.demo.entity.Order;
import com.example.demo.entity.OrderItem;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import java.sql.Timestamp;
import java.time.LocalDateTime;
import java.util.Arrays;... | true |
2f23f888088631b1eb21d13303079a7dccab090e | Java | sendgrid/luwak | /luwak/src/test/java/uk/co/flax/luwak/TestMonitorErrorHandling.java | UTF-8 | 4,768 | 2.109375 | 2 | [
"Apache-2.0"
] | permissive | package uk.co.flax.luwak;
import java.util.HashMap;
import java.util.Map;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.core.WhitespaceAnalyzer;
import org.apache.lucene.document.Document;
import org.apache.lucene.index.IndexReader;
import org.apache.lucene.index.Term;
import org.apach... | true |
4f5083d48ba9102b8efefcf76248b213830254f4 | Java | yinfuquan/spring-boot-examples | /spring-boot-examples/spring-boot-weixin-pay/src/main/java/com/yin/springboot/weixin/pay/ctl/WxPayCtl.java | UTF-8 | 881 | 1.976563 | 2 | [
"Apache-2.0"
] | permissive | package com.yin.springboot.weixin.pay.ctl;
import com.yin.springboot.weixin.pay.entity.notify.WxPayNotifyResponse;
import com.yin.springboot.weixin.pay.entity.notify.WxScanPayNotifyResult;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
/**
* Created by I... | true |