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
efbbef43efe23a8312844c4924ff5a8cab56b07d
150
package epicsquid.mysticallib.particle; public interface IParticle { boolean alive(); boolean isAdditive(); boolean renderThroughBlocks(); }
15
39
0.76
0ff6dc9c0b899beb349334d4adda2b13c30c3cec
4,282
/* * Copyright (c) 2010-2018. 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 o...
44.14433
158
0.678655
3caebdc6fcad8bb5661214336c6264586f75929f
772
package xyz.upperlevel.uppercore.storage; public enum DuplicatePolicy { /** * If another entry is already in the database then the one that is already present will be kept * and the database will not be changed. */ KEEP_OLD, /** * The entry inserted will replace any older entries if pre...
36.761905
109
0.685233
c5fc77df239ea4602ef1ac0ac5c566083f0b8eca
1,968
package com.softicar.platform.core.module.email.buffer; import com.softicar.platform.core.module.CoreImages; import com.softicar.platform.core.module.CorePermissions; import com.softicar.platform.core.module.email.buffer.attachment.BufferedEmailAttachmentSectionDiv; import com.softicar.platform.core.module.module.inst...
40.163265
130
0.850102
4d5f22dec0b0d3da93c051b3a47307bf9ebb9be1
6,095
package org.firealm; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.google.firebase.database.DatabaseError; import com.google.firebase.database.DatabaseReference; import com.google.firebase.database.FirebaseDatabase; import io.realm.R...
30.939086
130
0.610664
0869127507e7ef229a6507589edbc80ec66e7ec7
565
package cz.tefek.pluto.engine.graphics.spritesheet; public abstract class SpriteSheet<T> { protected T spriteSheet; public SpriteSheet(T sourceImage) { this.spriteSheet = sourceImage; } public SpriteSheet() { } public void setSpriteSheetImage(T sourceImage) { thi...
17.121212
51
0.660177
dd07cb45eff2865bf97b90e215f057947273d177
9,831
/* * Copyright © 2017-2020 factcast.org * * 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 ag...
34.254355
100
0.658427
c7bf5debbe031e6e1beba390b69880db97d638ef
1,800
package org.pollbox.poll.managers; import org.pollbox.poll.accounts.AccountsService; import org.pollbox.poll.owners.OwnersService; import org.pollbox.poll.projects.ProjectsService; import org.pollbox.poll.signup.SignupService; import org.pollbox.poll.statuses.StatusesService; import org.springframework.beans.factory....
25.352113
69
0.735
83d5df75722e2c6aa75efc6930221f73b43f0a1c
7,758
package pojo; import java.math.BigDecimal; import java.util.Date; /** * Created by Administrator on 2020/8/13. */ public class OrderInformation { private Integer id; private String storgeName; private String assignCarState = "否"; private String clientName; private String con...
21.610028
94
0.593839
71d23e5723608ebe0254c85aba3cc51bde8af589
396
package com.xiaobai.order.client; import com.xiaobai.order.entity.UcenterMemberOrder; import org.springframework.stereotype.Component; /** * @author xiaobai * @create 2021-08-19 17:29 */ @Component public class UcoreClientImpl implements UcoreClient{ @Override public UcenterMemberOrder getMemberById(String...
22
56
0.724747
4df129f53ff3ac26200b61525e852a1849bb8cce
3,391
package de.mpg.mpi_inf.ambiversenlu.nlu.entitylinking.service.web.model; import com.fasterxml.jackson.annotation.*; import javax.annotation.Generated; import java.util.HashMap; import java.util.List; import java.util.Map; @JsonInclude(JsonInclude.Include.NON_NULL) @Generated("org.jsonschema2pojo") @JsonPropertyOrder...
22.163399
85
0.651135
f75b207939d70b3778027994bfc2068198f51db3
1,521
package ai.prima.prima.commands; import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.stream.IntStream; import ai.prima.prima.PrimaAI; import ai.prima.prima.nodes.Node; import ai.prima.prima.util.Log; public class NetworkCommand extends Command{ private static final String NETWORK...
25.779661
98
0.693623
0b5002fc627f0c8fcf390d03104ceccdc0ad4854
7,129
/******************************************************************************* * Copyright (C) 2021, Ko Sugawara * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions o...
35.292079
165
0.723103
2b5cf4c339a89909fa6c924c7b33f38ce06b239f
1,712
/* * Copyright (c) 2013-2018, Bingo.Chen (finesoft@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 requ...
23.135135
82
0.655374
198bce9690be3af751f8ae9b254ac780aeab530e
318
package net.okair.springcloud.auth.authorization.service; import net.okair.springcloud.sysadmin.organization.entity.po.User; /** * @author LiuShiZeng */ public interface IUserService { /** * 根据用户唯一标识获取用户信息 * * @param uniqueId * @return */ User getByUniqueId(String uniqueId); }
15.9
66
0.672956
883dc4f23555351218ba58d08be49351e6a02696
18,357
/* * Copyright 2016-2018 Leon Chen * * 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 ...
41.437923
143
0.596666
bdbdba761da545bc3033793794829e6090fad49f
17,660
package org.springframework.samples.petclinic.migration; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.samples.petclinic.owner.Owner; import org.springframework.samples.petclinic.owner.Pet; import org.springframework.samples.petclinic.owner.PetType; import org.springframework.samp...
45.05102
135
0.505549
3ace2e174208c26a000edd2a6b5ff13937608dd8
3,770
package uk.co.stikman.utils; import java.io.ByteArrayInputStream; import java.io.EOFException; import java.io.FilterInputStream; import java.io.IOException; import java.io.InputStream; import java.io.StreamCorruptedException; import java.nio.charset.Charset; public class StikDataInputStream extends FilterInputStream ...
27.122302
234
0.637931
b4556e80c9a4e1bfc8e1e7ceb5c16d8987c6f619
1,979
package com.miu.se.order; import com.miu.se.common.entity.Order; import com.miu.se.common.entity.Product; import com.miu.se.common.interfacing.OrderService; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.security.SecurityRequirement; import org.springframework.beans.factory.annota...
38.803922
100
0.769581
17981c2491cf69cb0573ca7b9f25d0b0bb8055b4
1,445
import java.util.Iterator; public class ZipMatrix<E> extends Matrix<E> { private final MemoryController encodedMatrix; public final ZipEncoder<E> zipEncoder; public final MatrixEncoder<E> baseEncoder; private int height, width; public ZipMatrix(MemoryController encodedMatrix, MatrixEncoder<E> bas...
24.491525
90
0.609689
366268a7d2a2daaa121d2931b25498245d9a813a
776
package io.nutz.nutzsite.module.tool.gen.querys; import org.nutz.dao.sql.Sql; /** * IDbQuery * @author kricss */ public interface IDbQuery { /** * 查询数据库表信息 * @param tableName 表名称 * @param tableComment 表注释 * @param orderByColumn 排序字段 * @param isAsc 排序方式 * @return */ public...
18.47619
100
0.601804
4c1c7a98b760a8ad4b8417bb4e9a2e07a23f057c
518
package cn.gson.oasys.model.dao.discuss; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import cn.gson.oasys.model.entity.discuss.Comment; import cn.gson.oasys.model.entity.discuss.Reply; public interface CommentDao extends ...
25.9
65
0.785714
87c7183d2328306aed87ae38a7ed6ddc0eade7b8
753
package com.blocklang.system.service.impl; import static org.assertj.core.api.Assertions.assertThat; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import com.blocklang.system.service.EncryptService; import com.blocklang.system.test.AbstractServiceTest; public clas...
26.892857
78
0.772908
bbd9e0e56760f1686568d62c202f81f60c2cac92
4,610
package org.intermine.web.struts; /* * Copyright (C) 2002-2014 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/lesser.h...
39.067797
100
0.677874
89bdbc3d8e5496bf4773b0723df877f3f635b6c1
25,767
/** * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * * 1. Definitions. * * "License" shall mean the terms and conditio...
40.77057
152
0.697365
9238c37b07b77fff7ff8a155848924caf6887009
19,424
// Copyright 2007 Xito.org // // 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...
33.146758
156
0.600391
9d5e2ef5988ed673512fdcb1ef940818f8b11437
1,348
/* * Copyright 2002-2018 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 ap...
32.878049
75
0.775964
658917ee2969f5acbbe2e780f24d74c5e9b050e8
2,542
/** * Copyright 2017 Matthieu Jimenez. All rights reserved. * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless req...
23.757009
75
0.641227
b64581f15448e944a7a61d180eb818e7f94b9daa
4,433
/** * Copyright (c) 2007-2014 The Apereo Foundation * * Licensed under the Educational Community 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://opensource.org/licenses/ecl2 * * Un...
30.363014
119
0.654861
4b4ecce1fe3b7620be8849e510503d9ccf76e295
147
package by.brest.karas.model; /** * POJO Role for model. * * @author Tsikhan Karas * @version 1.0 */ public enum Role {ROLE_USER, ROLE_ADMIN}
16.333333
40
0.680272
f95bd38c7f71e8461e77f313eef9d143cf59c2c5
1,159
package seedu.address.logic.autocomplete.nodes.customer; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import static seedu.address.testutil.Assert.assertThrows; import static seedu.address.testutil.TypicalCustomers.CUSTOMERONE; import java.util...
32.194444
96
0.765315
1c0e0f0bfaafe1a914f3a5308ed9ff0a87ecd437
3,805
/* * ============================================================================= * * Copyright (c) 2011-2018, The THYMELEAF team (http://www.thymeleaf.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
33.973214
123
0.715112
680367a58388c49a8da19d6e07ee2429e36b394e
1,378
package com.sandbox.model; import com.sandbox.exceptions.InvalidIdException; import com.sandbox.model.items.animals.Dog; import com.sandbox.model.items.solids.Ball; import com.sandbox.model.items.solids.Box; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class ItemTest { @Te...
38.277778
106
0.650218
19dc9caef80a71d1dd172bd57c707721175ad7f6
18,575
package YuxinBookstore; /** * Created by Orthocenter on 5/12/15. */ import com.sun.media.sound.UlawCodec; import org.omg.IOP.TAG_MULTIPLE_COMPONENTS; import java.io.*; import java.math.BigDecimal; import java.math.BigInteger; import java.sql.ResultSet; import java.util.ArrayList; import javax.json.*; import javax....
41.930023
148
0.523284
360906a61dbeb45525943e1e66d006bedd48c7cc
2,026
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.config.server.http.v2; import com.yahoo.config.application.api.ApplicationFile; import com.yahoo.config.provision.Zone; import com.yahoo.container.jdisc.HttpRequest; import com...
38.961538
138
0.671767
d4b13d673fa7b5511babd9ee27ac39dc5985f6e1
5,499
package com.markzhai.lyrichere.ui; import android.app.Activity; import android.content.Context; import android.content.res.ColorStateList; import android.graphics.Bitmap; import android.graphics.drawable.AnimationDrawable; import android.support.v4.app.ActivityCompat; import android.support.v4.media.MediaDescriptionCo...
43.992
106
0.588834
42e37a960f790ea224fad6b641af6154da10fe5b
1,695
package com.cts.servlet.controller; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import javax.servlet.RequestDispatcher; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import j...
30.267857
107
0.746903
e9d50b22f424ff3c1d696de5c42f594296602a21
2,100
package org.sdase.commons.server.mongo.testing; import com.mongodb.MongoClient; import de.flapdoodle.embed.mongo.distribution.IFeatureAwareVersion; import org.junit.rules.ExternalResource; /** * JUnit Test rule for running a MongoDB instance alongside the (integration) tests. Can be * configured with custom user cr...
23.333333
97
0.709048
f835d43a0d2d1918e38d750755aed43393bbd41d
2,633
package com.elchologamer.userlogin.api.event; import com.elchologamer.userlogin.UserLogin; import com.elchologamer.userlogin.api.types.AuthType; import com.elchologamer.userlogin.util.Utils; import org.bukkit.Location; import org.bukkit.entity.Player; import org.bukkit.event.Cancellable; import org.bukkit.event.Handle...
26.59596
124
0.683251
bb331b47081874044470ae60d22e434d33905a77
880
package me.welkinbai.bsonmapper; import org.bson.BsonReader; import org.bson.BsonString; import org.bson.BsonValue; import org.bson.BsonWriter; /** * Created by welkinbai on 2017/3/23. */ final class BsonStringConverter extends AbstractBsonConverter<String, BsonString> { private BsonStringConverter() { } ...
22
83
0.693182
a195f95972b22faa3a85542668070eed11abadef
372
package com.wxy.appstartfaster.util; import android.util.Log; import com.wxy.appstartfaster.dispatcher.AppStartTaskDispatcher; public class AppStartTaskLogUtil { private static final String TAG="AppStartTask: "; public static void showLog(String log){ if (AppStartTaskDispatcher.getInstance().isShowLo...
24.8
64
0.709677
4343fc0586387aac4d05f69400cfe11bc8a21942
1,547
package org.inspirerobotics.sumobots.driverstation.gui; import javafx.scene.Scene; import javafx.scene.layout.AnchorPane; import javafx.scene.layout.BorderPane; import org.inspirerobotics.sumobots.driverstation.gui.style.StyleManager; import org.inspirerobotics.sumobots.driverstation.gui.style.StyleType; import org.in...
26.672414
75
0.710407
d53d82cb0a4b487547cbd31a3aa27fcb6ef9906c
233
package com.example.step; public class RealDatabase implements Database { private String value; public RealDatabase(String val) { this.value = val; } public String getValue() { return value; } }
17.923077
47
0.643777
832e025eb9bfc3f6921524f9def6620c6a1d8c72
7,145
/* * Copyright (C) 2015 Square, 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 agre...
33.862559
95
0.674878
4a1aa4269e9fc8e619c171966550fb7527c6a286
296
package tddmicroexercises.turnticketdispenser; public class TicketDispenser { public TurnTicket getTurnTicket() { int newTurnNumber = TurnNumberSequence.getNextTurnNumber(); TurnTicket newTurnTicket = new TurnTicket(newTurnNumber); return newTurnTicket; } }
22.769231
67
0.733108
e157602fd5d8a70a50b8c7853cc1f920efa6b8d0
2,010
package com.vhoh.vhonlinehospital; import androidx.appcompat.app.AppCompatActivity; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.widget.Toast; import com.google.firebase.auth.FirebaseAuth; import c...
34.067797
99
0.656219
f80f78b26d282ec5569a75bb71322dc29f44c9e5
2,745
/* * 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 ...
32.678571
99
0.692896
600a5ef8a43705f8fe60514dbdf327a6e2b3147d
1,084
package org.apereo.cas.configuration.model.support.interrupt; import org.apereo.cas.configuration.support.RequiresModule; import com.fasterxml.jackson.annotation.JsonFilter; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; import java.io.Serializable; /** * This is {@link RegexInte...
28.526316
79
0.762915
d66a42e7a273a938c38c5036c94459a6c9a2f9d3
4,476
/* * 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 * di...
39.964286
126
0.649911
4799ca4a20b6123db4065f8a3f905304d9c267f5
1,703
package me.Eclipse.Modules.Impl; import java.awt.Color; import java.io.File; import me.Eclipse.Brain; import me.Eclipse.Utils.Helper; import net.dv8tion.jda.api.entities.Message; import net.dv8tion.jda.api.entities.MessageChannel; import net.dv8tion.jda.api.events.message.MessageReceivedEvent; import net.dv8tion.jda....
47.305556
154
0.607751
3fae1d9f7adad4f97896d8db3fe76fd0c5980f41
2,710
import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * @ClassName RansomNote * @Description #383 赎金信 * @Author MatthewHan * @Date 2020/5/11 21:43 * @Version 1.0 **/ public class No383 { /** * 执行用时 : 15 ms , 在所有 Java 提交中击败了 30.25% 的用户 * 内存消耗 : 40 M...
30.795455
123
0.523616
b3619b1ccc7325398bc4343db3564f2641742729
855
package net.minestom.server.utils.async; import net.minestom.server.MinecraftServer; import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.NotNull; import java.util.concurrent.CompletableFuture; @ApiStatus.Internal public final class AsyncUtils { public static final CompletableFuture<Void>...
30.535714
102
0.687719
5f98cf0ff22f7624feb68b897043b2bb6887ee71
1,470
package org.openforis.collect.android.gui; import android.app.Activity; import android.content.SharedPreferences; import android.preference.PreferenceManager; import org.openforis.collect.R; /** * @author Daniel Wiell * @author Stefano Ricci */ public class ThemeInitializer { public static final String THEME...
27.735849
88
0.67415
6ac20723b55f0680de2d64e69602234ba2e12357
3,784
/* * Copyright (C) 2015 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...
28.02963
80
0.678383
05ee5687e78fcfbe7dfed1d663b78eeeb5a0f299
1,935
package sgf.gateway.web.controllers.dataset.relatedLink; import org.hibernate.validator.constraints.NotBlank; import org.hibernate.validator.constraints.URL; import org.safehaus.uuid.UUID; import sgf.gateway.model.metadata.Dataset; import sgf.gateway.model.metadata.RelatedLink; import sgf.gateway.validation.groups.Dat...
25.460526
101
0.703876
721f68992476ce94e1b1183edfd97ca919addc78
7,729
/* * 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.972851
127
0.641221
65106a2022298db555507e9037f261bd8ad5c83e
2,059
package com.ilya40umov.badge.repository; import com.ilya40umov.badge.entity.Account; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.EntityGraph; import org.springframework.data.jpa.repository.JpaRepository; import org.springf...
43.808511
91
0.76882
06c84b6689c3463beff322eacb6a7b937b2e9fba
5,197
/* * 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.872222
96
0.697518
bae3b9f6367b94064acf626b29aab9a670450bb4
31,995
package org.apache.hadoop.hdfs.server.common; import java.io.BufferedOutputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.EOFException; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import j...
34.589189
97
0.615565
ee3868e7b1ec916df17abf923d6f2c4906f54251
6,121
package com.jukusoft.engine2d.ui; import com.badlogic.gdx.InputAdapter; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.utils.Array; import com.jukusoft.engine2d.ui.parser.SelectorCompiler; import com.jukusoft.engine2d.ui.style.UIStyleManager; import com.jukusoft.engine2d.view.assets.assetman...
25.504167
105
0.634864
abb5960a06b648cae1127ff15f20d7a0b63e6647
202
package world.arossa.reusing_classes; import static world.arossa.helpers.Print.*; public class WithFinalMethod { public final void show() { print("from super class final method"); } }
20.2
47
0.707921
4c10de3099e179b78cc98d9c8054ad9db48bafda
11,189
/* * Copyright 2000-2009 JetBrains s.r.o. * * 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 agre...
34.322086
158
0.655644
3ab66e2b526c83910f22566b01dcf616c27e377c
1,473
package com.ziroom.ziroomcustomer.newclean.periodclean.bean; public class SuggestAddressBean { private String addressId; private String addressLat; private String addressLon; private String connectPhone; private String doorplate; private String village; public String getAddressId() { return this...
19.12987
153
0.694501
bcfc97e620074fd31ea1b02d295d2f9246ce827e
1,479
/* Import2: An RPG */ package studio.ignitionigloogames.twistedtrek.import2.maze.objects; import studio.ignitionigloogames.twistedtrek.import2.Import2; import studio.ignitionigloogames.twistedtrek.import2.maze.abc.AbstractTrap; import studio.ignitionigloogames.twistedtrek.import2.maze.effects.MazeEffectConstants; impo...
37.923077
109
0.806626
e968f6c51a0561fc263852bd132b6aa2b437df6b
747
import java.util.Scanner; public class Solution{ public static void main(String args[]){ int n; Scanner s = new Scanner(System.in); n = s.nextInt(); int a[] = new int[n]; for(int i=0;i<=n-1;i++){ a[i] = s.nextInt(); } int init=1; boolean s...
24.096774
43
0.369478
5317f3adade9104eb68ebc0c1308cd91c5e48a80
1,852
package com.blinkfox.zealot.config.entity; import com.blinkfox.zealot.consts.ZealotConst; import com.blinkfox.zealot.core.IConditHandler; /** * 标签对应的动态sql生成的处理类. * @author blinkfox on 2016-11-01. */ public class TagHandler { /** 生成sql的前缀,如:and, or 等. */ private String prefix; /** 生成动态sql的处理实现反射类型,如:E...
24.051948
97
0.615551
0b4d6c7a157baa84ebdbc6a5ee5953cdbc827671
659
package com.wodejia.myapp.server; /** * Created by clarence on 16/10/11. */ public class CarServerDO { private int carId; /** * 车牌 */ private String numberPlates; private int userId; public int getCarId() { return carId; } public void setCarId(int carId) { thi...
16.897436
54
0.593323
5d2e38963bbdbb706fc576e32a394b9cd12f0db8
6,754
package koldur.losversados.dao; import android.content.res.Resources; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import koldur.losversados.R; /** * Created by Juan on 10/12/17. */ public class DAOContent_Imp extends DAOContent { @Ov...
47.900709
144
0.623482
36d53aa9d166a1ca62d29250494b1395d328205a
286
package com.guaxinim.api.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import com.guaxinim.api.model.Clientes; @Repository public interface ClienteRepository extends JpaRepository<Clientes, Long> { }
23.833333
74
0.825175
9ef8f6553d1eaa8cf77fb8fbbd4ac011b0af306c
5,331
package com.revolsys.geometry.index.rtree; import java.util.Arrays; import java.util.List; import java.util.function.Consumer; import java.util.function.Predicate; import com.revolsys.geometry.model.BoundingBox; public class RTreeLeaf<T> extends RTreeNode<T> { private BoundingBox[] objectBoundingBoxes; private...
30.637931
99
0.631964
7e1fa9c0b9a23682dd3a43169f36901aad1ae7fe
214
package com.example.project.exceptions.user; public class EmptyShoppingCartException extends Exception{ public EmptyShoppingCartException() { super("Cannot buy! Your shopping cart is empty!"); } }
26.75
58
0.747664
bfd3b400be0dc2811d9f4d8ca5bf87ec444d0b8f
267
package com.kadir.twitterbots.crocodile.enumeration; /** * @author akadir * Date: 2019-05-06 * Time: 19:24 */ public enum SourceType { STATUS_ID_LIST, TWITTER_DATA_JS; private final int value; SourceType() { this.value = ordinal(); } }
15.705882
52
0.64794
42f819b045985c8a0c35e35142e03728cfd123cd
2,118
/** * Write a description of class Tester here. * * @author (your name) * @version (a version number or a date) */ import java.util.*; public class Tester { public void testLogEntry() { LogEntry le = new LogEntry("1.2.3.4", new Date(), "example request", 200, 500); System.out.println(le); ...
29.416667
107
0.580264
7a1edefafac68e1bfbd53a4a3f81059b84c947cb
263
package karstenroethig.imagetags.webapp.dto.info; import lombok.Getter; import lombok.Setter; @Getter @Setter public class MemoryInfoDto { private String totalFormated; private String usedFormated; private long freePercentage; private String freeFormated; }
18.785714
49
0.821293
454073db8f64dc85aa0a95daf148f917b6cf6f2d
663
package com.github.aloomaio.androidsdk.aloomametrics; /** * For use with {@link AloomaAPI.People#addOnMixpanelUpdatesReceivedListener(OnMixpanelUpdatesReceivedListener)} */ /* package */ interface OnMixpanelUpdatesReceivedListener { /** * Called when the Mixpanel library has updates, for example, Surveys or...
44.2
112
0.758673
e366df867786d9e38294c84384e15ae4ff5fdc59
595
package org.springframework.boot.autoconfigure.cassandra; import com.datastax.driver.core.Cluster; import com.datastax.driver.core.Cluster.Builder; /** * Callback interface that can be implemented by beans wishing to customize the * {@link Cluster} via a {@link Builder Cluster.Builder} whilst retaining default *...
22.884615
81
0.757983
4ff28d1c35179d76a81ea2a9f26b7399c5ad82c4
1,277
/* * Copyright 2012 by The JFlux Project (www.jflux.org). * * 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 ...
29.697674
75
0.689115
a57b441e75fc79919ec6889f0f14432908ec61c7
339
package io.prophecies.automapper; public class TestDoubleGuiceModule extends GuiceModule { public TestDoubleGuiceModule() { super(null, PropheciesTestDoubleResolver.class); } @Override protected void configure() { super.configure(); bind(PropheciesRepositoryFactory.class).to(PropheciesTestDoubleRepositoryFa...
24.214286
90
0.80236
2c91376c1230291aaaa39ab985e4699d96c6b43d
632
package io.github.harvies.charon.tests.base.jdk.concurrent.lock; /** * @author harvies */ public class SynchronizedTest implements Runnable { public synchronized void get() { System.out.println(Thread.currentThread().getId()); set(); } public synchronized void set() { System.out...
21.793103
64
0.607595
579da00155f1fccd0366d832e6b14ec09078b03b
5,146
/** * Copyright 2015 Keith Wannamaker * * 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 o...
41.168
99
0.715896
5c266b2e1b20526bc20f00a7b945700ccc97f2b5
1,071
package org.ovirt.engine.api.restapi.resource; import org.ovirt.engine.api.model.Application; import org.ovirt.engine.api.model.Applications; import org.ovirt.engine.api.resource.VmApplicationResource; public class BackendVmApplicationResource extends AbstractBackendSubResource<Application, Applications> implements V...
28.945946
138
0.70028
2acc44323aab9e4397c6ba081827809731631441
1,818
package plug.language.soup.examples.nbits; import plug.language.soup.model.Behavior; import plug.language.soup.model.BehaviorSoup; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Random; public class NBits { List<Behavior<Configuration>> behaviors(int i) { Li...
30.3
136
0.455446
64e28d2555a0ed61bbfb10d8251666f570654516
6,565
/*------------------------------------------------------------------------ * (The MIT License) * * Copyright (c) 2008-2012 Rhomobile, Inc. * * 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 wi...
37.514286
140
0.633206
8d96c273f586bafe796c001491ce5197ee1ed991
581
/** * Copyright 2015-现在 广州市领课网络科技有限公司 */ package com.roncoo.education; import org.springframework.boot.SpringApplication; import org.springframework.cloud.client.SpringCloudApplication; import org.springframework.cloud.openfeign.EnableFeignClients; import org.springframework.scheduling.annotation.EnableSched...
24.208333
67
0.765921
130148e6709178d3c42d8097092428871c458997
1,397
package skd.app.androidfeatures.sRecylerView; /** * Created by sapan on 7/19/2017. */ import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import java.util.List; import skd.app.androidfeatures.R; /** * THis class will be the ...
27.392157
106
0.714388
30c3f62abb6de8cf9bf179df0c6b64b5696019d2
6,588
class PoP3b { public int[][] pKIsJiyRf (boolean[][] r2, iTdqvAjk5qn6 z2n3b0qhxhjt) { void ZhsSGWYuNvp5tY; void VaL_FNzbssUKm = this.slNzG() = !!-this.clJoj4WGHWo(); boolean aSAJZU; boolean J0mUJdxNx6 = !new nKGyeaBEB8aF().RBLc = false.suqXRgMUtmIR; new lR9QstHSdPq().SYrj...
42.779221
300
0.506072
2cee78443f4ddfe3e736f880dccafaed56b55555
1,082
package tools; import java.awt.event.MouseEvent; import uHotDrawFigures.IFigure; import uHotDrawFiguresFramework.uDrawingView; /** * * Pablo Bermejo * https://github.com/PabloAsekas/ * **/ public class uSelectionTool extends uAbstractTool{ private uDrawingView v; private uAbstractTool fCh...
22.081633
57
0.582255
f6314d3fb534ba7ea10d811d2d0bf20709c39e8f
1,264
/* * 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.mycompany.payarars.dao; import com.mycompany.payarars.entity.Cliente; import java.util.ArrayList; import java.util.Collect...
24.784314
100
0.585443
92485592612c994002616963c0ac9422f9c80990
2,121
package com.snail.job.common.web.aop; import com.snail.job.common.constant.HttpConstants; import com.snail.job.common.constant.ServiceStatus; import com.snail.job.common.model.ResultT; import com.snail.job.common.tools.SignTool; import com.snail.job.common.tools.SpringMVCTool; import com.snail.job.common.web.filter.Se...
34.209677
73
0.701556
517a4133ee9a8821c1e2cc341448abfd39056e1d
1,105
package frc.robot.commands.shooter; import edu.wpi.first.wpilibj.Timer; import edu.wpi.first.wpilibj2.command.CommandBase; import frc.robot.subsystems.shooter.HoodSubsystem; // Home Hood Command public class HomeHoodCommand extends CommandBase { // Variables HoodSubsystem hoodSubsystem; Timer timer; ...
26.309524
86
0.676923
de599a85a9ef12d31fdea92792de8b81d8796d7f
4,144
/* * Copyright 2020 Haulmont. * * 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...
28.777778
136
0.634653
81813b02e74f8fd54eb5799962f5af7c864cce56
1,572
/******************************************************************************* * Copyright 2017 Bstek * * 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/l...
22.140845
80
0.693384
e53808f242f24c56cc3a915e164da8fe06490441
3,698
package seedu.address.logic.commands; import static java.util.Objects.requireNonNull; import java.util.Arrays; import java.util.function.Predicate; import javafx.collections.transformation.FilteredList; import seedu.address.commons.core.Messages; import seedu.address.commons.core.index.Index; import seedu.address.lo...
38.123711
116
0.683072
0ca69d4176f0c5ffebe3509960a643e105701c60
197
public class Solution { public int lengthOfLastWord(String s) { String t = s.trim(); return t.lastIndexOf(' ') == -1 ? t.length() : t.length() - t.lastIndexOf(' ') - 1; } }
28.142857
91
0.553299
a2637f9e6df0db0f1e6ad81cb4ed020cc02f161e
1,041
package com.moonlightpixels.jrpg.legacy.dice; import java.util.LinkedList; import java.util.List; /** * Created by jgelais on 12/27/16. */ public final class Dice { private List<Rollable> rolls = new LinkedList<>(); public Dice add(final String rollDescription) { String[] numbers = rollDescription....
25.390244
105
0.580211
60379fed36524a3a9b6a7327b64ef5961e25e834
5,046
/** * The MIT License * Copyright (c) 2011 Kuali Mobility Team * * 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 rights * to use, ...
23.801887
80
0.712247
ca2cf510482f756717082b6ba8b7e889900f9957
811
/** * Leetcode - divide_two_integers */ package com.leetcode.divide_two_integers; import java.util.*; import com.ciaoshen.leetcode.util.*; /** * log instance is defined in Solution interface * this is how slf4j will work in this class: * ============================================= * if (log.isDebugEnabled...
25.34375
61
0.535142
5762cff65df0bb4bd2bfd7f23f85b13c9e66a99a
2,484
package top.lrshuai.mq.mq; import org.apache.rocketmq.client.QueryResult; import org.apache.rocketmq.client.exception.MQClientException; import org.apache.rocketmq.client.producer.*; import org.apache.rocketmq.common.message.Message; import org.apache.rocketmq.common.message.MessageExt; import org.springframework.bean...
33.12
162
0.747585
fdf0cb7a7bb607f1ba8c9f8e207b9f5f01452bad
560
package algorithm.leetcode.s1_two_sum; import java.util.HashMap; import java.util.Map; public class Solution2 { public int[] twoSum(int[] nums, int target) { Map<Integer, Integer> map = new HashMap<>(); for(int i = 0; i<nums.length;i++){ int tmp = target - nums[i]; ...
28
67
0.539286
28983b2ac9baf6144d88c95593f013b27146431f
4,885
package cucumber.runtime.model; import cucumber.runtime.CucumberException; import cucumber.runtime.io.MultiLoader; import cucumber.runtime.io.Resource; import cucumber.runtime.io.ResourceLoader; import cucumber.runtime.model.CucumberFeature; import cucumber.runtime.model.FeatureBuilder; import cucumber.runtime.model.P...
41.752137
146
0.650972