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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
1b8ac3df3675fd0934078b83572ef4e2eccfe914 | Java | dexpota/maven-macros-toolbox | /src/main/java/me/destro/intellij/plugins/qmaven/GoogleMavenLatestLibraryVersion.java | UTF-8 | 4,135 | 2.15625 | 2 | [
"MIT"
] | permissive | package me.destro.intellij.plugins.qmaven;
import com.intellij.codeInsight.template.Expression;
import com.intellij.codeInsight.template.ExpressionContext;
import com.intellij.codeInsight.template.Result;
import com.intellij.codeInsight.template.TextResult;
import com.intellij.codeInsight.template.macro.MacroBase;
imp... | true |
dedbf569d332aeb485d8bd5bedd4ffa07552a7d5 | Java | ClaytonKnittel/Projects | /src/oneDayProjects/wuggle/game/BoardAnalyzer.java | UTF-8 | 2,266 | 3.203125 | 3 | [] | no_license | package oneDayProjects.wuggle.game;
import java.lang.reflect.Array;
import java.util.LinkedList;
import java.util.List;
import structures.Trie;
public class BoardAnalyzer {
public static List<String> findAllWords(Trie<String> dictionary, Dice[] dice) {
AdjacencyStructure<Dice> a = new AdjacencyStructure<>(dice)... | true |
4f3be582b34862389a90f9b0944edba8e29c0493 | Java | PompeyXu/pompey-upms | /src/main/java/com/pompey/upms/system/entity/SystemConfig.java | UTF-8 | 918 | 1.859375 | 2 | [] | no_license | package com.pompey.upms.system.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pompey.upms.common.base.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @author PompeyXu
* @date 2019-04... | true |
87ad37737377da8914a323786395bfc3ab806b43 | Java | andreitraistaru/Timetable | /app/src/main/java/com/timetable/activities/viewTimetableActivity/TimetableEntry.java | UTF-8 | 5,562 | 2.453125 | 2 | [] | no_license | package com.timetable.activities.viewTimetableActivity;
import android.content.Context;
import com.timetable.R;
import com.timetable.database.subjects.ClassInterval;
import com.timetable.database.subjects.Subject;
import com.timetable.database.subjects.SubjectComponent;
import com.timetable.utils.Constants;
import co... | true |
fc5b2b95ec34b2e4e2638a75672914b09b9827ce | Java | HellowMyNameIsPSR/khSemiProjectSugack | /src/com/kh/semi/board/model/dao/ProQnaDao.java | UTF-8 | 6,496 | 2.265625 | 2 | [] | no_license | package com.kh.semi.board.model.dao;
import static com.kh.semi.common.JDBCTemplate.close;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
... | true |
42b91c9441e79ac762c9bf5ccd1de6aad1191f74 | Java | 13del/dicegame | /src/main/java/com/dicegame/api/PlayerRestController.java | WINDOWS-1252 | 3,395 | 2.65625 | 3 | [] | no_license | package com.dicegame.api;
import java.util.List;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.... | true |
9dd1434c14d6a00228c04d685928c0be45ff89b3 | Java | nikith2015/demo | /src/main/java/trng/imcs/jpa/entities/StudentDetail.java | UTF-8 | 181 | 1.953125 | 2 | [] | no_license | package trng.imcs.jpa.entities;
public class StudentDetail {
private long id;
private String firstName;
private String lastName;
private String address;
}
| true |
34e64b61e9ceec8a7e3abb1bfd66cc00435feacf | Java | ceh522/wk11-day1-classes_homework | /Calculator/src/main/java/Calculator.java | UTF-8 | 533 | 3.71875 | 4 | [] | no_license | public class Calculator {
private int num1;
private int num2;
public Calculator(int num1, int num2){
this.num1 = num1;
this.num2 = num2;
}
public int AddNumbers(){
return this.num1 + this.num2;
}
public int SubtractNumbers(){
return this.num1 - this.num2;
... | true |
23c8f38a032d486904aa707b8759c0826b008fa7 | Java | OpenStack-mobile/summit-app-android | /app/src/main/java/org/openstack/android/summit/common/data_access/deserialization/SummitEventWithFileDeserializer.java | UTF-8 | 1,223 | 2.28125 | 2 | [
"Apache-2.0"
] | permissive | package org.openstack.android.summit.common.data_access.deserialization;
import org.json.JSONException;
import org.json.JSONObject;
import org.openstack.android.summit.common.entities.SummitEventWithFile;
import org.openstack.android.summit.common.utils.RealmFactory;
/**
* Created by smarcet on 2/3/17.
*/
public c... | true |
2825f38165e60fa462b16948e9ccd8dfb1a8a5f4 | Java | scottishdev/SimpleClasses_Week12_Day1 | /src/main/java/Printer.java | UTF-8 | 876 | 3.65625 | 4 | [] | no_license | public class Printer {
private int numOfSheets;
private int tonerVolume;
private int numOfPagesToPrint;
public Printer(int numOfSheets, int tonerVolume, int numOfPagesToPrint){
this.numOfSheets = numOfSheets;
this.tonerVolume = tonerVolume;
this.numOfPagesToPrint = numOfPagesTo... | true |
ee7beddd64567ecf031129ae9eb2ac9f06d12373 | Java | MurtazinArtur/homefinance | /dao/src/main/java/geekfactory/homefinance/dao/Exception/HomeFinanceDaoException.java | UTF-8 | 390 | 2.265625 | 2 | [] | no_license | package geekfactory.homefinance.dao.Exception;
public class HomeFinanceDaoException extends RuntimeException {
public HomeFinanceDaoException(String message) {
super(message);
}
public HomeFinanceDaoException(String message, Throwable cause) {
super(message, cause);
}
public Home... | true |
a75409ef3d9bb4965d08093f952b751937d59a5a | Java | ankhzet/SVFetcher | /src/ankh/fb2/fix/fixtures/ScriptsFix.java | UTF-8 | 413 | 2.078125 | 2 | [] | no_license | package ankh.fb2.fix.fixtures;
import ankh.xml.dom.Node;
import ankh.xml.fix.fixtures.AbstractFixture;
/**
*
* @author Ankh Zet (ankhzet@gmail.com)
*/
public class ScriptsFix extends AbstractFixture {
@Override
public Node apply(Node node) {
return recursive(node, c -> {
if (c.is("script")) {
... | true |
6f5e1eb61ce65f103865129c8cb40ac6a6a92ee2 | Java | gany-c/DataStructures | /src/Kahuna/PalindromeUtil.java | UTF-8 | 4,586 | 3.484375 | 3 | [] | no_license | package Kahuna;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
/**
* MISTAKE DONE HERE:- The apostrophe case was not handled e.g. Mom's
* ALWAYS CLARIF... | true |
6586df0db50e41e468d753445b82f4301e9f589b | Java | mkarneim/pojobuilder | /src/testdata/java/net/karneim/pojobuilder/analysis/with/setter/PojoWithPublicObjectObjectSetter.java | UTF-8 | 251 | 1.921875 | 2 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | package net.karneim.pojobuilder.analysis.with.setter;
import net.karneim.pojobuilder.GeneratePojoBuilder;
@GeneratePojoBuilder
public class PojoWithPublicObjectObjectSetter {
public Object setMyProperty(Object myProperty) {
return null;
}
}
| true |
b9bcdcd8fca6881bfe317807fdec47db3f0230ce | Java | Ahaochan/PreferenceLibrary | /preferencelibrary/src/main/java/com/ahao/preferencelibrary/preference/PreferenceManagerEx.java | UTF-8 | 2,241 | 2.46875 | 2 | [
"Apache-2.0"
] | permissive | package com.ahao.preferencelibrary.preference;
import android.preference.PreferenceManager;
import java.lang.reflect.Method;
/**used to access some methods of original PreferenceManager*/
public class PreferenceManagerEx
{
private Method METHOD_UNREGISTER_ON_ACTIVITY_DESTROY_LISTENER;
private Method METHOD_REGI... | true |
0d2f2c5456c78c1469a87bdd5816480262ea6c36 | Java | saidmlx/SpringRest | /src/main/java/io/saidmlx/controller/web/Hello.java | UTF-8 | 839 | 2.109375 | 2 | [
"MIT"
] | permissive | package io.saidmlx.controller.web;
import org.springframework.ui.ModelMap;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.sprin... | true |
c2bda8b5a4c1689aca59f9a41e8925599857a7e2 | Java | tbs005/springboot | /src/main/java/com/springboot/SwaggerConfig.java | UTF-8 | 1,379 | 2.109375 | 2 | [] | no_license | package com.springboot;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.builders.ApiInfoBuilder;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHandlerSelectors;
import springfox.documentation.service.ApiInfo;
import spr... | true |
8d9140852eabdc492460223a7761038d44141280 | Java | miejiededaxiang/MyDemo | /app/src/main/java/me/xiaocao/demo/MainActivity.java | UTF-8 | 2,146 | 2.171875 | 2 | [] | no_license | package me.xiaocao.demo;
import android.content.Context;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import com.baidu.idl.util.FileUtil;
import com.baidu.ocr.ui.camera.CameraActivity;
import java.io.File;
import me.xiaocao.demo.... | true |
59e5e73add5caebd2812e0ca18dedd7a5db8da33 | Java | immortalcatz/DatMod | /src/main/java/xlxacidxlx/datmod/item/EmeraldiDust.java | UTF-8 | 366 | 2.078125 | 2 | [] | no_license | package xlxacidxlx.datmod.item;
import xlxacidxlx.datmod.base.Item;
import xlxacidxlx.datmod.creativetab.CreativeTabs;
/**
* Created by Acid on 10/26/2016.
*/
public class EmeraldiDust extends Item {
/**
* Constructs the Emeraldi Dust
*/
public EmeraldiDust() {
super("Emeraldi Dust");
setCreativeTab(Crea... | true |
9b058cbfd9d8197eb35e933dbe1fc95a864373e5 | Java | FzNoxus/JavaProjects | /DbHospital/src/cn/edu/csu/dbhospital/action/ArrangementManageAction.java | GB18030 | 1,498 | 2.21875 | 2 | [] | no_license | package cn.edu.csu.dbhospital.action;
import org.eclipse.jface.action.Action;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.PartInitException;
import cn.edu.csu.dbhospital.Activator;
... | true |
1570fc433607f06d61549f6f5363200c38e54655 | Java | wuhulala/javaup | /composite-source/src/main/java/com/wuhulala/javase/jsoup/BlogRankUtils.java | UTF-8 | 864 | 2.453125 | 2 | [] | no_license | package com.wuhulala.javase.jsoup;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;
import java.io.IOException;
/**
* Created by xueah20964 on 2017/5/24.
*/
public class BlogRankUtils {
public static BlogInfo getBlogInfoOfUrl(String url) {
try {
Do... | true |
1140a0677f72a6ed9f39b0f76d16a09f850db535 | Java | BSPQ18-19/BSPQ19-E2 | /src/main/java/es/deusto/spq/payment/PayPal/connections/Payer.java | UTF-8 | 4,120 | 2.828125 | 3 | [] | no_license | package es.deusto.spq.payment.PayPal.connections;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;
import java.sql.Timestamp;
import java.time.LocalDateTime;
import org.apache.log4j.Logger;
import es.deusto.spq.payment.PayPal.PayPal;
import es.d... | true |
c303cd05df412469fc88670111be50bf3f71e3c9 | Java | GauravSahu/ERP-System | /src/com/itech/iERP/daoimpl/SalaryDaoImpl.java | UTF-8 | 4,963 | 2.53125 | 3 | [] | no_license | package com.itech.iERP.daoimpl;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
import javax.sql.DataSource;
import com.itech.iERP.constants.iERPConstants;
import com.itech.iERP.forms.SalaryForm;
public class... | true |
6fc1cec2221cd6dac4089a1296b2be037f8c5c9f | Java | vsavko/leetcode | /00227_BasicCalculatorII_Medium.java | UTF-8 | 2,594 | 3.828125 | 4 | [] | no_license | /*Given a string s which represents an expression, evaluate this expression and return its value.
The integer division should truncate toward zero.
Example 1:
Input: s = "3+2*2"
Output: 7
Example 2:
Input: s = " 3/2 "
Output: 1
Example 3:
Input: s = " 3+5 / 2 "
Output: 5
Constraints:
1 <= s.length <= 3 * 105
s con... | true |
239cc9b0e347557fe0daf18c3ba04b5916e561d1 | Java | amalroy21/secure-service | /src/main/java/com/utd/secureservice/domain/UserInformation.java | UTF-8 | 525 | 2.203125 | 2 | [] | no_license | package com.utd.secureservice.domain;
public class UserInformation {
private String userId;
private String fileName;
private FormattedKey key;
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getFileName() {
return fileName;
}
... | true |
253ff4df49bad9e2cc68c1ececc92bf7012f10bf | Java | leshikus/dataved | /innoros/im/src/net/java/sip/communicator/util/ServiceUtils.java | UTF-8 | 1,530 | 2.3125 | 2 | [] | no_license | /*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.util;
import org.osgi.framework.*;
/**
* Gathers utility functions related to OSGi services such as getting a service
* registered in ... | true |
e9695436f3f80a297ae0445b9af8e79f039c24d2 | Java | Prathamrb/Sunbeam_assignments | /Prathamesh_Baviskar/Modul-1 Concepts_of_Programming/Assingment 4/Q2.java | WINDOWS-1250 | 1,305 | 4.28125 | 4 | [] | no_license | package A4;
/********************************************************************************************
* 2. Create a class Employee having name and id as fields.
* Declare static variable with data type string as name of
* company assign name as Sunbeam for all objects. Declare
* a two-parameter constructor wi... | true |
993bd28265ff36841ad0b0146ce35d97c8df5f56 | Java | siwuxie095/spring-practice | /src/main/java/com/siwuxie095/spring/chapter12th/example8th/cfg/Neo4jConfig3rd.java | UTF-8 | 1,232 | 2.125 | 2 | [] | no_license | package com.siwuxie095.spring.chapter12th.example8th.cfg;
import org.neo4j.graphdb.GraphDatabaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.env.En... | true |
07b3f49829b19479cf7fc346eda074e77d9e30e2 | Java | ivanwidyan/Blibli-Testing-Framework | /src/test/java/com/testing/blibli/purchase/Payment.java | UTF-8 | 4,833 | 2.03125 | 2 | [
"MIT"
] | permissive | package com.testing.blibli.purchase;
import com.testing.Handler;
import com.testing.Utility;
import com.testing.blibli.constants.BlibliAndroidElementConstants;
import com.testing.blibli.constants.BlibliWebElementConstants;
import com.testing.constants.AndroidElementConstants;
import com.testing.constants.ConfigConstan... | true |
f847d59e6b55c7aae62e9ae0ad1dd9001a7535e5 | Java | jotafin/Catalogo | /Main/src/br/ufal/ic/ppgi/tf/main/Main.java | UTF-8 | 1,163 | 2.46875 | 2 | [
"Apache-2.0"
] | permissive | package br.ufal.ic.ppgi.tf.main;
import br.ufal.aracomp.cosmos.emprestimo.impl.ComponentFactory;
import br.ufal.aracomp.cosmos.emprestimo.spec.dt.UsuarioDT;
import br.ufal.aracomp.cosmos.emprestimo.spec.prov.IEmprestimoOps;
import br.ufal.aracomp.cosmos.emprestimo.spec.prov.IManager;
import br.ufal.aracomp.cosmos.limi... | true |
80e40568c8d0cd74f099a8c1094b714c56c0f43e | Java | z1094219402/singlemachine | /src/main/java/cn/zhangguifen/entities/Goods.java | UTF-8 | 1,262 | 2.171875 | 2 | [] | no_license | package cn.zhangguifen.entities;
import lombok.Data;
/**
* Created by yangken on 2020/9/10.
*/
@Data
public class Goods {
private long id;
private String goodname;
private String description;
private String create_by;
private Integer store;
public Integer getStore() {
return store;
... | true |
9f022625cde9912002e47866605638bbd65ed0fa | Java | eddygithub/ce-gemfire-shoe-demo | /FastFootShoeServerSide/src/main/java/io/pivotal/ce/gemfire/fastfootshoes/serverside/functions/ProductGroupCounterCaller.java | UTF-8 | 588 | 1.84375 | 2 | [] | no_license | package io.pivotal.ce.gemfire.fastfootshoes.serverside.functions;
import java.util.List;
import java.util.Map;
import java.util.concurrent.atomic.AtomicInteger;
import org.springframework.data.gemfire.function.annotation.FunctionId;
import org.springframework.data.gemfire.function.annotation.OnRegion;
@OnRegion(regi... | true |
1a32b48473331193637ba05cdf6c62e71a50a588 | Java | jackee777/disambiguate | /java/src/main/java/NeuralWSDDecode.java | UTF-8 | 2,633 | 2.296875 | 2 | [] | no_license | import getalp.wsd.common.wordnet.WordnetHelper;
import getalp.wsd.method.neural.NeuralDisambiguator;
import getalp.wsd.ufsac.core.Sentence;
import getalp.wsd.ufsac.core.Word;
import getalp.wsd.ufsac.utils.CorpusPOSTaggerAndLemmatizer;
import getalp.wsd.utils.ArgumentParser;
import getalp.wsd.utils.WordnetUtils;
import ... | true |
f4b790e53a92478169fbc3da7e1810351e9b8a84 | Java | ggcrjdev/meanbook-android | /app/src/main/java/com/brilgo/meanbookandroidapp/api/response/Comment.java | UTF-8 | 515 | 2.25 | 2 | [] | no_license | package com.brilgo.meanbookandroidapp.api.response;
import java.util.Date;
public class Comment {
public final String id;
public final String author;
public final Date timestamp;
public final String text;
public final Integer likes;
public Comment(String id, String author, Date timestamp, St... | true |
99685903b53f036a1d06e42fcd7bbbb4b8840e77 | Java | juancbeltran/fabrtaller2 | /Taller2Esqueleto/spooned/uniandes/cupi2/numeroMvc/interfaz/PanelExtension.java | UTF-8 | 1,878 | 2.53125 | 3 | [] | no_license | package uniandes.cupi2.numeroMvc.interfaz;
@annotation.FeatureAnnotation(Mandatory = true, Name = "PanelMvcNumero")
@annotation.RelationAnnotation(children = { "RootNumero" , "actionPerformed" }, relationType = annotation.RelationType.DEFAULT)
public class PanelExtension extends javax.swing.JPanel implements java.awt... | true |
6337efea7cbf134d9574185a78d4b0e18640f095 | Java | samuelfangjw/FoodCache | /app/src/main/java/com/breakfastseta/foodcache/social/SocialFindFriendAdapter.java | UTF-8 | 4,191 | 2.0625 | 2 | [] | no_license | package com.breakfastseta.foodcache.social;
import android.content.Context;
import android.net.Uri;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageButton;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.core.c... | true |
5a2f873a14048645f5196ea155ffb1c5c3a4509b | Java | liveqmock/hsxt | /hsxt/hsxt-access/hsxt-access-web/hsxt-access-web-company/src/main/java/com/gy/hsxt/access/web/company/services/systemBusiness/imp/CompanyInforService.java | UTF-8 | 3,469 | 2.0625 | 2 | [] | no_license | package com.gy.hsxt.access.web.company.services.systemBusiness.imp;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.gy.hsxt.access.web.common.service.BaseServiceImpl;
import com.gy.hsxt.access.web.company.services.systemBu... | true |
65fc09052fae865e4a20bd67a23436a7b0dcfac2 | Java | andrelucassvt/UNAMA-codes | /Estrutura-de-dados(3ºSemestre)/CadastroDeCompras/src/cadastrodecompras/CadastroDeCompras.java | UTF-8 | 3,135 | 3.703125 | 4 | [] | no_license | package cadastrodecompras;
import java.util.LinkedList;
import java.util.Scanner;
public class CadastroDeCompras {
//classe interna
public static class Vetor {
public String nome;
public int quantidade;
}
public static void main(String[] args) {
Scanner teclad... | true |
40f3a02695508c636cc1552149fb2ff7112379d2 | Java | foxlovecat1989/project | /src/main/java/com/spring/project/portfolio/mail/Emails.java | UTF-8 | 939 | 2.59375 | 3 | [] | no_license | package com.spring.project.portfolio.mail;
public class Emails {
private String sender;
private String to;
private String title;
private String html;
public Emails(String sender, String to, String title, String html) {
this.sender = sender;
this.to = to;
this... | true |
66ce264692e626515efaaee157ac6c3ea735125b | Java | BeelGroup/Docear-Online-HTW---Frontend | /app/controllers/secured/SecuredRest.java | UTF-8 | 519 | 2.046875 | 2 | [] | no_license | package controllers.secured;
import org.codehaus.jackson.node.ObjectNode;
import play.mvc.Http;
import play.mvc.Result;
import play.mvc.Results;
public class SecuredRest extends SecuredBase {
@Override
public Result onUnauthorized(Http.Context ctx) {
final ObjectNode jsonNode = org.codehaus.jackson.no... | true |
7b9dac8f7623d274b3372f87fe31685d1a9a5d69 | Java | denis-colliot/fscf-contacts | /src/main/java/fr/fscf/contacts/client/navigation/ZoneRequest.java | UTF-8 | 2,123 | 2.953125 | 3 | [
"Apache-2.0"
] | permissive | package fr.fscf.contacts.client.navigation;
import java.util.HashMap;
import java.util.Map;
/**
* Zone request.
*
* @author Denis
*/
public class ZoneRequest {
private Zone zone;
private Map<RequestParameter, Object> dataParameters; // Can be null.
public ZoneRequest(final Zone zone) {
this... | true |
dc76ae430025e3af521e32eb94b7497d86ea3d29 | Java | HengYi-JAPP/HY_TMS | /code/htms/htms/com/zzy/htms/autotest/TestThread.java | UTF-8 | 1,469 | 2.65625 | 3 | [] | no_license | package com.zzy.htms.autotest;
public class TestThread extends Thread {
public static int threadCount =0;
public int currentTotal = 200;
public int currentCount = 0;
public long currentTime=0;
public int failCount=0;
public int succCount=0;
public static int runingCount=0;
public static int totalCount=0;... | true |
6380a30eed246b5286e6d29ad631455546be698c | Java | liaoyuan2017/newGit | /automail/src/main/java/automail/Demo1.java | UTF-8 | 4,252 | 2.453125 | 2 | [] | no_license | package automail;
import java.io.BufferedReader;
import java.io.FileReader;
import java.util.Date;
import java.util.List;
import java.util.Properties;
import javax.activation.DataHandler;
import javax.activation.DataSource;
import javax.activation.FileDataSource;
import javax.mail.Address;
import javax.mail.Message;
... | true |
9c6ae79c7d07638e73e165579f6d63f7669752f2 | Java | cvanball/OpenShift4NetBeans | /OpenShift/src/org/netbeans/modules/cloud/openshift/project/OpenShiftNewAppPanelVisual.java | UTF-8 | 15,476 | 2 | 2 | [] | no_license | package org.netbeans.modules.cloud.openshift.project;
import org.netbeans.modules.cloud.openshift.project.ProgressGlassPane;
import com.openshift.client.IDomain;
import com.openshift.client.IOpenShiftConnection;
import com.openshift.client.IUser;
import com.openshift.client.OpenShiftConnectionFactory;
import com.opensh... | true |
89999078c9c9e0f73f197f6cece9baa172bdf400 | Java | donerdev/movie-web-flux | /src/main/java/com/gomezrondon/moviewebflux/controller/MovieController.java | UTF-8 | 2,369 | 2.296875 | 2 | [] | no_license | package com.gomezrondon.moviewebflux.controller;
import com.gomezrondon.moviewebflux.entity.Movie;
import com.gomezrondon.moviewebflux.service.MovieService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springfram... | true |
a26ca2e0dbba6119ebbd935133c6fd537d3db6d5 | Java | terminalsin/mcmarket-api-java-wrapper | /src/main/java/is/swan/mcmarketapi/request/requests/resource/purchase/RetrieveResourcePurchaseRequest.java | UTF-8 | 1,173 | 2.515625 | 3 | [] | no_license | package is.swan.mcmarketapi.request.requests.resource.purchase;
import com.google.gson.Gson;
import com.google.gson.JsonElement;
import is.swan.mcmarketapi.classes.ResourcePurchase;
import is.swan.mcmarketapi.request.Request;
public class RetrieveResourcePurchaseRequest implements Request<ResourcePurchase> {
pri... | true |
561f63f5772c6c1c4d553f574de72d9372ebfe4f | Java | ghandalf/aws-s3-data | /service/src/main/java/ca/ghandalf/aws/s3/business/fax/FaxSender.java | UTF-8 | 693 | 2.265625 | 2 | [] | no_license | package ca.ghandalf.aws.s3.business.fax;
import javax.inject.Inject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.cloud.aws.messaging.core.QueueMessagingTemplate;
import org.springframework.stereotype.Service;
import ca.ghandalf.aws.s3.domain.Fax;
@Service
public class FaxSender... | true |
5b752bcc43c8b7fc15e3328dadac416b7e2b1833 | Java | Yingliang-Du/java-rink | /Validation/src/main/java/com/ylw/enterprise/validation/binder/Parameters.java | UTF-8 | 2,985 | 2.578125 | 3 | [] | no_license | /*
* This file is part of
*
* Copyright (C) 2014-2015 The YLW-Java-Validation-Framework Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LIC... | true |
3e19de0e06c411ac189ae4713a6453e375ecbf16 | Java | NaRiiii/SNSD | /src/main/java/kr/co/soccer/login/LogoutController.java | UTF-8 | 738 | 2.234375 | 2 | [] | no_license | /*
* package kr.co.soccer.login;
*
* import javax.servlet.http.HttpServletRequest; import
* javax.servlet.http.HttpServletResponse; import
* javax.servlet.http.HttpSession;
*
* import com.study.login.service.ILoginService; import
* com.study.servlet.IController;
*
* public class LogoutController implements... | true |
75ba4ffc5bb86210ff5a6634c7bcdd009f72766c | Java | liuxianchun/weshare-SpringCloud | /userservice/src/main/java/com/lxc/user/po/LoginHistory.java | UTF-8 | 846 | 1.984375 | 2 | [
"Apache-2.0"
] | permissive | package com.lxc.user.po;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigInteger;
import java.util.Date;... | true |
627c87b72a074c22bcfd255f59f53a69cfc47994 | Java | wywzz/hello-world | /CGB-DB-SYS-V3.01/src/main/java/com/cy/pj/sys/entity/SysMenu.java | UTF-8 | 527 | 1.65625 | 2 | [] | no_license | package com.cy.pj.sys.entity;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
@Data
public class SysMenu implements Serializable{
private static final long serialVersionUID = 5727365725344689822L;
private Integer id;
private String name;
private String url;
private Integer type;
private ... | true |
27d9d1381601c2886a2fa41ed88211a438997d52 | Java | wenghaoxin/wenghaoxi | /day0_login/src/main/java/com/everywhere/trip/view/main/MeterView.java | UTF-8 | 299 | 1.570313 | 2 | [] | no_license | package com.everywhere.trip.view.main;
import com.everywhere.trip.base.BaseMvpView;
import com.everywhere.trip.bean.BanmiBean;
import com.everywhere.trip.bean.MainDataBean;
public interface MeterView extends BaseMvpView {
void successData(BanmiBean banmiBean);
void ErrorData(String e);
}
| true |
749d41ee93eb2c1af11b428daf4d56bce2a3882e | Java | ashu1206/JavaPrograms | /BasicProgrames/src/inputOutput/BufferedOutput.java | UTF-8 | 598 | 3.203125 | 3 | [] | no_license | package inputOutput;
import java.io.BufferedOutputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
public class BufferedOutput {
public static void main(String[] args) throws IOException
{
FileOutputStream fout = new FileOutputStream("C:\\User... | true |
e5b4c62d8de3f8618b6bd587aa23b1a5da4ae501 | Java | zhuning331/LBStest | /src/main/java/com/gorilla/myapp/service/impl/WorkspaceConfigServiceImpl.java | UTF-8 | 4,097 | 2.34375 | 2 | [] | no_license | package com.gorilla.myapp.service.impl;
import com.gorilla.myapp.service.WorkspaceConfigService;
import com.gorilla.myapp.domain.WorkspaceConfig;
import com.gorilla.myapp.repository.WorkspaceConfigRepository;
import com.gorilla.myapp.repository.search.WorkspaceConfigSearchRepository;
import com.gorilla.myapp.service.d... | true |
857cdcb4e23389be6ef1607119a418da938ac943 | Java | raphaelutfpr/aplicativo-mapeamento-origem-destino | /googleDirection/googledirectionlibrary/build/generated/source/apt/release/com/akexorcist/googledirection/model/Fare$$Parcelable.java | UTF-8 | 2,747 | 2.015625 | 2 | [] | no_license |
package com.akexorcist.googledirection.model;
import android.os.Parcelable;
import android.os.Parcelable.Creator;
import org.parceler.Generated;
import org.parceler.ParcelWrapper;
@Generated(value = "org.parceler.ParcelAnnotationProcessor", date = "2016-06-06T16:38-0300")
@SuppressWarnings({
"unchecked",
"de... | true |
9d47d4f83ed4c58f86e3c081e87467571e3f5823 | Java | chuzhonglingyan/AndroidAch | /app/src/main/java/com/yuntian/androidarch/ui/adapter/BasePagedListAdapter.java | UTF-8 | 2,334 | 2.4375 | 2 | [] | no_license | //package com.yuntian.androidnewarchitecture.ui.adapter;
//
//import android.view.ViewGroup;
//
//import androidx.annotation.NonNull;
//import androidx.recyclerview.widget.AsyncDifferConfig;
//import androidx.recyclerview.widget.DiffUtil;
//
///**
// * @author chulingyan
// * @time 2018/12/16 11:31
// * @describe
// */... | true |
2da40a9984f40d3b55c432bfad20bcf55566cf7c | Java | MartinGeisse/blob | /src/main/java/name/martingeisse/blob/gui/GuiRequestCycle.java | UTF-8 | 900 | 2.4375 | 2 | [] | no_license | /**
* Copyright (c) 2015 Martin Geisse
*
* This file is distributed under the terms of the MIT license.
*/
package name.martingeisse.blob.gui;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URL;
/**
* An object that contains all information regarding a request from the GUI system
* to... | true |
bd07f3a6af654d0e620d5bcabd8dfa4734a8f064 | Java | yijiansheng/storm_prect2 | /src/main/java/com/stormio/HuidiaoServerHandler.java | UTF-8 | 893 | 2.265625 | 2 | [] | no_license | package com.stormio;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;
import org.apache.log4j.Logger;
/**
* Author: changdalin
* Date: 2017/9/13
* Description:
**/
public class HuidiaoServerHandler extends ChannelInboundHandlerAdapter {
private static final... | true |
340433600ebcbeff6a46131678257c6b5c2dbf25 | Java | gsousa51/jukeboxProject | /src/view/SongSelectionButtonsPanel.java | UTF-8 | 5,116 | 3.3125 | 3 | [] | no_license |
/*
Gary Sousa & Stephen Nolan
CS 335
Spring 2017
Instructor: Rick Mercer
Assignment: Project 5 - Jukebox
Due: Friday 27 March 2017 @ 2:00p
This class creates a JPanel that allows Jukebox users select songs to play on a
Jukebox
*/
package view;
import java.awt.GridLayout;
import java.time.LocalDate;
import java.... | true |
bc2539c1afc810975bd14f33f87a3467b6d9810c | Java | tjwnstlr3459/oneday_eclipse | /networkServer/src/kh/java/run/Start.java | UTF-8 | 714 | 2.15625 | 2 | [] | no_license | package kh.java.run;
import kh.java.func.BaseBallServer;
import kh.java.func.ChattingServer;
import kh.java.func.SeoServer;
import kh.java.func.SeoServer2;
import kh.java.func.TcpServer;
import kh.java.func.UdpServer;
import kh.java.func.jihumBallServer;
public class Start {
public static void main(String[] args) {... | true |
10ab28f616d8eb4dcb995312511b44cb707b164b | Java | r1gabriela/reservaBackeEnd | /src/main/java/com/lpi/reserva/entity/DataComemorativa.java | UTF-8 | 1,446 | 1.890625 | 2 | [] | no_license | package com.lpi.reserva.entity;
import java.io.Serializable;
import java.sql.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persisten... | true |
4191d9c1ab00c84139efaf7e61009eaaa1db9074 | Java | barathgrylls/core-java-programs | /src/main/java/controller/Test.java | UTF-8 | 2,083 | 3.9375 | 4 | [] | no_license | package controller;
import java.util.Arrays;
public class Test {
public static void main(String[] args) {
/*
* Push all zeros to right in an array
* Input: arr[]={3,0,1,5,0,5}
Output: arr[]={3,1,5,5,0,0}
*/
int arr[] = {1, 9, 8, 4, 0, 0, 2, 7, 0, 6, 0, 9};
Sy... | true |
85239ce8d38987fee63564fb3596729ba3f7a0d9 | Java | lewky/education-management | /src/main/java/com/em/web/filter/CharacterEncodingFilter.java | UTF-8 | 1,725 | 2.25 | 2 | [] | no_license | // Copyright (c) 2018-2018 Lewis.Liu Limited. All rights reserved.
// ============================================================================
// CURRENT VERSION em.1.0.0
// ============================================================================
// CHANGE LOG
// em.1.0.0 : 2018-4-03, Lewis.Liu cremted
// =====... | true |
7b565c7e5bc174d7b45f5c671e56da17d6d48439 | Java | li20160503/dataexchange | /manager/src/main/java/cn/gov/bjsat/dexc/scheduler/SchedulerEntity.java | UTF-8 | 1,289 | 2.1875 | 2 | [] | no_license | package cn.gov.bjsat.dexc.scheduler;
import java.io.Serializable;
/**
* Created by grf11_000 on 2015/10/6.
*/
public class SchedulerEntity implements Serializable {
private String id;
/**
* 计划任务名称
*/
private String name;
private String instanceId;
private String cronexp;
private ... | true |
d505780e2f0ee030ca04c1c0a1147db77242d8a0 | Java | vitorqcq/orientacao-objeto-gwent | /gwentGame/src/main/java/gwent/CampoBatalha.java | UTF-8 | 521 | 1.546875 | 2 | [
"MIT"
] | 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 gwent;
/**
*
* @author kenne
*/
public class CampoBatalha {
private Carta[] listaCartas;
private int n... | true |
b4e89b2bf52f81bcbdc3b4fa82d4d5e34233c419 | Java | LHDXTan/Class-2 | /Ajax&EasyUI/T1/上机作业/AjaxT1-郭忠诚/src/dao/IBaseDao.java | UTF-8 | 136 | 1.632813 | 2 | [] | no_license | package dao;
import java.util.List;
public interface IBaseDao {
boolean checkuser(String uname);
List getAllCity(String proNo);
}
| true |
b89711742a837e5d7f47f6d8203cb52980f85f0e | Java | java66liu/platform | /platform-web/src/main/java/org/yixun/platform/web/crud/ProductController.java | UTF-8 | 3,194 | 2.09375 | 2 | [] | no_license | package org.yixun.platform.web.crud;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.inject.Inject;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import ... | true |
8607ddaeea69e6fb367450e46c5f7bdc44454c82 | Java | mateuscostaluz/curriculum-vitae | /src/main/java/com/curriculum/State.java | UTF-8 | 3,970 | 2.671875 | 3 | [] | no_license | package com.curriculum;
public enum State {
ACRE,
ALAGOAS,
AMAPA,
AMAZONAS,
BAHIA,
CEARA,
DISTRITOFEDERAL,
ESPIRITOSANTO,
GOIAS,
MARANHAO,
MATOGROSSO,
MATOGROSSODOSUL,
MINASGERAIS,
PARA,
PARAIBA,
PARANA,
PERNAMBUCO,
PIAUI,
RIODEJANEIRO,
RI... | true |
c0ca874c2be01fe8a592e8923f13a548b27dab81 | Java | marlon-Castano/protomueble | /ProyectoBases2/src/Modelo/DAO/ProductoDAO.java | UTF-8 | 16,894 | 2.203125 | 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 Modelo.DAO;
import Modelo.Producto;
import Modelo.Provedor;
import Modelo.conexion;
import java.sql.Connection;
import java.sq... | true |
790b9ebd4d57a5c6173e77aed943c38a0d199811 | Java | gonchik/atlassian-slack-integration-server | /jira-slack-server-integration/jira-slack-server-integration-plugin/src/main/java/com/atlassian/jira/plugins/slack/dao/impl/DedicatedChannelStore.java | UTF-8 | 1,578 | 2.375 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | package com.atlassian.jira.plugins.slack.dao.impl;
import com.atlassian.jira.plugins.slack.model.DedicatedChannel;
import com.atlassian.jira.plugins.slack.storage.json.JsonPropertyStoreStorageStrategy;
import com.atlassian.jira.plugins.slack.storage.json.JsonStoreFactory;
import org.springframework.beans.factory.annot... | true |
1ef8ea30890d6664b1b75b44ec3b6422b0852101 | Java | iedexmainclone/qa | /codenvy-ide-selenium/src/test/java/com/codenvy/ide/packageexplorer/PackageExplorerCopyAndPasteFromContextMenuTest.java | UTF-8 | 6,268 | 1.890625 | 2 | [] | no_license | /*
* CODENVY CONFIDENTIAL
* __________________
*
* [2012] - [2013] Codenvy, S.A.
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Codenvy S.A. and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Coden... | true |
803b2d000eb29aa01160352511981d526c1bd76f | Java | leiMsnow/Treasures | /treasure/src/main/java/com/droid/treasures/widget/SortGroup.java | UTF-8 | 4,331 | 2.421875 | 2 | [] | no_license | package com.droid.treasures.widget;
import android.content.Context;
import android.graphics.Color;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.view.Gravity;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import com.droid.treasures.R;
i... | true |
1213b4486810fd66ea34f3468b191414b3894625 | Java | pokuyo/jwt-token-filter-test | /src/main/java/kr/co/datarse/exception/ErrorCode.java | UTF-8 | 549 | 2.5625 | 3 | [] | no_license | package kr.co.datarse.exception;
public enum ErrorCode {
INVALID_PARAMETER(900, "1", "Invalid Request Data"),
EMAIL_DUPLICATION(400, "1", "email duplicated");
private final String code;
private final String message;
private final int status;
public String getCode() {
return code;
}
public String getMes... | true |
cdb844ddd61ea3756c3073be6b798555bc20fdb5 | Java | JoGusTor/SIMOS | /src/lindenmayerv1/pkg6/GestorProducciones.java | UTF-8 | 1,005 | 2.90625 | 3 | [] | no_license | package lindenmayerv1.pkg6;
import java.util.Vector;
public class GestorProducciones {
private Vector<Produccion> producciones = new Vector<Produccion>();
public GestorProducciones(){
}
public void agregarProduccion(Produccion prod){
producciones.add(prod);
}
public void borraProduccion(int pos){
pro... | true |
16adaf40e66536a29f88835f0cb7b584b0cec479 | Java | JuanjoMorell/citasWebJava | /src/main/java/com/example/citasWebJava/repository/ICitaDAO.java | UTF-8 | 279 | 1.664063 | 2 | [] | no_license | package com.example.citasWebJava.repository;
import com.example.citasWebJava.model.Cita;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface ICitaDAO extends JpaRepository<Cita, Long> {
}
| true |
3fd1b9a6d214c3e2d4eda5569ad296cd26364e6c | Java | VikingSanSav/Java | /src/main/java/home/Counter/SimpleCounterAtomic.java | UTF-8 | 360 | 2.34375 | 2 | [] | no_license | package home.Counter;
import java.util.concurrent.atomic.AtomicLong;
public class SimpleCounterAtomic extends SimpleCounter{
private AtomicLong val = new AtomicLong();
//private long t;
public long inc() {
return val.getAndIncrement();
//return val++;
}
@Override
public void ... | true |
2c2aac4c0a9b8194866001abca17b575f15ccb9c | Java | ananddtyagi/MHSCS | /AP CompSci/AP CompSci Summer/Tic-Tac-Toe/src/tic/tac/toe/ButtonPressed.java | UTF-8 | 965 | 2.296875 | 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 tic.tac.toe;
import java.awt.Graphics;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.aw... | true |
0914e54034b2b8e958f283c396eccaabd5c94211 | Java | cuba-platform/documentation | /content/manual/source/gui/url_route_generation2.java | UTF-8 | 77 | 1.742188 | 2 | [
"LicenseRef-scancode-unknown-license-reference",
"CC-BY-4.0"
] | permissive | String route = urlRouting.getRouteGenerator().getRoute(CustomerBrowse.class); | true |
59d47916b393c072791812a319db6b60395b3d20 | Java | elilerner/MusicEditor | /MusicEditor/src/cs3500/music/view/PianoGuiView.java | UTF-8 | 4,253 | 2.765625 | 3 | [] | no_license | package cs3500.music.view;
import java.awt.Rectangle;
import java.awt.Graphics;
import java.awt.Color;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import javax.swing.JPanel;
import cs3500.music.model.Note;
import cs3500.music.model.NoteValue;
import cs3500.music... | true |
5fd83779bbb1bc6885755da2cc57e72add8e4438 | Java | xuanphi99/PmQlyBanHang | /CNPMNhom09_QuanLyBanHang/src/nhom09/model/getDataDanhMucSanPham.java | UTF-8 | 2,003 | 2.546875 | 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 nhom09.model;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.Array... | true |
f2959b8aa880d11f34cc217fa0f4442f699747d5 | Java | KimJaeHyun94/CodingTest | /2021/src/M0327/주사위윷놀이링크드리스트.java | UTF-8 | 3,247 | 3.3125 | 3 | [
"MIT"
] | permissive | package M0327;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.StringTokenizer;
public class 주사위윷놀이링크드리스트 {
static int[] dice;
static int[] selections;
static Node[] markers;
static Node start;
static int ans;
... | true |
a77aec417b341b56288d8488f99aed4a0818b2d2 | Java | Wedeniwski/ZetaGrid | /zeta/example/ZetaTask.java | UTF-8 | 3,629 | 1.96875 | 2 | [] | no_license | /*--
This file is a part of ZetaGrid, a simple and secure Grid Computing
kernel.
Copyright (c) 2001-2005 Sebastian Wedeniwski. All rights reserved.
Use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. The source code must retain t... | true |
74cdd9503553311e6221fc4bd003e81ed470a248 | Java | soorajaj/call-card | /app/src/main/java/netfoxs/coms/callcarddialer/utils/Aboutus.java | UTF-8 | 2,132 | 2.390625 | 2 | [] | no_license | package netfoxs.coms.callcarddialer.utils;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.webkit.WebView;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdView;
import netfoxs.coms.callcarddialer.R;
... | true |
0736123252640bac1c0dbb066377ead9ed6114a1 | Java | google/bundletool | /src/test/java/com/android/tools/build/bundletool/splitters/SigningConfigurationVariantGeneratorTest.java | UTF-8 | 2,909 | 1.726563 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (C) 2020 The Android Open Source Project
*
* 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 app... | true |
e1cd37e4e1be7a6fec17d78845e58160a7067ade | Java | SomethingKindaWitty/FBU_Summer_Project | /app/src/main/java/me/caelumterrae/fbunewsapp/handlers/hexagon/InitialHandler.java | UTF-8 | 3,248 | 2.609375 | 3 | [
"MIT"
] | permissive | package me.caelumterrae.fbunewsapp.handlers.hexagon;
import android.content.Context;
import com.loopj.android.http.JsonHttpResponseHandler;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.HashMap;
im... | true |
3ce8cd10818bca1e8321c9387d4a7236155c2fc6 | Java | sorabh2008/react-java-full-stack-app | /app/server/src/main/java/com/example/demo/model/to/UserResponse.java | UTF-8 | 180 | 1.585938 | 2 | [] | no_license | package com.example.demo.model.to;
import java.util.List;
import com.example.demo.model.IResponse;
public class UserResponse extends IResponse{
public List<UserTO> response;
}
| true |
a4e31f1ecd7fe529f93846a6b8120bf6f39589aa | Java | AnanichEgor/Factory | /src/academy/belhard/entity/FullInfo.java | UTF-8 | 1,684 | 2.53125 | 3 | [] | no_license | package academy.belhard.entity;
import academy.belhard.util.TimestampUtil;
public class FullInfo {
private Batch batch;
private Production production;
private Factory factory;
public FullInfo(Batch batch, Production production, Factory factory) {
this.batch = batch;
this.production = ... | true |
be14605994000368ff2b55bb8d191ce57825ae89 | Java | camelexamples/camel-wordpress | /src/main/java/org/wordpress4j/service/impl/WordpressServiceCommentsAdapter.java | UTF-8 | 2,473 | 2.15625 | 2 | [
"Apache-2.0"
] | permissive | package org.wordpress4j.service.impl;
import static com.google.common.base.Preconditions.checkNotNull;
import java.util.List;
import org.wordpress4j.model.Comment;
import org.wordpress4j.model.CommentSearchCriteria;
import org.wordpress4j.model.Context;
import org.wordpress4j.service.WordpressServiceComments;
import... | true |
6d69f97d896b1c08a743457d06f2867d3991f0d7 | Java | APIEQUIPEAUTOMOTIVO/API-3SEM | /Codigo/rest-api/src/main/java/com/grupo2/API_TraceFinder/controller/dto/TracoArquivoRq.java | UTF-8 | 961 | 1.820313 | 2 | [] | no_license | package com.grupo2.API_TraceFinder.controller.dto;
public class TracoArquivoRq {
private Long tracoarquivoid;
private String tracoarquivonome;
private String tracoarquivodescricao;
private String tracoarquivocodigo;
public Long getTracoarquivoid() {
return tracoarquivoid;
}
public void setTracoarquivoid(Lon... | true |
9a45491a121b0b46d39aecb22d4e6602634f8ee7 | Java | BaseMax/PopularAndroidSource | /cab.snapp.passenger.play_184.apk-decompiled/sources/cab/snapp/d/c/a.java | UTF-8 | 962 | 2.25 | 2 | [] | no_license | package cab.snapp.d.c;
import cab.snapp.c;
import com.pusher.client.b;
final class a implements b {
/* renamed from: a reason: collision with root package name */
private c f226a;
a(c cVar) {
this.f226a = cVar;
}
public final String authorize(String str, String str2) throws com.pusher.... | true |
d897836e72155d5bf3dc9ec9f7d1050bcfdb775d | Java | vitalif/openesb-components | /ojc-core/workflowse/workflowseimpl/src/com/sun/jbi/engine/workflow/runtime/model/DefaultRuntimeTaskTimer.java | UTF-8 | 2,693 | 1.875 | 2 | [] | no_license | /*
* BEGIN_HEADER - DO NOT EDIT
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the "License"). You may not use this file except
* in compliance with the License.
*
* You can obtain a copy of the license at
* https://open-jbi-components.dev.java.... | true |
7aa9a131dc6a5be2d1329ab492ce8efdc62ec87a | Java | oolorg/ool-ofp-manager | /src/test/java/ool/com/ofpm/utils/ConfigImplTest.java | UTF-8 | 1,981 | 2.34375 | 2 | [] | no_license | /**
* @author OOL 1131080355959
* @date 2014/02/05
* @TODO TODO
*/
package ool.com.ofpm.utils;
import org.junit.Test;
/**
* @author 1131080355959
*
*/
public class ConfigImplTest {
/**
* Test method for {@link ool.com.ofpm.utils.ConfigImpl#ConfigImpl()}.
*/
@Test
public void testConf... | true |
3c7dc6a24fa85b6a79eedc24a6b1f40cec76b0a8 | Java | himanshu-gupta1/MerchantMicroservice | /MerchantMicroService/src/main/java/com/example/MerchantMicroService/controller/MerchantController.java | UTF-8 | 1,536 | 2.109375 | 2 | [] | no_license | package com.example.MerchantMicroService.controller;
import com.example.MerchantMicroService.dto.MerchantDTO;
import com.example.MerchantMicroService.entity.Merchant;
import com.example.MerchantMicroService.service.MerchantService;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.an... | true |
2738ad4b0a93ba9fa236e76f6217fcf68a49b76b | Java | thistehneisen/cifra | /src/apk/l/a/c/c/m.java | UTF-8 | 837 | 1.578125 | 2 | [] | no_license | package l.a.c.c;
import kotlin.e.a.b;
import kotlin.e.b.g;
import kotlin.e.b.h;
import kotlin.e.b.o;
import kotlin.g.e;
import l.a.d.b.a.c;
/* compiled from: Destroyable.kt */
final /* synthetic */ class m extends g implements b<Throwable, kotlin.m> {
/* renamed from: c reason: collision with root package name *... | true |
63773450950b48b38c371222952a1f6f69a38b39 | Java | Artibap11/Test | /practice/src/practice/array2.java | UTF-8 | 508 | 2.296875 | 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 practice;
import java.util.Arrays;
public class array2 {
public static void main(String[] args){
String []n... | true |
8a5d7cdc4a40a21267a6abd85156f01c4709a767 | Java | 353557447/HelperShop | /app/src/main/java/com/shuiwangzhijia/shuidian/newmodule/fragment/RegularListFragment.java | UTF-8 | 714 | 1.835938 | 2 | [] | no_license | package com.shuiwangzhijia.shuidian.newmodule.fragment;
import android.support.v4.app.Fragment;
import android.view.View;
import com.shuiwangzhijia.shuidian.R;
import com.shuiwangzhijia.shuidian.base.BaseLazyFragment;
import com.shuiwangzhijia.shuidian.base.FndViewInject;
/**
* A simple {@link Fragment} subclass.
... | true |
2cdf7a6e49d72c846676304276999d6de97e004c | Java | Demonfail/AnarchyEngine | /src/main/java/engine/gl/mesh/Vertex.java | UTF-8 | 4,345 | 2.96875 | 3 | [
"BSD-3-Clause"
] | permissive | package engine.gl.mesh;
import java.util.Arrays;
import org.joml.Vector3f;
public class Vertex {
// Vertex data
private float[] v_xyz = new float[] {0f, 0f, 0f};
private float[] n_xyz = new float[] {1f, 1f, 1f};
private float[] rgba = new float[] {1f, 1f, 1f, 1f};
private float[] st = new float[] {0f, 0f};
//... | true |
c27e2d09ded7125dae2edc67016cab16f0852694 | Java | mobpshyco98/online-ayurveda | /OnlineAyurveda/src/main/java/com/cg/oam/dao/IMedicineDao.java | UTF-8 | 720 | 2.09375 | 2 | [] | no_license | package com.cg.oam.dao;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import com.cg.oam.entities.Medicine;
@Repositor... | true |
43d986b6fe9a62aff4b25574077ec82464fa256f | Java | robjg/oj-doc | /src/main/java/org/oddjob/doc/doclet/CustomTagNames.java | UTF-8 | 1,911 | 2.546875 | 3 | [
"Apache-2.0"
] | permissive | package org.oddjob.doc.doclet;
/**
* Constants for Oddjob's custom Javadoc tags used to build the
* Oddojob Reference.
*
* @author rob
*
*/
public interface CustomTagNames {
String EOL = System.getProperty("line.separator");
/**
* Provide a description of the job or value.
*/
String DESCRIPTION_TAG_N... | true |
dfc503ceda56f1990690314dd706df851ad2e5f6 | Java | SXiang/JUnitWebTest | /selenium-wd/tests/surveyor/dataprovider/FEQReportDataProvider.java | UTF-8 | 1,320 | 1.960938 | 2 | [] | no_license | package surveyor.dataprovider;
import org.junit.runner.notification.RunNotifier;
import org.junit.runners.model.InitializationError;
import com.tngtech.java.junit.dataprovider.DataProvider;
import surveyor.scommon.entities.CustomerSurveyInfoEntity;
import surveyor.scommon.generators.CustomerSurveyInfoBuilder;
import... | true |