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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
ea8687bda96887a8a4958a53b15bdabd58b113b6 | Java | daaviidm10/ProgramacionClase2 | /src/com/programacion/segundaEval/Boletin12/Garaje.java | UTF-8 | 1,137 | 3.03125 | 3 | [] | no_license | package com.programacion.segundaEval.Boletin12;
import javax.swing.JOptionPane;
public class Garaje {
private int numeroCoche;
private float horas,recibido;
private String coche;
public Garaje() {
}
public int getNumeroCoche() {
return numeroCoche;
}
public void setNumeroCoche(int numeroCoche) {
this.numeroCoche ... | true |
2c29a234e637ae38bc22622e8d209b4fcc1058fc | Java | ayebiahwea/mapbox-navigation-android | /libandroid-navigation/src/main/java/com/mapbox/services/android/navigation/v5/navigation/SdkVersionChecker.java | UTF-8 | 433 | 2.109375 | 2 | [
"MIT"
] | permissive | package com.mapbox.services.android.navigation.v5.navigation;
public class SdkVersionChecker {
private final int currentSdkVersion;
public SdkVersionChecker(int currentSdkVersion) {
this.currentSdkVersion = currentSdkVersion;
}
public boolean isGreaterThan(int sdkCode) {
return currentSdkVersion > s... | true |
bb9c590f91f8e18978d4cc20bd3f950a77d82cf6 | Java | marcin-kosmalski/jee | /jeetest2/src/main/java/cdi/events/EmProducer.java | UTF-8 | 463 | 2.328125 | 2 | [] | no_license | package cdi.events;
import javax.enterprise.inject.Produces;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.PersistenceUnit;
public class EmProducer {
@PersistenceUnit(unitName = "MyPU")
private EntityManagerFactory entityManagerFactory;
@Produces
... | true |
6dd007c454da54a4abb820903b213f1269cdc89b | Java | ivanxavier7/LaboratorioProgramacao | /Loto_Entrega3/JogoLoto_Monitor/src/gui/components/Bars.java | ISO-8859-1 | 3,194 | 2.71875 | 3 | [] | no_license | package gui.components;
import application.Jogo;
import gui.util.Controller;
import javafx.beans.property.StringProperty;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
import javafx.scene.layout.FlowPane;
import javafx.scene.layout.GridPane;
import javafx.stage.Stage;
import model.entities.... | true |
43f3387b6b3295672b326f8bd0b537f12075e4cc | Java | P79N6A/icse_20_user_study | /methods/Method_1004245.java | UTF-8 | 96 | 2.390625 | 2 | [] | no_license | private static String pretty(Object obj){
return obj != null ? obj + "" : "not configured";
}
| true |
5b531dd95edb67d2aadffd86ccf514056b7f6683 | Java | licengceng/LianXi | /IdeaProjects/HolidayOne/src/February_14/文件.java | UTF-8 | 986 | 3.765625 | 4 | [] | no_license | package February_14;
import java.io.File;
//创建这个file后,只是封装了这个路径,与磁盘路径是否有这个文件无关
//文件和文件夹都是用File代表 使用绝对路径或者相对路径创建File对象
public class 文件 {
public static void main(String[] args) {
// 绝对路径
File f1 = new File("d:/LOLFolder");
System.out.println("f1的绝对路径:" + f1.getAbsolutePath());
System... | true |
b0c260dd6b3dde310df72e9b2584eaa468d78eaa | Java | Volnus/Calculate-3-Scores-Get-Average | /ScottHartley_Lab03_TestScores.java | UTF-8 | 1,071 | 3.796875 | 4 | [] | no_license | import javax.swing.JOptionPane;
/**
* Scott Hartley
*
* This program calculates the average of 3 tests scores.
*
*/
public class ScottHartley_Lab03_TestScores {
public static void main (String [] args){
double score1; // Holds First Score
double score2; // Holds Second Score
double score3; // Holds Third ... | true |
572797a10af26b1342b4f1e72cf066eac925fc42 | Java | AndreLautee/SailingCourseLayoutApp | /app/src/main/java/com/example/sailinglayoutapp/NavMapGLRenderer.java | UTF-8 | 12,320 | 2.234375 | 2 | [] | no_license | package com.example.sailinglayoutapp;
import android.location.Location;
import android.location.LocationManager;
import android.opengl.GLES20;
import android.opengl.GLSurfaceView;
import android.opengl.Matrix;
import android.util.Log;
import java.util.ArrayList;
import java.util.List;
import javax.microedition.khro... | true |
b15cdbeeb7364b3c5141575fadf1fcb9ac438051 | Java | herdebran/gestamboWeb | /cristalView/src/main/java/ar/com/cristal/creditos/client/service/UsuarioRPCService.java | UTF-8 | 2,252 | 1.882813 | 2 | [] | no_license | package ar.com.cristal.creditos.client.service;
import java.util.List;
import ar.com.cristal.creditos.client.accesibilidad.ComponenteDePantallaDto;
import ar.com.cristal.creditos.client.accesibilidad.PerfilesDto;
import ar.com.cristal.creditos.client.dto.EstablecimientoDTO;
import ar.com.cristal.creditos.clien... | true |
43f54fe5d426cbb0be616401b2a6127c47621f78 | Java | jTrader17/Java_Apps_CS_372 | /HW_3/PR3_1/src/pr3_1/Data.java | UTF-8 | 1,309 | 3.609375 | 4 | [] | 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 pr3_1;
import java.util.ArrayList;
import java.util.Scanner;
/**
*
* @author jtrader17
* @version 1
*/
public class Data ... | true |
a4bdcdc38b90e64e4e60d9c93aae56488da0dbc5 | Java | jwnichols3/esm-essb | /platform/Monitoring/src/com/bgi/esm/monitoring/platform/notifier/.svn/text-base/OviNotifier.java.svn-base | UTF-8 | 4,692 | 2.078125 | 2 | [] | no_license | package com.bgi.esm.monitoring.platform.notifier;
import java.io.BufferedWriter;
import java.io.FileWriter;
import javax.jms.Message;
import javax.jms.MessageListener;
import javax.jms.Session;
import javax.jms.TextMessage;
import javax.jms.Topic;
import javax.jms.TopicConnection;
import javax.jms.TopicConnectionFact... | true |
7321308e3610fc7584ad835b62c6dd0ca0cd8079 | Java | develician/android-homework-resolver | /app/src/main/java/com/killi8n/contentresolver/contentresolverexample/CRActivity.java | UTF-8 | 5,426 | 2.25 | 2 | [] | no_license | package com.killi8n.contentresolver.contentresolverexample;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.DialogInterface;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.support.v4.widget.SimpleCursorA... | true |
681e9ba07efdfaa40a010a8df2dc08446a1fb3af | Java | AcademyCity/SSM- | /src/main/java/com/paymanage/serviceImpl/UserServiceImpl.java | UTF-8 | 562 | 1.742188 | 2 | [] | no_license | package com.paymanage.serviceImpl;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.paymanage.entity.User;
import com.paymanage.mapper.UserMapper;
import com.paymanage.service.IUserService;
@Service("userService")
public class UserServiceImpl implements IUserSer... | true |
e756df3617001dafdedc10081dd14d5a4d8b221b | Java | bagasdany/Android-Studio-Retrofit-Login-dan-Registrasi-dengan-MySQL-Database | /app/src/main/java/com/example/nayatiapp/MainActivity2.java | UTF-8 | 1,638 | 2.265625 | 2 | [] | no_license | package com.example.nayatiapp;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import com.example.nayatiapp.APIPackage.ApiClient;
import com.example.nayatiapp.APIPackage.ApiInterface;
import com.example.nayatiapp.LoginPackage.PrefConfig;
import com.example.nayatiapp.LoginPackage.Registrati... | true |
65087c0d96aa4e8829db193af3314dff71c2beb6 | Java | venuscupid/LeetcodeInEclipse | /src/v2/P21_GenerateParentheses.java | UTF-8 | 1,481 | 3.421875 | 3 | [] | no_license | package v2;
import java.util.ArrayList;
//
//修改了无数回, submit了无数回
//错误!应该先建立test case,写完后测一下,在submit,否则面试官早就不接受了
//所以有时候在纸上写反而好,因为在电脑上写,会一上来就写代码,忘记先想测试用例,或者写好后迫不及待想看正不正确,从而懒得测试
public class P21_GenerateParentheses
{
public ArrayList<String> generateParenthesis(int n) {
if(n == 0) return null;
ArrayLis... | true |
42d9a00ff1270a18339845b1baa2528189e46e3f | Java | Prashanth320/01-Assignment | /FindSumpaires.java | UTF-8 | 486 | 3.21875 | 3 | [] | no_license | package com.pr.ArrAss;
public class FindSumpaires {
public static void findPairs(int a[], int n) {
System.out.println("Pairs of elements whose sum is " + n + " are : ");
for (int i = 0; i < a.length; i++) {
for (int j = i + 1; j < a.length; j++) {
if (a[i] + a[j] == n) {
System.out.println... | true |
c4863899bace5c8dc374906c8ac2284e73561c59 | Java | David-BIQI/shiro | /src/main/java/com/biqi/web/PageJumpController.java | UTF-8 | 614 | 1.773438 | 2 | [] | no_license | package com.biqi.web;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* @author xiebq 2018/10/16
*/
@Controller
@Slf4j
@Api(tags = {"页面跳转Api文档"})
public class PageJumpController ... | true |
9edcd7df6cdb979409b367383365de151d57faa4 | Java | miaoyunchun/clb-api | /clb-provider/src/main/java/com/clps/dp/service/impl/DpGxwfinstStlServiceImpl.java | UTF-8 | 8,191 | 1.851563 | 2 | [] | no_license | package com.clps.dp.service.impl;
import java.math.BigDecimal;
import java.text.DecimalFormat;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.alibaba.dubbo.config.annotation.Reference;
import com.clps.gb.service.TxnJourGenService;
import org.slf4j.Logger;
import org.slf4j.LoggerFact... | true |
90a9a3c2906d044c2489eed42a61139b06386535 | Java | privacyidea/privacyidea-authenticator | /app/src/main/java/it/netknights/piauthenticator/services/FCMReceiverService.java | UTF-8 | 11,066 | 1.671875 | 2 | [
"MIT",
"Apache-2.0"
] | permissive | /*
privacyIDEA Authenticator
Authors: Nils Behlen <nils.behlen@netknights.it>
Copyright (c) 2017-2019 NetKnights GmbH
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.apac... | true |
b5074881aec105e3960c68e6e958ae0c0bb5b2ef | Java | nathalapooja/careership-master | /CareerShip/src/main/java/com/vjf/car/model/JobSeekerLogin.java | UTF-8 | 1,237 | 2.421875 | 2 | [] | no_license | package com.vjf.car.model;
public class JobSeekerLogin {
public String jName;
public String jPassword;
@Override
public String toString() {
return "JobSeekerLogin [jName=" + jName + ", jPassword=" + jPassword + "]";
}
public String getjName() {
return jName;
}
public void setjName(String jName) {
... | true |
e67e527a2e2e13f0a2426527da7edf3164c957a2 | Java | ShohichiNaitoh/JAVA_TRAINING | /java_training/JPL/ch16/ex16_03/ClassContents.java | UTF-8 | 1,285 | 3.75 | 4 | [] | no_license | package ch16.ex16_03;
import java.lang.reflect.Member;
import java.util.ArrayList;
public class ClassContents {
private static ArrayList<String> memberList = new ArrayList<String>();
/**
* @param args
*/
public static void main(String[] args) {
try{
Class<?> c = Class.forName(args[0]);
S... | true |
fcd6b6a56c73feb786269647aa0b25ea152e5abe | Java | jasokan/myplayground | /java-examples/src/test/java/com/jasokan/samples/JPower2.java | UTF-8 | 411 | 3.3125 | 3 | [] | no_license | package com.jasokan.samples;
import java.util.Scanner;
/**
* @author jasokan
*
*/
public class JPower2 {
public static void main(String[] args) {
Scanner userInput = new Scanner(System.in);
int inputNumber = userInput.nextInt();
if(Integer.bitCount(inputNumber) == 1) {
System.out.println("Power of... | true |
d446c6a14cc22549af3354b2a442763ff870d6b0 | Java | dlghrms1992/DesignPatternStudy | /DesignPattern/src/FactoryPattern/FactoryPattern.java | UHC | 2,886 | 4.03125 | 4 | [] | no_license | package FactoryPattern;
/*
* ̿Ѵ ü
* 丮 - ٲ κ ĸȭ϶
* 丮 ҵ - 丮 ҵ Ͽ ü ϱ ̽ ϴµ Ŭ νϽ
* 丮 - ̽ ̿Ͽ , Ǵ ϴ ü Ŭ ʰ ִ.
* Ŭ ϰ , 丮 ҵ ̿ϸ Ŭ νϽ Ŭ ñ .
*
* Ŭ νϽ κ ãƳ ø̼ κκ и/ĸȭų ִ ? ü 丮
* 丮 Ͽ ü ĸȭѴ. 丮 ҵ Ͽ Ŭ Ŭ ϰ ν ü ĸȭѴ.
* ǰ, ΰ Ŭ ִٰ ϸ, Ŭ غ
*
* Ģ - ȭ Ϳ ϵ . Ŭ ϵ ʵ Ѵ.
* 丮 vs 丮
* - 丮 ... | true |
27f579be889165401eaa18988e426b77ab946fe6 | Java | along1013/Observer | /src/main/java/ConcreateObserver.java | UTF-8 | 174 | 2.3125 | 2 | [] | no_license | /**
* Created by mangguo on 2016/4/25.
*/
public class ConcreateObserver implements Observer {
public void update(String str) {
System.out.printf(str);
}
}
| true |
6757f3d93809c7b21c3fb8eae69c690368c5ac15 | Java | spring-projects/spring-data-examples | /jpa/deferred/src/main/java/example/service/Customer243Service.java | UTF-8 | 221 | 1.65625 | 2 | [
"Apache-2.0"
] | permissive | package example.service;
import example.repo.Customer243Repository;
import org.springframework.stereotype.Service;
@Service
public class Customer243Service {
public Customer243Service(Customer243Repository repo) {}
}
| true |
fbed3b5c280b02cf017eb9edd89ab8f19e422cfd | Java | MayurSTechnoCredit/JAVATechnoJuly2021 | /src/akanksha_Jain/Assignment_34/Program_2.java | UTF-8 | 1,271 | 3.640625 | 4 | [] | no_license | /* Assignment - 34 : 11th Sep'2021
program 2 : place sum of triple after each triple which in sequence.
input = {1,3,4,5,7,3,9,10,11,14,44,67,1,2,3,99};
output = [1,3,4,5,12,7,3,9,10,11,30,14,44,67,1,2,3,6,99];
*/
package akanksha_Jain.Assignment_34;
import java.util.Arrays;
public class Program_2 {
int getTriple... | true |
45bb157d852ccd8197b6e12cb6c82bee60dd4561 | Java | cckmit/cuppy | /hybris/bin/ext-integration/sap/productconfig/ysapproductconfigb2baddon/acceleratoraddon/web/src/de/hybris/platform/sap/productconfig/frontend/controllers/ConfigureProductController.java | UTF-8 | 5,902 | 1.523438 | 2 | [] | no_license | /*
* [y] hybris Platform
*
* Copyright (c) 2000-2016 hybris AG
* All rights reserved.
*
* This software is the confidential and proprietary information of hybris
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the terms of the
* li... | true |
3aaf3b9a3f724f77ff9491720da1a7e96e803d9e | Java | nimacgit/AP-assignment | /src/model/shape/animation/RectScale.java | UTF-8 | 6,111 | 2.28125 | 2 | [] | no_license | package model.shape.animation;
import model.shape.Rectangle;
import javax.swing.*;
import java.awt.*;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import static model.panels.ViewPanel.isAnimating;
public class RectScale extends Animation {
double scale = 2;
JTextField... | true |
11f7f2b023300cbcec0845d09a161e11bb77dc63 | Java | LWJGL/lwjgl3 | /modules/samples/src/test/java/org/lwjgl/demo/nuklear/GLFWDemo.java | UTF-8 | 25,552 | 2.03125 | 2 | [
"LGPL-2.0-or-later",
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | /*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
*/
package org.lwjgl.demo.nuklear;
import org.lwjgl.glfw.*;
import org.lwjgl.nuklear.*;
import org.lwjgl.opengl.*;
import org.lwjgl.stb.*;
import org.lwjgl.system.*;
import java.io.*;
import java.nio.*;
import java.util.*;
i... | true |
4d2bee0a915b94e6d613b9515c71220aaf536dac | Java | goncalvesmail/archeionweb | / archeionweb/ArcheionWeb/ArcheionNegocio/src/br/com/archeion/negocio/enderecocaixa/EnderecoCaixaBOImpl.java | UTF-8 | 3,341 | 2.125 | 2 | [] | no_license | package br.com.archeion.negocio.enderecocaixa;
import java.sql.Connection;
import java.util.HashMap;
import java.util.List;
import net.sf.jasperreports.engine.JRException;
import util.Relatorio;
import br.com.archeion.exception.BusinessException;
import br.com.archeion.exception.CadastroDuplicadoException;
... | true |
08609569950fbe94aab12d72d016aa6d8c81dbd6 | Java | nojiro15/Empleo-Digital-Fundacion-Telefonica | /JAVA/Inmobiliaria/src/Inmobiliaria/InmuebleEnAlquiler.java | ISO-8859-1 | 1,298 | 3.109375 | 3 | [] | no_license | package Inmobiliaria;
public class InmuebleEnAlquiler extends Inmueble{
private double precioAlquiler;
/**
* Constructores
*/
public InmuebleEnAlquiler(){
}
public InmuebleEnAlquiler(double superficie, boolean edificable, String direccion,String propietario, double precioAlquiler){
super(superficie,e... | true |
954f0d8a531b4469176a1ba571e49e0256abd4e5 | Java | abhilashgowda/chargeback-batch | /src/main/java/com/chargeback/batch/processor/PollingJobReader.java | UTF-8 | 1,576 | 2.4375 | 2 | [] | no_license | package com.chargeback.batch.processor;
import java.util.List;
import org.springframework.batch.item.ItemReader;
import org.springframework.batch.item.NonTransientResourceException;
import org.springframework.batch.item.ParseException;
import org.springframework.batch.item.UnexpectedInputException;
import org.springf... | true |
f984b99544882882e5eb93a2f76fcac4fd450bda | Java | geekjuruo/THUSIGS_OOP | /EXP3_4/src/decorator.java | UTF-8 | 392 | 2.6875 | 3 | [] | no_license | // 装饰类
public class decorator {
public void chooseBrix(milkTea milktea, String brix) {
milktea.brix = brix;
}
public void chooseIce(milkTea milktea, String ice) {
milktea.ice = ice;
}
public void chooseMaterial(milkTea milktea, String material) {
milktea.material = material;
}
public void chooseSca... | true |
ce3ba3aef0cd9f9d0c040fea35cb9ad04a2888ed | Java | abelidze/planner-server | /app/src/main/java/com/skillmasters/server/http/response/EventPatternResponse.java | UTF-8 | 269 | 1.84375 | 2 | [
"MIT"
] | permissive | package com.skillmasters.server.http.response;
import com.skillmasters.server.model.EventPattern;
public class EventPatternResponse extends Response<EventPattern, EventPatternResponse>
{
public EventPatternResponse()
{
super(EventPatternResponse.class);
}
} | true |
31d9e404704aca31c64f88fcd5d63b89436550a5 | Java | zzking1989/zongxiang | /src/main/java/com/zx/utils/WaterMarkGenerate.java | UTF-8 | 4,057 | 2.78125 | 3 | [
"MIT"
] | permissive | //package com.zx.utils;
//
//import com.sun.image.codec.jpeg.JPEGCodec;
//import com.sun.image.codec.jpeg.JPEGImageEncoder;
//
//import javax.imageio.ImageIO;
//import java.awt.*;
//import java.awt.image.BufferedImage;
//import java.io.File;
//import java.io.FileOutputStream;
//
///**
// * 添加水印类
// */
//public class Wa... | true |
4f381aa32a76b7582ea0d4b74c342fd63e7bf605 | Java | Georgi768/Data-processing | /Api/src/main/java/com/example/Api/WorldHappines/WorldHappinessController.java | UTF-8 | 3,258 | 2.15625 | 2 | [] | no_license | package com.example.Api.WorldHappines;
import com.example.Api.Covid.Covid19;
import com.example.Api.Exception.AlreadyExistException;
import com.example.Api.Exception.DoesNotExistException;
import com.example.Api.XmlJsonValidator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.d... | true |
36dbb5abf6d87ef5f70eadefe6d102f59c077fc6 | Java | Nishantkumar200/MiwokApp | /app/src/main/java/com/example/miwokapp/ColorsActivity.java | UTF-8 | 1,970 | 2.046875 | 2 | [] | no_license | package com.example.miwokapp;
import androidx.appcompat.app.AppCompatActivity;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import java.util.ArrayList;
import java.util.List... | true |
de0429d2879d6f9bd16007d14ccae070a0bc4c29 | Java | rqshen/FuliDemo | /bcb/src/main/java/com/bcb/module/myinfo/myfinancial/myfinancialstate/MyFinancialStateFragment.java | UTF-8 | 6,028 | 1.960938 | 2 | [] | no_license | package com.bcb.module.myinfo.myfinancial.myfinancialstate;
import android.content.Context;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.view.ViewPager;
import android.util.DisplayMetrics;
import android.view.LayoutInflater;
import android.v... | true |
cb6f40f9c2b4e865938d5ae60d0de3d7c751417c | Java | patrikkj/blackbird | /src/main/models/Period.java | UTF-8 | 1,934 | 3.328125 | 3 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | package main.models;
/**
* Datamodel of an assistant-period.
* @author Sebastian
*/
public class Period {
private int periodID;
private String courseCode;
private String timeStamp; // timeStamp is on format 'yyyy-mm-dd hh:mm:ss' f.eks '2019-02-15 11:44:19'
private String professorUsername;
private ... | true |
be9c994a247425d5b9cb579015fc6f19e256c54b | Java | wexpect/leetcode | /82_Remove_Duplicates_from_Sorted_List_II.java | UTF-8 | 1,503 | 3.65625 | 4 | [] | no_license | Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.
For example,
Given 1->2->3->3->4->4->5, return 1->2->5.
Given 1->1->1->2->3, return 2->3.
/**
* Definition for singly-linked list.
* public class ListNode {
* int val;
* ListNo... | true |
933650e1d3d140d234c82190bf6f516829f7a688 | Java | mohamedT199/cinema | /app/src/main/java/com/example/posts/model/DataRealTime.java | UTF-8 | 994 | 2.296875 | 2 | [] | no_license | package com.example.posts.model;
public class DataRealTime {
String email , password , nickName , imageResource ;
public DataRealTime(String email, String password, String nickName, String imageResource) {
this.email = email;
this.password = password;
this.nickName = nickName;
... | true |
aeb55f6e4c881cfcc7e0e4cb08cdde470e884489 | Java | yolen/zhuantouren | /Android/BrickMan/app/src/main/java/com/brickman/app/module/main/MainActivity.java | UTF-8 | 11,247 | 1.679688 | 2 | [] | no_license | package com.brickman.app.module.main;
import android.Manifest;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.Toolbar;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.Fra... | true |
c972df080b1dc99658cedcd8e19bcb5fcb3ef122 | Java | dbeaver/cloudbeaver | /server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/service/sql/WebSQLQueryResultColumn.java | UTF-8 | 3,420 | 1.53125 | 2 | [
"Apache-2.0"
] | permissive | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2023 DBeaver Corp and others
*
* 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/LICE... | true |
a3a6e743411327342e5eb45aca3c9ac20c5e61b8 | Java | thecuriousvector/Big-Data-ML-Systems | /Assignment 1a/Hadoop/2b/Average/src/AverageMapper.java | UTF-8 | 1,319 | 2.328125 | 2 | [] | no_license | import java.io.IOException;
import java.util.StringTokenizer;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.DoubleWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import org.apache.h... | true |
a6af62290d14d973a3cf3a90035b251c59e9a66d | Java | AustinGrey/crapo-CountBook | /app/src/main/java/com/example/corey/crapo_countbook/CounterStore.java | UTF-8 | 3,474 | 2.921875 | 3 | [] | no_license | /*
* CounterStore
*
* V 1.0
*
* September 27 2017
*
* Copyright (c) 2017. Austin Crapo. Permission is granted to the University of Alberta to
* compile, run, inspect or edit the code as required for grading purposes.
*/
package com.example.corey.crapo_countbook;
import android.content.Context;
import com.goo... | true |
eb0ff17175b4256072a90fab2deeb43197adf1ae | Java | ticou973/Choeur | /app/src/main/java/dedicace/com/data/database/Spectacle.java | UTF-8 | 3,366 | 2.25 | 2 | [] | no_license | package dedicace.com.data.database;
import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.Ignore;
import android.arch.persistence.room.Index;
import android.arch.persistence.room.PrimaryKey;
import java.util.ArrayList;
import java.util.Date;... | true |
94a835b63dcbf130a12ef5233e8edda636b4c8a0 | Java | sudheertalluri5/My_Java_Programs | /java_prog/CN-3.java | UTF-8 | 556 | 2.53125 | 3 | [] | no_license | class solution {
public static void main(String ar[]) throws InterruptedException
{
//Write code here
int sum=0,temp;
int arr[]={9,9,9};
for(int i=0;i<arr.length;i++){
sum+=arr[i];
}
System.out.println(sum);
while(sum%10!=sum){
temp=su... | true |
c8d7cff4e788f727b82bba67db4c1817e9ed6189 | Java | aisensiy/demo-for-jackson | /src/main/java/com/example/demo/OrderWithStatus.java | UTF-8 | 807 | 2.8125 | 3 | [] | no_license | package com.example.demo;
import java.util.Objects;
public class OrderWithStatus {
private OrderStatus status;
private String id;
public OrderWithStatus(String id, OrderStatus status) {
this.status = status;
this.id = id;
}
private OrderWithStatus() {
}
public OrderStat... | true |
1ca58a0bd92b2e133ac8d69637b7ea8863d5b676 | Java | windylcx/Dubbo-Spring-Mybatis-Generator | /generator-core/src/main/java/com/chunxiao/dev/config/dubbo/ProtocolConfig.java | UTF-8 | 590 | 2.1875 | 2 | [] | no_license | package com.chunxiao.dev.config.dubbo;
/**
* Created by chunxiaoli on 10/18/16.
*/
public class ProtocolConfig {
private String name;
private String owner;
private String port;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
... | true |
b2b347306bbb8c0a5452b90b61d4d649f974750c | Java | peng49/fly | /fly-web/src/main/java/fly/web/pojo/GiteeOauthResponse.java | UTF-8 | 709 | 1.703125 | 2 | [
"MIT"
] | permissive | package fly.web.pojo;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
@Data
public class GiteeOauthResponse {
/**
* "access_token": "xxxxxxxxxxxxxxxx",
* "token_type": "bearer",
* "expires_in": 86400,
* "refresh_token": "xxxxxxxxxxxxxxxxxxxxxxxxxx",
* "scope": "u... | true |
36046fe84a81f126e555ce9dac7e70d48a9c7a5e | Java | pippo1980/DynamicAttributes4JPA | /src/main/java/com/sirius/jpa/dynamic/attribute/EntityDynamicAttributePersister.java | UTF-8 | 3,293 | 2.375 | 2 | [] | no_license | package com.sirius.jpa.dynamic.attribute;
import org.hibernate.Session;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.Serializable;
import java.lang.reflect.Field;
import java.util.HashSet;
import java.util.Set;
public class EntityDynamicAttributePersister {
private static final Logger... | true |
fb11fe69fd5075b050a3862a35628da6678e83b0 | Java | wushangzhen/Projects | /lab3/src/OpPart.java | UTF-8 | 104 | 1.71875 | 2 | [] | no_license | package edu.neu.ccs.cs5010.lab3;
public interface OpPart {
public String asString(Visitor visitor);
}
| true |
28c497faea639997db911696d5a6c3965445a85e | Java | shreyas-redij/Neu_Hackers | /AdoptionApplication/src/userinterface/ParentsRole/ParentsWorkAreaJPanel.java | UTF-8 | 24,260 | 2.203125 | 2 | [
"GPL-1.0-or-later",
"GPL-2.0-only",
"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 userinterface.ParentsRole;
import static Business.ConfigureASystem.system;
import Business.Directory.BirthMother;
import Busin... | true |
1a5328e8bd31f2e256fb84f67ebb92683a9f9fb4 | Java | 851822132/my-springboot | /src/main/java/com/test/myspringboot/config/SwaggerConfig.java | UTF-8 | 2,021 | 2.234375 | 2 | [] | no_license | package com.test.myspringboot.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.builders.ApiInfoBuilder;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHandlerSel... | true |
3ac268f682f71d646d16dae22ac8f067838b8d79 | Java | fredska/Swarm | /Swarm/src/com/fska/swarm/entity/building/TownHall.java | UTF-8 | 702 | 2.5 | 2 | [
"Apache-2.0"
] | permissive | package com.fska.swarm.entity.building;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.math.Vector2;
import com.fska.swarm.entity.Building;
public class TownHall extends Buil... | true |
76fb10daa23ba298d3ee62061c04bfafbfea8ae1 | Java | rafaelweingartner/autonomiccs-platform | /autonomic-administration-plugin/src/main/java/br/com/autonomiccs/autonomic/administration/plugin/HypervisorManager.java | UTF-8 | 3,232 | 2.078125 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | /*
* This program is part of Autonomiccs "autonomic-platform",
* an open source autonomic cloud computing management platform.
* Copyright (C) 2016 Autonomiccs, Inc.
*
* Licensed to the Autonomiccs, Inc. under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work ... | true |
f733a61f0ef5f90c138ce222c22517c8b892a9d4 | Java | paulovictorcg/glam | /app/src/main/java/glam/android/minexp/glam/ui/Checkout.java | UTF-8 | 4,617 | 1.992188 | 2 | [] | no_license | package glam.android.minexp.glam.ui;
import android.annotation.SuppressLint;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.RecyclerView.Adapter;
import android.support.v7.wid... | true |
34de7a4ac3d44474fc93d5e40097de74e3f0acbc | Java | anhtuta/AndroidTutorial | /SQLiteDemo/main/java/com/bkhn/anhtu/sqlitedemo/MainActivity.java | UTF-8 | 5,886 | 2.296875 | 2 | [] | no_license | package com.bkhn.anhtu.sqlitedemo;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.ButtonBarLayout;
import android.support.v7.widget.ListViewC... | true |
73a3cac40b4b4ecfa449987131e2d1fd15de8c41 | Java | mohnish82/auto-oauth-token | /src/main/java/com/desasha/autooauthtoken/config/OidcConfig.java | UTF-8 | 896 | 1.859375 | 2 | [] | no_license | package com.desasha.autooauthtoken.config;
import com.desasha.autooauthtoken.oidc.OidcDiscoveryService;
import com.desasha.autooauthtoken.oidc.OidcMetadata;
import com.nimbusds.openid.connect.sdk.op.OIDCProviderMetadata;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation... | true |
d2b679bd75c8ddc936c1206c40209874c3d57ca1 | Java | natanielpaiva/connecta-framework | /connecta-connectors/src/main/java/br/com/cds/connecta/framework/connector/endeca/endeca_server/sconfig/_3/_0/ValidatedSemanticEntity.java | UTF-8 | 3,428 | 1.945313 | 2 | [] | no_license |
package br.com.cds.connecta.framework.connector.endeca.endeca_server.sconfig._3._0;
import br.com.cds.connecta.framework.connector.endeca.mdex.eql_parser.types.Query;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
im... | true |
0fde704b32c38fca969013bb63c4a25b9f8e8bd1 | Java | daiyongbing/JBlock | /src/main/java/jblock/app/JBlock.java | UTF-8 | 3,507 | 3.046875 | 3 | [
"Apache-2.0"
] | permissive | package jblock.app;
import akka.actor.ActorSystem;
import akka.actor.Address;
import jblock.app.system.ClusterSystem;
import java.util.*;
public class JBlock {
public static void main(String[] args){
//创建系统实例
ClusterSystem sys1 = new ClusterSystem("1",ClusterSystem.InitType.MULTI_INIT,true);
... | true |
40f14ba9a22d92c58a395e2a39c3298674479271 | Java | Somruethai02/Test_4jan | /app/src/main/java/com/example/rtc/somruethaianusa/test/b2Activity.java | UTF-8 | 682 | 1.757813 | 2 | [] | no_license | package com.example.rtc.somruethaianusa.test;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageButton;
public class b2Activity extends AppCompatActivity {
@Override
protected void onCreate(Bundle sav... | true |
9fd0764efc82668ceba97f633f22225654dc929f | Java | sawaikatyou/ContentProviderTest | /app/src/androidTest/java/com/sasakik/contentprovidertest/provider/MyMockContentResolver.java | UTF-8 | 943 | 2.015625 | 2 | [] | no_license | package com.sasakik.contentprovidertest.provider;
import android.content.ContentProvider;
import android.content.Context;
import android.content.pm.ProviderInfo;
import com.sasakik.contentprovidertest.provider.DBConstants;
import com.sasakik.contentprovidertest.provider.MainContentProvider;
/**
* Created by nine_ey... | true |
e25045efa954a9530b3055b1366e4c5507b30fe3 | Java | arcus-smart-home/arcusplatform | /platform/arcus-containers/platform-services/src/test/java/com/iris/platform/services/hub/TestHubRegistry.java | UTF-8 | 18,642 | 1.648438 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2019 Arcus 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 applicable law or agreed to ... | true |
bdaba5e70fd1dcfbb47fbef618221c9471271c9b | Java | jasonakon/javafx_crypto_app | /src/main/java/org/example/crypto/PgpFileHelper.java | UTF-8 | 11,141 | 2.109375 | 2 | [] | no_license | package org.example.crypto;
import org.bouncycastle.bcpg.ArmoredOutputStream;
import org.bouncycastle.bcpg.HashAlgorithmTags;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.bouncycastle.openpgp.*;
import org.bouncycastle.openpgp.operator.PGPContentSignerBuilder;
import org.bouncycastle.openpgp.o... | true |
f9a3fdac88c271bc38e747d4722c3557de188e0c | Java | E-System/common-lib | /src/main/java/com/es/lib/common/email/EmailMessageBuilder.java | UTF-8 | 3,745 | 2.015625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2016 E-System LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | true |
5b1c4124ac395078ab05c97108667779e83c999f | Java | doczir/DistributedRayTracer | /Common/src/com/base/raytracer/math/TransformUtils.java | UTF-8 | 5,024 | 2.90625 | 3 | [
"MIT"
] | permissive | package com.base.raytracer.math;
/**
* @author Róbert Dóczi
* Date: 2014.12.22.
*/
public final class TransformUtils {
private static Matrix4 tempMat = new Matrix4();
private TransformUtils() {
}
public static Matrix4 createTranslation(Vector3 translation) {
Matrix4 result = tempMa... | true |
f09a9fa828fe2bb7ffd881bbcfd4aca0607662d4 | Java | tsuzcx/qq_apk | /com.tencent.mobileqqi/classes.jar/SecurityAccountServer/MobileContactsDetailInfo.java | UTF-8 | 3,332 | 1.882813 | 2 | [] | no_license | package SecurityAccountServer;
import com.qq.taf.jce.JceInputStream;
import com.qq.taf.jce.JceOutputStream;
import com.qq.taf.jce.JceStruct;
public final class MobileContactsDetailInfo
extends JceStruct
{
public String QQ = "";
public int accountAbi = 0;
public long bindingDate = 0L;
public long... | true |
4222e4ac001527f0e15dd52d88660e9ed7b1a076 | Java | anton-gabriel/tehnologii-web | /Macao/src/main/java/utils/GameLogger.java | UTF-8 | 1,447 | 3.09375 | 3 | [] | no_license | package utils;
import java.io.File;
import java.io.IOException;
import java.util.logging.FileHandler;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.logging.SimpleFormatter;
/**
* The type My logger.
*/
public class GameLogger {
static private GameLogger singleIns... | true |
b566a4ad86b6c331b14783ac708e7a9f3425182a | Java | alileohe/jingwei-all | /jingwei-webconsole/src/main/java/com/taobao/jingwei/webconsole/util/DataCacheMaintain.java | GB18030 | 6,313 | 1.898438 | 2 | [] | no_license | package com.taobao.jingwei.webconsole.util;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import com.taobao.jingwei.common.JingWeiConstants;
import com.taobao.jingw... | true |
97c76c88f5c19dbd266bf8f36a463c720b258066 | Java | sunhaipeng1997/npc_platform | /server/src/main/java/com/cdkhd/npc/api/SystemSettingApi.java | UTF-8 | 1,510 | 2.21875 | 2 | [] | no_license | package com.cdkhd.npc.api;
import com.cdkhd.npc.annotation.CurrentUser;
import com.cdkhd.npc.component.UserDetailsImpl;
import com.cdkhd.npc.entity.dto.LevelDto;
import com.cdkhd.npc.enums.LevelEnum;
import com.cdkhd.npc.service.SystemSettingService;
import com.cdkhd.npc.vo.RespBody;
import org.springframework.beans.... | true |
d8f699231b257618886d01481ee8d84a5f84172d | Java | aseparovic2/ChatApp-backend | /src/main/java/com/example/chat/task/service/ProjectServiceImpl.java | UTF-8 | 793 | 2.09375 | 2 | [] | no_license | package com.example.chat.task.service;
import com.example.chat.task.model.Project;
import com.example.chat.task.model.User;
import com.example.chat.task.repository.ProjectRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@... | true |
de46e47850209a29ed981633e6ebd327022651df | Java | dramane/ecolexpertEjb | /src/main/java/com/mycompany/ecolexpert/ejb/ViewFiliereEquipeFormationFacadeLocal.java | UTF-8 | 932 | 1.742188 | 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 com.mycompany.ecolexpert.ejb;
import com.mycompany.ecolexpert.jpa.ViewFiliereEquipeFormation;
import java.util.List;
... | true |
8a6ed27d7e619e5ea6074c793bbb771df79d7dea | Java | 857831494/gproject | /gproject-gate/src/main/java/com/gproject/gate/service/event/ThreadPoolService.java | UTF-8 | 432 | 2.015625 | 2 | [] | no_license | package com.gproject.gate.service.event;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import org.springframework.stereotype.Service;
@Service
public class ThreadPoolService {
final static int MAX_THREAD_NUM = 4;
private ExecutorService executorService = Executors.newFixedTh... | true |
59147c142842257359025856650e71f0d916d697 | Java | reachkrishnaraj/logline | /log/src/main/java/com/vijayrc/supportguy/processor/Processor.java | UTF-8 | 214 | 1.804688 | 2 | [] | no_license | package com.vijayrc.supportguy.processor;
import com.vijayrc.supportguy.domain.Logs;
import java.text.ParseException;
public interface Processor {
void process(Logs linePayload) throws Exception;
}
| true |
82a9873b58f93beb5f90ec23be096e1db4c31b51 | Java | TeAmigo/pts | /ptscharts/src/main/java/ptscharts/indicators/Indicator.java | UTF-8 | 6,413 | 2.046875 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ptscharts.indicators;
import com.tictactec.ta.lib.Core;
import com.tictactec.ta.lib.MAType;
import com.tictactec.ta.lib.MInteger;
import com.tictactec.ta.lib.RetCode;
import java.util.EnumSet;
/**
*
* @author... | true |
566db43dfb25143180a4358c4117eb1b059a2728 | Java | zhaowenfeng001/chezhihu | /src/main/java/com/ksc/kdts/taskmonitor/controller/DepartmentController.java | UTF-8 | 4,990 | 2.484375 | 2 | [] | no_license | package com.ksc.kdts.taskmonitor.controller;
import com.baomidou.mybatisplus.core.toolkit.CollectionUtils;
import com.ksc.kdts.taskmonitor.model.*;
import com.ksc.kdts.taskmonitor.service.DepartmentService;
import org.apache.commons.lang3.time.DateUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ... | true |
7b2f8bc1697ea5496d8d85cbebddc9c0f866f7ba | Java | jasencio/RentMap | /MainCore/src/com/consejo/cdi/general/impl/TestCierreSession.java | UTF-8 | 896 | 1.757813 | 2 | [] | no_license | package com.consejo.cdi.general.impl;
import javax.enterprise.context.RequestScoped;
import javax.faces.context.ExternalContext;
import javax.faces.context.FacesContext;
import javax.inject.Inject;
import javax.servlet.http.HttpSession;
import com.consejo.cdi.general.anotaciones.ITestCierreSession;
import co... | true |
d6b6c11d61d0828266ba102defb7d4be90bf08be | Java | G43riko/Bombercraft-2.0 | /src/main/java/org/bombercraft2/game/bots/BotPrototype.java | UTF-8 | 896 | 2.796875 | 3 | [] | no_license | package org.bombercraft2.game.bots;
import org.bombercraft2.core.Texts;
import org.json.JSONException;
import org.json.JSONObject;
public class BotPrototype {
private int speed;
private int maxHealth;
private int damage;
private BotFactory.Types type;
public... | true |
fa069626dc574226bdeb6c0963f173c92b2db29c | Java | ttthanhDC/BIDV-Tool | /BE/BIDVTool/src/main/java/com/ngs/controller/ApplicationController.java | UTF-8 | 6,294 | 2.234375 | 2 | [] | no_license | package com.ngs.controller;
import com.ngs.entity.Application;
import com.ngs.request.CreateApplicationRequest;
import com.ngs.request.UpdateApplicationRequest;
import com.ngs.response.CreateApplicationResponse;
import com.ngs.response.GetListApplicationResponse;
import com.ngs.response.UpdateApplicationResponse;
impo... | true |
de3333d7366fa3bd533476d366f234e385bd35c6 | Java | JarekDziuraDev/ToDoBook | /src/main/java/com/example/todobook/repository/SqlTaskGroupRepository.java | UTF-8 | 494 | 2.046875 | 2 | [
"Unlicense"
] | permissive | package com.example.todobook.repository;
import com.example.todobook.model.TaskGroup;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface SqlTaskGroupR... | true |
384610f26f609900d79d988e814b24bbeef11bee | Java | panhabot/webappSE3 | /filterCurrency/src/ExchangeServ.java | UTF-8 | 1,053 | 2.71875 | 3 | [] | no_license | 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 java.io.IOException;
import java.io.PrintWriter;
@WebServlet(name = "ExchangeServ")
public class ... | true |
69b26a9c856ce4f7aefd3c56fbd2f5935d9901ae | Java | hdryx/gestion-materiel-informatique | /forms/Panel_peripherique.java | ISO-8859-1 | 59,454 | 1.921875 | 2 | [] | no_license | /*
* Panel_peripherique.java
*
* Created on __DATE__, __TIME__
*/
package forms;
import gestion_materiel.*;
import javax.swing.event.ListSelectionListener;
import javax.swing.event.TableModelEvent;
import javax.swing.table.*;
import java.util.*;
import java.awt.event.ActionListener;
import java.sql.*;
import ja... | true |
710b45e22649f2fd3091c3439b61f4b715a042aa | Java | anijadhav/Annotation-Hibernate-5.3.2-with-MySQL-8.0.11 | /Annotation-Hibernate-JDK8-Stream/src/main/java/com/model/Student.java | UTF-8 | 763 | 2.546875 | 3 | [] | no_license | package com.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table
public class Student {
@Id
@GeneratedValue(strategy = Gene... | true |
262cbf286e592a76581669d6ff3d18e4aeef0a88 | Java | axlbonnet/GASW | /src/main/java/fr/insalyon/creatis/gasw/execution/GaswMonitor.java | UTF-8 | 6,490 | 1.882813 | 2 | [] | no_license | /* Copyright CNRS-CREATIS
*
* Rafael Ferreira da Silva
* rafael.silva@creatis.insa-lyon.fr
* http://www.rafaelsilva.com
*
* This software is governed by the CeCILL license under French law and
* abiding by the rules of distribution of free software. You can use,
* modify and/ or redistribute the software und... | true |
d67d3f4a5016a93f1b666932775e08fe3ff59e0f | Java | bakhtiyar-s/NewsAppJavaEE | /newsapp-services/src/main/java/security/UserIdentityStore.java | UTF-8 | 1,535 | 2.453125 | 2 | [] | no_license | package security;
import entity.Role;
import entity.User;
import org.slf4j.Logger;
import service.UserService;
import javax.inject.Inject;
import javax.persistence.NoResultException;
import javax.security.auth.login.CredentialException;
import javax.security.enterprise.credential.Credential;
import javax.security.ent... | true |
a8d4c516588497781885f3e96f7993c949535bf0 | Java | jojosif/submit | /submission/Support Analysis/src/Twitter3Mapper.java | UTF-8 | 3,777 | 2.390625 | 2 | [] | no_license | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URI;
import java.util.HashMap;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.hadoop.fs.FSDataInputStream;
import org.apache.hadoop.fs.FileSystem;
import org.apache.ha... | true |
1227824aab35803b51077a2c48ac48b3ffa3066e | Java | zhangyangjing/weather | /app/src/main/java/com/zhangyangjing/weather/ui/ActivityGuide.java | UTF-8 | 3,682 | 1.90625 | 2 | [] | no_license | package com.zhangyangjing.weather.ui;
import android.accounts.Account;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCom... | true |
dbedc26227659942ab9dac979d66830b6425adc4 | Java | nostra/semimeter | /semimeter-web/src/main/java/org/semispace/semimeter/bean/DisplayIntent.java | UTF-8 | 227 | 2.140625 | 2 | [] | no_license | package org.semispace.semimeter.bean;
public class DisplayIntent {
private final String key;
public DisplayIntent(String key) {
this.key = key;
}
public String getKey() {
return key;
}
}
| true |
1fd267a24f32c88301319747401cdf872d2e75d1 | Java | leizixing0622/MyApplication2 | /app/src/main/java/com/example/john/myapplication/model/CardItem.java | UTF-8 | 590 | 2.90625 | 3 | [] | no_license | package com.example.john.myapplication.model;
/**
* Created by Administrator on 2017/5/6.
*/
public class CardItem {
private Fruit fruit;
private int amount;
public CardItem(int amount, Fruit fruit) {
this.amount = amount;
this.fruit = fruit;
}
public Fruit getFruit() {
... | true |
d91dd0076e0052a8b814516a61892f8fc2d0633d | Java | thetravisw/data-structures-and-algorithms | /Tests/OldStuff/Whiteboard04_LargestProduct/Whiteboard04_LargestProductTest.java | UTF-8 | 515 | 2.90625 | 3 | [
"MIT"
] | permissive | //package OldStuff.Whiteboard04_LargestProduct;
//
//import org.junit.jupiter.api.Test;
//
//import java.util.Collections;
//
//import static org.junit.jupiter.api.Assertions.*;
//
//class Whiteboard04_LargestProductTest {
//
// @Test
// void largestProduct() {
// int[][] data = {
// {1, 2, ... | true |
66c4bad11bd8028a4a9cbb23eb5d8848c384021b | Java | leimingfu/QQ_Chat | /app/src/main/java/com/example/SQLite/sql_exist.java | UTF-8 | 1,086 | 2.359375 | 2 | [] | no_license | package com.example.SQLite;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import com.example.Fragment.ChatDBOpenHelper;
import com.example.Login.Register;
import org.apache.http.client.fluent.Content;
public class sql_exist {
/**
* 判断某张表是否存在
* @param DBname 表名
* ... | true |
f7e190b4d612a1b4967519326c180515aaef62fe | Java | toast-tk/toast-tk-agent | /toast-tk-web-agent/src/test/java/io/toast/tk/agent/record/FakeKryoServer.java | UTF-8 | 531 | 1.914063 | 2 | [
"Apache-2.0"
] | permissive | package io.toast.tk.agent.record;
import io.toast.tk.agent.web.IAgentServer;
import io.toast.tk.core.agent.interpret.WebEventRecord;
public class FakeKryoServer implements IAgentServer{
public WebEventRecord event;
@Override
public void sendEvent(WebEventRecord adjustedEvent, String ApiKey) {
this.event = adj... | true |
8d4b8d3a58b407f13a69228931c84222c17afbd4 | Java | sams2000/leetcode | /src/com/example/leet/PathOfConvertingPermutationWords.java | UTF-8 | 1,291 | 3.84375 | 4 | [] | no_license |
package com.example.leet;
import java.util.ArrayList;
/**
* Given two strings that are the permutation to each other. You can swap two
* adjacent character a time, print the path of how one string converts to
* another.
*
* @author bin zhou
* @since 2016-02-03
*/
public class PathOfConvertingPer... | true |
cc7729ba4e909c49679b7c1a1c0407a56a589fe5 | Java | Mclord1/LagosTourGuide | /app/src/main/java/com/example/android/tourguide/PlacesFragment.java | UTF-8 | 4,532 | 2.15625 | 2 | [] | no_license | package com.example.android.tourguide;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import... | true |
bbff4099a01f5582c8c87c807be83f1cd93d76ef | Java | asiekierka/Zetta-Industries | /src/main/java/com/bymarcin/zettaindustries/mods/ocwires/item/ItemTelecommunicationWire.java | UTF-8 | 7,309 | 1.851563 | 2 | [
"Zlib"
] | permissive | package com.bymarcin.zettaindustries.mods.ocwires.item;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import blusunrize.immersiveengineering.api.Lib;
import blusunrize.immersiveengineering.api.energy.wires.IImmersiveConnectable;
import blusunrize.immersiveengineering.api.energy.wires.IWireCo... | true |
a5a0b0cab0622bb22996026af4b03330f1ee99be | Java | rvanasa/TerminalNumerics | /terminal-numerics/src/main/java/rchs/tsa/math/interpreter/sequence/OperatorResolver.java | UTF-8 | 866 | 2.5 | 2 | [] | no_license | package rchs.tsa.math.interpreter.sequence;
import net.anasa.util.Checks;
import net.anasa.util.data.resolver.IToken;
import net.anasa.util.data.resolver.ResolverException;
import rchs.tsa.math.expression.IOperator;
import rchs.tsa.math.expression.MathData;
import rchs.tsa.math.sequence.ExpressionTokenType;
public cl... | true |
9ef8a93fa13b8c11a731a808885bb1120e27743b | Java | chu-Ian/SelfStudy_1 | /tensquare_base/src/main/java/com/tensquare/base/service/LabelService.java | UTF-8 | 878 | 2.25 | 2 | [] | no_license | package com.tensquare.base.service;
import com.tensquare.base.po.Label;
import org.springframework.data.domain.Page;
import java.util.List;
import java.util.Map;
public interface LabelService {
/**
* 保存一个标签
*
* @param label
*/
void saveLabel(Label label);
/**
* 更新一个标签
*
... | true |
794641b7f6685a84f519ebd797d9918fcb92b54e | Java | Blizzard0409/gulimall | /gulimall_/gulimall-order/src/main/java/com/xmh/gulimall/order/service/OrderReturnApplyService.java | UTF-8 | 461 | 1.523438 | 2 | [
"Apache-2.0"
] | permissive | package com.xmh.gulimall.order.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmh.common.utils.PageUtils;
import com.xmh.gulimall.order.entity.OrderReturnApplyEntity;
import java.util.Map;
/**
* 订单退货申请
*
* @author xmh
* @email 1264551979@qq.com
* @date 2021-07-27 12:32:34
*/
pu... | true |
e5074e8a066711407e4ad7353edae41769e6939c | Java | trmiller10/tiy-MicroblogSpring | /src/main/java/com/theironyard/MessageRepository.java | UTF-8 | 338 | 1.679688 | 2 | [] | no_license | package com.theironyard;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import java.util.List;
/**
* Created by Taylor on 5/21/16.
*/
public interface MessageRepository extends CrudRepository<Message, Integer> {
//List<Message> findById(String m... | true |