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
062047e13278458c246c0efbff34a9af352c8e7b
1,634
package com.project.tests; import static org.junit.jupiter.api.Assertions.*; import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.List; import java.util.Scanner; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter....
20.683544
84
0.70869
319d70e077891fdf6e5065b80d94327254b23b09
2,764
/* * Copyright 2014-2018 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
44.580645
120
0.759407
4ea25b0eda1d777b73ecc0ff73ecbf41b104cbb7
3,304
package com.metova.android.test.util; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import android.test.AndroidTestCase; import com.metova.android.util.Streams; public class StreamsTest extends AndroidTestCase { private static final by...
27.305785
95
0.62954
83fe4e44532c0b68e505b1e06ab40ff2851e22d0
5,620
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.apach...
30.543478
148
0.680249
d5c553bdbc57f5b28d9d982bf407fa8eac2fd216
4,723
package io.github.maasencioh.conecta4; import java.util.Arrays; /** * Project: Conecta4 * Created by maasencioh */ public class Game { // board of the game private int emptyPlaces; private int rows = 6; private int columns = 7; private int board [][] = new int[rows][columns]; public int le...
30.470968
105
0.479356
0adab1923411d12dc26a6b7b4535878820582cbb
2,140
package com.socman.data.orm; import java.io.Serializable; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.p...
22.526316
58
0.71729
8babf959a0081478f22420060df4cfa61f2813d8
21,782
package org.ldk.structs; import org.ldk.impl.bindings; import org.ldk.enums.*; import org.ldk.util.*; import java.util.Arrays; import java.lang.ref.Reference; import javax.annotation.Nullable; /** * Details of a channel, as returned by ChannelManager::list_channels and ChannelManager::list_usable_channels */ @Supp...
42.377432
533
0.759297
0995fa1489a24590b5362906af8d69fa1af8ead5
4,996
package org.code4everything.wetool.plugin.everywhere.config; import cn.hutool.core.collection.CollUtil; import cn.hutool.core.io.FileUtil; import cn.hutool.core.util.NumberUtil; import cn.hutool.core.util.ObjectUtil; import cn.hutool.core.util.StrUtil; import com.alibaba.fastjson.JSON; import lombok.*; import lombok.e...
28.548571
116
0.636509
24fdfcd9ac4598616ca10959c8608ba2a30d9395
1,185
package ru.job4j.threads; /** * Class CountChar описывает задачу подсчета символов в строке.. * * @author Timur Kapkaev (timur.kap@yandex.ru) * @version $Id$ * @since 04.08.2017 */ public class CountChar implements Runnable { /** * Заданный текст. */ private final String[] text; /** ...
20.789474
72
0.544304
62d21b486361237b2591f055a56e463ab8956717
2,170
/*- * ============LICENSE_START======================================================= * sdc-dcae-d-dt-be-property * ================================================================================ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved. * ======================================...
27.820513
83
0.625346
1004cf58a4d47f22b1ede21c4555cac613d810d5
242
package model; import util.StreamUtil; public enum MineState { PREPARING(0), IDLE(1), TRIGGERED(2), EXPLODED(3); public int discriminant; MineState(int discriminant) { this.discriminant = discriminant; } }
16.133333
39
0.652893
4e88d3649f588656677202a4e95bc5d0b69ab6de
1,043
package com.zhku.module.analysis; import com.zhku.module.analysis.impl.BaseClassAnalysiser; import com.zhku.module.analysis.impl.CourseBasicalInfoAnalysiser; import com.zhku.module.analysis.impl.OrganizationAnalysiser; import com.zhku.module.analysis.impl.SelectorValueAnalysiser; import com.zhku.module.analysis.impl.T...
29.8
77
0.818792
a51079108f323c1bf5846bf21b1b88c583d7213d
511
/** * LdOperationService.java * (C) 2015, Hitachi, Ltd. */ package org.o3project.mlo.psdtnc.logic; import org.o3project.mlo.server.dto.LdTopoDto; /** * LdOperationService * */ public interface LdOperationService { void doStart() throws LdOperationException; void doStop() throws LdOperationException; In...
20.44
81
0.774951
a01470e888d76ef183a61266b9290950a3e0ca9f
23,359
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|// Copyright (C) 2018 The Android Open Source Project end_comment begin_comment comment|// end_comment begin_comment comment|// Licensed under the Apache License, Version 2.0 (the "License"); end_comment begin_comment comment|// you m...
13.87114
391
0.815531
6ec6c3d974a40746b66b00a1e0074ebec1b8709b
1,656
// Copyright Eagle Legacy Modernization, LLC, 2010-date // Original author: Steven A. O'Hara, Oct 23, 2015 package com.eagle.programmar.JavaP; import com.eagle.programmar.JavaP.Terminals.JavaP_Identifier; import com.eagle.programmar.JavaP.Terminals.JavaP_LClassName; import com.eagle.programmar.JavaP.Terminals.JavaP_P...
33.12
88
0.791667
4c14877764b1e6681b460651a30204057a6d4dfb
4,842
/* * 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");...
34.098592
113
0.682776
c87200e127c6bfb7f83be70ae63450b3015f78a1
560
package uk.gov.hmcts.reform.da.dacase.validation; import org.junit.jupiter.api.Test; import uk.gov.hmcts.reform.da.dacase.model.CaseData; import java.util.List; import static org.assertj.core.api.AssertionsForInterfaceTypes.assertThat; import static uk.gov.hmcts.reform.da.dacase.validation.ApplicationValidation.vali...
28
91
0.758929
6e9b900d078fc7b37a09e170abef2fb664ca94af
2,273
/* * Copyright (c) 2002-2015 mgm technology partners GmbH * * 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 ap...
31.569444
121
0.74835
9ff2976d6c6107892718b8e2130a090954e98e97
3,360
import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("li") @Implements("Bounds") public class Bounds { @ObfuscatedName("e") @Export("It...
22.4
61
0.596726
7e8eaaf37eea6613968d14d235522969867ed4ad
3,261
package com.mattworzala.debug.test; import com.mattworzala.debug.DebugMessage; import com.mattworzala.debug.shape.Shape; import net.minestom.server.MinecraftServer; import net.minestom.server.coordinate.Pos; import net.minestom.server.coordinate.Vec; import net.minestom.server.entity.Player; import net.minestom.server...
39.289157
98
0.593376
bf97bd8e49890daad30e7bd4bee8b23327b0549c
424
package ActiveObject.A2.activeobject; class AddRequest extends MethodRequest { private final String x; private final String y; public AddRequest(Servant servant, FutureResult future, String x, String y) { super(servant, future); this.x = x; this.y = y; } public voi...
26.5
82
0.613208
8561664999b7caeded14ae7fa3199399078046a3
900
package top.wuareb.blog.domain.vo.comment; import java.util.List; public class CommentCustom extends Comment { @Override public String toString() { return "CommentCustom [replyList=" + replyList + ", userUrl=" + userUrl + ", username=" + username + "]"; } private String username; private String userUrl; p...
21.428571
73
0.715556
d159c393dab7d101ba6fbf3929140224c9b80494
690
package com.leone.boot.jpa.service; import com.leone.boot.jpa.entity.User; import com.leone.boot.jpa.repository.UserRepository; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * <p> * * @author leone * @since 2018...
17.692308
62
0.663768
1ea8994eb9a7a6076f189b44a494b99d5379537a
3,278
/*- * ============LICENSE_START======================================================= * Copyright (C) 2019 Samsung Electronics Co., Ltd. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you ...
27.316667
93
0.636669
cd38d4219df783312e2e6b4632c094d40038a868
423
package org.jeecg.modules.demo.exTableERP.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import org.jeecg.modules.demo.exTableERP.entity.ExperimentMainERP; import com.baomidou.mybatisplus.core.mapper.BaseMapper; /** * @Description: 实验数据主表 * @Author: jeecg-boot * @Date: 2021-08-21 * ...
23.5
80
0.777778
e86d588a354f7bb18a15e62e9ec16fffa0c913a0
828
package com.xeiam.xchange.examples.coinbaseex.marketdata; import com.xeiam.xchange.coinbaseex.CoinbaseExExchange; import com.xeiam.xchange.coinbaseex.service.polling.CoinbaseExMarketDataService; import com.xeiam.xchange.currency.CurrencyPair; import com.xeiam.xchange.dto.marketdata.Ticker; /** * Created by Yingzhe o...
37.636364
121
0.801932
962a88fdd2966359ad7db957c4f53cc11f62dd31
1,359
package com.rotanava.framework.exception.code; import com.rotanava.framework.code.ErrorCode; /** * 错误类型:第三方设备服务问题 * 类别码 04 * * @author: richenLi * @create: 2020-07-06 09:43 **/ public interface DeviceErrorCode { ErrorCode DEVICE_ERROR_00 = new ErrorCode(130400, "无法连接到设备,请检查该设备IP是否正确"); ErrorCode DEVICE_...
45.3
80
0.74908
92c6412998ab569470b2511f6fe0f5a224c60de5
9,827
package com.ppdai.infrastructure.mq.biz.service.impl; import java.util.Date; import java.util.HashMap; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.codahale.metrics.Gauge; import com.ppdai.infrastructure.mq.biz.common.SoaConfig; import com.ppdai.infrastructure.mq.biz.comm...
33.42517
116
0.569859
de7068c5f8d4cc0d47e3fe9f5b339b66957c1c33
452
package com.xtremelabs.robolectric.shadows; import android.bluetooth.BluetoothDevice; import com.xtremelabs.robolectric.internal.Implementation; import com.xtremelabs.robolectric.internal.Implements; @Implements(BluetoothDevice.class) public class ShadowBluetoothDevice { private String name; public void set...
21.52381
58
0.743363
61c2a9f4b43653ee30c7064f7e2b909b6f80a940
2,278
package br.com.caelum.stella.gateway.amex; import java.math.BigInteger; import javax.servlet.http.HttpServletRequest; import br.com.caelum.stella.gateway.core.BigDecimalFormatter; import br.com.caelum.stella.gateway.core.EnumComCodigoFinder; import br.com.caelum.stella.gateway.core.IntegrationHandler; impor...
39.275862
75
0.756804
41d411d5ef73a4761a8af812cc7ab7d6b2ea9ae2
4,778
package ru.job4j.jobseeker.web; import com.google.inject.Inject; import com.google.inject.Provider; import org.slf4j.Logger; import ru.job4j.jobseeker.model.User; import ru.job4j.jobseeker.service.UserService; import ru.job4j.jobseeker.web.security.AuthManager; import javax.servlet.ServletException; import javax.serv...
30.628205
113
0.657597
50378e44724608cf3495c6740a737058522b8932
7,257
/* * Copyright 1998-2009 University Corporation for Atmospheric Research/Unidata * * Portions of this software were developed by the Unidata Program at the * University Corporation for Atmospheric Research. * * Access and use of this software shall impose the following obligations * and understandings on the use...
31.689956
85
0.626705
e6bfdf2ea6767f30515e2dda71d7588a3dc6ab52
543
package com.vandendaelen.depthmeter.items; import com.vandendaelen.depthmeter.DepthMeter; import net.minecraft.item.Item; import net.minecraftforge.fml.RegistryObject; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; public class DepthMeterItems { public...
38.785714
120
0.830571
ff2694f1388477ca3acb38b0b138597bbb9d5129
1,595
package xml.model_factories; import models.settings.SimulationSettings; import resources.ResourceBundleHandler; import xml.XMLFactory; /** * A class to deal with creating simulation settings from XML * @author matthewfaw * */ public class SimulationSettingsFactory extends XMLFactory { private static final String...
33.229167
126
0.801881
18a390fa6de0f21544cbb1fe15963a8334bd4a8a
582
package org.eaSTars.z80asm.assembler.visitors.oneparam; import org.eaSTars.z80asm.ast.instructions.oneparam.SUB; import org.eaSTars.z80asm.parser.Z80AssemblerParser.InstructionSUBANDXORORCPparametersContext; import org.eaSTars.z80asm.parser.Z80AssemblerParser.SUBContext; public class SUBVisitor extends SUBANDXORORCPV...
29.1
95
0.831615
49addf8414c850907a62c49287b9dc0a5b067897
2,530
package courses.config; import courses.security.CustomAuthenticationSuccessHandler; import courses.service.impl.UserDetailsServiceImpl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import ...
38.333333
107
0.741107
f74c9c1ed7d5d4c92214c6530f07badf015ee7b8
2,829
package cc.oauth.jpa.service.impl; import cc.oauth.jpa.domain.Permission; import cc.oauth.jpa.domain.Role; import cc.oauth.jpa.domain.UserInfo; import cc.oauth.jpa.domain.view.PermissionView; import cc.oauth.jpa.domain.view.RoleView; import cc.oauth.jpa.repository.PermissionRepository; import cc.oauth.jpa.repository.R...
31.786517
109
0.735949
3616d60c3681833c715996092ebcf5b796b545e5
19,161
package org.tdar.struts.action.search; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang3.NotImplementedException; import org.apache.struts2.convention.annotation.Action; impo...
38.787449
159
0.696258
0b7d0e7a0529c9a67544b89eca3471d955178b64
6,653
/* * Copyright (c) 2003, The Joust Project * 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, thi...
41.067901
80
0.686457
1699f4ff45c29dc96265c55ef83a8b7f80cb523f
1,792
package com.github.yuweiguocn.greendao; import org.greenrobot.greendao.generator.DaoGenerator; import org.greenrobot.greendao.generator.Entity; import org.greenrobot.greendao.generator.Schema; public class MyDaoGenerator { public static void main(String[] args) throws Exception { Schema schema = new Sche...
38.956522
97
0.694196
4d9fc31dc89b809eb3b534a5c35c2709b859827a
3,294
package id.aliqornan.themovie.data; import android.content.ContentProvider; import android.content.ContentUris; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import android.ne...
32.294118
171
0.659684
5d748b5e87be98b29a92c7544017bd15ebca44a8
1,878
package com.reactnativenavigation.react; import android.support.annotation.NonNull; import com.facebook.react.bridge.Arguments; import com.facebook.react.bridge.ReactContext; import com.facebook.react.bridge.WritableMap; import com.facebook.react.modules.core.DeviceEventManagerModule; import static com.facebook.reac...
31.3
96
0.792865
a10aad75853618c49f598937756eb1a5af228229
817
package sblectric.lightningcraft.init; import sblectric.lightningcraft.config.LCConfig; import sblectric.lightningcraft.dimensions.LCWorldProviderUnderworld; import net.minecraft.world.DimensionType; import net.minecraftforge.common.DimensionManager; /** Dimension registry */ public class LCDimensions { public sta...
31.423077
123
0.816401
5a10bf7d49df57642b3f9c1de870b623a7d5f9ca
608
package com.Shop.Model; import javax.persistence.*; /** * Created by Administrator on 2016/4/25 0025. */ @Entity @Table public class Logistic { private String logis_comp_id; private String logis_comp_name; @Id public String getLogis_comp_id() { return logis_comp_id; } public void s...
19.612903
60
0.6875
1db467ebb9595ba524bd12ea0a9e7766cd8ed6ed
1,029
package org.adligo.i.util_tests.shared.mocks; import org.adligo.i.util.shared.I_Factory; import org.adligo.i.util.shared.MapFactory; import org.adligo.i.util_tests.shared.MockMap; public class MockMapFactory extends MapFactory implements I_Factory { public enum INIT_TYPES { BOTH_NULL, NULL_IMUTE, NULL_ME, NULL_S...
22.369565
69
0.72206
5799f9b6155db6e413d8a49f88c1c5f32f69e531
1,486
package net.minecraft.client.gui.inventory; import net.aHz; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.resources.I18n; import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.inventory.ContainerWorkbench; import net.minecraft.util.BlockPos; import net.minecraft.ut...
41.277778
134
0.744953
45fb8339b4f2309ac0f4c0f6a7640974b5df5934
4,969
/* * Created on Mar 7, 2005 * * To change the template for this generated file go to * Window - Preferences - Java - Code Generation - Code and Comments */ package yaes.framework.agent; /** * @author Lotzi Boloni * * A generic implementation for an interagent communication message - * approxi...
27.91573
83
0.600322
4129745245b9f4cba2128626bdd893fc76d118b5
6,273
package cn.wyu.DaoImple; import cn.wyu.Dao.ResourceDao; import cn.wyu.Domain.Resource; import cn.wyu.bean.PageInfo; import cn.wyu.db.PreparedStatementCreator; import cn.wyu.db.RowCallbackHandler; import cn.wyu.db.jdbcTemplate; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; i...
39.45283
111
0.623625
62420887617a7fa929a1501ecb3de69032ae4161
35,029
package org.irods.jargon.core.pub; import java.util.List; import java.util.Properties; import org.irods.jargon.core.connection.IRODSAccount; import org.irods.jargon.core.connection.IRODSProtocolManager; import org.irods.jargon.core.connection.IRODSSession; import org.irods.jargon.core.connection.IRODSSimpleProtocolMa...
40.731395
114
0.819578
94b0bcb75aca1b8911195b6970d64617d67b9e58
2,200
package com.haohan.platform.service.sys.modules.xiaodian.entity.delivery; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.haohan.platform.service.sys.common.persistence.DataEntity; import org.hibernate.validator.constraints.Length; import java.math.BigDecimal; /** * 服务选项管理Entity * @author ...
23.655914
73
0.746364
a0c58d25bcd39ec040e37fd1719572906f2b3338
1,797
package kr.pe.kwonnam.hibernate4localdatetime.entities; import kr.pe.kwonnam.hibernate4localdatetime.StringLocalTimeUserType; import org.hibernate.annotations.Parameter; import org.hibernate.annotations.Type; import javax.persistence.*; import java.time.LocalTime; @Entity @Table(name = "string_local_time_entities") ...
25.671429
98
0.667223
abef70ffbcef33cd2747b85fd306344834545ace
3,635
/* * The MIT License * * Copyright 2017 Artur Czartoryski <artur at czartoryski.wroclaw.pl>. * * 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 restriction, including wit...
39.945055
95
0.753783
e409060f2c56213e957c36822a0d29d0d5d41272
3,197
/* * HE_Mesh Frederik Vanhoutte - www.wblut.com * https://github.com/wblut/HE_Mesh * A Processing/Java library for for creating and manipulating polygonal meshes. * Public Domain: http://creativecommons.org/publicdomain/zero/1.0/ */ package wblut.hemesh; import wblut.geom.WB_Geodesic; import wblut.geom.WB_Geodesi...
18.91716
85
0.63497
88f5ece01844efe39acb5ad0f2b71280745ab506
8,170
package com.rbkmoney.schedulator.service.impl; import com.rbkmoney.damsel.domain.BusinessSchedule; import com.rbkmoney.damsel.domain.Calendar; import com.rbkmoney.damsel.schedule.*; import com.rbkmoney.geck.common.util.TypeUtil; import com.rbkmoney.schedulator.backoff.JobExponentialBackOff; import com.rbkmoney.schedul...
50.432099
113
0.716157
bf34ac14cf587340dcc6bfd71fdb3779da6ad6a2
3,781
/* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
50.413333
158
0.754562
dee3b2a7f9c88886915f5c7f7f01e8180654b6d7
6,529
package sh.komet.gui.control.component; import javafx.beans.property.ReadOnlyObjectProperty; import javafx.collections.ObservableList; import javafx.event.ActionEvent; import javafx.geometry.Orientation; import javafx.scene.Node; import javafx.scene.control.*; import javafx.scene.layout.AnchorPane; import javafx.scene...
44.719178
131
0.721703
a25cb3cfc5e59b0ec07b61f9264d5cec2f4ea3af
1,622
package com.openfaas.function; import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Mapper; import org.apache.lucene.util.SloppyMath; import java.io.IOException; // A mapper class converting each line of inp...
41.589744
160
0.702219
be5f362022f33a95db3779fd8f250a6a668b3a98
1,240
package org.arquillian.cube.docker.impl.docker.cube; import java.io.FileInputStream; import java.io.IOException; import java.nio.file.Path; import org.arquillian.cube.docker.impl.client.Converter; import org.arquillian.cube.docker.impl.client.config.DockerCompositions; import org.arquillian.cube.docker.impl.util.Conf...
29.52381
77
0.722581
622a4f7134fd2720f3dad84b4a9497c5dbbc3df1
13,920
/* * Copyright 2012-2014 Dan Cioca * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
39.322034
174
0.64648
099f079f78984f1c3ebab642948cbaf668447a62
3,067
package cmput301t4.gameswap.Activities; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.ListView; import android.widget.Toast; import java.util.ArrayList; import...
34.460674
138
0.68536
ce4ba3783277f93e72829a04d08d735010e70aa7
2,052
package me.rhys.bedrock.checks.movement.nofall; import me.rhys.bedrock.base.check.api.Check; import me.rhys.bedrock.base.check.api.CheckInformation; import me.rhys.bedrock.base.event.PacketEvent; import me.rhys.bedrock.base.user.User; import me.rhys.bedrock.tinyprotocol.api.Packet; @CheckInformation(checkName = "NoFa...
34.2
108
0.512183
0933fb858b0017eb6b01f22753fd7d7741035ac4
5,642
/* * Copyright (C) 2016 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.180556
100
0.753811
4c5f2628177f7f487ffc9a19960de372dd928c06
157
package cap18.pag448; import javax.swing.*; import java.io.Serializable; public interface Service extends Serializable { public JPanel getGuiPanel(); }
19.625
47
0.77707
f745c402a98a27719d2fa980bf49775f1f04a6c3
7,583
package com.haulmont.sample.petclinic.core; import static java.util.Arrays.asList; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.lenient; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; impor...
31.205761
113
0.65238
10b7667068cde51351167c80607389315b20ed70
3,659
/* * 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 ...
30.491667
97
0.757311
ae31511a7b718a104dc62619b9a199ff3bfb04c4
881
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.management.containerregistry.implementation; import com.azure.management.containerregistry.BaseImageDependency; import com.azure.management.containerregistry.RegistryTaskStep; import com.azure.management....
31.464286
66
0.788876
d06667f9e98a73a9a971f05fac1422d23ed9d9f9
2,392
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. package ai.deepcode.jbplugin.ui; import ai.deepcode.jbplugin.ui.nodes.TodoFileNode; import ai.deepcode.jbplugin.core.DeepCodeUtils; import com.intellij.ide.projectView.Projec...
39.866667
112
0.705268
c641e03fb424e2eab312892d29eb740ab338a968
4,818
/* * Copyright (c) 2010-2014. Axon Framework * * 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 ...
43.8
130
0.733084
4ba5898a03329a8fa2eb2360c6a015ca2c594d16
6,384
package com.dyc.youthvibe.fragments; import android.Manifest; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentTransaction; import android.view.LayoutInflater; import android.view.View; import android.view.Vi...
29.831776
148
0.62359
8cbded8e9d813d7b9f81d765dc26af7c48e6204a
1,114
package com.kb.Module.AppFrame; import android.app.Application; import android.content.Context; import com.kb.Module.Entry.MainEntry; /** * @url https://www.cnblogs.com/hello-studio/p/9640787.html * @brief Android 获取静态上下文(Application) * @brief 模块自定义的 Application */ public class MyApplication extends Application ...
21.843137
62
0.666966
82f8eb4a1b70f9823cb1fc34f3d98a2c6992e17c
4,765
package com.dmall.component.web.log; import cn.hutool.core.util.StrUtil; import com.dmall.common.constants.Constants; import com.dmall.common.model.admin.AdminUserContextHolder; import com.dmall.common.model.admin.AdminUserDTO; import com.dmall.common.model.portal.PortalMemberContextHolder; import com.dmall.common.mod...
38.739837
116
0.63106
c66ea258014168cfd8f9ed4410e53d554f277412
2,038
package redis.clients.jedis.search; import java.util.List; import redis.clients.jedis.CommandArguments; import redis.clients.jedis.params.IParams; import redis.clients.jedis.util.SafeEncoder; public class FieldName implements IParams { private static final String AS_ENCODED = "AS"; private static final byte[] A...
21.680851
73
0.65947
67d5a27bc382f344c8b3bf72d3a1c62c925cc660
4,694
package com.sillykid.app.utils; import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Build; import android.os.Environment; import android.provider.MediaStore; import android.support.v4.con...
32.372414
131
0.612697
fb5c88dd0b5617d58eb60669599b71a8277b2f70
652
package com.holonplatform.core.internal.utils; import java.io.Serializable; /** * Common messages constants. */ public final class CommonMessages implements Serializable { private static final long serialVersionUID = 738515982995552833L; public static final String MSG_PROPERTY_NOT_NULL = "Property must be not ...
27.166667
90
0.77454
7f76e95275f32fb8645e5753ae4cecc32763e762
5,603
/* Derby - Class org.apache.derbyTesting.functionTests.tests.store.TestRoutines 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 t...
32.575581
262
0.715867
f7a7cae70478c83ec361e2185a9f30bfd730ad36
1,335
package com.github.jknack.handlebars.maven; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import org.apache.maven.artifact.DependencyResolutionRequiredException; import org.apache.maven.project.MavenProject; import org.codehaus.plexus.util...
32.560976
125
0.755805
3d2ddfce56932da73fd728c4573c8623d4306b88
17,997
/* * ContentDigestManager.java 23 mai 2014 * * Sweet Home 3D, Copyright (c) 2014 Emmanuel PUYBARET / eTeks <info@eteks.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either versio...
37.107216
120
0.64433
5d556458915046881b0ded9bab796c8eb148046e
239
package com.les.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.les.pojo.Bookmark; import org.springframework.stereotype.Repository; @Repository public interface BookmarkMapper extends BaseMapper<Bookmark> { }
23.9
62
0.832636
b635b9f5d54bdfd660136534694e03f91ef58541
1,049
package com.qz.djmall.product.service.impl; import org.springframework.stereotype.Service; import java.util.Map; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.qz.com...
36.172414
142
0.78265
dae1b45e99d2a3d80b014dd329b5d6950d301e2d
7,743
/** * Copyright (c) 2014 Richard Warburton (richard.warburton@gmail.com) * <p> * 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 restriction, * including without limitation the right...
42.311475
108
0.768694
ee016137cded23f92655e4243a2ab98ce213a528
1,402
import java.net.*; import java.io.*; public class UDPServer{ public static void main(String args[]){ //args[0] is port number (ex. 1234) // Exit if incorrect number of arguements were passed in if(args.length != 1) { System.out.println("Proper Usage is: java UDPServer port"); ...
35.948718
139
0.562767
41b614d6a500d5bf5afdb31f5ae2cdaa797817f9
2,061
/* * Copyright 2014 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 applicable l...
29.442857
103
0.770015
4cb1b22d09704952195136aa8fd3ba9cef7f50e3
3,422
/* * 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 ...
34.22
113
0.749854
e24962d1ee649a5cde682da60a5f43e8c9c793b6
311
package org.kylin.service.exporter; import lombok.AllArgsConstructor; import lombok.Getter; import org.apache.poi.xwpf.usermodel.XWPFDocument; @Getter @AllArgsConstructor public class DocHolder { private XWPFDocument document; public DocHolder() { this.document = new XWPFDocument(); } }
19.4375
50
0.752412
440ec6dd377167c36c6fe4088a093258319d07cb
2,018
package com.link.springforms.domain; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.pers...
20.18
68
0.660059
f136e9e1b3e8dba1b16704101dfe5b4cd2ebd80e
599
package com.github.thiagogarbazza.training.springangular.adapter; import com.github.thiagogarbazza.training.springangular.util.UtilConfiguration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Import; import org.springframework.context.annotation.PropertySour...
39.933333
92
0.851419
147a5804e500d2e54133601888dea1a24c0ab96a
2,613
/* * DBeaver - Universal Database Manager * Copyright (C) 2016 Karl Griesser (fullref@gmail.com) * Copyright (C) 2010-2020 DBeaver Corp and others * * 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 ...
32.259259
112
0.767317
98d5aec4b8e3c856c8d7709284f33a6525f0a8fc
6,336
/** * Copyright (C) Grzegorz Skorupa 2018. * Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT). */ package com.signomix.in.http; import com.signomix.event.AlertApiEvent; import org.cricketmsf.Adapter; import java.util.HashMap; import org.cricketmsf.RequestObject; import org...
41.411765
104
0.580335
7464c2d5875e0dc2e302908323ba12b5112530d0
2,865
/* * XML Type: FailureType * Namespace: http://www.apache.org/ode/pmapi/types/2006/08/02/ * Java type: org.apache.ode.bpel.pmapi.FailureType * * Automatically generated - do not modify. */ package org.apache.ode.bpel.pmapi.impl; /** * An XML FailureType(@http://www.apache.org/ode/pmapi/types/2006/08/02/). * *...
30.478723
139
0.591972
aad6bfa37c03c5dc187807dccf936caa92d07a13
1,246
package org.cipres.treebase.domain.matrix; import javax.persistence.Column; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; /** * RealCharWeight.java * * Created on Mar 27, 2006 * * @author Jin Ruan * */ @Entity @DiscriminatorValue("R") public class RealCharWeig...
17.549296
92
0.647673
eccf8d09ed7eb407f243714e3eead46348bd3179
997
/** * */ package automata.svpa; import java.util.Stack; import org.sat4j.specs.TimeoutException; import theory.BooleanAlgebra; import utilities.Pair; public abstract class SVPAMove<U,S> implements Cloneable{ public Integer from; public Integer to; Tag type; protected SVPAMove(Integer from, Integer to,...
22.659091
114
0.75326
b6bc4dd89cbeb02c0641b9af71d766f633512d20
7,670
//package eu.ginere.base.util.notification; // //import java.text.SimpleDateFormat; //import java.util.Date; // //import org.apache.commons.lang.builder.ToStringBuilder; //import org.apache.commons.lang.exception.ExceptionUtils; // //import eu.ginere.base.util.dao.DaoManagerException; //import eu.ginere.base.util.mail....
27.102473
133
0.678096
d70be536a44ddc12c21adc442c89b680695a5309
4,929
package quests; import l2f.gameserver.cache.HtmCache; import l2f.gameserver.model.base.Race; import l2f.gameserver.model.instances.NpcInstance; import l2f.gameserver.model.quest.Quest; import l2f.gameserver.model.quest.QuestState; import l2f.gameserver.scripts.ScriptFile; public class _178_IconicTrinity extends Quest...
28.656977
255
0.630351
c950a8174da297eac91312e319e448275cc50607
11,078
/* * 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...
40.137681
98
0.724589
6c0e711a409b52fe0325d454e01baa6eb475a517
1,470
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.util.xml; import net.n3.nanoxml.IXMLBuilder; import org.jetbrains.annotations.Nullable; import java.io.Reader; @SuppressWarnings("RedundantThrows") public ...
36.75
146
0.780952
56e718f1bea10acabe3adc5e947411d7c511c697
2,196
package coop.ekologia.service.utils; import java.io.IOException; import java.util.Random; import java.util.logging.Level; import java.util.logging.Logger; import javax.ejb.Stateless; import org.apache.commons.codec.digest.Crypt; import org.markdown4j.Markdown4jProcessor; import coop.ekologia.service.group.wiki.Wiki...
26.142857
114
0.673953
a19d118c6d6f36947c70e39eb78c19776605aa7d
3,361
package net.integrio.maven.aws.data.transfer; import net.integrio.maven.aws.data.SessionListenerSupport; import org.apache.maven.wagon.Wagon; import org.apache.maven.wagon.events.SessionEvent; import org.apache.maven.wagon.events.SessionListener; import java.util.HashSet; import java.util.Set; public final class St...
33.277228
99
0.711098
a32507afaab0540ca3ec29932e984695bda354f1
443
package org.tutorials.design.patterns.abstract_factory.pattern; // Sql Server public class OracleDBFactory implements DBFactory { @Override public DBConnection creatDBConnection() { return new OracleConnection(); } @Override public DBCommand createDBCommand() { return new OracleCom...
22.15
63
0.693002
3fcccd5adeea4cdaa512d58a9f238c2097dd7692
318
package com.cool.api; import java.util.List; import java.util.Map; import com.cool.base.BaseService; import com.cool.model.SysParam; public interface SysParamService extends BaseService<SysParam>{ public List<SysParam> validateSysParam(Map<String,Object> params); public SysParam queryByKey(String paramKey); }
22.714286
67
0.801887
7aa7e265286d063ba61fad5a487c67bd42c1506d
2,386
package com.atlassian.activeobjects.backup; import com.atlassian.activeobjects.spi.ActiveObjectsImportExportException; import com.atlassian.activeobjects.spi.ImportExportException; import com.atlassian.activeobjects.spi.PluginInformation; import com.atlassian.dbexporter.ImportExportErrorService; import java.sql.SQLEx...
41.859649
112
0.766974