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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
615a8654141d28187e68b41ccc21fe51f1367f95 | Java | garima3292/PerfectlyFine | /app/src/main/java/uidesign/cs465/com/perfectlyfine/AddPaymentMethodActivity.java | UTF-8 | 2,952 | 2.25 | 2 | [] | no_license | package uidesign.cs465.com.perfectlyfine;
import android.content.Intent;
import android.provider.MediaStore;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
... | true |
45a1b21f61c3ffec1590e0272943657f2d4e1857 | Java | luojianhe1992/CareerCup | /src/OneStackTwoType/Dog.java | UTF-8 | 600 | 3.328125 | 3 | [] | no_license | package OneStackTwoType;
public class Dog extends Animal {
int dogValue;
public Dog() {
super();
}
public Dog(int dogValue) {
super();
this.dogValue = dogValue;
}
@Override
public void shout() {
// TODO Auto-generated method stub
System.out.println("I am a dog.");
}
public int getDogValue() {... | true |
44598faf70217c91c8127e7cb1e2fcaba1e9d72f | Java | invisiblejoke/duxcom | /duxcom/src/main/java/uq/deco2800/duxcom/coop/GameCountdown.java | UTF-8 | 2,551 | 2.90625 | 3 | [] | no_license | package uq.deco2800.duxcom.coop;
import uq.deco2800.duxcom.coop.listeners.CountdownListener;
import uq.deco2800.duxcom.sound.SoundPlayer;
/**
* Manages the game countdown
*
* Created by liamdm on 18/10/2016.
*/
public class GameCountdown {
private final CountdownListener listener;
private boolean isBlocki... | true |
94bf9804f054ab3766f5e6fb890c6094a69ae5c2 | Java | cncq-kycb/MovieRecommend | /Recommend/src/main/java/cn/edu/cqu/Recommend/Pojo/UserKey.java | UTF-8 | 403 | 2.171875 | 2 | [] | no_license | package cn.edu.cqu.Recommend.Pojo;
public class UserKey {
private Integer userId;
private Long userTel;
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public Long getUserTel() {
return userTel;
}
... | true |
80b81767746a011146b9d1bccaf3b96ee826c333 | Java | se-wook/java | /javaSE/src/chapter03/LabelTest.java | UHC | 568 | 3.9375 | 4 | [] | no_license | package chapter03;
import java.util.Scanner;
/**
*
* label :
* - ݺ ̸ ο
* - Ư ݺ break or continue ִ.
* -
* label ̸:
* ݺ
*/
public class LabelTest {
public static void main(String[] args) {
// TODO Auto-generated method stub
first:
for(int i=1;i<=100;i++) {
second:
for(int j=1;j<=100;j+... | true |
6b8e13f6060995eade436358e5c40801084bdf27 | Java | wheeller/web-content | /src/main/java/hello/exceptions/NullPointerException.java | UTF-8 | 187 | 1.960938 | 2 | [] | no_license | //package hello.exceptions;
//
//public class NullPointerException extends RuntimeException {
//
// public NullPointerException (String message){
// super(message);
// }
//}
| true |
46e7fb3d96c556843457742fea8da120c6c4e3f7 | Java | eliekozah/myexplore | /android/native/mydemos/NeuralTheraputicTest/src/com/neural/view/MultiTouchView.java | UTF-8 | 9,655 | 2.171875 | 2 | [] | no_license | /**
* Copyright Trimble Inc., 2014 - 2015 All rights reserved.
*
* Licensed Software Confidential and Proprietary Information of Trimble Inc.,
* made available under Non-Disclosure Agreement OR License as applicable.
*
* Product Name:
*
*
* Module Name: com.neural.view
*
* File name: MultiTouchView.java
*
... | true |
d935a4956120fc81e2751bb5d5f7b1770e527b41 | Java | elegentJava/laboratory | /sem-corre/src/main/java/com/bupt/ltb/sem/corre/pojo/CorreCategory.java | UTF-8 | 694 | 2 | 2 | [] | no_license | package com.bupt.ltb.sem.corre.pojo;
import java.util.List;
/**
* 函电类别
*
* @author Hogan
*
*/
public class CorreCategory {
private Integer ccid;
private String content;
private List<CorreCategory> sonCategories;
public Integer getCcid() {
return ccid;
}
public void setCcid(Integer... | true |
160526bd046df7dc685c340643c4d5e43a5a2bdd | Java | mrugenmike/AirNote | /services/src/main/java/com/airnote/services/notes/NotesContent.java | UTF-8 | 816 | 2.109375 | 2 | [] | no_license | package com.airnote.services.notes;
public class NotesContent {
String accessToken;
String userName;
String noteTitle;
String noteContent;
public String getAccessToken() {
return accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken... | true |
254fc08b4cef7bda8639115b596d3e0f856b93ec | Java | MrIvanPlays/GotoServer | /src/main/java/com/mrivanplays/server/LinkController.java | UTF-8 | 10,239 | 2.0625 | 2 | [
"MIT"
] | permissive | package com.mrivanplays.server;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframe... | true |
45fab06668c97215e2ffd1d2787b1567d5822efb | Java | KinyoshiMods/Ancient-Tree-Root | /mod_AncientTreeRoot.java | UTF-8 | 6,175 | 2.203125 | 2 | [
"BSD-2-Clause"
] | permissive | package net.minecraft.src;
import java.util.Random;
import java.io.*;
import java.util.*;
import net.minecraft.client.Minecraft;
public class mod_AncientTreeRoot extends BaseMod
{
public mod_AncientTreeRoot()
{
// readWriteProperties();
BlockAncientTreeRoot = new BlockAncientTreeRoot(BlockAn... | true |
203aaff6f45f9f793cb099498c496136363b0c2b | Java | aws/aws-toolkit-eclipse | /bundles/com.amazonaws.eclipse.elasticbeanstalk/src/com/amazonaws/eclipse/elasticbeanstalk/server/ui/AbstractDeployWizardPage.java | UTF-8 | 11,521 | 1.539063 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | true |
5125a0a14ea24704cc9b413191a75a52d4cc636d | Java | smallgross/daomeo | /src/main/java/com/dao/daomeo/JwtTokenUtils.java | UTF-8 | 582 | 2.046875 | 2 | [] | no_license | package com.dao.daomeo;
import javax.servlet.http.HttpServletRequest;
import org.springframework.security.core.Authentication;
/**
* 根据请求令牌获取登录认证信息
* @author luo
*
*/
public class JwtTokenUtils {
public static Authentication getAuthenticaionFromToken(HttpServletRequest request) {
Authentication authenti... | true |
4b31f0b45ec774e7b05242b997715f2e1f0664ad | Java | smartcat-labs/cassandra-diagnostics | /cassandra-diagnostics-core/src/test/java/io/smartcat/cassandra/diagnostics/DiagnosticsTest.java | UTF-8 | 412 | 1.664063 | 2 | [
"Apache-2.0"
] | permissive | package io.smartcat.cassandra.diagnostics;
import org.junit.Test;
import io.smartcat.cassandra.diagnostics.config.Configuration;
public class DiagnosticsTest {
@Test
public void test_diagnostics_reload() {
Diagnostics diagnostics = new Diagnostics();
diagnostics.activate();
Configura... | true |
2b30b0ee0c34e3a93b34860e06c351af634f70cc | Java | kainlite/Paradigmas | /Java/IntegerList/test/integerlist/IntegerListNGTest.java | UTF-8 | 4,521 | 3.34375 | 3 | [
"MIT"
] | permissive | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package integerlist;
import static org.testng.Assert.*;
import org.testng.annotations.AfterClass;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Befor... | true |
8ba46bb974376c1ec1e696b077d78cced0d670d2 | Java | koprinski/Java-Tasks | /Task 2/src/com/omisoft/basic_java/objects/task3/Cleaner.java | UTF-8 | 551 | 3 | 3 | [] | no_license | package com.omisoft.basic_java.objects.task3;
/**
* Creates class Cleaner which extends Staff
* @author bkoprinski
*
*/
public class Cleaner extends Staff {
private String region;
private int week;
public Cleaner(String identNumber,int count) {
super(identNumber, count);
// TODO Auto-generated constructo... | true |
9e70b49fbde513b61dbc75acb2071c95fe55b1fa | Java | xiaoshuaishuai/maxwell-kafka-enjoy | /src/main/java/com/ssx/maxwell/kafka/enjoy/common/tools/DbUtils.java | UTF-8 | 2,223 | 2.546875 | 3 | [] | no_license | package com.ssx.maxwell.kafka.enjoy.common.tools;
import lombok.extern.slf4j.Slf4j;
import org.springframework.lang.Nullable;
import java.sql.*;
/**
* @author: shuaishuai.xiao
* @date: 2019/6/28 14:50
* @description: jdbc工具类
*/
@Slf4j
public class DbUtils {
public static Connection connection(String classNa... | true |
fd2db1de8af2a77d9646741d1b57d0775b00c3a1 | Java | SidorevichMaksim/uberfire | /uberfire-metadata/uberfire-metadata-backends/uberfire-metadata-backend-lucene/src/main/java/org/uberfire/metadata/backend/lucene/LuceneIndexEngine.java | UTF-8 | 8,642 | 1.820313 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2012 JBoss Inc
*
* 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 |
e48efd5d10a62c83623862ae95ef6f5336bfbdc6 | Java | starlit010/lark | /lark-role/src/test/java/com/gome/lark/role/controller/TestUserRoleController.java | UTF-8 | 3,912 | 2.03125 | 2 | [] | no_license | package com.gome.lark.role.controller;
import com.gome.lark.common.utils.R;
import com.gome.lark.role.entity.SysRoleEntity;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.junit.Assert;
import org.junit.runner.RunWith;
import org.springframework.boot.test.TestRestTemplate;
import org.springfra... | true |
f1e94a68c6650271fbd467dd48a6e079c663fd0e | Java | china-university-mooc/Java-Web-Atguigu | /08-servlet/src/com/itutry/ConfigServlet.java | UTF-8 | 1,000 | 2.28125 | 2 | [] | no_license | package com.itutry;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* @author itutry
* @create 2020-05-16_10:50
*/
public class ConfigServlet extends HttpServle... | true |
fcc77f4fbb94e22898e6877ccb93e8ebc9ac9adc | Java | Subrahmanyam83/Selenium | /src/test/java/com/My-Project/testscripts/9/TestWOWYSuperGymStats.java | WINDOWS-1252 | 8,463 | 2.375 | 2 | [] | no_license | package com.tbb.testscripts.getfit;
import java.lang.reflect.Method;
import org.testng.Reporter;
import org.testng.annotations.AfterClass;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import com.t... | true |
2449165c890b9d44ff1b40a1dca0d0e7aa9f719a | Java | TTFlyzebra/RtmpCamera | /RtmpCamera/src/main/java/com/flyzebra/camera/media/VideoEncoder.java | UTF-8 | 6,172 | 2.328125 | 2 | [] | no_license | /**
* FileName: VideoEncoder
* Author: FlyZebra
* Email:flycnzebra@gmail.com
* Date: 2023/6/23 15:06
* Description:
*/
package com.flyzebra.camera.media;
import android.media.MediaCodec;
import android.media.MediaCodecInfo;
import android.media.MediaFormat;
import com.flyzebra.utils.FlyLog;
import java.nio.Byt... | true |
5167b6cf91040e8887e8eea8cfbf22e00bde29b7 | Java | IgorFranovic/FunctionPlotter | /FunctionPlotter/src/Window.java | UTF-8 | 9,652 | 2.71875 | 3 | [] | no_license | import java.awt.Color;
import java.awt.Desktop;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.net.URL;
import java.util.LinkedList;
import java.util.Random;
import javax.swing.JFrame;
import jav... | true |
b1b2927c9291972ef232e75f223ec99b6c48aec2 | Java | AlexiSkyline/Example-Spring-and-Hibernate | /src/main/java/com/springsimplepasos/universidad/universidadbackend/repositorios/PersonaRepository.java | UTF-8 | 866 | 2.234375 | 2 | [] | no_license | package com.springsimplepasos.universidad.universidadbackend.repositorios;
import com.springsimplepasos.universidad.universidadbackend.modelo.entidades.Persona;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.No... | true |
a42bb0e9d24fb767388f05d1db9c70d6040db893 | Java | TechieFrogs-Warriors/JavaBasics | /ANSWINI/src/Wipro_AdvancedPrograms2/SmallestPositiveNumber.java | UTF-8 | 1,821 | 4.03125 | 4 | [] | no_license | package Wipro_AdvancedPrograms2;
import java.util.Scanner;
//To find smallest positive number from an array of elements
public class SmallestPositiveNumber
{
public static void main(String[] args)
{
//Reading input from user
Scanner sc = new Scanner(System.in);
//take an array
... | true |
03a83f7cc58004082301580689f9de43cdf0f1a4 | Java | daijiangping/SHOP1.0 | /src/com/bigJD/others/dao/impl/KeyWordDao.java | UTF-8 | 2,152 | 2.53125 | 3 | [] | no_license | package com.bigJD.others.dao.impl;/**
* Created by Administrator on 2016/12/16.
*/
import com.bigJD.others.dao.IKeyWordDao;
import com.bigJD.others.entity.KeyWord;
import com.bigJD.product.entity.Product;
import org.hibernate.SessionFactory;
import java.util.List;
public class KeyWordDao implements IKeyWordDao {
... | true |
ec3188ff0a9124351b38dd54eafe18d2e37e83bf | Java | tnunes2002/LavoroTPS | /Lavori javaFX/platform game/com/karzal/javafxgame/menu/Colors.java | UTF-8 | 631 | 2.265625 | 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.karzal.javafxgame.menu;
import javafx.scene.paint.Color;
public class Colors {
public static final Color MENU_BG = Co... | true |
e598993733ce861bb485e6c61c9dc79d952af8a4 | Java | MHTabak/spring5-recipe-app | /src/main/java/guru/springframework/services/RecipeService.java | UTF-8 | 505 | 2.15625 | 2 | [] | no_license | package guru.springframework.services;
// Lecture 108 Initial version
// Lecture 200 - Add findById()
// Lecture 204 - Add saveRecipeCommand()
// Lecture 206 - Add findCommandById()
import guru.springframework.commands.RecipeCommand;
import guru.springframework.domain.Recipe;
import java.util.Set;
public interface ... | true |
8642909e83845886479511e9daea6375fa654b3b | Java | MasterJoyHunan/DesiginPattren | /src/strategy/Test.java | UTF-8 | 352 | 2.5 | 2 | [] | no_license | package strategy;
import java.util.List;
public class Test {
public static void main(String[] args) {
String people = "father";
MusicListContext mc = new MusicListContext(people);
List<String> musicList = mc.getMusicList();
for (String music: musicList) {
System.out.pr... | true |
f326e9f70ff8b41f36ab9f22ad62d31660e1ef64 | Java | hechuan73/LeetCode | /src/items/IncreasingOrderSearchTree_897.java | UTF-8 | 1,623 | 3.96875 | 4 | [] | no_license | package items;
/**
* @author hechuan
*/
public class IncreasingOrderSearchTree_897 {
/**
* Relink the input tree without extra space
*
* @param root the root node of the tree.
* @return the root node of increasing tree
*/
public TreeNode increasingBST1(TreeNode root) {
retur... | true |
de51ce68922d56e57fbb6a44b2884460498d2198 | Java | BBoldt/ModularArmour | /src/main/java/chbachman/armour/register/Module.java | UTF-8 | 661 | 2.15625 | 2 | [] | no_license | package chbachman.armour.register;
public interface Module {
/**
* Called during preinit. See {@link cpw.mods.fml.common.event.FMLPreInitializationEvent}
*/
public void preInit();
/**
* Called during init. See {@link cpw.mods.fml.common.event.FMLInitializationEvent}
*/
public void init();
/**
* Call... | true |
916d5c35c84bc24a4cb5c714a39753521cd569a7 | Java | liufengking/demo_study | /demo_java/src/main/java/com/roby/demo/log/Slf4j.java | UTF-8 | 747 | 2.484375 | 2 | [] | no_license | package com.roby.demo.log;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class Slf4j {
static Logger logger = LoggerFactory.getLogger(Slf4j.class);
/**
* @param args
*/
public static void main(String[] args) {
if(logger.isTraceEnabled()){
logger.trace("---Thi... | true |
8b2fa857cc856a8b60c40c05b1e7b3b1c15f437c | Java | kabulov/code | /history/code/solutions/acmp_ru/solutions/_375_manual.java | UTF-8 | 1,438 | 3.34375 | 3 | [] | no_license | import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.math.BigInteger;
import java.util.Scanner;
import java.util.Stack;
public class Main {
public static void main(String[] args) throws IOException {
out = new PrintWriter("output.txt");
in = new Scanner(new File("... | true |
969763b195bcfd2863c2537e9f528c084defad40 | Java | LFMyGitHub/MyProject | /commonlibrary/src/main/java/com/example/commonlibrary/http/InterceptorUtil.java | UTF-8 | 4,958 | 2.609375 | 3 | [] | no_license | package com.example.commonlibrary.http;
import android.util.Log;
import com.example.commonlibrary.config.AppConstant;
import java.io.IOException;
import java.util.List;
import java.util.Locale;
import okhttp3.HttpUrl;
import okhttp3.Interceptor;
import okhttp3.Request;
import okhttp3.Response;
/**
* 拦截器
*/
publi... | true |
bb8d487fc2fdda6c8611ccb12ceaa4017bfe0c79 | Java | kopwei/kthsedshomework | /DAIIAHW3_Q4/src/agents/AIDMessageContent.java | UTF-8 | 861 | 2.40625 | 2 | [] | no_license | package agents;
import jade.core.AID;
import jade.util.leap.Serializable;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
import java.util.HashSet;
/**
*
* @author Ricky
*/
public class AIDMessageContent implements Serializable{
private HashSet<AID> aidColle... | true |
d23bd431cf24d85ca3f58c6854b61dbc6412c24f | Java | jonasgreen/Onofflist | /src/com/jg/onofflist/server/repository/ListItemRepository.java | UTF-8 | 669 | 2.1875 | 2 | [] | no_license | package com.jg.onofflist.server.repository;
import com.jg.core.server.dao.Dao;
import com.jg.core.server.repository.Repository;
import com.jg.onofflist.client.model.OnOffListItem;
import com.jg.onofflist.server.jdo.OnOffListItemJDO;
/**
*
*/
public class ListItemRepository extends Repository<OnOffListItemJDO, OnOff... | true |
2c1f2ea10bb4f583878ce8cb23fe05fdd168f824 | Java | ThunderKeg/leetcode | /test/main/java/n17/TestProblem17.java | UTF-8 | 234 | 1.75 | 2 | [] | no_license | package n17;
import org.junit.Test;
import java.util.Arrays;
public class TestProblem17 {
@Test
public void test17() {
Solution s17 = new Solution();
System.err.println(s17.letterCombinations(""));
}
}
| true |
0ef62ce39bcf4429d66607c5a48179af075a01da | Java | mijibox/openfin-java-adapter | /src/main/java/com/mijibox/openfin/bean/ChannelConnectionOptions.java | UTF-8 | 674 | 2.140625 | 2 | [
"Apache-2.0"
] | permissive | package com.mijibox.openfin.bean;
import javax.json.JsonValue;
public class ChannelConnectionOptions extends FinJsonBean {
private JsonValue payload;
private Boolean wait;
public ChannelConnectionOptions() {
}
public ChannelConnectionOptions(boolean wait, JsonValue payload) {
this.wait = wait;
this.pa... | true |
5c98152475e11b4f385446b43ed2475b5a6036ac | Java | bianxiaobin/XCloudBizLogic | /src/com/xc/bl/car/service/impl/CarHelpDocServiceImpl.java | UTF-8 | 634 | 1.992188 | 2 | [] | no_license | package com.xc.bl.car.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.xc.bl.car.dao.ICarHelpDocDao;
import com.xc.bl.car.service.ICarHelpDocService;
import com.xc.bl.entities.CarHelpDoc;
@Service("carHelpDo... | true |
4bd8d3dcae607bf97a884439b370bac0ef50528a | Java | Appdynamics/aws-ec2-monitoring-extension | /src/main/java/com/appdynamics/extensions/aws/ec2/EC2MetricsProcessor.java | UTF-8 | 6,550 | 1.734375 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2018. AppDynamics LLC and its affiliates.
* All Rights Reserved.
* This is unpublished proprietary source code of AppDynamics LLC and its affiliates.
* The copyright notice above does not evidence any actual or intended publication of such source code.
*
*/
package com.appdynamics.extensio... | true |
cc9495cceb434415e1e0956c971a100bcb014c1e | Java | sonbyungjun/bitcamp-java-2018-12 | /java-spring-webmvc/src/main/java/bitcamp/app1/Controller04_5.java | UTF-8 | 1,400 | 2.28125 | 2 | [] | no_license | package bitcamp.app1;
import java.io.PrintWriter;
import java.util.Date;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.sp... | true |
8ab5a993b969d727cb0139e8ba4d1039566dfddf | Java | ouniali/bpel-g | /bpel-g/org.activebpel.rt.bpel/src/main/java/org/activebpel/rt/bpel/def/validation/expr/functions/AeGetLinkStatusFunctionValidator.java | UTF-8 | 3,031 | 1.84375 | 2 | [] | no_license | //$Header: /Development/AEDevelopment/projects/org.activebpel.rt.bpel/src/org/activebpel/rt/bpel/def/validation/expr/functions/AeGetLinkStatusFunctionValidator.java,v 1.2 2008/01/25 21:01:16 dvilaverde Exp $
/////////////////////////////////////////////////////////////////////////////
//PROPRIETARY RIGHTS STATEMENT
... | true |
4961ab601b31dbc4029f475592cce08b21126b75 | Java | huanghua119/Tasker | /src/com/chuanshida/tasker/ui/MainActivity.java | UTF-8 | 7,383 | 2.0625 | 2 | [] | no_license | package com.chuanshida.tasker.ui;
import android.app.Fragment;
import android.app.FragmentTransaction;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnFocusChangeListener;
import android.widget.Button;
import com.chuanshida.tasker.... | true |
3f42a40674a3e419daf07ee64a54ab0a2336f63f | Java | hepx/proDs | /src/android/apk/utils/IconUtil.java | UTF-8 | 2,832 | 2.640625 | 3 | [] | no_license | package android.apk.utils;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
import android.apk.parser.APK;
import android.apk.parser.APKParser;
import com.web4j.util.FileUtil;
/**
* 根据APK路径获取APK的ICON
*
* @au... | true |
3a41988db5b8b0237846dd1f0d97501494b73666 | Java | cozos/emrfs-hadoop | /com/amazon/ws/emr/hadoop/fs/shaded/com/google/common/collect/ForwardingMap$StandardValues.java | UTF-8 | 532 | 1.632813 | 2 | [] | no_license | package com.amazon.ws.emr.hadoop.fs.shaded.com.google.common.collect;
import com.amazon.ws.emr.hadoop.fs.shaded.com.google.common.annotations.Beta;
@Beta
public class ForwardingMap$StandardValues
extends Maps.Values<K, V>
{
public ForwardingMap$StandardValues(ForwardingMap paramForwardingMap)
{
super(paramF... | true |
9724f7dc9e4f10d820f1ca4b9eff10a1f9ba438f | Java | langjiangit/mmorpg_server | /mmorpg_server_legend/src/main/java/com/qworldr/mmorpg/logic/skill/manager/SkillManager.java | UTF-8 | 1,462 | 2.109375 | 2 | [] | no_license | package com.qworldr.mmorpg.logic.skill.manager;
import com.qworldr.mmorpg.logic.player.Player;
import com.qworldr.mmorpg.logic.player.enu.RoleType;
import com.qworldr.mmorpg.logic.player.resource.PlayerInitializationResource;
import com.qworldr.mmorpg.logic.skill.entity.SkillEntity;
import com.qworldr.mmorpg.logic.ski... | true |
d17df5adbb0212ce18a220752568b64b855866c9 | Java | adrianwenger/ALDA-Aufgaben | /Aufgabe2/src/graph/GraphTraversion.java | UTF-8 | 3,323 | 3.359375 | 3 | [] | no_license | package graph;
import java.util.Deque;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
/**
*
* @author philippschultheiss
* @param <V>
*/
public final class GraphTraversion<V> {
private GraphTraversion() {
}
/**
* @param <V> Vertex Type
* @param g graph
* @... | true |
41f96c6c7d68e1db7666cce22dd1e3c5347f329d | Java | FridaErik/MCNetwork | /MCNetwork/src/com/TDDD27/MCNetwork/client/MessageForm.java | ISO-8859-1 | 8,575 | 2.140625 | 2 | [] | no_license | package com.TDDD27.MCNetwork.client;
import com.TDDD27.MCNetwork.shared.MCUser;
import com.TDDD27.MCNetwork.shared.Message;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.logical.shared.Va... | true |
8fd6799cb065dab05cd1a4440c8ab1963789086a | Java | depCloser/bld-applets | /src/main/java/com/bld/applets/domain/AppletsFeedback.java | UTF-8 | 1,374 | 2.265625 | 2 | [] | no_license | package com.bld.applets.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* 反馈对象 applets_feedback
*
* @author tyx
* @date 2021-03-10
*/
public class AppletsFeedback extends BaseEntity
{
private static final long serialVersionUID = 1L;... | true |
2bab0128e0e553616876498b9969f9a92150adbb | Java | vchamp/android-guides | /Single/bestpractui/src/main/java/com/vm/guides/bestpractui/adapters/PaletteColorsAdapter.java | UTF-8 | 2,338 | 2.4375 | 2 | [] | no_license | package com.vm.guides.bestpractui.adapters;
import android.graphics.Color;
import android.support.v7.graphics.Palette;
import android.support.v7.widget.RecyclerView;
import android.util.Pair;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.vm.guides.bestpractui.R;
i... | true |
f76dbff54a41910408f0e7f3fcdc86f9a83d211a | Java | ondrejvelisek/events-shop | /events-shop-persistence/src/main/java/cz/muni/fi/eventsshop/repository/impl/EventServiceRepositoryImpl.java | UTF-8 | 1,250 | 2.28125 | 2 | [] | no_license | package cz.muni.fi.eventsshop.repository.impl;
import cz.muni.fi.eventsshop.model.EventService;
import cz.muni.fi.eventsshop.repository.EventServiceRepository;
import javax.enterprise.context.ApplicationScoped;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import java.util.List;... | true |
24f6cc3981bb481ee21384d888917ab17e992f05 | Java | Crafter-IT/Alexey.Shevtsov | /Doc.java | UTF-8 | 230 | 2.21875 | 2 | [] | no_license | package ru.geekbrains.java1.lesson1;
public class Doc extends Animals {
public Doc (){ super(500, 10,0.5f); }
public Doc(int MAXrun, int MAXswiming, int MAXjump) {
super(MAXrun, MAXswiming, MAXjump);
}
}
| true |
44f5bd695a80b75f7ffc003ad36902ccb3e56434 | Java | FamousMrChair/apcs-1 | /14_overload/defcon/Greet.java | UTF-8 | 934 | 3.546875 | 4 | [] | no_license | //Triple J: Jeffery Tang (Mathias), Jefford Shau (Dylan), Jun Hong Wang (Bob)
//APCS
//HW14 -- BigSib Overload
//2021-10-7
//DISCO:
//It is possible to have multiple contructors in a class in order for multiple tasks to be performed when called.
//QCC:
//Would the constructor that takes String x not run if the BigSib ... | true |
27f8f28dbc266d899e2e4a84d749f43ca4fcf08d | Java | sirenigell/ZimboNews | /app/src/main/java/com/example/sbondai/zimbonews/Data/Model/WPArticle.java | UTF-8 | 993 | 1.945313 | 2 | [] | no_license | package com.example.sbondai.zimbonews.Data.Model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class WPArticle {
@SerializedName("featured_image_urls")
@Expose
private FeaturedImageUrls featuredImageUrls;
private Integer id;
private Title ti... | true |
6fde55f1d8485ae3f787c5e587f455bb45a3b92e | Java | soulcure/airplay | /iot-channel-app/sdk/iot-channel/iot-channel-sdk/sdk/src/main/java/swaiotos/channel/iot/ss/controller/DeviceState.java | UTF-8 | 4,379 | 2.34375 | 2 | [] | no_license | package swaiotos.channel.iot.ss.controller;
import android.os.Parcel;
import android.os.Parcelable;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import swaiotos.channel.iot.ss.session.Session;
import swaiotos.channel.iot.utils.JSON;... | true |
632f9050fe1b293d2e1d57630a564db193a4dbb0 | Java | tranhoavn97/PrEcomic | /app/src/main/java/com/example/developer/precomic/ChapterActivity.java | UTF-8 | 3,163 | 1.976563 | 2 | [] | no_license | package com.example.developer.precomic;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.support.v4.content.res.ResourcesCompat;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.L... | true |
0d2a4ceff61419558b74a17edbac554f77ad0c61 | Java | proliuxz/Lintcode | /src/S601TO800/S768.java | UTF-8 | 661 | 3 | 3 | [] | no_license | package S601TO800;
import java.util.ArrayList;
import java.util.List;
public class S768 {
public List<List<Integer>> calcYangHuisTriangle(int n) {
// write your code here
List<List<Integer> > res = new ArrayList<>();
int i, j;
if (n == 0)
return res;
for (i = 0... | true |
80e501ffb6792ca5c8904044883a847f21a2c94c | Java | wanggn/LinkedData-QA-Dashboard | /old-gxt-version/src/main/java/org/aksw/linkedqa/shared/MyChart.java | UTF-8 | 876 | 2.109375 | 2 | [] | no_license | package org.aksw.linkedqa.shared;
import com.extjs.gxt.ui.client.data.BaseModelData;
public class MyChart
extends BaseModelData
{
public MyChart() {
}
public MyChart(String type, String data) {
super();
setType(type);
setData(data);
}
public String getType() {
return get("type");
}
public void... | true |
4cda11e681d0b20e278e8993f1515e9d40df5df4 | Java | Gorbatenko/qa_guru_4_home_24 | /src/test/java/team/dataart/tests/TestData.java | UTF-8 | 425 | 1.851563 | 2 | [] | no_license | package team.dataart.tests;
import team.dataart.config.TestDataConfig;
import org.aeonbits.owner.ConfigFactory;
public class TestData {
private static TestDataConfig getTestData() {
return ConfigFactory.create(TestDataConfig.class);
}
public static String getWebUrl() {
return getTestData(... | true |
abf428b05fe114a346a4b6a960c5816c323b4fcd | Java | 25267/Assignment-5 | /src/main/java/org/example/event/handler/SalaryChangeEventHandler.java | UTF-8 | 570 | 2.4375 | 2 | [] | no_license | package org.example.event.handler;
import org.example.event.SalaryChangeEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;
@Component
public class SalaryChangeEventHandler implements ApplicationListener<SalaryChangeEvent> {
@Override
pub... | true |
e96f8d663664c0ff0bcc40e7ae7cb6c4db5028b5 | Java | mohsaied/lynx | /lynx/vcmapping/VcDesignation.java | UTF-8 | 7,730 | 2.46875 | 2 | [] | no_license | package lynx.vcmapping;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.logging.Logger;
import lynx.data.Bundle;
import lynx.data.Design;
import lynx.data.Noc;
import lynx.data.MyEnums.Direction;
import lynx.data.NocBundle;
imp... | true |
3b0b453b9274d09f78c396b3e5abccde5d7eb3d3 | Java | apurvparekh30/data-structures | /greedy/MinimumPlatforms.java | UTF-8 | 1,580 | 3.34375 | 3 | [] | no_license | import java.util.*;
class Solution {
static Scanner fs = new Scanner(System.in);
static int n;
static int []arrival,departure;
static class Interval implements Comparable<Interval> {
int u,v;
Interval(int u,int v){
this.u = u;
this.v = v;
}
@Ove... | true |
bbca453f699e63cd883c715b1f578077c243cd88 | Java | bigGreenPeople/UiautoApiTest | /app/src/main/java/com/shark/tools/ScreenShot.java | UTF-8 | 4,029 | 2.5625 | 3 | [] | no_license | package com.shark.tools;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.Rect;
import android.util.Log;
import android.view.View;
import java.io.ByteArrayOutputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
public class ... | true |
55545d70eb051dde7b1ccd9c4f3050c85711e7f7 | Java | luis-sousa/GC-v1.1b | /src/dao/FraccaoDAO.java | UTF-8 | 8,004 | 2.796875 | 3 | [
"MIT"
] | permissive | package dao;
/*
* ESTGF - Escola Superior de Tecnologia e Gestão de Felgueiras */
/* IPP - Instituto Politécnico do Porto */
/* LEI - Licenciatura em Engenharia Informática*/
/* Projeto Final 2013/2014 /*
*/
import connection.DB;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSe... | true |
38f3f48f9520b24691ba91a14993fe8a07d47209 | Java | SeunghoShin93/TIL | /08_java/00_intro/src/Calc.java | UTF-8 | 243 | 3.15625 | 3 | [] | no_license | class Math {
int add(int a, int b) {
return a+b;
}
}
public class Calc {
public static void main(String[] args) {
// TODO Auto-generated method stub
Math math = new Math() ;
System.out.println("3 + 9 = " + math.add(3, 9));
}
}
| true |
ee650d53e8c49d5e40ec97cf474b1bcb08e5fdd7 | Java | Meti51/LivingRoom | /src/server/server_file/ServerFile.java | UTF-8 | 1,105 | 2.6875 | 3 | [] | no_license | package server.server_file;
/**
* Created on 4/9/2017.
* @author Natnael Seifu [seifu003]
*/
public class ServerFile {
private String id;
private String client_ip_addr;
private String client_port;
/* filename == path of directory/ + filename */
private String filename;
public ServerFile(String filenam... | true |
3eff31806a6c1959b91bba3dfcc66ee496212200 | Java | Gabriel-demian/farm-rest-management | /src/main/java/com/proy/rest/dto/FarmDto.java | UTF-8 | 1,781 | 2.140625 | 2 | [] | no_license | package com.proy.rest.dto;
import java.math.BigDecimal;
import java.util.List;
public class FarmDto {
private Integer id;
private String farmName;
private Integer chickenBought;
private Integer chickenSold;
private Integer eggBought;
private Integer eggSold;
private BigDecimal income;
private ... | true |
c60e65d004db29865f31aa90a63eb0c1d6086004 | Java | BANIP/wooklog | /src/banip/action/image/ImageLoadAction.java | UTF-8 | 1,669 | 2.421875 | 2 | [] | no_license | package banip.action.image;
import java.util.ArrayList;
import javax.servlet.http.HttpServletRequest;
import banip.action.Action;
import banip.bean.ImageBean;
import banip.bean.ImageTagBean;
import banip.bean.support.BeanList;
import banip.dao.ImageDao;
import banip.data.StatusCode;
import banip.util.Boa... | true |
a08fd60575c0494940e6b8fb47fe2c96e60ffb22 | Java | prAkash-SVMX/TourGuider | /app/src/main/java/com/example/android/tourguider/ListAdapter.java | UTF-8 | 1,274 | 2.3125 | 2 | [] | no_license | package com.example.android.tourguider;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView... | true |
ac8628943e2ee7dfe1af4e05511990eea1e130f5 | Java | Pferdchen/sudoku | /Sudoku/srctest/com/demo/sudoku/test/UtilityTest.java | UTF-8 | 1,694 | 2.40625 | 2 | [] | no_license | package com.demo.sudoku.test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import com.demo.sudoku.Utility;
public class UtilityTest {
private final static int[][] template = { { 5, 3, 0, 0, 7, 0, 0, 0, 0 }... | true |
489cf2bdfb4323e2fdfe1d4b413a1f942c96a74f | Java | novianarma/FINDYOURLECTURER | /app/src/main/java/com/example/findyourlecturer/MyService.java | UTF-8 | 14,265 | 1.851563 | 2 | [] | no_license | package com.example.findyourlecturer;
import android.app.IntentService;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.SharedPreferences;
import android.net.wifi.ScanResult;
import android.net.wifi.Wif... | true |
628aa64f39d37712752d6173ca192dad7542e443 | Java | tk4218/GroceryListR | /app/src/main/java/com/tk4218/grocerylistr/adapters/GroceryListAdapter.java | UTF-8 | 8,510 | 2.171875 | 2 | [] | no_license | package com.tk4218.grocerylistr.adapters;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.graphics.Color;
import android.graphics.Paint;
import android.os.AsyncTask;
import android.view.LayoutInflater;
import android.view.View;
import android.view.... | true |
041c57e5aa72c26ee1b496ef4b1871b6c78d72f2 | Java | adityasrivastava/bid-application | /src/main/java/com/sample/bidsystem/model/request/QueueBidMessage.java | UTF-8 | 1,133 | 2.359375 | 2 | [] | no_license | package com.sample.bidsystem.model.request;
import com.sample.bidsystem.entity.User;
import com.sample.bidsystem.model.QueueMessage;
import java.io.Serializable;
public class QueueBidMessage implements QueueMessage, Serializable {
private Long auctionId;
private float price;
private User buyer;
p... | true |
656d1a6fcbb57fd1828de41e53b9d82330b7181e | Java | soonsoft/Uranus | /uranus.security/src/main/java/com/soonsoft/uranus/security/authorization/voter/IVoter.java | UTF-8 | 607 | 2.25 | 2 | [
"MIT"
] | permissive | package com.soonsoft.uranus.security.authorization.voter;
import java.util.Collection;
import org.springframework.security.access.ConfigAttribute;
import org.springframework.security.core.Authentication;
public interface IVoter {
/**
* 权限投票(检查)
* @param authentication 当前登录的角色信息
* @param object 访问的... | true |
d8635349f0ad912dc5bfdc5ec4994366a179c274 | Java | zhoudy-github/Backup-Restore | /HighjetBI-Common/src/main/java/com/highjet/common/base/utils/ExcelUtil/DTO/TableMapperTemplateDTO.java | UTF-8 | 1,455 | 1.914063 | 2 | [
"Apache-2.0"
] | permissive | package com.highjet.common.base.utils.ExcelUtil.DTO;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;
/**
* @author Email:liufei32@outl... | true |
09c33693a3ffaee93892c74cdde6c78ad5ffa441 | Java | Saseke/LeetCode | /src/arrays/LC67_AddBinary.java | UTF-8 | 2,170 | 3.875 | 4 | [] | no_license | package arrays;
import static java.lang.Character.getNumericValue;
public class LC67_AddBinary {
private String addBinaryBetter(String a, String b) {
StringBuilder sb = new StringBuilder();
int i = a.length() - 1, j = b.length() - 1, carry = 0, sum = 0;
while (i >= 0 || j >= 0) {
... | true |
fea60f3fe0f92767dd16f741e998f3f8ad341b58 | Java | vikassry/devOps-run | /src/test/java/hello/HelloControllerTest.java | UTF-8 | 536 | 2.25 | 2 | [] | no_license | package hello;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class HelloControllerTest {
@Test
public void HelloControllerReturnHelloOnIndex() {
HelloController helloController = new HelloController();
assertEquals("Hello World! from spring boot", helloController.... | true |
a722a8ccf3412f149e5ce6ec412c460d9a548f1d | Java | tgrudz/intrcp | /RCP-SILP/src/zilp/rcp/objects/Day.java | UTF-8 | 2,470 | 2.5625 | 3 | [] | no_license | package zilp.rcp.objects;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* This class represents day node
* @author Jakub Pawlowski
* @version 1.0
**/
public class Day implements Serializable {
public Day() {}
private List<Presence> presences =... | true |
7c7a21e0509483fbf54aee8db3ba82453d1d79c5 | Java | svendp1988/java2-examen | /src/main/java/be/pxl/paj/museum/api/data/CreateArtworkCommand.java | UTF-8 | 706 | 2.4375 | 2 | [] | no_license | package be.pxl.paj.museum.api.data;
import be.pxl.paj.museum.domain.ArtworkType;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
public class CreateArtworkCommand {
@NotEmpty
private final String title;
@NotEmpty
private final String artist;
@NotNull
private final Ar... | true |
91c55c0bd1375f5082c32c1716e53a3b6c440db4 | Java | redmojo7/StartSpringBoot | /src/main/java/com/strat/springboot/controller/service/thread/class1/TestMitiThread1.java | UTF-8 | 1,051 | 3.25 | 3 | [] | no_license | package com.strat.springboot.controller.service.thread.class1;
/**
* Created by Administrator on 2017/5/4.
*/
/**
* 通过实现 Runnable 接口实现多线程
*/
public class TestMitiThread1 implements Runnable {
public static void main(String[] args) {
System.out.println(Thread.currentThread().getName() + " 线程运行开始!");
Te... | true |
b62e6e80fe16fc472466cfa21a41f1e401248e5d | Java | AlfonsoPG/gef4 | /org.eclipse.gef4.swtfx/src/org/eclipse/gef4/swtfx/animation/AbstractTransition.java | UTF-8 | 2,436 | 3.03125 | 3 | [] | no_license | package org.eclipse.gef4.swtfx.animation;
import java.util.Timer;
import java.util.TimerTask;
public abstract class AbstractTransition {
private static final int PERIOD = 30;
public static final double INDEFINITE = -1;
private IInterpolator interpolator = IInterpolator.LINEAR;
/**
* Stores the duration of on... | true |
ea4f28b7e322de8e4645a4f8daa63dde46798b75 | Java | lvhailing/owner_project3 | /app/src/main/java/com/haidehui/common/MyApplication.java | UTF-8 | 4,690 | 1.8125 | 2 | [] | no_license | package com.haidehui.common;
import android.app.Application;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import com.facebook.drawee.backends.pipelin... | true |
33ff5ee1a37e7e5327541e27b695ed5278d9266e | Java | gkancheva/AndroidProjects | /Projects@UdacityCourse/popular-movies/app/src/main/java/com/company/popularmovies/data/MovieDBHelper.java | UTF-8 | 1,378 | 2.59375 | 3 | [] | no_license | package com.company.popularmovies.data;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public class MovieDBHelper extends SQLiteOpenHelper {
private static final String DB_NAME = "movies_db";
private static final int DB_VERSION =... | true |
a059b6e0b3107a3ee5d6d3a022baa3c78ec7bfa1 | Java | shekhfiroz/orm_technology | /00_poctest/src/acessmodifiers/Book.java | UTF-8 | 121 | 2.046875 | 2 | [] | no_license | package acessmodifiers;
public class Book {
public void read() {
System.out.println("Read Method is called..");
}
}
| true |
ef67df3ad43d82eeddea5afde7f6b60f8597ed1f | Java | AswinBahulayan/RandomPrograms | /src/main/java/fibonacci/Fibinacci.java | UTF-8 | 278 | 3.3125 | 3 | [] | no_license | package fibonacci;
public class Fibinacci {
public static void fib(int n)
{
int f1=0,f2=1;
System.out.println(f1);
System.out.println(f2);
for(int i=0;i<=n;i++)
{
int temp=f1+f2;
f1=f2;
f2=temp;
System.out.println(temp);
}
}
}
| true |
317ecff823c54132c019893d6c7767b1a83f451c | Java | k8440009/Algorithm | /Java/BOJ/Java_17140.java | UTF-8 | 5,069 | 3.203125 | 3 | [] | no_license | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
class Unit implements Comparable<Unit>{
int num, cnt;
Unit (int num, int cnt) {
this.num = num;
this.cnt = cnt;
... | true |
6264c386d30b9a2581c2122898ae829b24581ef4 | Java | stephdz/Roundish | /roundish/src/main/java/fr/dz/roundish/rest/RESTAuthenticationHandler.java | UTF-8 | 3,020 | 2.453125 | 2 | [] | no_license | package fr.dz.roundish.rest;
import javax.inject.Singleton;
import javax.servlet.http.HttpSession;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws... | true |
78d11befb2d5486574775d78c662cd8851c4a416 | Java | Talentica/HungryHippos | /client-api/src/test/java/com/talentica/hungryHippos/client/domain/ValueSetTest.java | UTF-8 | 4,657 | 2.546875 | 3 | [
"Apache-2.0"
] | permissive | /*******************************************************************************
* Copyright 2017 Talentica Software Pvt. Ltd.
*
* 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
*
* h... | true |
41c818a8dbe26e846563c3c7f897c1b1ac201768 | Java | zhslv/libraysys | /src/com/zhs/sys/service/BookInfoService.java | UTF-8 | 309 | 1.75 | 2 | [] | no_license | package com.zhs.sys.service;
import com.zhs.sys.domain.BookInfo;
import com.zhs.sys.utils.PageBean;
import java.util.List;
public interface BookInfoService {
List<BookInfo> queryBookInfoForPage(PageBean pageBean,BookInfo bookInfo);
void updateBookInfoBorrowState(Integer bookid, Integer state);
}
| true |
24e9c8bcc4ae044a1a60ffb0a33bc76c2b58fdaf | Java | motsneha/locobot | /LocoBotAppActivity/src/bot/location/locobotapp/StBusActivity.java | UTF-8 | 6,553 | 2.15625 | 2 | [] | no_license | package bot.location.locobotapp;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.protocol.BasicHttp... | true |
517a5cca2fcc3a87e489cb599c3f8a14d816a17f | Java | ChenJiahao0205/demo-typehandler | /src/main/java/pers/chenjiahao/typehandler/entity/User.java | UTF-8 | 674 | 1.96875 | 2 | [] | no_license | package pers.chenjiahao.typehandler.entity;
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 lombok.Data;
import pers.chenjiahao.typehandler.handler.... | true |
99ecb380184d0241797e099ec3902d9e42be2564 | Java | AdrianRomo/Teoria-Computacional | /Practica7TC/src/sources/APND.java | UTF-8 | 11,443 | 3.09375 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package sources;
import java.util.ArrayList;
import java.util.Stack;
/**
*
* @author Adrian
*/
public class APND {
... | true |
009eb93a7992c0862e75cc74b1a88db019cab087 | Java | priyanka163/tool | /NextSWS-master/lmsclient_copy/src/main/java/com/nexteducation/swagger/nextsws/model/SubscriberRequest.java | UTF-8 | 4,297 | 2.03125 | 2 | [] | no_license | /**
* Api Documentation
* Api Documentation
*
* OpenAPI spec version: 1.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*
* Licensed under the Apache License, Version 2.0 (the "License");... | true |
6077848216fdcb3a40d17f19fa2facafcfbce64d | Java | bellmit/tkt-server | /cypw-tktstar/cypw-tktstar-provider/src/main/java/com/mtl/cypw/provider/mpm/endpoint/MachinePosterEndpoint.java | UTF-8 | 1,253 | 1.960938 | 2 | [] | no_license | package com.mtl.cypw.provider.mpm.endpoint;
import com.juqitech.request.IdRequest;
import com.juqitech.response.ResultBuilder;
import com.juqitech.response.TMultiResult;
import com.mtl.cypw.api.member.endpoint.MachineApi;
import com.mtl.cypw.api.mpm.endpoint.MachinePosterApi;
import com.mtl.cypw.domain.mpm.dto.Machine... | true |
c3fd53b263270b6587c84b3834587d0e09cedcb4 | Java | SongChiyoon/codeGround | /src/Ureka.java | UTF-8 | 1,184 | 3.28125 | 3 | [] | no_license | import java.util.Scanner;
/**
* Created by songchiyun on 2017. 9. 22..
*/
public class Ureka {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int T = sc.nextInt();
for(int t=0;t<T;t++){
int N = sc.nextInt();
boolean pass = false;
... | true |
fc20ba93b3cb96e334425b4a9fa5d17aae562d93 | Java | Killian-Townsend/Custom-FTC-Driver-Station-2021 | /app/src/main/java/org/firstinspires/ftc/robotcore/external/tfod/TfodSkyStone.java | UTF-8 | 712 | 1.96875 | 2 | [] | no_license | package org.firstinspires.ftc.robotcore.external.tfod;
public class TfodSkyStone extends TfodBase {
public static final String[] LABELS = new String[] { "Stone", "Skystone" };
public static final String LABEL_SKY_STONE = "Skystone";
public static final String LABEL_STONE = "Stone";
public static final... | true |
c251fcb1ab53b7b5780920918bcfb2a532d81b0c | Java | ZLsuyan/QYKQGL | /QYKQGL/src/mypackage/NewsManage.java | GB18030 | 2,237 | 2.75 | 3 | [] | no_license | package mypackage;
public class NewsManage{
public boolean add(String newstitle,String newscontent,String newsobject,String newsaddtime){
DB db=new DB();
String sql="insert into news(news_title,news_content,news_object,news_addtime)values('"+newstitle+"','"+newscontent+"','"+newsobject+"','"+newsa... | true |
71eba49124bb95e873605d20ad9b31175be94a32 | Java | mesadhan/nitrite-database | /nitrite/src/test/java/org/dizitart/no2/objects/data/ElemMatch.java | UTF-8 | 214 | 1.570313 | 2 | [
"Apache-2.0"
] | permissive | package org.dizitart.no2.objects.data;
import lombok.Data;
/**
* @author Anindya Chatterjee
*/
@Data
public class ElemMatch {
private long id;
private String[] strArray;
private ProductScore[] productScores;
}
| true |
c1f6eb4bd00e1e4061e953bf6e8c306440c552ed | Java | Zartemius/PetroGuide | /app/src/main/java/com/example/darte/petroguide/presenter/domain/interactor/DbSynchronization.java | UTF-8 | 3,685 | 2.46875 | 2 | [] | no_license | package com.example.darte.petroguide.presenter.domain.interactor;
import android.util.Log;
import com.example.darte.petroguide.presenter.domain.model.Place;
import com.example.darte.petroguide.presenter.domain.repositories.AppRepository;
import com.example.darte.petroguide.presenter.domain.repositories.CloudRepository... | true |
fe7a2dd9faf61f8915d55a502a93fb3f508b0f1e | Java | solvek/AudioSpeakerTest | /doc/LesserAudioSwitch_v.2.7.2(124)_source_from_JADX/sources/p000/C0692jp.java | UTF-8 | 1,193 | 1.710938 | 2 | [] | no_license | package p000;
import android.content.Context;
import android.content.Intent;
import com.nordskog.LesserAudioSwitch.SoundBroadcastReceiver;
/* renamed from: jp */
public final /* synthetic */ class C0692jp implements Runnable {
/* renamed from: b */
public final /* synthetic */ C1274vp f2925b;
/* renamed... | true |