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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
69f874efb8caffec0684af06da36d1da37067410 | Java | certillion/certillion-ap-samples | /com/certillion/api/CertificateFiltersType.java | UTF-8 | 3,226 | 1.929688 | 2 | [] | no_license |
package com.certillion.api;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlType;
/**
*... | true |
67e454493aba0b1692b3d4fff7096717834d688e | Java | cwestin/mustache4j | /formatter/src/com/bookofbrilliantthings/mustache4j/StaticRenderer.java | UTF-8 | 606 | 2.21875 | 2 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | package com.bookofbrilliantthings.mustache4j;
import java.util.List;
import com.bookofbrilliantthings.mustache4j.util.SwitchableWriter;
public class StaticRenderer
extends MustacheRenderer
{
private final ListRenderer objectRenderer;
public StaticRenderer(List<FragmentRenderer> fragmentList, Class<?> fo... | true |
5a40be6fdbe44af9e501ce85b2677a4ac39e0130 | Java | myf333/weixin | /entity/src/main/java/com/myf/weixin/entity/weixin/media/MaterialBatchGetItem.java | UTF-8 | 1,122 | 1.945313 | 2 | [] | no_license | package com.myf.weixin.entity.weixin.media;
/**
* Created by myf on 2016/6/1.
*/
public class MaterialBatchGetItem {
private String media_id;
private MaterialNewsContent content;
private String name;//文件名称
private long update_time;//这篇素材的最后更新时间
private String url;
public String g... | true |
c54b12a8d84bd06a7ea464df6419d1f05b0d9bea | Java | mingyuHub/design-patterns | /builder/ConcreteBuilder.java | UTF-8 | 601 | 3.15625 | 3 | [] | no_license | package com.example.design.builder;
/**
* @author: chenmingyu
* @date: 2019/3/4 17:14
* @description: 具体的建造者
*/
public class ConcreteBuilder extends Builder {
private Computer computer = new Computer();
@Override
public void builderCpu(String cpu) {
computer.setCpu(cpu);
}
@Override
... | true |
82789d6470c636740223724a6cefa2e8ea319278 | Java | cookiespiggy/my-java-project | /src/main/java/com/jimi/self_made/sqlparser/deparser/AlterDeParser.java | UTF-8 | 1,258 | 2.890625 | 3 | [] | no_license | package com.jimi.self_made.sqlparser.deparser;
import java.util.regex.Pattern;
import com.jimi.self_made.sqlparser.statement.Statement;
/**
* alter语句解析器
* 实例:
* <tt>alter table tb_general_dict add index `index_value_categoryCode` (`value`, `category_code`);</tt>
* Created by lixinjian on 17/6/27.
*/
public clas... | true |
802e79c8d61e159c2de45e4b1cdc283598f7d0b3 | Java | WalterDuartesUB/EjemploChat | /Servidor/src/ar/edu/ub/p3/servidor/ChatService.java | UTF-8 | 1,690 | 2.703125 | 3 | [] | no_license | package ar.edu.ub.p3.servidor;
import java.util.Collection;
import java.util.LinkedList;
import ar.edu.ub.p3.common.ChatMessage;
import ar.edu.ub.p3.conexion.Usuario;
public class ChatService {
ChatRepository estadoChat;
public ChatService(ChatRepository estadoChat) {
this.setEstadoChat(estadoChat);
}
private... | true |
2fc77df04ecd48666ee7b9e1f0a69898575b3115 | Java | pmsc73/cs3716 | /GroupCreationSystem/src/utility/Registrar.java | UTF-8 | 731 | 2.3125 | 2 | [] | no_license | package utility;
import java.util.ArrayList;
import java.util.Collection;
public class Registrar {
public static Collection<Student> getStudents(String string) {
// TODO Filled in for testing purposes, this isn't what this method will do later
StudentFileReader reader = new StudentFileReader();
... | true |
8610beb6482f8021c7a39aa5ac42ec98040b6161 | Java | fischerfel/TUM-Crypto | /data/key/secure/Snippet39354009_21256.java | UTF-8 | 593 | 2.90625 | 3 | [] | no_license | //creating the timestamp
long timestamp = System.currentTimeMillis() / 1000;
//getting the int value of it
int value = (int) timestamp;
//just a string that is the value of the hmac
String input = String.valueOf(value) + "/" + url;
//new hmac instance
Mac sha256_HMAC = Mac.getInstance("Hmac... | true |
01b39813be151fee867cc14a3d9bfb7c06328f1d | Java | sztomek/cleanarchitecture-unidirectional | /app/src/main/java/hu/sztomek/archdemo/data/datasource/AuthService.java | UTF-8 | 4,129 | 2.484375 | 2 | [
"Apache-2.0"
] | permissive | package hu.sztomek.archdemo.data.datasource;
import com.google.firebase.auth.AuthCredential;
import com.google.firebase.auth.FirebaseAuth;
import com.google.firebase.auth.FirebaseUser;
import com.google.firebase.auth.GoogleAuthProvider;
import hu.sztomek.archdemo.domain.common.UserNotLoggedInException;
import hu.szto... | true |
61b0ed279417dcb362388cc663dbe26e03fab47d | Java | josejamilena-lda/jwebsocket | /branches/jWebSocket-1.0/shared/J2SE/jWebSocketServerAPI/org/jwebsocket/async/IOFutureListener.java | UTF-8 | 2,194 | 2.21875 | 2 | [] | no_license | // ---------------------------------------------------------------------------
// jWebSocket - IOFutureListener (Community Edition, CE)
// ---------------------------------------------------------------------------
// Copyright 2010-2015 Innotrade GmbH (jWebSocket.org)
// Alexander Schulze, Germany (NRW)
//
// Li... | true |
8950cbabb8e5c6cef8f0bbb1c098e0e0464ed025 | Java | zatonskayay/patterns | /patterns 3/src/second/CannibalGame.java | UTF-8 | 494 | 2.78125 | 3 | [] | no_license | package second;
public abstract class CannibalGame {
final void go(){
find();
chat();
cook();
eat();
sleep();
}
protected void find(){
System.out.println("Найти");
}
protected void eat(){
System.out.println("Съесть");
}
protected v... | true |
ce614eaaced35dde913f7154296e300fec46c94c | Java | AKSW/LSQ | /lsq-core/src/main/java/org/aksw/simba/lsq/util/NestedResource.java | UTF-8 | 1,822 | 3.015625 | 3 | [
"Apache-2.0"
] | permissive | package org.aksw.simba.lsq.util;
import org.apache.jena.rdf.model.Model;
import org.apache.jena.rdf.model.Resource;
/**
* Helper class to conveniently create nested resources
*
* Resources in the given model are only created upon calling .get().
*
* For that reason, 'current' merely acts as a cache
* current.get... | true |
33160f1972fbcf58cea7f51269617e06f70fab2a | Java | Eale001/right | /src/main/java/com/eale/right/controller/fruit/SaleController.java | UTF-8 | 2,124 | 2.265625 | 2 | [] | no_license | package com.eale.right.controller.fruit;
import com.eale.right.bean.FruitVarieties;
import com.eale.right.bean.Sale;
import com.eale.right.service.FruitVarietiesService;
import com.eale.right.service.SaleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Contr... | true |
7a28ba1e49f8fdea287a02e9e426806fba804dd0 | Java | sujiangming/website | /src/main/java/com/gnit/pojo/Environment.java | UTF-8 | 1,361 | 2.3125 | 2 | [] | no_license | package com.gnit.pojo;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;
/**
* 校园环境表
* @author JDRY-SJM
*
*/
@Entity
@Table(name... | true |
5a5d6838760b2be29b42270fcc3ed2bf38bb71d4 | Java | yearsyan/Harmony-OS-Java-class-library | /src/main/java/ohos/multimodalinput/event/KeyEvent.java | UTF-8 | 8,014 | 1.609375 | 2 | [] | no_license | package ohos.multimodalinput.event;
public abstract class KeyEvent extends MultimodalEvent {
public static final int KEY_0 = 2000;
public static final int KEY_1 = 2001;
public static final int KEY_2 = 2002;
public static final int KEY_3 = 2003;
public static final int KEY_4 = 2004;
publ... | true |
5ed1becd8764a2a7f2c469cccc430cf0864e0485 | Java | wanghanchao2012/com.example | /src/main/java/com/mrwang/example/netty/nioreactor/NioEventHandler.java | UTF-8 | 653 | 2.546875 | 3 | [] | no_license | package com.mrwang.example.netty.nioreactor;
import java.io.IOException;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import lombok.extern.slf4j.Slf4j;
@Slf4j
public abstract class NioEventHandler implements Runnable {
protected final Selector selector;
protected final SelectionKey sel... | true |
70302f1d62e9ab2fe2ecabcb90780fbfbe5c06af | Java | AlejandroFonseca25/Telephone_Lines | /src/model/BasicTelephoneLine.java | UTF-8 | 541 | 2.765625 | 3 | [] | no_license | package model;
public class BasicTelephoneLine extends TelephoneLine
{
///////////////////////////////////////////////
// Constructor //
///////////////////////////////////////////////
public BasicTelephoneLine (int localMins)
{
super(localMins);
}
///////////////////////////////////////////////
... | true |
1c3b4d4e8a26f0498816369cbb277f950f40a459 | Java | Przemo23/SantoriniProject | /appStates/MenuState.java | UTF-8 | 4,917 | 2.34375 | 2 | [] | no_license | package appStates;
import com.jme3.app.Application;
import com.jme3.app.SimpleApplication;
import com.jme3.app.state.AppStateManager;
import com.jme3.app.state.AbstractAppState;
import com.jme3.asset.AssetManager;
import com.jme3.input.InputManager;
import com.jme3.math.ColorRGBA;
import com.jme3.math.Vector3... | true |
745fcbb189ada9248ac4f816c1d3f145cfb71e4f | Java | Vanessa-119/Java | /cabine telephonique/src/TestProject.java | UTF-8 | 623 | 2.671875 | 3 | [] | no_license | import java.util.ArrayList;
public class TestProject {
public static void main(String[] args) {
Appel ap4=new Appel(1,"65545");
Appel ap1=new Appel(2,"22121");
Appel ap2=new Appel(3,"555");
Appel ap3=new Appel(4,"5555");
ArrayList<Appel>appel=new ArrayList<Appel>();
appel.add(ap1);
appel.add(ap2);
... | true |
e2cbf6197ff0fa1582b19fa6134d758c4e5c6aa6 | Java | Nikhil-z/VideoPlayer | /src/main/java/com/konka/videoplayer/engine/KKMediaManager.java | UTF-8 | 5,768 | 2.15625 | 2 | [] | no_license | package com.konka.videoplayer.engine;
import android.content.Context;
import android.graphics.SurfaceTexture;
import android.os.Handler;
import android.os.HandlerThread;
import android.os.Looper;
import android.os.Message;
import android.view.Surface;
import android.view.TextureView;
import android.view.ViewGroup;
im... | true |
6042941eeffe5882255ea5b927079518f651052c | Java | wigforss/Ka-Websocket | /core/src/main/java/org/kasource/web/websocket/client/id/DefaultClientIdGenerator.java | UTF-8 | 387 | 1.875 | 2 | [
"Apache-2.0"
] | permissive | package org.kasource.web.websocket.client.id;
import javax.websocket.server.HandshakeRequest;
import org.kasource.web.websocket.channel.client.ClientChannel;
public class DefaultClientIdGenerator extends AbstractClientIdGenerator {
@Override
public String getId(HandshakeRequest request,
... | true |
2fc7cea89ec99b21ce255c581c6c19460ef8809d | Java | zyl-me/JavaLearn | /springboot-gradle/src/main/java/cn/eunji/aquan/springbootgradle/controller/SpringController.java | UTF-8 | 746 | 1.984375 | 2 | [] | no_license | package cn.eunji.aquan.springbootgradle.controller;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.b... | true |
95b14e01fb9ac52eaca1512fd06e461ff47ac387 | Java | Tiemer-n/PetShop | /src/petshop/ChangeFiles.java | UTF-8 | 6,230 | 2.40625 | 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 petshop;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.Fi... | true |
2d5d055ca4f984983fa8c92e111a27dd40a127f6 | Java | catascopic/dom | /src/com/catascopic/dominion/event/TrashEvent.java | UTF-8 | 371 | 2.15625 | 2 | [] | no_license | package com.catascopic.dominion.event;
import com.catascopic.dominion.Card;
import com.catascopic.dominion.Player;
public class TrashEvent extends MoveEvent {
public TrashEvent(Player player, Card card) {
// TODO Auto-generated constructor stub
}
@Override
public void handle(EventVisitor visitor, Context cont... | true |
a6eab7fb4d7f015f23b50f771b22f93495ed3397 | Java | diegocueva/CryptoUtil | /src/main/java/com/diegocueva/cryptolib/UCripto.java | UTF-8 | 8,240 | 2.796875 | 3 | [] | no_license | package com.diegocueva.cryptolib;
import java.io.UnsupportedEncodingException;
import java.security.Key;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.MessageDigest;
import java.security.SecureRandom;
import java.security.spec.KeySpec;
import java.util.ArrayList;
import jav... | true |
8d4db5f23db8875805129cbef0a831fc84c2eb30 | Java | JustLeak/MutualExclusion | /src/sample/petersonsAlgorithm/ProcessTwoPeterson.java | UTF-8 | 862 | 3.078125 | 3 | [] | no_license | package sample.petersonsAlgorithm;
import sample.Scheduler;
public class ProcessTwoPeterson extends Thread {
private int processId;
private ControllerPeterson controllerPeterson;
ProcessTwoPeterson(ControllerPeterson controller) {
controllerPeterson = controller;
processId = 1;
}
... | true |
31dd9a00f8d9304bca885631b125f14d963639a6 | Java | CataCimpean/MathWebAppSpringBoot | /mathwebapp/src/main/java/com/springboot/mathwebapp/MathWebApplication.java | UTF-8 | 439 | 1.726563 | 2 | [] | no_license | package com.springboot.mathwebapp;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
@SpringBootApplication
@EnableAspectJAutoProxy(proxyTargetClass = true)
public class MathWeb... | true |
253b420fafc0f30c4b1542503f450e4f5f71de86 | Java | pachecoberlin/Capstone-Project | /movies/src/main/java/de/pacheco/popularMovies/recycleviews/RelatedVideoViewHolder.java | UTF-8 | 2,284 | 2.296875 | 2 | [
"Unlicense"
] | permissive | package de.pacheco.popularMovies.recycleviews;
import de.pacheco.popularMovies.R;
import de.pacheco.popularMovies.model.RelatedVideo;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import an... | true |
f3cd77bac1a6312432053b5e180e7c0f44fd9156 | Java | iamswapnilsonar/RoomiesExpenses | /app/src/main/java/com/harshal/roomiesexpenses/RoomiesExpensesActivity.java | UTF-8 | 12,190 | 1.765625 | 2 | [] | no_license | package com.harshal.roomiesexpenses;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Typeface;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.ActionBar;... | true |
5a3643ade0aeeda1282888e03a4f017914ec8a65 | Java | tanwanirahul/smalltalk | /CDI_integration/backend_demo/src/main/java/demo/model/ProductDAO.java | UTF-8 | 1,790 | 2.609375 | 3 | [] | no_license | package demo.model;
import java.util.List;
import javax.enterprise.context.RequestScoped;
import javax.inject.Inject;
import javax.inject.Named;
import javax.persistence.EntityManager;
import javax.persistence.Query;
import demo.model.Querys.Invocation;
import demo.model.bean.Product;
/**
* @author zkessentials st... | true |
76de08ef576d56d3efa5e338a9ebf93109e15e19 | Java | KFDing/masterthesis | /IncorporateNegativeInformation/ext-lib/InductiveMinerDeprecated-latest/org/processmining/plugins/InductiveMiner/mining/logs/IMLog.java | UTF-8 | 2,056 | 2.453125 | 2 | [] | no_license | package org.processmining.plugins.InductiveMiner.mining.logs;
import java.util.BitSet;
import org.deckfour.xes.classification.XEventClass;
import org.deckfour.xes.classification.XEventClassifier;
import org.deckfour.xes.model.XEvent;
import org.deckfour.xes.model.XLog;
import org.deckfour.xes.model.XTrace;
i... | true |
07fd2e41e02291db5aa3602c3a55a5c3591ac6e2 | Java | LXK111/BlackTiger-Cashbook | /app/src/main/java/com/example/blacktiger/ui/add/AddFragment.java | UTF-8 | 7,620 | 1.820313 | 2 | [] | no_license | package com.example.blacktiger.ui.add;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable... | true |
5707aee0ba1975cd1313037918b2e196a9fe53a3 | Java | tectronics/assimilation | /CMU-PET/PET1.2-Core/src/main/java/com/ndss/pet/core/persistence/dao/intf/LifecycleDAO.java | UTF-8 | 2,508 | 2.40625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Produced by team Collective for Foundations courses, CMU class of 2009.
*
* Vineet Agarwal
* Harley Holliday
* Amandeep S. Riar
* Karthik Sankar
*
*/
package com.ndss.pet.core.persistence.dao.intf;
import com.ndss.pet.core.domain.DeliverableType;
import com.ndss.... | true |
31897d20a927ac2642f4eaa54736dfc24e552164 | Java | ouyangsuo/ZXClient | /AndroidController/src/com/kitty/poclient/interfaces/SelfReloader.java | UTF-8 | 130 | 1.609375 | 2 | [] | no_license | package com.kitty.poclient.interfaces;
public interface SelfReloader {
public void onDataLoadFailed();
public void reload();
}
| true |
f095a3f58fef75dbe3cc98cc27c6b7fe35f67e7f | Java | smile-org/culture | /backend/src/main/java/com/kst/services/FirstPageService.java | UTF-8 | 708 | 1.820313 | 2 | [
"Apache-2.0"
] | permissive | package com.kst.services;
import com.kst.entities.Banner;
import com.kst.entities.Focus;
import com.kst.entities.Module;
import java.util.List;
import java.util.Map;
public interface FirstPageService {
//Map login(String userName, String password);
Map getBannerIDList();
Map getBannerByID(int banner_... | true |
69974d3dc4321b760bbb5ee549c000b7fbe63f10 | Java | mailsforprk/filter | /src/main/java/org/prk/service/UserServiceImpl.java | UTF-8 | 830 | 1.992188 | 2 | [] | no_license | package org.prk.service;
import java.util.List;
import javax.transaction.Transactional;
import org.prk.dao.UserDao;
import org.prk.domain.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class UserServiceImpl extends ParentServiceImp... | true |
8841878ece3179518a645efe19ef3a7886ee104b | Java | petr-panteleyev/password-manager | /src/test/java/org/panteleyev/pwdmanager/TestSerializer.java | UTF-8 | 3,055 | 2.28125 | 2 | [
"BSD-2-Clause"
] | permissive | /*
Copyright © 2017-2022 Petr Panteleyev <petr@panteleyev.org>
SPDX-License-Identifier: BSD-2-Clause
*/
package org.panteleyev.pwdmanager;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provide... | true |
f84e66bf288013dce69cc875781e5e451868021b | Java | lyashenkod/Weather | /app/src/main/java/com/dima/weather/repository/legacy/LocalRepositoryLegacy.java | UTF-8 | 6,577 | 2.25 | 2 | [] | no_license | package com.dima.weather.repository.legacy;
import android.content.res.Resources;
import android.util.Log;
import com.dima.weather.model.City;
import com.dima.weather.model.CurrentWeather;
import com.dima.weather.repository.LocaleRepository;
import java.util.ArrayList;
import java.util.List;
import io.reactivex.Sin... | true |
f13808c0e4a39750ffa9edbdacf6d91b0d7904eb | Java | ilyajob4j/bukreyevi | /chapter_001/src/test/java/ru/job4j/condition/TriangleTest.java | UTF-8 | 817 | 3.1875 | 3 | [
"Apache-2.0"
] | permissive | /**
TriangleTest package.
*/
package ru.job4j.condition;
/**
TriangleTest.
*/
import org.junit.Test;
import static org.junit.Assert.assertThat;
import static org.hamcrest.number.IsCloseTo.closeTo;
/**
TriangleTest class.
*/
public class TriangleTest {
/**
checks first condition.
*/
@Test
public void triangleSreturn... | true |
18f9d344b24e1345d45a7b1b8161fbc5e8f3b9a4 | Java | lamekemal/LifeTarget | /app/src/main/java/com/archeosbj/lifetarget/Adpter/TourAdapter.java | UTF-8 | 6,124 | 2.28125 | 2 | [] | no_license | package com.archeosbj.lifetarget.Adpter;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.support.v7.widget.PopupMenu;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.MenuInflater;
import android.... | true |
2f704a1903b9a11123fd13acbda855db6d9bac73 | Java | Yzubi/killingspreefork | /core/src/com/sillygames/killingSpree/pool/AssetLoader.java | UTF-8 | 1,147 | 2.515625 | 3 | [
"MIT"
] | permissive | package com.sillygames.killingSpree.pool;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.graphics.Texture;
public class AssetLoader {
public static final AssetLoader instance = new AssetLoader();
public AssetManager manager;
public AssetLoader() {
manager... | true |
7f13b5d6b7cd9fde943490452eeab89d391a9610 | Java | Nelanna/RecruitmentWeb | /RecruitmentWeb/src/main/java/action/LookingForGuildAction.java | UTF-8 | 383 | 2 | 2 | [] | no_license | package action;
import com.opensymphony.xwork2.ActionSupport;
import model.MessageStore;
public class LookingForGuildAction extends ActionSupport
{
private MessageStore messageStore;
public String execute()
{
messageStore = new MessageStore();
return "SUCCESS";
}
public MessageS... | true |
59a6c3c2349a3b7d1a795912b63c025be4a3a3e5 | Java | maguibri/pipeline-demo | /src/main/java/com/revature/subcontroller/ViewAllPendingBursementsControlelr.java | UTF-8 | 398 | 1.734375 | 2 | [] | no_license | package com.revature.subcontroller;
import javax.servlet.http.HttpServletRequest;
import com.revature.service.BursementService;
public class ViewAllPendingBursementsControlelr {
public static String viewAllPendingBursements(HttpServletRequest request) {
System.out.println("cvonoasjdfwol2ljrwqlejr;ljdf;lasd");
... | true |
64d0582b5f6b74ebb2edd81cfa007969e422715b | Java | UKGovLD/registry-core | /src/main/java/com/epimorphics/registry/ror/projection/ModelProjectionBuilder.java | UTF-8 | 3,455 | 2.59375 | 3 | [
"Apache-2.0"
] | permissive | package com.epimorphics.registry.ror.projection;
import com.epimorphics.registry.store.StoreAPI;
import org.apache.jena.rdf.model.Property;
import org.apache.jena.rdf.model.Resource;
import java.util.ArrayList;
import java.util.List;
import java.util.function.Consumer;
import java.util.stream.Collectors;
public clas... | true |
e15be92c7475a190fb6ed81c3de2c70a0d8b1d20 | Java | mannyrobin/Omnecrome | /pbk-report-lib/src/main/java/ru/armd/pbk/mappers/report/standard/So12Mapper.java | UTF-8 | 2,513 | 2.15625 | 2 | [] | no_license | package ru.armd.pbk.mappers.report.standard;
import org.apache.ibatis.annotations.Param;
import ru.armd.pbk.annotations.mappers.IsMapper;
import ru.armd.pbk.core.domain.BaseDomain;
import ru.armd.pbk.core.mappers.IDomainMapper;
import ru.armd.pbk.core.views.BaseGridView;
import ru.armd.pbk.core.views.BaseGridViewParam... | true |
aeb517d5ef5b97dceb66394755cd81a78b8fc78c | Java | DenysMurzin/Source | /DominoChains/src/main/java/com/my/solver/Solver.java | UTF-8 | 197 | 2.0625 | 2 | [] | no_license | package com.my.solver;
import com.my.model.Tile;
import java.util.List;
/**
* @author Denys Murzin
*/
public interface Solver {
List<Tile> determineLongestChain(List<Tile> selectedTileSet);
}
| true |
a8e6e0e07d46ff9216f0cff90aaebdd00e096b20 | Java | kalpitzz/E-Commerce-AndroidApp | /app/src/main/java/com/bit/amazonclone/AdminCategoryActivity.java | UTF-8 | 5,211 | 2.140625 | 2 | [] | no_license | package com.bit.amazonclone;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import androidx.appcompat.app.AppCompatActivity;
public class AdminCategoryActivity extends AppCompatActivity {
private ImageView TShirts... | true |
2d88e795033f1b5480a41dcd1f39bbe63f99562e | Java | cerealkiller1918/codeeval-mine | /src/test/java/com/justinfrasier/codeeval/readmore/ReadMoreTest.java | UTF-8 | 1,895 | 3.234375 | 3 | [] | no_license | package com.justinfrasier.codeeval.readmore;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
import java.text.ParseException;
public class ReadMoreTest {
private Main uud;
@Before
public void setUp() throws Exception {uud = new Main();}
@Test
public void test... | true |
e803b0e8d8a095f43878cd40a6b3c5c5b74bf733 | Java | epamcia/sbd | /hybris/bin/custom/sbd/sbdcore/src/com/sbd/core/event/QuoteEventListener.java | UTF-8 | 3,796 | 1.890625 | 2 | [] | no_license | /*
* [y] hybris Platform
*
* Copyright (c) 2000-2012 hybris AG
* All rights reserved.
*
* This software is the confidential and proprietary information of hybris
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the terms of the
* li... | true |
2766c7cb13111b3062e0dea0a8d370b92ea4d5f0 | Java | nathanchen/ProjectS22011java | /src/au/edu/usyd/it/siftClusteringKmeans/SiftKmeans.java | UTF-8 | 3,720 | 2.6875 | 3 | [] | no_license | /********************** NOT BEEN USED ***********************************/
package au.edu.usyd.it.siftClusteringKmeans;
import java.io.File;
import java.util.*;
import net.semanticmetadata.lire.imageanalysis.sift.Feature;
//import net.semanticmetadata.lire.imageanalysis.sift.KMeans.Cluster;
//import net.semant... | true |
afe19620bd4f69163b1c2224758a57fdc0fbe4e4 | Java | nazender/jee-rest | /src/test/java/com/lotaris/jee/rest/ApiResponseUnitTest.java | UTF-8 | 2,063 | 2.4375 | 2 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | package com.lotaris.jee.rest;
import com.lotaris.rox.annotations.RoxableTest;
import com.lotaris.rox.annotations.RoxableTestClass;
import javax.ws.rs.core.Response;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* @see ApiResponse
* @author Simon Oulevay (simon.oulevay@lotaris.com)
*/
@RoxableTestCl... | true |
b6e5ec3269743c3bd4f21c290f3bbe61a0a5a0b8 | Java | rahulnainwal107/JavaInterviewPractice | /src/Pattern/Pattern17.java | UTF-8 | 468 | 3.46875 | 3 | [] | no_license | package Pattern;
public class Pattern17 {
public static void main(String[] args) {
for (int i = 1; i <= 5; i++) {
int l = 0, m = 1;
for (int j = 1; j <= i; j++) {
if (i % 2 == 0) {
System.out.print(l + " ");
if (l == 0) {
l++;
} else {
l--;
}
} else {
... | true |
4b5b670c81bcc808b120162e3cb219abe3695028 | Java | akshaymishra07/GoSafe-Cab-Booking-Applicaiton | /Java/com/example/hp/gosafe/YourRides.java | UTF-8 | 2,081 | 2.0625 | 2 | [] | no_license | package com.example.hp.gosafe;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ListView;
import com.google.firebase.auth.FirebaseAuth;
import com.google.firebase.auth.FirebaseUser;
import com.google.firebase.database.DataSnapshot;
import com.google.firebase.database.Da... | true |
be20631178333679556cc2c971b0e81ac3e42231 | Java | caiclima/brd-seguros | /bradesco-seguro-all/bradesco-seguro-service/src/main/java/br/com/callink/bradesco/seguro/service/impl/DominioService.java | UTF-8 | 4,059 | 2.453125 | 2 | [] | no_license | package br.com.callink.bradesco.seguro.service.impl;
import java.math.BigInteger;
import java.util.List;
import javax.ejb.Local;
import javax.ejb.Stateless;
import javax.inject.Inject;
import br.com.callink.bradesco.seguro.commons.utils.CollectionUtils;
import br.com.callink.bradesco.seguro.commons.utils.StringUtils... | true |
53dbe7dee3f8c19adcf716ec3e543775b02bc79b | Java | jxblum/spring-data-geode | /spring-data-geode/src/test/java/org/springframework/data/gemfire/config/annotation/support/AbstractLazyResolvingComposableConfigurerUnitTests.java | UTF-8 | 6,930 | 1.625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2018-2022 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | true |
b3ece00b85d21a87f4c13c285554b32f49703765 | Java | leungsx/crawler | /src/main/java/com/ruc/storage/IStorage.java | UTF-8 | 554 | 2.609375 | 3 | [] | no_license | package com.ruc.storage;
import com.ruc.entity.CrawlResult;
public interface IStorage
{
/**
* 如爬取的URL不在storage中,则写入,否则,则忽略
* @author 大哥
* @date 2020年3月11日
* @param url 爬取的网址
* @param result
* @return true 表示写入成功,寄之前没有没有这个记录;false表示之前已经有记录了
*/
boolean putIfNoExist(String url,CrawlResult result);
/*... | true |
d412398959e11ce102fb614e043263343d4d91cb | Java | zhongxingyu/Seer | /Diff-Raw-Data/2/2_72e38effca6f5c0d7245eea2a0e5b3364797eed5/EditAlbum/2_72e38effca6f5c0d7245eea2a0e5b3364797eed5_EditAlbum_s.java | UTF-8 | 6,400 | 2.171875 | 2 | [] | no_license | package fi.ctripper;
import java.util.Locale;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAd... | true |
568ae8842838b4c46ba09f05f48f31bd773aea08 | Java | quest-sage/qss-java | /server/compiler/src/main/java/com/thirds/qss/compiler/tree/script/Struct.java | UTF-8 | 1,353 | 2.484375 | 2 | [
"Apache-2.0"
] | permissive | package com.thirds.qss.compiler.tree.script;
import com.thirds.qss.compiler.Range;
import com.thirds.qss.compiler.lexer.Token;
import com.thirds.qss.compiler.lexer.TokenType;
import com.thirds.qss.compiler.tree.Documentable;
import com.thirds.qss.compiler.tree.Node;
import java.util.ArrayList;
import java.util.functi... | true |
17f79227574a92b9b2211dfb589df31c639db11d | Java | 151115/team_tour | /project_final/src/com/model/ReviewDTO.java | UTF-8 | 1,857 | 2.390625 | 2 | [] | no_license | package com.model;
public class ReviewDTO {
private String place_title;
private String name;
private String title;
private String text;
private String email;
private String num;
private String date;
public ReviewDTO(String place_title, String title, String text, String email) {
this.place_title ... | true |
b331d5b9ef360259c5e58cbf8a9dbe7995361f10 | Java | talentappstore/tas-json-schema | /src/main/java/com/tas/jsonschema/Media.java | UTF-8 | 404 | 2.125 | 2 | [
"MIT"
] | permissive | package com.tas.jsonschema;
public class Media {
private String binaryEncoding;
private String type;
public Media() {
}
public String getBinaryEncoding() {
return binaryEncoding;
}
public void setBinaryEncoding(String binaryEncoding) {
this.binaryEncoding = binaryEncoding;
}
public String getType() ... | true |
0a78073d86612b87cba1b82b7eb4375e3a252af0 | Java | ozaki25/springboot_sample | /src/main/java/com/example/workflow/controllers/HistoriesController.java | UTF-8 | 2,258 | 2.09375 | 2 | [] | no_license | package com.example.workflow;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bin... | true |
1a1c483e2f53755986694e6c522dbd40adbd1b0e | Java | Madioter/ladgt | /poke-rule/rule-api/src/main/java/com/madiot/poke/errors/PokeRuleException.java | UTF-8 | 840 | 2.328125 | 2 | [] | no_license | /**
* @Title: PokeRuleException.java
* @Package com.madiot.poke.rule.api
* @Description: TODO
* @author Yi.Wang2
* @date 2017/8/17
* @version
*/
package com.madiot.poke.errors;
/**
* @ClassName: PokeRuleException
* @Description: TODO
* @author Yi.Wang2
* @date 2017/8/17
*/
public class PokeRuleException ex... | true |
e7d88e7cc3df8c287346f63b42a266fd2ab5f5c4 | Java | bellmit/claimcar2 | /claimcar-api/src/main/java/ins/sino/claimcar/claimjy/service/JyDlossService.java | UTF-8 | 417 | 1.84375 | 2 | [] | no_license | package ins.sino.claimcar.claimjy.service;
import ins.platform.vo.SysUserVo;
import ins.sino.claimcar.losscar.vo.ClaimFittingVo;
/**
*
* @author linyi
*
*/
public interface JyDlossService {
/**
* 3.2.3定损请求接口
* @param registNo
* @param dmgVhclId
* @param userVo
* @return String
*/
public String dl... | true |
745b9098b56e7ae43134921f8057ffb40b2bbea4 | Java | Kanykei-28/OOP | /Week2/Lanterns.java | UTF-8 | 847 | 2.953125 | 3 | [] | no_license | package Week2;
public class Lanterns {
public static void main(String[] args){
TwoTriangles();
Lines();
ManyStars();
TwoTriangles();
Stars();
Lines();
Lines();
Stars();
Stars();
}
public static void TwoTriangles(){
... | true |
776bd2df31287ae3aa6901aec56c0c5f4fd991eb | Java | intoday87/jpa-practice | /src/test/java/entity/BoardTest.java | UTF-8 | 1,702 | 2.53125 | 3 | [] | no_license | package entity;
import org.junit.*;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.EntityTransaction;
import javax.persistence.Persistence;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.junit.Assert.assertThat;
import static org.ju... | true |
e6b7024ba32135fbc56b07092c275cec1d0ab8c6 | Java | qucosa/sword-fedora | /src/main/java/org/purl/sword/server/fedora/baseExtensions/XMLServiceDocument.java | UTF-8 | 9,351 | 2.078125 | 2 | [] | no_license | package org.purl.sword.server.fedora.baseExtensions;
/**
* Copyright (c) 2007, Aberystwyth University
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions ... | true |
7668fe2ea3d0b1c2aef1684d8b6a8c5321aef0d0 | Java | CodingBadgers/PluginCore | /PluginCore/src/main/java/uk/codingbadgers/plugincore/gui/misc/GuiEnchantment.java | UTF-8 | 1,798 | 2.359375 | 2 | [] | no_license | package uk.codingbadgers.plugincore.gui.misc;
import org.bukkit.NamespacedKey;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.enchantments.EnchantmentTarget;
import org.bukkit.inventory.ItemStack;
import uk.codingbadgers.plugincore.PluginCore;
import java.lang.reflect.Field;
public class GuiEnchantmen... | true |
99ddc5bb8ee284e0ef224ad0d7aee070b3c56dc8 | Java | jack13163/OilScheduleOperationPlatform | /src/opt/jmetal/problem/oil/statemode/StateException.java | UTF-8 | 437 | 2.21875 | 2 | [] | no_license | package opt.jmetal.problem.oil.statemode;
import java.io.Serializable;
/**
* @author Administrator
*/
public class StateException extends Exception implements Serializable {
private static final long serialVersionUID = 1L;
public StateException() {
super();
}
public StateException(String ... | true |
bd944f313b762507314c8ddbd64424705051b358 | Java | snehapavuluri/wardrobe | /STS/gs-rest-service-complete/src/main/java/com/wrs/services/repository/Repository.java | UTF-8 | 3,873 | 2.625 | 3 | [] | no_license | package com.wrs.services.repository;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import com.wrs.services.domain.Item;
import com.wrs.services.domain.User;
publi... | true |
33d19256e5934fed5cbc235e1f1f1dd6f814c160 | Java | ApurvKAwasthi88/apurvTaxProject | /src/main/java/com/expedia/tax/computation/USTaxComputationImpl.java | UTF-8 | 1,533 | 2.734375 | 3 | [] | no_license | package com.expedia.tax.computation;
import com.expedia.domain.Item;
import com.expedia.persistance.TaxRepository;
import com.expedia.persistance.TaxRepositoryImpl;
import com.expedia.util.TaxUtils;
import java.math.BigDecimal;
import java.util.Optional;
import java.util.concurrent.ExecutionException;
/**
* Created... | true |
1e53cb38fe67aa1be99ca23418f7ca8a0b8af322 | Java | 270686992/fumeng-staging | /src/main/java/cn/xilikeli/staging/common/interceptor/ScopeLevel.java | UTF-8 | 564 | 2.109375 | 2 | [
"MIT"
] | permissive | package cn.xilikeli.staging.common.interceptor;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* <p>
* 用户分组级别注解
* </p>
*
* @author txxunmei
* @version 1.0
* @date 2021/2/6
* @since JDK1.8
*/
... | true |
e00560fce13afed64f3d29717932d8f0fd93bb52 | Java | Trink0/NoTube-Beancounter-2.0 | /realtime-analyser/realtime-analyser-core/src/main/java/io/beancounter/analyser/DefaultInMemoryAnalyserImpl.java | UTF-8 | 4,147 | 2.4375 | 2 | [] | no_license | package io.beancounter.analyser;
import com.google.inject.Inject;
import io.beancounter.analyser.analysis.Analysis;
import io.beancounter.analyser.analysis.AnalysisException;
import io.beancounter.analyser.analysis.AnalysisNotApplicableException;
import io.beancounter.analyses.Analyses;
import io.beancounter.analyses.... | true |
f37927d6e2bbf73e18d8f69307db6944b171ed38 | Java | nhat-beo/QuanLySach | /app/src/main/java/com/example/nhatntph10460_duanmau/model/InforBook.java | UTF-8 | 282 | 1.546875 | 2 | [] | no_license | package com.example.nhatntph10460_duanmau.model;
public class InforBook {
public int idBook;
public String nameBook;
public String type;
public String author;
public int amount;
public double importPrice;
public double price;
public String date;
}
| true |
4b29daeb82525d9ba897f6e4c4e53fa1e58e28d2 | Java | CByrd17/tcjff | /tc/src/rl/Creature.java | UTF-8 | 4,819 | 3.328125 | 3 | [] | no_license | /**
*
*/
package rl;
import java.awt.Color;
/**
* @author cbyrd17
*
*/
public class Creature {
/**
* This is the world that the creature is in.
*/
private final World world;
/**
* Horizontal location of the creature in the world.
*/
private int xValue;
/**
* Vertical lo... | true |
451726dc8d22634071d35e2498b3cc4ce9d4a751 | Java | yangjingsz/supermarket_client | /src/entity/Item.java | GB18030 | 828 | 2.5 | 2 | [] | no_license | package entity;
import java.io.Serializable;
public class Item implements Serializable{
private Commodity commodity;//Ʒ
private double itemPrice;//Ʒ۸
private String itemUnit;//Ʒλ
private int itemNum;//
public Commodity getCommodity() {
return commodity;
}
public void setCommodity(Commodity c... | true |
614710b958746a64306ae6dacfd2892d7751ccb8 | Java | zhongxingyu/Seer | /Diff-Raw-Data/2/2_1b3698283e0608d7fc8173d2a366ead01e12afee/Permissions2Handler/2_1b3698283e0608d7fc8173d2a366ead01e12afee_Permissions2Handler_t.java | UTF-8 | 1,655 | 2.328125 | 2 | [] | no_license | package com.earth2me.essentials.perm;
import com.nijiko.permissions.PermissionHandler;
import com.nijikokun.bukkit.Permissions.Permissions;
import java.util.Arrays;
import java.util.List;
import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
public class Permissions2Handler implements IPermiss... | true |
a4ba65d213a76dadb2c3a6c66d0d80b642bf05da | Java | imalka1/FleetManagementSystem | /Backend/src/main/java/lk/fleet/controller/UserAccountController.java | UTF-8 | 8,265 | 2.125 | 2 | [] | no_license | package lk.fleet.controller;
import lk.fleet.dto.ApplicationDTO;
import lk.fleet.entity.*;
import lk.fleet.service.UserAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import java.util.List;... | true |
5aa79b7c6afc0ce313ef37e5c627403776b5631b | Java | navychen2003/javen | /java/Raptor/src/org/javenstudio/raptor/bigdb/master/MetaRegion.java | UTF-8 | 1,884 | 2.671875 | 3 | [] | no_license | package org.javenstudio.raptor.bigdb.master;
import org.javenstudio.raptor.bigdb.DBRegionInfo;
import org.javenstudio.raptor.bigdb.DBServerAddress;
import org.javenstudio.raptor.bigdb.util.Bytes;
/** Describes a meta region and its server */
public class MetaRegion implements Comparable<MetaRegion> {
private final... | true |
3a156f118646e2c4f7b48e2a3c5609e2b293f4f2 | Java | worldgo400/HelloWorld | /Daima/src/twoChaShu/xunBaoShi.java | UTF-8 | 502 | 2.359375 | 2 | [] | no_license | package twoChaShu;
import java.io.FileOutputStream;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
public class xunBaoShi {
// 寻宝石
public int numJewelsInStone(String J,String S){
Set<Character>set=new HashSet<>();
for (char c:J.toCharArray()){
set.add(c);
... | true |
cafc2bd0939fd4b98ac5c39f1c2e587b0d08d0d7 | Java | algorithm005-class02/algorithm005-class02 | /Week_03/G20190343020089/LeetCode_45_0089java.java | UTF-8 | 457 | 2.546875 | 3 | [] | no_license | /*
* @lc app=leetcode.cn id=45 lang=java
*
* [45] 跳跃游戏 II
*/
// @lc code=start
class Solution {
public int jump(int[] nums) {
int end = 0, maxPos = 0, steps = 0;
for (int i = 0; i < nums.length - 1; i++) {
maxPos = Math.max(maxPos, nums[i] + i);
if (i == end) {... | true |
b903b87273bf5f2fb47fcd1321c59bdc576264f8 | Java | sop-pp/Search-based-inference-methods-for-structured-output-prediction | /src/com/structuredoutputclassifiers/mallet/cv/CrossValidator.java | UTF-8 | 740 | 2.171875 | 2 | [
"MIT"
] | permissive | package com.structuredoutputclassifiers.mallet.cv;
import cc.mallet.types.InstanceList;
import com.structuredoutputclassifiers.mallet.InstanceListWithCoreFeatures;
/**
* Author: Marcin Dobrowolski
*/
public abstract class CrossValidator {
protected int seed = 1;
protected double trainingSetSizeP... | true |
c8f096f1f4d3332ddd37c6ff3069d4f93a2369a2 | Java | MayadaSamir/Aman_MobileTA | /src/test/java/Tests/Orange/Orange_Voucher_30_Test.java | UTF-8 | 1,901 | 2.390625 | 2 | [] | no_license | package Tests.Orange;
import Pages.Orange.OrangeVouchers_30_Page;
import Tests.TestBase;
import org.testng.Assert;
import org.testng.annotations.Test;
public class Orange_Voucher_30_Test extends TestBase {
OrangeVouchers_30_Page OrangeVoucher_30_Object ;
@Test
public void OrangeVoucher_30() throws Ex... | true |
857ba1c2cb5da025ee9bf19e837f2444cef30716 | Java | supermaniszhou/studySpringboot | /webmodule/src/main/java/com/zhou/service/sys/SysLogInfoService.java | UTF-8 | 162 | 1.617188 | 2 | [] | no_license | package com.zhou.service.sys;
import com.zhou.entity.sys.SysLogInfo;
public interface SysLogInfoService {
void insertSysloginfo(SysLogInfo sysLogInfo);
}
| true |
5c8aaf147249397aa401592b23442c101a33bc69 | Java | lourvalli/OperationExercise | /src/main/java/com/eldar/operation_management/domain/repository/CardRepository.java | UTF-8 | 419 | 2.140625 | 2 | [] | no_license | package com.eldar.operation_management.domain.repository;
import com.eldar.operation_management.domain.model.card.Card;
import java.util.List;
public interface CardRepository {
void deleteAll();
List<Card> findAll();
Card findByNumber(Long number);
List<Card> findByCardHolder(String cardHolder);
... | true |
cb5272749f75d75f6802ffbe9635b1c6ad581921 | Java | zlamaann/cvut-bp | /Project/src/main/java/upd/config/RestConfig.java | UTF-8 | 634 | 2 | 2 | [] | no_license | package upd.config;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configura... | true |
7d6c9efd5a394710f43daa10c6f4e8f1d910011f | Java | nsmaniqa/beachbodyframework | /RealtimeApplicationTesting/src/test/ChallengePackTestcase.java | UTF-8 | 909 | 2.015625 | 2 | [] | no_license | package test;
import org.testng.annotations.Test;
import com.relevantcodes.extentreports.LogStatus;
import pages.ChallengePackPage;
import pages.HomePage;
import pages.ShopPage;
import common.TestCaseConfiguration;
public class ChallengePackTestcase extends TestCaseConfiguration{
ShopPage oShopPag... | true |
0277f0e4b550781d9d6eadcf9498d11b2c10e510 | Java | Jeewan127/Ezen_Project | /app/src/main/java/com/lwan/rkswl/ezen_project/plusImageFIle.java | UTF-8 | 439 | 2.109375 | 2 | [] | no_license | package com.lwan.rkswl.ezen_project;
import android.net.Uri;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
/**
* Created by rkswl on 2018-03-14.
*/
// 아이템 저장 클래스
@Data
@NoArgsConstructor
@ToString
public class plusImageFIle {
private String path;
private Uri image;
public... | true |
2e49acecfe8a8fa8c97dfe40b8c84709abd29fc9 | Java | WellCorreia/student-api | /src/main/java/com/wellington/student/dto/StudentDTO.java | UTF-8 | 838 | 2.359375 | 2 | [
"MIT"
] | permissive | package com.wellington.student.dto;
import com.sun.istack.NotNull;
import com.wellington.student.enums.GradeType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.EnumType;
import javax.persistence.E... | true |
764e9b6e7eab5c9fd0925c8d888565f8e3bc9958 | Java | feihugis/ClimateSpark | /sia-core/src/main/java/gov/nasa/gsfc/cisto/cds/sia/core/common/FileUtils.java | UTF-8 | 6,758 | 2.375 | 2 | [] | no_license | /**
*
*/
package gov.nasa.gsfc.cisto.cds.sia.core.common;
import org.apache.commons.logging.Log;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileStatus;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.fs.PathFilter;
import org.apache.lo... | true |
1bf1ba23ce59b0d9ca1044b686cea5bde57d7396 | Java | parksowon/WeatherApp | /src/com/sample/weatherapp/app/activity/LocationActivity.java | UTF-8 | 5,390 | 2.1875 | 2 | [] | no_license | package com.sample.weatherapp.app.activity;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.location.Criteria;
import android.os.Bundle;
import android.text.InputFilter;
import android.text.Spanned;
import android.util.Log;
import android.view.Gravity;
import ... | true |
a913954f610bf881f92c2e4c43a32c58322e2e79 | Java | Wsj090936/SSH | /Hibernate_02/src/domain/test2.java | GB18030 | 691 | 2.328125 | 2 | [] | no_license | package domain;
import org.hibernate.Session;
import org.hibernate.Transaction;
import org.junit.Test;
import Utils.HibernateUtils;
public class test2 {
@Test
public void fun1(){
Session session = HibernateUtils.openSession();
Transaction transaction = session.beginTransaction();
User user = session.get(U... | true |
ed79219b6c8be36cf9b1554cde03efc0795be9ee | Java | BaseMax/PopularAndroidSource | /bazaar8.apk-decompiled/sources/c/c/a/h/b/Jb.java | UTF-8 | 1,435 | 1.617188 | 2 | [] | no_license | package c.c.a.h.b;
import c.c.a.e.d.s.j;
import d.b.c;
import d.b.h;
import g.a.a;
import j.I;
/* compiled from: RetrofitModule_ProvideSearchServiceFactory */
public final class Jb implements c<j> {
/* renamed from: a reason: collision with root package name */
public final C0625mb f5924a;
/* renamed f... | true |
eb6db9584b7bb514b8fd995d36d2570296eff71c | Java | oferby/vca-server | /src/test/java/com/huawei/vca/TestGrpc.java | UTF-8 | 4,411 | 2.25 | 2 | [] | no_license | package com.huawei.vca;
import com.huawei.vca.question.QuestionProto;
import com.huawei.vca.question.QuestionRequest;
import com.huawei.vca.question.QuestionResponse;
import com.huawei.vca.question.QuestionServiceGrpc;
import io.grpc.ManagedChannel;
import io.grpc.ManagedChannelBuilder;
import org.junit.Test;
import o... | true |
a8e13f0f2e97061d11285594a35ba8bb3c46d496 | Java | buobao/FB | /app/src/main/java/com/turman/fb/example/alertdialog/define/DialogUtil.java | UTF-8 | 2,148 | 2.4375 | 2 | [] | no_license | package com.turman.fb.example.alertdialog.define;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.view.View;
import android.widget.Toast;
import com.turman.fb.R;
/**
* Created by dqf on 2016/2/17.
*/
... | true |
04fc7bb7f6e353dab7c991f83e9a2ce4ca57a82f | Java | BinaryWrought/LearningSpace | /Java/basic/RedOrGreen.java | UTF-8 | 2,082 | 3.671875 | 4 | [] | no_license | /*
* This is free to use as it was only made for practice.
*/
package com.jhazelle.gfg.basic;
import java.util.Scanner;
/**
* This is a solution to the <a href="http://practice.geeksforgeeks.org/problems/red-or-green/0" target="_blank">GeeksForGeeks Basic Red or Green.</a>
*
* To summarize the practice:
* Giv... | true |
7dcb7bc2073b5733be538e296025587f33bcfb01 | Java | jorybeast97/bussiness-platform | /src/main/java/com/fanhao/businessplatform/entity/BO/SalaryBO.java | UTF-8 | 1,244 | 2.359375 | 2 | [] | no_license | package com.fanhao.businessplatform.entity.BO;
import com.fanhao.businessplatform.entity.Employee;
import com.fanhao.businessplatform.entity.Salary;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
@Data
@NoArgsConstructor
public class SalaryBO {
private Integer id;
private Employ... | true |
aa1948f48928fc5fa98c4cb733571651f57b2e72 | Java | woshixiaowang123/bos1 | /bos/demo1/src/com/boss/demo/web/StaffAction.java | UTF-8 | 3,208 | 2.203125 | 2 | [] | no_license | package com.boss.demo.web;
import com.boss.demo.domain.StaffModel;
import com.boss.demo.utils.PageBean;
import com.boss.demo.web.BaseAction.BaseAction;
import net.sf.json.JSONObject;
import net.sf.json.JsonConfig;
import ognl.IteratorElementsAccessor;
import org.apache.struts2.ServletActionContext;
import org.hibernat... | true |
ae5abcb021f7c7dd87ef89cba4154f65e47fdc69 | Java | SantiagoD45/tiendaVG | /src/main/java/com/ubosque/DTO/tiendaVG/Product.java | UTF-8 | 1,716 | 2.515625 | 3 | [] | no_license | package com.ubosque.DTO.tiendaVG;
/*
* Autor: SANTIAGO DIAZ PINZON - GRUPO 16 - EQUIPO 11
* */
public class Product {
private long productId;
private double purchaseVAT;
private long providerNit;
private String productName;
private double purchasePrice;
private double salePrice;
public... | true |
6eef14f20df0995c491590ba63b0d91b5845258f | Java | prsundar/nGap | /SearchDoctors/src/main/java/com/unimoni/searchdoctors/repo/SearchDoctorRepository.java | UTF-8 | 438 | 1.78125 | 2 | [] | no_license | package com.unimoni.searchdoctors.repo;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import com.unimoni.searchdoctors.entity.Doctors;
//public interface SearchDoctorRepository extends CrudRepository<ListsDoctors, Long>{
public interface SearchDoctorRepository extends... | true |
1d049b187936102d9f5ed277255998d5a6cc4e4f | Java | Lil-Dope/shiro-example | /src/main/java/com/cnaidun/AidunSystemApplication.java | UTF-8 | 984 | 1.835938 | 2 | [] | no_license | package com.cnaidun;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Bean;
import org.springf... | true |