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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
91b901f9a18eeb61aa56a3df548ae5633070cfa2 | Java | ajvillav/ApiEmail | /src/main/java/com/emailapi/EmailApi/repository/EmailUserRepository.java | UTF-8 | 410 | 1.929688 | 2 | [] | no_license | package com.emailapi.EmailApi.repository;
import com.emailapi.EmailApi.model.EmailUser;
import com.emailapi.EmailApi.model.Person;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.UUID;
@Repository
public interface EmailUserRepository ex... | true |
665f9fd075549a45f2e552d93d28ac7163572f8b | Java | Aditya-Zutshi/opensha | /src/main/java/org/opensha/sha/gui/infoTools/IMT_Info_OLD.java | UTF-8 | 11,884 | 1.726563 | 2 | [
"Apache-2.0"
] | permissive | /*******************************************************************************
* Copyright 2009 OpenSHA.org in partnership with
* the Southern California Earthquake Center (SCEC, http://www.scec.org)
* at the University of Southern California and the UnitedStates Geological
* Survey (USGS; http://www.usgs.gov)
*... | true |
828d58861e68c339592c36e76e85eebea2b12f0e | Java | WindhoverLabs/ConfigurationRegistry | /src/com/myplugin/rmp/CFSPropertiesPage.java | UTF-8 | 6,401 | 2.234375 | 2 | [] | no_license | package com.myplugin.rmp;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.QualifiedName;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets... | true |
a3bb04549f2af65b408e18b4395aa853c35be6d1 | Java | Gleb000/parserTest | /src/main/java/by/parserTest/Main2.java | UTF-8 | 2,464 | 2.640625 | 3 | [] | no_license | package by.parserTest;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.openqa.selenium.TimeoutException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class Main2 {
public static void main(String[] args) {
S... | true |
51c89bc380bdfc441af80c016afa717e00925a79 | Java | achowdhury80/leetcode | /src/comp/prep2019/less1000/Prob382.java | UTF-8 | 676 | 3.21875 | 3 | [] | no_license | package comp.prep2019.less1000;
import java.util.Random;
import comp.prep2019.ListNode;
public class Prob382 {
private ListNode head;
private int len;
private Random random;
public Prob382(ListNode head) {
this.head = head;
random = new Random();
len = 1;
ListNode cur = head;
... | true |
9bff8c9c8ce4299fa01411b142839d181c88332f | Java | google-code/atlantida-market | /Atlantida/Server/Jucatori_online.java | UTF-8 | 2,348 | 2.609375 | 3 | [] | no_license | import java.sql.ResultSet;
import java.sql.Statement;
public class Jucatori_online extends BazaDeDate
{
public Jucatori_online(String numeBazaDate)
{
super(numeBazaDate);
}
public int inserareInregistrare(String numeUtilizator)
{
Statement decl = null;
try
{
decl = this.conn.create... | true |
17833eb65775de5902a742c2f505f6cdbc0cd590 | Java | Phalufa/petbook | /Server/src/main/java/com/miko/petbook/repositories/UserRepository.java | UTF-8 | 420 | 1.96875 | 2 | [] | no_license | package com.miko.petbook.repositories;
import java.util.Optional;
import com.miko.petbook.models.User;
import org.springframework.data.jpa.repository.JpaRepository;
public interface UserRepository extends JpaRepository<User, Long> {
boolean existsByEmail(String email);
boolean existsByUsername(String username... | true |
91a1cf7117b4e4cbaa2f532f04b86cd11106f8de | Java | VicenteqsDam/T2Grupo1 | /src/main/java/es/fempa/citas/domain/AmistadPk.java | UTF-8 | 336 | 1.632813 | 2 | [] | no_license | package es.fempa.citas.domain;
import java.io.Serializable;
import javax.persistence.Embeddable;
import javax.persistence.ManyToOne;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
@Embeddable
public class AmistadPk implements Serializable {
@ManyToOne
private Usuario usuario;
@ManyToOne
private Us... | true |
005fbf22315d601702bc59bd97be2922188c4eb7 | Java | podojuice/algorithm | /javaalgo/src/bj5430.java | UTF-8 | 1,673 | 2.8125 | 3 | [] | no_license | import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.StringTokenizer;
public class bj5430 {
static char[] def;
static int[] list;
static boolean R;
static boolean err;
public static void main(String[] args) throw... | true |
025f108d3bdf02000eceb4908088c352fef923ba | Java | LucasDiasRodrigues/AppJobs | /app/src/main/java/com/teamappjobs/appjobs/fragment/MinhasVitrinesFragment.java | UTF-8 | 3,512 | 2.21875 | 2 | [] | no_license | package com.teamappjobs.appjobs.fragment;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.LinearL... | true |
d153b0860b2140b8ef111f7bf277c515f5fbd09e | Java | abrahamkang/Coordinatorlayoutdemo | /app/src/main/java/com/example/administrator/coordinatorlayoutdemo/bean/BaseBean.java | UTF-8 | 1,171 | 2.171875 | 2 | [] | no_license | /*
* File Name:BaseBean.java
* Copyright:Copyright 2008-2015 CiWong.Inc. All Rights Reserved.
* Description: BaseBean.java
* Modify By:bin
* Modify Date:2015年4月23日
* Modify Type:Add
*/
package com.example.administrator.coordinatorlayoutdemo.bean;
import java.io.Serializable;
import java.lang.reflect.Parameteriz... | true |
7a3820d0efda5e7c0026f0e6b4eb7c72d2446448 | Java | IvyZh/AgentBible_lj | /AgentBible/app/src/main/java/cn/com/gxdgroup/angentbible/holder/impl/details/HouseIntroHolder.java | UTF-8 | 1,682 | 2.203125 | 2 | [] | no_license | package cn.com.gxdgroup.angentbible.holder.impl.details;
import android.support.v4.app.FragmentActivity;
import android.view.View;
import android.widget.ImageButton;
import android.widget.TextView;
import com.ms.square.android.expandabletextview.ExpandableTextView;
import butterknife.BindView;
import butte... | true |
5f6db59b5f1c6cea487c8afb07ce8160f74c81e9 | Java | AShynkevich/Exampler | /src/main/java/by/shynkevich/math/example/generator/action/ActionFactory.java | UTF-8 | 1,544 | 2.5625 | 3 | [] | no_license | package by.shynkevich.math.example.generator.action;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Resource;
import by.shynkevich.math.example.domain.Operator;
import by.shynkevich.math.example.exception.NoOperationException;
import org.springframework.stereotype.Component;
/**
* Math acti... | true |
e0cae69b4fd969f3e4849ab8804a6668cc787c96 | Java | Matsv/java-two-factor-auth | /src/test/java/com/j256/totp/TwoFactorAuthUtilTest.java | UTF-8 | 3,267 | 2.859375 | 3 | [
"ISC"
] | permissive | package com.j256.totp;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import java.security.GeneralSecurityException;
import java.util.Random;
import org.apache.commons.codec.binary.Base32;
import org.junit.Test;
/**
* Little test program to show how to use the TwoFac... | true |
6afd0ef41400020dd61ca21f26f26850227171bf | Java | Megabytte/PongClone | /Pong/src/me/Megabytte/Game/LoadTexture.java | UTF-8 | 645 | 2.59375 | 3 | [] | no_license | package me.Megabytte.Game;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import org.newdawn.slick.opengl.Texture;
import org.newdawn.slick.opengl.TextureLoader;
public class LoadTexture
{
Texture texture;
public LoadTexture()
{
}
... | true |
3794c8bc3ce29376c8aa57a25222238680a5d85c | Java | YouwangDeng/Leetcode | /BFS/0854-K-Similar Strings.java | UTF-8 | 1,054 | 3.359375 | 3 | [] | no_license | //Solution 1 BFS solution guarantee the min result
class Solution {
public int kSimilarity(String A, String B) {
if (A.equals(B)) return 0;
Set<String> vis= new HashSet<>();
Queue<String> q= new LinkedList<>();
q.add(A);
vis.add(A);
int res=0;
while(!q.isEmpty... | true |
c8f23b013567a1e5fc9665cae277645335f84f16 | Java | TihiyTi/HeartLive | /CommunicationSerial/src/test/java/com/tihiy/comm/serial/SignalManager.java | UTF-8 | 565 | 2.265625 | 2 | [] | no_license | package com.tihiy.comm.serial;
import com.tihiy.comm.serial.protocols.Protocol;
import com.tihiy.rclint.control.Controller;
import com.tihiy.rclint.models.SignalModel;
public class SignalManager extends AbstractSignalManager<Integer> {
Controller cn;
public SignalManager(Controller cn) {
this.cn = cn... | true |
34b1efb86e6cb4fbec0b61354462a7bef2376136 | Java | jelinski/kodbot | /src/main/java/pl/jellysoft/kodbot/resolver/evaluator/command/AssignCommand.java | UTF-8 | 325 | 2.203125 | 2 | [] | no_license | package pl.jellysoft.kodbot.resolver.evaluator.command;
import lombok.Value;
@Value
public class AssignCommand implements Command {
private final String leftOperand;
private final String rightOperand;
@Override
public <R> R accept(CommandVisitor<R> visitor) {
return visitor.visit(this);
... | true |
12c0b6d9a88ac231eaeb0bc18c32b5641ea60c78 | Java | TreyM-WSS/m2x-android | /app/src/main/java/com/att/m2x/android/model/Location.java | UTF-8 | 3,858 | 2.6875 | 3 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | package com.att.m2x.android.model;
import com.att.m2x.android.utils.DateUtils;
import org.json.JSONException;
import org.json.JSONObject;
import java.text.ParseException;
import java.util.Date;
/**
* Model Object represents a {@see <a href="https://m2x.att.com/developer/documentation/v2/device#Read-Device-Location... | true |
c55667c9db6072ee3e48da01cdc4cbb1ed3ac897 | Java | N1ghtStalk3r/clothesShop | /src/main/java/clothesShop/model/Order.java | UTF-8 | 1,856 | 3.140625 | 3 | [] | no_license | package clothesShop.model;
import java.util.Arrays;
import java.util.Objects;
/**
* Класс заказов (покупок)
*
* @author Ozzy on 12-08-21.
*/
public class Order {
private final int id;
private final int customerId;
private final int employeeId;
private int[] clothes;
/**
* @param id ... | true |
9f3958e77754766f232b6d8e1b6541799054abaa | Java | kojoYeboah53i/expo | /android/versioned-abis/expoview-abi37_0_0/src/main/java/abi37_0_0/expo/modules/barcodescanner/BarCodeScannerModule.java | UTF-8 | 5,012 | 1.78125 | 2 | [
"MIT",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | package abi37_0_0.expo.modules.barcodescanner;
import android.Manifest;
import android.content.Context;
import android.graphics.Bitmap;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.vision.barcode.Barcode;
import java.util.ArrayList;
... | true |
da25d2d32dccfb9a720472a579455d092587117f | Java | joaorodrigues2012/ccp3an_mca_app_previsoes | /src/main/java/br/usjt/previsao_tempo/repository/PeriodosRepository.java | UTF-8 | 2,035 | 2.21875 | 2 | [] | no_license | package br.usjt.previsao_tempo.repository;
import br.usjt.previsao_tempo.model.Cidade;
import br.usjt.previsao_tempo.model.Periodo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.spri... | true |
91eb2932e8bbf69a156c61befc36c8d0923461e1 | Java | MasannatSandra/CS-3560-Mini-Twitter | /UserGroupVisitor.java | UTF-8 | 244 | 1.90625 | 2 | [] | no_license |
package twitterdriver;
//Inferface for all the 4 children visitor classes in visitor patterns
public interface UserGroupVisitor {
public void visitUser(UserLeaf user);
public void visitGroup(GroupContainer group);
}
| true |
340a8294286d05e5c0e27dd234d44928d3f4b632 | Java | miternos/streamsets-signalr-origin | /src/main/java/com/miternos/streamset/stage/util/ResourceCache.java | UTF-8 | 620 | 2.359375 | 2 | [] | no_license | package com.miternos.streamset.stage.util;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
public class ResourceCache {
private static ResourceCache instance;
private static Map<String,Map<String,Object>> resources;
private ResourceCache(){
resources = new ConcurrentHashMa... | true |
09c9a99d020f82627c2d4c62133df3dd749b8fc4 | Java | step-artur87/sinlinChart | /src/main/java/util/UtMap.java | UTF-8 | 2,876 | 3.046875 | 3 | [] | no_license | package util;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.OptionalInt;
import java.util.stream.IntStream;
/**
* Created with IntelliJ IDEA.
* User: art
* Date: 9/13/15
* Time: 2:26 AM
* To change this template use File | Settings | File Templates.
*/
public class... | true |
624016dc0e5618cdef85dd47103780c8b083ae60 | Java | manugildev/modular-cubes-app | /app/src/main/java/com/manugildev/modularcubes/WifiFragment.java | UTF-8 | 3,997 | 2.015625 | 2 | [] | no_license | package com.manugildev.modularcubes;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.NetworkInfo;
import android.net.wifi.WifiConfiguration;
import android.net.wifi.WifiInfo;
import android.net.wifi.WifiMan... | true |
59242e29b38694f7b7b139d640101d09707fac8b | Java | ylsn19821104/hunter | /hunter-core/src/main/java/com/sina/amp/trace/hunter/MixSpanCollector.java | UTF-8 | 1,159 | 2.21875 | 2 | [] | no_license | package com.sina.amp.trace.hunter;
import com.github.kristofa.brave.LoggingSpanCollector;
import com.github.kristofa.brave.SpanCollector;
import com.github.kristofa.brave.zipkin.ZipkinSpanCollector;
import com.github.kristofa.brave.zipkin.ZipkinSpanCollectorParams;
import com.sina.amp.trace.hunter.collector.ZipkinSpan... | true |
679fe0b79f6fa5fb08fc2d9737f62dc3af693798 | Java | Pseudonym96/Portfolio | /SpaceInvaders/src/SpaceInvaders/HighScoresScreen.java | UTF-8 | 6,985 | 3.25 | 3 | [] | no_license | package SpaceInvaders;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.EOFException;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import j... | true |
8f24546cbf2033c59e2d3e97e451ea150dd7cf74 | Java | TheShermanTanker/NMS-1.16.3 | /org/bukkit/event/inventory/CraftItemEvent.java | UTF-8 | 1,616 | 2.078125 | 2 | [] | no_license | /* */ package org.bukkit.event.inventory;
/* */
/* */ import org.bukkit.inventory.CraftingInventory;
/* */ import org.bukkit.inventory.Inventory;
/* */ import org.bukkit.inventory.InventoryView;
/* */ import org.bukkit.inventory.Recipe;
/* */ import org.jetbrains.annotations.NotNull;
/* */
/* ... | true |
befd4ce203527b9725bbc8f5c78960e62f54bb2c | Java | biasj/perifarte | /src/main/java/br/senac/sp/tads/pi3/antes/tads/perifarte/modelos/Doacao.java | UTF-8 | 2,297 | 2.46875 | 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 br.senac.sp.tads.pi3.antes.tads.perifarte.modelos;
import java.math.BigDecimal;
import java.time.Instant;
import java.time.Loc... | true |
069eb67cb3b69534e336966d97a46f4c8622ffb1 | Java | mattfrancis888/Airbnb | /app/src/main/java/com/example/toshiba/airbnb/Profile/BecomeAHost/SetTheScene/DescribePlaceFragment.java | UTF-8 | 7,535 | 1.929688 | 2 | [] | no_license | package com.example.toshiba.airbnb.Profile.BecomeAHost.SetTheScene;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
i... | true |
345b4646a3225ee7f57d5ee21b9ec098681e6cd1 | Java | LegacyofAden/emu-ungp | /gameserver/src/main/java/org/l2junity/gameserver/network/packets/s2c/string/CustomMessage.java | UTF-8 | 3,081 | 2.421875 | 2 | [] | no_license | package org.l2junity.gameserver.network.packets.s2c.string;
import org.l2junity.gameserver.model.Language;
import org.l2junity.gameserver.model.actor.instance.Player;
import org.l2junity.gameserver.network.packets.s2c.SystemMessage;
import java.util.HashMap;
import java.util.Map;
import java.util.stream.Stream;
/**
... | true |
8fce8fed548d94c7bb6731430208879f7fc0bba8 | Java | siyoon210/spring-framework | /fastcampus/clonekrone/src/main/java/project/shoppingmall/clonekrone/domain/ProductOption.java | UTF-8 | 395 | 2.046875 | 2 | [] | no_license | package project.shoppingmall.clonekrone.domain;
import lombok.*;
import javax.persistence.*;
@Entity
@Table(name = "product_option")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProductOption {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@Column(length = 100,... | true |
fc932de393ceae5aec62e83e980b0df521a0b951 | Java | lT1161558158/shipper-core | /src/main/java/top/trister/shipper/core/implHandler/codec/SimpleCodec.java | UTF-8 | 1,220 | 2.640625 | 3 | [] | no_license | package top.trister.shipper.core.implHandler.codec;
import lombok.Data;
import top.trister.shipper.core.api.handler.codec.Codec;
import java.util.HashMap;
import java.util.Map;
import static top.trister.shipper.core.event.Event.MESSAGE;
/**
* 添加一个时间filed发编码器
* 使用 format 变量进行时间格式化
* 若使用了错误的格式化则会使用默认的format yyyy-M... | true |
e1f4c2cdc3e0921262bdc2f4f314c3e2070dd931 | Java | FarhanaPractice/Homework3 | /src/Inheritance/Banana.java | UTF-8 | 142 | 1.921875 | 2 | [] | no_license | package Inheritance;
public class Banana extends WomensDress {
public void bullshit() {
System.out.println("shut up Rashed bhaia");
}
}
| true |
4d9537fcefeb9b394be967c74b89a12ea23e9687 | Java | datree-demo/bcserver_demo | /cosmetic-core/src/main/java/com/cyberlink/cosmetic/hibernate/id/UserIdGenerator.java | UTF-8 | 1,030 | 2.265625 | 2 | [
"Apache-2.0"
] | permissive | package com.cyberlink.cosmetic.hibernate.id;
import java.io.Serializable;
import org.hibernate.HibernateException;
import org.hibernate.engine.spi.SessionImplementor;
import com.cyberlink.cosmetic.Constants;
import com.cyberlink.core.model.AbstractCoreEntity;
public class UserIdGenerator extends MillisecValueGenera... | true |
9c96aa262975a58d9b1ac26e1874067d75398ab2 | Java | yinon115/finalProject | /src/View/GraphicalUI.java | UTF-8 | 373 | 2.328125 | 2 | [] | no_license | package View;
import javax.swing.*;
import java.util.Scanner;
public class GraphicalUI {
private transient Scanner s = new Scanner(System.in);
public void showMessege (String st){
JOptionPane.showMessageDialog(null,st);
}
public void showError (String st){
JOptionPane.showMessageDialog(... | true |
d422871b4502b843f2dfad84641b2997b0d7ebae | Java | rholtzjr/eve_j2ee | /EVE_JPA/src/org/holtz/eve/jpa/entity/TRfreportFieldDefaultsId.java | UTF-8 | 17,605 | 1.75 | 2 | [] | no_license | package org.holtz.eve.jpa.entity;
// Generated Aug 4, 2017 9:16:24 AM by Hibernate Tools 4.0.1.Final
import javax.persistence.Column;
import javax.persistence.Embeddable;
/**
* TRfreportFieldDefaultsId generated by hbm2java
*/
@Embeddable
public class TRfreportFieldDefaultsId implements java.io.Serializab... | true |
24bf30bd7f17d7320d7f501ee2708a84da8b1aa6 | Java | KaranKanojiya/jbpm | /jbpm-runtime-manager/src/main/java/org/jbpm/runtime/manager/impl/lock/DebugRuntimeManagerLock.java | UTF-8 | 3,326 | 2.421875 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2020 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | true |
8bf5b4a72172fc4e837622d04e9e0af5340b1fd8 | Java | meraihan/gemini | /gemini-auth/src/main/java/it/at7/gemini/auth/core/OAuthClientRef.java | UTF-8 | 219 | 1.8125 | 2 | [
"Apache-2.0"
] | permissive | package it.at7.gemini.auth.core;
public interface OAuthClientRef {
String NAME = "OAUTHCLIENT";
interface FIELDS {
String CLIENT_ID = "clientId";
String CLIENT_SECRET = "clientSecret";
}
}
| true |
7c4bf6fc8af47135b29e14088580fa5494ae62cd | Java | LyakhnitskiyDP/BrightStream | /src/main/java/com/lod/brightstream/controller/taskControllers/DownloadTasksXLSXServlet.java | UTF-8 | 3,234 | 2.375 | 2 | [] | no_license | package com.lod.brightstream.controller.taskControllers;
import com.lod.brightstream.BE.Task;
import com.lod.brightstream.BE.User;
import com.lod.brightstream.DAL.TaskDA;
import com.lod.brightstream.DAL.impl.TaskDAMySQL;
import java.io.IOException;
import java.io.OutputStream;
import java.util.List;
import javax.servl... | true |
744abc7c4043cfab88979230f5352225c7472937 | Java | zhang123w/OO | /microserver-1/src/main/java/com/pktech/controller/UserController.java | UTF-8 | 1,150 | 2.40625 | 2 | [] | no_license | package com.pktech.controller;
import java.util.HashMap;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.Requ... | true |
9dd6eb888733b3535130d443a04ef0db3578f2c6 | Java | RegularPrincess/Score-Counter | /app/src/main/java/com/example/jmfedorov/countergame/utils/SpeechResultProcessor.java | UTF-8 | 2,141 | 3.03125 | 3 | [] | no_license | package com.example.jmfedorov.countergame.utils;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Created by jmfedorov on 07.12.17.
*/
public class SpeechResultProcessor {
public static final int NIL = 0;
public static final int RED = 2;
public static final int BLUE = 1;
static... | true |
a3189f29a2167a2ab3b64777a5f108d4e663c86b | Java | Fernando-Mota/agendafeliz | /app/src/main/java/br/com/halph/agendafeliz/formulariocontatos/FormularioContatoFragment.java | UTF-8 | 3,336 | 2.109375 | 2 | [] | no_license | package br.com.halph.agendafeliz.formulariocontatos;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view... | true |
706a230e3b109cf29a847adf9985c5de0aecc3d3 | Java | christiandeange/Marathon | /marathon/src/main/java/com/deange/marathonapp/billing/AdDelegate.java | UTF-8 | 1,081 | 2.359375 | 2 | [
"Apache-2.0"
] | permissive | package com.deange.marathonapp.billing;
import com.google.android.gms.ads.AdListener;
public class AdDelegate<T> extends AdListener {
private Listener<T> mListener;
private T mToken;
public AdDelegate(final Listener<T> listener, final T token) {
mListener = listener;
mToken = token;
... | true |
300c774954fed4581c357f9f390bf8bcdb1ec5ee | Java | LightAndLight/little-language-interpreter | /src/main/java/interpreter/Interpreter.java | UTF-8 | 803 | 3.21875 | 3 | [] | no_license | package interpreter;
import java.util.Scanner;
public class Interpreter {
public static void main(String[] args) {
Lexer lexer = new Lexer();
Parser parser = new Parser();
Scanner scanner = new Scanner(System.in);
String input;
while (true) {
System.out.print("... | true |
34c2486433d11b89c1784e293496e2bd2293cd3b | Java | weant/Tools | /hcop-ptn/src/main/java/com/hcop/ptn/service/NeService.java | UTF-8 | 2,791 | 2.328125 | 2 | [] | no_license | package com.hcop.ptn.service;
import com.hcop.ptn.common.db.dao.NeDao;
import com.hcop.ptn.common.enums.DummyNeType_PKT;
import com.hcop.ptn.common.exception.ServiceException;
import com.hcop.ptn.common.utils.CollectionUtils;
import com.hcop.ptn.restful.model.NE;
import com.hcop.ptn.restful.model.NECommunicationState;... | true |
7fd3f1dac5ef0a7f22b260d78e60afe218e7b752 | Java | bruneeeem/FTSOLUTIONTICKET | /FT/src/main/java/br/com/ftsolution/model/Tickets.java | UTF-8 | 2,231 | 2.265625 | 2 | [
"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 br.com.ftsolution.model;
import java.sql.Date;
/**
*
* @author Bruno
*/
public class Tickets {
pri... | true |
f88c44e9f56826414f249e128b65f4fa32a68866 | Java | Rumenpakov/personal-spring-angular-project | /library-application/src/test/java/eu/deltasource/library/controllers/BookControllerTest.java | UTF-8 | 4,598 | 2.625 | 3 | [] | no_license | package eu.deltasource.library.controllers;
import eu.deltasource.library.entities.EBookInfo;
import eu.deltasource.library.entities.PaperBookInfo;
import eu.deltasource.library.exceptions.IllegalInputException;
import eu.deltasource.library.repositories.BookRepository;
import eu.deltasource.library.util.BookFactory;
... | true |
c854074d90fa8097ee74a737653c1f9e841b4ce7 | Java | zhouziwen/MY_DDW | /app/src/main/java/com/example/bbacr/ddw/home/view/ComputerFragment.java | UTF-8 | 827 | 1.945313 | 2 | [] | no_license | package com.example.bbacr.ddw.home.view;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.example.bbacr.ddw.R;
import com.example.bbacr.ddw.base.BaseFragment;
/**
* A simple {@link Fragment} sub... | true |
5fc007bbb7c07a8d39fac0894056b8a0b2051e46 | Java | abdul-wahid789/Hospital-Mangement-System | /src/main/DoctorPanelUpdate.java | UTF-8 | 38,562 | 2.15625 | 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 main;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JOptionPane;
/**
*
* @author Parvez
*/
public ... | true |
9097fcee01d7273e9508f3094976441dbf1e2c89 | Java | ftcaicai/KaPai | /CodeProject/Server/ProjectCardServer/src/com/phoenixli/common/messageQueue/ServerMessageQueue.java | UTF-8 | 521 | 2.09375 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.phoenixli.common.messageQueue;
import com.phoenixli.common.message.serverMessage.Message;
import java.util.concurrent.LinkedTransferQueue;
/**
*
* @author phoenix
*/
public class ServerMessageQueue {
... | true |
59a3c43abaa1cb4c115981560d15b5ee5b2a17d9 | Java | qgzang/CompressionParser | /src/main/java/CompressionParser.java | UTF-8 | 6,155 | 2.46875 | 2 | [] | no_license | import java.io.*;
import java.util.List;
/**
* @author Sheng Li
* Created on 14/12/8.
*/
public class CompressionParser {
public CompressionPipe pipe;
public CompressionDecoder decoder;
public Parameters para;
public int numIters;
public int k_best;
public String trainForest;
pri... | true |
e3d4296bd5c6e9a7aeda719c944176083cbe3667 | Java | bellmit/yuyingzhijia | /src/main/java/javacommon/util/excel/ExcelUtils.java | UTF-8 | 5,019 | 2.84375 | 3 | [] | no_license | package javacommon.util.excel;
import java.io.IOException;
import java.io.OutputStream;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.Vector;
import org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFDateUtil;
import org.apache.poi.hssf.use... | true |
f24f23c153cffe3f0e80fe2afb68fb25a479cf79 | Java | joao-lucas/Java-OO | /aulaOO20150908/src/aulaOO20150908/Teste.java | UTF-8 | 268 | 2.59375 | 3 | [] | no_license | package aulaOO20150908;
public class Teste {
public static void main(String[] args) {
Recipente r = new Recipente();
r.quantidade = 120;
r.armazenar(100);
System.out.println(r.quantidade);
System.out.println("Quantidade: " + r.ObterQuantida());
}
}
| true |
3b755713c068dfc38f9af39f126fbd06665c8106 | Java | cjorellana/ApiA2 | /app/src/main/java/gt/vidal/albacinema/PeliculaFragment.java | UTF-8 | 9,961 | 1.773438 | 2 | [] | no_license | package gt.vidal.albacinema;
import android.content.Context;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.TabLayout;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.suppor... | true |
848a403697e29ee933dd6e1a58fd4db4f5775eab | Java | W-David/JianHan | /app/src/main/java/com/example/jianhan/di/component/QueryComponent.java | UTF-8 | 493 | 1.789063 | 2 | [] | no_license | package com.example.jianhan.di.component;
import com.example.jianhan.di.module.ActivityModule;
import com.example.jianhan.di.module.QueryModule;
import com.example.jianhan.di.scope.PreActivity;
import com.example.jianhan.ui.activity.QueryActivity;
import dagger.Component;
@PreActivity
@Component(dependen... | true |
a423c7ee4836d1a41a7583c6217a11671bb66b23 | Java | radamp11/TheBomberman | /src/bmbremaster/tiles/players/Player.java | UTF-8 | 3,387 | 2.765625 | 3 | [] | no_license | package bmbremaster.tiles.players;
import java.awt.Graphics;
import bmbremaster.graphics.Assets;
import bmbremaster.server.Handler;
import bmbremaster.server.Msg;
import bmbremaster.tiles.Tiles;
import bmbremaster.tiles.blocks.Bomb;
public class Player extends Tiles{
public static final int PLAYER_SIZE_X = 56;
p... | true |
2b75c61139999f681adbd1e5486cae04792d3bed | Java | borysenkox/JavaEE_Hillel_IT-School | /maven task/module-domain/src/main/java/com/hillel/Domain.java | UTF-8 | 561 | 2.875 | 3 | [] | no_license | package com.hillel;
import com.hillel.entity.Car;
import com.hillel.entity.Employee;
public class Domain {
public static void main(String[] args) {
Employee employee = new Employee();
employee.setId(1);
employee.setFirstName("Sergey");
employee.setLastName("Borysenko");
C... | true |
775aa6b2ed592fb30e368974fdfce143eb78afae | Java | d1m0s23/VimeWorld-src | /net/xtrafrancyz/mods/pvp/PvPMod.java | UTF-8 | 1,083 | 1.976563 | 2 | [
"WTFPL"
] | permissive | package net.xtrafrancyz.mods.pvp;
import net.minecraft.client.Minecraft;
import net.xtrafrancyz.mods.pvp.gui.TEffectHudElement;
import net.xtrafrancyz.mods.texteria.Texteria;
import net.xtrafrancyz.mods.texteria.gui.GuiElementWrapper;
import net.xtrafrancyz.mods.texteria.gui.TexteriaGui;
import org.apache.logging.log4... | true |
2b6a780900526a6abb5b119654669bfdbc1ae9ce | Java | eloircorona/java-clustering | /src/clustering/algorithm/Cluster.java | UTF-8 | 1,226 | 3.421875 | 3 | [] | no_license | package clustering.algorithm;
import java.util.ArrayList;
/**
* Cluster
*/
public class Cluster {
private int index = 0;
private Centroid centroid;
private ArrayList< Datapoint > points;
public Cluster(int index) {
setIndex(index);
points = new ArrayList<>();
}
public void ... | true |
c92d8b97f804c2c5360ef655a0214d34fe23001e | Java | andre-geraldes/DSS-Trabalho | /src/Painel_Candidatura/Remover_Consultar_Candidatura.java | UTF-8 | 6,979 | 2.140625 | 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 Painel_Candidatura;
import javax.swing.JOptionPane;
/**
*
* @author Tiago Cunha
*/
public class Remover_Consultar_Candidat... | true |
840a169ecc86b7c18d65ec3b97b1a23445957c7f | Java | jphui/Maycraft | /Button.java | UTF-8 | 1,966 | 3.234375 | 3 | [] | no_license | import mayflower.*;
public class Button extends Actor
{
private Picture regular; //default image of button
private Picture hovered; //image that is set when mouse is on button
private Picture clicked; //image that is set when button is clicked
private Sound clickSound; //sound that is played when button... | true |
f8db49517c0b5a344ddf2437f9cc8c21041fecc4 | Java | TanerNonturner/TESTNG | /src/test/java/pages/DashboardPage.java | UTF-8 | 266 | 1.679688 | 2 | [] | no_license | package pages;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import utils.CommonMethods;
public class DashboardPage extends CommonMethods{
public WebElement OrangeHRMlogo = driver.findElement(By.xpath("//img[@alt='OrangeHRM']"));
}
| true |
990b64b90254c6fa7a70f1b0b143041755a081df | Java | wangqiang6071/authorizecode | /src/test/java/com/zelu/authorizecode/AuthorizecodeApplicationTests.java | UTF-8 | 3,942 | 2.03125 | 2 | [] | no_license | package com.zelu.authorizecode;
import com.zelu.authorizecode.dao.AuthortySystemCodeMapper;
import com.zelu.authorizecode.entity.AuthortySystemCode;
import com.zelu.authorizecode.utils.Rquest.RestTemplateUtils;
import com.zelu.authorizecode.utils.Rquest.entity.plugsList.ReturnPlugsListResult;
import com.zelu.authorize... | true |
10e9f357de4e612bd69329cb6a90037916f95b92 | Java | mins1031/spring-boot-jpa-mysql-minair | /src/main/java/com/minair/minair/repository/AirlineSearchRepositoryImpl.java | UTF-8 | 1,173 | 2.375 | 2 | [] | no_license | package com.minair.minair.repository;
import com.minair.minair.domain.Airline;
import com.minair.minair.domain.dto.airline.AirlineSearchDto;
import com.querydsl.jpa.impl.JPAQueryFactory;
import javax.persistence.EntityManager;
import java.util.List;
import static com.minair.minair.domain.QAirline.airline;
public cl... | true |
13de64a1c32d4cedcd2ff1d9fbc0856d8dbda821 | Java | hmcts/ccpay-payment-app | /api/src/test/java/uk/gov/hmcts/payment/api/componenttests/RemissionDbBackdoor.java | UTF-8 | 913 | 2.015625 | 2 | [] | no_license | package uk.gov.hmcts.payment.api.componenttests;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import uk.gov.hmcts.payment.api.dto.RemissionRequest;
import uk.gov.hmcts.payment.api.model.Remission;
import uk.gov.hmcts.payment.api.model.RemissionReposito... | true |
b52c5b1fea68a9a55dc7de7256c171943d58a306 | Java | Cing-self/PlaneWar | /src/com/Background.java | UTF-8 | 644 | 3.125 | 3 | [] | no_license | package com;
import javax.swing.*;
public class Background {
//图片(路径)起始坐标x,y,宽度、高度
private int x;
private int y;
private ImageIcon backgroundIcon = new ImageIcon("image/bg.jpg");
//构造方法
public Background(int x, int y){
this.x = x;
this.y = y;
}
public int getX() {
... | true |
330c4153d0b4f219fceebe55b2392d4ec2bd029e | Java | socratillos/corpus_parser | /src/java/com/socrates/corpus/parser/model/Sentence.java | UTF-8 | 1,084 | 3.28125 | 3 | [] | no_license | package com.socrates.corpus.parser.model;
import java.util.ArrayList;
import java.util.List;
public class Sentence {
public Sentence() {
words = new ArrayList<>();
}
private List<Word> words;
public void addWord(Word word) {
words.add(word);
}
public List<Word> getWords() {
return this.words;
}
... | true |
6528e379d954c2ef986761775848cd56e5572d33 | Java | Zeroh729/BlueBoothFairy | /Mobile/BlueBoothFairy_Buyer/app/src/main/java/android/zeroh729/com/blueboothfairy/buyers/presenters/base/BasePresenter.java | UTF-8 | 237 | 1.835938 | 2 | [] | no_license | package android.zeroh729.com.blueboothfairy.buyers.presenters.base;
public interface BasePresenter {
void updateState();
void setState(int state);
interface SystemInterface{
}
interface ScreenInterface{
}
}
| true |
dba3fe93d004db21a2d62d13f50db8125db5d1db | Java | expo/expo | /android/vendored/sdk48/react-native-svg/android/src/main/java/abi48_0_0/com/horcrux/svg/SVGLength.java | UTF-8 | 3,854 | 2.90625 | 3 | [
"MIT",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | package abi48_0_0.com.horcrux.svg;
import abi48_0_0.com.facebook.react.bridge.Dynamic;
import abi48_0_0.com.facebook.react.bridge.ReadableArray;
import java.util.ArrayList;
class SVGLength {
// https://www.w3.org/TR/SVG/types.html#InterfaceSVGLength
public enum UnitType {
UNKNOWN,
NUMBER,
PERCENTAGE,
... | true |
7978f73d00bc2cf81d8b7328342f6ab51b860675 | Java | GreatDiscovery/ecs-app | /ecs-util/src/test/java/com/gavin/app/proxy/ClassModifier.java | UTF-8 | 938 | 2.578125 | 3 | [] | no_license | package com.gavin.app.proxy;
/**
* 修改Class文件,只提供修改常量池功能
*
* @author gavin
* @date 2020/11/8 9:20 下午
*/
public class ClassModifier {
/**
* 常量池的起始偏移
*/
public static final int CONSTANT_POOL_COUNT_INDEX = 8;
/**
* utf8_info的tag标志
*/
public static final int CONSTANT_UTF8_INFO = 1;
... | true |
296207e5f9011bf861c9ee9f751f6824ee28ecdf | Java | wwjiang007/yugabyte-db | /managed/src/main/java/com/yugabyte/yw/controllers/PlatformInstanceController.java | UTF-8 | 7,755 | 1.921875 | 2 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"OpenSSL"
] | permissive | /*
* Copyright 2021 YugaByte, Inc. and Contributors
*
* Licensed under the Polyform Free Trial License 1.0.0 (the "License"); you
* may not use this file except in compliance with the License. You
* may obtain a copy of the License at
*
* https://github.com/YugaByte/yugabyte-db/blob/master/licenses/POLYFORM-FREE... | true |
559b63c880369eac7585e936ab30e2a3bf1a0c87 | Java | jiangransoftdev/Leetcode | /158-Read-N-Characters-Given-Read4-II---Call-multiple-times/solution.java | UTF-8 | 889 | 3.265625 | 3 | [] | no_license | /* The read4 API is defined in the parent class Reader4.
int read4(char[] buf); */
public class Solution extends Reader4 {
/**
* @param buf Destination buffer
* @param n Maximum number of characters to read
* @return The number of characters read
*/
Queue<Character> q=new Linked... | true |
c3d17a44f9e091384c09efeb513a4eda14e04ae5 | Java | newcoder-zhang/SimpleCircleDotView | /circledotview/src/main/java/cn/ucai/www/circledotview/MainActivity.java | UTF-8 | 1,568 | 2.421875 | 2 | [] | no_license | package cn.ucai.www.circledotview;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
import an... | true |
b1c480e239a42f190e34e0061ed1f69b7c6c745c | Java | valfridosilva/java | /src/br/com/ideia/util/FabricaConexao.java | ISO-8859-1 | 826 | 2.578125 | 3 | [] | no_license | package br.com.ideia.util;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import org.apache.log4j.Logger;
/**
* Cria e fecha conexes com o BD
*
*/
public class FabricaConexao {
private static Logger logger = Logger.getLog... | true |
7ad71774f0dadd8182fa12ca085e2ad4432e212a | Java | worldbuilds/wb-cloud-project | /wb-cloud-auth-server/src/main/java/org/worldbuild/cloud/auth/modal/UserDTO.java | UTF-8 | 1,100 | 2.109375 | 2 | [] | no_license | package org.worldbuild.cloud.auth.modal;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.codec.binary.Base32;
import org.worldbuild.cloud.auth.JPA.entity.UserInfo;
@Data
@NoArgsConstructor
public class UserDTO {
Integer id;
String username;
String password;
String confi... | true |
9fcfdbd89a923f7b2783325dcfc95aa4e96a3780 | Java | young-hee/pc_mlb | /workspace/ncp_framework/src/main/java/com/plgrim/ncp/commons/features/PurchaseTotalAmountActivationStrategy.java | UTF-8 | 2,382 | 1.953125 | 2 | [] | no_license | package com.plgrim.ncp.commons.features;
import org.springframework.beans.factory.annotation.Autowired;
import org.togglz.core.activation.Parameter;
import org.togglz.core.activation.ParameterBuilder;
import org.togglz.core.repository.FeatureState;
import org.togglz.core.spi.ActivationStrategy;
import org.togglz.core.... | true |
73897d2e2200791d72c4cd8b4b2de414f6c92a41 | Java | cheemavi/PersonalMusicPlayer | /pmp/src/pmp/loopMHandler.java | UTF-8 | 988 | 2.40625 | 2 | [] | no_license | package pmp;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.media.Media;
import javafx.scene.media.MediaPlayer;
import javafx.util.Duration;
public class loopMHandler implements EventHandler<ActionEvent> {
SongEventHandler sE;
boolean isLoop=false;
Duration ... | true |
865406401d174546831e7a9fff5db9ec1f4ef1e7 | Java | mshashi/pkma-spring-core-training | /bean-post-processor-application/src/main/java/my/spring/main/MyBean.java | UTF-8 | 390 | 2.53125 | 3 | [] | no_license | package my.spring.main;
public class MyBean {
private String message;
public void setMessage(String message) {
this.message = message;
}
public void getMessage() {
System.out.println("Message : " + message);
}
public void init() {
System.out.println("In init methood.");
}
public vo... | true |
7bd057ce9da28396d56de837491301fd51b94e73 | Java | kelasov/Java2020-Lab3 | /src/human/Head.java | UTF-8 | 514 | 2.828125 | 3 | [] | no_license | package human;
public class Head {
private int length;
private int wide;
public int getLength() {
return length;
}
public void setLength(int length) {
this.length = length;
}
public int getWide() {
return wide;
}
public void setWide(int wide) {
th... | true |
8ce8d146b20775b4d1b586a24cc318217c807d43 | Java | Mittal-Shivam/DataEntry | /Student/src/student/PG.java | UTF-8 | 189 | 1.640625 | 2 | [] | no_license |
package student;
public class PG extends Student{
public float ResultPG;
public String Publications;
public String Book;
public String Paper;
public String Patent;
}
| true |
cb1382f06f9a3c9ad4288161ca38420024013edc | Java | Zheil/Simple-chat | /app/src/main/java/app/zheil/com/testchat2/DialogActivity.java | UTF-8 | 2,790 | 2.359375 | 2 | [] | no_license | package app.zheil.com.testchat2;
import android.content.Intent;
import android.graphics.Color;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import com.github.bassaer.chatmessageview.model.Message;
import com.github... | true |
83c1f83f0df3ccea42323b5ad949f8ffccdca7c2 | Java | sadekujjaman/DynamicProgramming | /Dynamic Programming/src/basic/LISVECTOR.java | UTF-8 | 913 | 3.15625 | 3 | [] | no_license | package basic;
import java.util.Collection;
import java.util.Vector;
public class LISVECTOR {
public static void main(String[] args) {
int[] array = {2, 6, 4, 5, 1,3 };
System.out.println("Data In");
calc_LIS(array);
}
static void calc_LIS(int nums[]) {
String paths[] = new String[nums.le... | true |
aaf160b79118ceeb07822543347e33cf67da13cc | Java | exactpro/sailfish-core | /BackEnd/Service/service-fast/src/main/java/com/exactpro/sf/services/fast/converter/FastToIMessageConverter.java | UTF-8 | 11,835 | 1.734375 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | /******************************************************************************
* Copyright 2009-2018 Exactpro (Exactpro Systems Limited)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | true |
c0e885b3d4bccf468c165d786197664896cfa2fc | Java | moutainhigh/QA_TA_MCS | /src/main/java/com/bill99/mcs/pageobject/.svn/text-base/MockCenterPage.java.svn-base | UTF-8 | 639 | 2.296875 | 2 | [] | no_license | package com.bill99.mcs.pageobject;
import org.openqa.selenium.WebDriver;
import org.testng.Reporter;
/**
* Description: 登录成功后的Mock页
* Author: zhenfeng.liu
* Date: 2017/10/11 20:09
*/
public class MockCenterPage {
private WebDriver driver;
public MockCenterPage(WebDriver driver) {
this.driver = dr... | true |
530073adf984347868b568c74ce2a3876584b92d | Java | MarlusVLC/MyGaemEngeine | /src/br/pucpr/Vector3.java | UTF-8 | 4,807 | 3.203125 | 3 | [] | no_license | package br.pucpr;
import java.util.Objects;
import static br.pucpr.Util.*;
public class Vector3 implements Cloneable {
public float x;
public float y;
public float z;
public Vector3() {
}
public Vector3(float x, float y, float z) {
this.x = x;
this.y = y;
this.z = z;... | true |
d379ff90a99ee015ad50e1bb2c7f5e111625d06d | Java | toysant/mariomakergame | /src/util/utility/EditModeSettingsMenuConfirmButton.java | UTF-8 | 1,756 | 2.484375 | 2 | [] | no_license | package util.utility;
import util.Button;
import util.Derivative;
import util.Elements;
import util.InfoPack;
import java.util.ArrayList;
import java.util.List;
public class EditModeSettingsMenuConfirmButton extends Button {
private int size;
List<Elements> linkedList=new ArrayList<Elements>();
... | true |
d725c1ac30afef12a748e0ef0f99704ea212733c | Java | alpapad/ahome-titanium | /ahome-titanium/src/com/ait/toolkit/titanium/mobile/client/ui/interfaces/HasInteractionHandler.java | UTF-8 | 15,533 | 1.9375 | 2 | [
"Apache-2.0"
] | permissive | /*
Copyright (c) 2014 Ahomé Innovation Technologies. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applic... | true |
9168a7fb4328f053f2ef806d6b8ad72854ca7d89 | Java | binteezyy/OOP-Cellphone | /src/cellphone/PanganibanACM_LiveExerCellphone.java | UTF-8 | 3,208 | 2.921875 | 3 | [] | no_license | package cellphone;
import javax.swing.JOptionPane;
public class PanganibanACM_LiveExerCellphone {
public static void main(String[] args) {
String number = "";
String error = "";
do {
number = (String) JOptionPane.showInputDialog(null, error + "Enter your number: ", "Cellphone", JOptionPane.DEFAULT_OPTION, null... | true |
c20fc0d7d0569e28c82ba29a17e8a2681a5a9745 | Java | darsh2311/Test | /Test/src/test/resources/logicalView/ReadWriteDataExcel.java | UTF-8 | 2,792 | 2.4375 | 2 | [] | no_license | package logicalView;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.xssf.usermodel.XSSFCell;
import org.apache.poi.xssf.usermodel.XSSFSheet;
import org.apache.poi.xssf.usermodel.... | true |
7b26aaa0bd25555a229aaf7ad3284298cad708bb | Java | yuris7/java_pft | /addressbook-web-tests/src/test/java/ua/stqa/pft/addressbook/tests/ContactCreationTests.java | UTF-8 | 716 | 2.15625 | 2 | [
"Apache-2.0"
] | permissive | package ua.stqa.pft.addressbook.tests;
import org.testng.Assert;
import org.testng.annotations.Test;
import ua.stqa.pft.addressbook.model.ContactData;
public class ContactCreationTests extends TestBase {
@Test
public void testContactCreation() {
app.getNavigationHelper().gotoHomePage();
int before = app.... | true |
59e8bbcd9b00758545637ecf0c7ba9c09412b89e | Java | alexcwyu/algotrader | /algotrader-provider/algotrader-provider-ib/src/main/java/com/unisoft/algotrader/provider/ib/OrderRecord.java | UTF-8 | 645 | 2.421875 | 2 | [] | no_license | package com.unisoft.algotrader.provider.ib;
import com.unisoft.algotrader.model.event.execution.Order;
/**
* Created by alex on 9/17/15.
*/
public class OrderRecord {
public Order order;
public double filledQty;
public double leaveQty;
public double avgPrice;
public OrderRecord(Order order){
... | true |
1d5db31cd970c5952c4f2c3d4b8dcc82f1a6e497 | Java | shadow-fire/cDHCP | /Source Code/src/DHCPServer.java | WINDOWS-1258 | 12,431 | 2.71875 | 3 | [] | no_license | import java.io.*;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.SocketException;
import java.net.UnknownHostException;
import java.util.Arrays;
import java.util.HashMap;
import java.util.LinkedList;
/**
* This class represents a C-DHCP server. ... | true |
28aaf4ce019b57f3afe8a0cdc2b7b53ecbceffd1 | Java | publicOlg/SolarimpactTelemety2 | /src/myConnectables/MyButton.java | UTF-8 | 2,812 | 2.65625 | 3 | [] | no_license | package myConnectables;
import application.Main;
import communication.Connectable;
import communication.InfoPaket;
import javafx.application.Platform;
import javafx.event.EventHandler;
import javafx.scene.control.Alert;
import javafx.scene.control.Button;
import javafx.scene.control.Tooltip;
import javafx.scene.input... | true |
81549f7852c09090baa7e1bf233ed764db62d838 | Java | luisrmac/services | /app/src/main/java/com/example/services/MyService.java | UTF-8 | 1,651 | 2.71875 | 3 | [] | no_license | package com.example.services;
import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
import android.util.Log;
import java.util.Random;
public class MyService extends Service {
private static final String TAG = "MyService_TAG";
private boolean flag = ... | true |
526578e76bbf257f644f0c4647144e5e031695ec | Java | tfaneye/rs_comp_repo | /RSAcceptanceTest/src/test/java/com/online/rs/uk/rs_testSteps/SearchForAnItemTestSteps.java | UTF-8 | 1,582 | 2.421875 | 2 | [] | no_license | package com.online.rs.uk.rs_testSteps;
import com.online.rs.uk.pages.HomePage;
import com.online.rs.uk.pages.SearchedItemDetailPage;
import com.online.rs.uk.support.WorldHelper;
import cucumber.api.DataTable;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import ... | true |
2eb2dbb1014efd4e4bcf0ffa3cb0669aeb14aa4a | Java | mkolisnyk/aerial | /aerial/src/main/java/com/github/mkolisnyk/aerial/core/AerialGlobalProperties.java | UTF-8 | 591 | 1.546875 | 2 | [
"Apache-2.0"
] | permissive | package com.github.mkolisnyk.aerial.core;
public interface AerialGlobalProperties {
String AERIAL_OUTPUT_FORMAT = "aerial.output.format";
String AERIAL_OUTPUT_CONFIG = "aerial.output.config";
String AERIAL_INPUT_FORMAT = "aerial.input.format";
String AERIAL_INPUT_CONFIG = "aerial.input.config";
St... | true |
73241a5e6aca61c0a65b993eb2219c5b4797a112 | Java | Bryan-Roy/Construccion_de_Software_1 | /src/semana08/pratico/paleta/RegistroAnimal.java | UTF-8 | 9,021 | 2.28125 | 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 semana08.pratico.paleta;
import javax.swing.JOptionPane;
/**
*
* @author BRYANROY
*/
public class RegistroAnimal extends j... | true |
ef7a9b40deee014a6784ede141d015dc08095685 | Java | Nia292/tw-statistics | /src/main/java/com/thrallwars/statistics/config/ServiceConfig.java | UTF-8 | 960 | 2.046875 | 2 | [] | no_license | package com.thrallwars.statistics.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpStatus;
import org.springframework.web.client.HttpClientErrorException;
import java... | true |