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 |
|---|---|---|---|---|---|
8746befee62ce172f70c13768d805f8bb7464136 | 4,142 | /*
* This file is part of fabric-loom, licensed under the MIT License (MIT).
*
* Copyright (c) 2016, 2017, 2018 FabricMC
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restr... | 44.06383 | 95 | 0.707388 |
2ee698d615f3feca936f34a1bb533c121adc38d0 | 1,853 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.core.ml.inference.trainedmodel;
i... | 31.948276 | 125 | 0.736104 |
6032c7a54425056818d3048be25b951111ac298b | 38,756 | package com.dictionary.codebhak;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.DialogFragment;
import android.app.Fragment;
import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.app.SearchManager;
import android.content.ContentResolver;
import androi... | 41.01164 | 161 | 0.659537 |
4cd89de38821009e6c7df1f2c7835805078ea1c2 | 1,379 | package io.github.callmeneva.asteroids.score;
import io.github.callmeneva.asteroids.RequestKeyVerifier;
import io.github.callmeneva.asteroids.user.User;
import io.github.callmeneva.asteroids.user.IllegalUsernameException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereot... | 29.340426 | 85 | 0.724438 |
dbfcf2bfcb4cf47ef1b0c92518a8e40a2138b4e1 | 3,000 | /*
* Copyright 2016-2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 30.612245 | 79 | 0.808667 |
240190514bb33cd1178045e9153bd6df04e5e14a | 1,499 | package io.metadew.iesi.data.generation.configuration;
import io.metadew.iesi.data.generation.execution.GenerationComponentExecution;
import io.metadew.iesi.data.generation.execution.GenerationDataExecution;
import io.metadew.iesi.data.generation.tools.PeriodTools;
import java.time.LocalDate;
import java.time.LocalDa... | 30.591837 | 88 | 0.716478 |
0305a0b44806c1ad43d972b8bdc912209f8b7500 | 774 | package ch.virtbad.serint.client.game.map.data.requirements;
import ch.virtbad.serint.client.game.map.data.Tile;
import lombok.Getter;
/**
* This class represents a requirement that has to be fulfilled for an aspect to be shown.
*/
@Getter
public class AspectRequirement {
/**
* This enum represents the ty... | 23.454545 | 90 | 0.665375 |
e11987501f95d2452b0791e4cb6cabe3338100ea | 4,378 | /*
* Copyright 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 35.024 | 95 | 0.666743 |
c099b375c54b05c1de30a124df5863d3d729a346 | 521 | package js.web.paymentrequest;
import js.lang.Any;
import js.lang.Unknown;
import org.teavm.jso.JSByRef;
import org.teavm.jso.JSProperty;
import javax.annotation.Nullable;
public interface PaymentMethodData extends Any {
@JSProperty
@Nullable
Any getData();
@JSProperty
void setData(Any data);
... | 17.965517 | 57 | 0.737044 |
12d0dce8d6534cbcd233c623cd91555c9e8f9780 | 585 | package io.github.elbakramer.mc.playervehicledesyncfix.util;
import net.minecraft.entity.Entity;
import net.minecraft.util.math.Box;
public class EntityUtils {
private EntityUtils() {
}
public static boolean checkIfEntityIsAroundEntity(Entity entityToFind, Entity entityInCenter,
double boxEx... | 29.25 | 115 | 0.682051 |
295edc192bc981e520022dfea60a07137974ca1c | 12,434 | package org.primefaces.serenity.component;
import java.io.IOException;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import javax.faces.FacesException;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.fa... | 42.006757 | 222 | 0.587904 |
04a794f3ae80216e6c37d216e62347e2bab9e88c | 4,953 | /*
* ====================================================================
*
* 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 license... | 32.162338 | 101 | 0.570563 |
6330e705f1570423b4b1bf3367b1639d2aae5327 | 565 |
package ttetris.tetriminot;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;
public class LTest {
L l;
@Before
public void setUp() {
l = new L();
}
@Test
public v... | 17.65625 | 49 | 0.59823 |
f5449f623cc6f62eee5b69a4308e74efd77298e0 | 1,129 | package io.github.lgxkdream.test.unit3;
/**
* @author Jackie Lee
* @version 1.0.0
* @title HasGroupsSizeX
* @description https://leetcode-cn.com/problems/x-of-a-kind-in-a-deck-of-cards/
* @since 2020-03-27 09:33
*/
public class HasGroupsSizeX {
public static void main(String[] args) {
// int[] deck ... | 24.021277 | 80 | 0.434898 |
4dbe66cd9cd35845d18517e61c03cbf26c7304c1 | 4,961 | /*
* Copyright © 2017 Ivar Grimstad (ivar.grimstad@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | 39.062992 | 161 | 0.643822 |
11e7b21067d927cf9539e8c76b75ce2dea9f23df | 2,752 | package com.dnastack.ga4gh.dataconnect.client.tablesregistry;
import com.dnastack.ga4gh.dataconnect.client.common.SimpleLogger;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import feign.Fe... | 34.4 | 120 | 0.712573 |
22f88e8d070a0998c14a7d7577907a0505e82ced | 797 | package com.acme.orders.api.rest.v1.mappers;
import com.acme.orders.api.services.exceptions.ResourceNotFoundException;
import com.acme.orders.lib.v1.common.ApiError;
import javax.ws.rs.core.Response;
import javax.ws.rs.ext.ExceptionMapper;
import javax.ws.rs.ext.Provider;
import java.util.UUID;
/**
* @author Tilen ... | 27.482759 | 91 | 0.739021 |
28cfe1be0868db0066d18e796e1785597e5b9bf8 | 2,606 | package com.antplatform.admin.web.biz.basic;
import com.antplatform.admin.api.LoginMgtApi;
import com.antplatform.admin.api.dto.LoginDTO;
import com.antplatform.admin.api.request.UserMgtSpec;
import com.antplatform.admin.api.request.UserSpec;
import com.antplatform.admin.common.dto.Response;
import com.antplatform.adm... | 28.021505 | 104 | 0.633922 |
ba3257b0e0ed0a6308706d9f36c839fce41bdf01 | 2,089 | package projectmanager.handler;
import static org.junit.Assert.assertEquals;
import java.io.IOException;
import java.util.UUID;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import com.amazonaws.services.lambda.runtime.Context;
import com.google.gson.Gson;
import projectmanager.db.P... | 26.443038 | 95 | 0.748205 |
7837707835e3f6a9b5ea436e9ad1363fe03bbf4c | 2,510 | /*
* Copyright 2016-2026 TinyZ
*
* 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 ... | 23.027523 | 75 | 0.604781 |
de02392f6e218ee9a40292217f2aa54446a4fcfe | 2,204 | package com.xuegao.springboot_tool.mvc.exception;
import com.xuegao.springboot_tool.constant.common.WrappedResponse;
import com.xuegao.springboot_tool.constant.enums.HttpCode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springfram... | 33.907692 | 133 | 0.683303 |
1e15b907951a2aed9cfca3ae62aef8427d7d0b02 | 1,333 | package com.github.b3er.rxfirebase.common;
import android.support.annotation.NonNull;
import com.google.android.gms.tasks.OnCompleteListener;
import com.google.android.gms.tasks.Task;
import io.reactivex.CompletableEmitter;
import io.reactivex.SingleEmitter;
public final class GmsTaskListeners {
private GmsTaskLis... | 27.204082 | 94 | 0.630158 |
ee66fdac552e30af425fcfa9da92553974418bb3 | 1,758 | package com.dawdle.blog.vo;
import com.dawdle.blog.pojo.Type;
import java.util.Date;
/**
* @author zhoubin
* @create 2020/9/1 15:26
*/
public class BlogQuery {
private Long id;
private String title;
private Date updateTime;
private Boolean recommend;
private Boolean publish;
private Long ... | 18.903226 | 49 | 0.535836 |
d6734117ff6c470616ce4cfcebe6796d68883d46 | 2,607 | package com.ouz.springmvc;
import java.text.DateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.ResponseEntity;
import org.springframework.http.converter.json.MappingJacks... | 43.45 | 106 | 0.70771 |
a5ff45443a8be3b85295cd21d7e7fae7522af246 | 3,605 | package com.ttkey.service.mixers.executor.loader;
import static com.ttkey.service.mixers.executor.util.Constants.FETCH_EXECUTABLE_PREFIX;
import static com.ttkey.service.mixers.executor.util.Constants.FORWARD_SLASH;
import static com.ttkey.service.mixers.executor.util.Constants.RESOURCE_NAME_SUFFIX;
import com.ttkey.... | 42.411765 | 141 | 0.698197 |
5413a0199d0863c12585d25cd4146f387533600d | 1,846 | package com.polaritech.minecraft.pos.proxy;
import com.polaritech.minecraft.pos.PriceOfSpice;
import com.polaritech.minecraft.pos.PriceOfSpiceBlocks;
import com.polaritech.minecraft.pos.blocks.BlockSpice;
import com.polaritech.minecraft.pos.items.ItemSpice;
import net.minecraft.block.Block;
import net.minecraft.item.I... | 34.830189 | 148 | 0.770314 |
6e2b1af24ea23a455d844ac0b3fb6af700f12f4d | 4,715 | /*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE 1.31.1.5860.78bb27cc6 modeling language!*/
package cruise.associations.specializations;
import java.util.*;
/**
* [46]
*/
// line 457 "../../../../src/TestHarnessAssociationSpecializations.ump"
public class Tg
{
//------------------------... | 20.679825 | 152 | 0.569035 |
1a451b451224300f47db04b61fc9a7783bdbaf46 | 44,318 | /*
* Copyright 2020 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 28.834092 | 111 | 0.636265 |
54b429177830fee9382df0fda42c0535732f8232 | 4,137 | package com.bitmovin.api.sdk.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.faste... | 32.574803 | 162 | 0.700749 |
2298064af83bc3590b62a8cbb6c320e779e80546 | 23,795 | package mchorse.aperture.client.gui;
import mchorse.aperture.Aperture;
import mchorse.aperture.camera.CameraProfile;
import mchorse.aperture.camera.FixtureRegistry;
import mchorse.aperture.camera.fixtures.AbstractFixture;
import mchorse.aperture.camera.fixtures.ManualFixture;
import mchorse.aperture.camera.fixtures.Pa... | 31.896783 | 166 | 0.489473 |
7fbe1b704170a5e265d44bb9d7327f84ed868374 | 12,326 | /**
* Copyright 2012-2015 Niall Gallagher
*
* 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 a... | 46.86692 | 147 | 0.735194 |
2fc8f929a9c84267a69592ba47c7e13b3c4a0cf2 | 7,270 | package ooga.view.views.components.scenecomponents;
import java.util.TreeMap;
import javafx.beans.binding.Bindings;
import javafx.beans.binding.StringBinding;
import javafx.beans.property.ReadOnlyStringProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.scene.Node;
import javafx.scene.control.L... | 35.990099 | 105 | 0.70055 |
b5ad45d5ddbc78ddbda23f1cb76162a4e2b3cb9e | 2,693 | /*
* Copyright 2013-2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 25.168224 | 76 | 0.697735 |
712bbb7d8e3513adbfcd7e7cd60d6e1528a85ccd | 11,198 | /*
* Copyright (c) 2011 Howard Hughes Medical Institute.
* All rights reserved.
* Use is subject to Janelia Farm Research Campus Software Copyright 1.1
* license terms (http://license.janelia.org/license/jfrc_copyright_1_1.html).
*/
//
// ByteArrayHandle.java
//
package loci.common;
import java.io.EOFException;... | 26.102564 | 130 | 0.639221 |
937c2fdabce35d2d50f0fe680dde363a8c78b969 | 579 | package cn.jbone.configuration.props.rpcs;
import java.io.Serializable;
public class SysServerProperties implements Serializable {
/**
* Spring Cloud Feign调用配置
*/
private SysServerFeignProperties feign = new SysServerFeignProperties();
public SysServerFeignProperties getFeign() {
retur... | 21.444444 | 76 | 0.635579 |
20376634aef3bbc9f525ea889aeac09f613900b8 | 2,445 | package cmps252.HW4_2.UnitTesting;
import static org.junit.jupiter.api.Assertions.*;
import java.io.FileNotFoundException;
import java.util.List;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import cmps252.HW4_2.... | 25.46875 | 80 | 0.729243 |
08aa0aeb165997ed61d552167026857288741eeb | 998 | package cn.bigorange.wheel.utils;
public class AngleUtils {
public static float angle0To360(float angle) {
angle = angle % 360; //converts angle to range -360 + 360
if (angle >= 0.0f) { //converts angle to range 1-360 degrees
return angle;
} else {
return angle + 36... | 24.95 | 83 | 0.541082 |
5178add606e38fd35a4041cf1ad4f3edae0cf022 | 6,072 | /*
* Copyright (c) 2016-2088, fastquery.org and/or its affiliates. All rights reserved.
*
* 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 lic... | 32.645161 | 142 | 0.560277 |
901bf30db9ed0c5b5b2ffbc7bf98acf0a63a6da4 | 2,150 | package io.github.weipeng2k.distribute.lock.lettuce.sample;
import io.lettuce.core.RedisClient;
import io.lettuce.core.ScriptOutputType;
import io.lettuce.core.api.StatefulRedisConnection;
import io.lettuce.core.api.sync.RedisCommands;
import org.junit.Assert;
import org.junit.Test;
/**
* @author weipeng2k 2021年11月0... | 34.677419 | 116 | 0.647442 |
6b51f87f01fd5d0c9dc4dcd22e8eb142d5880aa0 | 8,780 | /*
* 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 may not ... | 29.072848 | 100 | 0.740547 |
60b25392cd2e9716e23d0b8149be36f47a399f97 | 469 | package com.yan.gulimall.product.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yan.common.utils.PageUtils;
import com.yan.gulimall.product.entity.SkuSaleAttrValueEntity;
import java.util.Map;
/**
* sku销售属性&值
*
* @author shuaime
* @email yshuaime@163.com
* @date 2020-04-22 14:27... | 22.333333 | 83 | 0.773987 |
5078b408593c07f53e1baaf269ad81b6bed3a060 | 1,095 | package bookshopsystemapp.controller;
import bookshopsystemapp.service.AuthorService;
import bookshopsystemapp.service.BookService;
import bookshopsystemapp.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframew... | 29.594595 | 118 | 0.782648 |
1043cf72b488249978b2cb760fb1c6ca8f62ee3b | 1,565 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.cam.ceb.como.enthalpy.calculator.variable;
import org.cam.ceb.como.enthalpy.calculator.species.Species;
import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap;
import java.util.Ha... | 29.528302 | 84 | 0.651757 |
24ff48fb6e5b9fbdb73bd49e586d8ccbb8ac2ee7 | 335 | package com.example.ioc.step7;
public class HyundaiMaker implements CarMaker{
@Override
public Car sell(Money money) {
System.out.println("HyundaiMaker # " + money.getAmount() + "원을 차 값으로 받는다.");
Car car = new Car("Sonata");
System.out.println("HyundaiMaker # " + car.getName() + "를 만들어서 판다.");
ret... | 27.916667 | 79 | 0.656716 |
02b6bf2d6e54613e3f2cbf14b718ea2f736f9e2b | 1,151 | package tomPack.swing;
import java.awt.Component;
import javax.swing.AbstractCellEditor;
import javax.swing.DefaultCellEditor;
import javax.swing.JSpinner;
import javax.swing.JTable;
import javax.swing.JTree;
import javax.swing.table.TableCellEditor;
import javax.swing.tree.TreeCellEditor;
/**
* An alt... | 26.159091 | 120 | 0.7298 |
a804d623b4301e360ac9bb2b5d82a7a22e40e3a6 | 258 | package io.github.vipcxj.beanknife.cases.beans;
import io.github.vipcxj.beanknife.runtime.annotations.ViewOf;
@ViewOf(value = MetaAndViewOfOnDiffBean2.class, includes = {MetaAndViewOfOnDiffBean2Meta.pa})
public class MetaAndViewOfOnDiffBean2ViewConfig {
}
| 32.25 | 93 | 0.837209 |
e66d1e2a8a96c31e2d47f465a1821e49f06c17ae | 1,290 | package de.alpharogroup.lottery.jpa.entities;
import de.alpharogroup.db.entity.uniqueable.UUIDEntity;
import de.alpharogroup.lottery.ticket.LotteryTicket;
import lombok.*;
import lombok.experimental.FieldDefaults;
import javax.persistence.*;
import java.util.HashSet;
import java.util.Set;
/**
* The entity class {@l... | 22.241379 | 93 | 0.742636 |
94b250829660ae9590d64c7a1d9565713f014e91 | 26,502 | /************************************************************************************
** The MIT License (MIT)
**
** Copyright (c) 2017 EXL
**
** Permission is hereby granted, free of charge, to any person obtaining a copy
** of this software and associated documentation files (the "Software"), to deal
** in the Softwa... | 35.716981 | 103 | 0.744699 |
bc6fb26f447b04ff0cc950fd034a2288ca330546 | 12,350 | /*
* Copyright [2013-2021], Alibaba Group Holding 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 36.217009 | 115 | 0.662267 |
8a731084cb2669ec6e4ed26730979ae63994aaa1 | 4,760 | package com.pedrolopesme.android.bakingapp.modules.step;
import android.content.Context;
import android.databinding.Bindable;
import android.net.Uri;
import android.os.Parcel;
import android.support.annotation.Nullable;
import android.util.Log;
import com.pedrolopesme.android.bakingapp.models.Recipe;
import com.pedro... | 28.848485 | 91 | 0.625 |
b5d8977d35c5b1795003f722a2a9aef47e22f584 | 477 | package com.hausontech.hrs.api;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
/**
* 基础Service,所有ServiceImpl需要extends此Service来获得默认事务的控制
*
* @author
*
*/
@Service("baseService")
@Tra... | 25.105263 | 99 | 0.802935 |
404aea6b615e01d36b52abef5e54209648d928c0 | 2,429 | package com.example.shdemo.service;
import static org.junit.Assert.assertEquals;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import org.dbunit.dataset.filter.DefaultColumnFilter;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springfra... | 37.369231 | 89 | 0.814739 |
92104ca561c7f8310e6d392c7b6b9d2b26df72aa | 3,866 | package net.minestom.server.listener;
import net.minestom.server.entity.Player;
import net.minestom.server.inventory.Inventory;
import net.minestom.server.inventory.InventoryClickHandler;
import net.minestom.server.inventory.PlayerInventory;
import net.minestom.server.item.ItemStack;
import net.minestom.server.network... | 40.694737 | 167 | 0.573978 |
deda5bee2a0f20bf95c9f11659950dc1bb9c44df | 1,536 | /*******************************************************************************
* Copyright (c) 2015-2016, Cobweb IO (http://www.cobweb.io) All Rights Reserved.
*
* Cobweb IO licences this file to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with t... | 22.26087 | 93 | 0.60026 |
4afea2103b449c21bc689e0369724e1dc029dd5d | 277 | package models;
/**
* Created by tsmanner on 10/19/2016.
*/
public class Department extends LmsAccessElement {
public Department() { super(); }
public Department(String inName) {
super();
name = inName;
}
public String name;
}
| 18.466667 | 51 | 0.592058 |
89194777ac073087f29e339206c4bfe6f9c45c97 | 815 | package com.example.avs14_asynctask;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import java.util.List;
public class EstudantesList extends AppCompatActivity {
List<Estudante> lEstudante;
@Override
prote... | 30.185185 | 125 | 0.755828 |
704d700396cbbefa184c955dae33340df876929d | 1,706 | package alien4cloud.rest.component;
import alien4cloud.model.components.IndexedArtifactType;
import alien4cloud.model.components.IndexedCapabilityType;
import alien4cloud.model.components.IndexedNodeType;
import alien4cloud.model.components.IndexedRelationshipType;
import alien4cloud.model.components.IndexedToscaEleme... | 38.772727 | 148 | 0.741501 |
bfc03d13cc133ec43be4be261b26ab020b180516 | 1,314 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.core.amqp.implementation;
import org.apache.qpid.proton.message.Message;
/**
* This consists of various utilities needed to manage Request/Response channel.
*/
public class RequestResponseUtils {
... | 32.85 | 84 | 0.70624 |
2616f6e5e467598844793334135f8b3ba7292f7c | 2,251 | /*
* Copyright © 2014 - 2018 Leipzig University (Database Research Group)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | 40.196429 | 92 | 0.766326 |
094009b213ebbb42c0843f5d52dee5faebbc1d18 | 1,965 | /*
* Copyright 2015 florent37, Inc.
* Modifications Copyright(C) 2016 Fred Grott(GrottWorkShop)
*
* 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/LI... | 28.478261 | 93 | 0.748092 |
d482f8714ff8173641a7c8c323d4fdd7453bbaa1 | 1,290 | package Syntax.Thread.ExplicitLock.ReadWriteLock;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.locks.ReadWriteLock;
import java.util.concurrent.locks.ReentrantReadWriteLock;
public class ThreadA {
public static void main(String[] args) {
Map<String, String> map = new HashMap... | 24.807692 | 62 | 0.617829 |
6550ebc9dc0610967254f9b228b7d3a55ec3ef5d | 701 | package com.ocp.feign.ribbon.loadbalancer;
import com.alibaba.cloud.nacos.ribbon.NacosServer;
import com.netflix.loadbalancer.IRule;
import com.ocp.feign.ribbon.loadbalancer.rule.VersionIsolationRule;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfig... | 30.478261 | 81 | 0.787447 |
f548d3ecf2eeb2388495795d01753918927fd84d | 728 | package com.xplusj.tokenizer;
import com.xplusj.ExpressionOperatorDefinitions;
public class DefaultExpressionTokenizer implements ExpressionTokenizer{
private final ExpressionOperatorDefinitions operatorDefinitions;
private DefaultExpressionTokenizer(final ExpressionOperatorDefinitions operatorDefinitions) ... | 31.652174 | 103 | 0.804945 |
5e244cc378d2af8cd5e1f849b8e91c39d0f474e7 | 866 | package cn.copper.mapper;
import cn.copper.domain.requestpPojo.LoginBody;
import cn.copper.pojo.User;
/**
* User的mapper
* @author haojie
* @date 2018/10/02
*/
public interface UserMapper {
/**
* 插入用户
* @param user 用户实体
*/
int insertUser(User user);
/**
* 通过用户名查询用户,并校验密码是否正确
*... | 19.244444 | 51 | 0.608545 |
c68209331cb720ee1b280726fd41863952e224f6 | 839 | /**
* Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending
*/
package io.deephaven.web.client.api;
import jsinterop.annotations.JsMethod;
import javax.annotation.Nonnull;
import java.math.BigInteger;
/**
* Wrap BigInteger values for use in JS. Provides text formatting for display and access to the under... | 20.463415 | 113 | 0.667461 |
0d0ed8de61fc1a4fd6c9de23965aeeff6da9930c | 2,593 | package com.github.hyeyoom.jpashop.controller;
import com.github.hyeyoom.jpashop.domain.item.Book;
import com.github.hyeyoom.jpashop.domain.item.Item;
import com.github.hyeyoom.jpashop.service.ItemService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springframewo... | 33.24359 | 74 | 0.684535 |
b80833e31417b8af52c38a47ebf8b5c29ea21ab2 | 684 | package jcompiler.compiler.standard.statements;
import jcompiler.compiler.JohnnyInstruction;
import jcompiler.compiler.Statement;
import jcompiler.compiler.standard.ConstructStates;
import jcompiler.compiler.standard.statements.expressions.ConditionalExpression;
public class WhileStart implements Statement {
pri... | 27.36 | 80 | 0.75 |
a7ac6aca198c51cfbb18672ddeb4aa5952fb0451 | 518 | package de.fearnixx.jeak.reflect;
import de.fearnixx.jeak.service.mail.ITransportUnit;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Custom injection marker for injecting {@link ITransportUnit}s ... | 25.9 | 78 | 0.793436 |
ee06784272d02bcaf4fe7d19e4d48490d7e15e00 | 14,036 | /*
* Copyright (c) Microsoft. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project root for full license information.
*/
package samples.com.microsoft.azure.sdk.iot;
import com.azure.core.credential.TokenCredential;
import com.azure.identity.ClientSecretCredentialBuilder;
import c... | 46.171053 | 173 | 0.682602 |
5d748d2aaaac159958e37aed34ad3552c520b055 | 1,005 | package application.action;
import bank.Account;
import bank.BankAgency;
import java.util.Locale;
import java.util.Scanner;
public class ActionSeeAccountNumber implements Action {
private String message = "";
private String code = "";
public ActionSeeAccountNumber(String code) {
message = "View ... | 21.847826 | 59 | 0.589055 |
3c6176c66f3b1eb87cf3f8cfad9b70ea0e745c51 | 925 | package org.onetwo.plugins.admin.event;
import org.onetwo.common.utils.LangUtils;
import org.onetwo.plugins.admin.service.impl.AdminUserServiceImpl;
import org.onetwo.plugins.admin.vo.CreateOrUpdateAdminUserRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.Appli... | 26.428571 | 107 | 0.8 |
125d6b07cb6f11bec6cb09acd114e07705a25e52 | 3,128 | /*
* $Id$
*
* SARL is an general-purpose agent programming language.
* More details on http://www.sarl.io
*
* Copyright (C) 2014-2021 the original authors 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 ma... | 31.28 | 126 | 0.70876 |
825795ac37dfa25ba62f88f171882739a44c23bb | 2,829 | /*
* Copyright (C) 2014 barter.li
*
* 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 writi... | 35.3625 | 308 | 0.675857 |
3f623b5cdebac4e4383527af4f1a23552c210979 | 1,258 | package cmcandy.java_language_answers;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
/**
* Created by CHEN on 2020/8/8.
*/
public class _0118 {
static class Solution {
public List<List<Integer>> generate(int numRows) {
// =上一行的 n-... | 26.765957 | 68 | 0.416534 |
07d147be710a00b72fff8edadb3b65612aac7715 | 1,648 | /**
* TLS-Attacker - A Modular Penetration Testing Framework for TLS
*
* Copyright 2014-2022 Ruhr University Bochum, Paderborn University, Hackmanit GmbH
*
* Licensed under Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0.txt
*/
package de.rub.nds.tlsattacker.core.protocol.message.extens... | 31.09434 | 83 | 0.768204 |
fdf1057f874116d7e9eb06fcb7f7d5bb682e0a10 | 372 | package com.rrrent.theia.dao;
import com.alibaba.fastjson.JSONObject;
import java.util.List;
/**
* @author : jack
* @date : 2020/6/27
* @Description:
*/
public interface CommunityDao {
void addCommunity(JSONObject requestJson);
Integer findAllCount();
List<JSONObject> findAllByPage(JSONObject jsonO... | 17.714286 | 58 | 0.72043 |
e3d7e2613d09a8e54523d2aa97c80c132a114201 | 121 | /**
* Contains model classes storing the data of nodes, ports and puzzles.
*/
package hu.progtech.cd2t100.game.model;
| 24.2 | 72 | 0.735537 |
5118f2f7c4b3f05a4676000e8bd89317e46dbf8e | 1,012 | package com.example.movies.ui.movies.details;
import android.content.Intent;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import com.example.movies.databinding.VideoViewHolderBinding;
import com.example.movies.model.Video;
public class VideoViewHolder extends RecyclerView.ViewHol... | 28.111111 | 65 | 0.651186 |
81302870a88b6fdb42f1b1e10379eab53d22fe37 | 4,290 | /*
* This file is generated by jOOQ.
*/
package de.quinscape.automatontest.domain.tables;
import de.quinscape.automatontest.domain.Indexes;
import de.quinscape.automatontest.domain.Keys;
import de.quinscape.automatontest.domain.Public;
import de.quinscape.automatontest.domain.tables.records.QuxMidRecord;
import jav... | 24.101124 | 143 | 0.629837 |
640187bde21b58b5e301be8d48aa33befd6a7f7d | 4,326 | package com.example.android.meetwarsaw;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.widget.ListView;
import java.util.ArrayList;
/**
* Food and Drinks Activity - list of interesting locations.
*/
public class FoodActivity ex... | 47.021739 | 100 | 0.654415 |
145fedde78ec373bc0f3bf4a589912cb480d74b2 | 3,135 | /*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 38.231707 | 96 | 0.671451 |
116c85f380629fe1925c8e212ccf4e8a324a2e58 | 1,655 | package p455w0rd.endermanevo.client.render;
import java.util.List;
import javax.vecmath.Matrix4f;
import org.apache.commons.lang3.tuple.Pair;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.renderer.block.model.*;
import net.minecraft.client.renderer.block.model.ItemCameraTransforms.Transf... | 22.986111 | 99 | 0.778852 |
c2a8989251d3e6ce7e3e70aaf38c3aa3fefc18b0 | 667 | package com.tandogan.geostuff.opencagedata.entity;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
@JsonIgnoreProperties(ignoreUnknown = true)
@Getter
@Setter
public class OpencageComponent
{
private St... | 20.212121 | 61 | 0.76012 |
ad01402bd8e879681e66b5df62a4f994b9df1aa6 | 402 | package model.commands.regular_operations;
import model.commands.Command;
/**
*
* @author jeffreyli andrew
* returns 1 if the value of expr1 is strictly less than the
* returns 1 if test1 or test2 are non-zero, otherwise 0
*/
public class Not extends Command {
public Not() {
super(1);
}
@Overrid... | 18.272727 | 64 | 0.674129 |
10200928e3d52ffdfdde0e83e621f65fcddd6407 | 1,560 | /**
*
*/
package querqy.solr;
import java.io.IOException;
import org.apache.lucene.analysis.util.ResourceLoader;
import org.apache.solr.common.SolrException;
import org.apache.solr.common.params.SolrParams;
import org.apache.solr.common.util.NamedList;
import org.apache.solr.request.SolrQueryRequest;
import querq... | 31.836735 | 118 | 0.740385 |
4df3ef0ea616082fa39fb01b043cd36feb378b9e | 436 | package org.infinispan.query.dsl;
/**
* A context for ranges. Allow specifying if the bounds are included or not. They are included by default. This context
* is considered completed.
*
* @author anistor@redhat.com
* @since 6.0
*/
public interface RangeConditionContext extends FilterConditionContext {
RangeC... | 27.25 | 119 | 0.78211 |
162916ef2e8c5c46f309922f37c84283d4ce58d2 | 1,511 | package com.seudev.overjax.core.model.message;
import java.util.Objects;
/**
* @author Thomás Sousa Silva (ThomasSousa96)
*/
public class CustomMessageType implements MessageType {
private static final long serialVersionUID = -2289979904631267170L;
private final String ID;
private final String NAM... | 23.246154 | 104 | 0.593647 |
7185d3027b8122f465007525cd4017fc0cdcce1e | 4,844 | package com.sysdo.model;
import org.hibernate.annotations.CreationTimestamp;
import javax.persistence.*;
import java.util.Date;
@Entity
@Table( name = "devices" )
public class Device {
@Id @GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private String devicename;
private String ... | 25.361257 | 205 | 0.632948 |
e64b1b79b6706434eb389a98b97bc433ebd19a98 | 2,650 | package com.ruoyi.system.service;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.ruoyi.common.core.domain.TreeSelect;
import com.ruoyi.common.core.domain.entity.SysDept;
/**
* 部门管理 服务层
*
* @author ruoyi
*/
public interface ISysDeptService {
/**
* 查询部门管理数据
*
* @param de... | 16.878981 | 74 | 0.655849 |
4265ee56e7f4f6009bf5519d2d9cb670b771cca9 | 2,382 | package Store;
import com.yudy.heze.store.block.BasicTopicQueueBlock;
import com.yudy.heze.store.index.BasicTopicQueueIndex;
import org.junit.*;
import org.junit.runners.MethodSorters;
import java.io.File;
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class BasicBlockTest {
static private BasicTopicQueue... | 29.775 | 134 | 0.667506 |
0a78ea5fc7287614972a0a5ba2fd096cccf48e23 | 1,958 | /*
Derby - Class org.apache.derby.impl.sql.execute.GrantRevokeConstantAction
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... | 29.666667 | 76 | 0.762002 |
f707cd3a0e0bebeed062091c31dd8d47652660e3 | 8,685 | /*
* Copyright (C) 2017 Dremio 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... | 33.662791 | 172 | 0.628555 |
0a27a7ebb319b524b824ae02ffc4086548cb03e7 | 4,474 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | 46.123711 | 122 | 0.665177 |
2115454e6bb2919ea9c9a565c2e0cf92c7c0507c | 1,664 | package com.alivc.base;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang3.StringUtils;
import org.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import io.jsonwebtoken.Claims;
/**
* ClassName: AuthTokenGetUtil <br/>
* Function: TODO authtoken util. <br/>
*... | 26 | 82 | 0.711538 |
009dfb1e65a7ffc0d6a1bb0179901dfa42222616 | 492 | package com.google.android.gms.internal.ads;
import android.os.IBinder;
import android.os.Parcel;
public final class i60 extends fz implements g60 {
i60(IBinder iBinder) {
super(iBinder, "com.google.android.gms.ads.internal.client.ICorrelationIdProvider");
}
@Override // com.google.android.gms.in... | 25.894737 | 92 | 0.660569 |
701b2a583e8013ef27f24b5dcde354beb240be65 | 3,957 | /*
* Copyright 2019 Netflix, 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 t... | 34.408696 | 101 | 0.616376 |
e1b59a48e1c4607391d8a3e613e578704ce650a4 | 1,028 | package org.mockserver.templates.engine.velocity.directives;
import org.apache.velocity.context.InternalContextAdapter;
import org.apache.velocity.exception.MethodInvocationException;
import org.apache.velocity.exception.ParseErrorException;
import org.apache.velocity.exception.ResourceNotFoundException;
import org.ap... | 32.125 | 179 | 0.740272 |
2401519940e5548e0d4992ec790150562628c330 | 7,119 | /*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 39.994382 | 99 | 0.758393 |
05ce2415fff97190fb8a4ef2be9c6eaed4b6977b | 1,378 | package com.arnaugarcia.ars.ui.controller;
import com.arnaugarcia.ars.ui.component.ActiveRoute;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.ScrollPane;
import javafx.scene.layout.VBox;
import net.rgielen.fxweaver.core.FxWeaver;
import net.rgielen.fxweaver.core.FxmlView;
impor... | 30.622222 | 88 | 0.776488 |
122d5b64562ea4169c88f9a623a9ca21255b31a7 | 6,412 | import model.image.IImage;
import model.image.IPixel;
import model.image.RGBImage;
import model.image.RGBPixel;
import model.imagecreator.CheckerboardImageCreator;
import org.junit.Before;
import org.junit.Test;
import java.awt.Color;
import static org.junit.Assert.assertEquals;
/** Test class for RGBImage: unit te... | 39.337423 | 99 | 0.615565 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.