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
eb7c4cb577d0e36be40716300bab598abfb69f5c
1,829
/******************************************************************************* * Copyright (c) 2015, 2016 David Green. * * 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:/...
29.5
105
0.677966
933718157b7e6899509f20ed1c5e8f80121f5d51
700
package com.mistraltech.bogen.utils; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.command.CommandProcessor; import com.intellij.openapi.project.Project; public class ActionUtils { public static void runAction(Runnable action) { ApplicationManager.getApplication()...
33.333333
96
0.748571
23c55f68eaebf6c6f97f636fd321e70cb68e2e30
1,217
package leetcode.page1.p148; import leetcode.ListNode; /** * 148.排序链表 */ public class Solution { public ListNode sortList(ListNode head) { return head == null ? null : mergeSort(head); } private ListNode mergeSort(ListNode head) { if (head.next == null) return head; ListNode fa...
26.456522
59
0.512736
0de81f11876bd2b1a83aea25e144d137c8a35b18
691
package com.sakhatech; import javax.annotation.PreDestroy; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import com.sakhatech.util.MongoOperationClient; /** * * @author Naveen * @createdDate 6-Jun-2017 * @modifiedDate 6-Jun-2017 */ @Spr...
19.742857
68
0.756874
696bfdf43851e18a162bb787064f5a7a0b5b2184
2,958
package net.ethobat.system0.api.zdroid; import net.ethobat.system0.api.recipe.S0RecipeType; import java.util.HashSet; import java.util.Set; public class ZeeAbilities { private int replicationRate; private int territoryRange; private HashSet<S0RecipeType> recipeTypes; private HashSet<ZeeWorldEffect> ...
36.975
134
0.687965
ce3d704fec956a1721e8f9f521ec71805de23f53
10,936
/* * 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 ...
41.112782
138
0.736192
3db3f358980c27b24156606f4ab369944cbbdb86
2,205
package com.bht.pim.mapper; import java.util.List; import java.util.stream.Collectors; import org.mapstruct.CollectionMappingStrategy; import org.mapstruct.Mapper; import org.mapstruct.Mapping; import org.mapstruct.Named; import org.mapstruct.ReportingPolicy; import org.springframework.stereotype.Component; import c...
42.403846
117
0.741043
974220b29f71611200c84ae94deab5fc7ff72859
4,895
package com.example.simplefirebaseapp; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.widget.EditText; import android.widget.TextView; import android.widget.Toast; import com.google....
39.475806
142
0.659244
52d4cecc8a409fc9a5ee64db9da1076477617e2e
24,866
/* * Copyright 2015-2017 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...
46.048148
422
0.684107
37db9a552b6986b574cf487693caf51613a31573
10,930
package com.github.sanctum.clans.construct; import com.github.sanctum.clans.ClansJavaPlugin; import com.github.sanctum.clans.construct.api.Clan; import com.github.sanctum.clans.construct.api.ClanCooldown; import com.github.sanctum.clans.construct.api.ClansAPI; import com.github.sanctum.clans.construct.extra.FancyLogo...
34.588608
161
0.722415
f943bfb92fbfae435a73574219c57388f33f06c7
2,314
package com.tiagobalduino.springhibernate.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PathVariable; import org.springframewor...
32.138889
112
0.77312
9d2046f024d1d8f20e1cbfe0eb8e7b5114a7ab8d
542
package com.lecast.smartchart.axis; import com.lecast.smartchart.chart.CartesianChart; /** * @author vincent * */ public interface IAxis { public void dataChanged(); public void update(); public String getTitle(); public String getDisplayName(); public void setDataProvider(Object dataProv...
16.9375
53
0.717712
c7cc987f7b37b38a010ff4d53421f0ff89ea0141
267
package com.ruoyi.project.system.yx.mapper; import java.util.Map; import com.ruoyi.project.system.yx.domain.YxYue; /** * 牙星公司Mapper接口 * * @author ruoyi * @date 2020-04-07 */ public interface tableYYMapper { Map YxtableYY(YxYue YxYue); }
15.705882
49
0.666667
821fccdfc3dc219cc2bfa2bc8933110a1d6bf358
1,315
package de.ancash.sockets.async; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.channels.AsynchronousChannelGroup; import java.nio.channels.AsynchronousSocketChannel; import java.util.concurrent.Executors; import de.ancash.sockets.async.client.AbstractAsyncClient; import de.ancash.sock...
46.964286
140
0.846388
45307eb14b4586fb635bb59f19d397ff640c286e
3,290
package nl.hsleiden.tags; import javax.servlet.http.HttpServletRequest; import org.hippoecm.hst.configuration.hosting.Mount; import org.hippoecm.hst.configuration.site.HstSite; import org.hippoecm.hst.configuration.sitemenu.HstSiteMenuConfiguration; import org.hippoecm.hst.core.component.HstRequest; import org.hippoe...
35
118
0.649848
5e3766b65fb4a1ed953fe3e7a464fdd0d87c9db1
5,454
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package android.support.v4.app; import android.os.RemoteException; // Referenced classes of package android.support.v4.app: // NotificationManagerCompa...
36.604027
101
0.551705
15f433f2de10c8e20e4f046089025b1f1d76fcc1
1,685
package io.snyk.snyk_maven_plugin.download; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.nio.channels.Channels; import java.nio.channels.ReadableByteChannel; import static io.snyk.snyk_maven_plugin.download.Up...
34.387755
106
0.641543
4c56fcf2b81f7f6f16e2ee4096d1d7783df69cb3
1,896
/* * Copyright 2004 - 2012 Mirko Nasato and contributors * 2016 - 2020 Simon Braconnier and contributors * * This file is part of JODConverter - Java OpenDocument Converter. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Lic...
32.135593
100
0.721519
5e259f8ee5a859fa2f734c43113a4d067c025630
1,194
package test.api; import framework.E2ESuiteBase; import framework.UserTestBase; import io.restassured.response.Response; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; import static com.google.common.truth.Truth.assertThat; public class CreateUsers extends UserTestBase { @BeforeC...
34.114286
93
0.71273
9944ac75d002190f266130b452ce8cfd21246df5
2,441
package xyz.cofe.collection.graph; /** * Базовый интервейс графа * @author GoCha * @param <N> Тип вершины * @param <E> Тип дуги/ребра */ public interface Graph<N,E> { /** * Проверяет наличае вершины * @param node Вершина * @return true -вершина содержиться в графе */ boo...
20.341667
49
0.521098
756d8c9b1099da8c6a13a2db06670d1548103c50
6,435
package net.haesleinhuepf.clij2.plugins; import ij.IJ; import ij.ImagePlus; import ij.plugin.Duplicator; import ij.plugin.ImageCalculator; import net.haesleinhuepf.clij.clearcl.ClearCLBuffer; import net.haesleinhuepf.clij.clearcl.ClearCLImage; import net.haesleinhuepf.clij.test.TestUtilities; import net.haesleinhuepf....
33.170103
84
0.592385
ba7f2f03b079838879b391fc4423e5eb0286d76f
730
//,temp,TestReplicationScenariosAcrossInstances.java,1323,1335,temp,TestReplicationScenariosAcrossInstances.java,1286,1299 //,3 public class xxx { @Override public Boolean apply(CallerArguments args) { injectionPathCalled = true; if (!args.dbName.equalsIgnoreCase(replicatedDbName) || (args.c...
38.421053
122
0.627397
5542a57cb59d0d5eefee142da6516529ed1d3c66
643
package com.jsite.common.beetl.fn; import com.jsite.common.lang.StringUtils; import org.beetl.core.Context; import org.beetl.core.Function; import java.util.List; public class InArrayString implements Function { @Override public Object call(Object[] paras, Context ctx) { String word = (String) paras...
23.814815
59
0.609642
0e6a6b5dd56707b37155e26d31dab14887995989
18,053
// // Copyright (c) 2016 Couchbase, Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file // except in compliance with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applic...
35.537402
128
0.528666
478b3937290b5d701de0d9f5c04aa17e6828542b
2,543
public class Alarm extends SubstituteStrategic { private static final boolean synX244boolean = false; private static final boolean synX243boolean = true; private static final boolean synX242boolean = false; private static final int synX241int = 0; private static final boolean synX240boolean = false; private...
29.917647
89
0.697601
9cd5049767009c3cec430f34a1bdc781312c0449
8,266
package com.kickstarter.viewmodels; import com.kickstarter.libs.ActivityViewModel; import com.kickstarter.libs.CurrentUserType; import com.kickstarter.libs.Environment; import com.kickstarter.libs.rx.transformers.Transformers; import com.kickstarter.services.ApiClientType; import com.kickstarter.services.apiresponses....
37.067265
137
0.69925
9af22b913c03eba3ca9cc18b1ebb3e7f069f523e
1,408
package quina.test.route; import quina.component.restful.RESTfulGetSync; import quina.exception.QuinaException; import quina.http.Params; import quina.http.Request; import quina.http.server.response.SyncResponse; import quina.jdbc.QuinaConnection; import quina.jdbc.QuinaDataSource; import quina.jdbc.QuinaJDBCService; ...
27.076923
66
0.68821
c970be398a609fce55060f4aa9ba5005fb87f22d
1,587
package com.lukinhasssss.proposta.dto.request; import com.lukinhasssss.proposta.config.validation.Document; import com.lukinhasssss.proposta.config.validation.UniqueValue; import com.lukinhasssss.proposta.entities.Proposta; import org.springframework.security.crypto.encrypt.TextEncryptor; import javax.validation.cons...
24.796875
133
0.696912
554be28bc635bfa78f78e19b36d96231ea97d47c
2,936
/* * Copyright 2018-present Open Networking Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
29.069307
112
0.672684
2cff9194d37fb4c654265f8ede5de48068ed4a38
348
package Exceptions; import org.apache.commons.io.IOUtils; import java.io.IOException; import java.io.InputStream; /** * Created by mrc on 25/03/16. */ public class ExpiredSessionException extends Throwable { public ExpiredSessionException(InputStream errorStream) throws IOException { super(IOUtils.toSt...
21.75
80
0.755747
75ec089bd49761f9bdbb0bd4004c45fc4dc15c86
1,961
package eventcenter.leveldb; import eventcenter.api.*; import eventcenter.api.async.QueueEventContainer; import eventcenter.api.support.DefaultEventCenter; import org.junit.Assert; import org.junit.Ignore; import org.junit.Test; import java.util.ArrayList; import java.util.List; import java.util.UUID; public class T...
30.169231
102
0.756757
f366e76192fb0d2234248e97fbf267cadb7b245b
205
package name.pkrause.blueprint.interfaceadapters.exceptions; public class CatNotFoundException extends RuntimeException { public CatNotFoundException(String message) { super(message); } }
25.625
60
0.77561
054037f79ffdff661af04da9965d39fedc02ab2b
1,824
/*=========================================================================== Copyright (C) 2010 by the Okapi Framework contributors ----------------------------------------------------------------------------- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in com...
44.487805
120
0.669408
670da2c995cbd5be29de2623dfdb5f5b0fb1652a
3,791
package org.kunze.diansh.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.github.pagehelper.Page; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import org.apache.shiro.SecurityUtils; import org.jeecg.common.system.vo.LoginUser; import org.ku...
27.273381
112
0.598523
864042c6074b5d9f49332f3926be093bf4ccd52d
807
/* * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.rest.link.process; import org.dspace.app.rest.RestResourceController; import org...
42.473684
119
0.780669
8aeaca9793e6185f77ff5cb56bd78f6de0e0657a
1,292
package org.mage.test.cards.continuous; import mage.constants.PhaseStep; import mage.constants.Zone; import org.junit.Test; import org.mage.test.serverside.base.CardTestPlayerBase; /** * @author magenoxx_at_gmail.com */ public class EvernightShadeTest extends CardTestPlayerBase { /** * Tests boost disappe...
34.918919
163
0.674923
9338ae128083fa90ba903cb7e13681be23b5441b
301
package novemberizing.rx; /** * * @author novemberizing, me@novemberizing.net * @since 2017. 1. 17. */ public interface Observer<T> { Scheduler observeOn(); void onNext(T o); void onError(Throwable e); void onComplete(); void subscribe(boolean v); boolean subscribed(); }
18.8125
46
0.657807
d2f1d597a01b2a036167aa44e49019529448c6a1
3,464
package org.apache.lucene.search.grouping.function; /* * 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 Apa...
42.243902
285
0.779734
717d21e33e8b26c2f1e175dc93e03106c0072720
19,426
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.facebook.share.model; import android.net.Uri; import android.os.Parcel; // Referenced classes of package com.facebook.share.model: // Share...
39.008032
382
0.623958
4cb580c4f9db97f3b49f9df808041fc1d736b871
3,080
/* * (C) Copyright 2017 Nuxeo (http://nuxeo.com/) 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 License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
32.083333
104
0.669481
4911fee32a11ad3ce8603fb013c74fb0cb22be9e
1,862
package com.zjp.mine.activity; import android.content.Context; import android.content.Intent; import androidx.recyclerview.widget.LinearLayoutManager; import com.zjp.base.activity.BaseActivity; import com.zjp.common.ui.WebViewActivity; import com.zjp.mine.R; import com.zjp.mine.adapter.OpenSourceProjAdapter; import ...
32.103448
121
0.721805
46cfe3361c24edf94950caa2a47ed3e1ef8c4fe3
1,499
package site.hearen.thread.dump.analyzer.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import lombok.extern.slf4j.Slf4j; import site.hearen.thread.dump.analyzer.entity.ThreadDo; import site.hearen.thread.dump.analyzer.dao...
34.068182
100
0.772515
900bd5b5178306a354dc07a60ae8b49fad38efe3
1,139
package com.penghuang.springboot_mybatis.dao; import com.penghuang.springboot_mybatis.entity.UserT; import java.util.List; public interface UserTMapper { /** * This method was generated by MyBatis Generator. * This method corresponds to the database table user_t * * @mbggenerated */ i...
24.76087
59
0.656716
04c7a6fcc7344b4093bfef6d310024af29e91e98
3,818
package com.khayyamapp.juveiran.fragment; import android.content.Context; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.Layo...
34.089286
113
0.680199
9f8fde107ec89b437ab9870a452d05c0942dc030
5,665
package net.fewald.jfeedreader; import com.rometools.rome.feed.synd.SyndEntry; import com.rometools.rome.feed.synd.SyndFeed; import com.rometools.rome.io.FeedException; import com.rometools.rome.io.SyndFeedInput; import com.rometools.rome.io.XmlReader; import java.io.IOException; import java.net.MalformedURLException...
34.754601
126
0.614122
31795f7b01637126c53afb2fe874af3fe2fdb4c3
6,928
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
48.788732
261
0.736143
524f319b627a017aa3ba37e9adeb78f7c0efb50c
4,536
package com.thowv.javafxgridgameboard; import java.io.Serializable; import java.util.ArrayList; public class GameBoardBehavior implements Serializable { private GameBoard gameBoardControl; private int gameBoardSize; private GameBoardTile[][] gameBoardTiles; public GameBoardBehavior(GameBoard gameBoar...
36
110
0.67306
63af3645c22601f0504b989f1cefbc8fa973f5c8
3,202
package com.example.appmuseu; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.core.app.ActivityCompat; import android.Manifest; import android.content.pm.PackageManager; import android.location.Address; import android.location.Geocoder; import android.location.Loca...
39.530864
167
0.679575
c9849f16fe44b09e340596249841617a5f1c7851
1,537
package _47b3n.yseldar.engine.game.entity; import java.awt.Graphics; import java.awt.Rectangle; import _47b3n.yseldar.engine.gamestate.gamestates.InGame; public abstract class Entity { protected float velX = 0.0F; protected float velY = 0.0F; protected float width, height; protected boolean falling = true; prot...
15.845361
62
0.686402
23454448680fbd4c847950d5fec126255eb9a693
272
package javadoc.test010; public class Test { int val; /** * {@link java.util.Vector#Vector()} * @param name {@link java.lang.String inline tag} * @see Object {@link java.lang.String inline tag} leading comment */ public void gee(String name) { } }
18.133333
66
0.643382
a9198bae22264795c20066934fe537c860881d80
489
package com.tct.positionApp.dao; import com.tct.positionApp.domain.Parents; import com.tct.positionApp.domain.Status; import com.tct.positionApp.domain.Students; import org.apache.ibatis.annotations.*; @Mapper public interface StatusDao { @Select("SELECT * FROM status WHERE id = #{id}") @Results({ ...
28.764706
69
0.678937
0cc25c06f1ab351b668699b48ff47948f799036e
4,343
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may n...
33.152672
120
0.677412
1e1b615d1b652548ce43d1afe402ab4ce820e71d
6,144
/* Copyright (C) 2016 Migeran 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 dis...
34.711864
124
0.634603
9b12c2ada2e52b26c17b666add18f7af766e76a0
7,460
package ru.geekbrains.homeworks.hw02.task1; import lombok.extern.slf4j.Slf4j; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TestWatcher; import org.junit.runner.Description; import static org.assertj.core.api.Assertions.assertThat; impo...
32.719298
120
0.55
3766ad0c5fc779d5a1fdd63fa84183541fa19bb1
229
package com.mwd.training.section1.lazy; public class SecondBean { public SecondBean() { System.out.println("Inside SecondBean Constuctor"); } public void test() { System.out.println("Method of SecondBean Class"); } }
17.615385
53
0.720524
5e05b2a05c63c705662dbb1241aca0c6cf9e5767
14,021
/* * 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...
39.384831
152
0.77548
611098c498f28143411907cfb4b6f3e633c1e535
3,975
/* * Copyright 2015 Kevin Herron * * 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...
45.689655
173
0.788176
6637a85a92ff5961032555813940c37598c5cf68
234
package com.africastalking.models.payment.checkout; public final class CheckoutValidateRequest { public transient CheckoutRequest.TYPE type = CheckoutRequest.TYPE.CARD; public String transactionId; public String token; }
29.25
75
0.799145
10c037707d5104ac0862eb24e2d138c28802699b
1,644
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2021 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 License at * * http://www.apache.org/licenses/LICE...
33.55102
143
0.773723
d8580a2eccb009a0df2401aa0f03229130b49b47
1,368
package UnitTest.DataStructureTest.arrayANDlistTest.listTest; import DataStructure.arrayANDlist.list.listRealize.SinglyLinkedList; import org.junit.Test; /** * @author liujun * @version 1.0 * @date 2020/11/10 * @author—Email liujunfirst@outlook.com * @blogURL https://blog.csdn.net/ljfirst * @description 单链表 测试案...
20.41791
68
0.635234
3a2bcbd8945ec6996283a417e31ce42866765809
964
package gordbilyi.com.navigator.main; import android.support.annotation.NonNull; /** * Created by gordbilyi on 15/08/17. */ public interface MainContract { interface View extends gordbilyi.com.navigator.Presenter.View { void start(); } interface Presenter extends gordbilyi.com.navigator.Pre...
22.418605
73
0.665975
064ef1015181c5c82d3e90753253be90432a04f3
2,499
/* Annot8 (annot8.io) - Licensed under Apache-2.0. */ package io.annot8.testing.testimpl.content; import io.annot8.api.data.Content; import io.annot8.api.data.Item; import io.annot8.api.properties.ImmutableProperties; import io.annot8.common.data.content.Table; import io.annot8.common.data.content.TableContent; import...
28.724138
97
0.730692
7e62516fdcbaba0a8ab739d816edbe62f33464c0
10,247
/* GROOVE: GRaphs for Object Oriented VErification * Copyright 2003--2011 University of Twente * * 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...
34.156667
107
0.621645
207f54f29da90c8ea3e8cff5afd3f28c5e70181e
512
package academy.pocu.comp2500.lab5; public class Pet { private final String name; private final int str; public Pet(String name, int str) { this.name = name; this.str = str; } public int getStr() { return str; } public boolean isSame(Pet other) { boolean a...
18.285714
38
0.519531
e235c74ff0a3e41d89785ff7dff5422279bfb017
13,354
/* * Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.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 ...
28.054622
113
0.693425
0b9ef29c45e294b7aaa756b4c6a11663cfe94825
741
import java.util.Scanner; public class EstimatingTheAreaOfACircle { public static void main(String[] args) { Scanner in = new Scanner(System.in); String line = in.nextLine(); while (!line.equalsIgnoreCase("0 0 0")) { String[] splitLine = line.split("\\s"); double rad...
39
81
0.60054
44c947eafa55448ff9443fdc70661e5ec7089c32
2,156
package com.julioromano.batchimporterspringboot.controllers; import com.julioromano.batchimporterspringboot.batch.BatchAnalyzer; import com.julioromano.batchimporterspringboot.processing.ProcessType; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.beans.factory.annotation.Valu...
38.5
103
0.742115
93464886d254d87645fc38aa4ad52657cbccdffd
629
class goO4M51tlS3VhG { public static void klVa (String[] iXISM) throws e { return new void[ true.eonO8_TEu].iVLK79zjr58(); boolean[][] Nb5NwYqsYtC = !!-!--null[ -mHjiYT8hwbi.ytB] = ( ( new dsEb7Abc()._7xd0i7AcwBali()).eLb()).q(); } public boolean B () throws Ki4W0aIY3C { while ( !f...
33.105263
116
0.535771
9847aa00a531e40312ebea958689bff3515a9d3a
1,636
package org.redischool.fall2018project.usecases.shoppingcart; import com.google.common.collect.ImmutableList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Objects; import static com.google.common.base.MoreObjects.toStringHelper; public class ShoppingCart { privat...
28.206897
101
0.605134
1e141a76eca55a56b9384720a8a7ed08c820a8f0
1,221
/* ID: helena.6 LANG: JAVA TASK: skidesign */ import java.io.*; import java.util.Arrays; public class skidesign { public static void main(String[] args) throws IOException { BufferedReader f = new BufferedReader(new FileReader("skidesign.in")); PrintWriter out = new PrintWriter(new BufferedWriter(n...
24.42
109
0.559378
dccf0f1154110d9800be7ad1b71326207f5bdb73
1,029
package io.github.bootsrc.im.server.core; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import io.netty.channel.ChannelHandlerContext; /** * 客户端连接管理 * @author yinjihuan * */ public class ConnectionPool { private st...
22.866667
113
0.739553
1e8b9c3898a4c754c3810fca382148d14d7d3b59
2,816
package com.common.util.count.aspect; import com.common.util.ip.HttpRequestUtil; import com.common.util.count.annotation.RequestLimit; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.After; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; import org.slf4j.Logg...
40.228571
129
0.682528
570a37ed60d5a93dd03e96820bf2eb44bdf8f693
2,254
package com.stylefeng.gunSelf.modular.system.model; import com.baomidou.mybatisplus.enums.IdType; import java.util.Date; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.activerecord.Model; import com.baomidou.mybatisplus.annotations.TableName; import java.io.Serializable; import o...
21.264151
63
0.60559
53cf92be1658d29499e30d60f5ffd7d332984727
3,318
package org.adorsys.adpharma.client.jpa.loader; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; import javafx.application.Platform; import javafx.concurrent.Service; import javafx.concurrent.Task; import javafx.scene.control.Label; import javax.inject.Inject; i...
31.009346
104
0.761905
f95646a75d6e015eb13cfbd44dcf428c63b011ef
10,748
/* * 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 ...
38.942029
144
0.564942
4d2475b22a1fb627db8c0fcf22a0193ea9b143ba
5,944
package org.yinwang.rubysonar.types; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.yinwang.rubysonar.Analyzer; import org.yinwang.rubysonar.State; import org.yinwang.rubysonar.TypeStack; import org.yinwang.rubysonar.ast.Function; import java.util.*; public class Fun...
25.51073
112
0.509421
e32c126d6f19c59ddac2a3568f2aa5cb84beaa3e
4,730
package org.innovateuk.ifs; import org.innovateuk.ifs.application.resource.ApplicationResource; import org.innovateuk.ifs.invite.constant.InviteStatus; import org.innovateuk.ifs.invite.resource.ApplicationInviteResource; import org.innovateuk.ifs.invite.resource.InviteOrganisationResource; import org.innovateuk.ifs.in...
57.682927
160
0.798943
58090dc1b209c05caf240f89647edd424e08b6fc
94
package il.co.topq.fixture; public class FixtureResponse { public Object response; }
9.4
30
0.723404
013610cc7fb433342ff9577ddb01498a81273256
3,664
package opencv.android; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Environment; import android.util.Base64; import android.util.Log; import com.facebook.react.bridge.ReadableMap; import org.opencv.android.Utils; import org.opencv.core.CvTy...
30.280992
120
0.628275
362bed1bd69b99a9e94eb9ac201bd5fd6b3d54a2
2,568
/* * Copyright (C) 2008 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...
30.571429
89
0.69704
021b89b7f923d184e04fbad7dcb1cd4d4f58867e
848
package org.example.bucket; import org.example.ArrayCreation; import org.example.ReportSorting; import java.util.ResourceBundle; /** * Created on 29.07.2021 14:15. * * @author Aleks Sidorenko (e-mail: alek.sidorenko@gmail.com). * @version Id$. * @since 0.1. */ public class StartBucketSort { public static ...
24.228571
71
0.629717
cb5954e216fa5e8f9c75e21ba299f2b3d0129eb4
3,118
package org.rcsb.cif.schema.mm; import org.rcsb.cif.model.*; import org.rcsb.cif.schema.*; import javax.annotation.Generated; /** * Data items in the PDBX_STRUCT_REF_SEQ_INSERTION category * annotate deletions in the sequence of the entity described * in the referenced database entry. */ @Generated("org.rcsb.cif...
29.415094
75
0.630212
4a8dcb811a288ba4553eb89ee4d22bd9f5e7eea5
986
package org.hisrc.jsonix.compilation.mapping.typeinfo.builtin; import javax.xml.namespace.QName; import org.hisrc.jscm.codemodel.JSCodeModel; import org.hisrc.jscm.codemodel.expression.JSAssignmentExpression; import org.hisrc.jsonix.compilation.mapping.MappingCompiler; import org.hisrc.jsonix.compilation.mapping.type...
34
98
0.77789
c986ffbe2df6879a40f3770e3bc537e2548807dc
1,094
package io.avaje.jex.jetty; import jakarta.servlet.ServletInputStream; import jakarta.servlet.http.HttpServletRequest; import java.io.*; class ContextUtil { private static final int DEFAULT_BUFFER_SIZE = 8 * 1024; private static final int BUFFER_MAX = 65536; static byte[] readBody(HttpServletRequest req) { ...
26.047619
89
0.682815
67b51b062ff855e50edcf8710d3fb1eecc8515fd
942
package io.t2l.mc.matrix.test.mcserver; import java.util.Arrays; import java.util.Collections; import java.util.List; public enum Server { CRAFTBUKKIT("CraftBukkit", new MCVersion[]{ MCVersion.V1_13_2, MCVersion.V1_13_1, MCVersion.V1_13, MCVersion.V1_12_2 }), ...
25.459459
78
0.613588
e0680ad67404c36550d83b4d9700ba78c50dad09
4,164
package com.scausum.demo.widget; import android.animation.ValueAnimator; import android.content.Context; import android.util.AttributeSet; import android.view.View; import android.view.animation.DecelerateInterpolator; import android.widget.ProgressBar; import com.scausum.ptrlayout.PtrLayout; import com.scausum.ptrla...
33.312
101
0.64049
f0bb517d441ab21f5ce7a2febe3fcad864b54bfb
1,132
package com.tiny.socket.socketio.message.base; import com.tiny.socket.socketio.header.HeaderBase; public abstract class MessageBase<T> { protected HeaderBase header; protected T buffer; protected MessageBase() { } protected MessageBase(HeaderBase header, T buffer) { this.header = header...
20.962963
63
0.633392
f196268fb5ff96c77e7f6b5659f32a8ca6aab61b
10,395
// Start of user code Copyright /* * Copyright (c) 2020 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. * * This program and the accompanying materials are made available under the * terms of the Eclipse Dist...
33.75
139
0.71342
d98c85ae52edc5266cc9d81b1f09cf2926b02746
315
package com.xwc1125.droidui.recyclerview.listener; import android.view.View; /** * item点击事件 * <p> * Created by xwc1125 on 2017/4/27. */ public interface DroidItemClickListener { /** * item点击事件 * * @param view * @param postion 位置 */ void onItemClick(View view, int postion); }
16.578947
50
0.634921
68be966a154dc89118ebba889667a63f73f3d01b
641
package neo.repository; import neo.domain.OtherThing; import neo.domain.Thing; import org.springframework.data.neo4j.annotation.Query; import org.springframework.data.neo4j.repository.Neo4jRepository; import org.springframework.data.repository.query.Param; import org.springframework.stereotype.Repository; @Repository...
33.736842
131
0.784711
072e785ed12a425d5ee30cb9ac4e7fff328c8c9b
912
package easy.array.plusone; /** * PlusOne * * @author john 2020/4/25 */ public class PlusOne { class Solution { public int[] plusOne(int[] digits) { if (needNewArr(digits)) { int[] newArr = new int[digits.length + 1]; newArr[0] = 1; return new...
24
59
0.416667
ef88cdc8ec1a007c154619c71015c4bf90579aa6
4,412
// 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 com.intellij.openapi.vfs.impl; import com.intellij.openapi.util.io.FileAttributes; import com.intellij.openapi.util.io.FileSystemUtil; import com.intellij.util.io.FileAcc...
35.580645
152
0.738214
6517ae5d7418e2d8b252c5aa8365d746903792ca
8,038
/* * Copyright 2015 herd contributors * * 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 ...
48.421687
160
0.778427
ada2f3cb5ed022e4332905c17071d46cd2556b74
2,607
package net.config; import net.domain.EmailConfig; import net.repository.EmailConfigJPA; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.mail.javamail.JavaMailSender; import org.springframework.mail.javamail.JavaMailSenderImpl; import org.springframework.stereotype.Component; ...
30.313953
95
0.641734
affd8bf9dc58f4f1e944638d108c64a46bade8b5
1,403
package model.component.character; import api.IComponent; import javafx.beans.property.SimpleObjectProperty; import utility.SingleProperty; import java.util.List; /** * The class for Attack. Contains a single double property. * * @author Roxanne Baker, Rhondu Smithwick */ @SuppressWarnings("serial") public clas...
21.257576
94
0.632217
61f24962ec30702300abe4766f6f206d8b36df4b
2,021
/* file: Parameter.java */ /******************************************************************************* * Copyright 2014-2020 Intel 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 Licens...
34.254237
121
0.683325
4b4a260c6c1e0c70fa5be13e18f218cce0d522f1
711
package de.cotto.lndmanagej.model.warnings; public class NodeWarningFixtures { public static final NodeOnlinePercentageWarning NODE_ONLINE_PERCENTAGE_WARNING = new NodeOnlinePercentageWarning(51, 14); public static final NodeOnlinePercentageWarning NODE_ONLINE_PERCENTAGE_WARNING_2 = new...
50.785714
91
0.787623
35777ca8df210d5518f4cd8a89b4b50178a18ff2
9,901
package org.sagebionetworks.bridge.services.backfill; import static org.mockito.Mockito.any; import static org.mockito.Mockito.anyLong; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.eq; import static org.mockito.Mockito.longThat; import static org.mockito.Mockito.mock; import static org....
42.861472
122
0.674578
a30443ca56de77b540e428d5fdd5baedc54c9a54
704
package com.packtpub.book.ch05.springsecurity.model; import lombok.*; @Data @ToString @Builder @NoArgsConstructor @AllArgsConstructor public class Movie { private Long id; private String title; private String genre; public Movie(Long id, String title, String genre) { super(); this.id = id; this.title = ...
13.283019
52
0.670455
ff8eb532f9fe3e0bca416143d0b8a292c3be95e2
11,298
package ssangyong.dclass.seoulexploration.activity; import android.app.AlertDialog; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v4.view.MenuItemCompat; import android.support.v7.app.AppCompatActivity; import android.view.Menu; import android.view.Menu...
36.095847
191
0.635157