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
67040afc80b19a8c7af58aed82801583a3377efb
1,921
package org.innovateuk.ifs.management.controller.application.list.controller; import org.innovateuk.ifs.management.application.list.controller.CompetitionManagementApplicationsController; import org.innovateuk.ifs.security.BaseControllerSecurityTest; import org.junit.Test; public class CompetitionManagementApplicatio...
32.559322
150
0.654347
e201adf950286856d065b4188e70550b014d01ab
2,613
/* * Copyright 2017, Harsha R. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
32.6625
105
0.643705
bc5ea3fb1f1cb4a0ca254c737a76e5bedbbbbc5e
847
package com.dx168.patchserver.manager.service; import com.dx168.patchserver.core.domain.Relation; import com.dx168.patchserver.core.mapper.RelationMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** */ @Service public class...
23.527778
62
0.747344
51cb5ea4baaf7149a68325e24687d4213047c56b
2,891
/*- * #%L * Liquibase extension for Clickhouse * %% * Copyright (C) 2020 Mediarithmics * %% * 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/LIC...
35.691358
99
0.68523
c825d1f33e246ec15dc2aca31a390dd1cfb526a6
4,307
package everyos.bot.luwu.run.command.modules.starboard; import java.util.Map; import java.util.function.Consumer; import everyos.bot.chat4j.entity.ChatGuild; import everyos.bot.luwu.core.database.DBArray; import everyos.bot.luwu.core.database.DBDocument; import everyos.bot.luwu.core.database.DBObject; import...
24.611429
105
0.676341
ca372be1ddef2baa40fcd52cf77b6a9753bd1946
3,497
package my.alkarps; import org.junit.jupiter.api.Test; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; import java.util.stream.IntStream; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; /** * @author...
33.304762
79
0.602516
f72583b45780e4ec3264b98199c5d224f03be33b
1,206
package com.imarcats.internal.server.infrastructure.notification.trades; import com.imarcats.interfaces.client.v100.dto.MatchedTradeDto; import com.imarcats.interfaces.server.v100.dto.mapping.MatchedTradeDtoMapping; import com.imarcats.model.MatchedTrade; /** * Implementation of Trade Notification Session *...
31.736842
90
0.795191
71aa58ffdc68174462870c6ec7558d27c8e7a3a5
4,728
// // ======================================================================== // Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
25.695652
149
0.571912
d75c7adf86fa2d8ce7776899c9977edf3bf1029f
1,263
package me.dylanmullen.bingo.configs; import java.io.File; import java.util.ArrayList; import java.util.List; public class ConfigManager { private static ConfigManager instance; private List<Config> uiConfigs; /** * @return Returns an instance of the Config Manager */ public static ConfigMa...
17.788732
81
0.63658
4062e51d275964dd8c28ff8c886321a2be6b1a7d
373
package com.shinobicontrols.charts; public class EaseInOutAnimationCurve extends AnimationCurve { public float valueAtTime(float time) { if (time < 0.5f) { time *= 2.0f; return ((time * time) * time) * 0.5f; } time = 1.0f - ((time - 0.5f) * 2.0f); return ((1....
28.692308
63
0.530831
22788b1eb6bafaf1b9187a839a261f7a4008d70c
5,516
package zserio.emit.doc; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.TreeMap; import zserio.ast.AstNode; import zserio.ast.ChoiceType; import...
29.497326
101
0.660261
788174607b3ad7b8718ef662f713a98e23455eaa
4,334
package com.xceptance.xlt.api.util; import java.util.Arrays; import java.util.List; import org.junit.Assert; import org.junit.Test; import com.xceptance.xlt.engine.util.TimerUtils; public class LightweightHtmlPageUtilsTest { @Test public final void testGetAllAnchorLinks() { final String content ...
47.626374
136
0.460083
2560d594f8dd9e772919e1a28476eca370eaf04b
834
package lv.ctco.cukesrest; /** * List of variables and options used in cukes-rest. */ public interface CukesOptions { int CUKES_BEFORE_HOOK_STARTUP_ORDER = 500; String PROPERTIES_PREFIX = "cukes."; String HEADER_PREFIX = "header."; String DELIMITER = ","; String RESOURCES_ROOT = "resources_root"...
30.888889
83
0.724221
8bc7d295020cc33654a0254149a80e17196c6183
23,810
/** * Copyright 2015 Mike Baum * * 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 wr...
39.617304
113
0.640445
b4e243b9cb5e6ecad0d695b0a00ac43ab8fe353a
1,201
/* * (C) Copyright IBM Corp. 2016,2020 * * SPDX-License-Identifier: Apache-2.0 */ package com.ibm.whc.deid.etl; import com.ibm.whc.deid.util.Tuple; import java.util.ArrayList; import java.util.List; public class Pipeline { /** The Pipeline object list. */ List<PipelineObject> pipelineObjectList; /** * F...
20.355932
67
0.646128
4aea73f0d6d496e283bcf5e0021383ab293b936b
4,605
package com.gazman.disk_cache; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import java.io.ByteArrayInputStream; import ja...
31.326531
101
0.601954
0f207ceb3120b0f2338248036d8679587c33b985
221
package com.flat502.rox.server.response; public interface Response { /** The content of the response. */ public byte[] getContent(); /** The mimetype of the content. */ public String getContentType(); }
22.1
40
0.674208
b669d4049c8d70d072ecfbb1d6b3ae3a5e544780
275
package com.collabra.backend.dto; import java.util.List; public class UserListDTO { private List<UserDTO> userList; public List<UserDTO> getUserList() { return userList; } public void setUserList(List<UserDTO> userList) { this.userList = userList; } }
16.176471
51
0.712727
7dc497b42b2a1c2d94bcea491b38d77b64a7b1d2
43,930
package com.botongsoft.rfid.ui.fragment; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.IntentFilter; import android.content.SharedPreferences; import android.os.Bundle; import android.os.Handler; import android.os.HandlerThread; import android.os.Message; import android...
43.366239
173
0.508354
791a6654b0525f7d846194f11bc603e3942a5445
1,679
/* The contents of this file are subject to the license and copyright terms * detailed in the license directory at the root of the source tree (also * available online at http://fedora-commons.org/license/). */ package org.fcrepo.client.objecteditor; import java.awt.event.ActionListener; import java.io.IOExceptio...
27.983333
80
0.674806
e445628b2dc0c74c012fcd134ce1ea5e1edc0820
784
package com.forasterisk.ilkeok.api; import okhttp3.ResponseBody; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Query; import rx.Observable; /** * Created by yearnning on 15. 10. 21.. */ public interface ApiInterface { @GET("search/msearch.nhn") Observable<ResponseBody> WebtoonDeta...
31.36
86
0.566327
d75fd1773f53e8408c85965e62adc6bb39c6fd3f
3,058
/******************************************************************************* * Copyright 2009-2019 Exactpro (Exactpro Systems Limited) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
31.854167
86
0.61707
00a24006607e27c15355cd2043874abb141ebfe9
2,915
package org.apache.archiva.event; /* * 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, V...
35.987654
122
0.639794
2b49c119b9d18eec4324e5a5ee45ae5132323372
6,404
package SocketsChat; //Blibliotecas Importadas import javax.swing.*; import java.awt.event.*; import java.io.*; import java.net.*; import java.util.ArrayList; public class Cliente { public static void main(String[] args) { MarcoCliente mimarco=new MarcoCliente(); //LLama la Clase del...
34.06383
84
0.564179
18f413e4503eb708baddc81fb6ca347037f85ea4
2,994
package com.thedazzler.droidicon.util; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import android.content.Context; import android.content.res.Resources.NotFoundException; import android....
29.352941
99
0.599866
92a51c89ba1ebca24f462193dd4791f042aaad0c
7,807
package it.polimi.dima.mediatracker.dialogs; import android.app.AlertDialog; import android.app.Dialog; import android.graphics.drawable.GradientDrawable; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.app.DialogFragment; import android.support.v4.content.ContextCompat; ...
29.684411
126
0.626489
5ddc9546c1bda34db0e8818d347a37228c9216e0
2,039
package com.bookstore.servlet; import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.Timestamp; import javax.servlet.ServletException; import javax.servlet.annotation.MultipartConfig; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRe...
27.186667
120
0.710152
c96b11d8a42e6b340d34f0206f2b501ce309c20e
307
package com.example; import javax.annotation.Generated; @Generated("org.realityforge.webtack") public final class IncomingEventTestCompile { static IncomingEvent $typeReference$; public static void onInvoke(final IncomingEvent $instance, final MyEvent event) { $instance.onInvoke( event ); } }
23.615385
83
0.775244
9cc90cd261d8e60b162067d89efc863b750790ef
3,243
// Copyright (C) 2017 polybellum // Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> package polybellum.http; /** * A class representing a generic Response from a source with a response code integer and * a byte array data value * * @author Nic Wilson (mtear) * */ public class Resp...
30.59434
99
0.526981
65c71b80774b238401fbd188ea718552b0b1e6be
944
package com.tinkerpop.gremlin.test.sideeffect; import com.tinkerpop.blueprints.Vertex; import com.tinkerpop.pipes.Pipe; import com.tinkerpop.pipes.util.structures.Tree; import junit.framework.TestCase; import java.util.Map; /** * @author Marko A. Rodriguez (http://markorodriguez.com) */ public class TreeStepTest e...
32.551724
87
0.661017
204de94c0fe199c474b9c3e7cb60cb9d83880bbb
3,129
public Query(String query) throws QuerySyntaxError { int groupSpecial = 1; int groupContent = 2; Pattern commentPattern = Pattern.compile("^" + any(SPACE) + literal("#") + optional(group(literal("!"))) + group(any(".")) + "$", Pattern.MULTILINE); Matcher matcher = commentPattern.matc...
55.875
188
0.525727
66a1a1a960fd26224acc64444c645d7df1cebd0e
1,698
package br.dev.simon.booksapi.domain; import java.sql.Date; import java.util.List; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.OneToMany; import javax.validation.constraints.NotEmpty; import c...
20.214286
69
0.750294
5a3556736c91c8a91aed283aadde11b3c30d14f8
14,506
/* * Copyright (C) 2014 Fastboot Mobile, LLC. * * This program is free software; you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is...
36.447236
131
0.595891
471c20fd8c76b5e0ae93a174eb8b30c7142a637e
695
package org.hyperdex.client; import java.util.*; public class LessEqual extends Predicate { public LessEqual(Object upper) throws AttributeError { if ( ! Client.isBytes(upper) && ! (upper instanceof Long) && ! (upper instanceof Double) ) { throw new Att...
26.730769
103
0.614388
0328411d39b97ebd5750fd5ec90dd94682a5e9c1
1,903
package li.cil.tis3d.api; /** * API entry point for access to the tiny font renderer used on execution * modules, for example. * <p> * Keep in mind that the list of printable characters is very small for this * font renderer, due to the small number of characters in the font sheet. */ public final class FontRend...
30.693548
80
0.614293
cdc710b05ac8f65db8352e483d0a5bcc55a6e511
356
package com.controller.hello; /** * @program: spring * @description: TODO * @author: yangyang.liu01@weimob.com * @date: 2021/4/25 18:41 */ public class HelloWorld { public void sayHello(){ System.out.println("Hello World!"); } public static void main(String[] args) { HelloWorld helloWorld = new HelloWorl...
16.952381
43
0.679775
fa481e0b7d368766697bfc755b2d237b965e7c5d
223
package com.dong.design.mediator; public class List extends Component { @Override public void update() { System.out.println("新添加一个条目"); } public void select(){ System.out.println("列表选中张无忌"); } }
14.866667
38
0.650224
7a5bda9bea26d300356dd8e5f87fd496ae519319
564
import java.util.*; public class u11369_shopaholic { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); int caseT = sc.nextInt(); for(int cIdx=0; cIdx < caseT; cIdx++) { int N = sc.nextInt(); int[] val = new int[N]; fo...
21.692308
55
0.569149
3349ef386fcb6505b9c5fde000a84947f1533510
349
package cellsociety.exceptions; /** * Exception thrown when a user requests an invalid cell * @author Alex Xu */ public class InvalidCellException extends RuntimeException { public InvalidCellException(Throwable cause) { super(cause); } public InvalidCellException(Throwable cause, String message) { ...
20.529412
64
0.74212
a57289d8cc257c74308766e97706464002638868
1,775
package com.ggj.java.teach; import java.util.Scanner; /** * @author:gaoguangjin * @date:2018/4/2 */ public class BasicType { private static boolean boolFlag; public static void main(String[] args) { new BasicType().tests(); //byte 等于8 bit bit为二进制的单位 byte maxByte=Byte.MAX_VALUE; ...
23.355263
68
0.547606
61a1a2add420e1475a6fc9f26d7d5d1b64279479
396
/* * 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 at.rocworks.oa4j.logger.base; /** * * @author vogler */ public class CacheItem { public int threadNr = -1; public l...
22
79
0.679293
c206334bf3fde3eb11afddfe33145c4e5a24ce2a
25,665
package de.fearnixx.jeak.teamspeak; import java.util.HashMap; import java.util.Map; import java.util.Optional; import java.util.regex.Matcher; import java.util.regex.Pattern; public class PermissionSID { private static Map<String, PermissionSID> INSTANCES = new HashMap<>(); private static final Pattern PERMI...
90.052632
138
0.827041
824da67f8a1a30b01fcb30c537d5ed416c17bfd6
937
package doko.database.player; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "players") public class Player implements Comparable<Play...
17.351852
51
0.72572
2d0d5ddcfa8d5949e363ef3266f7000ae247556a
3,576
package lc.common.crypto; import java.security.KeyStoreException; import java.security.PublicKey; import java.util.HashMap; import java.util.Map.Entry; /** * Certificate registry. Used to keep a chain of keys and to determine if a * particular key is known by the trust registry. * * @author AfterLifeL...
24.162162
85
0.610459
1c6140f80e5b08fd9b827dfaad5aa87894a16a81
1,543
package dk.viabnb.sep3.group6.dataserver.rest.t3.dao.guestreview; import dk.viabnb.sep3.group6.dataserver.rest.t3.models.GuestReview; import java.util.List; public interface GuestReviewDAO { /** * Create a new GuestReview object and store it in a database * * @param guestReview The new object * @return...
36.738095
101
0.755671
73a297451499f5a24a4852526e4f3c85d4e6c586
1,049
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.search.yql; import com.google.common.collect.Sets; import org.antlr.v4.runtime.Parser; import org.antlr.v4.runtime.TokenStream; import org.antlr.v4.runtime.tree.ParseTree; import j...
26.225
118
0.678742
6d843c172a3cf99ab0425cfac04453447b6a2b93
3,023
// Copyright (c) 2003-present, Jodd Team (http://jodd.org) // 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, // th...
32.858696
99
0.754548
ad50e0c16a247388e259849b5e8bc33917bee9b9
496
package io.leopard.convert; import io.leopard.lang.Paging; import java.util.List; public class ConvertUtil { public static <S, T> T bean(S source, Class<T> clazz) { return new BeanConvert<S, T>(source, clazz).convert(); } public static <S, T> List<T> list(List<S> list, Class<T> clazz) { return new ListConve...
23.619048
74
0.683468
af171e39a53b648717f15d9fac91554d03c77906
5,886
package org.sdase.commons.server.kafka.config; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import java.util.Properties; import org.apache.kafka.common.config.SaslConfigs; import org.junit.Test; import org.sdase.commons.server.kafka.KafkaC...
34.623529
112
0.739212
0c50bbebb7c07216570ca2474ccb0115e1ebc18a
221
package UTDC.Controllers; import UTDC.Models.UTDCModel; import UTDC.Views.ViewInterface; public interface ControllerInterface { void setView(ViewInterface v); void setModel(UTDCModel m); void startFlow(); }
20.090909
38
0.764706
01eef1810dd5eaf4f2f13ded817cc9eabc2bfaef
534
package assembly; public class BoundingBox { public int minX; public int maxX; public int minY; public int maxY; public BoundingBox(int minX, int maxX, int minY, int maxY) { this.minX = minX; this.maxX = maxX; this.minY = minY; this.maxY = maxY; } public void encompass(BoundingBox boundingBox) { th...
21.36
61
0.702247
2205fdfc2537675b743b94fc272436e5a9f8aa5c
2,225
package com.hui.Math; /** * @author: shenhaizhilong * @date: 2018/8/29 14:54 */ public class StudentAttendanceRecord { /** * * 551. Student Attendance Record I * DescriptionHintsSubmissionsDiscussSolution * You are given a string representing an attendance record for a student. ...
29.276316
143
0.488539
f19d27d8422698f773d2101b54d7ced268d0e41d
635
package com.example.demo; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; @Controller public class HomeController { @RequestMapping("/emailRequestForm"...
30.238095
87
0.75748
98f2266216dbcf57ea436344d4010736e8ea9428
4,927
/*- * ============LICENSE_START======================================================= * ONAP - SO * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * =============================================================...
28.982353
141
0.662269
2e7aa7077be8322834523afa0871b9016fd72806
1,464
package edu.rpi.tw.data.csv.querylets.structural; import java.nio.charset.Charset; import org.openrdf.model.Resource; import org.openrdf.query.BindingSet; import edu.rpi.tw.data.rdf.sesame.query.impl.OnlyOneContextQuerylet; /** * */ // https://github.com/timrdf/csv2rdf4lod-automation/issues/277 public class Char...
28.705882
103
0.656421
08fdbef7afa553560e1cac0d4974c91c18e6c9f9
679
package pg.gipter.core.producers; import org.junit.jupiter.api.Test; import pg.gipter.core.ApplicationPropertiesFactory; import java.util.Arrays; import java.util.List; import static org.assertj.core.api.Assertions.assertThat; class LinuxDiffProducerTest { @Test void given_listOfCommands_when_getFullComman...
29.521739
97
0.724595
8062149b06ff59413e666d78bec594399f100590
4,064
/* * 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 ...
35.034483
114
0.618602
66490a1ab85356602d19fd4b2892c89c0511489e
722
package com.leyou.item.bo; import lombok.Data; /** * 秒杀参数设置 */ @Data public class SeckillParameter { /** * 要秒杀的sku id */ private Long id; /** * 秒杀开始时间 */ private String startTime; /** * 秒杀结束时间 */ private String endTime; /** * 参与秒杀的商品数量 */ pr...
15.361702
52
0.433518
ff3a3b83527cb1fb22d247e79ed8db1fa99a6b72
18,038
package org.im97mori.ble.service.bcs.peripheral; import static org.im97mori.ble.constants.CharacteristicUUID.BODY_COMPOSITION_FEATURE_CHARACTERISTIC; import static org.im97mori.ble.constants.CharacteristicUUID.BODY_COMPOSITION_MEASUREMENT_CHARACTERISTIC; import static org.im97mori.ble.constants.DescriptorUUID.CLIENT_C...
55.16208
244
0.749362
b5a0d1435c9634201ff80f9e2d5672d60a02bd75
909
package edu.wzm.tool; import org.springframework.beans.MutablePropertyValues; import org.springframework.web.servlet.mvc.method.annotation.ExtendedServletRequestDataBinder; import javax.servlet.ServletRequest; import java.util.Map; /** * @author Jimmy Wong */ public class ParamAliasDataBinder extends ExtendedServl...
28.40625
102
0.706271
361a8fbf93c72c80bdffc0976b366e7dcceca5c8
1,065
package xyz.cirno.clever.bus; import java.util.List; import org.json.JSONObject; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.TextView; public cl...
31.323529
75
0.781221
f19b99c49e826302512cb480996a7cda403ae1c0
3,486
package view; import java.awt.Color; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import javax.swing.BorderFactory; import javax.swing.JPanel; import javax.swing.JTabbedPane; import controller.Controller; public class MainPanel extends JPanel { private static final lon...
23.714286
74
0.702238
1e6702f3156f7c4c092269b533b2d855a255b1f2
947
package com.synopsys.integration.util; import static org.junit.jupiter.api.Assertions.*; import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Test; public class IntegrationEscapeUtilTest { @Test public void testEscapingForUri() { final IntegrationEscapeUtil integrationEscapeU...
41.173913
111
0.724393
63dd59d5fa6a1db004754a27b5671b1c956ff4a9
592
package com.github.jiangxch.courselearningmanagement.all; import com.spring4all.swagger.EnableSwagger2Doc; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * @author: sanjin * @date: 2020/2/26 下午3:58 */ @SpringBootApplication( scanB...
29.6
82
0.793919
3e6578834e21c95a091038745671babb727f5839
3,998
/* * 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 ...
38.815534
126
0.691846
9aaaac396fbf5478110b312cb846647819fc8f04
998
package edu.purdue.cs.util; import org.eclipse.jdt.core.dom.ASTVisitor; import org.eclipse.jdt.core.dom.CompilationUnit; import org.eclipse.jdt.core.dom.TypeDeclaration; /** * @author XiangzheXu * create-time: 2019-02-09 */ public class SimpleCountVisitor extends ASTVisitor { private static long loc; priva...
23.761905
74
0.650301
4b910cb15af48a3e0c2e6338050d714d8c501ee8
4,434
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.web.analytics; import java.util.List; import org.threeten.bp.Instant; import com.google.common.collect.ImmutableList; import com.opengamma.engine.marketdata....
37.576271
120
0.736581
90ce4acd4cfb310ecd940792283a97eaa02258f4
1,002
package org.openstack4j.openstack.murano.v1.internal; import org.openstack4j.api.Apis; import org.openstack4j.api.murano.v1.*; /** * This class contains getters for all implementation of the available Murano services * * @author Nikolay Mahotkin */ public class MuranoService extends BaseMuranoServices...
25.692308
87
0.697605
175fb5beffb347ea5f7dcdfb20c2ffcbf7f357ab
629
public class SR{ public static void main(String args[]){ int i = 1, j = 99; System.out.print("Serie for: "); for(i=1; i<=100; i++){ if(i<=100){ System.out.print(i+", "); } } for(i=99; i>=1; i--){ if(i>1){ System.out.print(i+", "); } else{ System.out.print(i); } } //nuevo modo ...
16.128205
46
0.503975
fafdc0790ea1d8b799edb5320416ec9d39e9688c
5,492
package com.github.ayltai.newspaper.view; import java.util.Date; import java.util.List; import javax.annotation.Nonnull; import android.graphics.Point; import androidx.annotation.CallSuper; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.annotation.UiThread; import com.gith...
34.540881
167
0.671522
b0c5ef509ee597ecc2852ffbf3d6b722cf69fa8b
1,682
/** Copyright (c) 2007-2013 Alysson Bessani, Eduardo Alchieri, Paulo Sousa, and the authors indicated in the @author tags Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licen...
31.148148
117
0.752675
d1b77793bac3a98b76abcaa28b012bec0f98ff21
1,626
package com.evanxie.yelang.web.commons; import org.eclipse.jetty.server.Connector; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.nio.SelectChannelConnector; import org.eclipse.jetty.webapp.WebAppContext; public class StartWeb { public static void main(String[] args){ Server server = new S...
41.692308
110
0.669742
b172fc7e32f1364a94f61d55e77792c72a6c6335
1,322
/* * Copyright (c) 2018 Bixbit - Krzysztof Benedyczak. All rights reserved. * See LICENCE.txt file for licensing information. */ package io.imunity.upman.groups; import pl.edu.icm.unity.engine.api.project.DelegatedGroup; import pl.edu.icm.unity.webui.common.Images; /** * Tree node used in {@link GroupsTree} * ...
19.15942
90
0.717852
843785d2cccca083106b3eb3cf0e8cff3776d09b
538
package se.sundsvall.messaging.integration.smssender; import java.time.Duration; import org.springframework.boot.context.properties.ConfigurationProperties; import se.sundsvall.messaging.integration.AbstractRestIntegrationProperties; import lombok.Getter; import lombok.Setter; @Getter @Setter @ConfigurationPropert...
26.9
87
0.832714
5c0aaf3eaba1d294a4ded85d643367d3c939d26f
1,503
// Generated from io\onedev\server\u005Cutil\u005Cusermatch\UserMatch.g4 by ANTLR 4.7.2 package io.onedev.server.util.usermatch; import org.antlr.v4.runtime.tree.ParseTreeVisitor; /** * This interface defines a complete generic visitor for a parse tree produced * by {@link UserMatchParser}. * * @param <T> The retu...
34.953488
87
0.745176
cadcabbcf3d8abe57d8f91d712923832732f7dbc
516
package co.lq.config; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Configuration; import lombok.Data; /** * reids相关配置 * * @author billy * @since 2020-02-27 */ @Data @Configuration @ConfigurationProperties(prefix = "spring.redis") publi...
20.64
75
0.73062
064778bb6b58f7057ddbdc155ed0b6c39435f606
3,672
/* Copyright 2020 Luzhuo. 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...
28.913386
90
0.644608
7ec9b0f20a0f6543f178524c5c158f9db617e013
1,536
/** * */ package com.xnzk.flash.meta; import org.eclipse.emf.ecore.EFactory; /** * <!-- begin-user-doc --> * The <b>Factory</b> for the model. * It provides a create method for each non-abstract class of the model. * <!-- end-user-doc --> * @see com.xnzk.flash.meta.MetaPackage * @generated */ public interfac...
24.774194
76
0.558594
1f1da7ee9570813b39c866c5579f7c777447332e
9,480
/** * Copyright 2014 University of Patras * * 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 applicabl...
30.384615
127
0.739979
5e7152acd6abd160f91bd1cf9e9de73e912fa84a
5,570
/* * Copyright 2018 Alfresco, Inc. and/or its affiliates. * * 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 ...
44.919355
113
0.744524
a294b97e4ee6e12bc9e2ad429820b42bde12090b
1,411
/* * 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 * distributed u...
42.757576
123
0.80652
0e8e6b1235d953caf5cd9830617c44e4be7d2ddf
576
package org.jessenpan.leetcode.binarysearch; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; /** * @author jessenpan * tag:binarysearch */ public class S658FindKClosestElements { public List<Integer> findClosestElements(int[] arr, int k, int x)...
26.181818
155
0.671875
e197af1bb41dd258739a066d06e61286d5c7867c
1,821
/******************************************************************************* * Copyright (c) 2020 DisCo Group - Universidad de Zaragoza. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 1.0 * which accompanies this distribution, and is available...
33.722222
96
0.694124
0420c3081529888e9b8f86ebcdd5b1500d7caf64
658
package fr.formation.view.beans; import java.io.Serializable; import javax.faces.bean.ManagedBean; import javax.faces.bean.RequestScoped; @ManagedBean @RequestScoped public class Page4Bean implements Serializable{ private static final long serialVersionUID = 1L; private String nom; private String prenom; publ...
15.666667
49
0.715805
4dad4327b99ac13ba714824ea123b284e74d97a7
96
package jp.ossc.nimbus.service.trade; public class IndexTimeSeries extends TimeSeries{ }
13.714286
48
0.770833
ffaee37a84b95e8611223adff0fcd995a6ef700b
459
/* * 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 pl.altkom.gemalto.spring.service; import pl.altkom.gemalto.spring.model.Customer; /** * * @author admin */ public interfa...
19.125
79
0.716776
dc8c82d6d695328b5bdf7efa96f55d45b915e95e
345
package kotlin; @Metadata(mo40251bv = {1, 0, 3}, mo40252d1 = {"kotlin/NumbersKt__BigDecimalsKt", "kotlin/NumbersKt__BigIntegersKt", "kotlin/NumbersKt__NumbersJVMKt", "kotlin/NumbersKt__NumbersKt"}, mo40254k = 4, mo40255mv = {1, 4, 1}, mo40257xi = 1) public final class NumbersKt extends NumbersKt__NumbersKt { priva...
43.125
233
0.742029
accb3568edc6add02a049c7aa11262191e020a34
2,097
package net.violet.platform.api.actions.storecities; import java.util.LinkedList; import java.util.List; import net.violet.platform.api.actions.AbstractAction; import net.violet.platform.api.actions.ActionParam; import net.violet.platform.api.exceptions.APIErrorMessage; import net.violet.platform.api.exceptions.Inval...
31.298507
112
0.793038
26e8bae0cd61fff4dafdce7dd625bb65809d72c5
4,309
package com.kunminx.samples.ui.operators; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.annotation.Nullabl...
29.923611
130
0.678116
019e821893188310478c3a23a497ebca6166f443
3,674
/* Copyright 2009-2016 Igor Polevoy 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 d...
36.74
105
0.689711
6aa9261cb45e71a8ed9b95cbc93f892cb9bb5078
450
package myCB.gui.element; public class Point { int x, y, printX, printY; public Point(int inX, int inY) { x = inX; y = inY; } public int getX() { return printX; } public int getY() { return printY; } public void adjust( int xMax, int xMin, int xSize, int yMax, int yMin, int ySize) {...
17.307692
60
0.575556
5638953091759b1f4b9d14a011c9c700feaa27ee
4,675
package com.bird.service.common.grid.executor; import com.bird.service.common.grid.GridClassContainer; import com.bird.service.common.grid.GridDefinition; import com.bird.service.common.grid.enums.GridActionEnum; import com.bird.service.common.grid.exception.GridException; import com.bird.service.common.grid.intercept...
38.00813
163
0.660963
691e9285c71e792a18105be7e5c964ccf8db4036
1,189
package pl.kubakra.flywithus.flight; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import pl.kubakra.flywithus.tech.serialization.LocalDateDeserializer; import java.time.LocalDate; public class GetFlightsCriteria { @JsonProperty priva...
28.309524
108
0.708158
6f446027c0ff4fc71bc6aa22f96d8433be284cba
2,204
/* * Copyright 2020 ChenJun (power4j@outlook.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...
24.488889
103
0.696007
149f40ae32ceafc014844ef51e0ae983b0052367
1,624
package chapter7; /* * (Game: pick four cards) Write a program that picks four cards from a deck of 52 * cards and computes their sum. An Ace, King, Queen, and Jack represent 1, 13, * 12, and 11, respectively. Your program should display the number of picks that * yields the sum of 24. */ public class Exercise_07...
26.622951
82
0.505542
b46ace1fb26e2c88c735db70e88506ca4755dc42
4,127
package com.fhuber.schwarz.alternate.app; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.net.URL; ...
32.496063
113
0.675309
e65de580fe1356895bd80d377f7ae001721b0b02
2,210
package com.google.common.io; import com.google.common.base.Preconditions; import java.io.Closeable; import java.io.Flushable; import java.io.IOException; import java.io.Writer; import org.checkerframework.checker.nullness.compatqual.NullableDecl; class AppendableWriter extends Writer { private boolean closed; ...
28.333333
101
0.647511
4f6700d20f2e328d462b2a408a77f753c6cee361
1,664
package com.example.demo.web; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Filter...
39.619048
122
0.772837
481a37324ec4770e20d8f4bc206676e65fc2feff
2,027
package org.wikipedia.views; import android.content.Context; import android.support.annotation.ColorRes; import android.support.annotation.NonNull; import android.support.constraint.ConstraintLayout; import android.util.AttributeSet; import android.view.View; import android.widget.ImageView; import org.wikipedia.R; ...
29.376812
123
0.678836
530fd2564b5c36aff67966c7056ad167e1b83df1
1,393
package com.ssm.promotion.core.dto; import com.ssm.promotion.core.entity.Course; /** * 视频类管理课程 * @author 尤少辉 * @日期 2018年7月2日 */ public class VideoCategoryCourseDto { private int videoCategoryId; private String videoCategoryName; private String videoCategoryDescribe; private Course course=new Cour...
26.788462
108
0.751615