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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
5b88b39f1e062dbdd4c6c06a43a52340b60c92f7 | Java | chaitu16/jUnit_DataDriven | /src/testcases/RegistrationTest.java | UTF-8 | 2,804 | 2.0625 | 2 | [] | no_license | package testcases;
import java.time.Duration;
import java.util.Arrays;
import java.util.Collection;
import java.util.Set;
import org.junit.Assume;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;... | true |
28ec2835c6002c88137f7bef9f722f951d899298 | Java | Bing-Max/AlgorithmPractice | /src/structure/stack/ArrayStack.java | UTF-8 | 909 | 3.859375 | 4 | [] | no_license | package structure.stack;
public class ArrayStack {
private int maxSize;
private int[] vals;
private int top;
public ArrayStack() {
// TODO Auto-generated constructor stub
}
public ArrayStack(int maxSize) {
super();
this.maxSize = maxSize;
this.vals = new int[maxSize];
this.top = -1;
}
publi... | true |
5d762ad7239b16aa679c2fd844e3e670215e8356 | Java | JunGitHong/JavaDesignPattern | /src/jhz/pattern/mediator/ColleagueA.java | GB18030 | 432 | 2.59375 | 3 | [] | no_license | package jhz.pattern.mediator;
/**
* ͬA
* @author zhj
* @version 1.0.0
* @date 2018413 4:19:12
*/
public class ColleagueA extends AbstractColleague {
// @Override
// public void setNumber(int number, AbstractColleague coll) {
// this.number = number;
// coll.setNumber(number*100);
// }
@Override
public void ... | true |
66120fbd0c4c554da8ff1bbe09b544054c7dc52c | Java | javiergerard1986/MercadoLibre | /src/test/java/com/javier/tutorials/pages/BasePage.java | UTF-8 | 1,363 | 2.625 | 3 | [] | no_license | package com.javier.tutorials.pages;
import java.io.InputStream;
import java.util.Properties;
import org.openqa.selenium.TimeoutException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriv... | true |
60cf8ab621262d4de64e2157b86de3fe16bc57ab | Java | MostafaOmar98/virtual-file-system-simulator | /src/PersistenceManager/FileManager.java | UTF-8 | 199 | 2.078125 | 2 | [] | no_license | package PersistenceManager;
import MainPack.VirtualFileSystem;
public interface FileManager
{
public void save();
public void load();
public VirtualFileSystem getVirtualFileSystem();
}
| true |
f4700d0755158b1d3b6c0da55b5a33bdfe680715 | Java | MrYuguangbao/spring-springmvc | /src/main/java/com/springtest/aop/xml/XmlAspectMainTest.java | UTF-8 | 965 | 2.296875 | 2 | [] | no_license | package com.springtest.aop.xml;
import com.springtest.RoleVO;
import com.springtest.aop.aop2.AOP验证器;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
/**
* @author admin
* @date 2020/1/7 14:55
*/
public class XmlAspectMainTest {
public static void main(String[] arg... | true |
83969a571bb3e5180e419f39fca208b159270275 | Java | luume/potoview | /src/main/java/com/kr/pv/dao/SelectDao.java | UTF-8 | 279 | 1.765625 | 2 | [] | no_license | package com.kr.pv.dao;
import java.util.List;
import java.util.Map;
import com.kr.pv.vo.BoardFileJoinVO;
public interface SelectDao {
public BoardFileJoinVO selectByIdx(int idx);
public List<BoardFileJoinVO> selectList(Map<String, Integer> map);
public int totalCount();
}
| true |
02a8f133f562d64cf70ddf8fb952b285165abc26 | Java | duyme18/Backend_Project-Library-5-11-2019 | /src/main/java/com/codegym/model/Book.java | UTF-8 | 1,274 | 2.46875 | 2 | [] | no_license | package com.codegym.model;
import javax.persistence.*;
@Entity
@Table(name = "book")
public class Book {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
public Book(String title, String authors, Category category, Status status) {
this.title = title;
this.authors... | true |
e5c24bdf21f27d56448568eba2fca08d16cc4af0 | Java | younghkb/CS121 | /java/workspace/Goodreads/src/BookParserTest.java | UTF-8 | 1,120 | 2.859375 | 3 | [] | no_license | import static org.junit.Assert.*;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
public class BookParserTest {
QueryBuilder builder;
BookParser parser;
@Before
public void setUp() {
builder = new QueryBuilder();
parser = new BookParser();
}
@Test
public void testISBNQuery() {... | true |
c4c6b96990e97e46a580e9fe60bff6a896507ef8 | Java | imathresearch/iMathCloud_BBVA | /src/test/java/com/imath/core/model/JobTest.java | UTF-8 | 3,317 | 2.328125 | 2 | [] | no_license | /* (C) 2013 iMath Research S.L. - All rights reserved. */
package com.imath.core.model;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
import org.junit.After;
import org.junit.Before;
import org.junit.T... | true |
b1cbd2a99e8138b2077cd5b14fd5591ef31c3afc | Java | guanyibei1204/iLMS | /iLMS_PEC/src/com/hanthink/dpm/model/DpmDepPersonModel.java | UTF-8 | 3,124 | 1.929688 | 2 | [] | no_license | package com.hanthink.dpm.model;
import com.hotent.base.core.model.AbstractModel;
/**
*
* <pre>
* Description:
* Company: HanThink
* Date: 2018年9月14日 上午10:36:18
* </pre>
* @author luoxq
*/
public class DpmDepPersonModel extends AbstractModel<String>{
/**
*
*/
private static final lo... | true |
48777fc9ea8e22c9c4b30e3a03dc980f67ac6f84 | Java | dklenke/java-schule | /ÜbungenDrittesLehrjahr/src/ruhl/fluege/Flugzeug.java | MacCentralEurope | 1,106 | 3.328125 | 3 | [] | no_license | package ruhl.fluege;
public class Flugzeug {
private String typ;
private int anzahlPlaetze;
public Platz[] passagierListe;
public Flugzeug(String typ, int anzahlPlaetze) {
this.typ = typ;
this.anzahlPlaetze = anzahlPlaetze;
this.passagierListe = new Platz[anzahlPlaetze];
for (int i = 0; i<this.passagierL... | true |
97878754d8b683254bdcdf1d40a9ebdb05df463c | Java | tpltnt/binnavi | /src/main/java/com/google/security/zynamics/binnavi/Gui/GraphWindows/CommentDialogs/FunctionComments/CGlobalFunctionCommentAccessor.java | UTF-8 | 3,054 | 2.3125 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | /*
Copyright 2011-2016 Google Inc. 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.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | true |
cee034441cf4d6c6b141b00c4e243c78b9abd829 | Java | aws/aws-sdk-java | /aws-java-sdk-resiliencehub/src/main/java/com/amazonaws/services/resiliencehub/model/EventSubscription.java | UTF-8 | 12,727 | 1.851563 | 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 |
8c03ee4359039b0a56553ffe41dad8d25062a14e | Java | TrueSide1005/PA_LAB12_BIBIRE_RALUCA_2A3 | /Lab11/src/main/java/main/GameController.java | UTF-8 | 1,506 | 2.390625 | 2 | [] | no_license | package main;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util... | true |
b68c81a023cb80585621519b2bda0b4304fd2902 | Java | inspire-software/geda-genericdto | /core/src/test/java/com/inspiresoftware/lib/dto/geda/assembler/examples/collections/TestEntity7CollectionClass.java | UTF-8 | 981 | 1.898438 | 2 | [] | no_license |
/*
* This code is distributed under The GNU Lesser General Public License (LGPLv3)
* Please visit GNU site for LGPLv3 http://www.gnu.org/copyleft/lesser.html
*
* Copyright Denis Pavlov 2009
* Web: http://www.genericdtoassembler.org
* SVN: https://svn.code.sf.net/p/geda-genericdto/code/trunk/
* SVN (mirror): htt... | true |
82f406f5436172ad55e903e05b56b987bc61f72a | Java | Aiushtha/Go-RxJava | /sample-app/src/main/java/rx/android/samples/demo/condition/Fragment_Amb.java | UTF-8 | 1,107 | 2.5 | 2 | [
"Apache-2.0"
] | permissive | package rx.android.samples.demo.condition;
import java.util.concurrent.TimeUnit;
import rx.Observable;
import rx.Observer;
import rx.android.samples.demo.BaseFragment;
/**
* Created by Lin on 2016/10/13.
*/
public class Fragment_Amb extends BaseFragment {
public void runCode() {
Observable.amb(
... | true |
6351113c2b50153bdb6f3cbe5bae6e59320345b7 | Java | WigginsLi/Java_IM | /src/Messager.java | UTF-8 | 405 | 2.671875 | 3 | [] | no_license | // 消息对象
class Messager implements java.io.Serializable{
String fromID,toID, operation, cont, time;
// operation 0:普通消息 ; 1:其他消息(好友申请,是否在线)
Messager(String f, String t, String op, String cont, String time) {
this.fromID = f;
this.toID = t;
this.operation = op;
this.cont = co... | true |
c3c70a2b34baa93da4c0e0c36cdf56965ff21738 | Java | charasril/ITM801-THESIS | /app/src/main/java/com/akexorcist/googledirection/sample/AlternativeDirectionActivity.java | UTF-8 | 13,965 | 1.757813 | 2 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | package com.akexorcist.googledirection.sample;
import android.Manifest;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.pm.PackageManager;
import android.graphics.Color;
import android.location.Criteria;
import android.location.Location;
import android.location.LocationLi... | true |
ae8f7f7d98ec758189df56295b624129a759c8b9 | Java | jelem/capella | /task_30/andrew.samsonov/src/main/java/ua/pp/darknsoft/Counter02.java | UTF-8 | 753 | 2.96875 | 3 | [] | no_license | package ua.pp.darknsoft;
import java.util.concurrent.LinkedBlockingQueue;
public class Counter02 implements Runnable {
private LinkedBlockingQueue<Count> queue1 = new LinkedBlockingQueue();
private LinkedBlockingQueue<Count> queue2 = new LinkedBlockingQueue();
public Counter02(LinkedBlockingQueue queue1, Link... | true |
9a84d73937bf716a05edc1df628af410c70e41ed | Java | pankajksewalia/communication | /core/src/main/java/com/tricounsel/communication/core/enums/SequenceKeyEnum.java | UTF-8 | 291 | 2.25 | 2 | [] | no_license | package com.tricounsel.communication.core.enums;
public enum SequenceKeyEnum {
TEMPLATE("template");
private String sequenceKey;
public String getSequenceKey() {
return sequenceKey;
}
private SequenceKeyEnum(String sequenceKey) {
this.sequenceKey = sequenceKey;
}
}
| true |
bc9ba120e4f3ed54903dcbe499aa86e9504ce4ff | Java | petitizere89/project2 | /FirstThyme/src/main/java/com/project2/controllers/UserContoller.java | UTF-8 | 2,005 | 2.375 | 2 | [] | no_license | package com.project2.controllers;
import java.util.LinkedHashMap;
import org.hibernate.usertype.UserVersionType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import... | true |
4d48a8a3af230fccb5ecfafe858e22d3270bdebc | Java | LarryMckuydee/cally_theory | /src/app/App.java | UTF-8 | 3,885 | 3.15625 | 3 | [] | no_license | package app;
import java.util.Arrays;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import app.models.CallRequest;
import app.models.Employee;
import app.models.CustomerService;
import app.models.TechnicalLead;
import app.queues.JobQueues;
import app.models.Prod... | true |
d2859e0b06fe42b2919a3245301f4778f8e4faf8 | Java | consulo/consulo-xml | /xml-impl/src/main/java/consulo/xml/navigation/LinkedToHtmlFilesContributor.java | UTF-8 | 2,700 | 1.734375 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2000-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | true |
e7a1bb77507a67a60fbb9f10e0edb844e967ab71 | Java | sonnyred15/mpbomberman | /server/src/main/java/org/amse/bomberman/server/net/tcpimpl/sessions/control/RequestExecutor.java | UTF-8 | 1,487 | 1.757813 | 2 | [] | no_license | package org.amse.bomberman.server.net.tcpimpl.sessions.control;
//~--- non-JDK imports --------------------------------------------------------
import java.util.List;
import org.amse.bomberman.protocol.InvalidDataException;
/**
*
* @author Kirilchuk V.E
*/
public interface RequestExecutor {
// commands
... | true |
4cbb0b38b208b80a1075ba04277af2f7abe24cf5 | Java | jiangyun2014/minishop | /back_end/minishop/src/main/java/com/cndata/minishop/service/impl/ReceiverServiceImpl.java | UTF-8 | 1,350 | 2.109375 | 2 | [] | no_license | package com.cndata.minishop.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.cndata.minishop.domain.Receiver;
import com.cndata.minishop.domain.ReceiverExample;
import com.cndata.minishop.mapper.ReceiverMappe... | true |
512584c1ac3ffd5f5262e4b457d24a660a7753ce | Java | shanpengfei7/jmy | /zjk_isp/src/main/java/com/jmy/dao/Coi_category_threeMapper.java | UTF-8 | 3,760 | 1.84375 | 2 | [] | no_license | package com.jmy.dao;
import com.jmy.entity.Coi_category_three;
import com.jmy.entity.Coi_category_threeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface Coi_category_threeMapper {
/**
* This method was generated by MyBatis Generator. This method corresponds to the databa... | true |
17c79aea39dc2117cda13571917b4e020f8095f9 | Java | hbwzhsh/tutorials | /bigdata/src/main/java/com/zdatainc/rts/spark/TwitterFilterFunction.java | UTF-8 | 1,384 | 2.421875 | 2 | [] | no_license | package com.zdatainc.rts.spark;
import java.io.IOException;
import org.apache.log4j.Logger;
import org.apache.spark.api.java.function.*;
import scala.Tuple2;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.JsonNode;
public class TwitterFilterFunction
implements PairFun... | true |
7f8d61860e414447bec2e11061b3e1e18f0c6cd0 | Java | verhas/jScriptBasic | /src/main/java/com/scriptbasic/sourceproviders/AbstractSourceProvider.java | UTF-8 | 578 | 2.15625 | 2 | [
"Apache-2.0"
] | permissive | package com.scriptbasic.sourceproviders;
import com.scriptbasic.readers.SourceProvider;
import com.scriptbasic.readers.SourceReader;
import java.io.IOException;
/**
* An abstract source provider to be extended by the source provider
* implementations.
*
* @author Peter Verhas
*/
public abstract class AbstractSo... | true |
b06953d56c7b827707c46e01c5a1e723e1d7fad8 | Java | PrishanM/SwyftrRider | /app/src/main/java/com/evensel/riderswyftr/deliveries/DeliveryHistoryFragment.java | UTF-8 | 6,815 | 1.890625 | 2 | [] | no_license | package com.evensel.riderswyftr.deliveries;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.design.widget.TabLayout;
import android.support.v4.app.Fragment;
import android.support.... | true |
ea1fee2da5fc963b6b587bde80ff87724a76dc0f | Java | jenneydc/CSE385-Pokedex | /workspace/Pokebase/src/PokemonDetail.java | UTF-8 | 7,139 | 2.421875 | 2 | [] | no_license |
import java.sql.ResultSet;
import java.sql.Statement;
import javax.swing.JDialog;
import javax.swing.table.DefaultTableModel;
/*
* 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.
*/
/**
*... | true |
4251c48ca870e83a4ae59964ca82204e88044127 | Java | Whodundid/EnhancedMC-Core | /src/main/java/com/Whodundid/core/windowLibrary/windowObjects/advancedObjects/textArea/TextAreaLine.java | UTF-8 | 17,134 | 2.03125 | 2 | [
"BSD-3-Clause"
] | permissive | package com.Whodundid.core.windowLibrary.windowObjects.advancedObjects.textArea;
import com.Whodundid.core.EnhancedMC;
import com.Whodundid.core.coreApp.EMCResources;
import com.Whodundid.core.util.EUtil;
import com.Whodundid.core.util.chatUtil.EChatUtil;
import com.Whodundid.core.util.guiUtil.GuiOpener;
import com.Wh... | true |
de7e6d12bebf842f65e86810fd6c44a172e4f3d6 | Java | AntonKomarov/ESystem | /src/by/epamtc/komarov/matrix/multiplication/MatrixMultiplication.java | UTF-8 | 887 | 3.15625 | 3 | [] | no_license | package by.epamtc.komarov.matrix.multiplication;
import by.epamtc.komarov.matrix.print.PrintMatrix;
public class MatrixMultiplication {
public static void main(String[] args) {
int size = 3;
int[][] firstMatrix = new int[][]
{
{1,2},
... | true |
0a8e80180e87fcdeb50578a6d3387fe1dde03fa0 | Java | alexpeptan/ToDoApp | /src/main/java/com/example/presentation/TaskEndpoint.java | UTF-8 | 5,555 | 2.265625 | 2 | [] | no_license | package com.example.presentation;
import com.example.*;
import com.example.domain.Task;
import com.example.domain.User;
import com.example.domain.vo.TaskVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
impor... | true |
33481de9cec598618429abc102b4e18dbb6596d6 | Java | krdyial/mvn_01 | /mvn_01/src/main/java/com/firstmaven01/RadioButtonExercise.java | UTF-8 | 2,188 | 2.578125 | 3 | [] | no_license | package com.firstmaven01;
import java.util.concurrent.TimeUnit;
import org.junit.Assert;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.edge.EdgeDriv... | true |
86fd60357c7725b9927b94ef1c4861b7e0d06e25 | Java | nwlongnecker/MutationTestingDSL | /src/mut/mutator/MutationRunner.java | UTF-8 | 10,409 | 2.546875 | 3 | [] | no_license | package mut.mutator;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.PrintStream;
import java.util.Collection;
import java.util.HashSet;
import javax.tools.Diagnostic;
import javax.tools.DiagnosticCollector;
import javax.tools.JavaCompiler;
import javax.tools.Java... | true |
babb5ba62f35ca9bb400915f264eb9c82dfd785b | Java | denis554/drools | /drools-core/src/test/java/org/drools/core/util/RBTreeTest.java | UTF-8 | 9,135 | 2.296875 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... | true |
ccbbc5f1bded9f98c05a26ad1111dd93b7f4c0ce | Java | keeperlibofan/oapi-sdk-java | /larksuite-oapi/src/main/java/com/larksuite/oapi/service/calendar/v4/model/FreebusyListResult.java | UTF-8 | 453 | 1.765625 | 2 | [
"Apache-2.0"
] | permissive | // Code generated by lark suite oapi sdk gen
package com.larksuite.oapi.service.calendar.v4.model;
import com.google.gson.annotations.SerializedName;
public class FreebusyListResult {
@SerializedName("freebusy_list")
private Freebusy[] freebusyList;
public Freebusy[] getFreebusyList() {
return thi... | true |
2418e32a0ffef6f9c2455c830dfb502e9073476e | Java | MasashiSuyama/MyWebSite | /Project/src/dao/ItemDAO.java | UTF-8 | 14,109 | 2.96875 | 3 | [] | no_license | package dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import base.DBManager;
import beans.ItemDataBeans;
public class ItemDAO {
/**
* idが一致する商品情報を削除する
*/
public void de... | true |
6f07eb4f4148d323b393d83680dc91d6e40973e0 | Java | vikinger/de.app.hskafeteria | /HsKafeteria/src/de/app/hskafeteria/httpclient/domain/AktionenList.java | UTF-8 | 1,030 | 2.40625 | 2 | [] | no_license | package de.app.hskafeteria.httpclient.domain;
import java.util.ArrayList;
import java.util.List;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;
@Root(name="aktionenlist")
public class AktionenList {
@ElementList(inline=true)
private ArrayList<Aktion> aktionenList;
... | true |
b20c1d1048f8acfedae12b221febd042d57ae386 | Java | shonachen/PPPanda2 | /app/src/main/java/com/pppanda/adapter/HomeListInfoAdapter.java | UTF-8 | 3,029 | 2.390625 | 2 | [] | no_license | package com.pppanda.adapter;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.RelativeLayout;
imp... | true |
72bcb8adedf58a675ebce8b7653ce7e20b2f0808 | Java | imbichitra/ShowAllProjectOnGit | /app/src/main/java/com/bichi/showallprojectongit/view/UserFragment.java | UTF-8 | 3,941 | 1.992188 | 2 | [] | no_license | package com.bichi.showallprojectongit.view;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.databinding.DataBindingUtil;
import androidx.fragment.app.Fragment;
import androidx.lifecycle.Observer;
import androidx.lifecycle.ViewModelProvider;
... | true |
1cd693beda5e68a72dcdb37acf8043952409b11a | Java | rinaykumar/Store-Project | /backend/src/main/java/DAO/ItemsDAO.java | UTF-8 | 2,993 | 2.75 | 3 | [] | no_license | package DAO;
import DTO.AddItemDTO;
import DTO.ItemsListDTO;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.mongodb.MongoClient;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoDatabase;
import org.bson.Document;
import java.util.ArrayList;
import java.util.List;
... | true |
dda67bc1a57bd17edf2888e3061019698debd43b | Java | yoosername/jira-audit-demo | /src/main/java/example/app/events/AllEventsListener.java | UTF-8 | 14,037 | 1.914063 | 2 | [] | no_license | package example.app.events;
import java.util.Date;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.servlet.http.HttpServletRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewor... | true |
b7c26c2df461845a15ba3161a7bb1560c7d58600 | Java | shihongwei/pergesa | /pergesa-msg/pergesa-kafka/src/main/java/com/arto/kafka/consumer/strategy/KafkaConsumerStrategyFactory.java | UTF-8 | 3,173 | 2.59375 | 3 | [] | no_license | /**
* 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 not us... | true |
d5e432c3d7282542e135e5573ebf585994248d78 | Java | DrParadox7/forgottenRelicsDeobfuscated | /com/integral/forgottenrelics/packets/TelekinesisUseMessage.java | UTF-8 | 1,718 | 1.820313 | 2 | [] | no_license | /* */ package com.integral.forgottenrelics.packets;
/* */
/* */ import com.integral.forgottenrelics.Main;
/* */ import cpw.mods.fml.common.network.simpleimpl.IMessage;
/* */ import cpw.mods.fml.common.network.simpleimpl.IMessageHandler;
/* */ import cpw.mods.fml.common.network.simpleimpl.MessageConte... | true |
a2d4d733a6285c0f734e1113a9f49e5a3c1e3c90 | Java | setzamora/mars-rover | /src/main/java/au/com/buenosystems/marsrover/view/TerrainView.java | UTF-8 | 443 | 2.453125 | 2 | [] | no_license | package au.com.buenosystems.marsrover.view;
import au.com.buenosystems.marsrover.rover.Rover;
import au.com.buenosystems.marsrover.terrain.Terrain;
public abstract class TerrainView {
protected Rover rover;
protected Terrain terrain;
public void setRover(Rover rover) {
this.rover = rover;
}
... | true |
70dd9d2582ca540655d8f36a74123d4a8dd547c2 | Java | saracelik/LiterarnoUdruzenje-1 | /kp/paypal-ms/src/main/java/com/example/paypalms/controller/SubscriptionController.java | UTF-8 | 5,717 | 2 | 2 | [] | no_license | package com.example.paypalms.controller;
import com.example.paypalms.domain.Subscription;
import com.example.paypalms.domain.SubscriptionPlan;
import com.example.paypalms.domain.Transaction;
import com.example.paypalms.dto.SubscriptionDto;
import com.example.paypalms.dto.SubscriptionPlanDto;
import com.example.paypalm... | true |
78ec642f53dbdbb72e58ead915e48ed7abcd998b | Java | ezhov-da/quick-notes-web-app | /src/main/java/ru/ezhov/db/CookieUserCheck.java | UTF-8 | 1,336 | 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 ru.ezhov.db;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLExce... | true |
ea7fd6348206caf316770851f447d97d828368e4 | Java | lakecenter/intsmaze-1 | /intsmaze-z-core/src/main/java/com/intsmaze/spring/aop/SpringTest5.java | UTF-8 | 822 | 2.125 | 2 | [] | no_license | package com.intsmaze.spring.aop;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.ju... | true |
de6d6dc9c79c831a1f630cbfdd899ce634c1bbd3 | Java | feiyuu/Theme-Pack | /src/main/java/com/xyf/common/util/R.java | UTF-8 | 961 | 2.421875 | 2 | [] | no_license | package com.xyf.common.util;
import javafx.scene.image.Image;
import javax.annotation.Nonnull;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
public class R {
public static URL getLayout(@Nonnull String name) {
return R.c... | true |
818bc4f0959c1f8675a7ffa8b3ab4a84eafc2a54 | Java | conorgilmer/radiolog | /java/RadioLogSwing/com/webwayz/Config.java | UTF-8 | 3,047 | 2.78125 | 3 | [] | no_license | /**
* @author $Author: Conor Gilmer $
* @version $Revision: 1 $
*
* Generic Config file recycled
* Could read from file, use Properties or Resource Bundles
* or set statically here
*/
import java.util.*;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
public... | true |
657ae25ec59a65ab3f91df3ddaee616145f9dc48 | Java | vijaygk2016/WebServices_Framework_UsingRestAssured | /src/test/java/com/projectName/testscripts/TC_001.java | UTF-8 | 1,424 | 1.953125 | 2 | [] | no_license | package com.projectName.testscripts;
import org.testng.annotations.Test;
import com.projectName.utills.EndpointURL;
import com.projectName.utills.URL;
import com.projectName.webservices.methods.Webservices;
import io.restassured.response.Response;
public class TC_001 {
Response response;
@Test
public void ve... | true |
47f34b2d295c2d22688c3e3bf509e7240a1355a9 | Java | cpijavagroup2/SMS2 | /src/com/dao/UserDao.java | UTF-8 | 571 | 1.75 | 2 | [] | no_license | package com.dao;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;
import com.entity.Users;
public interface UserDao {
public String searchUser(Map<String, Object> params) throws SQLException;
void addUser(Map<String, Object> params) throws SQLException;
void updateUser(Map<... | true |
25531149133af49d1dd5e53f72b0507a2db743cf | Java | prashdeep/edureka-module7-servlets | /src/main/java/com/edureka/service/serverside/ProcessingServlet.java | UTF-8 | 683 | 2.203125 | 2 | [] | no_license | package com.edureka.service.serverside;
import javax.servlet.http.*;
import java.io.IOException;
import java.io.PrintWriter;
public class ProcessingServlet extends HttpServlet {
public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException {
PrintWriter writer = response.... | true |
aca9a2bf56387893c09f61e53184a6517ba6e284 | Java | MilanSarac/ProjekatWEB | /src/logic/ApartmanLogic.java | UTF-8 | 9,119 | 2.25 | 2 | [] | no_license | package logic;
import java.io.IOException;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import data.AmenitiesRepository;
import data.ApartmentRepositor... | true |
29b931e40a5dfc8949f6e108c71160838e56a8cd | Java | NikitaKharitonov/ESAPracticalWork2 | /src/main/java/org/example/esapracticalwork2/model/Group.java | UTF-8 | 1,355 | 2.5625 | 3 | [] | no_license | package org.example.esapracticalwork2.model;
import javax.persistence.*;
import java.util.HashSet;
import java.util.Set;
@Entity
@Table(name = "_group")
public class Group {
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "sequenceGenerator")
@SequenceGenerator(name = "sequenceGenera... | true |
492959f4118a32baa2ec7f9ce3f332995697838d | Java | AadityaDev/Tracker | /app/src/main/java/com/skybee/tracker/receiver/PeriodicTaskReceiver.java | UTF-8 | 4,766 | 1.898438 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | package com.skybee.tracker.receiver;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.location.Location;
import android.os.SystemClock;
import android.support.annotation.NonNull;
im... | true |
bc3d6476826d2a0e38ce539ce53aa3824a89f055 | Java | Yamidor/BackendColegio | /src/main/java/com/example/colegio/dto/EnrollmentDto.java | UTF-8 | 467 | 1.914063 | 2 | [] | no_license | package com.example.colegio.dto;
import com.example.colegio.model.Course;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import java.util.List;
@Getter
@Setter
@Data
@NoArgsConstructor
public class EnrollmentDto {
public static final String _IDENTIFICATION= "stud... | true |
331211f4253b883d708f0c6b2711c102438992c0 | Java | ahibiv60/Databases_lab4 | /DB_lab4/src/main/java/com/rak/passive/controller/area/AreaImpl.java | UTF-8 | 5,310 | 2.609375 | 3 | [] | no_license | package com.rak.passive.controller.area;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import java.sql.*;
public class AreaImpl implements Area {
private static final String DATABASE = "irrigation_system";
private static final String USERNAME = "iotuser";
private static final Strin... | true |
8492a8c2d545904ce11b1a033ebd9afae6b0c58f | Java | chengtech/Application1 | /道路养护/src/main/java/com/chengtech/chengtechmt/activity/integratequery/routequery/RouteQueryActivity.java | UTF-8 | 4,250 | 1.96875 | 2 | [] | no_license | package com.chengtech.chengtechmt.activity.integratequery.routequery;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.TabLayout;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPager;
import c... | true |
30164de5ab3903d38f2614edc8ccaf716e9685b6 | Java | wahrwolf/Aufgaben-SE2-Block-1 | /04/Mediathek_Vorlage_Blatt04-05/Mediathek_Vorlage_Blatt04-05/src/mediathek/medien/AbstractVideospiel.java | UTF-8 | 1,675 | 3.046875 | 3 | [] | no_license | package mediathek.medien;
import mediathek.fachwerte.Geldbetrag;
/**
* {@link AbstractVideospiel} ist ein {@link Medium} mit einer zusätzlichen
* Informationen zum kompatiblen System.
*
* @author SE2-Team
* @version SoSe 2012
*/
public abstract class AbstractVideospiel extends AbstractMedium {
/**
* Das Sy... | true |
0e154c01c19ab944b4ea1ca3c5c3f9349dbbedf6 | Java | Garrit/java-common | /src/main/java/org/garrit/common/messages/Execution.java | UTF-8 | 615 | 2.234375 | 2 | [] | no_license | package org.garrit.common.messages;
import java.util.ArrayList;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* A submission which has passed through execution.
*
* @author Samuel Coleman <samuel@seenet.ca>
* @since 1.0.0
*/
@Data
@EqualsAndHashCode(callSuper = true)
public cla... | true |
6a76ed7e3c8cc1c1f11e14986492e941d1e654d6 | Java | Skwardlow/AppointmentSystem | /src/main/java/ru/eltex/project/simpleappointer/controllers/AdminController.java | UTF-8 | 4,044 | 2.421875 | 2 | [] | no_license | package ru.eltex.project.simpleappointer.controllers;
import com.fasterxml.jackson.core.JsonProcessingException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.co... | true |
f8a10b06b03a3855c07b3ffb8e75c3e1e13cd82c | Java | Topology/ALM-Compiler | /src/main/java/edu/ttu/krlab/alm/datastruct/sig/IntegerRangeSortEntry.java | UTF-8 | 733 | 2.34375 | 2 | [
"Apache-2.0"
] | permissive | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package edu.ttu.krlab.alm.datastruct.sig;
import edu.ttu.krlab.alm.datastruct.Location;
/**
*
* @author Topology
*/
p... | true |
ab4bd2168f9a74ece86ceb93bab6f9406fe00bb0 | Java | 20162430413/agile | /agile/src/main/java/com/order/mapper/EmployeeMapper.java | UTF-8 | 616 | 2.046875 | 2 | [] | no_license | package com.order.mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import com.order.entity.Employee;
@Repository
public interface EmployeeMapper {
int deleteByPrimaryKey(Integer employeeId);
int insert(Employee record);
int insertSelecti... | true |
531be9c9a404f3e4fbdca0ab8289386b58705c87 | Java | ognelis/compiler-language | /gen/MyLangParser.java | UTF-8 | 40,354 | 1.695313 | 2 | [] | no_license | // Generated from C:/Users/Admin/IdeaProjects/language/src\MyLang.g4 by ANTLR 4.5.1
import org.antlr.v4.runtime.atn.*;
import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.misc.*;
import org.antlr.v4.runtime.tree.*;
import java.util.List;
import java.util.Iterator;
import java... | true |
17bb005e88c5e6b5f16d294c00aca3772025d912 | Java | llkey221/javaweb | /springstudy/src/com/study/jdbc/TestJdbc.java | UTF-8 | 584 | 1.929688 | 2 | [
"MIT"
] | permissive | package com.study.jdbc;
import java.util.Scanner;
public class TestJdbc {
public static void main(String[] args) {
// JdbcCRUDStatement.Insert();
//
// JdbcCRUDStatement.Query();
//
// JdbcCRUDStatement.Update();
//
// JdbcCRUDStatement.Query();
//
// JdbcCRUDStatement.Delete();
// JdbcCURDByPr... | true |
33f4dd87319319f865ea7f06cf21b3227df2fa13 | Java | dxysun/mini-server | /src/main/java/com/mini10/miniserver/model/ConditionTag.java | UTF-8 | 2,311 | 2.3125 | 2 | [] | no_license | package com.mini10.miniserver.model;
import java.util.Date;
import javax.persistence.*;
@Table(name = "condition_tag")
public class ConditionTag {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
private String openId;
/**
* 自身标签名称
*/
@Column(name = "cond... | true |
53b2d5d8b0d76c8cbfd7ce206274332ce0bc8517 | Java | jagssonawane/nmonvisualizer | /src/com/ibm/nmon/parser/gc/GCParserContext.java | UTF-8 | 6,596 | 2.15625 | 2 | [
"Apache-2.0",
"MIT",
"CC-BY-2.5",
"LGPL-2.0-or-later"
] | permissive | package com.ibm.nmon.parser.gc;
import java.util.Map;
import java.util.TimeZone;
import org.slf4j.Logger;
import com.ibm.nmon.data.BasicDataSet;
import com.ibm.nmon.data.DataRecord;
import com.ibm.nmon.data.DataType;
import com.ibm.nmon.data.SubDataType;
import com.ibm.nmon.parser.util.XMLParserHelper... | true |
ee3f0eb7f1c6ceab195e84ce9b13b7da0cc0501c | Java | ytadavarthi/codeforgood-team6 | /gardN-android/app/src/main/java/gardn/codeforgood/com/gardn_android/helper/HttpsCertAuth.java | UTF-8 | 4,642 | 2.25 | 2 | [] | no_license | package gardn.codeforgood.com.gardn_android.helper;
import android.content.Context;
import com.loopj.android.http.MySSLSocketFactory;
import org.apache.http.HttpVersion;
import org.apache.http.conn.ClientConnectionManager;
import org.apache.http.conn.scheme.Scheme;
import org.apache.http.conn.scheme.SchemeRegistry;
... | true |
520b74b70d587e214ab639382f7ddac2db11a88a | Java | yangbin-dl/logistics | /mf-item/mf-item-interface/src/main/java/com/mallfe/item/pojo/Pl.java | UTF-8 | 216 | 1.5 | 2 | [] | no_license | package com.mallfe.item.pojo;
import lombok.Data;
/**
* 描述
*
* @author yangbin
* @since 2019-08-13
*/
@Data
public class Pl {
private String plbm;
private String plmc;
private Integer level;
}
| true |
b25b4e8b5cbe147c98892757e4eda236135e1550 | Java | zjlasisi/yun | /src/main/java/com/technology/yun/controller/UserController.java | UTF-8 | 860 | 1.984375 | 2 | [] | no_license | package com.technology.yun.controller;
import com.technology.yun.db.model.User;
import com.technology.yun.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
impor... | true |
b77e8869b94762a73e65e601233199b76d50233d | Java | skye66/graduation | /src/main/java/com/gdut/graduation/dao/OrderItemMapper.java | UTF-8 | 1,811 | 1.984375 | 2 | [] | no_license | package com.gdut.graduation.dao;
import com.gdut.graduation.pojo.OrderItem;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface OrderItemMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table graduation_order_item
... | true |
6f487787b6082815e792fcac368275dc8ceaaf0f | Java | 710330668/MoreCharge | /app/src/main/java/com/example/hdd/morecharge/release/main/ui/activity/SearchAddressActivity.java | UTF-8 | 623 | 1.703125 | 2 | [] | no_license | package com.example.hdd.morecharge.release.main.ui.activity;
import android.content.Context;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.example.hdd.common.BaseActivity;
import com.example.hdd.morecharge.R;
public class SearchAddressActivity extends BaseActivity {
@Ove... | true |
d3fc5b6e9a2150146ab99e93820aa4e80e26f3a9 | Java | Bekir-gy/arizatespit | /src/arizatespit/onarimbildir.java | UTF-8 | 574 | 1.898438 | 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 arizatespit;
/**
*
* @author Acer
*/
class onarimbildir extends onarim{
/*public static void main(String[... | true |
a18f795e5c660669c7b2ae67026d2eb70383ff3a | Java | TaiwoOso/SimpleLeague | /app/src/main/java/com/example/simpleleague/fragments/CreateFragment.java | UTF-8 | 2,135 | 2.234375 | 2 | [] | no_license | package com.example.simpleleague.fragments;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManage... | true |
2fadd25fb1f0c04f2d26741effa9c40260d21eff | Java | dewey00/RedRidingHood | /app/src/main/java/linhao/redridinghood/presenter/contract/NewsData.java | UTF-8 | 180 | 1.679688 | 2 | [] | no_license | package linhao.redridinghood.presenter.contract;
/**
* Created by linhao on 2016/9/3.
*/
public interface NewsData {
void getNewData();
void pageLoadMore(int page);
}
| true |
01d585ad1fe885397b6edcda16c5f1f477ba78e6 | Java | Zwiterrion/solitaire | /src/Projet/Pion/PionRectangulaire.java | UTF-8 | 797 | 2.984375 | 3 | [] | no_license | package Projet.Pion;
import Projet.Fenetre.FenetreGrille;
import java.awt.*;
import java.awt.geom.Ellipse2D;
import java.awt.geom.Rectangle2D;
public class PionRectangulaire extends PionBicolore {
public PionRectangulaire(FenetreGrille fenetreGrille, int posX, int posY) {
super(fenetreGrille, posX, posY... | true |
c78c0266817eabbcd92df09380a8bcd0f0a1cbb6 | Java | parkjaewon1/JavaClass | /JavaClass/src/ch03/If02.java | UHC | 441 | 3.390625 | 3 | [] | no_license | package ch03;
public class If02 {
public static void main(String[] args) {
//int i1 = 10 ;
//int i1 = Integer.parseInt(args[0]); ڸ ٲٴ°.
int i1 = Integer.parseInt(args[0]);
if(i1>0) {
System.out.println("Դϴ.");
System.out.println("ڴ"+i1+"Դϴ.");
}
else {
System.out.println("Դϴ.");
System.out.p... | true |
9490e05017f571201a70bcc060292d0840a0c6ca | Java | cckmit/azz-porject | /azz-client-parent/azz-client-web/src/main/java/com/azz/controller/PermissionController.java | UTF-8 | 3,276 | 1.734375 | 2 | [] | no_license | /*******************************************************************************
* Project Key : CPPII
* Create on 2018年10月15日 下午3:05:46
* Copyright (c) 2018. 爱智造.
* 注意:本内容仅限于爱智造内部传阅,禁止外泄以及用于其他的商业目的
******************************************************************************/
package com.azz.controller;
import... | true |
9d40cece567bd8b835b2390b2190dc53d51f6253 | Java | lemuelhmgs/nd035-c3-data-stores-and-persistence-project-starter-master | /starter/critter/src/main/java/com/udacity/jdnd/course3/critter/service/ScheduleService.java | UTF-8 | 1,454 | 2.203125 | 2 | [
"MIT"
] | permissive | package com.udacity.jdnd.course3.critter.service;
import com.udacity.jdnd.course3.critter.entity.Schedule;
import com.udacity.jdnd.course3.critter.repository.CustomerRepository;
import com.udacity.jdnd.course3.critter.repository.EmployeeRepository;
import com.udacity.jdnd.course3.critter.repository.PetRepository;
impo... | true |
9510a4e9ceebd72ad644d9840339ca2ac95b891a | Java | verooonnika/MainTask2 | /src/by/epam/javatraining/veronikakhlopava/maintask02/model/entity/RootVegetable.java | UTF-8 | 426 | 2.46875 | 2 | [] | no_license | package by.epam.javatraining.veronikakhlopava.maintask02.model.entity;
public class RootVegetable extends Vegetable {
private static final String TYPE_OF_VEGETABLE = "Root Vegetable";
public RootVegetable() {
setType(TYPE_OF_VEGETABLE);
}
public RootVegetable(double caloriesPerHund... | true |
2b9ab534689098cffe977c7923738cf7f0593474 | Java | SurfGitHub/BLIZZARD-Replication-Package-ESEC-FSE2018 | /Corpus/eclipse.jdt.debug/125.java | UTF-8 | 117,617 | 2.203125 | 2 | [
"MIT"
] | permissive | /*******************************************************************************
* Copyright (c) 2002, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution... | true |
2af7ef981db9733a660c1c968bb7d1125d61a60c | Java | shreekulkarni/conglomerate-public | /server/src/test/java/com/conglomerate/dev/integration/users/TestLinkGoogle.java | UTF-8 | 908 | 2.078125 | 2 | [] | no_license | package com.conglomerate.dev.integration.users;
import com.conglomerate.dev.integration.TestingUtils;
import org.junit.Test;
public class TestLinkGoogle {
@Test
public void linkGoogleSuccess() throws Exception {
// CREATE USER AND LOGIN
String authToken = TestingUtils.createUserAndLoginSucces... | true |
3db6ad97605e6826a492696cdb9c2fd439e30078 | Java | sadia123-del/test | /src/main/java/com/crud/demo/Domain/Course.java | UTF-8 | 1,195 | 2.53125 | 3 | [] | no_license | package com.crud.demo.Domain;
import com.fasterxml.jackson.annotation.JsonBackReference;
import javax.persistence.*;
@Entity
public class Course {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private int courseId;
private int course_code;
private String course_title;
@ManyToOne
@Js... | true |
a249c973a726be340a49446c79dd1d0705d8ba52 | Java | KansaraDarshan/IBM_JAVA_FSD_REPO | /Spider/src/com/ibm/streaming/Subscription.java | UTF-8 | 1,277 | 2.84375 | 3 | [] | no_license | package com.ibm.streaming;
import java.time.LocalDate;
import java.time.temporal.ChronoUnit;
public class Subscription {
private User user;
private String plan;
private LocalDate expiry;
private static final int MONTHLY=100;
private static final int YEARLY=1000;
public Subscription() {
// TODO A... | true |
a8ee509bcfc9d7b35163640fc5218c0278799930 | Java | Meeelz/KomeijiMod | /java/Thmod/Cards/DeriveCards/WeatherTest.java | UTF-8 | 2,567 | 1.6875 | 2 | [] | no_license | package Thmod.Cards.DeriveCards;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.math.MathUtils;
import com.megacrit.cardcrawl.actions.AbstractGameAction;
import com.megacrit.cardcrawl.actions.common.ApplyPowerAction;
import com.megacrit.cardcrawl.cards.AbstractCard;
import com.megacrit.cardcrawl.cards... | true |
aaf32f93269469719ab71ad816992a05e9d9f88e | Java | aliyun/aliyun-openapi-java-sdk | /aliyun-java-sdk-sas/src/main/java/com/aliyuncs/sas/transform/v20181203/DescribeStrategyExecDetailResponseUnmarshaller.java | UTF-8 | 3,008 | 1.757813 | 2 | [
"Apache-2.0"
] | permissive | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | true |
c762398e8b9bf9b4d7250b01b7b5d17b33fc3a64 | Java | jxxchallenger/SpringMVCTutorial | /src/main/java/app02a/controller/SaveProductController.java | UTF-8 | 1,176 | 2.53125 | 3 | [] | no_license | package app02a.controller;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import app02a.domain.Product;
import app02a.form.ProductForm;
import app02a.validator.ProductValidator;
public class SaveProductController implements Controller {
@Overrid... | true |
f8335d4a31208516141003d6296859629a7ce0b8 | Java | Rey86/Proyecto_Bases_2 | /HouseOfTrade/src/front_end/ListGender.java | UTF-8 | 9,279 | 2.46875 | 2 | [] | no_license | package front_end;
import java.sql.ResultSet;
import java.sql.SQLException;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
public class ListGender extends javax.swing.JDialog {
public ListGender(java.awt.Frame parent, boolean modal) {
super(parent, modal);
initCompone... | true |
bf437f44b3274cfc55551146feb939f0d43a87a1 | Java | 40779948/Hackathon | /doc-samples/src/main/java/com/google/cloud/doc_samples/AsyncVoiceRecorder.java | UTF-8 | 4,206 | 2.15625 | 2 | [] | no_license | package com.google.cloud.doc_samples;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;
import java.util.concurrent.ExecutionException;
import javax.sound.sampled.AudioFileFormat;
import javax.sound.sampled.AudioF... | true |
f1df10d3355ac2bf76cebef5692f983a6e629f59 | Java | OtabekRustamov/eWallet | /app/src/main/java/com/example/root/ewallet/app/paynow/presenter/PayNowPresenterIml.java | UTF-8 | 3,543 | 1.914063 | 2 | [] | no_license | package com.example.root.ewallet.app.paynow.presenter;
import android.content.Context;
import android.util.Log;
import android.widget.Toast;
import com.example.root.ewallet.app.paynow.PayNowFragment;
import com.example.root.ewallet.app.paynow.model.CreatePay_Respose;
import com.example.root.ewallet.app.paynow.model.M... | true |
345d039c7f83ee9c3607a1afc47ead1fbfdb824b | Java | heqiyoujing/vertxExample | /src/main/java/io/example/mainVerticle/FirstMain.java | UTF-8 | 2,977 | 2.578125 | 3 | [] | no_license | package io.example.mainVerticle;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.Vertx;
import io.vertx.core.VertxOptions;
import io.vertx.core.http.HttpMethod;
import io.vertx.core.http.HttpServer;
import io.vertx.core.http.HttpServerResponse;
import io.vertx.core.logging.Logger;
import io.vertx.... | true |
287d4c6af1ee842c95e3f81525f60791637220d5 | Java | vilinian/gamedemo | /src/test/java/com/example/gamedemo/npc/NpcTest.java | UTF-8 | 671 | 1.804688 | 2 | [] | no_license | package com.example.gamedemo.npc;
import com.example.gamedemo.common.resource.ResourceManager;
import com.example.gamedemo.server.game.npc.resource.NpcResource;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.j... | true |
c6c34fb45ee84af61d8def55dc7ebe4fb1916fb6 | Java | Ivanov911/academy | /academy/src/Classwork16/NewThread.java | UTF-8 | 296 | 2.828125 | 3 | [] | no_license | package Classwork16;
public class NewThread extends Thread {
public void run() {
try {
sleep(1000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
for (int x = 1; x <= 100; x++) {
System.out.println(x);
}
}
}
| true |
723b3a465f78a5177d21f9eaf7378e7c540cbe35 | Java | anellocorp/Zolkin-Android-Google-Places | /zolkin/src/main/java/com/imd/zolkin/activity/FilterActivity.java | UTF-8 | 3,806 | 2.234375 | 2 | [] | no_license | package com.imd.zolkin.activity;
//Tela de filtro de subcategorias
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.TextView;
import com.imd.zolkin.adapter.FilterAdapter;
import com.imd... | true |
b5d526480e58a4e9daf1ba97500b9b78de231296 | Java | kpoorvibhat/PracticeExercise5_Java | /src/test/java/com/stackroute/MainTest.java | UTF-8 | 1,767 | 2.859375 | 3 | [] | no_license | package com.stackroute;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
import static junit.framework.TestCase.assertEquals;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.*;
public class MainTest {
... | true |
0289d40c03b9fc3b249f35f9e894902b6f0922e7 | Java | RendhikaAditya/sayur | /app/src/main/java/com/example/sayur/activity/AlamatAdd.java | UTF-8 | 8,130 | 1.945313 | 2 | [] | no_license | package com.example.sayur.activity;
import androidx.appcompat.app.AppCompatActivity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget... | true |
53475bee5a8579d1f1ec497de4bd6b6e3970b055 | Java | AkankGit123/basic | /ConcatenateStr.java | UTF-8 | 296 | 2.9375 | 3 | [] | no_license | package com.rays.basic;
public class ConcatenateStr {
public static void main(String[] args) {
String fname = "Vijay";
String lname = "Chohan";
System.out.println(fname + " " + lname);
// String concatedName =fname.concat(" "+ lname);
//System.out.println(concatedName);
}
}
| true |