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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
2563cebd8ad70df5f751ce43b35d62f614a23208 | Java | memoriavirtual/memoria_virtual_src | /tags/mv_20100409_primeira_versao_operacional/memoriavirtual/src/mvirtual/catalog/heritage/AccessConditions.java | UTF-8 | 628 | 2.53125 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package mvirtual.catalog.heritage;
/**
*
* @author fabricio
*/
enum AccessConditions {
FREE ("FREE", 0L),
UNDER_CONSULT ("UNDER_CONSULT", 1L),
NO_ACCESS ("NO_ACCESS", 2L),
COPY_ACCESS ("COPY_ACCESS",... | true |
22422a6f73daaa2872f2a16ee012552e265571f2 | Java | AlHamidawiHani/tfzr | /src/main/java/tfzr/store/controller/UserController.java | UTF-8 | 2,142 | 2.3125 | 2 | [] | no_license | package tfzr.store.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframewor... | true |
8b0b909957ca210d1c7d0dd4765897446e7c8932 | Java | icersummer/BookCollectorNoReturnActivity | /src/com/vjia/bookcollector/pojo/BookEntity.java | UTF-8 | 2,108 | 2.671875 | 3 | [] | no_license | package com.vjia.bookcollector.pojo;
public class BookEntity {
private String title;
private String author; /* multi-value */
private String link /* rel=alternate */;
private String summary;
// deprecate it, not sure difference in isbn10/isbn13
@Deprecated
private String isbn10;
private String isbn13;
priva... | true |
056d16c7fbeb6fe583116c6b513491fbf5fa6185 | Java | WakkaFlocka239/ValeriaOnline | /src/main/java/me/wakka/valeriaonline/features/fame/FameCommand.java | UTF-8 | 2,984 | 2.375 | 2 | [] | no_license | package me.wakka.valeriaonline.features.fame;
import me.wakka.valeriaonline.ValeriaOnline;
import me.wakka.valeriaonline.features.fame.menu.FameMenu;
import me.wakka.valeriaonline.features.prefixtags.PrefixTags;
import me.wakka.valeriaonline.framework.commands.models.CustomCommand;
import me.wakka.valeriaonline.framew... | true |
6651bee0cdfa4797af0de077f669d15fcc697d7d | Java | lirui-andy/zaitao | /src/main/java/com/yichang/uep/dto/ImportFaildLine.java | UTF-8 | 835 | 2.15625 | 2 | [] | no_license | package com.yichang.uep.dto;
import java.io.Serializable;
public class ImportFaildLine implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
int line;
String reason;
String rawData;
public ImportFaildLine(int line, String reason) {
super();
this.line = line;
this.reas... | true |
e92c024266a0571b72b22204bf099523ff2ae176 | Java | github4n/cloud | /business-service/open-api-service-project/open-api-service/src/main/java/com/iot/ifttt/util/RedisKeyUtil.java | UTF-8 | 1,650 | 2.21875 | 2 | [] | no_license | package com.iot.ifttt.util;
/**
* 描述:redis key 生成工具类
* 创建人: LaiGuiMing
* 创建时间: 2018/4/27 13:40
*/
public class RedisKeyUtil {
private RedisKeyUtil() {
}
public static final long DEFAULT_EXPIRE_TIME_OUT_2 = 2 * 60 * 60l;
public static final String IFTTT_DEVICE_KEY = "ifttt-com:device:%s:%s"; //设备... | true |
ac2d7a95545e3eebc64f240b9db85b64dd0fcaaa | Java | neriudon/test | /todo-oauth-auth/src/main/java/todo/oauth/api/oauth/TokenRevocationRestController.java | UTF-8 | 1,557 | 2.25 | 2 | [] | no_license | package todo.oauth.api.oauth;
import javax.inject.Inject;
import org.springframework.http.HttpStatus;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.web.bind.annotation.RequestMapping;
import org... | true |
053265dedae5d8f65c44c2601ba3a68226dda0d1 | Java | RogerLwr/TPP | /seller/tTPseller/src/main/java/com/tianpingpai/seller/SellerApplication.java | UTF-8 | 4,122 | 1.789063 | 2 | [] | no_license |
package com.tianpingpai.seller;
import android.app.Application;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Build;
import com.baidu.mapapi.SDKInitializer;
import com.tianpingpai.core.ModelStatusListener;
import com.tianpingpai.sell... | true |
5f28e54298bdca3582e5ab7a2be0f86360f695f0 | Java | NeillWhite/eBiomer | /ShadeRef.java | UTF-8 | 30,872 | 2.015625 | 2 | [
"MIT"
] | permissive | package com.goosebumpanalytics.biomer;
/**
*
* ShadeRef.java
* Copyright (c) 1998 Peter McCluskey, all rights reserved.
* based in part on the code from transfor.c, pixutils.c and render.c in
* RasMol2 Molecular Graphics by Roger Sayle, August 1995, Version 2.6
*
* Redistribution and use in source and binary f... | true |
0d728e12dd19e4a1f581c66d972ae058caf3874b | Java | AimeeCxy/superMarket | /src/com/shxt/supermarket/dialog/AddEmployeeInfor.java | GB18030 | 4,204 | 2.28125 | 2 | [] | no_license | package com.shxt.supermarket.dialog;
import org.eclipse.swt.widgets.Dialog;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.MessageBox;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.TableItem;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.SWT;
import org.ecl... | true |
a6fac965c0430e215ba2c031f7271cda4c8c63e5 | Java | guoqi1994/springboot-rocketmq | /src/main/java/com/willjo/mq/TransMessageRunner.java | UTF-8 | 3,949 | 2.171875 | 2 | [] | no_license | package com.willjo.mq;
import com.willjo.dal.entity.MqTransMessageEntity;
import com.willjo.message.MqTransMessage;
import com.willjo.service.MqTransMessageService;
import org.apache.rocketmq.client.producer.SendResult;
import org.apache.rocketmq.client.producer.SendStatus;
import org.slf4j.Logger;
import org.slf4j.Lo... | true |
f2d213192f1b7723ac71d11d31ead7d2ac6b77d4 | Java | ingogriebsch/bricks | /bricks-dashboard/src/test/java/com/github/ingogriebsch/bricks/dashboard/web/IndexControllerTest.java | UTF-8 | 8,459 | 1.632813 | 2 | [
"Apache-2.0"
] | permissive | /*-
* #%L
* Bricks Dashboard
* %%
* Copyright (C) 2018 - 2019 Ingo Griebsch
* %%
* 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
... | true |
39be23bc467046b28c0030911149236ae868a17c | Java | dance41ife/rateCurricula | /src/test/java/com/platform/OpenPlatformApplicationTests.java | UTF-8 | 3,531 | 2.0625 | 2 | [] | no_license | package com.platform;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.platform.bean.Rel;
import com.platform.bean.RespQues;
import com.platform.bean.RespSubject;
import com.platform.bean.Subject;
import com.platform.dao.SubjectDao;
import com.pl... | true |
de5ad9d87d9f06f8e4805af65abeec2a362a6bad | Java | quinnlin/fabric8 | /components/fabric8-build-workflow/src/main/java/io/fabric8/workflow/build/trigger/BuildWorkItemHandler.java | UTF-8 | 4,284 | 2.203125 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright 2005-2015 Red Hat, Inc.
*
* Red Hat licenses this file to you 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 r... | true |
70cf6a25bfa24428ed5629ba7537caaf8c60496e | Java | unicorn2828/epam_task2_handling | /handling/src/main/java/by/kononov/handling/interpreter/MathExpression.java | UTF-8 | 132 | 1.882813 | 2 | [] | no_license | package by.kononov.handling.interpreter;
@FunctionalInterface
public interface MathExpression{
void interpret(Context context);
}
| true |
42adf47e908115a108bfc7f0c79cafd7e0a49487 | Java | Scoped/WarriorCulturesShaolin | /WCS_common/WarriorCulturesShaolin/Scoped/com/github/lib/ItemIDs.java | UTF-8 | 4,537 | 1.835938 | 2 | [] | no_license | package WarriorCulturesShaolin.Scoped.com.github.lib;
public class ItemIDs
{
/**
* Shaoli: Items
*/
public static final int ITEM_SHAOLIN_BLADES_ID_DEFAULT = 3862;
public static final int ITEM_SHAOLIN_CLOTHS_ID_DEFAULT = 3864;
public static final int ITEM_SHAOLIN_TIPS_ID_DEFAULT = 3865;
public static final int... | true |
320aa09bdf9d7573949a40a0dec68d0f3571f28c | Java | xdevroey/vibes | /vibes-selection/src/main/java/be/vibes/selection/random/UsageDrivenRandomSelector.java | UTF-8 | 3,117 | 2.53125 | 3 | [
"Apache-2.0"
] | permissive | package be.vibes.selection.random;
/*-
* #%L
* VIBeS: test case selection
* %%
* Copyright (C) 2014 - 2018 University of Namur
* %%
* 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
*
... | true |
63ca4428a9d80f6a52e679c64c68da66e69cdbcb | Java | neerajtony73/java_codes | /Fib.java | UTF-8 | 288 | 2.484375 | 2 | [] | no_license | NEERAJ TONY
ID:1234083
HW_12
public class Fib {
public static void main(String args[]){
int c0=0,c1=1,c2,i;
int count=12;
System.out.print(c0+" "+c1);
for(i=2;i<count;i++){
c2=c0+c1;
System.out.print(" "+c2);
c0=c1;
c1=c2;
}
}
}
| true |
f06b6ab0b776644c5bcd3c1decef9d39df77d91d | Java | zhilien-tech/zhiliren-we | /we-web-parent/dlws-we-game/src/main/java/com/xiaoka/game/admin/checkFinance/service/FinanceService.java | UTF-8 | 1,558 | 1.804688 | 2 | [] | no_license | package com.xiaoka.game.admin.checkFinance.service;
import org.nutz.dao.pager.Pager;
import com.xiaoka.game.admin.checkFinance.form.FinanceSqlForm;
import com.xiaoka.game.admin.checkFinance.po.FinancePo;
public interface FinanceService {
/**
*
* 项目名称:dlws-xiaoka-game
* 描述:财务审核列表
* 创建人: ln
... | true |
cd6779c234667a35fe7c90c337c2ad0b22c00e84 | Java | yizw/NewFastFrame | /chat/src/main/java/com/example/chat/mvp/PictureInfoTask/PicturePresenter.java | UTF-8 | 5,101 | 2.09375 | 2 | [] | no_license | package com.example.chat.mvp.PictureInfoTask;
import com.example.chat.api.PictureApi;
import com.example.chat.base.Constant;
import com.example.chat.bean.PictureBean;
import com.example.chat.bean.PictureResponse;
import com.example.chat.util.ChatUtil;
import com.example.chat.util.LogUtil;
import com.example.commonlibr... | true |
a042e2f4911dd065f0cd7407b3f21e7a10037bc2 | Java | Faisal2736/MascoAndroid | /app/src/main/java/com/semicolons/masco/pk/dataModels/CartResponse.java | UTF-8 | 575 | 1.929688 | 2 | [] | no_license | package com.semicolons.masco.pk.dataModels;
import android.content.SharedPreferences;
public class CartResponse {
private String message;
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
private SharedPreferen... | true |
7ed79f9fe004127e4c5b4751dea58abdd354bae5 | Java | rsnape/TechAdoption | /JReLM/edu/iastate/jrelm/rl/SimpleStatelessPolicy.java | UTF-8 | 14,619 | 2.96875 | 3 | [] | no_license | /*
* Created on Jun 21, 2004
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package edu.iastate.jrelm.rl;
import java.util.ArrayList;
import cern.jet.random.engine.MersenneTwister;
import cern.jet.random.engine.RandomEngine;
im... | true |
8d18ac6abde2aa0ef8a6b1c8d4916fcb6ba9ce13 | Java | Geovany01/ProyectoProgra22021 | /src/java/modelo/Puesto.java | UTF-8 | 4,499 | 2.671875 | 3 | [] | no_license | package modelo;
import java.awt.HeadlessException;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.HashMap;
import javax.swing.table.DefaultTableModel;
public class Puesto {
private int idPuesto;
private String puesto;
Conexion nuevaConexion;
... | true |
3556e8aa5a5153eb133b08a71f49b371001ba1fd | Java | bbw1992/boot-netty-test | /netty-server/src/main/java/com/bai/server/HeartBeatSimpleHandle.java | UTF-8 | 5,473 | 2.359375 | 2 | [
"Apache-2.0"
] | permissive | package com.bai.server;
import io.netty.buffer.ByteBuf;
import io.netty.channel.*;
import io.netty.handler.timeout.IdleState;
import io.netty.handler.timeout.IdleStateEvent;
import io.netty.util.CharsetUtil;
import lombok.extern.slf4j.Slf4j;
import java.nio.charset.Charset;
import java.util.Arrays;
import java.util.M... | true |
d1b8a1415a80c5a2b735a51e619809b2273aff04 | Java | beijingwode/factory_outside | /src/main/java/com/wode/factory/outside/controller/SmsProxyController.java | UTF-8 | 1,946 | 1.90625 | 2 | [] | no_license | package com.wode.factory.outside.controller;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.alibaba.fastjson.JSONObject;
imp... | true |
8bff263611ffbef2679f5dfb772a1bfee7976a2f | Java | ResurrectionRemix/android_frameworks_base | /core/java/android/hardware/camera2/utils/ArrayUtils.java | UTF-8 | 5,918 | 2.78125 | 3 | [
"Apache-2.0",
"LicenseRef-scancode-unicode"
] | permissive | /*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | true |
8bc34922b9711dd2382b782eb25ac6a9a79bedb7 | Java | seanlab/javasample | /src/me/seanxiao/leetcode/BinaryTreeZigzagLevelOrderTraversal.java | UTF-8 | 1,368 | 3.296875 | 3 | [] | no_license | package me.seanxiao.leetcode;
import java.util.ArrayList;
public class BinaryTreeZigzagLevelOrderTraversal {
public ArrayList<ArrayList<Integer>> levelOrder(TreeNode root) {
ArrayList<ArrayList<Integer>> results = new ArrayList<ArrayList<Integer>>();
ArrayList<TreeNode> nodes = new ArrayList<TreeN... | true |
6c212ad5f7a205fa2f26729ebdcd1d8a1826fc3e | Java | olivierthas/Programming-Essentials-2 | /Werkcollege8/src/oefening3/Swingcomponenten.java | UTF-8 | 4,386 | 2.953125 | 3 | [
"MIT"
] | permissive | package oefening3;
import java.awt.Color;
import java.awt.GridLayout;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import j... | true |
ee59cd1c34262f8a1bf912f9fe696fb14cb9dc3d | Java | trohman/Java-Projects | /Grapher3D/src/pkg3ddisplay/MatrixOperator.java | UTF-8 | 1,322 | 3.59375 | 4 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package pkg3ddisplay;
/**
*
* contains a method that multiplies two matrixes
*
* @author Rohman
*/
public class MatrixOperator {
/**
* multiplies the two provided matrixes
* If the dimensions of t... | true |
eece851971431a82930376a4ae84481034d7e31d | Java | jkarethiya/jdk7 | /src/main/java/com/jk/jdk/core/accessspecifier/privatee/CallToPrivateMethod.java | UTF-8 | 1,822 | 3.40625 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.jk.jdk.core.accessspecifier.privatee;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
/**
*
* ... | true |
dc181614601cdbfa77e36c4120f3e190bf2dd76c | Java | RayHo8224/ePOS | /src/main/java/com/discount/model/DiscountVO.java | UTF-8 | 440 | 2.21875 | 2 | [] | no_license | package com.discount.model;
public class DiscountVO implements java.io.Serializable{
private static final long serialVersionUID = 1L;
private String dis_id;
private Float dis_price;
public String getDis_id() {
return dis_id;
}
public void setDis_id(String dis_id) {
this.dis_id = dis_id;
}
public Float ge... | true |
65bf052c9ceb0b41964f93ba9c2c64c7658670b3 | Java | briupdingcm/hadoop | /mapred/src/main/java/com/briup/mr/inputFormat/reader/ysw/MaxTemperatureByYearStation.java | UTF-8 | 2,065 | 2.265625 | 2 | [] | no_license | package com.briup.mr.inputFormat.reader.ysw;
import com.briup.mr.type.YearStation;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce... | true |
ec55a9025d37c04fa0f456aa21374f67ce797ddb | Java | navinvishy/dynamodbsql | /src/main/java/com/jobvite/dynamodbsql/dynamo/model/OrExpr.java | UTF-8 | 1,069 | 2.84375 | 3 | [] | no_license | package com.jobvite.dynamodbsql.dynamo.model;
import com.jobvite.dynamodbsql.translator.visitor.ExprVisitor;
public class OrExpr extends ConditionExpr {
private ConditionExpr left;
private ConditionExpr right;
public OrExpr(ConditionExpr left, ConditionExpr right){
this.left = left;
this.r... | true |
d9dd990e0746642547d1d11c336d9e14dfb3606c | Java | Jay2645/geniusect-sim | /abilities/AbilityFlashFire.java | UTF-8 | 421 | 2.453125 | 2 | [] | no_license | package geniusectsim.abilities;
import geniusectsim.battle.Type;
import geniusectsim.pokemon.Pokemon;
/**
* A class representing the "Flash Fire" ability.
* @author TeamForretress
*/
public class AbilityFlashFire extends Ability
{
public AbilityFlashFire()
{
rating = 3;
}
@Override
public void setUser(Pokem... | true |
887af5e29c23dcc0c36f9b66efe9d3cace0b8aed | Java | evrenvural/admin-panel | /src/main/java/com/evrenvural/admin/service/IssueService.java | UTF-8 | 411 | 1.804688 | 2 | [] | no_license | package com.evrenvural.admin.service;
import com.evrenvural.admin.dto.IssueDto;
import com.evrenvural.admin.util.TPage;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
public interface IssueService {
IssueDto save(IssueDto issue);
IssueDto getById(Long id);
... | true |
4f3d20ad2ba33bb14e8be80141f238d66f828ba2 | Java | melnyk-alex/Example-JDBC-with-JFrame | /JavaJDBCFrames/src/ua/com/codefire/jdbc_swing/MainFrame.java | UTF-8 | 12,843 | 2.0625 | 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 ua.com.codefire.jdbc_swing;
import java.awt.Window;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.F... | true |
9e2b61ce6ed362533876e77746a506924be9d844 | Java | santhoshscse/ChessValidator | /src/main/java/com/target/chess/validator/PawnMoveValidator.java | UTF-8 | 7,588 | 2.6875 | 3 | [] | no_license | package com.target.chess.validator;
import java.util.List;
import com.target.chess.exception.MoveException;
import com.target.chess.exception.MoveException.ErrorCode;
import com.target.chess.model.Board;
import com.target.chess.model.Command;
import com.target.chess.model.Location;
import com.target.chess.model.Piece... | true |
6f2c7a3422b232cd632ea7ec368a66b50d65db95 | Java | frodoking/Java | /java_data_structure/src/main/java/cn/com/frodo/algorithm/leetcode/LC142DetectCycle.java | UTF-8 | 2,396 | 3.609375 | 4 | [] | no_license | package cn.com.frodo.algorithm.leetcode;
import cn.com.frodo.LinkedNode;
import cn.com.frodo.algorithm.AlgorithmPoint;
import cn.com.frodo.algorithm.IAlgorithm;
/**
* 142. 环形链表 II
* 给定一个链表的头节点 head ,返回链表开始入环的第一个节点。 如果链表无环,则返回 null。
*
* 如果链表中有某个节点,可以通过连续跟踪 next 指针再次到达,则链表中存在环。 为了表示给定链表中的环,评测系统内部使用整数 pos 来表示链表尾连接到... | true |
f5de64c7920b272e7e562c9465962f83187ca9ba | Java | csj4032/enjoy-algorithm | /baekjoon/src/main/java/p11728/Main.java | UTF-8 | 1,148 | 3.28125 | 3 | [] | no_license | package p11728;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer... | true |
4a999d07958967489b1d234fa0a92e7d8dcef4ea | Java | tawfiqul-islam/RM-Simulator | /simulator/src/Policy/RRScheduler.java | UTF-8 | 810 | 2.09375 | 2 | [
"Apache-2.0"
] | permissive | package Policy;
import Entity.Job;
import Entity.VM;
import Manager.Controller;
import Manager.StatusUpdater;
import java.util.ArrayList;
public class RRScheduler {
public static boolean findSchedule(Job job) {
boolean found=false;
for(int j=0,i=0;j<job.getE();i++) {
if(i==Controller... | true |
a613c30c00ddb9682b390cb48adf705a91d71f9d | Java | liubenwei/QCache | /src/java/main/recycle/MarkExpire.java | UTF-8 | 2,764 | 2.59375 | 3 | [] | no_license | package recycle;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import store.CacheFileGroup;
import store.MappedFile;
import store.StoreOptions;
import java.util.List;
/**
* 标记所有超时的数据.
*/
public class MarkExpire implements Mark{
private static Logger logger = LoggerFactory.getLogger(MarkExpire.class);... | true |
42b804a6839401edb3c3fba4983ad1af7e5006f8 | Java | ZesenWang/MyCodeRepository--Eclipse | /Calculator/src/com/example/calculator/MainActivity.java | UTF-8 | 4,265 | 2.046875 | 2 | [] | no_license | package com.example.calculator;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.app.ActionBar;
import android.support.v4.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import androi... | true |
64b2dbb54afa6a88ad7f21943f752049622ef200 | Java | Tonio993/Scrap-Code | /fabrizio_maurizio/src/fabrizio_maurizio/Roba.java | UTF-8 | 181 | 2.1875 | 2 | [] | no_license | package fabrizio_maurizio;
public class Roba {
private String coso;
public String getCoso() {
return coso;
}
public void setCoso(String coso) {
this.coso = coso;
}
}
| true |
291ea15f1ce5b5e6266acbf7f83bed1e37d3b564 | Java | kbiid/Torpedo | /Study/src/main/java/threadex/traning/Main.java | UTF-8 | 223 | 1.539063 | 2 | [] | no_license | package threadex.traning;
public class Main {
public static void main(String[] args) {
ThreadTest test = new ThreadTest(Integer.parseInt(args[0]));
test.setTestNum(100);
test.runTestSwitch("extends");
}
}
| true |
5e32d6db4df092a77c5530a4c8baefd247c4c655 | Java | bongthoi/vinhsang-full-web-stanalone-v1-20180209 | /src/main/java/vinhsang/controller/AboutCtrl.java | UTF-8 | 1,826 | 2.078125 | 2 | [] | no_license | package vinhsang.controller;
import java.util.Locale;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.ModelAttribute;
imp... | true |
c2e9cfc9f6aec48d8572aa8cea88ed7940e2b293 | Java | stpetkov/reminder | /src/bubblesort/Solution.java | UTF-8 | 688 | 2.8125 | 3 | [] | no_license | package bubblesort;
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int tC=sc.nextInt();
String a=sc.next();
String b=sc.next();
Set <Character> set=new HashSet<Charac... | true |
8bc3ed7abc9d4feba49064c06eae71271fcd2aaf | Java | mikhailbohdanov/JQuantium_old | /src/com/quantium/web/bean/core/Response.java | UTF-8 | 5,524 | 2.109375 | 2 | [] | no_license | package com.quantium.web.bean.core;
import com.quantium.web.bean.Url;
import com.quantium.web.bean.security.UserSecurity;
import com.quantium.web.bean.security.permissions.AccessManager;
import com.quantium.web.service.Languages;
import com.quantium.web.service.MainServices;
import com.quantium.web.util.UserHelper;
im... | true |
9fa4d471af22f1043267eb74ac3ec59966d9fe80 | Java | anton-dev-ua/TheLife | /src/main/java/thelife/engine/hashlife/Universe.java | UTF-8 | 391 | 2.3125 | 2 | [] | no_license | package thelife.engine.hashlife;
import java.math.BigInteger;
public class Universe extends CachedQuadTreeUniverse {
@Override
protected Block createInitialBlock() {
return HashLifeBlock.create(3);
}
@Override
protected BigInteger incGeneration(BigInteger generation, int level) {
... | true |
3d91aa9e80c315019128e0492eb54a19554928d7 | Java | 17Wang/MyNote | /MyNote/src/MyNote/NoteWriteArea.java | UTF-8 | 2,815 | 2.859375 | 3 | [] | no_license | package MyNote;
import javax.swing.*;
import javax.swing.text.DefaultStyledDocument;
import javax.swing.text.StyledDocument;
import java.awt.*;
import java.awt.color.ICC_Profile;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEven... | true |
1e0291bfa9b80b1226ee904768d681d237ee3038 | Java | eaksi/SolGDX | /STactics/src/com/github/eaksi/stactics/db/RNG.java | UTF-8 | 411 | 2.5 | 2 | [] | no_license | package com.github.eaksi.stactics.db;
import java.util.Random;
/**
* A very basic Random Number Generator class. Will be expanded later.
*/
public class RNG {
// TODO: (low priority) Prevent save scumming
private static Random rng;
public static void initialize() {
rng = new Random();
}
... | true |
b7793332a1052072adab98a807de869165f29227 | Java | mischelll/Java-Fundamentals-Module | /Methods - LAB/PrintingTriangle.java | UTF-8 | 604 | 3.578125 | 4 | [] | no_license | package JavaFundamnetalsLab;
import java.util.Scanner;
public class PrintingTriangle {
public static void main(String[] args) {
printTri(new Scanner(System.in).nextInt());
}
static void printLine(int start, int end){
for (int i = start; i <= end; i++) {
System.out.p... | true |
3305f805dd74b537c9ee3917f45c5839bdb1595a | Java | alfalar/agrinsaweb | /agrinsa/src/co/geographs/agrinsa/dao/NuevoLoteDao.java | UTF-8 | 2,516 | 2.4375 | 2 | [] | no_license | package co.geographs.agrinsa.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.engine.SessionFactoryImplem... | true |
1872db81c85b8fd946d33827f217f7b6ba6e4db9 | Java | adnan260896/MeritnatiomProject_1 | /Meritnation_grp_project/Meritnation/src/test/java/com/StepDefinition/Meritnation_editprofileStep.java | UTF-8 | 7,587 | 2.390625 | 2 | [] | no_license | package com.StepDefinition;
import java.io.IOException;
import org.apache.log4j.Logger;
import com.baseclass.library;
import com.excelutility.excelUtil;
import com.pages.Meritnation_EditProfile;
import com.seleniumutil.seleniumutil;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
i... | true |
053f7d7fe56ba4d7a2102b138fa180da91ee1bc1 | Java | shikarimithila/JOB_PORTAL | /src/controller/RecruiterLogin.java | UTF-8 | 720 | 1.890625 | 2 | [] | no_license | package controller;
import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpS... | true |
2e9659cb64835bc9c724f01300036a0304e9e4dc | Java | WrRaThY/trade-validator | /src/main/java/priv/rdo/trade/validation/ValidationManager.java | UTF-8 | 1,428 | 2.296875 | 2 | [] | no_license | package priv.rdo.trade.validation;
import org.slf4j.ext.XLogger;
import org.slf4j.ext.XLoggerFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;
import priv.rdo.trade.model.input.Trade;
import priv.rdo.trade.model.output.ValidationResult;
import priv.rdo.tra... | true |
16f6495ab61a5bfe8c93d5ef85ba51a3a717b3fa | Java | dither001/PrehistoricEclipse | /src/main/java/net/guavy/prehistoriceclipse/client/model/MegalodonModel.java | UTF-8 | 15,397 | 2.28125 | 2 | [
"CC0-1.0"
] | permissive | package net.guavy.prehistoriceclipse.client.model;
import net.guavy.prehistoriceclipse.entity.DinosaurEntity;
import software.bernie.geckolib.animation.render.AnimatedModelRenderer;
// Made with Blockbench 3.5.4
// Exported for Minecraft version 1.12.2 or 1.15.2 (same format for both) for entity models animated with ... | true |
31672043dc55b0c7dc9d43e0e75b629566f1d206 | Java | kyeongsikkim/TestRepositroy | /JavaFXProgramming/src/ch17/homework/exam32/RootController.java | UTF-8 | 5,852 | 2.796875 | 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 ch17.homework.exam32;
import java.io.IOException;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.collecti... | true |
c0eb6e36ddd07f689165eaa813a0930ff1601cad | Java | dlwo01/github50 | /Java/src/ch11/_01_ArrayExceptionEx.java | UTF-8 | 921 | 3.734375 | 4 | [] | no_license | package ch11;
public class _01_ArrayExceptionEx {
public static void main(String[] args) {
/*
* 예외 처리 목적 : 정상종료
* try {
* 예외가 발생할 수 있는 코드 부분
* } catch(처리할 예외 타입 e) {
* try 블록안에서 예외가 발생했을 때 예외를 처리하는 부분
* } finally {
* 항상 수행되는 부분, 주로 자원해제를 위한 close() 문장이 온다.
* }
*/
int... | true |
902f55a0be4c1a7f9ad82af32ed72bf4a0d8d83d | Java | magicgis/mshop | /src/main/java/com/misuosi/mshop/entity/WaybillTemplate.java | UTF-8 | 2,732 | 1.921875 | 2 | [] | no_license | /*
* Copyright (c) 2014
* 广州米所思信息科技有限公司(Guangzhou Mythos Information technology co., LTD)
* All rights reserved.
*/
package com.misuosi.mshop.entity;
import com.misuosi.mshop.db.Entity;
import com.misuosi.mshop.db.annotation.Id;
import java.sql.Timestamp;
/**
* Description : 实体类 WaybillTemplate
* <br><br>Time... | true |
6415c675fd0c8ddd758deb05665569033e357599 | Java | libgdx/libgdx | /extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/particle/ParticleBodyContact.java | UTF-8 | 498 | 2.53125 | 3 | [
"Apache-2.0",
"LicenseRef-scancode-other-copyleft",
"CC-BY-SA-3.0",
"LicenseRef-scancode-proprietary-license"
] | permissive |
package org.jbox2d.particle;
import org.jbox2d.common.Vec2;
import org.jbox2d.dynamics.Body;
public class ParticleBodyContact {
/** Index of the particle making contact. */
public int index;
/** The body making contact. */
public Body body;
/** Weight of the contact. A value between 0.0f and 1.0f. */
float wei... | true |
9a00ac3c7d3f6c53d4da14633a8f0b4c152d7429 | Java | navedev/genericstream | /genericstream/src/main/java/com/demo/genericstream/service/MessagingService.java | UTF-8 | 909 | 2.171875 | 2 | [] | no_license | /**
* Test Copyright Code
*/
package com.demo.genericstream.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.MessageHeaders;
import org.springframework.messaging.support.MessageBuilder;
import org.springfra... | true |
4b54781367c201eb9effeda650bc7d95f7a84295 | Java | yu199195/jsb | /src/main/java/com/taobao/api/response/CainiaoWaybillIiGetResponse.java | UTF-8 | 2,459 | 1.804688 | 2 | [] | no_license | package com.taobao.api.response;
import com.taobao.api.TaobaoObject;
import com.taobao.api.TaobaoResponse;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;
import java.util.List;
public class CainiaoWaybillIiGetResponse
extends TaobaoResponse {
private... | true |
9a17ba88468f79f81296140ce27534fb2e653b52 | Java | Donggyeom/https-github.com-hrnoh-graduate_proj-EccessManagementApplication | /app/src/main/java/ng/grad_proj/eccessmanagementapplication/Activity/TabFragment3.java | UTF-8 | 3,307 | 2.1875 | 2 | [] | no_license | package ng.grad_proj.eccessmanagementapplication.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.content.SharedPreferencesCompat;
import android.view.LayoutInf... | true |
1f48de48daedefa5b681337ae62991a7891a0ebf | Java | wenliangwei555/- | /BaiseeOA/.svn/pristine/de/deabce11d855bed23d736f25e02368f4b2e02cd2.svn-base | UTF-8 | 752 | 2.1875 | 2 | [] | no_license | package cn.baisee.oa.service.impl;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import cn.baisee.oa.dao.baisee.BaiseeClassroomMapper;
import cn.baisee.oa.model.course.BaiseeClassroo... | true |
b7994c2ea179d94d42e92efd79593b5b054c42af | Java | uno1bruno2/BrunoJava | /Taxes/src/main/java/main/Main.java | UTF-8 | 372 | 2.671875 | 3 | [] | no_license | package main;
public class Main {
public void percentage(int n) {
int ntax = 0;
if (n > 0 && n < 15000) {
ntax = 0;
} else if (n > 14999 && n < 20000) {
ntax = n * 0.1;
} else if (n > 19999 && n < 30000) {
ntax = n * 0.15;
} else if (n > 29999 && n < 45000) {
ntax = n * 0.2;
} else {... | true |
c5e9f12f9e6c088fa66d32a7769e038c03bc5c8d | Java | AndresSal/Distribuidas | /Jaccard_Tanimoto/src/jaccard_tanimoto/Hilo.java | UTF-8 | 4,364 | 3.296875 | 3 | [] | no_license | package jaccard_tanimoto;
import static jaccard_tanimoto.Quimicos.T;
import java.util.ArrayList;
import java.util.Map;
import java.util.TreeMap;
/**
*
* @author joselimaico andressalazar
*/
public class Hilo extends Thread implements Runnable {
//Creacción de ArrayList para el manejo de los caracteres... | true |
edd1a15093c323315d950ad1334df6459822337b | Java | buhti/esup-covoiturage | /src/main/java/org/esupportail/covoiturage/web/form/DateTimeField.java | UTF-8 | 1,155 | 2.984375 | 3 | [] | no_license | package org.esupportail.covoiturage.web.form;
import javax.validation.Valid;
import org.joda.time.DateTime;
import org.joda.time.LocalTime;
public class DateTimeField extends DateField {
@Valid
private TimeField timeField;
/**
* Construteur.
*/
public DateTimeField() {
this(new Da... | true |
f5d56674e9fe164dc10b523e37b6c69c321714f2 | Java | KeiSakam/pokemon-java | /ToyShop.java | SHIFT_JIS | 2,062 | 3.6875 | 4 | [] | no_license | //main()Ƃ\bhĂNXׂẴvȌo_
//RXgN^gƁACX^XݒƓɃtB[hɏlݒł悤ɂȂB
//ShopKeeper͎q\̃NXAsuzuki(CX^X)ϐ()(car1̂킩₷)B
//suzukiɂ́AShopKeeperƂÕNXĂB
//suzukiƂϐɁAShopKeeperNX琶CX^XB
public class ToyShop{
public static void main(String[] args){ //new͗\BꉞZqB
ShopKeeper suzuki =new ShopKeeper(""); //ԑ匳̃NXŃCX^X쐬B... | true |
441713088aded82ce66aea6a72982263a2c99fd5 | Java | jiandun/MyLeetCode | /src/com/algorithms/array/LargestRectangleInHistogram.java | UTF-8 | 141 | 2.03125 | 2 | [] | no_license | package com.algorithms.array;
public class LargestRectangleInHistogram {
public int largestRectangleArea(int[] heights) {
return 0;
}
}
| true |
5a5b8fec6e1271bddf90ef80875fc1d663bf629e | Java | litangtang/hhyz | /src/com/hhyzoa/model/Trade.java | UTF-8 | 5,251 | 2.609375 | 3 | [] | no_license | package com.hhyzoa.model;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Transient;
/**
* 原料往来
* @author lizhibin
*
*/
@Enti... | true |
e333774596c5fed007d470e9933ac3fbb0532d9e | Java | nhungnguyen123/ThucTapAndroid | /ThucTap/app/src/main/java/com/uiapp/thuctap/mvp/main/garden/gardenclient/presenter/GardenClientPresenter.java | UTF-8 | 1,671 | 1.914063 | 2 | [] | no_license | package com.uiapp.thuctap.mvp.main.garden.gardenclient.presenter;
import com.uiapp.thuctap.base.presenter.BasePresenter;
import com.uiapp.thuctap.interactor.api.ApiManager;
import com.uiapp.thuctap.interactor.api.network.ApiCallback;
import com.uiapp.thuctap.interactor.api.network.RestError;
import com.uiapp.thuctap.i... | true |
ca0c6e196cf97fd69913bbfb3494cad5a2db8994 | Java | amarnath29993/Product-ManagementApp | /src/main/java/com/product/jpa/CountryJpa1.java | UTF-8 | 210 | 1.617188 | 2 | [] | no_license | package com.product.jpa;
import org.springframework.data.jpa.repository.JpaRepository;
import com.product.model.Country1;
public interface CountryJpa1 extends JpaRepository<Country1, Integer>{
}
| true |
edf220c78a046d6afc1e986e5e0f418a29e6cd4d | Java | k0pernicus/TP_Licence_Master_Info | /Master/S2/CAR_TP1/test/FTPServer/User/UserTest.java | UTF-8 | 691 | 2.734375 | 3 | [] | no_license | package FTPServer.User;
import static org.junit.Assert.*;
import org.junit.Test;
public class UserTest {
@Test
public void test() {
User user1 = new User("Grutier", "magruemalife");
//Nom correspondant
assertTrue("Grutier".equals(user1.getUsername()));
//Mot de passe correspo... | true |
ce90ce98be6023bcdea5d3eb391ff27fb34d53b4 | Java | SteveJonNunez/FPVDrone | /sharedclasses/src/main/java/com/golshadi/orientationSensor/utils/AppConstants.java | UTF-8 | 218 | 1.632813 | 2 | [
"Apache-2.0"
] | permissive | package com.golshadi.orientationSensor.utils;
public class AppConstants {
public final static String AZIMTUH = "azimuth";
public final static String PITCH = "pitch";
public final static String ROLL = "roll";
}
| true |
518e3b51e8e1e89c41739a80d85574da3580c34d | Java | nmorel/GenerateGwtRfProxy | /plugin/src/com/github/generategwtrfproxy/wizards/GenProxyWizardPage.java | UTF-8 | 17,234 | 1.71875 | 2 | [] | no_license | package com.github.generategwtrfproxy.wizards;
import com.github.generategwtrfproxy.beans.Method;
import com.github.generategwtrfproxy.visitors.MethodVisitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.... | true |
2ff7c0acea62451ebbf13d88b0132ebd8b965930 | Java | yusufnazir/framework_parent | /framework.core.vaadinflow/src/main/java/software/simple/solutions/framework/core/web/view/PersonInformationView.java | UTF-8 | 3,694 | 2.125 | 2 | [] | no_license | package software.simple.solutions.framework.core.web.view;
import com.vaadin.flow.component.icon.Icon;
import com.vaadin.flow.router.Route;
import software.simple.solutions.framework.core.components.filter.CStringIntervalLayout;
import software.simple.solutions.framework.core.constants.ReferenceKey;
import sof... | true |
4f557953d7bfa8f309a0dcfe24b94fd70a6526b6 | Java | Bhargavbala/EmployeePojo | /src/main/java/com/api/employee/EmployeeDetails/EmployeeController.java | UTF-8 | 1,009 | 2.46875 | 2 | [] | no_license | package com.api.employee.EmployeeDetails;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@RestController
public class EmployeeController {
@Autowired
private EmployeeService employeeService;
@GetMapping("/employe... | true |
1b2363a42985e2ab8faadd9ef0fe024354838b5b | Java | e-xxkun/Code_P | /Java/IDEA/ch-02/src/test/java/com/orange/MyTest.java | UTF-8 | 660 | 2.234375 | 2 | [] | no_license | package com.orange;
import com.orange.service.SomeService;
import com.orange.service.impl.SomeServiceImpl;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class MyTest {
@Test
public void test01(){... | true |
77c5a4167fba69e49092f041c15347de0c3657cf | Java | jalerson/backhoe | /src/br/ufrn/ppgsc/backhoe/miner/CodeContributionMiner.java | UTF-8 | 11,925 | 1.820313 | 2 | [] | no_license | package br.ufrn.ppgsc.backhoe.miner;
import java.sql.Date;
import java.util.ArrayList;
import java.util.List;
import br.ufrn.ppgsc.backhoe.exceptions.MissingParameterException;
import br.ufrn.ppgsc.backhoe.persistence.model.ChangedPath;
import br.ufrn.ppgsc.backhoe.persistence.model.Commit;
import br.ufrn.ppgsc.backh... | true |
d8de227b5a5fc882977fa795c99aa96fdc35004a | Java | Zouhairhajji/Financial_Opportunities_Detection | /5_web_app/src/main/java/fr/template/services/UserService.java | UTF-8 | 5,307 | 2.0625 | 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 fr.template.services;
import fr.template.libraries.HashGeneratorInterface;
import fr.template.libraries.IdenticonGenerator;
im... | true |
972c8e19dc79ec04b84b7b8332b09489f8ea1874 | Java | stevewen/ihmc-open-robotics-software | /valkyrie/src/main/java/us/ihmc/valkyrie/simulation/ValkyrieDataFileNamespaceRenamer.java | UTF-8 | 3,175 | 2.390625 | 2 | [
"Apache-2.0"
] | permissive | package us.ihmc.valkyrie.simulation;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import us.ihmc.yoVariables.registry.NameSpaceRenamer;
import us.ihmc.yoVariables.registry.YoVariableRegistry;
import us.ihmc.simulationconstructionset.Robot;
import us.ihmc.simula... | true |
938e9c132c420e9b3702d8a2fafc3bcc29106cbd | Java | pengzhetech/design_patterns | /factory-method/src/main/java/com/design/factoty/method/AbstractHumanFactory.java | UTF-8 | 300 | 2.53125 | 3 | [
"MIT"
] | permissive | package com.design.factoty.method;
/**
* @author pengzhe
* @date 2018/10/16 19:03
*/
public abstract class AbstractHumanFactory {
/**
* createHuman
*
* @param clazz
* @param <T>
* @return
*/
public abstract <T extends Human> T createHuman(Class<T> clazz);
}
| true |
48b1cec04b484e1aa4c987d2e816fb1db1d90133 | Java | AARaven/JavaForAutomation | /src/ObjectBasics/OptionalTurtle/DemoTurtleGraphics.java | UTF-8 | 6,407 | 3.703125 | 4 | [] | no_license | package ObjectBasics.OptionalTurtle;
import JavaFundamentals.Utils;
import java.io.IOException;
import java.util.InputMismatchException;
public class DemoTurtleGraphics {
private void showTitleMenu() {
System.out.println(
"\f\n*********************************************" +
... | true |
d7ac5a46c9303ffc6af850769f92db1545075f71 | Java | xtaticzero/COB | /ControlObligaciones/ControlObligaciones/src/main/java/mx/gob/sat/siat/cob/seguimiento/dao/stdcob/impl/mapper/BitacoraSeguimientoMapper.java | UTF-8 | 798 | 2.125 | 2 | [] | no_license | package mx.gob.sat.siat.cob.seguimiento.dao.stdcob.impl.mapper;
import java.sql.ResultSet;
import java.sql.SQLException;
import mx.gob.sat.siat.cob.seguimiento.dto.stdcob.BitacoraSeguimiento;
import org.springframework.jdbc.core.RowMapper;
public class BitacoraSeguimientoMapper implements RowMapper{
public Bi... | true |
f960a2d68c8f3ce46f80568cca8f536575d02def | Java | sicef-hakaton-2/open-systems-and-security-lab-foi-oss | /android-application/app/src/main/java/party/sicef/borderless/ui/activity/CardsActivity.java | UTF-8 | 3,222 | 2.203125 | 2 | [] | no_license | package party.sicef.borderless.ui.activity;
import android.content.Context;
import android.location.Criteria;
import android.location.Location;
import android.location.LocationManager;
import android.os.Build;
import android.os.Bundle;
import android.support.design.widget.TabLayout;
import android.support.v4.app.Fragm... | true |
9e836dd1e00dd3ac5be276dc08d80f89b021d990 | Java | IT-likanglin/workspace | /src/main/java/com/chlian/trade/controller/InviteCodePurchaseRecordConrtoller.java | UTF-8 | 4,129 | 2.375 | 2 | [] | no_license | package com.chlian.trade.controller;
import com.chlian.trade.domain.InviteCodePurchaseRecord;
import com.chlian.trade.domain.RestResult;
import com.chlian.trade.service.IInviteCodePurchaseRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.StringUtils;
import o... | true |
446daa8b64ebcf968074b759c2c89b6121bcf549 | Java | Swapna-Niit/mavencode | /CarsProject/src/main/java/com/hexaware/factory/CarDAO.java | UTF-8 | 1,004 | 2.515625 | 3 | [] | no_license | package com.hexaware.factory;
import org.skife.jdbi.v2.sqlobject.Bind;
import org.skife.jdbi.v2.sqlobject.SqlQuery;
import org.skife.jdbi.v2.sqlobject.SqlUpdate;
import org.skife.jdbi.v2.sqlobject.customizers.Mapper;
import java.sql.Date;
import java.util.List;
import com.hexaware.model.Car;
import com.hexaware.persi... | true |
120750ee1a3f8076a319c0e36eae9d2fc79d0c36 | Java | kenji1984/video-streaming-rest-api | /src/main/java/com/streaming/videos/controller/MainController.java | UTF-8 | 1,139 | 2.28125 | 2 | [] | no_license | package com.streaming.videos.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Pa... | true |
6f0cfaba41582bedbb82a6cc80d429108d40ec27 | Java | carlosangulom/EstructuraDeDatos | /EstructuraDatosOtro/src/ListaDoble.java | UTF-8 | 1,446 | 3.40625 | 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.
*/
/**
*
* @author SB-D1
*/
public class ListaDoble {
private NodoString inicio, fin;
public ListaDoble() {
inicio=f... | true |
a1b94c2e1c620c649633a05c5f664158639a336e | Java | dayezi12138/app-component | /project_xf/src/main/java/com/zh/xfz/dagger/module/fragment/CompanyMemberListModule.java | UTF-8 | 1,056 | 2.046875 | 2 | [] | no_license | package com.zh.xfz.dagger.module.fragment;
import com.zh.xfz.business.fragment.CompanyMemberListFragment;
import core.app.zh.com.core.annotation.FragmentScope;
import core.app.zh.com.core.base.BaseActivity;
import core.app.zh.com.core.base.BaseView;
import core.app.zh.com.core.base.MyBaseModel;
import dagger.Module;
... | true |
dfd75b48b490156e597da07ae50ff8b361fe93d2 | Java | AndreasSchmidt79/TheGame | /src/drawing/button/TextButton.java | UTF-8 | 1,010 | 2.53125 | 3 | [] | no_license | package drawing.button;
import drawing.Position;
import drawing.SpriteElement;
import drawing.TextureFilepath;
import game.UserAction;
public class TextButton extends AbstractButton {
private static final int SPRITEELEMENT_WIDTH = 300;
private static final int SPRITEELEMENT_HEIGHT = 63;
public TextButto... | true |
78c5db10e69458113551b231a07b871982dad6ef | Java | Milstein/yelp-graph | /src/main/java/be/datablend/yelp/model/Business.java | UTF-8 | 2,929 | 2.6875 | 3 | [] | no_license | package be.datablend.yelp.model;
import java.util.*;
/**
* User: dsuvee (datablend.be)
* Date: 28/11/13
*/
public class Business {
private String id;
private String name;
private String city;
private Set<String> categories;
private Map<String,Long> checkIns;
private Business() {
}
... | true |
9bde9e58160b87b0112f6b36fad0568f7a6a6c79 | Java | Hanmourang/Gobblin | /gobblin-core/src/main/java/gobblin/source/extractor/watermark/WatermarkPredicate.java | UTF-8 | 2,993 | 2.203125 | 2 | [
"Apache-2.0",
"BSD-3-Clause",
"xpp",
"MIT"
] | permissive | /*
* Copyright (C) 2014-2015 LinkedIn Corp. 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. You may obtain a copy of the
* License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | true |
25919c5d0caa8cf67b25b31be3dc88a39dbb457a | Java | xSke/CoreServer | /src/mikera/vectorz/ops/Product.java | UTF-8 | 2,373 | 2.8125 | 3 | [] | no_license | /*
* Decompiled with CFR 0_129.
*/
package mikera.vectorz.ops;
import mikera.vectorz.Op;
import mikera.vectorz.ops.ALinearOp;
import mikera.vectorz.ops.Constant;
import mikera.vectorz.ops.Linear;
import mikera.vectorz.ops.Quadratic;
public final class Product
extends Op {
public final Op a;
public final Op ... | true |
87044fcb9862983b65c1301ec5e08df050980f56 | Java | gabriel-roque/ia-buscas | /src/estrategiasDeBusca/cega/BuscaEmProfundidadeLimitada.java | ISO-8859-1 | 2,708 | 3.28125 | 3 | [] | no_license | package estrategiasDeBusca.cega;
import java.util.Collections;
import java.util.List;
import espacoDeEstados.Estado;
/**
* Esta classe implementa uma estratgia de busca cega conhecida como "Busca em
* Profundidade", que caracterstica por explorar o espao se aprofundando no
* ramo atual antes de faz-lo ... | true |
c05d6e24638f795f8cc4c1ffd64840d473669bf1 | Java | kaoz36/RespaldoUniat | /AndroidStudioProjects/Respaldos/Eduscore 2015-04-15/app/src/main/java/com/uniat/eduscore/LoginActivity.java | UTF-8 | 647 | 1.9375 | 2 | [] | no_license | package com.uniat.eduscore;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.university3dmx.eduscore.R;
public class LoginActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreat... | true |
bf3abca60de5e481a0e4960a43645930785a0fed | Java | rheiser/jBGG | /jBGG/src/main/java/org/kerf/bgg/jaxb/Guild.java | UTF-8 | 3,625 | 1.976563 | 2 | [
"Apache-2.0"
] | permissive | /**
Copyright 2013 Rob Heiser
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 in wri... | true |
62b4ad107c04419136eda8877be4583807089175 | Java | hakankar/Hoopoe | /app/src/main/java/karyagdi/hakan/hoopoe/MainActivity.java | UTF-8 | 895 | 2.03125 | 2 | [] | no_license | package karyagdi.hakan.hoopoe;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import java.util.List;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceS... | true |
40e476261f9659aefc4bbb8af1e988d1f976c993 | Java | borisovdenis-kb/epam-task-7 | /src/main/java/ru/intodayer/duplicatemodels/DuplicateBook.java | UTF-8 | 2,375 | 2.953125 | 3 | [] | no_license | package ru.intodayer.duplicatemodels;
import ru.intodayer.models.Author;
import ru.intodayer.models.Book;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
public class DuplicateBook extends UniqueObject {
private String title;
private LocalDat... | true |
103fa6cd9180f8156d7ac99ce475f6b8145bf96e | Java | solarce/android-sync | /test/src/org/mozilla/android/sync/test/helpers/DefaultSessionCreationDelegate.java | UTF-8 | 1,517 | 2.203125 | 2 | [] | no_license | /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
package org.mozilla.android.sync.test.helpers;
import org.mozilla.gecko.sync.repositories.RepositorySession;
import org.mozilla.gecko.sync.repositories.delegates.RepositorySessionCreationDelegate;
public class... | true |