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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
1dcaff64d99540ff75234ae411d3d36d589c1f5a | Java | wuxianghua/self_project_mc | /app/src/main/java/net/imoran/auto/music/app/MusicApp.java | UTF-8 | 5,957 | 1.609375 | 2 | [] | no_license | package net.imoran.auto.music.app;
import android.app.Application;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import com.github.moduth.blockcanary.BlockCanary;
import com.tencent.bugly.crashreport.CrashReport;
import net.imoran.auto.music.BuildConfig;
import net.imoran.auto.... | true |
f6466bb95e678fe72458a1908708658cefaf2887 | Java | wuxinshui/noob | /effective-java/src/main/java/chapter6/item33/Herb.java | UTF-8 | 779 | 3.53125 | 4 | [
"Apache-2.0"
] | permissive | package chapter6.item33;
/**
* <p>Herb</p>
* 用EnumMap代替序数索引
*
* @author wuxinshui
*/
//表示烹饪用的一种香草
//香草类型: ANNUL-一年生, PERENNIAL-多年生, BIENNIAL-两年生
public class Herb {
public enum Type {
ANNUL, PERENNIAL, BIENNIAL
}
private String name;
private Type type;
public Herb(String name, Type ... | true |
771169a3a377afbde529a69e9c82eb777c962cdc | Java | shusnain/Paysa | /app/src/main/java/com/example/android/paysa/presentation/presenters/impl/CreateUserProfilePresenterImpl.java | UTF-8 | 1,244 | 2.171875 | 2 | [] | no_license | package com.example.android.paysa.presentation.presenters.impl;
import com.example.android.paysa.domain.executors.Executor;
import com.example.android.paysa.domain.executors.MainThread;
import com.example.android.paysa.domain.interactors.SampleInteractor;
import com.example.android.paysa.presentation.presenters.Create... | true |
4c082de61ae279e3963034d0a4bebd45029edbaf | Java | zhch/mdb | /z/mdb/test/IMMCurrTest.java | UTF-8 | 3,203 | 2.296875 | 2 | [] | no_license | package z.mdb.test;
import z.hilog.AbstLogger;
import z.hilog.InstantLogger;
import z.hilog.LogNode;
import z.mdb.imm.IMManipulate;
import z.mdb.msg.Content;
import z.mdb.msg.Msg;
import z.mdb.msg.MsgAns;
import z.mdb.msg.MsgCat;
import z.mdb.msg.SubjectPattern;
import z.mdb.msg.Title;
import z.mdb.util.Utilities;
pu... | true |
a952eb7f8c454966f57867faa416207163100e23 | Java | penghaozhong/HXCms | /HXCms/src/com/hx/cms/action/member/FullCalendarAct.java | UTF-8 | 9,384 | 1.765625 | 2 | [] | no_license | package com.hx.cms.action.member;
import static com.hx.cms.Constants.TPLDIR_MEMBER;
import static com.hx.common.page.SimplePage.cpn;
import static com.hx.core.action.front.LoginAct.RETURN_URL;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.DateFormat;
import java.text.ParseException;
import ... | true |
39375fb12d1f62e0cf71b62ea0aff2e861493ecf | Java | ChangeZ24/Java-task | /Homework6/src/_14211154_张子仪_7_Controller.java | GB18030 | 3,421 | 2.703125 | 3 | [] | no_license | package homework7;
import java.util.*;
public class _14211154__7_Controller {
public boolean addBook(String isbn,String title,double price,int type,_14211154__7_BookCatalog book){
_14211154__7_BookSpecification book1=new _14211154__7_BookSpecification(isbn,title,price,type);
return book.addbook(book1);
}
... | true |
788cc9cc7c803e6bca4a70f9a105c698486ae584 | Java | ldongxu/excel_report | /src/test/java/com/report/Spring_Test.java | UTF-8 | 3,359 | 1.757813 | 2 | [] | no_license | package com.report;
import com.report.config.AppConfig;
import com.report.config.MongoConfig;
import com.report.model.Constants;
import com.report.service.ImportService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dat... | true |
37466c64685434460d716d4c281c63148e751e7c | Java | MrMicky-FR/WorldEditSelectionVisualizer | /plugin/src/main/java/fr/mrmicky/worldeditselectionvisualizer/metrics/WesvMetrics.java | UTF-8 | 1,621 | 2.375 | 2 | [
"MIT"
] | permissive | package fr.mrmicky.worldeditselectionvisualizer.metrics;
import fr.mrmicky.worldeditselectionvisualizer.WorldEditSelectionVisualizer;
import fr.mrmicky.worldeditselectionvisualizer.compat.CompatibilityHelper;
import org.bstats.bukkit.Metrics;
import org.bstats.charts.SimplePie;
import java.util.function.BooleanSuppli... | true |
2c6bc6fb90cd9d9133662337520cf8930b765858 | Java | Ncurco/DesafioDBServer | /src/test/java/objects/Address.java | UTF-8 | 803 | 2.984375 | 3 | [] | no_license | package objects;
public class Address {
public String customerName;
public String address;
public String city;
public String statePostal;
public String country;
public String Number;
public Address(String customerName, String address , String city, String statePostal, String country, String number) {
this.... | true |
ec0247a2f6848250f7e45241d9c59277f25c75c7 | Java | dreadiscool/YikYak-Decompiled | /src/com/google/android/gms/common/api/BatchResult.java | UTF-8 | 1,008 | 2 | 2 | [] | no_license | package com.google.android.gms.common.api;
import hZ;
import java.util.concurrent.TimeUnit;
public final class BatchResult
implements Result
{
private final Status Eb;
private final PendingResult<?>[] JC;
BatchResult(Status paramStatus, PendingResult<?>[] paramArrayOfPendingResult)
{
thi... | true |
d819413c2fe97bf28ad420b928353fa4793daf94 | Java | jmagdalinos1981/ShopAndCook | /app/src/main/java/com/johnmagdalinos/android/shopandcook/ui/adapters/ShoppingListAdapter.java | UTF-8 | 8,517 | 2.46875 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (C) 2017 John Magdalinos
*
* 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 ... | true |
bb8a415e19d605480688226b0b9f1297f2946712 | Java | rwleea/intelRSD | /PODM/SW/node-composer/src/main/java/com/intel/rsd/nodecomposer/business/redfish/services/actions/EthernetSwitchPortVlanActionsInvoker.java | UTF-8 | 4,339 | 1.765625 | 2 | [] | no_license | /*
* Copyright (c) 2015-2019 Intel Corporation
*
* 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 la... | true |
5566730e0e3b3edff5cd4c67838c7021be342360 | Java | Badmuts/Machiavelli | /src/Machiavelli/Controllers/PuntenController.java | UTF-8 | 1,726 | 2.625 | 3 | [
"MIT"
] | permissive | package Machiavelli.Controllers;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.util.ArrayList;
import Machiavelli.Interfaces.Remotes.PuntenRemote;
import Machiavelli.Interfaces.Remotes.SpelRemote;
import Machiavelli.Interfaces.Remotes.SpelerRemote;
import Machiavelli.Views.P... | true |
f7a3e5daa34d7ffac9bf199aa0c8c0e7b7ce93f4 | Java | 531416635/MQredisElk | /MQredisElk-producer/src/main/java/com/zto/controller/ProducerHelper.java | UTF-8 | 1,887 | 1.976563 | 2 | [] | no_license | package com.zto.controller;
import java.util.ArrayList;
import java.util.List;
import net.sf.json.JSONArray;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import com.alibaba.rocketmq.client.exception.MQBrokerException;
import com.alibaba.rocketmq... | true |
bf4737eb93cdb6d1aa2abafcd6b1bf275e2da875 | Java | geetanshatrey/Programming-Codes | /RectArea.java | UTF-8 | 296 | 3.421875 | 3 | [] | no_license | class Rectangle
{
int L,B;
Rectangle(int l,int b)
{
L=l;
B=b;
}
void display()
{
int area=L*B;
System.out.println("Area of Rectangle: \n"+area);
}
};
class RectArea
{
public static void main(String x[])
{
int l=10,b=20;
Rectangle sh=new Rectangle(l,b);
sh.display();
}
}; | true |
e88f3555366beed3122791aa151d878d304aebac | Java | felix1415/esd-cw | /src/java/com/esd/cw/servlet/ClaimServlet.java | UTF-8 | 3,673 | 2.59375 | 3 | [] | no_license | package com.esd.cw.servlet;
import com.esd.cw.services.ClaimService;
import java.io.IOException;
import java.sql.SQLException;
import java.text.ParseException;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.servlet.RequestDispatcher;
import... | true |
b6547a94bd59ad8778104228b2561daabc887e93 | Java | Rescon/IN205_Yu_WANG | /TP1/src/PlusOuMoins.java | UTF-8 | 1,043 | 4 | 4 | [] | no_license | import java.util.Scanner;
public class PlusOuMoins {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int num = (int) (Math.random() * 100);
int time = 7;
int proposition;
System.out.println("Entrez un nombre entre 1 et 100 :");
do ... | true |
9f40d044de6c09084d7746ce08ce215d13329bd4 | Java | abhishek-gupta420/sugmya | /src/main/java/com/sugmya/view/company/CompanyView.java | UTF-8 | 11,511 | 2.078125 | 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.sugmya.view.company;
import javax.swing.JOptionPane;
import org.springframework.beans.factory.annotation.Autowired;
impor... | true |
4bcb1d58dd47343c3bb9c1dfc4bba4724edbc93a | Java | k-nrt/sandbox | /GLES30Test/app/src/main/java/nrt/gles30test/GameContext.java | UTF-8 | 366 | 1.882813 | 2 | [] | no_license | package nrt.gles30test;
import com.nrt.framework.AppContext;
public class GameContext implements AppContext
{
public synchronized void OnCreate()
{
}
public synchronized void OnSurfaceChanged(int width, int height)
{
}
public synchronized void OnUpdate(float fElapsedTime)
{
}
public synchronized... | true |
1f3584fd4ec3f20651aa08feead0000329582d73 | Java | JiYing123/wxminijob | /src/main/java/com/mybaits/test/demo/Controller/DeptController.java | UTF-8 | 1,181 | 2.203125 | 2 | [] | no_license | package com.mybaits.test.demo.Controller;
import com.mybaits.test.demo.bean.Departments;
import com.mybaits.test.demo.bean.Employee;
import com.mybaits.test.demo.mapper.DepartmentMapper;
import com.mybaits.test.demo.mapper.EmployeeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.spring... | true |
381699c3b00f10e5f8add29022fd37c79342753c | Java | HelloMr-Liu/MyLuDaTest | /src/main/java/com/ludata/luDataTest/controller/IndexTestController.java | UTF-8 | 405 | 1.71875 | 2 | [] | no_license | package com.ludata.luDataTest.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
@RequestMapping("/show")
public class IndexTestController {
@RequestMapping("/showIndex")
public String showIndex(){
System.out.print... | true |
0956018e2f6450869b02d6bf8747d04a0264542e | Java | Hepc622/hneb_dws | /src/main/java/com/hneb/dws/vo/RecipeVO.java | UTF-8 | 16,917 | 1.851563 | 2 | [] | no_license | package com.hneb.dws.vo;
import javax.persistence.*;
import java.util.Date;
/**
* Created by Administrator on 2017/12/4.
*/
@Entity
@Table(name = "t_recipe")
public class RecipeVO {
private String cPkId;
private String cUserId;
private String cName;
private String cTypes;
private String cTags;
... | true |
35d9e3d28252813e853481d82a14fd0bf2136060 | Java | mmelvin0/BetterWithMods | /src/main/java/betterwithmods/common/blocks/mechanical/tile/TileEntityWindmillHorizontal.java | UTF-8 | 4,444 | 2.421875 | 2 | [
"MIT"
] | permissive | package betterwithmods.common.blocks.mechanical.tile;
import betterwithmods.common.BWMBlocks;
import betterwithmods.common.blocks.mechanical.BlockWindmill;
import betterwithmods.util.DirUtils;
import net.minecraft.block.state.IBlockState;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.EnumFacing;
i... | true |
2766b0eca4318134311c21eb1aa7cda629f9f7cc | Java | rodrigomiguele/transaction-validation-service | /events/src/main/java/rmiguele/transaction/validation/event/repository/EventRepository.java | UTF-8 | 259 | 1.640625 | 2 | [
"Apache-2.0"
] | permissive | package rmiguele.transaction.validation.event.repository;
import rmiguele.transaction.validation.event.model.Event;
import rmiguele.transaction.validation.repository.BaseRepository;
public interface EventRepository extends BaseRepository<String, Event> {
}
| true |
e265be8e419da10c4475e31cecaf9f6e1791c05e | Java | Fernandoge/MovingOut-AndroidStudio | /MovingOut/app/src/main/java/com/isw/movingout/Activities/ActivityEtiquetas.java | UTF-8 | 3,703 | 2.203125 | 2 | [] | no_license | package com.isw.movingout.Activities;
import android.app.Activity;
import android.app.Dialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ListV... | true |
94e4f98a623123d6f39babc268b54cf58085de14 | Java | VanessaPasca/MAP | /ToyLanguageInterpreter/Lab2/src/model/MyItem.java | UTF-8 | 71 | 2.3125 | 2 | [] | no_license | package model;
public interface MyItem {
public int getPrice();
}
| true |
0b83c4e030ed9f222a6d4f0a31e07633fabc9dcd | Java | gitsachin/JavaWebdriverTestNG | /src/main/java/com/auto/pages/HelpDeskPage.java | UTF-8 | 10,276 | 1.898438 | 2 | [] | no_license | package com.auto.pages;
import java.util.List;
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import com.auto.base.BasePage;
import com.auto.base.ILogLevel;
import com.auto.pag... | true |
e71e4b7fabf84efc47f44ae25bdb1349383cd7e8 | Java | Kryspo/L2jRamsheart | /dist/gameserver/data/scripts/npc/model/SpecialMinionInstance.java | UTF-8 | 645 | 2.203125 | 2 | [
"MIT"
] | permissive | package npc.model;
import l2f.gameserver.model.instances.MonsterInstance;
import l2f.gameserver.templates.npc.NpcTemplate;
/**
* @author pchayka
*/
public final class SpecialMinionInstance extends MonsterInstance
{
public SpecialMinionInstance(int objectId, NpcTemplate template)
{
super(objectId, template);
}
... | true |
ad0376d1f39b27a76f05d3e78e0eb72144bf62c7 | Java | MateusEduardo/CertificacaoJava | /Basico de Java/1 - DEFINA O ESCOPO DE VARIAVEIS/Teste.java | UTF-8 | 791 | 3.328125 | 3 | [] | no_license | class Pessoa {
static int id = 1;
static void metodo(){
System.out.println(id);
}
}
class X {
int a = 10;
public void metodo() {
//shadowing
int a = 20;
System.out.println(a);
}
}
public class Teste {
public void m1(String nome) {
System.out.println(nome);
int x = 10;
if(x>=10) {
int y = 50;... | true |
f7bc683c500ecf8d2336bc2bad1e401db2d75331 | Java | JhowRaul/Ouvidoria | /src/br/edu/opet/ouvidoria/teste/TesteCidadeController.java | ISO-8859-1 | 3,274 | 2.9375 | 3 | [] | no_license | package br.edu.opet.ouvidoria.teste;
import br.edu.opet.ouvidoria.controller.CidadeController;
import br.edu.opet.ouvidoria.dao.CidadeDao;
import br.edu.opet.ouvidoria.dto.CidadeDto;
import br.edu.opet.ouvidoria.model.Cidade;
public class TesteCidadeController
{
public static void main(String[] pArgs)
... | true |
218b525811e1cb669a6e79416cd9658dc79e0699 | Java | loupstigrou/Small-World | /SmallWorld/src/vue/cellule/Cellule.java | UTF-8 | 1,423 | 2.828125 | 3 | [] | no_license | package vue.cellule;
import vue.Grille;
import javax.swing.*;
import java.awt.*;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
/**
* Created by Edwin on 23/12/13.
*/
public abstract class Cellule extends JComponent implements MouseListener {
protected Grille grille;
private int pos... | true |
9122c587696a9f3b7b755bfbbfad33d7696822a9 | Java | michalyao/spring-mybatis | /src/main/java/springlearn/aop/MessagePrinter.java | UTF-8 | 159 | 2.28125 | 2 | [] | no_license | package springlearn.aop;
public class MessagePrinter {
// printMessage 称为joinpoint
public void printMessage() {
System.out.print("World");
}
}
| true |
e27ae2caa3d0cfb4a99a0e426d570cb890d95fcc | Java | stalinBox/ProyectoWeb | /src/main/java/com/project/entities/TipLinea.java | UTF-8 | 3,623 | 2.015625 | 2 | [] | no_license | package com.project.entities;
import java.io.Serializable;
import javax.persistence.*;
import java.util.List;
/**
* The persistent class for the tip_linea database table.
*
*/
@Entity
@Table(name="tip_linea")
@NamedQuery(name="TipLinea.findAll", query="SELECT t FROM TipLinea t")
public class TipLinea implements ... | true |
d98bf46ff2e8e3025f9fd79b3eab08e8e32e35cb | Java | sohailalam2/stormpot | /src/test/java/stormpot/BAllocThread_ShutdownNullsPoll_Test.java | UTF-8 | 2,005 | 1.984375 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (C) 2011-2014 Chris Vest (mr.chrisvest@gmail.com)
*
* 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 req... | true |
12a8bb8a1b88a25a242cadb3669599fabe87d65b | Java | jrd123/EmbebeidosII | /Desktop/ProyectosAndroid/Prueba1/app/src/main/java/latitude_pc/app/prueba1/com/prueba1/ProjectsRequest.java | UTF-8 | 678 | 2.046875 | 2 | [] | no_license | package latitude_pc.app.prueba1.com.prueba1;
import com.android.volley.Response;
import com.android.volley.toolbox.StringRequest;
import java.util.HashMap;
import java.util.Map;
/**
* Created by Luis Garcia on 05/12/2017.
*/
public class ProjectsRequest extends StringRequest {
private static final String REGI... | true |
f6aac7997b712ed717710fb90895e0b845e3dfe6 | Java | paterWang/coolweather | /app/src/main/java/com/example/wangbo/coolweather/MyDrawableActivity.java | UTF-8 | 1,532 | 2.34375 | 2 | [
"Apache-2.0"
] | permissive | package com.example.wangbo.coolweather;
import android.app.Activity;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.Toast;
import com.bumptech.glide.Glide;
import com.example.wangbo.coolweather.util.httpUtils;
import java.io.IOException;
import okhttp3.Call;
import okhttp3.Callback... | true |
84bfe8fec17c1f3d924e1fa05c6684dcf823ec12 | Java | Productstrad/gongan | /src/action/SurveyrecordAction.java | UTF-8 | 8,387 | 1.945313 | 2 | [] | no_license | package action;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereo... | true |
e065de40c5f5a114bf64312309485fd6250e1f32 | Java | qianqiuhaha/FengkuangSSM | /src/main/java/com/qiuqian/Controller/UserController.java | UTF-8 | 754 | 2.203125 | 2 | [] | no_license | package com.qiuqian.Controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
@Controller
public class UserController {
//依赖注入UserService组件
private Us... | true |
9bb77b973f1d049f495afda37505dc2bc6071d1d | Java | zouabimourad/messagingmonitor | /agent/src/main/java/com/typesafe/messagingmonitor/common/CommandExecutorFactory.java | UTF-8 | 332 | 1.898438 | 2 | [] | no_license | package com.typesafe.messagingmonitor.common;
import com.typesafe.messagingmonitor.AbstractCommand;
import com.typesafe.messagingmonitor.Protocol;
public interface CommandExecutorFactory<COMMAND extends AbstractCommand, COMMAND_EXECUTOR extends CommandExecutor<COMMAND>> {
COMMAND_EXECUTOR getExecutor(Protocol pr... | true |
b9be7275e8a5cb56008b32a05006a3d85eb54f57 | Java | alkinemy/timeline | /timeline-member/src/main/java/al/timeline/member/domain/user/service/TimelineUserCommandService.java | UTF-8 | 512 | 1.804688 | 2 | [] | no_license | package al.timeline.member.domain.user.service;
import al.timeline.member.domain.user.model.TimelineUserEntity;
import al.timeline.member.domain.user.repository.TimelineUserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class T... | true |
78bc528c70258653f4776696b5f25ed116af46b2 | Java | lindsj88/Santa-Challenge | /Santa-Challenge/src/santachallenge/control/FeedSantaControl.java | UTF-8 | 1,515 | 2.859375 | 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 santachallenge.control;
import exceptions.FeedSantaControlException;
import java.io.BufferedReader;
import java.io.Pr... | true |
31045fe39ac54ee6d3d12c1cc5c5bc04069be290 | Java | FShah26/5408DataWarehousing_Project | /src/main/java/metadata_ds/ITableColDS.java | UTF-8 | 175 | 1.78125 | 2 | [] | no_license | package metadata_ds;
public interface ITableColDS {
void insertCol(TableColumn column);
void removeCol(String columnName);
void updateCol(TableColumn column);
}
| true |
1908d20150bb91bf9093f7c855f2f72923544d91 | Java | lenik/stack | /plover/core/plover-arch/src/main/java/com/bee32/plover/pub/oid/Oid.java | UTF-8 | 782 | 2.359375 | 2 | [] | no_license | package com.bee32.plover.pub.oid;
import java.lang.annotation.Documented;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* OID 编号,用于固化地址,资源分配及 LDAP 接口。
*
* 其中 {@link #owner()} 默认为 BEE32,如果是外部提供的应用,应该填写正确的属主,或者在 BEE32 下另行分配。
*
* @see ... | true |
7a797f84f078585c2a88441bcbf2641634fb3061 | Java | seokjinee/bigdata201977 | /04_15/src/Main2.java | UHC | 472 | 2.734375 | 3 | [] | no_license |
public class Main2 {
public static void main(String[] args) {
System.out.println("Ʈ - ǽ");
ListStack<String> lstack = new ListStack<String>();
lstack.push("apple");
lstack.push("orange");
lstack.push("cherry");
System.out.println("[top]\t"+lstack.peek());
lstack.push("pear");
lstack.s... | true |
db00e060bacf0c46650a7f0c2a57a7c7acbae5b4 | Java | davidgiga1993/SOLAR | /Project/core/src/main/java/dhbw/karlsruhe/it/solar/core/resources/Credits.java | UTF-8 | 3,417 | 2.90625 | 3 | [] | no_license | package dhbw.karlsruhe.it.solar.core.resources;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import dhbw.karlsruhe.it.solar.core.solar.TextureCache;
/**
* Treasury resource: Credits created by taxing the population and spent on a civilization's budget such as unit upkeep, colony constructions and projects.
*... | true |
382204d04165fcc4143c9ecd8a50f99be99fd6b1 | Java | davidmoten/xuml-compiler | /xuml-metamodel/src/main/java/model/impl/InitialStateImpl.java | UTF-8 | 10,641 | 1.851563 | 2 | [] | no_license | /**
* <copyright>
* </copyright>
*
* $Id$
*/
package model.impl;
import java.util.Collection;
import model.InitialState;
import model.ModelPackage;
import model.StateMachine;
import model.Transition;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.Notifica... | true |
e5923bb4e226fd3baa9ae0e417c72f7d46583398 | Java | M-255/JavaLearning | /ThinkingInJava/src/com/tff/exercise/section11/E14LinkedListMiddleInsert.java | UTF-8 | 1,009 | 4.03125 | 4 | [] | no_license | package com.tff.exercise.section11;
/*
* @author 马战川
* @date 2018/9/19 14:00
* @description 创建一个空的LInkedList<Integer>,通过使用ListIterator,将若干个Integer插入这个List中,插入时,总是将他们插入List的正中间。
*/
import java.util.LinkedList;
import java.util.ListIterator;
/**
* @author 马战川
* @version 1.0
* @className E14LinkedListMiddleInsert... | true |
98921a3c0c524d2255d7e59850a0d8235f99fe9e | Java | AndroidPOS/AndroidPOS | /AndroidPOS/src/com/ricoh/pos/data/OrderUpdateInfo.java | UTF-8 | 811 | 2.5625 | 3 | [] | no_license | package com.ricoh.pos.data;
public class OrderUpdateInfo {
private long totalAmountBeforeDiscount; // 割引前の総額。単位パイサ。
private long discountAmount; // 割引額。単位パイサ。
private long totalAmountAfterDiscount; // 割引後の総額。単位パイサ。
public OrderUpdateInfo(long totalAmountBeforeDiscount, long discountAmount, long totalAmountAf... | true |
b546d656a3fe140650fe9117057a1c7c679c9c84 | Java | sook8878/WooRi_Dong_Nea_Class | /src/main/java/com/tig/wdc/user/model/dao/UserClassMapper.java | UTF-8 | 3,634 | 1.710938 | 2 | [] | no_license | package com.tig.wdc.user.model.dao;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.tig.wdc.model.dto.CurriculumDTO;
import com.tig.wdc.model.dto.PageInfoDTO;
import com.tig.wdc.user.model.dto.ClassApplyDTO;
import com.tig.wdc.user.model.dto.ClassPieceDTO;
import com.tig.wdc.user.mod... | true |
1c4dad1051fe2658fc26c8b4bc43274da6255b62 | Java | donadley/Matching-Game | /Matching_Game/src/edu/centenary/matching_game/.svn/text-base/ImageAdapter.java.svn-base | UTF-8 | 2,976 | 2.734375 | 3 | [] | no_license | package edu.centenary.matching_game;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.GridView;
import android.widget.ImageView;
public class ImageAdapter extends BaseAdapter {
/** The Context in which the GridView will... | true |
2db610aeecbdb274cd4a5e32bb0a303fa281824b | Java | GaoIU/finance | /finance-core/src/main/java/com/fanteng/core/base/BaseServiceImpl.java | UTF-8 | 5,480 | 2.046875 | 2 | [
"Apache-2.0"
] | permissive | package com.fanteng.core.base;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import com.fanteng.core.Condition;
import com.fanteng.cor... | true |
46e778eef2dd3fe51d709c9327158015be254c26 | Java | vitorfernando/Compiler | /src/AST/IntExpr.java | UTF-8 | 632 | 2.109375 | 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 AST;
import java.io.FileWriter;
import java.util.Hashtable;
/**
*
* @author vitor
*/
public class IntExpr extends Expr {
... | true |
0288419a357bd76fa4a0f3dae88ac04eb8bdd5e7 | Java | Colinelcx/Java-S3-2018 | /TME3/Awele/Awele.java | UTF-8 | 132 | 2.078125 | 2 | [] | no_license | public class Awele {
public static void main(String[] args){
Jeu jeu = new Jeu();
System.out.println(jeu);
jeu.jouer();
}
}
| true |
d98680f80c632f642320fe092e93bee30e9a77f2 | Java | HamzaMuazzam/FidoDelivery | /app/src/main/java/com/example/fidodelivery/usermianscreen/AssingedOrderAdapter.java | UTF-8 | 6,019 | 2.015625 | 2 | [] | no_license | package com.example.fidodelivery.usermianscreen;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.location.Address;
import android.location.Geoco... | true |
01650526a6a2bb820475546fa2787cb900a7535b | Java | 980f/java | /src/net/paymate/data/ActionCode.java | UTF-8 | 893 | 2.140625 | 2 | [] | no_license | package net.paymate.data;
/**
* Title: $Source: /cvs/src/net/paymate/data/ActionCode.java,v $
* Description: the mutually exclusive results of an authorization
* Copyright: Copyright (c) 2001
* Company: PayMate.net
* @author PayMate.net
* @version $Revision: 1.5 $
*/
public interface ActionCode... | true |
57cc0d9daed9c36afea57e605257bde61c8d983f | Java | rlaqhrns/Basic_0728 | /src/Calculator.java | UTF-8 | 789 | 3.09375 | 3 | [] | no_license |
public class Calculator {
private String name;
private int id;
private int calculatedValue;
public int getCalculatedValue() {
return calculatedValue;
}
public void setCalculatedValue(int calculatedValue) {
this.calculatedValue = calculatedValue;
}
public int add(int x, int y) {
retur... | true |
85bab6860c386c440d4b5b757ce239547a920bf8 | Java | Cruziken/URSA_to_Latex | /URSA/src/main/java/ExcelRead/ConvertPDF.java | UTF-8 | 797 | 2.21875 | 2 | [] | no_license | package ExcelRead;
import de.nixosoft.jlr.*;
import java.io.File;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
public class ConvertPDF {
public void makePDF(String path){
Process p;
try {
p = Runtime.getRuntime().exec("C:\\Users\\Titanium\\AppData\\Local\\Programs\\MiKT... | true |
2418aee75d1bbb92d81a37fcec6485ce9cbfa759 | Java | mmmaaak/aspotparser | /app/src/main/java/dev/mobile/pavelsvedov/aspotviewer/enums/PriceType.java | UTF-8 | 102 | 1.65625 | 2 | [] | no_license | package dev.mobile.pavelsvedov.aspotviewer.enums;
public enum PriceType {
DISCOUNT,
NORMAL
}
| true |
ebcd0bb7370cd809f355e909dc977c5e458d3c1d | Java | abhishekbisht1429/msp-dashboard | /app/src/main/java/com/upes/mspdashboard/util/SessionManager.java | UTF-8 | 8,968 | 2.515625 | 3 | [] | no_license | package com.upes.mspdashboard.util;
import android.content.Context;
import android.content.SharedPreferences;
import com.upes.mspdashboard.model.Faculty;
import com.upes.mspdashboard.model.Student;
import com.upes.mspdashboard.model.User;
/**
* The SessionManager manages all the user sessions on the android app. It... | true |
7548e28d7fcca49499b7638efa00a7f441adb93b | Java | VladZakharov/zakharov_JBjava | /task98/src/main/java/model/StuffData.java | UTF-8 | 2,070 | 2.625 | 3 | [] | no_license | package model;
import javax.persistence.*;
import java.util.Date;
/**
* Created by vlad on 27.10.15.
*/
@Entity
@Table(name = "stuff_data")
public class StuffData {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private long id;
@Column(nullable = false)
private Date employent_date;
... | true |
5c1ec2a58e5da80c8b97073bcca3ef00b5efa3fa | Java | spullara/buffertest | /src/test/java/bufferbench/BufferTest.java | UTF-8 | 2,586 | 2.34375 | 2 | [] | no_license | package bufferbench;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.buffer.ChannelBuffers;
import org.junit.Test;
import redis.RedisProtocol;
import redis.netty.RedisDecoder;
import redis.netty4.RedisReplyDecoder;
import redis.netty4... | true |
d516c3e03dd3fdd42392ec709c09a0b6df21deb4 | Java | GenericStudios/AGenericBoardGame | /src/main/java/Player.java | UTF-8 | 2,764 | 3.34375 | 3 | [] | no_license | import java.util.ArrayList;
import java.util.List;
public class Player {
private final int id;
private final Game game;
private int money = 100;
private int boardPosition = 0;
private boolean missNextTurn = false;
private List<AnimalBoardSpace> animals = new ArrayList<AnimalBoardSpace>();
... | true |
3d8798ffd975a2dcd7ba7fb4e3221c89861d1a0a | Java | lcg0826/spring_web_project | /src/main/java/pack/lcg/controller/FileValidator9.java | UTF-8 | 557 | 2.234375 | 2 | [] | no_license | package pack.lcg.controller;
import org.springframework.stereotype.Service;
import org.springframework.validation.Errors;
import org.springframework.validation.Validator;
@Service
public class FileValidator9 implements Validator{
@Override
public boolean supports(Class<?> clazz) {
return false;
}
@Overrid... | true |
4eca375fce788922919db996f88479c59dbe801d | Java | KarineMataNada/coffeeShop42 | /cafeteria42/src/main/java/com/coffeeshop42/service/UsuarioService.java | UTF-8 | 2,553 | 2.25 | 2 | [] | no_license | package com.cafeteria.service;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.cafeteria.exception.ResourceNotFoundException;
import com.cafeteria.model.Usuario;
import com.cafeteria.r... | true |
2a4611ea3321218eb1a52acacc7dc396cd907b4c | Java | ixrjog/opscloud4 | /opscloud-manage/src/main/java/com/baiyi/opscloud/facade/workorder/impl/WorkOrderFacadeImpl.java | UTF-8 | 4,091 | 2.078125 | 2 | [
"Apache-2.0"
] | permissive | package com.baiyi.opscloud.facade.workorder.impl;
import com.baiyi.opscloud.common.util.BeanCopierUtil;
import com.baiyi.opscloud.domain.DataTable;
import com.baiyi.opscloud.domain.generator.opscloud.WorkOrder;
import com.baiyi.opscloud.domain.generator.opscloud.WorkOrderGroup;
import com.baiyi.opscloud.domain.param.w... | true |
8b1d13006c34f1638ca8635da7b90855e2840b4e | Java | EngineerBarsik/dev | /org.orbit.fs.test/src/org/orbit/fs/test/server/FsFileTablesTest.java | UTF-8 | 3,140 | 2.34375 | 2 | [] | no_license | package org.orbit.fs.test.server;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;
import java.util.Properties;
import org.junit.Test;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;
import org.junit.runner.notification.Failure;
import org.orbit.fs.common.database.Da... | true |
2e093d6a5b1f0f6462ffa3361f3a6e4761e8bd06 | Java | pheerawadee/pacman-java | /src/control/Stage.java | UTF-8 | 16,121 | 2.6875 | 3 | [
"MIT"
] | permissive | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package control;
import elements.Blinky;
import elements.Clyde;
import elements.Element;
import elements.Fruit;
import elements.Inky;
... | true |
42fddea08e159069b1b96b115c4fe52035d4f459 | Java | vhiepnguyen96/cyberzone-app | /app/src/main/java/com/n8plus/vhiep/cyberzone/ui/manage/wishlistfollowedstore/WishlistFollowedstoreFragment.java | UTF-8 | 4,142 | 1.804688 | 2 | [] | no_license | package com.n8plus.vhiep.cyberzone.ui.manage.wishlistfollowedstore;
import android.support.design.widget.TabLayout;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.os.Bundle;
import android.support.annotation.Nulla... | true |
aef7d4c360dfa2ab78f2377bb48cf259c6592d56 | Java | ShahmanTeh/MiFit-Java | /b/a/aV.java | UTF-8 | 2,625 | 2.046875 | 2 | [] | no_license | package b.a;
import com.amap.api.services.district.DistrictSearchQuery;
import com.sina.weibo.sdk.constant.WBPageConstants.ParamKey;
import com.xiaomi.channel.relationservice.data.a;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import kankan.wheel.widget.l;
publ... | true |
897c661f367a658460b3e375d209c80f4855fe0a | Java | huynhmytuan/ClothStoreManage | /src/Task/SoundTrack.java | UTF-8 | 811 | 2.78125 | 3 | [] | no_license | package Task;
import java.io.*;
import javax.sound.sampled.*;
public class SoundTrack extends Thread{
String path;
public SoundTrack(String MusicPath) {
// TODO Auto-generated constructor stub
this.path = MusicPath;
}
@Override
public void run() {
try{
File audioFile = new File(path);
... | true |
81695a3dc246c32910e0580bc6efda6e24f96044 | Java | apurvadas95/PLP-projects | /flight-booking-plp/src/main/java/com/demo/plp/service/FlightServiceImpl.java | UTF-8 | 767 | 2.015625 | 2 | [] | no_license | package com.demo.plp.service;
import com.demo.plp.dao.FlightDao;
import com.demo.plp.entity.Flights;
import com.demo.plp.model.FlightsModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
imp... | true |
3b5a096234ce794dd2ac99cf8bc74468db882820 | Java | cstone1492/KnittingGauge | /src/main/java/one/philosopherstone/knittingconversions/models/data/BrandRepository.java | UTF-8 | 323 | 1.703125 | 2 | [] | no_license | package one.philosopherstone.knittingconversions.models.data;
import one.philosopherstone.knittingconversions.models.Brand;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface BrandRepository extends CrudRepository<Brand, Integer> {... | true |
5ca10e4d109c3e0bb2c02fce656528ff48ed8c0b | Java | JoshuaJiangFD/leetcode-in-java | /src/test/java/joshua/leetcode/array/MaximumGapTest.java | UTF-8 | 553 | 2.515625 | 3 | [] | no_license | package joshua.leetcode.array;
import static org.junit.Assert.*;
import junit.framework.Assert;
import org.junit.Test;
public class MaximumGapTest {
@Test
public void testSolution1() {
int[] num=new int[]{3,14,4,1,9,20};
MaximumGap.Solution solution=new MaximumGap.Solution();
int result=solution.maximumG... | true |
168cff7724a16922fce50d664904b94db83f0a68 | Java | konvergent/PdfViewPager | /library/src/main/java/es/voghdev/pdfviewpager/library/adapter/PDFPagerAdapter.java | UTF-8 | 4,817 | 2.015625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (C) 2016 Olmo Gallegos Hernández.
*
* 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 ... | true |
cae9e42cef21c7d9c812ba494854c8dc16cc2e2d | Java | Sportsfire/SportsFireExposure | /src/com/sportsfire/objects/Squad.java | UTF-8 | 2,363 | 2.609375 | 3 | [] | no_license | package com.sportsfire.objects;
import java.util.ArrayList;
import com.sportsfire.db.PlayerTable;
import com.sportsfire.unique.Provider;
import android.content.Context;
import android.database.Cursor;
import android.os.Parcel;
import android.os.Parcelable;
public class Squad implements Parcelable{
private ArrayL... | true |
424c6445874b049bdb569ee93b219e8f84634467 | Java | aeay/testikompilaatio | /src/main/java/fi/hh/ohjelmistoprojekti/testiprojekti/testikompilaatio/web/AnswerController.java | UTF-8 | 2,107 | 2.0625 | 2 | [] | no_license | /**
*
*/
package fi.hh.ohjelmistoprojekti.testiprojekti.testikompilaatio.web;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.http.HttpStatus;
import o... | true |
16a1318bf0b4d357224c53fb7e603854021da1f5 | Java | JonBrem/PubMed-Bachelorarbeit | /PubMedBA/src/de/ur/jonbrem/pubmed/indexing/Node.java | UTF-8 | 2,508 | 2.828125 | 3 | [] | no_license | package de.ur.jonbrem.pubmed.indexing;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.jsoup.nodes.Attribute;
import org.jsoup.nodes.Element;
/**
* A Node in the FullDOMTree (XML Tree)
*/
public class Node {
private static final int TEXT_NEVER = 0;
pr... | true |
c67a97d3f0c1b5de64be6abae19818e068986868 | Java | ClearLiF/storeroom-mgr | /src/main/java/com/wxy/model/SrAdmin.java | UTF-8 | 3,091 | 1.976563 | 2 | [] | no_license | package com.wxy.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.Tab... | true |
242242e140ac1789906df70d59ce5a2513710416 | Java | Lintang666/laporan-praktikum-pbo | /src/10_Polimorfisme/bentukdasarpolimorfisme1841720193lintang/Tester1_1841720193Lintang.java | UTF-8 | 810 | 2.1875 | 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 bentukdasarpolimorfisme1841720193lintang;
/**
*
* @author ASUS
*/
public class Tester1_1841720193Lintang {
public stati... | true |
c9ef3a96fe6370122e7d6ad41a2bed6fe5e571e0 | Java | ALAxHxC/Telemed | /app/src/main/java/ponny/org/telemed/red/internet/CamioDeEstadoRed.java | UTF-8 | 1,289 | 2.5625 | 3 | [] | no_license | package ponny.org.telemed.red.internet;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.util.Log;
/**
* Created by Daniel on 16/01/2017.
*/
public class CamioDeEstadoRed e... | true |
524f569ab1372ab8678bd762d6d4f88deab3d652 | Java | love10086/Test | /library/src/main/java/com/gemall/library/bean/PublicBean.java | UTF-8 | 656 | 2.265625 | 2 | [] | no_license | package com.gemall.library.bean;
import java.io.Serializable;
public class PublicBean implements Serializable {
private String action;//区分你的意图
private Object data[];
private String msg;// 描述Bean意图 无实际作用
public String getAction() {
return action;
}
public void setAction(String ac... | true |
c40ff83a1e87c0cb98feb21aed8272aa0bac8eba | Java | parthp17/DataStructures | /DataStructures/src/Arrays/PascalTriangle.java | UTF-8 | 802 | 3.5 | 4 | [] | no_license | package Arrays;
import java.util.ArrayList;
import java.util.List;
public class PascalTriangle {
public List<List<Integer>> generate(int numRows) {
List<List<Integer>> container = new ArrayList<>();
List<Integer> ls = new ArrayList<>();
if(numRows < 1) return container;
ls.add(1);
container.add(l... | true |
fe9bba1118218d48c540b38f90ba28a7444db24d | Java | TrueShow/cloud-project-ser | /server-cloud/src/main/java/DbHandler.java | UTF-8 | 2,468 | 2.921875 | 3 | [] | no_license | import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.sql.*;
public class DbHandler {
private static final Logger LOG = LoggerFactory.getLogger(DbHandler.class);
private static Connection conn;
public static void connect() {
try {
Class.forName("org.sqlite.JDBC");
... | true |
cd53df1705297db77c9bc06f33cc7649534376b6 | Java | HeliumAnt/ulan-openchrom | /chemclipse/plugins/org.chromulan.system.control/src/org/chromulan/system/control/model/AbstractAcquisition.java | UTF-8 | 7,458 | 1.835938 | 2 | [] | no_license | /*******************************************************************************
* Copyright (c) 2015, 2017 Jan Holy.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is avail... | true |
a7778ae4e4727517756f94d2ce8cbbd659d6ead0 | Java | davetaka/AulasKinect | /KinectBlobDetection/src/kinectblobdetection/KinectBlobDetection.java | UTF-8 | 1,157 | 2.71875 | 3 | [] | no_license | package kinectblobdetection;
import processing.core.PApplet;
import processing.core.PImage;
import SimpleOpenNI.SimpleOpenNI;
import blobDetection.Blob;
import blobDetection.BlobDetection;
import blobDetection.EdgeVertex;
public class KinectBlobDetection extends PApplet {
PImage imagem;
BlobDetection bd;
int alt... | true |
be5aced4218bbac9524de92fb848a3131da07baf | Java | PauloFer1/VigieGo | /app/src/main/java/pt/vigie/view/TagInfoFragment.java | UTF-8 | 8,398 | 2.21875 | 2 | [] | no_license | package pt.vigie.view;
import android.content.Context;
import android.graphics.Typeface;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ScrollView;
import androi... | true |
65b98c08cefd9d363437643bf1fa4ef2e5aa5b94 | Java | clgielarowski/cit111_ccac | /ScopeBasics.java | UTF-8 | 4,878 | 2.90625 | 3 | [
"Apache-2.0"
] | permissive | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package chunk2methods;
import java.util.Scanner;
import java.util.Random;
/**
*
* @author cgiel0d
*/
public class Sc... | true |
15c20f6384dec0a42ac2ffa3d973ca6ab557f303 | Java | jeometry-org/jeometry | /jeometry-coordinatesystem/src/main/java/org/jeometry/coordinatesystem/model/GeographicCoordinateSystemGridShiftOperation.java | UTF-8 | 1,586 | 2.734375 | 3 | [
"Apache-2.0"
] | permissive | package org.jeometry.coordinatesystem.model;
import java.util.ArrayList;
import java.util.List;
import org.jeometry.coordinatesystem.operation.CoordinatesOperation;
import org.jeometry.coordinatesystem.operation.CoordinatesOperationPoint;
import org.jeometry.coordinatesystem.operation.gridshift.HorizontalShiftOperati... | true |
da2bdff1ee4e45e2501d9c70474dd44716416315 | Java | s1ck/gradoop | /gradoop-flink/src/main/java/org/gradoop/flink/datagen/transactions/foodbroker/functions/masterdata/MasterDataMapFromTuple.java | UTF-8 | 1,550 | 2.203125 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright © 2014 - 2017 Leipzig University (Database Research Group)
*
* 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
*
* Unle... | true |
1861cb3bacb17cc6cabfef7510d4c1680a9066c7 | Java | SullyVV/BankServer | /BankServer/src/common/database/DatabaseManager.java | UTF-8 | 10,487 | 2.390625 | 2 | [] | no_license | package common.database;
import common.operationType.CreateOps;
import common.operationType.QueryOps;
import common.operationType.TransferOps;
import common.util.XmlUtil;
import java.sql.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
/**
* Created by JohnDong on 2017/4/3.
*/
publi... | true |
630096f19da64e24efc57a872e333590470f1d49 | Java | wenchien/Practice-Linear-Regression | /Simple_Linear_Regression/src/MainTester.java | UTF-8 | 574 | 2.96875 | 3 | [] | no_license |
public class MainTester {
public static void main(String[] args) {
int i = 0;
double bias = 10.0f;
double weight = 5.0f;
double[] features = {10, 20, 30, 40, 50};
double[] labels = {50, 75, 180, 210, 260};
double[] predictions = new double[features.length];
double loss = 0.0f;
prediction... | true |
e6e33fd66eaedc760cbd6bcf6db86fb6957ecf3b | Java | javalogbook/multitanent-example | /src/main/java/com/javalogbook/mulittenant/routing/TenantRouting.java | UTF-8 | 369 | 1.804688 | 2 | [] | no_license | package com.javalogbook.mulittenant.routing;
import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;
import com.javalogbook.mulittenant.core.ThreadLocaleStorage;
public class TenantRouting extends AbstractRoutingDataSource {
@Override
protected Object determineCurrentLookupKey() {
... | true |
0aef86f1bac5e8d631551d1be7c7b562bdb8b592 | Java | DiscardPast/discardpast-personal-ecology | /CaseLibrary/louwailou-be/lwl-admin/src/main/java/com/discardpast/louwailou/LouwailouApplication.java | UTF-8 | 479 | 1.625 | 2 | [] | no_license | package com.discardpast.louwailou;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
/**
* 注释
*
* @author discardpast@yeah.net
* @since 2019/10/5 22:20
*/
@SpringBootApplicati... | true |
30d9658a32d3d10a06759c3abd4aef74f18a0b09 | Java | dmgerman/hadoop | /hadoop-tools/hadoop-azure-datalake/src/test/java/org/apache/hadoop/fs/adl/TestRelativePathFormation.java | UTF-8 | 5,426 | 1.507813 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown",
"CC0-1.0",
"CC-BY-3.0",
"EPL-1.0",
"LicenseRef-scancode-unknown-license-reference",
"Classpath-exception-2.0",
"CC-PDDC",
"GCC-exception-3.1",
"CDDL-1.0",
"MIT",
"GPL-2.0-only",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"LGPL-2.1-on... | permissive | begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses... | true |
8d1711e3209ccc297692139019e890c222162c76 | Java | KieniL/FamilyCluster_Auth | /src/main/java/com/kienast/authservice/controller/RootController.java | UTF-8 | 498 | 2 | 2 | [] | no_license | package com.kienast.authservice.controller;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class RootController... | true |
0f4b432420c25392cb3fbcdef7162b0e1d40508f | Java | CharfeddineMohamedAli/GestionEcole | /src/Controller/ModifierUserController.java | UTF-8 | 3,790 | 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 Controller;
import Services.UserService;
import com.jfoenix.controls.JFXTextField;
import java.awt.image.BufferedImage;
import... | true |
e3c18be23720c4e65424534204a39d988dd1a36c | Java | cacheflowe/haxademic | /src/com/haxademic/core/debug/StringBufferLog.java | UTF-8 | 1,818 | 2.53125 | 3 | [
"MIT"
] | permissive | package com.haxademic.core.debug;
import com.haxademic.core.app.P;
import com.haxademic.core.data.constants.PTextAlign;
import com.haxademic.core.draw.text.FontCacher;
import com.haxademic.core.media.DemoAssets;
import processing.core.PFont;
import processing.core.PGraphics;
public class StringBufferLog {
protecte... | true |
b5e4f0dbb2bef939e0b3d1c6715476d12d446fae | Java | vicente-psp/controle-ponto | /src/main/java/com/vicente/controleponto/api/models/enums/TipoPessoa.java | UTF-8 | 295 | 2.53125 | 3 | [] | no_license | package com.vicente.controleponto.api.models.enums;
public enum TipoPessoa {
CONTRATADO("Contratado"), AUTONOMO("Autônomo");
private String descricao;
private TipoPessoa(String descricao) {
this.descricao = descricao;
}
public String toString() {
return this.descricao;
}
}
| true |
7916590bd41ea35af6578d124a13aba94cc71f3a | Java | tonyhu-x/Mon | /core/src/com/taj/mon/BlockImage.java | UTF-8 | 4,431 | 2.515625 | 3 | [
"MIT"
] | permissive | package com.taj.mon;
import java.util.ArrayList;
import com.badlogic.gdx.scenes.scene2d.Actor;
import com.badlogic.gdx.scenes.scene2d.InputEvent;
import com.badlogic.gdx.scenes.scene2d.InputListener;
import com.badlogic.gdx.scenes.scene2d.Touchable;
import com.badlogic.gdx.scenes.scene2d.actions.Actions;
import com.b... | true |
3dce04294c3cb16261e1780c049621f4512b78ae | Java | chabedalam11/pms-thymeleaf | /src/main/java/com/pms/repository/T30006Repository.java | UTF-8 | 1,827 | 1.765625 | 2 | [] | no_license | package com.pms.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import com.pms.model.T30006;
import java.lang.String;
import java.u... | true |