hexsha stringlengths 40 40 | size int64 8 1.04M | content stringlengths 8 1.04M | avg_line_length float64 2.24 100 | max_line_length int64 4 1k | alphanum_fraction float64 0.25 0.97 |
|---|---|---|---|---|---|
f71619d8d9df902283ba43c26d5ae7bffba1a501 | 1,235 | package com.st.academy.pomanager.models.entities;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import... | 25.204082 | 66 | 0.761943 |
bba114a1ccb8cc2099d9e398ea84ab365462f609 | 8,719 | /**
* Copyright (c) 2011-2020, JFXtras
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
* notice, this list of condi... | 45.176166 | 154 | 0.686661 |
8bbe0cb5956261e6613c962e0f9fce64700c7289 | 1,238 | package com.caleb.algorithm.dynamicprogramming;
/**
* @author:hanzhigang
* @Date : 2021/3/23 11:47 PM
*/
public class UniquePathII63 {
public int uniquePathsWithObstacles(int[][] obstacleGrid) {
// 定义状态数组
int[][] dp = new int[obstacleGrid.length][obstacleGrid[0].length];
// 将第一行和第一列置为1,有... | 26.340426 | 74 | 0.439418 |
221799b4fe7d7d61cc1ff7d03cafdd95aafdfcbe | 8,836 | package for_camera_opmodes;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.ImageFormat;
import android.graphics.Matrix;
import android.graphics.Rect;
import android.graphics.YuvImage;
import android.hardware.Ca... | 29.551839 | 120 | 0.585559 |
ef22e1913adf6fe1a95f1ab273dfe19ca532c909 | 2,807 | package reseau.ressources;
import interfaces.ContaineurImageOp;
import io.IO;
import java.awt.AlphaComposite;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.util.HashMap;
import java.util.Map;
import ressources.RessourcesLoader;
public class Ressour... | 25.752294 | 107 | 0.659423 |
8808b30d564f746ec9a5df0c2e2ece89362760a9 | 31,945 | /*
* Copyright 2019 Equipment & Tool Institute
*/
package org.etools.j1939_84.ui;
import static org.etools.j1939_84.J1939_84.isAutoMode;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.... | 35.933633 | 138 | 0.60864 |
4a1fa6dc70e87c24d9f71593370f8782dee2cef0 | 1,415 | package controllers;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
import org.json.simple.JSONArray;
//import com.avaje.ebean.Model;
import models.Employee;
import models.Parttime;
import play.*;
import play.data.Form;
import play.data.FormFactory;
import play.mvc.*;
import servic... | 26.203704 | 82 | 0.684806 |
a31e138925c9bcf777f72d9c9701ddcaf6699ddf | 3,617 | package tk.louisstudio.daily_notes;
import android.os.Bundle;
import android.os.StrictMode;
import android.view.View;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
import com.rengwuxian.materialedittext.Materi... | 35.811881 | 97 | 0.582527 |
5e3fe47cc5094ab12fd387bd3a812359ff259db9 | 294 | package com.baremetalcode.db.domain;
import lombok.Data;
import java.util.UUID;
@Data
public class User {
private String uuid = UUID.randomUUID().toString();
private String firstName;
private String lastName;
private String countryISO;
private UserAddress userAddress;
}
| 19.6 | 55 | 0.741497 |
0503942d9ee2d4a19b870746c88ea72e0b6389f0 | 605 | package com.example.util;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
/**
* @author tuzhijin
* @version Id: AsyncTask.java, v 0.1 2019/6/12 18:21 tuzhijin Exp $$
*/
@Component
public class AsyncTas... | 27.5 | 84 | 0.740496 |
a877d04b3757dc7491547c495df35ef537b7750a | 1,085 | package com.github.dakusui.jcunit.examples.testgen;
import com.github.dakusui.jcunit.runners.standard.annotations.FactorField;
import com.github.dakusui.jcunit.runners.standard.JCUnit;
import com.github.dakusui.jcunit.runners.standard.TestCaseUtils;
import com.github.dakusui.jcunit.core.tuples.TupleUtils;
import org.j... | 36.166667 | 116 | 0.727189 |
444a496693a3bc0f161f6f1798cfab9151882956 | 9,981 | package athena.user.application;
import athena.api.AthenaMLFeatureConfiguration;
import athena.api.Indexing;
import athena.api.Marking;
import athena.api.clustering.kmeans.KMeansDetectionAlgorithm;
import athena.api.clustering.kmeans.KMeansDetectionModel;
import athena.northbound.DataQueryManager;
import athena.northb... | 53.951351 | 221 | 0.742811 |
849d6d432b60eee8bb972059b311366ec3e39a95 | 7,016 | /**********************************************************************
Copyright (c) 2011 Peter Rainer and others. 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://ww... | 38.549451 | 123 | 0.607469 |
9489f3325c0eb99d67c606ca1f92eea6b12ee48f | 325 | package example.guice;
import com.sun.jersey.guice.JerseyServletModule;
import com.sun.jersey.guice.spi.container.servlet.GuiceContainer;
public class ExampleServletModule extends JerseyServletModule {
@Override
protected void configureServlets() {
serve("/resource/*").with(GuiceContainer.class);
... | 25 | 65 | 0.763077 |
927abdbdd848f767f5c6976914dcbe86d8e98cc6 | 13,962 | package com.aspose.cells.model;
import java.util.*;
import com.aspose.cells.model.Color;
import com.aspose.cells.model.LinkElement;
public class Worksheet {
private List<Link> Links = new ArrayList<Link>();
private Boolean DisplayRightToLeft = null;
private Boolean DisplayZeros = null;
private Integer FirstVis... | 21.283537 | 94 | 0.677338 |
299b9170ae0b0710c09e8fe161ef2682e72d7277 | 2,658 | package com.indiraactive.fulfillmentplatform.utility;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mockito;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.... | 36.410959 | 134 | 0.76298 |
d459d6fe7e7c6a58e0bdae1e44128c9486db0802 | 253 | package edu.cmu.hcii.whyline.source;
/**
*
* @author Andrew J. Ko
*
*/
public abstract class ExpressionElement extends JavaElement {
public ExpressionElement(JavaElement parent, Token first, Token last) {
super(parent, first, last);
}
}
| 14.882353 | 72 | 0.703557 |
abf1385f7ec567148232b84af46e906a165bd0a2 | 78 | package com.stang.tang.zhima.service;
public interface ParameterService {
}
| 13 | 37 | 0.794872 |
a390d97bf4be417ef68473c24595758189dd4abe | 5,095 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | 62.134146 | 155 | 0.777625 |
41f4729d83ac14e174706e369246c15beaad58cb | 31,990 | package io.kickflip.sdk.api;
import android.content.Context;
import android.content.SharedPreferences;
import android.location.Location;
import android.os.Handler;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.util.Log;
import com.amazonaws.auth.BasicAWSCredenti... | 41.437824 | 140 | 0.552923 |
f97730a2a2b964a13b5f898f101b61474ec2fe61 | 924 | package com.cloud.legacymodel.communication.answer;
import java.util.HashMap;
public class ClusterVMMetaDataSyncAnswer extends Answer {
private final long _clusterId;
private final HashMap<String, String> _vmMetaDatum;
private boolean _isExecuted = false;
public ClusterVMMetaDataSyncAnswer(final long... | 26.4 | 105 | 0.693723 |
35ba23bae8b9980677a1a7c7645d9a5889be3c1e | 1,060 | /**
*/
package de.darwinspl.feature.evolution.evolutionoperation.impl;
import de.darwinspl.feature.evolution.evolutionoperation.DwEvolutionOperationFeatureVersionDelete;
import de.darwinspl.feature.evolution.evolutionoperation.EvolutionoperationPackage;
import org.eclipse.emf.ecore.EClass;
/**
* <!-- begin-user-do... | 27.894737 | 158 | 0.75 |
46dda97a36d234449a88cf81cc6aaa41b4d4ef6a | 2,461 | package com.dtone.dvs.dto;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.dtone.dvs.util.Constants;
public class ProductFilter {
private ProductType type;
private Long serviceId;
private String countryIsoCode;
private Long operatorId;
private String region;
private List... | 21.587719 | 124 | 0.72369 |
924bc6d045c6b5b78afaac09d202d4d74f7e332d | 5,068 | package com.shc.ld34.game;
import com.shc.silenceengine.audio.Sound;
import com.shc.silenceengine.core.ResourceLoader;
import com.shc.silenceengine.core.SilenceEngine;
import com.shc.silenceengine.graphics.Sprite;
import com.shc.silenceengine.graphics.TrueTypeFont;
import com.shc.silenceengine.graphics.opengl.Texture;... | 42.588235 | 126 | 0.718627 |
23c30943e4effd3b776e3b97be47f03a8c197f62 | 9,392 | /**
Copyright (c) 2011, SOCIETIES Consortium (WATERFORD INSTITUTE OF TECHNOLOGY (TSSG), HERIOT-WATT UNIVERSITY (HWU), SOLUTA.NET
(SN), GERMAN AEROSPACE CENTRE (Deutsches Zentrum fuer Luft- und Raumfahrt e.V.) (DLR), Zavod za varnostne tehnologije
informacijske družbe in elektronsko poslovanje (SETCCE), INSTITUTE ... | 30.394822 | 128 | 0.7171 |
7819ad4e7c81eaea468ce3445b2f70d86db8f8c7 | 3,208 | package com.fengwenyi.erwinmessage.controller;
import com.fengwenyi.api.result.ResultTemplate;
import com.fengwenyi.erwinmessage.service.IMailService;
import com.fengwenyi.erwinmessage.service.IRedisService;
import com.fengwenyi.erwinmessage.util.CacheKeyUtils;
import com.fengwenyi.erwinmessage.util.CodeUtils;
import ... | 34.494624 | 90 | 0.721322 |
3f36175f4428706d62800498a0b727431749bce5 | 834 | package br.com.zupacademy.templateproposta.cartoes;
import java.time.LocalDateTime;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.validation.constraints.NotBlank;
@Entity... | 21.947368 | 92 | 0.782974 |
4cca78bbe1ddb93282fd948a1357657d0afb6350 | 3,121 | package com.tts;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Math {
public static void doMath(List<Integer> nums) {
System.out.println("The max number of your entered numbers is:"+max(nums));
System.out.println("The min number of your entered ... | 32.510417 | 85 | 0.493432 |
8c9764881e306cca6947970ffa657398152fd5ab | 2,702 | // This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.baasplus.models;
import com.aliyun.tea.*;
public class QueryInvoicesocrVatinvoiceResponse extends TeaModel {
// 请求唯一ID,用于链路跟踪和问题排查
@NameInMap("req_msg_id")
public String reqMsgId;
// 结果码,一般OK表示调用成功
@NameI... | 24.342342 | 107 | 0.657661 |
94ee57e76c45b21ff8d29f9c3680806623289bb8 | 2,300 | package sonar.calculator.mod.client.gui.machines;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.text.TextFormatting;
import sonar.calculator.mod.common.containers.ContainerPowerCube;
import sonar.calculator.mod.common.tileentity.machines.TileE... | 42.592593 | 134 | 0.752609 |
1a6f11d8e2249120614319c7878a1d5887a12c11 | 4,895 | package pcl.OpenFM.player;
import static javax.sound.sampled.AudioSystem.getAudioInputStream;
import java.io.BufferedInputStream;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintStream;
import java.net.Socket;
import java.net.URI;
import java.net.URISyntaxEx... | 30.030675 | 144 | 0.715424 |
e9a10785a3b208151d5c2920611e6d0b31af4a94 | 538 | package com.java.concepts.enums;
import java.util.Arrays;
public class MainClass {
public static void main(String[] args) {
//HttpStatus enum
System.out.println(HttpStatus.CREATES.getStatusCode());
System.out.println(HttpStatus.CREATES.getStatusMessage());
System.out.println(HttpS... | 26.9 | 66 | 0.678439 |
0902a15ca3386c321cd4e22acb91d3ada92febee | 1,363 | /**
* @info: MountainBaseMapper.java
* @copyright: 2019
*/
package com.github.biticcf.mountain.core.common.service;
import java.sql.SQLException;
import java.util.Map;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.map... | 24.339286 | 125 | 0.735877 |
c15b8b01cf72a5c06ffee7d36ebf58bf9af5b30f | 781 | /*
* 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 cn.hanbell.oa.ejb;
import cn.hanbell.oa.comm.SuperEJBForEFGP;
import cn.hanbell.oa.entity.HKYX013;
import cn.hanbell.oa.entity... | 21.694444 | 79 | 0.732394 |
ef3f1b4991198b86e5aa466fdeb2f16403dcd9c1 | 21,397 | /*
* 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 institucion.Views.Secretary;
import config.Secretary.HeaderAssignation;
import institucion.Controllers.CtrlSubject;
import in... | 47.548889 | 190 | 0.605552 |
c14257c3f1e0fd6e21b30c8ef6cc0b4fb231a7f5 | 3,546 | /*
* Copyright (c) 2020 Dzikoysk
*
* 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... | 30.568966 | 143 | 0.650592 |
ed960ec995d994873fe0a52c66e3f0608a43859b | 810 | package gov.nasa.jpl.aerie.merlin.server.services;
import gov.nasa.jpl.aerie.merlin.server.exceptions.NoSuchPlanException;
import gov.nasa.jpl.aerie.merlin.server.models.Constraint;
import gov.nasa.jpl.aerie.merlin.server.models.Plan;
import gov.nasa.jpl.aerie.merlin.server.models.PlanId;
import gov.nasa.jpl.aerie.mer... | 40.5 | 115 | 0.832099 |
2de90ba23da3f6550f0dcff0592f1661f0fef512 | 3,195 | package com.der3318.forumsurf;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class PTTProcessor implements ForumProcessor {
private String loadMoreDataToken = null;
... | 37.151163 | 93 | 0.617214 |
5e15fe7bbf907ee38d11c74a87d50d9bfb7aecaa | 1,966 | /*
*
* Copyright 2020 IBM Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 31.709677 | 96 | 0.685656 |
d0d1fb3e9174f7e785fd52727d7839e3279fa776 | 118 | package online.zouxiaolong;
/**
* @author zZZ....
* @description
* @date 2022/1/17
*/
public class test {
}
| 10.727273 | 27 | 0.59322 |
ebd1322ecf407f2a0fc2283e546e04a7a5ff4d7c | 3,337 | package io.deephaven.client.impl;
import io.deephaven.proto.backplane.grpc.Ticket;
import io.deephaven.qst.table.TableSpec;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.Future;
/**
* A session represents a client-side connection to a Deephaven server.
*/
public ... | 27.578512 | 120 | 0.600539 |
e1d4bfc385410eb4c82c89d545d565307d69e771 | 11,464 | package com.clfsjkj.govcar;
import android.Manifest;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.Snackbar;
import android.support.design.widget.TabLayout;
import android... | 34.323353 | 150 | 0.60328 |
53a14ad853aa91df96111ebdffd24f42567dc6d5 | 103 | package astro.tool.box.enumeration;
public enum Unit {
DEGREE, ARCSEC, MAS, DAY, YEAR;
}
| 12.875 | 36 | 0.640777 |
f36f2117efe28e56d84e7cc8f10ab5ca9f3bd371 | 645 | package org.dspbench.core.hook;
import org.dspbench.core.Tuple;
import org.dspbench.core.Values;
import org.dspbench.metrics.ThroughputNew;
/**
*
* @author mayconbordin
*/
public class ThroughputHook extends Hook {
private ThroughputNew throughput;
//private Throughput.Context context;
public Throughp... | 20.15625 | 53 | 0.672868 |
899059556738a164f4de133c2a835eb148ceb757 | 1,643 | package com.hua.security.service;
import com.hua.security.mapper.GithubUserMapper;
import com.hua.security.pojo.githubUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority... | 39.119048 | 86 | 0.776628 |
240c8dbfd5427e6312fcfee0436c8538390ccea9 | 6,775 | package de.aljoshavieth.moneycounter;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.B... | 34.92268 | 120 | 0.666273 |
0a75064260f48585dcc4d9adad679651583b7ddf | 401 | public static void CopyFile(String in, String out) throws Exception {
FileChannel sourceChannel = new FileInputStream(new File(in)).getChannel();
FileChannel destinationChannel = new FileOutputStream(new File(out)).getChannel();
sourceChannel.transferTo(0, sourceChannel.size(), destinationCh... | 50.125 | 90 | 0.710723 |
a5deaac47d232e9fe508026d95894f1f3e840bcc | 2,591 | package com.alibaba.datax.common.element;
import com.alibaba.datax.common.exception.CommonErrorCode;
import com.alibaba.datax.common.exception.DataXException;
import org.apache.commons.lang3.math.NumberUtils;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;
/**
* @author ChengJie
* ... | 26.438776 | 74 | 0.60247 |
d305b03e65ddaabfcadfc7437616fa5e156fbeee | 2,641 | package xyz.germanfica._2018._1st.tp3;
/*
* Actualizaciones:
* - Nombre de la clase "Puntos" a "Cliente", por lo que ahora tiene más sentido
* que el cliente tenga puntos y no al revés.
* - Nombres más descriptivos a los parámetros.
* - Se agregaron comentarios, a excepcion del constructor para reforzar el
... | 21.298387 | 84 | 0.673987 |
b1f9dad9b9ed0360635f3f8861f4b055364031cc | 3,598 | package com.luxoft.fabric.integration;
import com.luxoft.fabric.FabricConnector;
import com.luxoft.fabric.config.ConfigAdapter;
import org.hyperledger.fabric.sdk.BlockEvent;
import org.hyperledger.fabric.sdk.NetworkConfig;
import org.junit.Assert;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.Logger... | 46.727273 | 157 | 0.72179 |
fcab3e67cb02e79142994e577509d361646d41c9 | 3,593 | package me.zombie_striker.brsscalar;
import me.zombie_striker.omeggajava.JOmegga;
import me.zombie_striker.omeggajava.events.ChatCommandEvent;
import me.zombie_striker.omeggajava.events.EventHandler;
import me.zombie_striker.omeggajava.events.Listener;
import me.zombie_striker.omeggajava.events.TickEvent;
import java... | 44.9125 | 174 | 0.582243 |
31ac6c87a26838495466ff1bd4dbbe6bb4ef60f3 | 2,456 | package com.scififics.writershub.models;
import java.util.ArrayList;
public class SearchData {
/*
Searches all chapters by type and term
@param type - Determines what field is being searched. For example, title or description
@param term - The search term provided.
@param allChap... | 30.7 | 114 | 0.586726 |
06dc12c093252a175ec0b25f740d2943dc1bc900 | 1,250 | package com.muzi.weshop.view.activity;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import com.muzi.weshop.R;
import com.muzi.weshop.common.base.BaseActivity;
import com.muzi.weshop.common.contants.Constants;
import com.muzi.wesh... | 25 | 89 | 0.6176 |
23e936ee30535d2716d4a2101559a4e20d40ec50 | 6,669 | /*
* Copyright 2016 Johann Reyes
*
* 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... | 33.852792 | 120 | 0.653621 |
1a76df839a95c81484bf9d9a4e9c37b884e8f0b2 | 2,801 | package com.refinedmods.refinedstorage2.api.network.node.controller;
import com.refinedmods.refinedstorage2.api.core.Action;
import com.refinedmods.refinedstorage2.api.network.energy.EnergyStorage;
import com.refinedmods.refinedstorage2.api.network.energy.EnergyStorageImpl;
import com.refinedmods.refinedstorage2.api.n... | 31.122222 | 112 | 0.652981 |
9dbbca10ca5d7e5fc3b7a69873e31883e79b8e0a | 5,317 | package vn.edu.tlu.hatrang.autoRWRMTN.internal.task;
import java.awt.Color;
import java.awt.Paint;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.StringTokenizer;
import java.util.TreeSet;
import j... | 33.23125 | 109 | 0.753056 |
e672ee65431052d020a16136d850a08167698f21 | 639 | /*
*
* * All Application code is Copyright 2016, The Department of Homeland Security (DHS), U.S. Customs and Border Protection (CBP).
* *
* * Please see LICENSE.txt for details.
*
*/
package gov.gtas.services.matcher;
class ProcessedMatcherResults {
private boolean caseCreated = false;
private int h... | 19.96875 | 130 | 0.657277 |
fadcea497105c3756e4b14c36e3ce07e7b5dd99c | 3,473 | package test;
import java.util.concurrent.TimeUnit;
import java.util.logging.Logger;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.openqa.selenium.Dimension;
import org.openqa.selenium.chrome.Chrome... | 27.132813 | 84 | 0.731068 |
176e183bb7ddd7295fdaec40f83d8c589d1a4099 | 3,653 | /*
* Copyright 2014 peter.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 31.222222 | 109 | 0.590474 |
33f7ef763ec8de8a1a9df2bed81b3e4f4fe743bb | 493 | package wang.icopy.security.domain;
import lombok.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.io.Serializable;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Entity
public class City implements Serializ... | 17 | 43 | 0.756592 |
8ff7e326d0ed7929e61f1fe632e0819a5f8a27e0 | 1,957 | /*
* 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 ma... | 37.634615 | 76 | 0.736842 |
a42cc7696e7ea6e177aebc48eb73e51b03e8a05b | 6,797 | /*
* Copyright 2011 the original author or authors.
*
* 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 applica... | 63.523364 | 131 | 0.755775 |
4cc27d941899f36747ea404b513e469540dc95c8 | 13,581 | /*
* Copyright (C) 2022 Steve Jrong
*
* GitHub Homepage: https://www.github.com/SteveJrong
* Gitee Homepage: https://gitee.com/stevejrong1024
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... | 50.865169 | 174 | 0.726309 |
00f1e1ac178c816efcbb6c2f4c8393ef05684b7d | 812 | package Thirteenth;
import java.util.ArrayList;
import java.util.Iterator;
public class InteratorTest {
// ArrayList<>:
// 이 녀석은 다양한 데이터 타입을 수용할 수 있게 해준다.
// <String> 문자열, <Integer> 정수, <Float> float 타입 등등
public static void main(String[] args) {
ArrayList<String> list = new ArrayList<String>... | 23.2 | 60 | 0.53202 |
9672b1bf8001a6baf86dae0a89bf9da33954d462 | 132 | package com.hamzajg.quicktest.sharedkernel.dtos;
public class ProductCategoryDto {
public String id;
public String name;
}
| 18.857143 | 48 | 0.765152 |
4f5316fd95ff0d3f1e41c6948ed52ed6d45e02aa | 4,113 | package io.quarkus.benchmark.resource;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import java.util.concurrent.ThreadLocalRandom;
import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs... | 35.153846 | 124 | 0.63822 |
2a273288b854ded6a50a6564f8e14f5c404eecde | 7,802 | package com.example.android.bluetoothlegatt;
import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.Intent;
import android.net.ConnectivityManager;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.app.ListFr... | 33.2 | 112 | 0.602666 |
4ca0a4649f7d11df1297e4cd1586adffa49fccfe | 1,778 | import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class Stastics_1_1 {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
long n=sc.nextInt();
long a[]=new long[(int) n];
long i;... | 25.4 | 122 | 0.393138 |
99c61ab8eebc74237674708d99cfcb35798ce39b | 455 | import java.util.*;
import java.lang.Math.*;
import java.math.*;
class LASTDIG2{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int testCases = scan.nextInt();
BigInteger a;
BigInteger b;
BigInteger lastDigit;
for(int i = 0; i < testCases; i++){
a = scan.nextBigIntege... | 18.2 | 51 | 0.659341 |
4147dffbff856c2796b3e947a8ee87e03fc10632 | 512 | package com.android.binding;
import android.app.Application;
import androidx.fragment.app.FragmentManager;
/**
* a class that integrates the Binding process to your android application
* <p>
* Created by Ahmed Adel Ismail on 1/31/2018.
*/
public class Binding extends FragmentManager.FragmentLifecycleCallbacks {
... | 23.272727 | 90 | 0.757813 |
f03d464b1fe37724769fb50e58d2eed094ec3ded | 1,234 | //
// ========================================================================
// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others.
//
// This program and the accompanying materials are made available under
// the terms of the Eclipse Public License 2.0 which is available at
// https://www.eclipse.org/leg... | 37.393939 | 88 | 0.675041 |
931366e1fd32a0e6d340ef4255c79c9f9330664d | 13,752 | begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses ... | 16.046674 | 809 | 0.779232 |
d893a6473bbed906461aa1fc5704dc97c0ca17c2 | 8,729 | package com.logicmaster63.tdgalaxy;
import com.badlogic.gdx.*;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.controllers.Controllers;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.net.HttpRequestBuilder;
import com.badlogic.gdx.phys... | 31.512635 | 179 | 0.625501 |
25be19c52b0b4544e20a765331d676258ee64004 | 3,565 | package cn.org.autumn.modules.lan.interceptor;
import cn.org.autumn.config.Config;
import cn.org.autumn.config.InterceptorHandler;
import cn.org.autumn.modules.lan.service.Language;
import cn.org.autumn.modules.lan.service.LanguageService;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org... | 39.175824 | 156 | 0.640954 |
268208cb27d8e77febb2ecb600604d966f294e33 | 96 |
package ibxm;
public class Note {
public int key, instrument, volume, effect, param;
}
| 13.714286 | 52 | 0.677083 |
d441f6d5d3dcb802534bf10c6244114513d74c90 | 721 | package com.arematics.minecraft.core.messaging.advanced;
import com.google.gson.JsonParseException;
import java.util.Arrays;
public enum HoverAction{
SHOW_TEXT("show_text"),
SHOW_ACHIEVEMENT("show_achievement"),
SHOW_ITEM("show_item");
public static HoverAction findByAction(String name, HoverAction... | 27.730769 | 107 | 0.705964 |
1a75461b2696b9d5e442798f4157eb9c7a1b6486 | 3,566 | package org.aion.avm.core.shadowing;
import avm.Address;
import org.aion.avm.core.AvmConfiguration;
import org.aion.avm.core.AvmImpl;
import org.aion.avm.core.CommonAvmFactory;
import org.aion.avm.core.blockchainruntime.EmptyCapabilities;
import org.aion.avm.core.dappreading.JarBuilder;
import org.aion.avm.core.util.C... | 45.139241 | 176 | 0.719854 |
9c1f24952a384b93da9d4245065c665bc1d5379c | 8,802 | package cl.bebt.staffcore.menu.menu.Reports;
import cl.bebt.staffcore.main;
import cl.bebt.staffcore.menu.PaginatedMenu;
import cl.bebt.staffcore.menu.PlayerMenuUtility;
import cl.bebt.staffcore.sql.Queries.ReportsQuery;
import cl.bebt.staffcore.utils.TpPlayers;
import cl.bebt.staffcore.utils.utils;
import org.bukkit.... | 50.297143 | 167 | 0.499886 |
5e208d8216bf67d664d060408359d75018da47ec | 5,292 | package diarg;
import net.sf.tweety.arg.dung.syntax.DungTheory;
import net.sf.tweety.arg.dung.syntax.Argument;
import net.sf.tweety.arg.dung.syntax.Attack;
/**
* Provides example argumentation frameworks for test purposes
* framework1: ({a, b, c, d, e},{(a, b), (b, c), (c, b), (c, d), (d, e), (e, c)})
* framework2... | 38.627737 | 476 | 0.548186 |
3e818e86ab9cecc34c70bd06b79e7747154bcb88 | 4,537 | package com.zrlog.web.controller.admin.api;
import com.hibegin.common.util.FileUtils;
import com.zrlog.common.Constants;
import com.zrlog.common.response.UpdateRecordResponse;
import com.zrlog.common.response.UploadTemplateResponse;
import com.zrlog.common.response.WebSiteSettingUpdateResponse;
import com.zrlog.model.... | 39.112069 | 103 | 0.667181 |
b62435fa7291a38ec4e2a1253e0f5658f44ade28 | 1,171 | /*
* 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.lmu.project.NetworkGraph;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.*;
/**
*
* @au... | 28.560976 | 108 | 0.666951 |
270185a1ef5e75ecf9c4d4dab97509eac362706a | 1,589 | package japicmp.filter;
import japicmp.exception.JApiCmpException;
import javassist.CtBehavior;
import javassist.CtClass;
import javassist.CtField;
import java.util.regex.Pattern;
public class FieldFilter implements Filter {
private final String filterString;
private final Pattern patternClass;
private f... | 29.981132 | 141 | 0.658276 |
30dba03736a99328cd945a89681be2fe62d0c671 | 5,911 | /*******************************************************************************
* Copyright (c) Contributors to the Eclipse Foundation
*
* 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
*... | 28.282297 | 81 | 0.667907 |
45b6e258e4a48e0238d4c56feff2fda08f13f1db | 411 | package com.cezarykluczynski.stapi.util.constant;
import com.google.common.collect.Maps;
import java.util.Map;
public class Fraction {
public static final Map<String, Double> MAPPING = Maps.newHashMap();
static {
MAPPING.put("⅛", .125d);
MAPPING.put("¼", .25d);
MAPPING.put("⅜", .375d);
MAPPING.put("½", .... | 18.681818 | 69 | 0.659367 |
8e796f42df7ac017b1759e8c285e52752fa54cfe | 944 | package com.bloomberg.system.comdb2.jdbc;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;
public class SqlTest {
public static void main(String[] args) throws ClassNotFoundException,
... | 26.971429 | 70 | 0.702331 |
24c35798970c25f698043e6f3e4537355fd06e5b | 10,540 | /**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later... | 37.375887 | 398 | 0.768501 |
7e8918af36b70c6f3fa03f9353f78e0b19527675 | 879 | package br.com.beblue.discbackapi.spotify.client;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework... | 31.392857 | 73 | 0.825939 |
1ddc1a024793edb9d8f2533f2c98fe710693f3ac | 6,374 | /*
* Charybdis - Cassandra ORM framework
*
* Copyright (C) 2020 Charybdis authors
*
* 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
*
*... | 30.941748 | 140 | 0.730468 |
6026f7e745159c8b21a6b3d7521d766077863475 | 4,584 | package lang.relation;
import java.util.HashSet;
import java.util.Set;
import java.util.TreeSet;
import java.util.ArrayList;
import lang.ast.Constant;
import lang.ast.List;
import lang.ast.Term;
import lang.ast.Variable;
public class PseudoTuple implements Comparable<PseudoTuple> {
private int size;
private Term[]... | 21.622642 | 88 | 0.628709 |
37bdc9204c15efb0f212244e9ca5b35480b1da75 | 942 | package com.ksa.web.struts2.action.data;
import com.ksa.web.struts2.action.model.GridDataModel;
import com.opensymphony.xwork2.Action;
public interface GridDataAction extends Action {
/** 降序排序 */
public static final String SORT_ORDER_DESC = "desc";
/** 升序排序 */
public static final ... | 20.933333 | 57 | 0.548832 |
99a570f147fe5b29c4da2b3172fb738c0be7fca6 | 4,171 | package uk.ac.manchester.cs.jfact.split;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import org.semanticweb.owlapi.util.MultiMap;
import uk.ac.manchester.cs.jfact.kernel.dl.interfaces.Axiom;
import uk.ac.manchester.cs.jfact.kernel.dl.interfaces.NamedEntity;
import conformance.Origina... | 32.333333 | 81 | 0.616159 |
82c662df28f7f1e520f21840cd52dbdba3d4e911 | 8,059 | /*
* Copyright (C) 2013 Dominik Schürmann <dominik@dominikschuermann.de>
* Copyright (C) 2012 Pierre-Yves Ricau <py.ricau@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | 35.817778 | 102 | 0.632337 |
4411f5a3aff3c49568f3e67e175fd8fe05082b06 | 334 | package domian;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
/**
* @author Fcb
* @date 2020/2/23
* @description
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Student {
private String name;
private int id;
priva... | 14.521739 | 33 | 0.736527 |
c45282cf40e604ca88d7d63d797fb22aaf7d232a | 3,551 | package ie.dit;
import ddf.minim.Minim; //import the minim library
import ddf.minim.AudioPlayer; //import the minim audio player
import java.util.ArrayList;
import processing.core.PApplet; //import the processing PApplet
import processing.core.PVector; //import the processing PVector
public class Helicopter exten... | 30.350427 | 89 | 0.662349 |
47b155d952f531129c52503540ef97cb6286284e | 47,666 | package android.support.v4.widget;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.PorterDuff.Mode;
import android.graphics.PorterDuffColorFilter;
import android.graphics.... | 29.643035 | 174 | 0.626547 |
6cf6137832e025c0f8a99e7c266239963f8b09d5 | 13,641 | /*
* This file is part of the ONT MAP.
* The contents of this file are subject to the Apache License, Version 2.0.
* Copyright (c) 2019, The University of Manchester, owl.cs group.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License... | 36.279255 | 118 | 0.574811 |
4c617325f3161fe38ec0b84696db39405eee66df | 597 | package linkedList;
import java.util.Iterator;
public class LinkedListIterator<T> implements Iterator<T>{
private LinkedList<T>.ListNode next;
public LinkedListIterator(LinkedList<T>.ListNode head){
next = head;
}
@Override
public boolean hasNext() {
return next != null;
}
@Override
public T next()... | 18.090909 | 75 | 0.695142 |
9977649b70510d7889791cebcba39c91c5bc2ffb | 2,184 | /*
* Copyright 2011-present Greg Shrago
*
* 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... | 34.125 | 119 | 0.741758 |
ed484e71ab2356b51efcb297b0d5064d73853c46 | 9,114 | package odata;
import java.io.InputStream;
import java.util.List;
import org.apache.olingo.odata2.api.batch.BatchHandler;
import org.apache.olingo.odata2.api.batch.BatchResponsePart;
import org.apache.olingo.odata2.api.exception.ODataException;
import org.apache.olingo.odata2.api.processor.ODataContext;
import org.ap... | 33.755556 | 82 | 0.81907 |
5998c15a5812f6dca762550aa65bbc38ce0ba095 | 858 | /**
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | 27.677419 | 75 | 0.729604 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.