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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
8ffec845fd5cbc20b40cfb9f757569019f957dea | Java | Luis-Galeano/SemanticSemilarity | /src/semanticsemilarity/Sentence2SentenceSimilarityTest.java | UTF-8 | 11,994 | 2.46875 | 2 | [] | no_license | package semanticsemilarity;
import java.io.File;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.commons.io.FileUtils;
import semilar.config.ConfigManager;
import semilar.data.Sentence;
import semilar.sentencemetrics.BLEUComparer;
import semilar.... | true |
c0b398a2cdc9598e85bc079813be28fd2e55c7b4 | Java | rikima/HLLSample | /src/main/java/org/apache/datasketches/memory/internal/VirtualMachineMemory.java | UTF-8 | 3,085 | 2.3125 | 2 | [] | no_license | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | true |
237e40af909a1059049128aee181fd951f383585 | Java | gradle/performance-comparisons | /large-multiproject/project78/src/main/java/org/gradle/test/performance78_3/Production78_283.java | UTF-8 | 305 | 1.875 | 2 | [] | no_license | package org.gradle.test.performance78_3;
public class Production78_283 extends org.gradle.test.performance16_3.Production16_283 {
private final String property;
public Production78_283() {
this.property = "foo";
}
public String getProperty() {
return property;
}
}
| true |
c3f5313c990e10435ee433d4477b4d227b4e5fb7 | Java | BGCX261/zoj-svn-to-git | /branches/mvc/src/main/cn/edu/zju/acm/mvc/control/FieldError.java | UTF-8 | 618 | 2.203125 | 2 | [] | no_license |
package cn.edu.zju.acm.mvc.control;
public class FieldError {
private String fieldName;
private String messageKey;
private String[] arguments;
public FieldError(String fieldName, String messageKey, String[] arguments) {
this.fieldName = fieldName;
this.messageKey = mes... | true |
e7e5fb50af74059e84f17f94a2e1328806dafea5 | Java | sewefBoy/springcloud_project | /hyx-handwritten-balance/src/main/java/com/online/taxi/handwritten/controller/SmsController.java | UTF-8 | 1,459 | 2.296875 | 2 | [] | no_license | package com.online.taxi.handwritten.controller;
import java.util.List;
import java.util.Random;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.client.ServiceInstance;
import org.springframework.cloud.client.discovery.DiscoveryClient;
import org.springframework.web.bind... | true |
5b15bba77cb8ab8b4717d4aac544b328526e4212 | Java | alibaba/GraphScope | /analytical_engine/java/grape-giraph/src/main/java/com/alibaba/graphscope/parallel/netty/request/impl/OneLongWritableRequest.java | UTF-8 | 2,218 | 1.992188 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-proprietary-license",
"FSFAP",
"BSD-3-Clause-Clear",
"GPL-1.0-or-later",
"BSD-2-Clause-Views",
"Bitstream-Vera",
"MPL-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"OFL-1.1",
"BSD-3-Clause",
"APAFML",
"0BSD",
"LicenseRef-scancode-free-unknown",
"CC-B... | permissive | /*
* Copyright 2021 Alibaba Group Holding Limited.
*
* 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 ... | true |
dd3894e9a12c194c320df8ba7b96a57f6921b67f | Java | kkezzar/code2 | /Sprint17_repush/fve/fve-business/src/main/java/dz/gov/mesrs/sii/fve/business/model/dto/concours/ExamenConcoursDto.java | UTF-8 | 8,408 | 1.828125 | 2 | [] | no_license | package dz.gov.mesrs.sii.fve.business.model.dto.concours;
import java.io.Serializable;
import java.util.Date;
public class ExamenConcoursDto implements Serializable {
private static final long serialVersionUID = -4212121506895622004L;
private Long id;
private Long concoursId;
private Integer responsa... | true |
8ee8a078b0a1e3133cb84b0e70dd6c01c3d01150 | Java | steindelek/Local-deal-app | /app/src/main/java/pl/localdeals/localdealsapp/Deal.java | UTF-8 | 2,648 | 2.046875 | 2 | [] | no_license | package pl.localdeals.localdealsapp;
public class Deal {
private int _id;
private int _type;
private int _day;
private int _hourStart;
private int _hourEnd;
private int _points;
private int _local;
private String _title;
private String _price;
private String _description;
pr... | true |
de6b36912fbe7010706305d914328369bd50a0a7 | Java | wulafrom/manager | /manager-web/src/main/java/com/bjsxt/web/controller/UserController.java | UTF-8 | 2,041 | 2.21875 | 2 | [] | no_license | package com.bjsxt.web.controller;
import com.bjsxt.pojo.Users;
import com.bjsxt.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.a... | true |
0aee70a85c7ca2f94dccdc7ef7f5eae51d3dda17 | Java | JuanDanielCR/JavaEE | /Curso_Calmecac/Curso_Calmecac-ejb/src/java/mx/ipn/dae/calmecac/model/UnidadAcademica.java | UTF-8 | 4,048 | 2 | 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 mx.ipn.dae.calmecac.model;
import java.io.Serializable;
import java.util.List;
import javax.persistence.Basic;
import javax.pe... | true |
a83519f094ee372c1661112b66f446b3196b29e2 | Java | khoanl/jexercise | /no.hal.learning/no.hal.learning.exercise/workspace/src/no/hal/learning/exercise/workspace/adapter/LaunchTaskProposalAdapter.java | UTF-8 | 3,699 | 2.0625 | 2 | [] | no_license | package no.hal.learning.exercise.workspace.adapter;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.debug.core.DebugPlugin;
import org.eclipse.debug.core.ILaunch;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.core.ILaunchListener;
import org.eclipse.swt.widgets.Composit... | true |
a4d0093bcded8aa7527bc85ea47fa14b4746b5dc | Java | gamevm/GVMCompiler | /src/com/gamevm/compiler/experiments/jbc/classfile/CodeAttribute.java | UTF-8 | 789 | 2.234375 | 2 | [] | no_license | package com.gamevm.compiler.experiments.jbc.classfile;
public class CodeAttribute extends Attribute {
public static class Exception {
public int startPc;
public int endPc;
public int handlerPc;
public int catchType;
public Exception(int startPc, int endPc, int handlerPc, int catchType) {
super();
... | true |
33938a0ad7151d1528fe77920320627865f97aa1 | Java | constanceremy/Booking-an-advisor-project | /Advisor.java | UTF-8 | 2,738 | 3.4375 | 3 | [] | no_license | package Project;
import java.util.ArrayList;
import java.util.Scanner;
import java.lang.*;
public class Advisor extends User {
public String advisorID;
public String[] studentSlot = new String[4];
public String[] isBooked = new String[4];
public String expertise;
Advisor() {// constructor method called Room().... | true |
e569e296bfb38c97be728c0f03542633612108e4 | Java | Gozzetto/Symposium | /src/main/java/it/blackhat/symposium/queries/UserQuery.java | UTF-8 | 1,191 | 2.28125 | 2 | [
"Apache-2.0"
] | permissive | package it.blackhat.symposium.queries;
/**
* This class contains all queries for user table
*
* @author Symposium Group
*/
public final class UserQuery {
/**
* Create an user query object. The constructor is private
* to not allow the object to be instantiated.
*
* @author: SDelPiano
... | true |
4799dd38cd7ae93a65ce47df00c0fc2e61d0df8e | Java | brooksie/weldExamples-PF10 | /src/main/java/com/brooksbank/weldexamples/example11/CodetypesCatalog.java | UTF-8 | 1,541 | 2.09375 | 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.brooksbank.weldexamples.example11;
import com.brooksbank.weldexamples.db.ChangedTable;
import com.brooksbank.welde... | true |
25eb1780a8de5d6db48ccf70085f99abac3753d2 | Java | DeepCodingAI/Java23March2020 | /src/nestedclass/TestNestedClass.java | UTF-8 | 208 | 1.640625 | 2 | [] | no_license | package nestedclass;
public class TestNestedClass {
public static void main(String[] args) {
Outer outer = new Outer();
outer.outerMethodA();
//InnerClassA innerClassA = new InnerClassA();
}
}
| true |
d356dba67c9e58bd6396a3f2c1783be7276f549c | Java | NordicID/nur_nurapi_android | /NurApiAndroid/src/main/java/com/nordicid/nurapi/NurApiUsbTransport.java | UTF-8 | 4,406 | 2.3125 | 2 | [
"MIT"
] | permissive | /*
Copyright 2016- Nordic ID
NORDIC ID SOFTWARE DISCLAIMER
You are about to use Nordic ID Demo Software ("Software").
It is explicitly stated that Nordic ID does not give any kind of warranties,
expressed or implied, for this Software. Software is provided "as is" and with
all faults. Under no circumst... | true |
6f43a3163e4e39a87525b2eac964ab7f2f49abe3 | Java | lennyhicks/Java | /src/Game/Player.java | UTF-8 | 5,835 | 3.046875 | 3 | [] | no_license | package Game;
import java.io.*;
import java.util.ArrayList;
import java.util.Scanner;
/**
* Created by lennyhicks on 10/8/16.
*/
public class Player extends Main {
static ArrayList<Integer> expForLevel = new ArrayList<>();
Game game = new Game();
static String UserName, Password;
static int Gold, ma... | true |
ed9e16ce98001ba5f2ef547db93a151b201955c7 | Java | FRCTeam2984/SteamworksVisionTracking | /src/org/usfirst/frc/team2984/robot/util/DualCameraLive.java | UTF-8 | 11,428 | 2.546875 | 3 | [] | no_license | package org.usfirst.frc.team2984.robot.util;
import static org.opencv.core.Core.inRange;
import java.awt.GridLayout;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.text.NumberFormat;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JFrame;
import org.ope... | true |
0e6374f697504ea9a1494fcaaec4e0a4ef51fa69 | Java | Ningsir/GraphScope | /interactive_engine/compiler/src/main/java/com/alibaba/maxgraph/compiler/tree/source/SourceTreeNode.java | UTF-8 | 8,035 | 1.570313 | 2 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-elastic-license-2018",
"LicenseRef-scancode-other-permissive"
] | permissive | /**
* Copyright 2020 Alibaba Group Holding Limited.
*
* <p>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
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applic... | true |
0c53c5c7ed8b6f488dc1683a1e069f134ad7f9de | Java | dunkbing/l3arn_cpp | /AndroidTrainingFramework-AF/externals/AndroidFramework/java/PushNotification/PushBuilderV16.java | UTF-8 | 3,392 | 2.109375 | 2 | [] | no_license | package APP_PACKAGE.PushNotification;
import android.app.Notification;
import android.app.Notification.Builder;
import android.app.Notification.BigTextStyle;
import android.app.Notification.BigPictureStyle;
import android.app.Notification.InboxStyle;
import android.app.PendingIntent;
import android.content.Context;
im... | true |
430029785d20ea3fc983bbb9758e747d1f253db8 | Java | Sammers21/pfinance_backend_server | /src/main/java/ru/xidv/drankov/fassist/dm/dao/OperTag.java | UTF-8 | 1,163 | 1.96875 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2017 Pavel Drankov, Sergey Shershakov.
*
* 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 applic... | true |
5f26bcbb7281b62bf91a1457450fd6a19e2ecc3f | Java | maximelaval/javass | /src/ch/epfl/javass/jass/PackedScore.java | UTF-8 | 8,714 | 2.6875 | 3 | [] | no_license | package ch.epfl.javass.jass;
import ch.epfl.javass.bits.Bits32;
import ch.epfl.javass.bits.Bits64;
import static ch.epfl.javass.bits.Bits64.extract;
import static ch.epfl.javass.bits.Bits64.mask;
import static ch.epfl.javass.jass.Jass.MATCH_ADDITIONAL_POINTS;
import static ch.epfl.javass.jass.Jass.TRICKS_PER_TURN;
im... | true |
4cf3dc38bc178737cda3aa8f0c3ad7b96993df58 | Java | bell0136/TIL_java | /C05/ex5_7pro1.java | UTF-8 | 294 | 2.9375 | 3 | [] | no_license | class ex5_7pro1
{
public static void main(String[] args)
{
int i = 0;
int j = 0;
for(i = 2; i < 10; i++)
{
if(i%2 == 0)
{
for(j=1; j < 10 ; j++)
{
System.out.println(i+"X"+j+"="+i*j);
if(i==j)
{
break;
}
}
}
}
}
} | true |
6e441d71bf3997e64464c7681d82405f15c417a8 | Java | haifeiforwork/myfcms | /zcms/src/com/zving/bbs/MySubject.java | UTF-8 | 2,722 | 2.046875 | 2 | [] | no_license | package com.zving.bbs;
import com.zving.framework.Ajax;
import com.zving.framework.User;
import com.zving.framework.controls.DataListAction;
import com.zving.framework.data.DataTable;
import com.zving.framework.data.QueryBuilder;
import com.zving.framework.utility.DateUtil;
import com.zving.framework.utility.M... | true |
86bf918649150b835989b4cf512d0c77e1b20357 | Java | JiangJiangjungle/J-ORM | /src/main/java/com/jsj/orm/transaction/DefaultTransactionFactory.java | UTF-8 | 317 | 2.03125 | 2 | [] | no_license | package com.jsj.orm.transaction;
import javax.sql.DataSource;
/**
* @author jiangshenjie
*/
public class DefaultTransactionFactory implements TransactionFactory {
@Override
public Transaction newTransaction(DataSource ds, boolean autoCommit) {
return new JdbcTransaction(ds, autoCommit);
}
}
| true |
3cef4e42d9dcc96a2eb30768c6a54b3d342cbbb2 | Java | tiantangyu69/network | /network/src/org/sagacity/network/socket/server/nonblocking/NioNonBlockingEchoServer.java | UTF-8 | 4,434 | 2.828125 | 3 | [] | no_license | /**
*
*/
package org.sagacity.network.socket.server.nonblocking;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.ServerSocketChannel;
... | true |
3562b4aa09621bdf1aaf67857ed86d80e801f3ed | Java | zhang69/springMvc1 | /src/Bean/CDPlayerConfigNoAutowised.java | UTF-8 | 660 | 2.546875 | 3 | [] | no_license | package Bean;
import BeanInterface.CompactDisc;
import BeanInterface.MediaPlayer;
import QualifierAno.happy;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* 基于class的手动注入
* return的时候,new一个具体的实现类,不会出现歧义bean注入的问题了吧
*/
//@Configuration
public class... | true |
d677ba335888be8070f4587d305a3eb8f2e6d6d8 | Java | Identicum/midpoint | /infra/prism/src/test/java/com/evolveum/midpoint/prism/TestPath.java | UTF-8 | 10,921 | 2.015625 | 2 | [
"Apache-2.0",
"GPL-1.0-or-later",
"CDDL-1.0",
"MIT",
"LGPL-2.1-or-later"
] | permissive | /*
* Copyright (c) 2010-2013 Evolveum
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | true |
7c6a7d27a79316484e35902f6326b7116ebddd74 | Java | haodynasty/BaseUtilsLib | /XUtilsLib/src/main/java/com/plusub/lib/manager/RequestManager.java | UTF-8 | 1,293 | 2.09375 | 2 | [
"Apache-2.0"
] | permissive | package com.plusub.lib.manager;
/**
* Copyright (C) BlakeQu All Rights Reserved <blakequ@gmail.com>
* <p/>
* Licensed under the blakequ.com License, Version 1.0 (the "License");
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS... | true |
65062435d1edeffe701eadc2cb48c4355ed60511 | Java | Njfk/MyAar | /my_aar/src/main/java/heyi/com/my_aar/utils/MD5Utils.java | UTF-8 | 1,486 | 2.796875 | 3 | [] | no_license | package heyi.com.my_aar.utils;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/**
* Created by sev-14 on 2016/10/10.
*/
public class MD5Utils {
private static final char[] HEX_EXCHANGE = { '0', '1', '2', '3', '4', '5', '6',
... | true |
c8cfeb0fc0b3b5617b0a0dd1bad43ad20a0aa001 | Java | ambiwakchaure/OBD | /app/src/main/java/snsystems/obd/tripsnew/SevenDayTripAdaper.java | UTF-8 | 7,796 | 2.265625 | 2 | [] | no_license | package snsystems.obd.tripsnew;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayou... | true |
08b369595edc0c04072e5f59a8c514a0f0d01e8e | Java | IbrAvengers/PMO_OPERATIONS_SERVICES | /src/main/java/com/entity/EmployeeProjectDetailsEntity.java | UTF-8 | 705 | 2.296875 | 2 | [] | no_license | package com.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "employee_project_details")
public class EmployeeProjectDetailsEntity {
@Id
private String emp_id;
@Column
private String manager;
@Column
pri... | true |
f726dfbd947a37ae8320540e67706a124135ba34 | Java | sluczak/andromote | /AndroMote2FeaturesLib/src/main/java/mobi/andromote/am2/functions/phone/WiFiConnectFunction.java | UTF-8 | 7,238 | 2.40625 | 2 | [] | no_license | package mobi.andromote.am2.functions.phone;
import java.util.List;
import mobi.andromote.functionalityFramework.datatypes.ActionResult;
import mobi.andromote.functionalityFramework.datatypes.FunctionParam;
import mobi.andromote.functionalityFramework.functions.BaseDeviceFunction;
import android.content.Context;
impor... | true |
e51970371bc61116227c894b0f47cc7f43b10377 | Java | ldianwu/Search-Engine-Design | /WebCrawler/src/postprocessing/StopList.java | UTF-8 | 1,428 | 3.6875 | 4 | [] | no_license | package postprocessing;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
public class StopList {
/*
* StopList loads a text file with stop words.
* The first line has to be the number of lines in a file.
* Via fu... | true |
7a1eef9c2e8de21eda93bea086c5d40d8476e3d6 | Java | xiaoliziY/WEA | /app/src/main/java/com/xike/wea/HttpUtil.java | UTF-8 | 603 | 2.3125 | 2 | [] | no_license | package com.xike.wea;
import java.io.IOException;
import okhttp3.Call;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
public class HttpUtil {
private OkHttpClient mOkHttpClient;
HttpUtil() {
mOkHttpClient = new OkHttpClient();
}
//同步的get请求
public Resp... | true |
149987e4aa3533c71f6ec3fcf2b9c1f6cd67b9fc | Java | ThinkCats/ToolsLibrary | /src/main/java/com/db/DbChange.java | UTF-8 | 995 | 2.484375 | 2 | [] | no_license | package com.db;
import java.sql.*;
/**
* Created by wanglei on 16/5/5.
*/
public class DbChange {
public static void main(String[] args) throws ClassNotFoundException, SQLException {
Connection connection = null;
Class.forName("com.mysql.jdbc.Driver");
connection = DriverManager.getConne... | true |
0f09cc9ad9ee19a1c41c2f07bd8b46eec01ee365 | Java | lessthanoptimal/BoofCV | /main/boofcv-ip/src/benchmark/java/boofcv/core/encoding/BenchmarkConvertYV12.java | UTF-8 | 2,971 | 2.125 | 2 | [
"LicenseRef-scancode-takuya-ooura",
"Apache-2.0"
] | permissive | /*
* Copyright (c) 2023, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* 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 |
3f197914ba7822d866ed30ecbd3ca0834e4129ae | Java | miaomiaozizi/mall | /src/main/java/com/zi/mall/service/OrderService.java | UTF-8 | 1,038 | 1.914063 | 2 | [] | no_license | /**
* Copyright (C), 2015-2019, XXX有限公司
* FileName: OrderService
* Author: Zi
* Date: 2019/4/18 15:42
* Description:
* History:
* <author> <time> <version> <desc>
* 作者姓名 修改时间 版本号 描述
*/
package com.zi.mall.service;
import com.zi.mall.domain.Order;
import com.zi.mall.model.LayuiTableModel;
import com.zi.mall.vo... | true |
7ca3827916ee0cd4867b67f6df8355e2383e21b4 | Java | mslhly/springboot-demo | /src/main/java/com/msl/mybatis/entity/YpSmsVerify.java | UTF-8 | 7,190 | 2.0625 | 2 | [] | no_license | package com.msl.mybatis.entity;
import java.io.Serializable;
import java.util.Date;
public class YpSmsVerify implements Serializable {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column yp_sms_verify.verify_id
*
* @mbggenerated
*/
priv... | true |
df6866c7bfb2aa9790b1cc935416c88ee56399e4 | Java | pnandi/MomentsServer | /src/main/java/com/moments/utils/JsonDateSerializer.java | UTF-8 | 569 | 2.296875 | 2 | [] | no_license | package com.moments.utils;
import java.io.IOException;
import java.util.Date;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.SerializerProvider;
public class Json... | true |
e9576ff374661a366cfff09410f5fe132e79bf6e | Java | gesongsyj/wx | /src/main/java/com/basic/domain/Systemaccount.java | UTF-8 | 645 | 1.875 | 2 | [
"MIT"
] | permissive | package com.basic.domain;
import com.jfinal.kit.Kv;
import com.jfinal.plugin.activerecord.Page;
import com.jfinal.plugin.activerecord.SqlPara;
import com.basic.domain.base.BaseSystemaccount;
import com.basic.query.SystemaccountQueryObject;
/**
* Generated by JFinal.
*/
@SuppressWarnings("serial")
public class Syste... | true |
76d8a94a13fca36d7a6a7946264304d925cecafe | Java | justinvan0603/J2EE-GaraManagement | /src/main/java/viewmodels/PhieuBanLeDSViewModel.java | UTF-8 | 6,969 | 2.03125 | 2 | [] | no_license | package viewmodels;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.zkoss.bind.annotation.BindingParam;
import org.zkoss.bind.annotation.Command;
import org.zkoss.bind.annotation.Init;
import org.zkoss.bind.annotation.NotifyChange;
import org.zkoss.zk.ui.Executions;
... | true |
73eebf3966d0bcd85d4ad4eb7b1a122aec10ded5 | Java | developer0223/MJC_SNS | /Project/MJC_SNS_2017662016/app/src/main/java/com/skykallove/mjc_sns_2017662016/Layouts/LoginActivity.java | UTF-8 | 8,411 | 1.96875 | 2 | [] | no_license | package com.skykallove.mjc_sns_2017662016.Layouts;
import android.content.ContentValues;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.ActivityInfo;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.uti... | true |
d5f5feebe49e63ca37b6743810e81085a54f1e72 | Java | munivictoria/sgmdv | /ComprasMuni/src/com/trascender/compras/recurso/persistent/suministros/OfertaContratacion.java | UTF-8 | 4,024 | 2.125 | 2 | [] | no_license | package com.trascender.compras.recurso.persistent.suministros;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import ... | true |
f9a3dfcecc581f54bd60a35b54994f67cfdd6476 | Java | alexandrekd/HelmDefense | /src/fr/helmdefense/model/entities/utils/coords/Coords.java | UTF-8 | 128 | 1.609375 | 2 | [] | no_license | package fr.helmdefense.model.entities.utils.coords;
public interface Coords {
public double getX();
public double getY();
} | true |
4f075970f223a6388b7686499dc3681df3e9c379 | Java | alpbozaci/FootballTrainerToolApp | /app/src/main/java/ch/bozaci/footballtrainertoolapp/dao/Match.java | UTF-8 | 3,021 | 2.5 | 2 | [] | no_license | package ch.bozaci.footballtrainertoolapp.dao;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import ch.bozaci.footballtrainertoolapp.util.DateUtil;
/**
* Created by Alp.Bozaci on 23.08.2017.
*/
public class Match implements Serializable
{
public static final String TABLE = "match"... | true |
c3564737441617bb3df9229d4905e181c14121be | Java | sigrennesmetropole/geor_signalement | /georchestra-signalement-core/src/main/java/org/georchestra/signalement/core/entity/reporting/LineReportingEntity.java | UTF-8 | 1,258 | 2.0625 | 2 | [] | no_license | /**
*
*/
package org.georchestra.signalement.core.entity.reporting;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import org.georchestra.signalement.core.dto.GeographicType;
import org.locationtech.jts.geom.Geometry;
import lombok.Data;
/**
* @author FNI18300
... | true |
1e170857ae434379c3698b23541bbe42b27ceb6e | Java | cckmit/astrobee_gds | /gov.nasa.arc.verve.freeflyer.workbench/src/gov/nasa/arc/verve/freeflyer/workbench/dialog/DetailedHealthAndStatusDialog.java | UTF-8 | 8,124 | 1.546875 | 2 | [
"Apache-2.0"
] | permissive | /******************************************************************************
* Copyright © 2019, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration. All
* rights reserved.
*
* The Astrobee Control Station platform is licensed under the Apache ... | true |
6036ed6d2296c1bcb5bd2b83df3d584198ef169c | Java | kammasuresh/credit-card-processingRestApi | /src/main/java/com/sapient/demo/controller/CreditCardController.java | UTF-8 | 2,005 | 2.3125 | 2 | [] | no_license | package com.sapient.demo.controller;
import com.sapient.demo.model.CreditCard;
import com.sapient.demo.service.CreditCardService;
import com.sapient.demo.validators.CreditCardConstraint;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntit... | true |
28fdc52921ada1e12e7ccee4937615226c2a6afe | Java | ravening/Rock-Paper-Scissors | /src/test/java/game/RockPaperScissorsTest.java | UTF-8 | 2,050 | 3.328125 | 3 | [] | no_license | package game;
import org.junit.jupiter.api.Test;
import game.Type;
import static org.junit.jupiter.api.Assertions.*;
class RockPaperScissorsTest {
@Test
void compare() {
RockPaperScissors rps = new RockPaperScissors();
Type type1 = Type.PAPER;
Type type2 = Type.ROCK;
// type... | true |
e7e5b071a502c341b082c6870e99ea303c3f0236 | Java | kalanidhis/WOLSERVICE-SPRING | /src/main/java/com/windstream/repository/InvoiceRepo.java | UTF-8 | 472 | 2.015625 | 2 | [] | no_license | package com.windstream.repository;
import com.windstream.model.Invoice;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import java.util.List;
/**
* Created by sachi on 11/28/2016.
*/
public interface InvoiceRepo extends JpaRepository<Invoice, L... | true |
6cfb900af6870185d7d0ddc62de0d833b0ebe30c | Java | Leonsmoke/XT_JAVA_TASKS | /Task#2/src/Task_B/WorkWithStaffApplication.java | UTF-8 | 1,638 | 3.828125 | 4 | [] | no_license | package Task_B;
import Task_B.Models.Employee;
import Task_B.Services.EmployeeFactory;
import Task_B.Services.SeparationService;
/*
* Melnikov Dmitrii
* Practice 2 (Class and objects), Task_B
*/
public class WorkWithStaffApplication {
public static final int RANDOM_GENERATION_ARRAY_SIZE = 10; //Nu... | true |
9a8584524b558c83d2d88c4392f56bddc76fed2f | Java | taomee517/thrift-grpc-protobuf | /src/main/java/com/basic/protobuf/ProtobufDemo.java | UTF-8 | 1,294 | 2.5625 | 3 | [] | no_license | package com.basic.protobuf;
import com.basic.protobuf.beans.AddressBookProto;
import com.basic.protobuf.beans.SubscribeReqProto;
/**
* Protobuf案例
*
* @Author luotao
* @E-mail taomee517@qq.com
* @Date 2019\2\12 0012 19:14
*/
public class ProtobufDemo {
public static void main(String[] args) throws Exception{... | true |
15c05bd9cb8b5fd4a2f69e4b59c9f3e4ecf113f0 | Java | jasonhuang0081/familySearchServer | /src/handles/LoadHandler.java | UTF-8 | 1,939 | 2.625 | 3 | [] | no_license | package handles;
import com.google.gson.Gson;
import com.sun.net.httpserver.HttpExchange;
import com.sun.net.httpserver.HttpHandler;
import requests.LoadRequest;
import results.LoadResult;
import services.LoadService;
import java.io.*;
import java.net.HttpURLConnection;
public class LoadHandler extends Handlers impl... | true |
11b8b36dcd31b02042f91d4573cc7a8488f493b9 | Java | yy19970618/Multi-SQL | /com/test/helptest.java | UTF-8 | 5,013 | 2.484375 | 2 | [] | no_license | package test;
import java.io.*;
import java.text.ParseException;
import java.util.ArrayList;
import java.nio.charset.StandardCharsets;
import java.util.List;
public class helptest/*@bgen(jjtree)*/implements MultiSQLPaserTreeConstants, MultiSQLPaserConstants {/*@bgen(jjtree)*/
protected JJTMultiSQLPaserState jjtr... | true |
106646e40246cade78e901fdfc25e4e513d82eea | Java | JrsGitHuber/JNJJ20180826 | /src/com/uds/sjec/utils/BomUtil.java | GB18030 | 6,164 | 2.390625 | 2 | [] | no_license | package com.uds.sjec.utils;
import java.util.ArrayList;
import java.util.List;
import com.teamcenter.rac.aif.AIFDesktop;
import com.teamcenter.rac.aif.AbstractAIFUIApplication;
import com.teamcenter.rac.aif.kernel.AIFComponentContext;
import com.teamcenter.rac.aif.kernel.InterfaceAIFComponent;
import com.teamcenter.ra... | true |
161681d1085ee887dd9167ded6941f89fd68f9aa | Java | anriclee/leetcode | /java/solution/src/test/java/binarytree/MaxPathSumTest.java | UTF-8 | 555 | 2.46875 | 2 | [] | no_license | package binarytree;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Developed by Lee Happily.
*/
public class MaxPathSumTest {
@Test
public void maxPathSum() {
TreeNode root = new TreeNode(
1,
new TreeNode(2,
null,
... | true |
1daf0be178c28d0c42618a953e911e676b0ff8bc | Java | wepay/riff | /riff-networking/src/test/java/com/wepay/riff/message/ByteBufMessageAttributeReaderWriterTest.java | UTF-8 | 6,635 | 2.546875 | 3 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | package com.wepay.riff.message;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Random;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import s... | true |
ab75579a694f92c5f5fa5059304da3fd5de76aac | Java | Pipia0320/BorgerKong | /app/src/main/java/com/example/borgerkongbyz5210273/Food.java | UTF-8 | 1,549 | 2.6875 | 3 | [] | no_license | package com.example.borgerkongbyz5210273;
public class Food {
private int foodID;
private String foodName;
private double foodPrice;
private String foodSummary;
private int imageDrawableId;
private int quantity;
public Food(int foodID, int imageDrawableId, String foodName, double foodPric... | true |
eb57f0a3da0298136578b38e3fd92f33a08d7f8c | Java | mateuszwtulich/aiobsuiot-backend | /src/main/java/com/example/backend/userhandling/service/api/ui/UserRestService.java | UTF-8 | 13,227 | 1.84375 | 2 | [] | no_license | package com.example.backend.userhandling.service.api.ui;
import com.example.backend.general.common.api.RestService;
import com.example.backend.userhandling.logic.api.to.AccountEto;
import com.example.backend.userhandling.logic.api.to.AccountTo;
import com.example.backend.userhandling.logic.api.to.PermissionEto;
import... | true |
d22e6952d4462e5d9a908ced0e1e33274f3694b8 | Java | Lukasz-Witek-vel-Witkowski/AdminShop | /app/src/main/java/com/example/lukasz_2/kurierai/MainActivity.java | UTF-8 | 2,703 | 2.125 | 2 | [] | no_license | package com.example.lukasz_2.kurierai;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import androi... | true |
050ddc69b8047d174325a26103a0cac1ccb0e2c3 | Java | sacd89/52-ejercicios-Bajo-Nivel | /src/programas/Programa13.java | UTF-8 | 983 | 4.40625 | 4 | [] | no_license | package programas;
/**
* Clase que imprime y cuenta los números que son multiplos de 2 o de 3 que
* hay entre 1 y 100.
*
* @author Daniela Santillanes Castro
* @version 1.0
*/
public class Programa13 {
public static void main(String[] args) {
prog13();
}
/**
* ... | true |
a7d2841ab186fbac41d20b11816deaec822e70e6 | Java | Alchus/notspace | /The Not Space Game/src/intents/MoveAndShootAtMouseIntent.java | UTF-8 | 794 | 2.546875 | 3 | [] | no_license | package intents;
import java.awt.event.MouseEvent;
import core.Intent;
import core.Unit;
import core.XYPair;
public class MoveAndShootAtMouseIntent extends Intent {
/**
*
*/
private static final long serialVersionUID = -9046286072102506039L;
XYPair vector;
MouseEvent e;
... | true |
a2c98fe477460bce11f99d0371784cc8f9b9c3e3 | Java | karthikmurali391/sampleapp | /JMapReducerfinal/JMapReducerfinal/src/main/java/JMapReducer/JMapReducer/myReducer.java | UTF-8 | 491 | 1.664063 | 2 | [] | no_license | package JMapReducer.JMapReducer;
import java.io.IOException;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Reducer;
import org.apache.hadoop.mapreduce.Mapper.Context;
public class myReducer extends Reducer<Long... | true |
0b5599dfce90090c7410210aaf3dbf01d763b24f | Java | wezerds/TARDIS | /src/main/java/me/eccentric_nz/TARDIS/commands/tardis/TARDISHelpCommand.java | UTF-8 | 5,211 | 2.09375 | 2 | [] | no_license | /*
* Copyright (C) 2013 eccentric_nz
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distr... | true |
2daa37c3dfd0203091bb987367d01b1b7d0671f3 | Java | GTNewHorizons/SC2 | /src/main/java/vswe/stevescarts/Modules/Storages/Tanks/ModuleInternalTank.java | UTF-8 | 392 | 2.203125 | 2 | [
"MIT"
] | permissive | package vswe.stevescarts.Modules.Storages.Tanks;
import vswe.stevescarts.Carts.MinecartModular;
public class ModuleInternalTank extends ModuleTank {
public ModuleInternalTank(MinecartModular cart) {
super(cart);
}
@Override
protected int getTankSize() {
return 4000;
}
@Overr... | true |
04c5bd799e640f347d8834778f50b47e32642095 | Java | Olivier-Cai/Projet_Image_Grp8 | /Code/Version_Beta/Histogramme.java | UTF-8 | 3,751 | 3.65625 | 4 | [] | no_license | package Version_Beta;
import java.awt.image.BufferedImage;
public class Histogramme {
/**
* Permet de calculer l'histogramme cumulé croissant d'un histogramme.
*
* @param histogramme L'histogramme dont il faut calculer l'hcc
* @return La matrice de l'histogramme cumulé croissant
*/
p... | true |
b4389b9d2231ee594273f55eaab3a438079f1b5a | Java | qinguabao/yfg-20210611 | /yfg-system/src/main/java/com/whty/model/service/impl/YfgActivityServiceImpl.java | UTF-8 | 2,920 | 2.125 | 2 | [
"MIT"
] | permissive | package com.whty.model.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.whty.model.mapper.YfgActivityMapper;
import com.whty.model.domain.YfgActivity;
import com.whty.model.domain.YfgPackage;
import com.whty.mo... | true |
2a52b7f1ef496751cb239b9e191549409c4d9d7d | Java | balamurugan678/nemo | /nemo-novacroft-common/src/main/java/com/novacroft/nemo/common/constant/CommonPageCommandAttribute.java | UTF-8 | 1,831 | 1.703125 | 2 | [] | no_license | package com.novacroft.nemo.common.constant;
/**
* Common command attribute constants
*/
public abstract class CommonPageCommandAttribute {
public static final String FIELD_HOUSE_NAME_NUMBER = "houseNameNumber";
public static final String FIELD_STREET = "street";
public static final String FIELD_T... | true |
fb8053df881356898553c1abf7ca1504bc7150e7 | Java | ilker-yilmaz/1000-Test-Sorusu-ile-JAVA-programlama-Dili | /1000_TEST_SORUSU_İLE_JAVA_SET_28/src/pkg1000_test_sorusu_ile_java_set_28/soru_7.java | UTF-8 | 150 | 1.734375 | 2 | [] | no_license | package pkg1000_test_sorusu_ile_java_set_28;
public class soru_7 {
int x;
int y;
boolean kontrol() {
return (x == y);
}
}
| true |
79ef08bb9355a563338ddb000c4e83e91de8a909 | Java | juanpanasiti/Lab4-TP05-server | /src/main/java/com/jpanasiti/lab4tp5server/service/InstrumentoService.java | UTF-8 | 315 | 1.515625 | 2 | [] | no_license | package com.jpanasiti.lab4tp5server.service;
import com.jpanasiti.lab4tp5server.entities.Instrumento;
import com.jpanasiti.lab4tp5server.repository.IInstrumentoRepo;
import org.springframework.stereotype.Service;
@Service
public class InstrumentoService extends GenericService<Instrumento, IInstrumentoRepo> {
}
| true |
3f1030f4cb76fa475474a371e340e2a261787680 | Java | AnuchitO/twu-biblioteca-sabrina | /src/com/twu/biblioteca/print/Main.java | UTF-8 | 178 | 1.96875 | 2 | [
"Apache-2.0"
] | permissive | package com.twu.biblioteca.print;
public class Main {
public static void main(String[] args) {
App app = new App(new RealPrinter());
app.execute();
}
}
| true |
82962335cf6ab60690a52150f3b7879142d11bca | Java | fdpat/plugCordovaScreen | /src/android/AlarmReceiver.java | UTF-8 | 2,076 | 1.898438 | 2 | [] | no_license | package ca.fdcanada.alarmplugin;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.CordovaWebView;
import android.app.KeyguardManager;
import android.app.KeyguardManager.KeyguardLock;
import android.content.BroadcastReceiver;
import android.content.Context;
i... | true |
ea05dc45deeb1151e6d07c2cc85ad196d4d62a1c | Java | Sowiarz/LF2-JTP | /src/lf2/jtp/Obserwowany.java | UTF-8 | 569 | 2.96875 | 3 | [] | no_license | package lf2.jtp;
/**
* Wzorzec projektowy obserwator
*
*/
public interface Obserwowany {
/**
* Dodanie nowego obserwatora
* @param o Klasa która będzie obserwowała
*/
public void dodajObserwatora(Obserwator o);
/**
* Usunięcie obserwatora
* @param o Klasa która obserwowała
... | true |
4d0f1a63158ab508e96f87c0350438a431ec206b | Java | thinkhoon/tkhoon | /src/main/java/com/tkhoon/framework/DispatcherServlet.java | UTF-8 | 9,417 | 2.296875 | 2 | [
"Apache-2.0"
] | permissive | package com.tkhoon.framework;
import com.tkhoon.framework.bean.ActionBean;
import com.tkhoon.framework.bean.Page;
import com.tkhoon.framework.bean.RequestBean;
import com.tkhoon.framework.bean.Result;
import com.tkhoon.framework.helper.ActionHelper;
import com.tkhoon.framework.helper.BeanHelper;
import com.tkhoon.fram... | true |
5575f51980477eb88def07566d87c678d141fd5d | Java | guoyang123/kindergarten | /app/src/main/java/cn/kinder/bean/UserPicModel.java | UTF-8 | 956 | 2.1875 | 2 | [] | no_license | package cn.kinder.bean;
import com.myt360.app.customviews.CircularImage;
public class UserPicModel {
public static final int NORMAL=0;
public static final int UPLOADING=1;
private int status;
private int position;//-1代表点击用户头像 0第一个baby。。。
private CircularImage pic_CircularImage;
public UserPicModel() ... | true |
c78243010576e239c786368b5688769e04f2ab4e | Java | Rulfer/Android-Studio | /MVLauncher/app/src/main/java/com/makingview/mvlauncher/SaveAndLoad.java | UTF-8 | 1,474 | 2.578125 | 3 | [] | no_license | package com.makingview.mvlauncher;
import android.app.Activity;
import android.content.Context;
import android.os.Environment;
import android.util.Log;
import android.widget.Toast;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Resou... | true |
649a96cdbf73e1fe3953e7f092790dd645bbe888 | Java | tomasroy2015/springboot-microservice-jpa-hibernate | /src/main/java/jp/co/linkstaff/iis/repository/JobFulltimeRepository.java | UTF-8 | 2,106 | 2.125 | 2 | [] | no_license | package jp.co.linkstaff.iis.repository;
import java.util.List;
import org.springframework.data.domain.Page;
import jp.co.linkstaff.iis.model.JobFulltime;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
im... | true |
7184dbe28eaf7980ffa9c73a68bb68d6298b1f4b | Java | mlersch/epson-t20-barcode | /JavaApplication1/src/javaapplication1/App.java | UTF-8 | 1,238 | 2.40625 | 2 | [] | no_license | package javaapplication1;
import java.io.File;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.usb.UsbException;
import net.sourceforge.barbecue.BarcodeException;
public class App {
private static EpsonESCPOSPrinter printer;
public static short printerProductID = 0x0e15; // EP... | true |
1f315c524155ffe154a3cc2bc449c71a893478d7 | Java | Prometej007/geodesy | /src/main/java/com/geodesy/web/geodesy/model/poligon/Poligon.java | UTF-8 | 2,309 | 2.40625 | 2 | [] | no_license | package com.geodesy.web.geodesy.model.poligon;
import com.geodesy.web.geodesy.model.base.GObject;
import com.geodesy.web.geodesy.model.utils.DoubleFormatter;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import java.util.... | true |
29f3615e7e382cb4d7c9d1f8c49edc8df21f0a74 | Java | SandraKramlich/kino-web | /web app/src/main/java/de/tinf15b4/kino/web/controllers/FavoriteListControllerImpl.java | UTF-8 | 1,795 | 2.359375 | 2 | [] | no_license | package de.tinf15b4.kino.web.controllers;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import de.tinf15b4.kino.data.CinemaRepository;
import de.tinf15b4.kino.data.F... | true |
8e4305a7370bbfc174c067e10d3bd3cc7acd3798 | Java | flyingpigger/book | /src/main/java/com/zhou/boot/domain/Orders.java | UTF-8 | 1,324 | 2.109375 | 2 | [] | no_license | package com.zhou.boot.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;... | true |
536c87f1d2018e6a9441f0e1d7ac9d2f8e1ed2c5 | Java | abhijeetgurle/FtpClientServer | /client.java | UTF-8 | 5,680 | 3.15625 | 3 | [] | no_license | import java.io.*;
import java.net.*;
import java.util.regex.*;
class client{
public static void main(String[] args) throws Exception{
String option;
DataInputStream in = new DataInputStream(System.in);
Socket s = new Socket("localhost", Integer.parseInt(args[0]));
client ftp=new client();
System.ou... | true |
f3dda9fff3645befdb388305beaf63babd497948 | Java | zhongxingyu/Seer | /Diff-Raw-Data/2/2_7e4166b876bdcb3dde5cf4fc7ba6cb6859a60461/PrepTool/2_7e4166b876bdcb3dde5cf4fc7ba6cb6859a60461_PrepTool_s.java | UTF-8 | 11,815 | 1.921875 | 2 | [] | no_license | package ch.sbs.plugin.preptools;
import java.awt.Container;
import java.awt.event.InputEvent;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.KeyEvent;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.regex.Pattern;
... | true |
834a8f7b87749267e72e974ab323fa82085c7fe0 | Java | tuomas2/and-bible | /IgnoreAndBibleExperiments/experiments/keygrid/KeyHandler.java | UTF-8 | 2,490 | 2.390625 | 2 | [] | no_license | /**
*
*/
package net.bible.android.view.util.keygrid;
import java.util.List;
import net.bible.android.view.util.keygrid.KeyGridView.KeyInfo;
import android.inputmethodservice.KeyboardView.OnKeyboardActionListener;
import android.util.Log;
/**
* @author denha1m
*
*/
public class KeyHandler implem... | true |
26fb1812de817175201ae11a7875544e7987271c | Java | MikeEquinox/AirportLH | /AirportLH_Project/src/airportpackage/shared/Fleet.java | UTF-8 | 1,327 | 2.53125 | 3 | [] | no_license | package airportpackage.shared;
import java.io.Serializable;
/**
* @author Mikhail Telegin
* Класс парк самолетов
* Fleet class
*/
/**
* fleetId - ID порядковый
* aircraftRegId - регистрационный ID самолета
* aircraftId - ID типа самолета
* icaoAddr - ICAO адрес самолета
*/
public class Fleet implement... | true |
73556f3886975a85c00fe1c832c9eb87184d2361 | Java | wushanru/whmj.java_server | /bizserver/src/main/java/org/mj/bizserver/mod/game/MJ_weihai_/report/Wordz_MahjongHuangZhuang.java | UTF-8 | 728 | 1.992188 | 2 | [
"Apache-2.0"
] | permissive | package org.mj.bizserver.mod.game.MJ_weihai_.report;
import com.alibaba.fastjson.JSONObject;
import com.google.protobuf.GeneratedMessageV3;
import org.mj.bizserver.allmsg.MJ_weihai_Protocol;
/**
* 麻将荒庄
*/
public class Wordz_MahjongHuangZhuang implements IWordz {
@Override
public GeneratedMessageV3 buildResu... | true |
57a74e7ae554ea055a32749df5b3c23a56d2fcce | Java | yangseungmi/TIL-1 | /test/src/main/java/com/gintire/test/application/UserService.java | UTF-8 | 711 | 2.25 | 2 | [] | no_license | package com.gintire.test.application;
import com.gintire.test.domain.User;
import com.gintire.test.infrastructure.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class UserService {
@Autowired
... | true |
e455a22d90181c4d18205f409ee69a24238bbca2 | Java | DmitriySh/spring-microservices-course | /06-spring-orm-jpa/src/main/java/ru/shishmakov/dao/AuthorRepository.java | UTF-8 | 716 | 2.28125 | 2 | [
"MIT"
] | permissive | package ru.shishmakov.dao;
import org.springframework.stereotype.Repository;
import ru.shishmakov.domain.Author;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import java.util.List;
import java.util.Set;
@Repository
public class AuthorRepository {
@PersistenceContext
pr... | true |
ba63a8044f5561d7bd8172b8e9782f65ecc0d38d | Java | Ryanhustler420/LJavaFX | /src/sample/models/SampleData.java | UTF-8 | 1,532 | 2.25 | 2 | [] | no_license | package sample.models;
import sample.models.beans.EmailMessageBean;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
public class SampleData {
public static final ObservableList<EmailMessageBean> Inbox = FXCollections.observableArrayList(
new EmailMessageBean("Hello ... | true |
8a460c16627d34fc1dedc20d3eb171c7ba28b514 | Java | AdiQA87/Test-Project01 | /FreeCRMTest/src/main/java/com/crm/qa/pages/SignUpPage.java | UTF-8 | 686 | 2.3125 | 2 | [] | no_license | package com.crm.qa.pages;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import com.crm.qa.base.TestBase;
public class SignUpPage extends TestBase{
@FindBy(xpath="//*[contains(text(),'Register')]")
WebElement signUpHeader... | true |
e8dc31c6d0e0ec64dcc66a52a928f760d77d11c1 | Java | marc-bouvier-forks/architecture-karaoke | /src/main/java/fr/arolla/EntryPoint.java | UTF-8 | 5,999 | 2.640625 | 3 | [] | no_license | package fr.arolla;
import org.apache.poi.sl.usermodel.PictureData;
import org.apache.poi.util.IOUtils;
import org.apache.poi.xslf.usermodel.*;
import java.awt.*;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import j... | true |
0fd1c1478a72e8a38e03b259d8a4285ff7b86e83 | Java | luotianwen/agent | /src/main/java/com/thinkgem/jeesite/modules/task/utils/ScheduleJobUtils.java | UTF-8 | 1,051 | 1.96875 | 2 | [] | no_license | package com.thinkgem.jeesite.modules.task.utils;
import com.thinkgem.jeesite.modules.task.entity.TaskScheduleJob;
public class ScheduleJobUtils {
public static com.thinkgem.jeesite.common.quartz.data.ScheduleJob entityToData(TaskScheduleJob scheduleJobEntity){
com.thinkgem.jeesite.common.quartz.data... | true |
34d6a368ddf0a228607f417209c11825105f0204 | Java | isupersky/old-personal-projects | /springauth2exercise/src/main/java/com/springauth2/exercise/springauth2exercise/SecurityManager.java | UTF-8 | 1,367 | 2.3125 | 2 | [] | no_license | package com.springauth2.exercise.springauth2exercise;
import org.springframework.context.annotation.Bean;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframewo... | true |
06e32db895f3a0d2f6794a78888f56400f5da403 | Java | irelandpenguin/javaCodeAndSource | /JAVA基础/2.数据类型常量与变量/源代码/BiaoLiang.java | GB18030 | 1,306 | 4.3125 | 4 | [] | no_license | /*
ͣJavaһǿ͵ԣÿһݶȷ͡
ͷࣺ
A:
B:(,ӿ,ֵ)
:48
A: ռֽ
byte 1
short 2
int 4
long 8
B:
float 4
double 8
C:ַ
char 2
D:
boolean 1
ע⣺
Ĭint
Ĭdouble͡
ͺLlǡʹL
ȸFfǡʹF
*/
class BiaoLiang {
public static void main(String[] args){
//ĸʽ
// = ʼֵ... | true |
5e981f19ea670446f5cc99b565422cf2b171d850 | Java | GitNoHup/shareexchange | /src/main/java/com/shareexchange/model/Shopping.java | UTF-8 | 1,744 | 1.898438 | 2 | [] | no_license | package com.shareexchange.model;
import java.util.Date;
public class Shopping {
private Long id;
private Long userId;
private Long goodsId;
private Byte goodsRole;
private String goodsName;
private String goodsImage;
private Byte action;
private Date createTime;
private Dat... | true |
b97fba9980690e87e7300c7454dc09738fdf16e1 | Java | AppSecAI-TEST/blog | /blog-common/blog-common-common/src/main/java/com/zeroq6/blog/common/enums/EnumApi.java | UTF-8 | 201 | 1.71875 | 2 | [
"Apache-2.0"
] | permissive | package com.zeroq6.blog.common.enums;
/**
* @author icgeass@hotmail.com
* @date 2017-05-17
*/
public interface EnumApi {
int getValue();
String getTitle();
int value();
String title();
}
| true |
30dce51f4085285159b2b4c57a822adb831658ec | Java | bashadvr1994/basha | /basha/src/basha/variablews.java | UTF-8 | 440 | 3.34375 | 3 | [] | no_license | package basha;
public class variablews {
String name= "basha";
int age= 23;
float man= 10.25f;
public void method() {
System.out.println("Name of the employee is "+name);
System.out.println("Age "+age);
System.out.println("float value is "+man);
System.out.println("string and int "+nam... | true |
f082e56eeb2d65294cc376e9f1a230a0ebfaceaa | Java | cwx727/AutoTest | /Chapter12/src/main/java/com/course/model/AddUserCase.java | UTF-8 | 278 | 1.609375 | 2 | [] | no_license | package com.course.model;
import lombok.Data;
@Data
public class AddUserCase {
public int id;
public String userName;
public String password;
public int age;
public int sex;
public int permission;
public int isDelete;
public String expected;
}
| true |