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
3b0ca036a0fe92bd42bff42818f94ebf9b5e14a9
5,098
/* * Copyright (c) 2019. * * 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 writ...
44.330435
150
0.666928
267680a63a372fc4d034d11315673d63fa7df851
4,979
package org.hl7.fhir.igtools.renderers; import org.hl7.fhir.r5.model.CanonicalResource; import org.hl7.fhir.r5.model.ContactDetail; import org.hl7.fhir.r5.model.ContactPoint; import org.hl7.fhir.r5.model.ContactPoint.ContactPointSystem; import org.hl7.fhir.r5.model.DomainResource; import org.hl7.fhir.r5.utils.T...
29.461538
100
0.623619
d3a55bfc4dcae3edd30d57b544f5dd619c05f720
314
package com.ian.spring.struts.service.impl; import com.ian.spring.struts.service.MyService; public class MyServiceImpl implements MyService{ public boolean valid(String username, String password){ if (username.equals("ian") && password.equals("kaka")) { return true; }else{ return false; } } }
19.625
58
0.72293
017058d1cd50a5421790a003575743fc41729342
2,084
package pt.up.fc.dcc.mooshak.server.commands; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import java.util.Arrays; import org.junit.Before; import org.junit.Test; public class AdminCommandServiceImplTest { AdminCommandServiceImpl servlet; @Before public void setUp(...
30.647059
74
0.684261
a11c34ad67cbf2f2b31898c61b42a37914dba0fb
4,107
// Copyright 2016 Yahoo Inc. // Licensed under the terms of the Apache license. Please see LICENSE.md file distributed with this work for terms. package com.yahoo.bard.webservice.util; import com.fasterxml.jackson.databind.ObjectReader; import com.fasterxml.jackson.dataformat.csv.CsvMapper; import com.fasterxml.jackso...
39.873786
119
0.658875
4eee132eaa5bbdb6bee5e385b8c73031860d99e0
550
package com.linkedin.r2.message.stream.entitystream; import com.linkedin.data.ByteString; /** * This is a convenience reader to drain the bytes in the entity stream and simply discard the bytes. * * @author Zhenkai Zhu */ public class DrainReader implements Reader { private ReadHandle _rh; public void onInit...
16.176471
101
0.696364
167c9819f7fb9eb6a1c20e9ed20e996f800df9b1
724
package com.fishercoder.solutions; public class _1043 { public static class Solution1 { /** * credit: https://leetcode.com/problems/partition-array-for-maximum-sum/discuss/290863/JavaC%2B%2BPython-DP */ public int maxSumAfterPartitioning(int[] A, int K) { int N = A.len...
32.909091
116
0.439227
29091281737874571d55f6c2ab7b86dd95deaedf
1,775
package com.anop.resource; import java.io.Serializable; import java.util.Date; /** * 接受者通知资源 * * @author Xue_Feng */ public class ReceiverNotificationResource implements Serializable { private Integer id; private Integer groupId; private Integer userId; private String nickname; private Str...
17.401961
67
0.614085
d83bdfd6a634c1332ff2b7af0ee72f79b13ac33b
7,985
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package lexicalanalyzer; import java.util.ArrayList; import java.util.Arrays; /** * * @author Rakesh */ public class LexicalAnalyzer extends javax.swing.JFrame { private String[] operator={ "+", "-", "*", "/", "...
34.418103
127
0.614527
f354727ee6e8259303207b98640a971397ae0218
936
package PieceCreator; import DataStructures.Pieza; import PieceCreator.PieceType.ProVersion.*; //Clase que implementa la fabrica abstracta y que crea las piezas pro public class PjeProFactory implements PjeAbstractFactory{ int id = 1; public Pieza crearArquero() { ArqueroP arqueroP=new ArqueroP(this.id);...
20.347826
70
0.679487
8d6d703989883dfa0f4bd79bb640145bd922963d
1,994
/* * Copyright (c) 2016-2017, Adam <Adam@sigterm.info> * 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 of source code must retain the above copyright notice, this * ...
35.607143
82
0.732698
71ce2f52dd863a4902aaf3fee7c4139d305771af
538
package de.marcermarc.backup.tasks; import de.marcermarc.backup.controller.PluginController; import org.bukkit.scheduler.BukkitTask; public class StartBackup implements Runnable { private PluginController controller; public StartBackup(PluginController pluginController) { this.controller = pluginCon...
25.619048
153
0.756506
5ff24d99460a7e2633e54f2ff05069f45c7181ea
699
package com.salesmanager.test.shop.rest.service; import org.eclipse.microprofile.rest.client.RestClientBuilder; import org.junit.Test; import java.net.URI; import java.net.URISyntaxException; public class OperationActuatorService { @Test public void testApplicationShutdown() throws URISyntaxException { ...
34.95
125
0.745351
951ba08fc0c321ddb03b229a90ca3089f02f9dc9
357
package org.jjche.security.property; /** * 验证码配置枚举 * * @author miaoyj * @version 1.0.8-SNAPSHOT * @author: liaojinlong * @since: 2020/6/10 17:40 */ public enum LoginCodeEnum { /** * 算数 */ arithmetic, /** * 中文 */ chinese, /** * 中文闪图 */ chinese_gif, /** ...
11.516129
36
0.473389
c70dd6721cdec077d75adfe04bad8a1563402963
773
package org.firstinspires.ftc.teamcode.toolkit.core; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import org.firstinspires.ftc.teamcode.UpliftRobot; public abstract class Background implements Runnable{ Thread t; UpliftRobot robot; LinearOpMode opMode; public Background(UpliftRobot ...
20.342105
82
0.610608
047801d2c98510a3979184d558e680965c3ed5b6
507
package icetone.extras.chooser; import icetone.controls.buttons.SelectableItem; import icetone.core.BaseScreen; public class DefaultButtonView<I> extends AbstractButtonView<I> { public DefaultButtonView() { this(BaseScreen.get()); } public DefaultButtonView(BaseScreen screen) { super("button-view", screen); ...
22.043478
65
0.767258
bfdae5730f31c10945c9a2c9b857af90d8211236
179,785
/* *AVISO LEGAL © Copyright *Este programa esta protegido por la ley de derechos de autor. *La reproduccion o distribucion ilicita de este programa o de cualquiera de *sus partes esta penado por la ley con severas sanciones civiles y penales, *y seran objeto de todas las sanciones legales que correspondan. *Su...
50.930595
376
0.819596
43d3ed9b7ddb690d02e2f5d2a10ccbe793abbbe2
815
package com.heilou.iot.packet; import com.heilou.iot.support.ChannelAttributeHelper; import io.netty.channel.Channel; import io.netty.handler.codec.mqtt.MqttMessageIdVariableHeader; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Component; /** * @description: PUBCOMP连接处理 * @author heilou *...
32.6
136
0.759509
9cd334885d8d4fc2019a6483ea362761f8b43291
649
package swift.crdt.core; import swift.api.CRDTIdentifier; import swift.clocks.CausalityClock; import sys.KryoLib; public class ObjectUpdatesInfo { protected CausalityClock pruneClock; protected CRDTObjectUpdatesGroup<?> update; public ObjectUpdatesInfo() { } public ObjectUpdatesInfo(CausalityClock pruneClock,...
18.542857
88
0.750385
8c56ac8527c85d04189049b9ccd8fdfc01b34260
2,900
package com.youngmanster.collectionlibrary.utils; /** * @author yangyan * @Date on 2019/8/17 * @ Description: */ import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.RejectedExecutionHandler; import java.util.concurrent.ThreadPoolExecutor; im...
27.619048
144
0.583103
e0e40ed6a9444b2bf476416aced95b94637cbf4e
6,864
package com.misscellapp.news.article; import android.animation.ObjectAnimator; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.annotation.Nullable; import android.util.Log; import android.view.View; import android.view.animation.AccelerateInterpolator; import and...
33.647059
104
0.627477
aec1cb6391c7cd43369dca93769ba3a78fa962c2
3,632
package ru.intertrust.cm.core.business.schedule; import java.text.ParseException; import java.util.HashSet; import java.util.Set; import javax.ejb.EJBContext; import javax.ejb.SessionContext; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.InjectMocks; import org.m...
37.833333
132
0.709251
9351b4d9468adf7399fcd9a804760438901c4998
2,448
package com.experts.core.biller.statemachine.api.rovo.awsxray.config.mdc; import org.apache.camel.AsyncCallback; import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.apache.camel.TypeConversionException; import org.apache.camel.impl.MDCUnitOfWork; import org.apache.camel.spi.UnitOfWork; impo...
29.493976
94
0.646242
0daab1f247a0096b5a9dda9b42e89f5587de1537
1,023
package com.diboot.wechat.open.service; import com.diboot.wechat.open.model.WxMemberCardInfo; import me.chanjar.weixin.common.error.WxErrorException; import me.chanjar.weixin.mp.api.WxMpCardService; public interface WxMpMemberCardService extends WxMpCardService { final String CARD_CREATE = "https://api.weixin.qq....
27.648649
84
0.697947
f186b29f4c8ab784fda92e6b492e1c1fab80d4d7
3,212
package es.udc.fi.dc.fd.test.unit.dtos; import es.udc.fi.dc.fd.controller.chat.ChatMessage; import es.udc.fi.dc.fd.dtos.AgeUserProfileDto; import es.udc.fi.dc.fd.dtos.AgelessUserProfileDto; import es.udc.fi.dc.fd.dtos.BlockDto; import es.udc.fi.dc.fd.dtos.DateUserProfileDto; import es.udc.fi.dc.fd.dtos.ErrorsDto; impo...
22.942857
60
0.744707
424f3cc8ff6c76a7455f515a9f492cfe6012a5cc
598
package edu.stanford.protege.webprotege.jackson; import com.fasterxml.jackson.annotation.JsonIncludeProperties; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import uk.ac.manchester.cs.owl.owlapi.OWLDatatypeRestrictionImpl; /** * Matthew Horri...
31.473684
65
0.829431
f420e7d3f91835ce9212e768082c603618807b0e
358
package deltix.qsrv.hf.tickdb.pub; /** * Unchecked exception thrown by a cursor e.g. cursor.next() */ public class StreamCursorException extends CursorException { public StreamCursorException(String message) { super (message); } public StreamCursorException(String message, Throwable cause) { ...
23.866667
67
0.698324
6fd512710f3f903de89d1284e0b51ce8a3bc629c
376
package backjun.level1; import java.math.BigInteger; import java.util.Scanner; public class Main1271 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); BigInteger n = sc.nextBigInteger(); BigInteger m = sc.nextBigInteger(); System.out.println(n.divide(m...
25.066667
44
0.654255
9e6610ea85373543594c25fa4d3fb3ad31134e9b
736
package de.mann.tictactoeframework.tictactoeGame; /** * Preference which player begins */ public enum FirstPlayerOrder { ALTERNATING(0), WINNER(1), LOSER(2), RANDOM(3), ALWAYS_FIRST_PLAYER(4), ALWAYS_SECOND_PLAYER(5); private int id; FirstPlayerOrder(int id) { this.id = id; } public st...
23
100
0.532609
794e9d57f10b3d0bbdb68791fa897230d31e10cd
1,293
package org.psjava.algo.sequence.search; import java.util.Comparator; import java.util.function.Function; import org.psjava.ds.numbersystrem.IntegerDivisableNumberSystem; import org.psjava.formula.FloorDivide; public class BinarySearchFirst { public static <I, O> I search(IntegerDivisableNumberSystem<...
34.945946
169
0.614076
78fef5d68d67099f636931e93bd85fed2511f001
20,503
package andrevictor.com.jarbas.Telas; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.NavigationView; import android.support.v7.app.AlertDialog; import android.support.v...
42.62578
159
0.614788
ff19c48eeee1adab699bacdf86c3c8681cc3858f
3,666
package org.insightcentre.nlp.saffron.taxonomy.wordnet; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.File; import java.io.FileOutputStream; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.zip.GZIPOutputStream; import javax.xml.parse...
41.191011
184
0.621113
f1e2bf685f183012d6ace64e5c3a30164da2fe34
9,601
package project.gps; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.List; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.content.res.AssetManager; import andr...
20.514957
133
0.67545
7c1b00553b25734327a0a6e232d2147cf0f41a70
465
package exception; public class B8 { public static void main(String[] args) { System.out.println(m()); } static int m() { System.out.println("starts"); try { System.out.println(10/0); } finally { System.err.println("RUNTIME exception occured"); retur...
11.923077
86
0.537634
9625935819ab173d7c843ea89c91bc0381f25f43
429
package com.atguigu.gulimall.member.dao; import com.atguigu.gulimall.member.entity.MemberCollectSubjectEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * ��Ա�ղص�ר�� * * @author katrinani * @email lichenkatrinani@gmail.com * @date 2021-02-12 20:59:...
23.833333
89
0.778555
cf1751f4c7ef545f15714302592749e7bf976b22
258
package com.wondernect.stars.user.em; /** * Copyright (C), 2017-2018, wondernect.com * FileName: UserRegistType * Author: chenxun * Date: 2018/12/29 10:33 * Description: 用户注册类型 */ public enum UserType { LOCAL, // 本地用户注册 THIRD, // 第三方用户注册 }
15.176471
43
0.662791
183c75e433fa485ea570371b02065682e8e40bb4
214
package com.shop.shopping.entity; public interface PayState { int START_PAY = 1; int PAY_ERROR = 2; int PAY_OK = 3; int PAY_LAST_ERROR = 4; int PAY_CANCEL = 5; int PAY_RECEIVE_MONEY = 6; }
19.454545
33
0.654206
040f5575dc660c8610d77cc08330235207820e4d
511
package org.infinispan.scattered.stream; import org.infinispan.configuration.cache.CacheMode; import org.infinispan.stream.BaseStreamIteratorEvictionTest; import org.testng.annotations.Test; /** * @author Radim Vansa &lt;rvansa@redhat.com&gt; */ @Test(groups = "functional", testName = "stream.ScatteredIteratorEvict...
31.9375
83
0.800391
31865cc390b1be02b9c275666be2f984cad0e0aa
728
package com.feihua.framework.message.api; import com.feihua.framework.message.dto.BaseMessageTargetClientUserRelDto; import com.feihua.framework.message.po.BaseMessageTargetClientUserRelPo; /** * This class was generated by MyBatis Generator. * @author yangwei 2018-11-02 17:25:55 */ public interface ApiBaseMessage...
33.090909
185
0.787088
06881085ff3695357dfefcb94d2556f24fb9cfaa
4,472
/* * Copyright © 2009 HotPads (admin@hotpads.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
35.212598
96
0.745528
1dbdba355e3a73ead6aee4cfd43e613e01bd1d74
1,092
package com.bitmonlab.osiris.api.map.rest.api; import javax.ws.rs.core.Response; import com.bitmonlab.osiris.api.core.map.exceptions.FeatureNotExistException; import com.bitmonlab.osiris.api.core.map.exceptions.MongoGeospatialException; import com.bitmonlab.osiris.api.core.map.transferobject.FeatureDTO; import...
45.5
185
0.831502
1f06bd8939bfe120fac0697fa174824ab0bf44b0
848
package com.stackroute.innovatorprofile.exception; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.ExceptionHandler; @ControllerAdvice public class GlobalException...
38.545455
101
0.811321
6d45be07b980511da1001708254df2d67a95886e
12,867
/* * Autopsy Forensic Browser * * Copyright 2018 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> 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://ww...
47.655556
223
0.707391
60e0688853c2c541da7c08034125b9fca8b91c03
1,698
/* * Copyright (c) 2013-2017 Cinchapi 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 a...
22.945946
75
0.614841
c37ecc4a268f6ed6445f2a0483ed90d1bf636736
296
package com.jurengis.mancala.domain; import lombok.*; import javax.persistence.Embeddable; @Getter @Setter @NoArgsConstructor @AllArgsConstructor @Builder @Embeddable public class Pit { public enum Type { LITTLE, BIG } private Type type = Type.LITTLE; private int stoneCount; }
12.869565
36
0.746622
3923a908702fb59bcf765fa4ab3b707c51fb0b61
25,375
// Copyright 2018 Rygaard Technologies, LLC // // Redistribution and use in source and binary forms, with or without modification, are permitted // provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this list of // conditions and the ...
51.159274
143
0.564966
807d3606213fc25b724950e39c622d3d144e61fb
1,427
/* * Copyright (c) 2011-2025 PiChen */ package com.github.peterchenhdu.future.auth.cas.services; import com.github.peterchenhdu.future.auth.cas.authentication.principal.Service; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; import java.util.regex.Pattern; /** * Mutable registered s...
27.980392
86
0.699369
8eb8132dfb4b7993e24d39965c3a6392e42c5a21
1,170
package algorithms; public class BubbleSort { public static void sort(int[] array) { int n = array.length; boolean swapped = false; for (int i = 0; i < n - 1; i++) { swapped = false; System.out.println("Iteration " + (i + 1) + ":"); for (int j = 0; j < ...
24.893617
67
0.447863
ca93ee8a6df9a25b214727c5b619d8e46689798f
2,979
package com.infinityraider.agricraft.handler; import com.agricraft.agricore.core.AgriCore; import com.agricraft.agricore.log.AgriLogger; import com.agricraft.agricore.plant.AgriMutation; import com.agricraft.agricore.plant.AgriPlant; import com.agricraft.agricore.plant.AgriSoil; import com.infinityraider.agricraft.net...
45.136364
93
0.682108
af4cb2e1f2c8b58c3bd3b86b2bb1aaeff5dee62b
2,589
package xworker.app.rest; import java.io.IOException; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpUriRequest; import org.apache.http.util.EntityUtils;...
26.418367
121
0.668984
a091c5c7030314ecf987c68233b51f578809eb40
2,077
package Models; import java.util.ArrayList; import java.util.List; public class School { private long id; private String name; private List<Class> classes = new ArrayList<>(); private List<Student> student = new ArrayList<>(); private List<Staffs> staffs = new ArrayList<>(); private String add...
20.564356
75
0.608089
91eb2c08858e3168bdf9bf4905346e6f944f973c
182
package com.elven.danmaku.core.input; public interface InputReceiver { public void pressed(int keyCode); public void released(int keyCode); public void clear(); }
16.545455
38
0.708791
11c556dea856408d2b8fe407c363b7a4251508d6
1,853
package net.minecraft.client.renderer.entity; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelSlime; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.entity.layers.LayerSlimeGel; import net.minecraft.entity.Entity; import net.minecraft.entity...
42.113636
166
0.754452
118674db259adb4946d11c7d7572e06f2424f843
2,048
package com.aharpour.adventofcode; import java.util.HashSet; import java.util.IntSummaryStatistics; import java.util.Set; import static java.lang.Math.max; /** * @author Ebrahim Aharpour * @since 12/20/2018 */ public class Day20Question1 { private int maxTerminalPath = 0; private char[] input; priva...
27.675676
103
0.428223
d326d18c4c9218149e4fc066a64b23099a0cab34
5,737
// Generated from InputExpression.g4 by ANTLR 4.5.1 package ch03.parser.expression.input; import org.antlr.v4.runtime.ParserRuleContext; import org.antlr.v4.runtime.tree.ErrorNode; import org.antlr.v4.runtime.tree.TerminalNode; /** * This class provides an empty implementation of {@link InputExpressionListener}, * ...
27.714976
115
0.698449
5a2b23ce88bbf5fd4488af81adcd5b48199b34de
1,635
/* * Copyright © 2021 <a href="mailto:zhang.h.n@foxmail.com">Zhang.H.N</a>. * * Licensed under the Apache License, Version 2.0 (thie "License"); * You may not use this file except in compliance with the license. * You may obtain a copy of the License at * * http://wwww.apache.org/licenses/LICENSE-2.0 * *...
34.0625
109
0.744343
c3fcaf1f68ec71e567cbffda460e648e66e4f084
1,631
/* * Copyright 2016 Roberto Attias * * 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 ...
25.484375
86
0.70325
554212586ab8f2aa21985fbb29f31acfb1c103a8
1,993
package org.apache.maven.repository.legacy; /* * 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 ...
30.19697
91
0.671851
76c59048c1a7e66819f78f8b372fafa99443d619
2,885
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
36.518987
107
0.732062
1c92eb46bddf85eb8ff16a6542b6cccd18102cda
12,139
/** * @(#)PaletteLookAndFeel.java * * Copyright (c) 2008 by the original authors of JHotDraw * and all its contributors. * All rights reserved. * * The copyright of this software is owned by the authors and * contributors of the JHotDraw project ("the copyright holders"). * You may not use, copy or modify ...
35.494152
157
0.60664
50564937d22256aa398cec9f40219a7748a3cd0c
3,413
package pl.asie.technotronics.utils; import io.netty.buffer.ByteBuf; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.tileentity.TileEntity; import cpw.mods.fml.common.network.FMLOutboundHan...
38.348315
150
0.786991
e732a3fd725b7e36c9149ea2c2bf00a108540590
1,740
package com.finance.financeapp.config; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.ServletRegistration.Dynamic; import org.springframework.web.WebApplicationInitializer; import org.springframework.web.context.ContextLoaderListener; import org.springframework.web.c...
37.826087
102
0.816667
b5f835ac2c7b0e1639946cef6bfe9f9e578291c6
109
for(int i = 2; i <= 8;i += 2){ System.out.print(i + ", "); } System.out.println("who do we appreciate?");
21.8
44
0.550459
bc01042a8119694ede4c08df286d3057ffcf901c
1,523
package jenkins.model.item_category; import hudson.model.TopLevelItem; import org.kohsuke.accmod.Restricted; import org.kohsuke.accmod.restrictions.NoExternalUse; import org.kohsuke.stapler.export.Exported; import org.kohsuke.stapler.export.ExportedBean; import java.io.Serializable; import java.util.List; import java...
20.581081
130
0.665791
91831e97ee40a6369b4b5fd7cbc432d63fec98df
16,481
/*L * Copyright Georgetown University, Washington University. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cab2b/LICENSE.txt for details. */ package cab2b.server.caarray.resulttransformer; import java.util.Set; import cab2b.common.caarray.BioAssayDataRecor...
37.800459
123
0.632304
f1480b1e994388d6a29d4c942f780e234cf2c2f2
375
package net.mine_diver.fabrifine.render; import net.minecraft.class_84; public interface OFClippingHelper { static OFClippingHelper of(class_84 clippingHelper) { return (OFClippingHelper) clippingHelper; } boolean isBoxInFrustumFully(final double minX, final double minY, final double minZ, final...
28.846154
146
0.773333
b77c4c40ded976f38771570bf531ee9e61a2f549
118
class NoConstructor { NoConstructor() { System.out.println("a"); System.out.println("b"); } }
16.857143
32
0.550847
cbcdbacf8b156c8b638d448b7f4bb0a99f84cea5
8,153
/* * Copyright (c) 2007 Tom Parker <thpr@users.sourceforge.net> * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any...
33.008097
90
0.699374
18c581f123d5bf2013997e1516a831fcc30f05bd
2,230
package io.breezil.orquestra.musico.commands; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import ca.uqac.lif.bullwinkle.ParseNode; public class CommandBuilder { private Command building; public CommandBuilder build(String commandName)...
31.857143
124
0.726457
83b3dc9796615d144080f59d75310bbba4045a7a
2,041
/* * Copyright 2011 - 2013 NTB University of Applied Sciences in Technology * Buchs, Switzerland, http://www.ntb.ch/inf * * 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 * * h...
27.581081
100
0.653111
ff9f03e8aa086c3f6fd4edb09ad980ab68de5030
1,347
package net.pechorina.model; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.util.Date; import java.util.List; @JsonIgnoreProperties(ignoreUnknown = true) public class PRecord { private Boolean hasPrevious; @JsonFormat(pattern = "...
21.380952
61
0.599852
35ecdb2faecf5cc0fb8ddc47f339083d133363c8
3,749
/* * Copyright 2018 Information and Computational Sciences, * The James Hutton Institute. * * 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/...
28.18797
139
0.719392
85264057586835b8a235abe681814108ec933396
3,600
/* * * Copyright (C) 2020 iQIYI (www.iqiyi.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
32.727273
116
0.658611
32f18ccdfa293d198d45275f339947aed432acf6
1,982
/* * This file is part of ModpackInfo, licensed under the MIT License (MIT). * * Copyright (c) OreCruncher * * 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, includ...
36.703704
89
0.781534
365947ae6ed8bd7932c1140296541206817bc8e1
505
package com.dianrong.common.uniauth.client; import com.dianrong.common.uniauth.client.custom.UserExtInfo; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.stereotype.Component; @Component public class UniClientCommonService { /** * 获取当前的登陆用户信息. */ public Use...
26.578947
98
0.778218
8303d43e24956853faf6339198211a23528c3add
692
package ru.job4j.studentgroup; import java.util.List; import java.util.stream.Collectors; import java.util.stream.Stream; /** * Группировка учеников */ public class StudentGroup { /** * Возвращает спискок студендов с баллом больше bound * * @param students список студентов * @param bound ...
25.62963
65
0.606936
ac1a9c55fca687b3ff0cad8bdad68303a189a022
3,395
package com.tnovoselec.lifesumfoodsearch.presenter; import android.util.Pair; import com.tnovoselec.lifesumfoodsearch.Router; import com.tnovoselec.lifesumfoodsearch.api.FlickrClient; import com.tnovoselec.lifesumfoodsearch.api.LifesumClient; import com.tnovoselec.lifesumfoodsearch.api.model.ApiFoodItem; import com.t...
31.728972
122
0.765538
a4083c28a77bcbacc52c025f97127d8c5a0b9ca4
2,535
/* * MSX SDK * MSX SDK client. * * The version of the OpenAPI document: 1.0.8 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package com.cisco.msx.platform.model; import com.cisco.msx.pla...
20.950413
92
0.642998
7f8b99baaa8ecd3ec851221ff42349426dde3553
639
package org.odk.collect.android.http; import java.util.List; import java.util.Set; import java.util.TreeSet; import javax.annotation.Nullable; public class CaseInsensitiveEmptyHeaders implements CaseInsensitiveHeaders { @Nullable @Override public Set<String> getHeaders() { return new TreeSet<Stri...
19.363636
76
0.674491
9a8cd6efa3ce1390fe5364c154971138e1a4c7e6
164
package uk.gov.phe.erdst.sc.awag.webapi.request; public class AssessmentUpdateRequest { public AssessmentClientData assessment; public boolean isSubmit; }
20.5
48
0.792683
0a3c4ccd4a73596d8278bbb35cfb0dacba43af41
512
package org.oobench.messages; import java.util.*; public class StaticPerformance extends MessagesBenchmark { public static void myStaticMethod() { int foo = 10; foo = foo; } public void invoke(int count) { reset(); for (int i = 0; i < count; i++) { myStaticMet...
20.48
73
0.572266
f81abddaa76f02ee797720f9abaa5fc69b5da2a7
227
package com.yoga.logging.mapper; import com.yoga.logging.model.Logging; import com.yoga.core.mybatis.MyMapper; import org.apache.ibatis.annotations.Mapper; @Mapper public interface LoggingMapper extends MyMapper<Logging> { }
22.7
58
0.814978
b2c6d582423a5a6d656c1138e10846a414934a0e
494
import java.util.Stack; public class S1598CrawlerLogFolder { public int minOperations(String[] logs) { Stack<String> path = new Stack<>(); for (String log : logs) { if (log.equals("../")) { if (!path.isEmpty()) { path.pop(); } ...
24.7
45
0.41498
394f6225fe6d6140786145f3883472549ea0039c
2,653
/* Copyright (C) GridGain Systems. 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 applicable law or...
30.147727
107
0.63513
faa1504b838839b79a438dd377917ef347a770dc
153
package edu.htu.ap.week5.session1.interfaces; public interface C { public void sayHello(); public void sayGoodBye(); public void sayHi(); }
17
46
0.699346
8b6f22eec9c4814ebfeba9d0eb80ab1a3a9180b2
855
package linkedLists; import java.util.*; public class MainLinkedList { public static void main(String[] args) { List<Integer> ll = new LinkedList<>(); List<Integer> al = new ArrayList<>(); getTimeDiff(al); getTimeDiff(ll); // ll.add(12); // // ll.add(2); // ll.add(32); // //l...
20.357143
110
0.575439
e2c7395a978d20c86fa3c9c5dc9e45446b8b389b
5,506
package cn.featherfly.hammer.tpl.mapper; import java.io.FileOutputStream; import org.objectweb.asm.ClassWriter; import org.objectweb.asm.MethodVisitor; import org.objectweb.asm.Opcodes; import org.objectweb.asm.Type; import org.objectweb.asm.signature.SignatureVisitor; import org.objectweb.asm.signature.Sign...
45.131148
116
0.644025
9434865ce3fbe48681049a5022fa6bb4b8d0e0c8
15,542
/* * The MIT License (MIT) * * Copyright (c) 2010 Technische Universitaet Berlin * * 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 t...
34.847534
118
0.726419
e8c6ddda6e4ada40408ff526f18f46d3d6d7d212
729
package com.br.uaicoins.models.db; import java.math.BigDecimal; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.pers...
20.25
51
0.78738
2f51a8d2b2c38fc9894615857d539329549d3032
974
import edu.princeton.cs.algs4.Digraph; import edu.princeton.cs.algs4.In; import org.junit.Assert; import org.junit.Test; public class SAPTest { @Test public void ancestorTest(){ SAP sap = new SAP(new Digraph(new In("test/resources/wordnet/digraph1.txt"))); Assert.assertTrue("", sap.ancestor(...
24.35
86
0.601643
10ca8590df59169b40e5a5f44e978e308f1ce877
2,340
/** * Copyright (c) 2011-2017, SpaceToad and the BuildCraft Team * http://www.mod-buildcraft.com * <p/> * BuildCraft is distributed under the terms of the Minecraft Mod Public * License 1.0, or MMPL. Please check the contents of the license located in * http://www.mod-buildcraft.com/MMPL-1.0.txt */ package build...
30.789474
91
0.725641
79371abbc90d8d962df697b33f4b04abff6b6137
13,107
package com.keykat.keykat.brawlkat.common.util.network; import android.content.Context; import com.keykat.keykat.brawlkat.common.util.kat_LoadingDialog; import com.keykat.keykat.brawlkat.common.util.KatData; import com.keykat.keykat.brawlkat.common.util.parser.kat_official_BrawlerRankingParser; import com.keykat.keyk...
40.453704
128
0.512322
b45957ba262134a4d03bf6e9808a8d7ac096f56c
1,773
/* * Copyright 2015-2021 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 app...
29.55
89
0.72194
87b95933b825baf1706f088e2c62772da0ab6653
4,132
/* * 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.981132
101
0.729187
219db491912bca616cae9c488691ba7e92ba6be5
1,898
package com.kaciras.blog.infra; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration; import org.springframework.boot.test.context.SpringBootTest; import...
31.114754
80
0.788198
0b8bd5023a275b27c855e609b4ea2f769e828eae
909
package org.spring.springboot.service; import org.spring.springboot.pojo.User; import org.springframework.context.annotation.ComponentScan; import org.springframework.stereotype.Service; import java.util.ArrayList; import java.util.List; public interface UserService { /** * 查看所有用户信息 * @return ...
16.527273
60
0.572057
a2b1f51cf9a3e3e9d81acd909e9f26961c9ee441
10,678
package com.robinkanatzar.findamovie; import android.content.Context; import android.graphics.Typeface; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.View; import androi...
39.695167
156
0.530062
395d110a5a3bafe337c502ba85c409f6241dc20f
8,520
package tracker; import java.util.ArrayList; import java.util.List; import static java.lang.System.exit; public class MenuTracker { private Input input; private Tracker tracker; private List<UserAction> actions = new ArrayList<>(); MenuTracker(Input input, Tracker tracker) { this.input = in...
28.686869
161
0.523357
7278d67af352af3faa27bfdbbc4d64738564b27f
3,244
package Vista; import Modelo.MainObjects.Game; import Vista.Eventos.*; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.control.Label; import javafx.scene.layout.*; import javafx.scene.paint.Paint; import javafx.stage.Stage; public class PrincipalContainer extends BorderPane { priva...
35.648352
153
0.681566
b45bc148262aaf23fe503f7734b7902337c4c581
2,980
package dk.dataforsyningen.gsearch; import com.fasterxml.jackson.databind.ObjectMapper; import org.jdbi.v3.core.Jdbi; import org.jdbi.v3.core.mapper.RowMapper; import org.jdbi.v3.core.spi.JdbiPlugin; import org.n52.jackson.datatype.jts.JtsModule; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.spri...
37.25
227
0.703691