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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
e194f9f206fd9170555bf0e688858caae780d5c7 | Java | Equinox-/LWJGL-Framework | /src/com/pi/core/vertex/VertexLayout.java | UTF-8 | 5,875 | 2.265625 | 2 | [] | no_license | package com.pi.core.vertex;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import org.lwjgl.glfw.GLFW;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL20;
import com.pi.math.matrix.Matrix4;
import com.pi.math.vector.ByteVector;
import com.pi.ma... | true |
c4892cf3f7da51fbc80f4350b14b1ed7b2c46376 | Java | Zeyad3ly/EndlessLoop | /app/src/main/java/com/example/endlessloop/MailSignUpPackage/MailSignUpActivity.java | UTF-8 | 404 | 1.734375 | 2 | [] | no_license | package com.example.endlessloop.MailSignUpPackage;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import com.example.endlessloop.R;
public class MailSignUpActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(s... | true |
d18a7207c2374bc75e0d0de3c44e19cc5d060d48 | Java | cengler/casinoonline | /Tp3/codigo/src/parser/XML.java | UTF-8 | 66 | 1.523438 | 2 | [] | no_license | package parser;
public class XML {
public XML(){
}
} | true |
e213292b408c3d5ebc3f762ff449d8f0dbceb12f | Java | qianchengjie/freeride | /src/main/java/com/hdu/freeride/service/PermissionsService.java | UTF-8 | 3,633 | 2.21875 | 2 | [] | no_license | package com.hdu.freeride.service;
import com.hdu.freeride.entity.RoleRightRelation;
import com.hdu.freeride.entity.User;
import com.hdu.freeride.entity.UserRoleRelation;
import com.hdu.freeride.exception.MyException;
import com.hdu.freeride.repository.RightRepository;
import com.hdu.freeride.repository.RoleRepository;... | true |
bd43a311340b5f02ea9b9b01b788f6b38a717269 | Java | ramanchhabra22/PhotoGalley | /AkAnek/app/src/main/java/com/android/akanek/model/SharedPreferenceHelper.java | UTF-8 | 1,248 | 2.28125 | 2 | [] | no_license | package com.android.akanek.model;
import android.content.Context;
import android.content.SharedPreferences;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import java.util.ArrayList;
import static android.content.Context.MODE_PRIVATE;
public class SharedPreferenceHelper {
private SharedP... | true |
3ab2f2c1dc0b2d54ca494573f5e8e7a76c4b0520 | Java | YeonBini/kakaopay | /src/main/java/com/kakaopay/housingfund/exception/EmailSignFailedException.java | UTF-8 | 658 | 2.25 | 2 | [] | no_license | package com.kakaopay.housingfund.exception;
public class EmailSignFailedException extends RuntimeException{
public EmailSignFailedException() {
super();
}
public EmailSignFailedException(String message) {
super(message);
}
public EmailSignFailedException(String message, Throwable ... | true |
60b32a3bc0a0063eb68d4438db5912b2fece04b3 | Java | sarfrazgithub/SpringDataJPA | /src/main/java/com/example/SpringDataJPA/Entity/Recipe.java | UTF-8 | 994 | 2.296875 | 2 | [] | no_license | package com.example.SpringDataJPA.Entity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.GeneratorType;
import javax.persistence.*;
import java.util.Set;
@Getter
@Setter
@AllArgsConstructor
@Entity
@Table(name = "RECIPE")
public class Recipe {
@Id... | true |
f530a5cebc3533a98c63c20ae5a778e2bbeeded5 | Java | Temoa/Startor | /app/src/main/java/com/temoa/startor2/adapter/CategoryAdapter.java | UTF-8 | 8,250 | 2.203125 | 2 | [
"Apache-2.0"
] | permissive | package com.temoa.startor2.adapter;
import android.content.Context;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.temoa.startor2.R;
import com.temoa.startor2.b... | true |
6c1c3d487fb3139e734fdd77350bee95198e09f0 | Java | goying666/data20 | /src/main/java/com/renchaigao/zujuba/mongoDB/info/game/MXTWorld/ConsumeInfo.java | UTF-8 | 377 | 1.882813 | 2 | [] | no_license | package com.renchaigao.zujuba.mongoDB.info.game.MXTWorld;
import com.renchaigao.zujuba.BasicObject;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class ConsumeInfo extends BasicObject{
private String form;
private Integer moneyConsume;
private Integer powerConsume;
private Inte... | true |
18f1b42e803c05097097455446c6e35f0c8188ec | Java | baba5246/study-java | /old/Janken_v1.java | UTF-8 | 1,245 | 3.875 | 4 | [] | no_license | /**
* じゃんけんしましょう(シンプル版1)
* @author a13553
*/
public class Janken_v1{
/**
* じゃんけんをする
*/
public static void doJanken() {
// 入力待ち&読み込み
String error = "1〜3で入力してください!";
int userInput = Util.readValidIntegerInput("", error, error, 1, 3);
if (userInput < 0) return;
// コンピュータの手を計算
int computerInput = ... | true |
799a39c2c41f9dab155329335e0f8dbcad3655e9 | Java | sunilmanubolu/bank_demo | /bankingApplication/src/main/java/com/example/banking/model/Account.java | UTF-8 | 1,296 | 2.328125 | 2 | [] | no_license | package com.example.banking.model;
import java.time.LocalDateTime;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
i... | true |
2b74564b399a77ba03ecb7cc9c08884f41916af9 | Java | wwwshwww/TofuCrusade | /code/Battlefield.java | UTF-8 | 1,547 | 3.078125 | 3 | [] | no_license |
import greenfoot.*;
import java.util.List;
public class Battlefield extends World{
Player player;
long time;
long clearTime;
long gameoverTime;
boolean clear;
boolean gameover;
final int TIME_INTERVAL = 30;
public Battlefield(){
super(1200, 900, 1);
... | true |
2bd5e8e9c49b76048e361b88c4231b3bed205e03 | Java | jokr92/Access-Aber | /Code/src/database/WayTest.java | UTF-8 | 1,364 | 2.921875 | 3 | [] | no_license | package database;
import static org.junit.Assert.*;
//import java.util.ArrayList;
//import java.util.List;
import org.junit.Test;
public class WayTest {
@Test
public void ClassShouldBeAnInterface(){
assertTrue(Way.class.isInterface());
}
/*
Way testWay = new Way();
@Test
public void GetAndSetIdShouldR... | true |
39206d137d11bac61e954b991bb4b9d6995267e2 | Java | jrsantur/PiuraDivierte | /model/src/main/java/com/project/workgroup/model/rest/RestEventSource.java | UTF-8 | 2,250 | 2.328125 | 2 | [] | no_license | package com.project.workgroup.model.rest;
import com.project.workgroup.common.Constants;
import com.project.workgroup.model.MediaDataSource;
import com.project.workgroup.model.entidades.EventDetail;
import com.project.workgroup.model.entidades.EventsWrapper;
import com.squareup.otto.Bus;
import org.slf4j.Logger;
impo... | true |
84e5fd1f15721e829f39471d6e16e49020443055 | Java | ayoubridouani/games_XO | /Games XO/app/src/main/java/com/example/anonsurf/xo/MainActivity.java | UTF-8 | 4,470 | 2.359375 | 2 | [] | no_license | package com.example.anonsurf.xo;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
private static Button btn1,btn2,btn3,btn4,btn5,btn6,btn7,btn8,bt... | true |
0a232cf993cd383f9d0e6a3fb5c12db16e6b4b6d | Java | iamrajendra/Plantix | /app/src/main/java/com/plantix/data/remote/NetworkResponseCallbackWithComplete.java | UTF-8 | 167 | 1.539063 | 2 | [] | no_license | package com.plantix.data.remote;
public interface NetworkResponseCallbackWithComplete<T extends Object> extends NetworkResponseCallback<T> {
void onComplete();
}
| true |
ce4050867f2baefaaa7053400902b777a31931fc | Java | JKjiao/1710f-zhangjm-cms | /src/test/java/com/jk/demo/ArticleTest.java | UTF-8 | 634 | 1.71875 | 2 | [] | no_license | package com.jk.demo;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import com.zhangjiaming.service.ArticleServi... | true |
c4da0ce1ce6e8668dbc67087c4ee6273b4db53a2 | Java | samiurprapon/1712666_FA2020_CSE486.1-1 | /Assignments/Theory/Quiz-2/BanglaDictionary/app/src/main/java/life/nsu/bangladictionary/views/MainActivity.java | UTF-8 | 5,169 | 2.125 | 2 | [] | no_license | package life.nsu.bangladictionary.views;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageButton;
import android.widget.TextView;
import androidx.appcompat.ap... | true |
75de4871abc912722af0b4974b9fef68a70d1ea6 | Java | MohamedAhmedElsayed/Book_Listing_App | /Books/app/src/main/java/com/example/mohamed_ahmed/books/ExtendableListAdapter.java | UTF-8 | 3,168 | 2.375 | 2 | [] | no_license | package com.example.mohamed_ahmed.books;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseExpandableListAdapter;
import android.widget.TextView;
import java.util.HashMap;
import java.util.List;
public class Extendab... | true |
0cfb494639e25e1d42bcbce5743c5e35d48f4101 | Java | PM-Project/myshop | /src/main/java/com/pm/myshop/domain/Test.java | UTF-8 | 1,889 | 2.328125 | 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.pm.myshop.domain;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persis... | true |
953d98a4de5f94eac17d374e9de98da9fc044135 | Java | ShT51/PetREST | /mobile-app-ws/src/test/java/com/udemy/app/ws/service/impl/UserServiceImplTest.java | UTF-8 | 3,951 | 2.078125 | 2 | [] | no_license | package com.udemy.app.ws.service.impl;
import com.udemy.app.ws.TestHelper;
import com.udemy.app.ws.exceptions.UserServiceException;
import com.udemy.app.ws.io.entity.RoleEntity;
import com.udemy.app.ws.io.entity.UserEntity;
import com.udemy.app.ws.io.repository.RoleRepository;
import com.udemy.app.ws.io.repository.Use... | true |
aea1c17d06b55c551ef2de41b5c839dbccbf59ee | Java | rioshen/interview | /test/com/interview/algorithms/general/C1_11_TimeAngleTest.java | UTF-8 | 1,135 | 2.9375 | 3 | [] | no_license | package com.interview.algorithms.general;
import junit.framework.TestCase;
import java.util.Date;
/**
* Created_By: stefanie
* Date: 14-6-30
* Time: 下午9:17
*/
public class C1_11_TimeAngleTest extends TestCase {
public void testcase1() throws Exception {
Date time = new Date();
time.setHours(... | true |
5cbd7fa9ab02145bc41534f0bf11fbd86ebc359b | Java | eichmann/LD4L | /src/main/java/edu/uiowa/slis/LD4L/indexing/general/GeoNamesIndexer.java | UTF-8 | 6,851 | 2.140625 | 2 | [] | no_license | package edu.uiowa.slis.LD4L.indexing.general;
import java.io.IOException;
import java.lang.invoke.MethodHandles;
import org.apache.jena.query.QuerySolution;
import org.apache.jena.query.ResultSet;
import org.apache.log4j.PropertyConfigurator;
import org.apache.lucene.document.Document;
import org.apache.lucene.docume... | true |
39bedb0c2f1cc24215721da21fe8880014f32229 | Java | poppinlr/Algorithms | /src/main/java/basic/thread/RunnableImpl.java | UTF-8 | 182 | 2.109375 | 2 | [] | no_license | package basic.thread;
import edu.princeton.cs.algs4.StdOut;
public class RunnableImpl implements Runnable{
@Override
public void run() {
StdOut.println(1);
}
}
| true |
ec6ca15feff20a842c3d1c49afad71d142fb66e3 | Java | Jsubhasree/NetflixData_Analysis | /GraphMake.java | UTF-8 | 2,896 | 3.25 | 3 | [] | no_license | import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Multimap;
import java.io.File;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Scanner;
//Storing the netflix data as graph
public class GraphMake {
public static Multimap<Integer,Int... | true |
3377fad516e7ade4cca43c070a581c570e654ae9 | Java | cckmit/Nuclos | /nuclos-client/src/main/java/org/nuclos/client/nuclet/generator/content/EntityFieldNucletContentGenerator.java | UTF-8 | 6,736 | 1.757813 | 2 | [] | no_license | //Copyright (C) 2010 Novabit Informationssysteme GmbH
//
//This file is part of Nuclos.
//
//Nuclos is free software: you can redistribute it and/or modify
//it under the terms of the GNU Affero General Public License as published by
//the Free Software Foundation, either version 3 of the License, or
//(at your option... | true |
82f298a19ec73979d9696a56d2a7617f5f73d446 | Java | a8t3r/finagle-resteasy | /src/main/java/com/opower/finagle/resteasy/server/NettyHeaderWrapper.java | UTF-8 | 3,807 | 2.609375 | 3 | [
"MIT"
] | permissive | package com.opower.finagle.resteasy.server;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import org.jboss.netty.handler.codec.http.HttpResponse;
import javax.ws.rs.core.MultivaluedMap;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Set;
/*... | true |
27cded86a36c55ef10f29e00864ef881d78feae1 | Java | jainchirag21064/customer-statement-processor | /src/test/java/com/rabobank/nl/statementprocessor/api/CustomerStatementProcessorControllerIntegrationTest.java | UTF-8 | 4,373 | 2.203125 | 2 | [] | no_license | package com.rabobank.nl.statementprocessor.api;
import static org.assertj.core.api.Assertions.assertThat;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.put;
import static org.springframework.test... | true |
8fc9231d1f602fb870679656dd8f249d79ca3a22 | Java | banjarashalin/Scheduler | /Code/SchedulerWeb/src/main/java/com/scheduler/models/Roles.java | UTF-8 | 335 | 1.757813 | 2 | [] | no_license | package com.scheduler.models;
import java.sql.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Roles {
private int roleId;
private int clientId;
private String roleName;
private String privilege;
private String ... | true |
fd7f35ff4d56fb7d059843a3a3a78c597c3db913 | Java | rohansingh97/program | /src/main/java/com/rakuten/client/CousreClient.java | UTF-8 | 301 | 1.523438 | 2 | [] | no_license | package com.rakuten.client;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class CousreClient {
public static void main(String[] args) {
SpringApplication.run(CousreClient.class, args);
}
}
| true |
adfd86cefc47a4e675eecc81baa103613ff7d7ae | Java | officefloor/OfficeFloor | /officefloor/persistence/officenosql_cosmosdb/src/main/java/net/officefloor/nosql/cosmosdb/CosmosAsyncDbSupplierSource.java | UTF-8 | 1,898 | 1.882813 | 2 | [
"Apache-2.0"
] | permissive | /*-
* #%L
* CosmosDB
* %%
* Copyright (C) 2005 - 2021 Daniel Sagenschneider
* %%
* 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 |
fbb76747f079ab954283be6f682ea555d8afb664 | Java | IHaveGotAName/SmartMarket | /src/main/java/market/web/CreateManufacturerServlet.java | UTF-8 | 1,423 | 2.328125 | 2 | [] | no_license | package market.web;
import market.dto.ManufacturerDTO;
import market.service.impl.ManufacturerService;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
... | true |
674272d653418f0c50574573ae9f88f6261a14a2 | Java | liuyueyi/java-web | /study/test/java/com/mogu/hui/study/AopTest.java | UTF-8 | 2,473 | 2.625 | 3 | [] | no_license | package com.mogu.hui.study;
import com.mogu.hui.study.Constants.RoleLevel;
import com.mogu.hui.study.annotation.Role;
import com.mogu.hui.study.aop.CglibProxy;
import com.mogu.hui.study.aop.ReflectProxy;
import com.mogu.hui.study.base.Cell;
import com.mogu.hui.study.base.UserBean;
import com.mogu.hui.study.base.UserBe... | true |
c8a293638317771e7cf3e76339d0d1ca348157fb | Java | Praveenvermatech/SpringOnlineEcommerceSystem | /src/main/java/com/example/demo/ecommerce/serviceImpl/UserCartServiceImpl.java | UTF-8 | 9,580 | 2.34375 | 2 | [] | no_license | package com.example.demo.ecommerce.serviceImpl;
import java.util.ArrayList;
import java.util.List;
import javax.transaction.Transactional;
import org.json.JSONArray;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.s... | true |
40fdf35195d14c7ecf424c684c7a2ef05075b093 | Java | ivan-shevtsov/roster-activity-simulator | /src/main/java/roster/domain/model/RosterEntity.java | UTF-8 | 667 | 2.34375 | 2 | [] | no_license | package roster.domain.model;
import lombok.Data;
import java.util.Objects;
public @Data class RosterEntity<T extends RosterEntityId> {
private T entityId;
protected RosterEntity(T entityId) {
this.entityId = entityId;
}
@Override
public boolean equals(Object o) {
if (this == o)... | true |
6c13f38c68d5e47c16a7fc65510f21893319a011 | Java | apiman/apiman | /gateway/engine/policies/src/main/java/io/apiman/gateway/engine/policies/BasicAuthenticationPolicy.java | UTF-8 | 8,754 | 1.726563 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2014 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | true |
f29d1c91e5e9e5397564a25b805743b1194b4597 | Java | dkumar1997/Alberta-Health-Scheduling-Application | /Version 3.0/src/hospital_gui/SQLQUERIES.java | UTF-8 | 7,278 | 2.8125 | 3 | [] | no_license | package hospital_gui;
import java.sql.*;
public class SQLQUERIES {
public Connection getConnection() throws Exception{
try {
String driver = "com.mysql.jdbc.Driver";
String url = "jdbc:mysql://localhost:3306/new_sschema";
String username = "root";
String password = "sqlPassword";
Cla... | true |
ed615dec2bf025525adcf5730a81dd2a793696ff | Java | Asimovv/aio-herblore | /src/uk/co/ramyun/herblore/ui/TaskConfigureUi.java | WINDOWS-1252 | 1,434 | 2.515625 | 3 | [
"MIT"
] | permissive | package uk.co.ramyun.herblore.ui;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import javax.swing.JPanel;
import uk.co.ramyun.herblore.target.AbstractTarget;
import uk.co.ramyun.herblore.task.HerbloreTask;
public class TaskConfigureUi extends JPanel {
/**
* @author ... | true |
b03bd5f9b05e7a7976ec4180c2cad7d99faca1fe | Java | zh-one/android-map-game | /app/src/main/java/com/amap/map3d/demo/opengl/particle/ParticleShapeModule.java | UTF-8 | 223 | 1.75 | 2 | [] | no_license | package com.amap.map3d.demo.opengl.particle;
import android.graphics.Point;
/**
* 发射器形状
* @author zxy
* @data 1/9/18
*/
public abstract class ParticleShapeModule {
public abstract float[] getPoint();
}
| true |
057e49b598cb099a0f4b5f5489b6883c1f86b19c | Java | dinasv/CSBFinder | /src/Main/java/mvc/controller/CSBFinderController.java | UTF-8 | 4,431 | 1.960938 | 2 | [
"Apache-2.0",
"CC-BY-3.0"
] | permissive | package mvc.controller;
import mvc.ProgramProperties;
import mvc.view.graphics.GeneColors;
import mvc.view.listeners.UpdateFamiliesListener;
import mvc.view.requests.CSBFinderRequest;
import model.ClusterBy;
import model.ClusterDenominator;
import model.genomes.*;
import model.OutputType;
import model.postprocess.Fami... | true |
5d42487cfbc080fac667404f2e81396366a9aef8 | Java | uralspotter/java_ptf22 | /sandbox/src/main/java/ru/stqa/pft/sandbox/Matrixes.java | UTF-8 | 1,015 | 3.296875 | 3 | [] | no_license | package ru.stqa.pft.sandbox;
import java.util.Scanner;
public class Matrixes {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int m = sc.nextInt();
int[][] matrix = new int[n][m];
int[][] matrixres = new int[m][n];
... | true |
a830e869f1992dae13398f9779dd021353a80a1a | Java | AlexAntufiev/chatbot-constructor | /src/main/java/chat/tamtam/bot/domain/bot/hockey/News.java | UTF-8 | 1,011 | 2.484375 | 2 | [] | no_license | package chat.tamtam.bot.domain.bot.hockey;
import java.net.URL;
import java.time.Instant;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Getter;
@Getter(AccessLevel.NONE)
@Data
public class News {
private List<Entity> ne... | true |
75735e60d783d782547c0297ae00e6f95e0c9870 | Java | jcaramello/Compilador | /src/alex/exceptions/ForbiddenWordException.java | WINDOWS-1250 | 463 | 2.421875 | 2 | [] | no_license | package alex.exceptions;
public class ForbiddenWordException extends ALexException {
private static final long serialVersionUID = 1L;
private static String message = "La palabra %s est prohibida en el lenguaje. Puede tratarse de una palabra Java prohibida por compatibilidad, o de una palabra reservada para futuras... | true |
09d9aa71b4f388c0d5cec6407304a2d695c99805 | Java | mroefs1/DP-379-ProgressiveTaxation | /DP379.java | UTF-8 | 1,554 | 3.515625 | 4 | [] | no_license | /*
/r/dailyprogrammer challenge #379: Progressive Taxation
Michael Roefs
*/
import java.util.Scanner;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Arrays;
class ProgressiveTaxation {
/*
* Expect inputs as 4 lines, using 13 as a final line indicator
... | true |
00d73c52c3e852c11818fbd1c97967e0b8638b79 | Java | markshao/ChromeRestClient | /RestClient/src/org/rest/client/util/Units.java | UTF-8 | 1,345 | 2.21875 | 2 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | /*******************************************************************************
* Copyright 2012 Paweł Psztyć
*
* 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... | true |
afd18a922759fa83f4ff996ad0982b5408017847 | Java | mnarendra333/batch22 | /coreprog/Exceptions/src/pack1/Demo2.java | UTF-8 | 968 | 3.390625 | 3 | [] | no_license | package pack1;
public class Demo2 {
public static void main(String[] args) {
// TODO Auto-generated method stub
try {
/*
* int numbers[] = { 10, 20, 30, 40, 50, 60 }; System.out.println(numbers[8]);
*/
/*
* String address = null; address.length();
*/
/* int res =10/0; */
/*
* ... | true |
7421061f5a71dc050a0a00164d3103e59041244c | Java | CodingMindsExamples/apcs-bootcamp | /Day5/src/GuessNumberGame.java | UTF-8 | 646 | 3.765625 | 4 | [] | no_license | import java.util.*;
public class GuessNumberGame {
public static void main(String[] args) {
Random r = new Random();
int targetNumber = r.nextInt(100) + 1; // 1-100
int yourNumber = 0;
// 100
// 50
// 25
// 12
// 6
// 3
// 1
// 2
// 2,000,000,000
while(true) {
Sca... | true |
a9ae7eb4b5f89f6e3474fe7a4f6c028ddd0cf082 | Java | BBK-PiJ-2015-50/exercises | /day06-master/ex1/CalculatorScript.java | UTF-8 | 351 | 3.015625 | 3 | [] | no_license | public class CalculatorScript {
public static void main (String[] args) {
CalculatorScript script = new CalculatorScript();
script.launch();
}
private void launch() {
Calculator Calc = new Calculator();
Calc.add(223,4343);
Calc.subtract(511,672);
Calc.divide(15,31);
Calc.multiply(23,47);
... | true |
904d1dbaf98a8814cdac6d5a2dd967543b291959 | Java | yqzzyg/young-mall | /young-common/src/main/java/com/young/mall/express/entity/ExpressInfo.java | UTF-8 | 758 | 1.679688 | 2 | [
"MIT"
] | permissive | package com.young.mall.express.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.List;
/**
* @Description:
* @Author: yqz
* @CreateDate: 2020/12/21 15:39
*/
@Data
public class ExpressInfo implements Serializable {
@JsonProperty("Lo... | true |
b55621ef21a4afff5384c3fdbb9cf16e8de0a5ac | Java | m410/fab | /fab-cli/src/main/java/org/m410/fabricate/config/RemoteReference.java | UTF-8 | 1,088 | 2.234375 | 2 | [
"Apache-2.0"
] | permissive | package org.m410.fabricate.config;
import org.apache.commons.configuration2.ex.ConfigurationException;
import org.m410.config.YamlConfig;
import java.io.File;
/**
* @author Michael Fortin
*/
public final class RemoteReference extends ReferenceBase {
private Reference projectReference;
public RemoteReferen... | true |
ec32949c5d1018af1b0fcea457554c2eb3b83127 | Java | fristailura2/PrivatCurrencyExchange | /app/src/main/java/com/fastsoft/testcurrencyexchange/presentation/graph/GraphView.java | UTF-8 | 592 | 1.992188 | 2 | [] | no_license | package com.fastsoft.testcurrencyexchange.presentation.graph;
import com.fastsoft.testcurrencyexchange.presentation.base.BaseView;
import java.util.List;
public interface GraphView extends BaseView {
public abstract void showDataPickerDialogFrom();
public abstract void showDataPickerDialogTo();
void sh... | true |
819245d11ed7ecb392d66418742afb3ee6462152 | Java | JeromeSimmonds/phonebook | /phonebook-web/src/main/java/com/jeromesimmonds/phonebook/web/form/AccountPersonalInfoForm.java | UTF-8 | 867 | 2.328125 | 2 | [] | no_license | package com.jeromesimmonds.phonebook.web.form;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
import com.jeromesimmonds.phonebook.web.validator.UsernameAvailable;
/**
* @author Jerome Simmonds
*
*/
public class AccountPe... | true |
34c72b017f39f186edaa5018bb79b1ce64c0858c | Java | aheadlcx/analyzeApk | /budejie/sources/cn/v6/sixrooms/room/presenter/i.java | UTF-8 | 1,849 | 2.046875 | 2 | [] | no_license | package cn.v6.sixrooms.room.presenter;
import android.os.Handler;
import android.os.Message;
import cn.v6.sixrooms.bean.RoommsgBean;
import java.util.List;
final class i extends Handler {
final /* synthetic */ PrivateChatPresenter a;
i(PrivateChatPresenter privateChatPresenter) {
this.a = privateChat... | true |
1dca08cbb34646ee9ad4e6f3d02f3a04af278b56 | Java | mj3-16/minijavac | /src/main/java/minijava/ast/Ref.java | UTF-8 | 932 | 3.03125 | 3 | [] | no_license | package minijava.ast;
/**
* Collects name resolution information, such as the name of the identifier and its definition after
* the name has been resolved.
*
* @param <T> The type of Definition this points to.
*/
public class Ref<T extends Definition> {
public final String name;
public T def;
@Override
... | true |
513437fd7e1b801cda1036d99c622258fd32cccc | Java | yedeka/amazon_preps_leetcode | /src/com/gfg/gcl12/arrays_strings/ThreeSumNoSort.java | UTF-8 | 1,134 | 3.453125 | 3 | [] | no_license | package com.gfg.gcl12.arrays_strings;
import java.util.*;
/*
* Three sum problem without using sorting.
* */
public class ThreeSumNoSort {
private static List<List<Integer>> findThreeSum(int[] nums){
Set<Integer> dups = new HashSet<Integer>();
Set<List<Integer>> res = new HashSet<List<Integer>>();... | true |
2e1c28f119733e68a4cce7f71a0b7f694978cc2f | Java | johan-gorter/Instantlogic | /webapps/designer/src/main/java/org/instantlogic/designer/codegenerator/generator/GeneratedClassModels.java | UTF-8 | 4,022 | 2.25 | 2 | [
"MIT"
] | permissive | package org.instantlogic.designer.codegenerator.generator;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.instantlogic.designer.codegenerator.classmodel.AbstractClassModel;
import org.instantlogic.designer.codegenerator.classmodel.ApplicationClassModel;
import org.instantlogi... | true |
f3be3a108becb4cb082d069e86d7d0048e1b725c | Java | cmFodWx5YWRhdjEyMTA5/smell-and-machine-learning | /ast_results/osmdroid_osmdroid/osmdroid-geopackage/src/main/java/org/osmdroid/gpkg/overlay/features/OsmdroidShapeMarkers.java | UTF-8 | 6,451 | 1.601563 | 2 | [] | no_license | // isComment
package org.osmdroid.gpkg.overlay.features;
import org.osmdroid.api.IGeoPoint;
import org.osmdroid.util.GeoPoint;
import org.osmdroid.views.overlay.Marker;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* isComment
*/
public class isClassOrIsInterface {
/**
* isCom... | true |
b286713109e4483f9eed46ab405a67faf20ca362 | Java | thuanle1203/wemarket-front-end | /WeMarketAndroid/app/src/main/java/com/example/wemarketandroid/repository/services/WebService.java | UTF-8 | 3,113 | 2.0625 | 2 | [] | no_license | package com.example.wemarketandroid.repository.services;
import com.example.wemarketandroid.models.AuthResponse;
import com.example.wemarketandroid.models.Delivery;
import com.example.wemarketandroid.models.Food;
import com.example.wemarketandroid.models.Market;
import com.example.wemarketandroid.models.Order;
import ... | true |
7cab3cc16241d39ea26217e97624e29dc66b5386 | Java | HusseinWinza/IT-Assistant | /IT-Assistance/app/src/main/java/com/muchunguzi/dictsupport/It_chart_list_Adapter.java | UTF-8 | 1,795 | 2.15625 | 2 | [] | no_license | package com.muchunguzi.dictsupport;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
... | true |
f9b962ba4cb34faa74c87a60fb2e02b1e7e3e4b9 | Java | cmujicamolina/ProyectoIntelliJIDEA | /src/main/java/pages/MainPage.java | UTF-8 | 467 | 2.125 | 2 | [] | no_license | package pages;
import framework.PadrePage;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
public class MainPage extends PadrePage {
@FindBy(linkText = "Contact us")
WebElement btnContactUs;
public MainPage(WebDriver driver) throws ... | true |
f9ec0b4ef1e7adca00446c9b082408619419be41 | Java | Andrepeduti/Spring-Tool | /workspace-sts-3.9.12.RELEASE/metodo_save/src/main/java/com/metodosave/global/ProdutoService.java | UTF-8 | 395 | 1.648438 | 2 | [] | no_license | package com.metodosave.global;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@Service
@Transactional
public class ProdutoService {
@Autowired
private ProdutoRepository repo;
public... | true |
318f83ebd43114915edd119827cad0d16e58f6c0 | Java | ttggaa/javapro | /zwsrv/wssrv/src/main/java/com/kariqu/wssrv/app/ws/StatusCode.java | UTF-8 | 1,404 | 2.515625 | 3 | [] | no_license | package com.kariqu.wssrv.app.ws;
/*
0-999
Status codes in the range 0-999 are not used.
1000-2999
Status codes in the range 1000-2999 are reserved for definition by
this protocol, its future revisions, and extensions specified in a
permanent and readily av... | true |
ba66015da21c8487a1ce75008994de1d9193c5f5 | Java | AlexnderTang/Alexander.T-programming-11-handin | /FriendsBookGUI/src/sample/CreateFriend.java | UTF-8 | 3,247 | 3.140625 | 3 | [] | no_license | package sample;
import java.io.*;
import java.nio.Buffer;
import java.util.ArrayList;
public class CreateFriend {
private static String firstName;
private static String lastName;
private static int age;
private static String gender;
private static String friendGroup;
private static FileReader ... | true |
2c5a7cae78d4ed45be4d1283ab4260b0dc6016a6 | Java | soedomoto/bps-task-calendar | /src/main/java/id/go/bps/calendar/controllers/CTask.java | UTF-8 | 7,771 | 2.0625 | 2 | [] | no_license | package id.go.bps.calendar.controllers;
import id.go.bps.calendar.models.AEvent;
import id.go.bps.calendar.models.ATask;
import id.go.bps.calendar.models.AUnit;
import id.go.bps.calendar.models.AUser;
import id.go.bps.calendar.utils.ColorUtil;
import java.awt.Color;
import java.io.IOException;
import java.sql.SQLExce... | true |
6a718e6edb6dce157a393e66cf600bd81248a7f6 | Java | hechuansheng/spring_ioc_demo | /src/main/java/org/hechuansheng/demo/ioc/config/Config4LifeCycle.java | UTF-8 | 868 | 2.609375 | 3 | [] | no_license | package org.hechuansheng.demo.ioc.config;
import org.hechuansheng.demo.ioc.bean.Car;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;
/**
*... | true |
4ac65773822a6187b5e5ddb7a781b6ac0b57af85 | Java | TitoAlfaro/WifiSenser | /src/mit/edu/obmg/wifisenser/WifiSenserIOIO.java | UTF-8 | 3,799 | 2.125 | 2 | [] | no_license | package mit.edu.obmg.wifisenser;
import ioio.lib.api.DigitalOutput;
import ioio.lib.api.IOIO;
import ioio.lib.api.IOIOFactory;
import ioio.lib.api.exception.ConnectionLostException;
import ioio.lib.util.BaseIOIOLooper;
import ioio.lib.util.IOIOLooper;
import ioio.lib.util.android.IOIOActivity;
import ioio.lib.util.and... | true |
93194b1fe246cc573b78a17117aece92ed90326a | Java | pratyush-bsb/IOSAutomation | /src/com/bsb/hike/ios/tests/stealth/InitialSanity.java | UTF-8 | 5,756 | 2.203125 | 2 | [] | no_license | package com.bsb.hike.ios.tests.stealth;
import org.testng.Assert;
import org.testng.Reporter;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;
import com.bsb.hike.ios.base.AppiumCapabilities;
import com.bsb.hike.ios.library.HikeLibrary;
import com... | true |
46c3b58c2b4ff87311f300f8846d2e33fa874ff9 | Java | molock10/TodoListApp | /app/src/main/java/com/example/maxibon/todolistapp/model/TaskDTO.java | UTF-8 | 917 | 2.546875 | 3 | [] | no_license | package com.example.maxibon.todolistapp.model;
import android.text.TextUtils;
import java.io.Serializable;
/**
* Created by tmp-sda-1107 on 11/7/17.
*/
public class TaskDTO implements Serializable{
private static final long serialVersionUID = 1L;
private String title;
private String description;
... | true |
39614b0b5a73dd4b69ccf8ca675a2c326f933b0e | Java | iant89/ibot | /server/src/main/java/com/farm/server/core/WorldHopping.java | UTF-8 | 1,408 | 2.546875 | 3 | [] | no_license | /*
* Decompiled with CFR 0.148.
*/
package com.farm.server.core;
import java.util.Random;
public class WorldHopping {
public static final int[] F2P_WORLDS = new int[]{1, 8, 16, 26, 35, 82, 83, 84, 93, 94};
public static final int[] P2P_WORLDS = new int[]{2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 15, 17, 18, 19, ... | true |
d286e0655e3bc2db91b73b949eb085d314761e13 | Java | yamitenretni/javaschool | /src/main/java/servlets/ProductsSettingsServlet.java | UTF-8 | 11,276 | 2.359375 | 2 | [] | no_license | package servlets;
import domain.Contract;
import domain.ContractOption;
import service.ContractOptionService;
import service.ContractTariffService;
import javax.json.Json;
import javax.json.JsonArrayBuilder;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpSe... | true |
9095bd1494e67f8f4997254410e865b34689cf30 | Java | markokujundzic/compiler | /test/rs/ac/bg/etf/pp1/Compiler.java | UTF-8 | 2,993 | 2.40625 | 2 | [] | no_license | package rs.ac.bg.etf.pp1;
import java.io.*;
import java_cup.runtime.Symbol;
import org.apache.log4j.Logger;
import org.apache.log4j.xml.DOMConfigurator;
import rs.ac.bg.etf.pp1.ast.Program;
import rs.ac.bg.etf.pp1.util.Log4JUtils;
import rs.etf.pp1.mj.runtime.Code;
public class Compiler
{
static
{
DOMConfigura... | true |
a90df9450aaf9f83dbafe1984e4b654ac6584dfc | Java | jqf1996/shop | /src/test/java/com/shop/DemoApplicationTests.java | UTF-8 | 641 | 1.898438 | 2 | [] | no_license | package com.shop;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.test.context.ContextConfiguration;
import javax.annotati... | true |
535fbea270f09ceda372d65278ce2f646da109f2 | Java | udhvarg/PlantsVsZombies-AP-FinalProj | /src/classes/SunToken.java | UTF-8 | 1,732 | 2.78125 | 3 | [] | no_license | package classes;
import javafx.animation.TranslateTransition;
import javafx.scene.image.ImageView;
import javafx.util.Duration;
import java.io.Serializable;
public class SunToken implements Serializable {
private int disappearTime;
private boolean collected;
private final int value;
private final Ima... | true |
308d08ea9e6d64c1b484c4d4177c00d9552ba4f2 | Java | weitat95/mastersDissertation | /qardio_source/cfr_dec/com/getqardio/android/mvp/activity/Util/ActivityNotificationUtil.java | UTF-8 | 2,116 | 1.539063 | 2 | [] | no_license | /*
* Decompiled with CFR 0.147.
*
* Could not load the following classes:
* android.app.Notification
* android.app.NotificationManager
* android.app.PendingIntent
* android.content.Context
* android.content.Intent
* android.os.Build
* android.os.Build$VERSION
*/
package com.getqardio.android.mvp.acti... | true |
27073a2444f6acbe5cc6815f72a5b8fc287cd625 | Java | s3813866/Thu1930-Dipto-Group8 | /BackEnd/bookmicroservices/src/main/java/com/rmit/sept/bookmicroservices/services/BookService.java | UTF-8 | 2,046 | 2.59375 | 3 | [] | no_license | package com.rmit.sept.bookmicroservices.services;
import com.rmit.sept.bookmicroservices.Repositories.BookRepository;
import com.rmit.sept.bookmicroservices.model.Book;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.a... | true |
6a7ab8f3ddd35b11d1b0ace6cf51d5e0a5e0d940 | Java | wu15797727570/gulimall | /gulimall-pms/src/main/java/com/atguigu/gulimall/pms/service/AttrGroupService.java | UTF-8 | 930 | 1.78125 | 2 | [
"Apache-2.0"
] | permissive | package com.atguigu.gulimall.pms.service;
import com.atguigu.gulimall.pms.vo.AttrGroupWithAttrsVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.gulimall.pms.entity.AttrGroupEntity;
import com.atguigu.gulimall.commons.bean.PageVo;
import com.atguigu.gulimall.commons.bean.QueryCondition... | true |
9894158658815c1b9f3753a4d77f67c7b72a95a1 | Java | hapifhir/hapi-fhir | /hapi-fhir-jpaserver-test-r4/src/test/java/ca/uhn/fhir/jpa/dao/expunge/DeleteExpungeDaoTest.java | UTF-8 | 9,837 | 1.75 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | package ca.uhn.fhir.jpa.dao.expunge;
import ca.uhn.fhir.batch2.model.JobInstance;
import ca.uhn.fhir.batch2.model.StatusEnum;
import ca.uhn.fhir.i18n.Msg;
import ca.uhn.fhir.jpa.api.config.JpaStorageSettings;
import ca.uhn.fhir.jpa.api.model.DeleteMethodOutcome;
import ca.uhn.fhir.jpa.model.util.JpaConstants;
import c... | true |
b0c7cc4a7bc4e3c26257c52f97783f7c79eb02bc | Java | phillipbremer/Abstractions | /src/abstractions/Animal.java | UTF-8 | 589 | 2.828125 | 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 abstractions;
/**
*
* @author pbremer
*/
public class Animal extends LivingBeing {
public Animal(String L... | true |
5e2a8c711daade7b0b8b9012fda6b3542e48b8e7 | Java | lonelyShadow-Qiu/fastdfs-spring-boot | /fastdfs-spring-boot-starter/src/main/java/com/github/tobato/fastdfs/domain/upload/FastFile.java | UTF-8 | 2,831 | 2.609375 | 3 | [
"Apache-2.0"
] | permissive | package com.github.tobato.fastdfs.domain.upload;
import com.github.tobato.fastdfs.domain.fdfs.MetaData;
import java.io.InputStream;
import java.util.Collections;
import java.util.Set;
/**
* 上传普通文件
*
* @author tobato
* @create 2018-12-23 3:06 PM
*/
public class FastFile {
/**
* 输入流
*/
protect... | true |
2090fedd0e9d1515b07f6b877a867e671a6d2289 | Java | Pawanupadhyay10/Kurius-hack | /kuriuscode/CrwlerLogfolder.java | UTF-8 | 428 | 2.59375 | 3 | [
"BSD-2-Clause"
] | permissive | class Solution {
public int minOperations(String[] logs) {
Stack<String> stack = new Stack<String>();
for (String log : logs) {
if (log.equals("../")) {
if (stack.size() > 0)
stack.pop();
} else if (log.equals("./"))
;
... | true |
e6f810df179045236bb61f2c5433b6593b949283 | Java | aivarasdz/dbviewer | /src/main/java/com/aivaras/dbviewer/exception/ConfigurationException.java | UTF-8 | 220 | 2.015625 | 2 | [] | no_license | package com.aivaras.dbviewer.exception;
public class ConfigurationException extends RuntimeException {
public ConfigurationException(String message, Throwable throwable) {
super(message, throwable);
}
}
| true |
b3f7fbcf94a8e0a32eda3897966ec94256b39566 | Java | dlsyaim/javaweb | /sunyu-toolkit-mybatis-generator/src/test/java/com/ks/monitor/mapper/ExtendedProceduresMapper.java | UTF-8 | 221 | 1.671875 | 2 | [] | no_license | package com.ks.monitor.mapper;
import com.ks.monitor.pojo.ExtendedProcedures;
public interface ExtendedProceduresMapper {
int insert(ExtendedProcedures record);
int insertSelective(ExtendedProcedures record);
} | true |
aecb8454240143c1efc1d8995c1b7f8313cc53ef | Java | Froggiesan/InmoSA | /src/clases_usuarios/Jefe.java | UTF-8 | 1,354 | 2.234375 | 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 clases_usuarios;
import java.util.Date;
public class Jefe extends Usuario {
private final int id_jefe;
private int ve... | true |
3aea010ab4c83b1ae76279cfdd307acd92ecf18f | Java | KramerIT/baraholka | /data/src/main/java/com/kramar/data/service/AdvertScheduler.java | UTF-8 | 1,545 | 2.015625 | 2 | [] | no_license | package com.kramar.data.service;
import com.kramar.data.dbo.AdvertDbo;
import com.kramar.data.profiling.Profiling;
import com.kramar.data.repository.AdvertRepository;
import com.kramar.data.type.AdvertStatus;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotatio... | true |
bb4647f176a2ea0c554aa35033eedc5ccfb4b556 | Java | bsaunder/cs414-assignment2-5 | /cs414-as5-server/src/main/java/cs414/as5/btsaunde/garagesystem/DataLoader.java | UTF-8 | 3,468 | 2.921875 | 3 | [] | no_license | package cs414.as5.btsaunde.garagesystem;
import java.rmi.RemoteException;
import java.util.Calendar;
import java.util.Random;
import cs414.as5.btsaunde.garagesystem.dao.EventDao;
import cs414.as5.btsaunde.garagesystem.dao.TicketDao;
import cs414.as5.btsaunde.garagesystem.enums.PaymentType;
import cs414.as5.btsaunde.g... | true |
b43f7108e60e5255d0976aa6840203b26683b265 | Java | cliicy/kvm | /WebServer/AutoBuild/Build/Temp/linuximaging-webui/com/ca/arcserve/linuximaging/ui/client/restore/BackupServerSettings.java | UTF-8 | 12,276 | 1.796875 | 2 | [] | no_license | package com.ca.arcserve.linuximaging.ui.client.restore;
import com.ca.arcserve.linuximaging.ui.client.UIContext;
import com.ca.arcserve.linuximaging.ui.client.common.BaseAsyncCallback;
import com.ca.arcserve.linuximaging.ui.client.common.BaseComboBox;
import com.ca.arcserve.linuximaging.ui.client.common.Utils;
import... | true |
df761bcd1e0352cc20f2921e1a3491079ea20620 | Java | GSIL-Monitor/order | /src/main/java/com/emotte/order/order/model/OrderServerNeeds.java | UTF-8 | 4,336 | 2.171875 | 2 | [] | no_license | package com.emotte.order.order.model;
public class OrderServerNeeds {
private String startDate;
// 结束日期 yyyyMMdd格式 包含 : END_DATE
private String endDate;
// 开始时间 HHmmss格式 包含 : START_TIME
private String startTime;
// 结束时间 HHmmss格式 不包含 : END_TIME
private String endTime;
// 工作日,0为所有,1~7分别为周一到周日,逗号隔开 :... | true |
9d1ab8b17db7975f0f288a61d55390fd67554a01 | Java | motech-implementations/mots | /src/main/java/org/motechproject/mots/service/JasperReportsExportService.java | UTF-8 | 9,770 | 1.976563 | 2 | [
"Apache-2.0"
] | permissive | package org.motechproject.mots.service;
import static java.io.File.createTempFile;
import static org.apache.commons.io.FileUtils.writeByteArrayToFile;
import static org.motechproject.mots.constants.ReportingMessageConstants.ERROR_JASPER_FILE_CREATION;
import static org.motechproject.mots.constants.ReportingMessageCons... | true |
a34f3cfeb672b6488f69499099a6880bbfc27509 | Java | A-E-3/ae3.sdk | /java/ru/myx/ae3/eval/parse/TKO_ACALLV_BA_VS_S.java | UTF-8 | 2,947 | 1.921875 | 2 | [] | no_license | /*
* Created on 29.10.2003
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package ru.myx.ae3.eval.parse;
import ru.myx.ae3.eval.tokens.TokenInstruction;
import ru.myx.ae3.eval.tokens.TokenOperator;
import ru.myx.ae3.exec.InstructionResult;
i... | true |
24ae2c218db92ff15662f1760c9b58f335ebae1a | Java | daretodave/tab | /app/src/main/java/blue/dave/tab/TABConfigureCredentialsFragment.java | UTF-8 | 5,798 | 2.078125 | 2 | [] | no_license | package blue.dave.tab;
import android.app.Activity;
import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProviderInfo;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.v4.app.Fragment;
impor... | true |
45da43fcb9030ed21dd0945bce51551f5fedd4e6 | Java | selenium2015/selenium2 | /src/com/dataDrivingTest/TestLogin.java | UTF-8 | 968 | 2.09375 | 2 | [] | no_license | package com.dataDrivingTest;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeClass;
import org.... | true |
18103d6c8db2de42eb8d00f788ce2d24991ea343 | Java | thirpathi/newjavaproject | /src/com/actionsclasses/NavigateMethods.java | UTF-8 | 816 | 2.28125 | 2 | [] | no_license | package com.actionsclasses;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class NavigateMethods
{
public static void main(String[] args) throws InterruptedException
{
WebDriver driver = new FirefoxDriver();
// Navigat... | true |
2b74481ae713357f01d861b67287506156b29e55 | Java | youkiaaa/bbs- | /src/main/java/com/atyume/modules/system/service/impl/BbsServiceImpl.java | UTF-8 | 662 | 1.828125 | 2 | [
"Apache-2.0"
] | permissive | package com.atyume.modules.system.service.impl;
import com.atyume.modules.base.service.impl.BaseService;
import com.atyume.modules.system.mapper.BbsMapper;
import com.atyume.modules.system.po.Bbs;
import com.atyume.modules.system.service.BbsService;
import com.atyume.modules.system.vo.BbsVO;
import org.springframework... | true |
ca9de0a54ab2f49ec32a1d50990ca77337bfb93b | Java | Edison0716/MVPTemplate-master | /app/src/main/java/com/example/mac/mvptemplate/presenter/LogInPresenter.java | UTF-8 | 842 | 2.296875 | 2 | [] | no_license | package com.example.mac.mvptemplate.presenter;
import android.content.Context;
import com.example.mac.mvptemplate.ui.view.ILoginView;
import com.example.mac.mvptemplate.utils.PrefUtils;
/**
* Created by mac on 2017/1/8.
*/
public class LogInPresenter {
private Context mContext;
private ILoginView loginVi... | true |
4f81b663bd9866cce49fca3f2dfbcd42ee25da50 | Java | handbrake79/TradeOdata | /app/src/main/java/ru/sk42/tradeodata/Activities/Documents_List/DocList_Adapter.java | UTF-8 | 3,689 | 2.203125 | 2 | [] | no_license | package ru.sk42.tradeodata.Activities.Documents_List;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import jav... | true |
041d3f3889b20cfdabbb09436956c9bfb33632b3 | Java | vishalbairwa94/DataStructures-and-Algorithms | /src/main/java/PRACTICE/HackerRank/AppleAndOrange.java | UTF-8 | 1,269 | 3.65625 | 4 | [] | no_license | package PRACTICE.HackerRank;
import java.util.ArrayList;
import java.util.List;
public class AppleAndOrange {
public static void countApplesAndOranges(int s, int t, int a, int b, List<Integer> apples,List<Integer> oranges){
int appleCount = 0;
int orangeCount = 0;
List<Integer> appleDista... | true |
8807a4c2857a40c42fed556a4db491bca8dc296d | Java | thuantran29/DemoTravel | /app/src/main/java/com/trannguyentanthuan2903/demotravel/dto/ChuoiHinhDTO.java | UTF-8 | 957 | 1.992188 | 2 | [] | no_license | package com.trannguyentanthuan2903.demotravel.dto;
import java.util.List;
/**
* Created by Administrator on 6/16/2017.
*/
public class ChuoiHinhDTO {
public String Id;
public String Name;
public String Title;
public String Time;
public String Content;
public int ImageAvatar;
public List... | true |
7ae0965aec4e042a008810a8b2d04fe627e7a05f | Java | Rimsk1/homeWorks5-5 | /src/com/company/exam/DayIn.java | UTF-8 | 832 | 2.9375 | 3 | [] | no_license | package com.company.exam;
import java.time.LocalDateTime;
import java.time.LocalTime;
public class DayIn extends Abonement {
public DayIn(String name, String surname, int age) {
super(name, surname, age);
pool1= false;
gym1=true;
group1=true;
pool2 = false;
gym2 = t... | true |
8e0403928c841afa41d0088831c07d8230b34543 | Java | alexeymatveevp/atmayogabot | /src/test/java/com/alexeym/atmayoga/guessgame/TestGuessGame.java | UTF-8 | 2,594 | 2.453125 | 2 | [] | no_license | package com.alexeym.atmayoga.guessgame;
import com.alexeym.atmayoga.GlobalContext;
import com.alexeym.atmayoga.ScheduledTasksManager;
import com.alexeym.atmayoga.StickerConstants;
import com.alexeym.atmayoga.asanaguess.AsanaGuessGame;
import org.junit.Test;
/**
* @author Alexey Matveev on 18.06.2018
*/
public class... | true |
13a8111ef834ae9d8458b8628f35c38cf3da0ecc | Java | gitee2008/glaf | /src/main/java/com/glaf/matrix/data/util/DataItemFactory.java | UTF-8 | 2,371 | 1.914063 | 2 | [
"Apache-2.0"
] | permissive | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | true |