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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
903a99a7f646e4f0b953d1da92f2a79a5bff81cd | Java | jzoom/zoom | /zoom-common/src/main/java/com/jzoom/zoom/common/res/ClassResolver.java | UTF-8 | 2,059 | 2.734375 | 3 | [
"Apache-2.0"
] | permissive | package com.jzoom.zoom.common.res;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jzoom.zoom.common.Clearable;
import org.jzoom.zoom.common.Destroyable;
import com.jzoom.zoom.common.filter.Filter;
/**
... | true |
aba7077815784805448ae7522e4eefc59fa4eea3 | Java | danielogen/msc_research | /selected projects/mobile/Telegram-v6.1.1/TMessagesProj/src/main/java/org/telegram/messenger/voip/JNIUtilities.java | UTF-8 | 4,055 | 1.992188 | 2 | [
"MIT"
] | permissive | package org.telegram.messenger.voip;
import android.annotation.TargetApi;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.LinkAddress;
import android.net.LinkProperties;
import android.net.Network;
import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager;
import ... | true |
833cb42acdfcad6212c66006d65cf82ce377ea81 | Java | SwatiJP29/New_JEE | /JPAHibernate/JPM_Banking_Assignment/src/com/jpm/banking/entities/CurrentAccount.java | UTF-8 | 580 | 2.15625 | 2 | [] | no_license | package com.jpm.banking.entities;
import java.util.Set;
import javax.persistence.Entity;
import javax.persistence.Table;
@Entity
@Table(name="CURRENT_ACC")
public class CurrentAccount extends Account {
private Long overDraftLimit;
public CurrentAccount() {
// TODO Auto-generated constructor stub
}
publi... | true |
eac399e3a40bf471ad56bf5e77e03d389d7054f0 | Java | BeyondPerception/SherlineClientController | /src/test/java/processTest.java | UTF-8 | 415 | 2.78125 | 3 | [] | no_license | import java.io.IOException;
public class processTest {
public static void main(String[] args) throws IOException, InterruptedException {
Process linuxCNC = new ProcessBuilder("/usr/bin/nc", "-k", "-l", "5007").start();
Thread.sleep(5000);
linuxCNC.destroy();
while (linuxCNC.isAlive()) {
linuxCNC.destroy();... | true |
dd61a7f61543cc6d097c58106e2b117372db6c6f | Java | allenly3/MagicWorld | /core/src/com/somoplay/magicworld/Sprite/Bullet.java | UTF-8 | 3,140 | 2.5 | 2 | [] | no_license | package com.somoplay.magicworld.Sprite;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.physics.box2d.Body;
import c... | true |
9fcccdce6bddb1b52eb079be39f203abf9274c4c | Java | Visualtaggy/Minimalist-TicTacToe-Android | /app/src/main/java/com/example/minimalisttic_tac_toe/MainActivity.java | UTF-8 | 3,286 | 2.625 | 3 | [] | no_license | package com.example.minimalisttic_tac_toe;
import androidx.appcompat.app.AppCompatActivity;
import android.app.Activity;
import android.content.Intent;
import android.media.Image;
import android.os.Bundle;
import android.view.View;
import android.widget.GridLayout;
import android.widget.ImageView;
import android.widg... | true |
50d17b07f370c91fe7b2736a9abad2f7be76cea0 | Java | beanrootbaob/weiit-saas | /weiit-saas-api/src/main/java/com/weiit/web/base/ApiService.java | UTF-8 | 2,413 | 2.421875 | 2 | [
"Apache-2.0"
] | permissive | package com.weiit.web.base;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;
import com.weiit.core.entity.E;
import com.weiit.core.service.BaseService;
import com.weiit.core.service.impl.AbstractService;
import com.weiit.web.common.ApiResponseCode;
import org.slf4j.Logger;
im... | true |
a318cce3b6f4e88afc2828c12bb2ea13b25c0f6a | Java | utalo/ontologyUpdate | /OntologyUpdate/src-test/com/hp/hpl/jena/sparql/suites/TestNodeValue.java | UTF-8 | 29,016 | 2.25 | 2 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | /*
* (c) Copyright 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.sparql.suites;
import java.math.BigDecimal;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.TimeZone;
import junit.framework.Test... | true |
297a417d210c8eec386dbe13c6139e8f5f79c746 | Java | JohnTo88/Wize_L-D | /src/test/java/talentwize/Test_FunctionalAccess_ProjectManagementPermission_ProjectBoard.java | UTF-8 | 18,128 | 1.976563 | 2 | [] | no_license | package talentwize;
import java.lang.reflect.Method;
import org.openqa.selenium.WebDriver;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;
import Ulties.Proper... | true |
3e88234db876f4498c162fc3592afcd84d6e65ab | Java | TheConstructor/tbmgmt | /web/src/main/java/de/uni_muenster/cs/comsys/tbmgmt/web/model/experiment/FilteredExperimentWithLog.java | UTF-8 | 6,960 | 1.710938 | 2 | [] | no_license | package de.uni_muenster.cs.comsys.tbmgmt.web.model.experiment;
import de.uni_muenster.cs.comsys.tbmgmt.core.db.dao.experiment.result.ExperimentLogEntryDao;
import de.uni_muenster.cs.comsys.tbmgmt.core.db.dao.experiment.result.ExperimentReplicationResultDao;
import de.uni_muenster.cs.comsys.tbmgmt.core.db.entities.Gene... | true |
a5e467454f00e0b28ca0a79296a0dd3e627cb9b8 | Java | jasonbrianhall/Jaspersoft-Studio | /com.jaspersoft.studio/src/com/jaspersoft/studio/property/section/report/ReportSection.java | UTF-8 | 4,712 | 1.640625 | 2 | [] | no_license | /*******************************************************************************
* Copyright (C) 2010 - 2016. TIBCO Software Inc. All Rights Reserved. Confidential & Proprietary.
******************************************************************************/
package com.jaspersoft.studio.property.section.report;
imp... | true |
b97e22799fd69f7f06c6c559c0ef414092371b78 | Java | anukat2015/TableView | /src/edu/umn/genomics/graph/DrawableShape.java | UTF-8 | 2,309 | 2.640625 | 3 | [] | no_license | /*
* @(#) $RCSfile: DrawableO.java,v $ $Revision: 1.2 $ $Date: 2002/07/30 19:44:49 $ $Name: TableView1_2 $
*
* Center for Computational Genomics and Bioinformatics
* Academic Health Center, University of Minnesota
* Copyright (c) 2000-2002. The Regents of the University of Minnesota
*
* This program is free so... | true |
205f3ca5b54f8f872911347d407e6b1ab0a6267b | Java | CGreenup/Project2-Trivia-Bird-Backend | /src/main/java/com/revature/services/GameService.java | UTF-8 | 1,177 | 2.640625 | 3 | [] | no_license | package com.revature.services;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.revature.models.Answer;
import com.revature.models.Profile;
import com.revature.repo.ProfileDAO;
@Service
p... | true |
f80b099157d6ab14832ea6addec23c0fcad230bc | Java | ECNURunner/runner | /app/src/main/java/com/zjut/runner/util/DialogUtil.java | UTF-8 | 1,979 | 2.28125 | 2 | [] | no_license | package com.zjut.runner.util;
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.Button;
import android.widget.TextView;
import com.zjut.runner.R;
import com.zjut.runner.wid... | true |
d45cb19fe3734d17731ae00fac1803a7e40b5485 | Java | gulaftab/DeckardDockerised | /era_bcb_sample/6/selected/402336.java | UTF-8 | 5,679 | 2.515625 | 3 | [] | no_license | package org.regilo.ftp.client;
import java.io.File;
import java.io.IOException;
import java.net.SocketException;
import org.apache.commons.net.ftp.FTPClient;
import org.apache.log4j.Logger;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.jobs.J... | true |
2a92a286237bab22f95677a84c5a7ba41624c1c4 | Java | rockoddy/Week2Lab_Calculators | /src/java/Servlet/AgeCalculatorServlet.java | UTF-8 | 2,581 | 2.859375 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Servlet;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax... | true |
3fb7fcdff240157cc4f08cfb7ab9215dc6cc3ec1 | Java | Temxter/Web-excel | /src/main/java/dao/Dao.java | UTF-8 | 707 | 2.53125 | 3 | [] | no_license | package dao;
import javax.persistence.EntityManager;
import javax.persistence.EntityTransaction;
import java.util.List;
import java.util.function.Consumer;
public interface Dao<T> {
T get(int id);
List<T> getAll();
void save(T t);
void update(T t);
void delete(T t);
static void executeIn... | true |
1f0ff2043501df2a39799efe7c9e81954f5b8fe4 | Java | light-work/guiceSide | /src/org/guiceside/web/annotation/Token.java | UTF-8 | 609 | 2.015625 | 2 | [] | no_license | package org.guiceside.web.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* <p>
* Token防重复提交注解<br/>
* 显示声明在Action方法之上<br/>
* 可验证当前方法是否重复提交<br/>
* </p>
* @author zhenjia <a href='mailt... | true |
972c20258d6def791bef9896a11c59387fb8c7c4 | Java | JakubSzwedowicz/AaDS | /List_8/test/BiHeap/BiHeapTest.java | UTF-8 | 2,814 | 2.9375 | 3 | [] | no_license | package BiHeap;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
/**
* @author Jakub Szwedowicz
* @version 1.0
* date: 17.05.2021
* email: kuba.szwedowicz@gmail.com
*/
class BiHeapTest {
private BiHeap<Integer> heap;
@BeforeEach
voi... | true |
9ed8a07ff4dc3d5c1e4247a2097f6da57020a45b | Java | stickgoal/trainning-projects | /simplecrawler/src/main/java/me/maiz/trainningproject/App.java | UTF-8 | 1,404 | 2.25 | 2 | [] | no_license | package me.maiz.trainningproject;
import me.maiz.trainningproject.core.SimpleNewsCrawler;
import me.maiz.trainningproject.module.CSDNNewsAdapter;
import me.maiz.trainningproject.core.SimpleCrawler;
import me.maiz.trainningproject.module.NewsCrawlConfig;
import java.io.IOException;
/**
* Hello world!
*
*/
public c... | true |
1f42445da8104b5cbcefb0ca7bd843da0562b13b | Java | kafayat/CucumberTest | /src/com/pizza/dialog/LoginDialog.java | UTF-8 | 1,483 | 2.21875 | 2 | [] | no_license | package com.pizza.dialog;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import com.pizza.pages.BaseNavigation;
public class LoginDialog extends BaseNavigation {
By loginButton = By.cssSelector("div.v-dialog--active button[aria-label='login']");
By alertM... | true |
5e4b2a661ebc7919ce8d24006076fda65eb64e9e | Java | willigro/p_site_eleicao | /ProjetoEleicao/Testes/suiteTest/EleicaoTestSuite.java | UTF-8 | 843 | 1.570313 | 2 | [] | no_license | package suiteTest;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import controllerTest.ControllerAvaliacaoTest;
import controllerTest.ControllerProjetoTest;
import controllerTest.ControllerUsuarioTest;
import dao.classes.UsuarioDAO;
import dao.classesTest.AvaliacaoTest;
import dao.classes... | true |
acb7db467121568c1277f07fa0d0aacaa027be11 | Java | neilebliss/ChamberAnimation | /src/main/com/buildingt/ChamberAnimation.java | UTF-8 | 5,008 | 3.203125 | 3 | [] | no_license | package com.buildingt;
import com.buildingt.Container.ChamberFrame;
import com.buildingt.Particle.EmptyParticle;
import com.buildingt.Particle.LeftParticle;
import com.buildingt.Particle.BaseParticle;
import com.buildingt.Particle.RightParticle;
import com.buildingt.Particle.XParticle;
import java.util.ArrayList;
impo... | true |
fdce1c1beb2520b043b8307443cc9c123525b170 | Java | Moritz-HS/LifeCoding | /src/GUI/Spiel.java | UTF-8 | 3,000 | 2.765625 | 3 | [] | no_license | package ÜbungGUI;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JTextField;
public class Spiel extends JFrame{
private Fenster fenster;
// Spielfeld
... | true |
c42684243b8215fb889935b072e579da72283db8 | Java | StuyPulse/newbie-ed | /2021/04_oop/elaine_ye/Main.java | UTF-8 | 306 | 2.84375 | 3 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | public class Main {
public static void main(String[] args) {
Car shinyCar = new Car("Toyota");
System.out.println(shinyCar);
for (int i = 0; i < 21; i++) {
shinyCar.drive();
}
shinyCar.repair();
for (int i = 0; i < 21; i++) {
shinyCar.drive();
}
}
}
| true |
a7ca9fa0f259744b72968f983906595e97355d6a | Java | Raminbrm37/OnlineTicket_Servlet | /src/main/java/ir/maktab/dao/AbstractDao.java | UTF-8 | 895 | 2.453125 | 2 | [] | no_license | package ir.maktab.dao;
import javax.persistence.EntityManager;
import ir.maktab.model.IEntity;
public abstract class AbstractDao<E extends IEntity,T> {
protected EntityManager entityManager;
public AbstractDao(EntityManager entityManager) {
this.entityManager = entityManager;
}
public void... | true |
24e47c5aa12441aef65bc48f34c5bb30bce3bd1c | Java | rdomloge/catholicon-ms-club | /application/src/main/java/com/domloge/catholiconmsclub/ClubController.java | UTF-8 | 1,984 | 2.1875 | 2 | [
"MIT"
] | permissive | package com.domloge.catholiconmsclub;
import java.util.List;
import javax.validation.Valid;
import com.domloge.catholiconmsclublibrary.Club;
import com.mongodb.client.result.DeleteResult;
import com.mongodb.client.result.UpdateResult;
import org.reactivestreams.Publisher;
import io.micronaut.http.annotation.Body;
... | true |
f921a574ba7976ad68a06c3abf83c02416e0f559 | Java | malinGH/teach-interactive-manager | /src/main/java/com/teach/manager/teachmanager/manager/student/StudentManager.java | UTF-8 | 1,001 | 2.078125 | 2 | [] | no_license | package com.teach.manager.teachmanager.manager.student;
import com.teach.manager.teachmanager.pojo.Page;
import com.teach.manager.teachmanager.pojo.Query;
import com.teach.manager.teachmanager.pojo.vo.StudentBaseVo;
import com.teach.manager.teachmanager.pojo.vo.StudentVo;
/**
* @program: teach-interactive-manager
*... | true |
bab0fd26da3e52c48bdb38260e41afe666a108c6 | Java | aaronjazhiel/testProteux | /src/test/BsProteoxUserMails.java | UTF-8 | 3,259 | 2.015625 | 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 test;
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.Basic;
import javax.persistence.Colum... | true |
3403d834b37082c5e133981a5fa43569c6190c54 | Java | horacehylee/generator-libgdx | /generators/app/templates/sources/core/src/package/ResourceProvider.java | UTF-8 | 255 | 1.867188 | 2 | [
"MIT"
] | permissive | package <%= projectPackage %>;
import javax.inject.Inject;
import javax.inject.Singleton;
@Singleton
public class ResourceProvider {
@Inject
public ResourceProvider() {
}
public String getLogo() {
return "badlogic.jpg";
}
}
| true |
3b269036d55d786f5798911efb77dcc5157977ab | Java | yuechen-cynthia/Metro-Madness-JavaProject | /metro madness/core/src/com/unimelb/swen30006/metromadness/Simulation.java | UTF-8 | 1,676 | 2.875 | 3 | [] | no_license | package com.unimelb.swen30006.metromadness;
import java.util.ArrayList;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.unimelb.swen30006.metromadness.stations.Station;
import com.unimelb.swen30006.metromadness.tracks.Line;
import com.unimelb.swen30006.metromadness.trai... | true |
7789ffc9461ec4ca484b1e0ad3068136f4ffbedf | Java | zelenski/stanford-cpp-library | /Archived/Karel/src/stanford/karel/KarelProgram.java | UTF-8 | 11,225 | 2.640625 | 3 | [] | no_license | /*
* This file implements the KarelProgram class.
*
* @author Marty Stepp (based on Eric Roberts version)
* @version 2015/04/05
* - added "Options" menu bar for Ms. Karel mode
* @version 2015/04/01
* - improved scrollbar appearance in error dialogs
* - added "About" menu bar
* @version 2015/03/31
* - comment... | true |
d53e47f53c4ae872e6c4cd5a810625b82c938a8e | Java | etarakci-hvl/owl | /src/main/java/ch/ethz/idsc/sophus/math/Decibel.java | UTF-8 | 677 | 2.484375 | 2 | [] | no_license | // code by ob, jph
package ch.ethz.idsc.sophus.math;
import ch.ethz.idsc.tensor.RealScalar;
import ch.ethz.idsc.tensor.Scalar;
import ch.ethz.idsc.tensor.Tensor;
import ch.ethz.idsc.tensor.sca.Log;
import ch.ethz.idsc.tensor.sca.ScalarUnaryOperator;
public enum Decibel implements ScalarUnaryOperator {
FUNCTION;
/... | true |
c6d94ccd74cef712f757a63f6fb3076390373634 | Java | doncorley/kpme | /pm/impl/src/main/java/org/kuali/kpme/pm/positionreporttype/service/PositionReportTypeServiceImpl.java | UTF-8 | 2,596 | 2 | 2 | [] | no_license | /**
* Copyright 2004-2013 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless requ... | true |
680d3702bb66c957080db7dd35f7ab519e20197b | Java | lizhongze123/Convention | /business/main_module/main_hourglass/src/main/java/com/gz0101/hzwy/hourglass/contract/HourglassOrderContract.java | UTF-8 | 435 | 1.578125 | 2 | [] | no_license | package com.gz0101.hzwy.hourglass.contract;
import com.gz0101.hzwy.baselibrary.mvp.BasePresenter;
import com.gz0101.hzwy.baselibrary.mvp.BaseView;
import com.gz0101.hzwy.baselibrary.request.respone.bean.ShopListBean;
import java.util.List;
public interface HourglassOrderContract {
interface HourglassOrderView ex... | true |
1347b34de29b1489b6fe09cd71cfed5649a0bef7 | Java | MrHusm/motionManageV2 | /src/main/java/com/manage/model/Banner_App.java | UTF-8 | 4,471 | 2.09375 | 2 | [] | no_license | package com.manage.model;
import java.util.Date;
public class Banner_App {
private Integer id;
private Integer pageType;//1 应用推荐页 2每日福利页
private String name;//广告名称
private Integer type;//方式 1 直投 2 sdk
private Integer appType;//直投广告类型 1 应用推荐 2 图片
private String appName;//应用名称
... | true |
f1585cbe8ea81adfa1372bfa837ee0c0d118e18a | Java | leiqjl/leetcode | /src/com/leiqjl/SignOfTheProductOfAnArray.java | UTF-8 | 475 | 3.25 | 3 | [] | no_license | package com.leiqjl;
/**
* 1822. Sign of the Product of an Array - Easy
*/
public class SignOfTheProductOfAnArray {
//Constraints:
//
//1 <= nums.length <= 1000
//-100 <= nums[i] <= 100
public int arraySign(int[] nums) {
int result = 1;
for (int num : nums) {
if (num ==... | true |
57174abe680725b6d5907252cd6b524e9b1589fc | Java | paragon94/SESTI | /src/main/java/controller/ZapiszWydzialController.java | UTF-8 | 1,815 | 2.59375 | 3 | [] | no_license | package main.java.controller;
import javafx.scene.layout.AnchorPane;
import main.helper.AlertBox;
import main.java.model.entity.Wydzial;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.Alert;
import javafx.scene.control.TextField;
public class ZapiszWydzialController {
@... | true |
d2955fd6a1e535ae0fcfdf1fa12b07f156888ff1 | Java | azanaera/toggle-isbtf | /generated/pcftest/DesktopQueuedActivitiesLV.java | UTF-8 | 16,686 | 1.507813 | 2 | [] | no_license | package pcftest;
import gw.lang.SimplePropertyProcessing;
import gw.smoketest.platform.web.BooleanValueElement;
import gw.smoketest.platform.web.DateElement;
import gw.smoketest.platform.web.IteratorEntriesWithPaging;
import gw.smoketest.platform.web.IteratorEntryCheckboxElement;
import gw.smoketest.platform.web.Optio... | true |
21c9d0d5e09934ad09afb8bd9f479fd6398239d7 | Java | AliRifaiBedir/Android_Codes | /AndroidXMLRssReader/app/src/main/java/com/example/androidxmlrssreader/MainActivity.java | UTF-8 | 9,864 | 2.15625 | 2 | [] | no_license | package com.example.androidxmlrssreader;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.AsyncTask;
impo... | true |
3fa80f7ef35dd26dae5a9fbe47b7519cf7a60e29 | Java | headwirecom/peregrine-cms | /platform/commons/src/main/java/com/peregrine/commons/concurrent/DeBouncer.java | UTF-8 | 2,446 | 3.28125 | 3 | [
"Apache-2.0"
] | permissive | package com.peregrine.commons.concurrent;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Found at <a href=
* "https://stackoverflow.com/questions/4... | true |
1e9a33ff76d7cf8b6942e2a3ebd26a81e5bcd5b2 | Java | pechoutmatej/ALG2_codes | /zHodin/Intro_oop/src/cz/tul/alg/matpech/oop/Point.java | UTF-8 | 1,212 | 3.640625 | 4 | [] | no_license | package cz.tul.alg.matpech.oop;
public class Point {
//data
private double x;
private double y;
//constructor
public Point()
{
}
public Point(double x, double y){
this.x = x;
this.y = y;
}
//setter
public void setX(double x){
thi... | true |
84973f3b925594b66259f26774e5ec81438d158b | Java | YuejunChen/TiscketTest | /app/src/main/java/test/study/select_city/fragment/FutOrderFragment.java | UTF-8 | 1,538 | 2.109375 | 2 | [
"Apache-2.0"
] | permissive | package test.study.select_city.fragment;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ListView;
import java.util.ArrayList;
import java.util.List;
... | true |
fa94402e04515867749b4ab9b0d8b36621a2e9ba | Java | urcandenisa/Software-Programming | /BankOfAmerica/src/main/java/presentation/controller/EmployeeUpDelController.java | UTF-8 | 3,367 | 2.53125 | 3 | [] | no_license | package presentation.controller;
import businessLogic.AccountBusiness;
import model.Account;
import model.Client;
import presentation.view.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.List;
public class EmployeeUpDelController {
private EmployeeUpdateDelete employe... | true |
9356e1338b5975d509926444a747f97f2fc09fe1 | Java | vanjac/SeatingChartGenerator | /libraries/seatingchart/src/seatingchart/DrawCanvas.java | UTF-8 | 410 | 2.453125 | 2 | [] | no_license | package seatingchart;
import processing.core.*;
import controlP5.*;
import java.util.*;
public class DrawCanvas extends Canvas {
List<CDrawable> drawnObjects;
public void add(CDrawable d) {
drawnObjects.add(d);
}
public DrawCanvas() {
drawnObjects = new ArrayList<CDrawable>();
}
public vo... | true |
2dd060cfd5e375a4119657b6b267665a9f28ffce | Java | meetmmpatel/Core_java | /src/day/six/exceptions/FinallyExample.java | UTF-8 | 440 | 3.421875 | 3 | [] | no_license | package day.six.exceptions;
import java.util.Scanner;
public class FinallyExample {
static Scanner scan = new Scanner(System.in);
public static void main(String args[]) {
myMethod();
}
public static int myMethod() {
try {
//
System.exit(0);
return 112;
}
finally {
scan.close();
System.... | true |
4b941acdc90b213dfa5825ae81a21570efe2001e | Java | Slbw/tvos | /app/src/main/java/com/ifxme/tvos/mvp/ui/view/UserView.java | UTF-8 | 279 | 1.59375 | 2 | [] | no_license | package com.ifxme.tvos.mvp.ui.view;
import com.ifxme.tvos.mvp.model.User;
import java.util.List;
/**
* Created by Slbw on 2016/8/19.
*/
public interface UserView extends BaseView{
void showProgress();
void hideProgress();
void showUserList(List<User> data);
}
| true |
06d51722a5fc8d4bc619d9ab51d014e7e36c6603 | Java | Rishabh-Mehta/OA-Practice | /Codility_practice/sortMatrixByOccurrences.java | UTF-8 | 2,517 | 3.40625 | 3 | [] | no_license | package Codility_practice;
import java.util.*;
public class sortMatrixByOccurrences {
public static int[][] sortMatrixByOcc(int[][] m) {
// (number, count)
Map<Integer,Integer> map = new TreeMap<>();
HashMap<Integer,List<Integer>> diagonalMap = new HashMap<>();
Comparator<Integer> c... | true |
3fc3beb7babe422ce0b33effa6b350e8f0f39361 | Java | sap344/egyptianRatScrew | /Game_View.java | UTF-8 | 18,271 | 3.28125 | 3 | [] | no_license | /*
* Shreya Patel
* sap344@drexel.edu
* CS338:GUI, Project 3 - Egyptian Rat Screw Card Game
*/
import java.awt.*;
import java.awt.event.*;
import java.util.ArrayList;
import java.util.List;
import javax.swing.*;
import javax.swing.border.*;
public class Game_View {
private JPanel TopPanel = new JPanel();
privat... | true |
ed3c94359b0bbb819deb7203911ddacf2c6d9718 | Java | eslamengi/BigData-Cloud-Projects | /Assignment10/src/main/java/com/refactorlabs/cs378/SearcherVDPMapper.java | UTF-8 | 3,080 | 2.46875 | 2 | [] | no_license | package com.refactorlabs.cs378;
import org.apache.avro.Schema;
import org.apache.avro.mapred.AvroKey;
import org.apache.avro.mapred.AvroValue;
import org.apache.avro.mapred.Pair;
import org.apache.avro.mapreduce.AvroJob;
import org.apache.avro.mapreduce.AvroKeyInputFormat;
import org.apache.avro.mapreduce.AvroKeyOutpu... | true |
54bac7dca0f5cd90a00db0dd9594459900e4ad05 | Java | luupanu/cybersecuritybase-project | /src/main/java/sec/project/controller/Controllers.java | UTF-8 | 2,411 | 2.375 | 2 | [] | no_license | package sec.project.controller;
import java.sql.SQLException;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springfram... | true |
b2c44bab848aed9273827ae6b2768bbf51fe4d14 | Java | peloba/noa-libre-mvn | /src/main/java/ag/ion/noa/internal/text/DocumentIndexService.java | UTF-8 | 4,996 | 1.828125 | 2 | [] | no_license | /****************************************************************************
* *
* NOA (Nice Office Access) *
* ------------------------------------------------------------------------ *
* ... | true |
4704d36f8ed5abf64ac4330e0811f4b6478879ef | Java | bellmit/washington-sgge-1-0-0 | /NewAcademia/sensus-lc-interface/src/main/java/com/sensus/lc/analytics/model/response/AnalyticsResponse.java | UTF-8 | 3,144 | 2.265625 | 2 | [] | no_license | package com.sensus.lc.analytics.model.response;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.sensus.common.model.response.Response;
import com.sensus.lc.analytics.model.AnalyticsGroup;
import com.sensus.lc.analytics.model.AnalyticsGroupColumns;
import com.sensus.lc.ligh... | true |
93b3627e8f1b79f2f86a9b30836cb055b17e2db8 | Java | razvanbretoiu/jUCMNav-import-UCMs | /src/receive/ReceiveObj.java | UTF-8 | 2,192 | 2.265625 | 2 | [] | no_license | package receive;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement( name = "RECEIVEOBJ" )
public class ReceiveObj {
private int idUCMSource;
private int idUCMTarget;
private int stubSource;
private List<Star... | true |
8e5fec6488bebe8406c95b5a9b0ec04c7dce7b98 | Java | csarron/GmsWear | /shared/src/main/java/com/cscao/apps/shared/Utils.java | UTF-8 | 5,417 | 2.390625 | 2 | [
"MIT"
] | permissive | package com.cscao.apps.shared;
import android.content.Context;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Environment;
import android.os.SystemClock;
import android.support.annotation.NonNull;
import android.widget.ImageView;
import android.widget.Toast;
import com.bumptech.glide.Glide;
im... | true |
f8293ece36a2024f93e09bf750fb656ffc4141e7 | Java | naseem91/SpeechRecorderSBT | /javautils/src/main/java/ipsk/swing/table/AutoFontCellRenderer.java | UTF-8 | 3,993 | 2.625 | 3 | [] | no_license | // IPS Java Utils
// (c) Copyright 2009-2011
// Institute of Phonetics and Speech Processing,
// Ludwig-Maximilians-University, Munich, Germany
//
//
// This file is part of IPS Java Utils
//
//
// IPS Java Utils is free software: you can redistribute it and/or modify
// it under the terms of the G... | true |
68e59d6cb87c4c0a004312cf1192268b5a61004b | Java | xmprise/BongPlayer | /src/com/example/bongplayer2/fragment/FragmentStream.java | UTF-8 | 31,459 | 1.507813 | 2 | [] | no_license | package com.example.bongplayer2.fragment;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.app.Dialog;
import android.content.AsyncQueryHandler;
import android.content.ContentResolver;
import android.content.DialogInterface;
import android.content.Inte... | true |
9dde0a2ff949005ee48b6eb850ff46291714621e | Java | dan975/selenium-browser | /src/main/java/demo/projects/sut/mapping/pages/ProductQuickViewPage.java | UTF-8 | 9,924 | 2.234375 | 2 | [] | no_license | package demo.projects.sut.mapping.pages;
import demo.projects.sut.mapping.selectors.pages.base.ProductPageSelectors;
import demo.projects.sut.mapping.test.data.ProductContent;
import demo.projects.test.framework.annotations.ThreadComponent;
import demo.projects.test.framework.driver.abstraction.WebElementWrapper;
impo... | true |
a89b2dde4ef3d34b39faf26708825874a6657899 | Java | Myrninvollo/LOTR-Minecraft-Mod | /LOTR/src/main/java/lotr/client/render/entity/LOTRRenderRabbit.java | UTF-8 | 1,073 | 2.21875 | 2 | [] | no_license | package lotr.client.render.entity;
import java.util.HashMap;
import java.util.Map;
import lotr.client.model.LOTRModelRabbit;
import lotr.common.entity.animal.LOTREntityRabbit;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
im... | true |
e854c68d20835dbd2369b91faa4053dda8e35671 | Java | sachinshikhare/exchange-rates-backend-service | /src/test/java/com/example/exchangeratesservice/controller/ExchangeRatesControllerTest.java | UTF-8 | 3,714 | 2.015625 | 2 | [] | no_license | package com.example.exchangeratesservice.controller;
import static org.mockito.ArgumentMatchers.anyInt;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.Mockito.when;
import com.example.exchangeratesservice.ExchangeRatesServiceApplication;
import com.example.exchangeratesservice.TestData... | true |
6482402a192afff66a5759c1c9f0cbfd42aaff15 | Java | zhuyihao/NewIM | /newim-gateway/src/main/java/com/whosbean/newim/gateway/handler/WsConnectedHandler.java | UTF-8 | 1,620 | 2.328125 | 2 | [] | no_license | package com.whosbean.newim.gateway.handler;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelPipeline;
import io.netty.channel.SimpleChannelInboundHandler;
import io.netty.handler.codec.http.FullHttpRequest;
import io.netty.u... | true |
a7489445b0aebdb504d9d4749331244bce93c04e | Java | liwen666/component | /coding_tx/src/main/java/com/temp/common/base/excel/table/TableModel.java | UTF-8 | 2,291 | 2.4375 | 2 | [] | no_license | package com.temp.common.base.excel.table;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;
import java.lang.reflect.Field;
/**
* <p>
* 描述
* </p>
*
* @author lw
* @since 2019/5/26 23:40
*/
@Data
@Getter
@Setter
@Slf4j
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Equa... | true |
cc2e43ee666e9e491d7ff4d19c5065003f82b0da | Java | Antonyan/rocket-test | /src/main/java/core/modules/database/models/DbQueryMetadata.java | UTF-8 | 488 | 2.28125 | 2 | [
"MIT"
] | permissive | package core.modules.database.models;
import java.util.Map;
public class DbQueryMetadata {
private final String tableName;
private final Map<String, String> tableData;
public DbQueryMetadata(String tableName, Map<String, String> tableData) {
this.tableName = tableName;
this.tableData = ... | true |
cdba1ff943abcf5434b5e769ab743af46ee577c1 | Java | zhangkang65/ERP-Project | /src/main/java/com/dy/bus/vo/SalesVo.java | UTF-8 | 501 | 1.867188 | 2 | [] | no_license | package com.dy.bus.vo;/**
* ClassName:SalesVo
* Package:com.dy.bus.vo
* Description:
*
* @Date:2020/3/24 10:51
* @Author:Dong
*/
import com.dy.bus.entity.Sales;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
/**
*ClassName:SalesVo
*/
@Data
@AllA... | true |
7ebeba9d41637a1518bfd8b83656b66f09c7b18e | Java | MinJu-A/INHA_AIR | /INHA_AIR/src/be/Inquiry/Inquiry.java | UTF-8 | 5,720 | 2.5625 | 3 | [] | no_license | package be.Inquiry;
import java.awt.Color;
import java.awt.Component;
import java.awt.Container;
import java.awt.Font;
import java.awt.Menu;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPan... | true |
9f007c9d5a48879c8c5edbf71c652a058ac9f5ed | Java | tinyDong/algorithm | /src/Practice/minTree.java | UTF-8 | 1,284 | 3.25 | 3 | [] | no_license | package Practice;
import java.util.ArrayList;
import java.util.Arrays;
public class minTree {
private static int[] prim(int[][] matrix) {
int[] parents = new int[matrix.length];
parents[0] = -1;
ArrayList<Integer> reachedList = new ArrayList<>();
reachedList.add(0);
int f... | true |
c9e1a035cbf7c7d0670afd18ff6c65c40bb2536e | Java | sinnott74/DanSin | /WebClient/src/dansin/interceptors/ejb/EJBInterceptor.java | UTF-8 | 5,239 | 2.265625 | 2 | [] | no_license | package dansin.interceptors.ejb;
import java.lang.reflect.Field;
import java.util.Properties;
import javax.ejb.EJB;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NameClassPair;
import javax.naming.NamingEnumeration;
import javax.naming.NamingException;
import com.op... | true |
fcb1f857cef44d9c798ac023e74cda78929af5d7 | Java | richie1412/git_hub_rep | /wxxr-mobile-client/wxxr-mobile-communicationhelper-android-quanguo/src/com/wxxr/callhelper/qg/ui/SiMiContactsResetPasswordActivity.java | UTF-8 | 7,440 | 1.945313 | 2 | [] | no_license | package com.wxxr.callhelper.qg.ui;
import java.util.HashMap;
import java.util.concurrent.Callable;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.view.View;
import androi... | true |
f4afd195e6f9d1f41b1ea550d3af1232a6be9585 | Java | jackcurtin/project_2_bookkeeper | /src/main/java/com/bookkeeper/demo/model/Book.java | UTF-8 | 2,583 | 2.3125 | 2 | [] | no_license | package com.bookkeeper.demo.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.sun.istack.NotNull;
import javax.persistence.*;
import java.util.List;
@Entity
@Table(name = "books")
public class Book {
public List<UserProfile> getUserFavorit... | true |
476f3164381c8964cf4d4bc59aea2152522ca69f | Java | kaibeat/CheNet | /app/src/main/java/com/example/mynet/RequestDevicesClass.java | UTF-8 | 3,887 | 2.171875 | 2 | [
"MIT"
] | permissive | package com.example.mynet;
import android.util.Log;
import com.alibaba.fastjson.JSON;
import com.example.mynet.javabean.DevicesInfoBean;
import com.example.mynet.javabean.DevicesRequestBean;
import com.example.mynet.javabean.LoginPostBean;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List... | true |
05a4d00b6a21455c9d72554e5b3e25c0b0a96de0 | Java | joaoalfredopires/projeto-automacao-1-RESET | /src/test/java/pageObjects/LoginPage.java | UTF-8 | 1,219 | 2.625 | 3 | [] | no_license | package pageObjects;
import elementMapper.LoginPageElementMapper;
import io.qameta.allure.Step;
import org.openqa.selenium.support.PageFactory;
import utils.Browser;
import java.util.Random;
public class LoginPage extends LoginPageElementMapper {
//Gerador de email
String emailAleatorio = "email_de_teste_jo... | true |
1ccd6f4f132c8b949df2555a889fba16b2164326 | Java | Igincan/Cardventure | /Cardventure/Cardventure/src/karty/kuzlo/Hnis.java | UTF-8 | 775 | 2.234375 | 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 karty.kuzlo;
import karty.rozhrania.IDegradovatelna;
import karty.Karta;
import karty.Kuzlo;
import zaklad.Hrac;
... | true |
f7375af686ce0d0bc64b5ea05af7b799c74b0bf0 | Java | gonzabazzi/OblMarzo2021 | /OblMarzo2021/src/oblmarzo2021/NodoCiudad.java | UTF-8 | 697 | 2.765625 | 3 | [] | no_license |
package oblmarzo2021;
public class NodoCiudad {
int dato;
String nombre;
NodoCiudad siguiente;
public NodoCiudad(int dato,String nombre) {
this.dato = dato;
this.siguiente = null;
this.nombre=nombre;
}
public int getDato() {
return dato;
}
public void... | true |
50612eefca5adde4738508221dfdaab6b564b094 | Java | Rapheo/Garden_management_system-java- | /server/src/main/java/request/controllers/UserRoleController.java | UTF-8 | 583 | 2.265625 | 2 | [] | no_license | package request.controllers;
import bll.service.GenericService;
import bll.service.RoleService;
import model.UserRole;
import request.ClientHandler;
public class UserRoleController extends CrudController<UserRole> {
public UserRoleController(GenericService<UserRole> service, ClientHandler clientHandler) {
... | true |
439f65c00bf37c9ddbb3d5b79606845642272bb6 | Java | hello123hk/spark_tutorial | /src/main/java/com/spark/rdd_tutorial/tutorial4/MapToPairRdd.java | UTF-8 | 1,476 | 2.875 | 3 | [] | no_license | package com.spark.rdd_tutorial.tutorial4;
import com.spark.rdd.tutorial.util.Constant;
import org.apache.spark.SparkConf;
import org.apache.spark.api.java.JavaPairRDD;
import org.apache.spark.api.java.JavaRDD;
import org.apache.spark.api.java.JavaSparkContext;
import org.apache.spark.api.java.function.PairFunction;
im... | true |
f906276d2a38a065ae4ad34daa63b3dd64ba700a | Java | intaek78/coupon33 | /cancellation/src/main/java/coupon/MemberCancelled.java | UTF-8 | 1,109 | 2.28125 | 2 | [] | no_license | package coupon;
public class MemberCancelled extends AbstractEvent {
private Long id;
private String status;
private String memId;
private Long memNo;
private String memNm;
private String withdrawDate;
public MemberCancelled(){
super();
}
public Long getId() {
ret... | true |
b4a647aedafaf77b4da80ef3f98b10a28e9eb645 | Java | mestreengaisaber/SPRING | /spring-boot-oracle-rest/src/main/java/es/satec/angolatelecom/sigo/sim/stock/service/config/DbConfiguration.java | UTF-8 | 1,227 | 1.898438 | 2 | [
"MIT"
] | permissive | package es.satec.angolatelecom.sigo.sim.stock.service.config;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;... | true |
08810c426b83277db9ffaf7c97d7bd400465d62e | Java | daveshanley/jgooglesafebrowsing | /v2/src/main/java/com/buildabrand/gsb/util/GSBRemote.java | UTF-8 | 4,998 | 2.546875 | 3 | [] | no_license | package com.buildabrand.gsb.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.StringWriter;
import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import org.apache.commons.... | true |
26ec1e2374b9faf41c88f8cefb73982ef5bb41d1 | Java | yyxx828/baseboot2 | /src/main/java/com/xajiusuo/jpa/util/AbstractMapp.java | UTF-8 | 20,581 | 2.3125 | 2 | [] | no_license | package com.xajiusuo.jpa.util;
import com.xajiusuo.jpa.util.exception.MappException;
import java.io.PrintStream;
import java.io.Serializable;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Type;
import java.math.BigDecimal;
import jav... | true |
3fd1eb348a1be63cdeb7427dcdc59ecc705ab697 | Java | Z-P-J/ZHttp | /zhttp-core/src/main/java/com/zpj/http/core/HttpConfig.java | UTF-8 | 5,988 | 2.265625 | 2 | [] | no_license | package com.zpj.http.core;
import android.text.TextUtils;
import com.zpj.http.ZHttp;
import com.zpj.http.utils.UrlUtil;
import com.zpj.http.utils.Validate;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.Type;
import java.net.MalformedURLException;
import java.net.URL;
import java.ut... | true |
a375bfae78f3ae16282f933590cf95d7d71f1c63 | Java | marsopensource/CAP | /cap-codegen/src/main/java/com/comtop/cap/codegen/model/WrapperException.java | UTF-8 | 4,627 | 2.3125 | 2 | [] | no_license | /******************************************************************************
* Copyright (C) 2014 ShenZhen ComTop Information Technology Co.,Ltd
* All Rights Reserved.
* 本软件为深圳康拓普开发研制。未经本公司正式书面同意,其他任何个人、团体不得使用、
* 复制、修改或发布本软件.
*****************************************************************************/
packag... | true |
6f2eeb10fe00fd8bf438a3aa5f912e8f25aa4c21 | Java | tram0808/BaiTapQuaTrinhAndroid | /Selfie/app/src/main/java/com/example/selfie/GalleryActivity.java | UTF-8 | 2,566 | 2.28125 | 2 | [] | no_license | package com.example.selfie;
import android.database.Cursor;
import android.os.Bundle;
import android.util.SparseBooleanArray;
import android.view.ContextMenu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.widget.AdapterView;
import android.widget.Button;
impor... | true |
5c631b159bbadb6fa30c9170f988461b3437f54a | Java | maciejBart99/repository-explorer | /src/main/java/com/repositories/explorer/stars/api/StarsController.java | UTF-8 | 2,100 | 2.171875 | 2 | [] | no_license | package com.repositories.explorer.stars.api;
import com.repositories.explorer.shared.api.handlers.ApiError;
import com.repositories.explorer.shared.domain.RepositoryFetchException;
import com.repositories.explorer.shared.domain.RepositoryHost;
import com.repositories.explorer.shared.domain.UserNotFoundException;
impor... | true |
6354c800b6e7751091dbdcb1516efa34fafdbced | Java | Solykk/interactive_CV | /src/main/java/model/Chat.java | UTF-8 | 12,207 | 2.359375 | 2 | [] | no_license | package model;
import control.CVApplication;
import javafx.event.EventHandler;
import javafx.scene.Group;
import javafx.scene.control.TextArea;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyEvent;
import javafx.scene.input.MouseEvent;
import javafx.scene.paint.Color;
import javafx.scene.shape.Polygon... | true |
ddf1c9d73daa4930626cdb7c755c7835a92eb547 | Java | pabllo007/cca | /Entidades/ContaCapitalEntidadesEJB/src/test/java/br/com/sicoob/cca/entidades/negocio/enums/CCAEntidadeEnumCodeCoverageTest.java | UTF-8 | 1,496 | 2.0625 | 2 | [] | no_license | package br.com.sicoob.cca.entidades.negocio.enums;
import org.junit.Assert;
import org.junit.Test;
public class CCAEntidadeEnumCodeCoverageTest {
@Test
public void verificaEnumsNaoVazios() {
Assert.assertTrue(EnumGrupoHistorico.values().length > 0);
Assert.assertTrue(EnumMotivoDevolucao.values().length > 0);
... | true |
2bd220bfc33717f7176526daff08ca708300b233 | Java | codeherlife/escon-day-go | /app/src/main/java/com/codeherlife/escondaygo/EventHelper.java | UTF-8 | 801 | 3.203125 | 3 | [] | no_license | package com.codeherlife.escondaygo;
import java.util.ArrayList;
/**
* Created by melanie on 3/18/18.
*/
public class EventHelper {
public static int getCountByWeekday(ArrayList<Event> eventsList, Event.Weekday day) {
// write a for loop, use a local counter to count if x
// the day for each ev... | true |
934e5cfff41cd9c673cf813dc5658389ee7f6dc1 | Java | noshadowtcc/noshadow-android | /app/src/main/java/com/noshadow/app/AppConstants.java | UTF-8 | 397 | 2.015625 | 2 | [] | no_license | package com.noshadow.app;
import android.support.annotation.IntDef;
/**
* Created by LucasZambon on 30/04/2018.
*/
public class AppConstants {
public static final String TAG_BASE_JOB = "JOB_QUEUE";
@IntDef({JobProority.HIGH, JobProority.MEDIUM, JobProority.LOW})
public @interface JobProority {
... | true |
26232d1785ed5aff352207f267a6503e1855fb6d | Java | Old-Camel/flink-learn | /movie/src/main/java/test/flink/movie/service/client/impl/MovieServiceImpl.java | UTF-8 | 421 | 1.84375 | 2 | [] | no_license | package test.flink.movie.service.client.impl;
import test.flink.movie.bean.HotBean;
import test.flink.movie.dao.MovieMapper;
import test.flink.movie.service.client.MovieService;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class MovieServiceImpl implements MovieService {
... | true |
22f09e658bc0f486682144b61e8a9960fd956474 | Java | ramezmaher/assignment-1.1 | /MySpecialArrayUtils.java | UTF-8 | 1,724 | 3.609375 | 4 | [] | no_license | package college;
public class MySpecialArrayUtils {
public static void reverse(int[] arr) {
int var;
int count;
for (count=0 ; count<(arr.length/2) ; count++ ) {
var = arr[count];
arr[count]=arr[(arr.length-1)-count];
arr[(arr.length-1)-count]=var;
}
}
public static int[] sumEvenOdd(... | true |
eb739339e5f0e6031be613387f395ed75b332ba0 | Java | x3ro/tinyos-legacy | /tinyos-1.x/contrib/rincon/tools/java/com/rincon/flashbridgeviewer/ViewerCommands.java | UTF-8 | 2,266 | 2.28125 | 2 | [
"Intel"
] | permissive | package com.rincon.flashbridgeviewer;
/*
* Copyright (c) 2004-2006 Rincon Research Corporation.
* All rights reserved.
*
* Rincon Research will permit distribution and use by others subject to
* the restrictions of a licensing agreement which contains (among other things)
* the following restrictions:
*
* ... | true |
997c18eac1f0693b678fff74d97b3f963372bf73 | Java | itp265/fall2021 | /CoffeeOLD/15Week/15_GUI/src/OpeningController.java | UTF-8 | 1,531 | 2.734375 | 3 | [] | no_license | import java.time.LocalDate;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.Alert;
import javafx.scene.control.Alert.AlertType;
import javafx.scene.control.Button;
import javafx.scene.control.DatePicker;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
pu... | true |
06042b3f73519c8651e3cfdcc7d256f5f09acf3d | Java | gobige/autocodetemplate | /src/main/java/com/example/autocodetemplate/ohter/practice/IO/BIOTest.java | UTF-8 | 6,287 | 3.15625 | 3 | [] | no_license | package com.example.autocodetemplate.ohter.practice.IO;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.InetAddress;
import java.net.ServerSocket;
import java.net.Socket;
/**
* BIO的一些例子
*/
public class BIOTest {
public static void main(String[] args) ... | true |
94a531bf5fb2cb4acbc91abbb7df7459106f7e11 | Java | whitten/buguldey-ai-foss | /eclipse_projects/Intercosmic_incubation/src/kernel/launcher/IntercosmicKernelLauncher_SpawnKernel.java | UTF-8 | 534 | 2.203125 | 2 | [] | no_license | package kernel.launcher;
import kernel.util.ExceptionUtil;
import kernel.util.NamedCaller;
import gui.util.ExceptionUtilGUI;
public class IntercosmicKernelLauncher_SpawnKernel {
public static void main(String[] args){
try{
lockThiscomputerMutexForIntercosmicKernel();
if(kernelExistsOnThisComputer()){
unl... | true |
97355c7026aee62bf8ddc296f3abf35e98dba51d | Java | harry1080/vs | /src/com/vshow/control/item/ToTimeAction.java | UTF-8 | 3,741 | 2.0625 | 2 | [] | no_license | package com.vshow.control.item;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.Map;
import com.ibatis.sqlmap.client.SqlMapClient;
import com.opensymphony.xwork.Action;
import com.opensymphony.xwork.ActionContext;
import com.vshow.control.too... | true |
6e4588edaf096e7f14d63f40522cbf48dc89c305 | Java | Software-Engineering-Course-Design-Team/Course-Registration | /src/com/action/admin/AddDepServlet.java | UTF-8 | 1,948 | 2.34375 | 2 | [] | no_license | package com.action.admin;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.control.D... | true |
0ecc840e263821364d85f12b1b8d25d3bd3d9a27 | Java | enriquefelix876/sistema-de-asistencias | /app/src/main/java/mx/itson/sistemadeasistencias/entidades/Aula.java | UTF-8 | 151 | 1.554688 | 2 | [] | no_license | package mx.itson.sistemadeasistencias.entidades;
public class Aula {
private int id;
private String nombre;
private String edificio;
}
| true |
efc68f82eea2793a30fa13f3536fcbb589acc034 | Java | BharathPalanivelu/repotest | /src/main/java/com/thoughtworks/xstream/converters/collections/MapConverter.java | UTF-8 | 3,857 | 2.484375 | 2 | [] | no_license | package com.thoughtworks.xstream.converters.collections;
import com.thoughtworks.xstream.converters.MarshallingContext;
import com.thoughtworks.xstream.converters.UnmarshallingContext;
import com.thoughtworks.xstream.io.ExtendedHierarchicalStreamWriterHelper;
import com.thoughtworks.xstream.io.HierarchicalStreamReader... | true |
319b6ca50ced7ff74ec0c8dd22d2276f59cee5e0 | Java | GoldenAppStudio/Coaching_Admin_2021 | /app/src/main/java/studio/goldenapp/coaching/admin/VideoListActivity.java | UTF-8 | 7,340 | 1.945313 | 2 | [] | no_license | package studio.goldenapp.coaching.admin;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.app.Activity;
import androi... | true |
41fca2d21d68715afa00d1b896bb0008a6521f54 | Java | baggednismo/BaseMVVM | /app/src/main/java/com/devinmartinolich/basemvvm/view/activity/BaseActivity.java | UTF-8 | 23,874 | 1.632813 | 2 | [
"Apache-2.0"
] | permissive | package com.devinmartinolich.basemvvm.view.activity;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.res.Resources;
import android.graphics.drawable.Co... | true |
a73c5b62f6813aeeeb6ed13bc1b0a1c53e9fe76d | Java | archimatetool/archi | /com.archimatetool.commandline/src/com/archimatetool/commandline/ICommandLineProvider.java | UTF-8 | 1,223 | 2.265625 | 2 | [
"MIT",
"LicenseRef-scancode-free-unknown"
] | permissive | /**
* This program and the accompanying materials
* are made available under the terms of the License
* which accompanies this distribution in the file LICENSE.txt
*/
package com.archimatetool.commandline;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.Options;
/**
* Interface for a Com... | true |