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
91dae54f9c1298eb32ddc97772dc153d8bf6f0e8
4,165
package com.player.melophile; import android.content.Context; import android.content.Intent; import android.media.MediaMetadataRetriever; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import androidx.annota...
34.421488
116
0.646579
6b2af0d5dafdf873603453a427bc65cd68e9ba6f
3,095
/* * #%L * Wisdom-Framework * %% * Copyright (C) 2013 - 2014 Wisdom Framework * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0...
33.27957
115
0.672375
badf573847730d63f49b3e8f5a3680935ed6d3ea
1,145
package com.lzk.moushimouke.Model; import com.lzk.moushimouke.Model.Bean.MyUser; import com.lzk.moushimouke.Model.Bean.Post; import com.lzk.moushimouke.Presenter.EditTextPresenter; import com.lzk.moushimouke.View.Interface.IUploadTextModel; import cn.bmob.v3.BmobUser; import cn.bmob.v3.exception.BmobException; import...
29.358974
66
0.638428
44fe676c7e5375d2d962585f71d93cc2db6c7602
2,205
package com.marverenic.music.utils; import android.content.Context; import android.graphics.BitmapFactory; import androidx.core.app.NotificationCompat; import android.support.v4.media.MediaDescriptionCompat; import android.support.v4.media.MediaMetadataCompat; import android.support.v4.media.session.MediaControllerCom...
40.090909
98
0.684354
595e0a070c28dc70b43afd3da4a56217089fe164
1,997
import java.util.Scanner; import java.io.*; class MainPage { static BufferedReader brline = new BufferedReader(new InputStreamReader(System.in)); public static void mainpage() { System.out.println("\f\t\t\t\tWelcome To Domestic AirServices"); System.out.println("Please choose one of the...
30.723077
108
0.535804
476a3fa37cea56e6161a351f5dbb458704be2c17
9,955
package mekanism.common.tile; import it.unimi.dsi.fastutil.objects.ObjectOpenHashSet; import java.util.Collections; import java.util.List; import javax.annotation.Nonnull; import javax.annotation.Nullable; import mekanism.api.Coord4D; import mekanism.api.NBTConstants; import mekanism.api.inventory.IInventorySlot; impo...
37.996183
171
0.630738
04fae26f549b644d1c27d35e54bc72d3fbc18993
26,613
package jet.opengl.demos.intel.antialiasing; import com.nvidia.developer.opengl.models.GLVAO; import com.nvidia.developer.opengl.models.ModelGenerator; import org.lwjgl.util.vector.Readable; import org.lwjgl.util.vector.Vector4f; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.File...
48.211957
204
0.658588
b77b8a1de4f742261085231a102584798a5f9b22
8,625
package org.testobject.kernel.ocr.tesseract; import java.awt.Color; import java.awt.Graphics; import java.awt.Insets; import java.awt.geom.AffineTransform; import java.awt.image.AffineTransformOp; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.Arrays; import java...
34.5
131
0.728116
fc88207a70df39327beb2556cf066c92183a0d77
5,611
/* * 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 ...
27.915423
115
0.699697
34909759679389fbc743e570dc7100019746dde8
8,238
package org.fisco.bcos; import static org.junit.Assert.assertTrue; import java.math.BigInteger; import org.apache.tools.ant.taskdefs.SQLExec.Transaction; import org.fisco.bcos.constants.GasConstants; import org.fisco.bcos.temp.HelloWorld; import org.fisco.bcos.temp.SupplyChain; import org.fisco.bcos.web3j.crypto.Cre...
58.425532
261
0.602573
34fc26aaacfc2622a79e0d842809f828e1fb3b9d
315
package study.nestpath; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class NestPathStudy { public static void main(final String[] args) { SpringApplication.run(NestPathStudy.class, args); } }
26.25
68
0.790476
9bef72cbe9769b6204eb8c63a92a9dac6e59c821
3,203
// This file is auto-generated, don't edit it. Thanks. package com.antgroup.antchain.openapi.propertychain.models; import com.aliyun.tea.*; public class UpdateWarehouseRequest extends TeaModel { // OAuth模式下的授权token @NameInMap("auth_token") public String authToken; @NameInMap("product_instance_id") ...
25.624
95
0.66906
c7eb0660ef0bcaa95a7f875e5046c3060f214712
218
package ru.stqa.pft.sandbox; class HelloWorld { public static void main(String[] args) { System.out.println("1\"\""); System.out.println("2"); System.out.println("3"); System.out.println("4"); } }
19.818182
42
0.623853
f0f7032b852998cbb867f11e9b9a94f392c2194b
869
package aula07.exercicio2; public class Testes { // Testes Ex2 public static void main(String[] args) { //Crio Jogadores JogadorDeCampo jogador1 = new JogadorDeCampo(7, "Ronaldo"); GuardaRedes guardaRedes1 = new GuardaRedes(1, "Rui Patricio"); JogadorDeCampo jogador2 = new Jogad...
34.76
70
0.654776
0a33386dda625e4b2799a038acae923b321d04a5
15,097
/* * Copyright 2017 LinkedIn Corp. Licensed under the BSD 2-Clause License (the "License"). See License in the project root for license information. */ package com.linkedin.kafka.cruisecontrol.monitor.sampling.aggregator; import com.linkedin.cruisecontrol.exception.NotEnoughValidWindowsException; import com.linkedi...
49.661184
146
0.68199
f68e9558300dc5075c34abbb77b7a0a657254168
1,856
package com.annarestech.alert911.server; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; public class Call { p...
30.933333
128
0.706358
eef0191b06c0ce4956d1fbbd8eb6dc318324620c
15,612
package com.direwolf20.buildinggadgets.client.renders; import com.direwolf20.buildinggadgets.client.renderer.DireBufferBuilder; import com.direwolf20.buildinggadgets.client.renderer.DireVertexBuffer; import com.direwolf20.buildinggadgets.client.renderer.OurRenderTypes; import com.direwolf20.buildinggadgets.common.Buil...
50.524272
254
0.640085
1fd7f05a28711b9f9173adf1c77a3aa1e170d01e
544
/****************************************************************************** Copyright (c) 2013, Mandar Chitre This file is part of fjage which is released under Simplified BSD License. See file LICENSE.txt or go to http://www.opensource.org/licenses/BSD-3-Clause for full license details. ************************...
22.666667
79
0.514706
dd37b543656d3fb0f5eb8a6b9714710de977ad1b
667
package camelinaction; import java.util.Map; import org.apache.camel.Headers; import org.apache.camel.language.XPath; public class OrderToSqlBean { public String toSql(@XPath("order/@name") String name, @XPath("order/@amount") int amount, @XPath("order/@customer")...
33.35
121
0.628186
238463bc224f1c5c700f947dc09cfe25b63ecd50
266
package org.codehaus.xfire.spring; /** * @author <a href="mailto:tsztelak@gmail.com">Tomasz Sztelak</a> * */ public class TestServiceImpl implements TestService { public String returnEcho(String value) { return value; } }
14
65
0.62782
51db57bc8e3efe134907e6460edee38212458809
909
package net.dumbcode.hwkengine.display; import org.lwjgl.LWJGLException; import org.lwjgl.opengl.*; public enum DisplayManager { INSTANCE; public void createDisplay(String title, int width, int height) { ContextAttribs attribs = new ContextAttribs(3,2) .withForwardCompatible(tru...
21.642857
80
0.59516
73396c2c05062ea3e6217adf5a5327a65afb23ab
3,301
package application; import models.CheckBoxes; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; public class HelperElements extend...
29.473214
93
0.539836
a3aad92543b5291e25cd382dc5e7bdd963f69c2a
831
// Demonstration of arrays in Java as pointers public class ArrayParam { public static void main(String[] args) { int[] years = new int[3]; years[0] = 1987; years[1] = 1989; years[2] = 1994; changeArray(years); for (int i = 0; i < years.length; i++) { ...
24.441176
65
0.509025
78fa5b2ca565615269192926f80988548dbc21af
678
package com.cloud.hello.rabbit.header; import org.springframework.amqp.rabbit.annotation.RabbitHandler; import org.springframework.amqp.rabbit.annotation.RabbitListener; import org.springframework.stereotype.Component; /** * @author ys * @topic * @date 2020/2/28 22:00 */ @Component public class ApiCreditReceive {...
25.111111
65
0.727139
e330d0af65b798b2bf51fee35e436f6b3349d292
2,036
package edu.virginia.engine.display; import java.util.ArrayList; import edu.virginia.engine.util.GameClock; public class PhysicsSprite extends AnimatedSprite{ private double vx = 0; private double vy = 0; private double ax = 0; private double ay = 0; private double g = 0.001; private double dt = ...
17.704348
84
0.558939
0fb766fbec05641371a974fe267641cfca88a56b
2,846
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
31.622222
94
0.717147
94351d63b3a5660188960b16d427580de82a6b91
378
package dao; import models.BarberShop; import models.HairStyle; import java.util.List; public interface HairstyleDao { List<HairStyle> getAll(); List<HairStyle> getAllHairStyleByBarbershop(int barbershopId); void add(HairStyle hairstyle); void addHairStyleToBarberShop(HairStyle hairstyle, BarberShop barbe...
18
76
0.777778
1abefa7ad1ca181d25146dca531caf820d04cd13
138
package com.cymonevo.aurora.vent.handler; public interface ClickEventHandler { void onClickEvent(int requestCode, int resultCode); }
23
55
0.797101
2b5ab5d9fbeefecaf98b6f1604355b79339fcbe8
7,380
/** * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Apereo licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in ...
43.928571
170
0.703794
e2af0c177ddd92b6ec9f6a9effa8556fd6cf5325
1,925
package com.deevvi.device.detector.engine.parser.device; import com.deevvi.device.detector.engine.loader.MapLoader; import com.deevvi.device.detector.engine.parser.Parser; import com.deevvi.device.detector.model.Model; import com.deevvi.device.detector.model.device.Device; import com.deevvi.device.detector.model.devic...
27.898551
104
0.619221
1c5a3bf23db0a4cd98351cc6ce0426ba53a6605c
5,351
/* * 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 ...
37.41958
100
0.617268
f4c64c698d59ad799da819ea6f65ecc9f74b4223
1,553
package com.xmasworking.project01.controller; /** * Created by IntelliJ IDEA. * * @author XmasPiano * @date 2018/8/30 - 上午10:23 * Created by IntelliJ IDEA. */ import com.xmasworking.project01.entity.ShowUserInfo; import com.xmasworking.project01.service.ShowUserInfoService; import org.springframework.beans.fact...
30.45098
73
0.749517
12b1f2a6afa6228f67b0c5fd54e0eb10971cc58d
747
package com.yishuifengxiao.common.crawler.link.filter.impl; import org.apache.commons.lang3.StringUtils; import com.yishuifengxiao.common.crawler.domain.constant.RuleConstant; import com.yishuifengxiao.common.crawler.link.filter.BaseLinkFilter; /** * 哈希链接过滤器<br/> * 当抓取出来的链接为相对地址,且地址的开头为 # 时,该地址可能是哈希地址,不对其进行处理<br/>...
22.636364
74
0.753681
8b936c736a1b3d251f8a67a61ba03d16e5584f22
1,075
/** * Test the Cylinder class to make sure it functions properly * * @author Andrew * @version 2019 */ public class CylinderTester { public static void main (String[] args) { Cylinder cylinder1 = new Cylinder(1, 1); Cylinder cylinder2 = new Cylinder(2, 2); System.out.println("...
43
107
0.67814
1c93bcb0cb125a22f15e38aeb7d7fc94ef96393f
642
package uk.ac.ebi.pride.toolsuite.gui.task.impl; import uk.ac.ebi.pride.toolsuite.gui.task.Task; import uk.ac.ebi.pride.toolsuite.gui.task.TaskUtil; /** * @author Rui Wang * @version $Id$ */ public class OpenMyAssayTask extends OpenMyProjectTask { public OpenMyAssayTask(String accession, String username, char...
26.75
80
0.708723
1d82cd69e808b7ea2b24a1ed1e24037f576b3203
1,688
package mlp.dataset; import java.io.IOException; import java.io.OutputStream; import java.io.UnsupportedEncodingException; /** * * @author rodolpho */ public class Sample { private final double[] input; private final double[] output; private final String textRepresentation; public Sample(double[]...
25.19403
99
0.597749
4e6589225f30af147ecffed8f8264c69b26f4a04
1,478
package org.mjd.util; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.List; /** * The Class TestEntitiesBuilder. * * @author Luis Eduardo Ferro Diez */ public class TestEntitiesBuilder { /** * Gets the test jar files. * * @return the test jar files */...
29.56
74
0.701624
fce63ac9684d9b9b4ba059ff3d5dad1be50f20b5
1,080
package com.fishercoder; import com.fishercoder.common.utils.TreeUtils; import com.fishercoder.solutions._617; import org.junit.BeforeClass; import org.junit.Test; import java.util.Arrays; import static junit.framework.TestCase.assertEquals; public class _617Test { private static _617.Solution1 solution1; p...
32.727273
244
0.711111
b990eee6b90b02e5777e99e568789955ac016aa6
1,719
package org.nglr.astar.twodim; import org.nglr.astar.AStar; import org.nglr.astar.Grid; /** * AStar class that works under a 2D "world" plane using Node2D as points * in the "world" plane and by default uses a {@link Grid2D} * * @author J * @see AStar * @see Node2D * @see Grid2DNoDiagonal * @see Grid2D */ p...
24.211268
79
0.602094
2643a04fc683d7cf63d023a9917807c9d8486343
179
package org.github.yassine.samples.domain.event.company; import lombok.Getter; import lombok.Setter; @Getter @Setter public class CompanyCreatedEvent { private String name; }
16.272727
56
0.798883
496d3f293889daa2508e2d6834e037ea1c6a65e8
1,408
package com.springboottry.springbootdemo.Controller; import com.springboottry.springbootdemo.Entity.Department; import com.springboottry.springbootdemo.Service.DepartmentService; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mockito; import org.springframework.beans.fac...
32.744186
106
0.771307
dd78a4e7e4edfe57f80dab11085cf39028e033d3
3,403
/** * 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...
33.693069
87
0.592712
85b39d881b3aaa91062055cb63914e1161196359
3,372
import java.io.*; import java.lang.reflect.Array; import java.util.*; // 물통의 현재 상태와 물을 붓는 행위를 관리하는 구조체 class State{ int[] X; State(int[] _X){ X = new int[3]; for (int i=0;i<3;i++) X[i] = _X[i]; } State move(int from,int to,int[] Limit){ // from 물통에서 to 물통으로 물을 옮긴다. ...
26.551181
70
0.44306
0106a82369d7533c456c6178db5b457a213540c4
4,496
package com.devonfw.module.cxf.common.impl.client.ws; import java.net.MalformedURLException; import java.net.URL; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.jws.WebService; import javax.xml.namespace.QName; import javax.xml...
32.114286
119
0.719973
120aa2e39a79039e174823852dbb0e72255fc7c2
1,876
package br.com.centralit.citcorpore.quartz.job; import java.util.Collection; import net.htmlparser.jericho.Source; import org.apache.commons.lang.StringUtils; import org.quartz.Job; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; import br.com.centralit.citcorpore.bean.SolicitacaoSer...
39.083333
155
0.712154
f728b1588d26d433578f33a99c5d0e1b2caf4934
10,643
package org.apache.geronimo.samples.daytrader; import javax.xml.bind.annotation.XmlRegistry; /** * This object contains factory methods for each * Java content interface and Java element interface * generated in the org.apache.geronimo.samples.daytrader package. * <p>An ObjectFactory allows you to programati...
22.888172
151
0.607066
f416e08c14c8d956cc90a6f68c7c16a6c3d057c3
2,693
package com.example.coffeeshop.ui; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.ItemTouchHelper; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.content.Intent; import android.os.Bundle; import android.vie...
39.602941
130
0.695878
d2e3cd74a6f57bd6cbc9fe49dce62b68b971d3f1
691
package ru.job4j.design.srp.presenters; import ru.job4j.design.srp.model.Employer; import java.lang.reflect.InvocationTargetException; import java.util.List; import java.util.Map; /** * Presenter interface. */ public interface Presenter { /** * @param data - employers for present * @param fieldsSet -...
30.043478
151
0.740955
024b2f364d3119bc89b59671b0be4963319759ba
945
package org.mariapresso.impd.bean.entity; import lombok.Data; import javax.persistence.*; import java.io.Serializable; import java.util.Date; /** * Created by ez2sarang on 15. 4. 9.. */ @Entity public @Data class InOutHistory implements Serializable { @Id @GeneratedValue(strategy=GenerationType.AUTO) p...
24.230769
88
0.669841
b66eead1b14c870cc6e06204f509ac5055640116
1,011
package com.airbnb.lottie; import android.graphics.PointF; class z { private final PointF a; private final PointF b; private final PointF c; z() { this.a = new PointF(); this.b = new PointF(); this.c = new PointF(); } z(PointF paramPointF1, PointF paramPointF2, PointF paramPointF3) {...
16.85
101
0.6182
d4d4929c34badfa202fd6ca04e92260f24ad9a59
5,695
/* * Copyright (c) 2004-2021, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list o...
40.678571
123
0.772081
1fe254004fa78b9cafb033da6398b8e744ac97eb
2,063
package com.clevercloud.biscuit.crypto; import cafe.cryptography.curve25519.Constants; import cafe.cryptography.curve25519.RistrettoElement; import cafe.cryptography.curve25519.Scalar; import java.security.SecureRandom; /** * Private and public key */ public final class KeyPair { public final Scalar private_ke...
30.338235
83
0.627727
c91f2db66028599b99856060bc8fcbedb3ccac72
4,074
package org.ovirt.engine.ui.uicommonweb.models.hosts; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.ovirt.engine.core.common.businessentities.Cluster; import org.ovirt.engine.core.common.businessentities.StoragePool; import org.ovirt.engine.core.common.businessentities.VDS; im...
33.393443
122
0.672558
455132b83815631d88287364272d754d2fb18bbd
1,537
/** * 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"); yo...
36.595238
82
0.744958
27212bb7974bb23331937e8d69bde1c9db1f4469
3,884
package ar.com.system.afip.wsfe.business.api; import java.util.List; import ar.com.system.afip.wsfe.service.api.CbteTipo; import ar.com.system.afip.wsfe.service.api.ConceptoTipo; import ar.com.system.afip.wsfe.service.api.Cotizacion; import ar.com.system.afip.wsfe.service.api.DocTipo; import ar.com.system.afip.wsfe.s...
29.424242
77
0.761071
9d877e78d049de4b5ded5d04ddfe6e057ab65944
5,018
package org.jahia.se.modules.edp.dam.widen; import org.jahia.services.content.JCRNodeWrapper; import org.jahia.services.content.JCRTemplate; import org.jahia.services.content.decorator.JCRMountPointNode; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.jcr.RepositoryException; import java.util.Lo...
46.036697
132
0.720008
2cdfccaed2fb938f2b24df92a765cda4355aa967
5,488
/** * Copyright 2016 Netflix, 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 agreed to i...
30.831461
100
0.573615
5952d37ec286fdb1724a3c375eb684344b12ec26
461
package org.honton.chas.dogstatd.model; /** * A Gauge records a value of a metric at a particular time. */ public class Gauge extends Metric<Number> { /** * Create an Gauge value to be sent to DogStatD. * * @param name The name of the gauge. * @param value The value of the gauge. * @param tags Any...
24.263158
60
0.657267
639574f82a17cea9ea2370eaa4703dd9aab047c3
3,172
/* * (c) Copyright 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package arq.cmdline; public class ModGeneral extends ModBase { private CallbackHelp helpCallback = null ; public ModGeneral(CallbackHelp callback) { this.helpCallback = callback...
43.452055
82
0.702081
ac23532077f1fc54c34cd83c616fd752aadf677d
5,878
package no.ks.kryptering; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.EnabledOnJre; import org.junit.jupiter.api.condition.JRE; import java.security.PrivateKey; import java.security.cert.X509Certificate; import java.util.UUID; import static org....
47.788618
159
0.737496
08424a8576e87f744c741c81b6bcfa7b720b5c9c
1,237
/* * Copyright 2012 Decebal Suiu * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with * the License. You may obtain a copy of the License in the LICENSE file, or at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
27.488889
118
0.742118
ac3788f968b2404321caa8311755f6a288570857
815
package Homework.Seventh; import java.util.Scanner; class Fibonacci { int first, second, res, target; Scanner scan = new Scanner(System.in); public void setRes() { System.out.print("몇 번째 항까지 구할까요 ? "); target = scan.nextInt(); } public void Print() { first = 1; s...
20.897436
78
0.522699
96f723b1bcc9579326ca759c041ba278dbd1838c
3,824
/** * */ package com.gojek.application.metrics; import java.util.HashMap; import java.util.Map; import java.util.SortedMap; import java.util.SortedSet; import com.codahale.metrics.Counter; import com.codahale.metrics.Gauge; import com.codahale.metrics.Histogram; import com.codahale.metrics.Meter; import com.codahal...
23.036145
94
0.747123
3927a3a3c3aaff0548924a63f89d64af727f37f5
553
package analyzer; import lexical.LexicalAnalyzer; import syntactic.SyntaticAnalyzer; public class Analyzer2M { private static LexicalAnalyzer lexicalAnalyzer; private static SyntaticAnalyzer syntaticAnalyzer; private static String filePath = "files/input/fibonacci.2m"; public Analyzer2M() { } ...
21.269231
62
0.748644
a8602c86d58cda90c89aa50c6227b4302dc8741e
12,497
package io.github.zebalu.aoc2021; import java.text.StringCharacterIterator; import java.util.List; import java.util.Optional; public class Day18 { public static void main(String[] args) { var nums = INPUT.lines().map(Day18::read).toList(); firstPart(nums); secondPart(nums); ...
34.522099
114
0.377691
e47ef28b7d42ea523912532b3eff7ac027901aba
4,063
package net.renfei.config; import net.renfei.security.filter.JwtTokenFilter; import net.renfei.security.handler.AccessDeniedHandlerImpl; import net.renfei.security.handler.AuthenticationEntryPointImpl; import net.renfei.security.interceptor.AccessDecisionManagerImpl; import net.renfei.security.interceptor.FilterInvoca...
47.8
110
0.699237
0fdfe4688a05a9c6703fdfd25c1ef311dcd5c3db
311
package de.hftstuttgart.projectindoorweb.persistence.repositories; import de.hftstuttgart.projectindoorweb.persistence.entities.Building; import org.springframework.data.repository.CrudRepository; public interface BuildingRepository extends CrudRepository<Building, Long> { Building findOne(Long id); }
28.272727
76
0.842444
8efe85125038ac63ef67375c001d5b60c0e34f55
749
package chapter07.section01.thread_7_1_3.pro_1_stateTest3; /** * Project Name:java-multi-thread-programming <br/> * Package Name:chapter07.section01.thread_7_1_3.pro_1_stateTest3 <br/> * Date:2019/12/1 22:49 <br/> * * @author <a href="turodog@foxmail.com">chenzy</a><br/> */ public class Run { // NEW, //...
23.40625
72
0.608812
2cc91949f0f28b11e8b8193a01b549072eb0ece4
1,388
package pt.it.av.tnav.utils.structures.point; import static org.junit.Assert.assertEquals; import java.io.IOException; import java.io.StringReader; import java.io.StringWriter; import java.util.ArrayList; import java.util.List; import org.junit.Test; import pt.it.av.tnav.utils.csv.CSV; public class Point2DTest { ...
25.236364
70
0.589337
64bb716b81110384bc4b3f6cdd84f29d08fd65a3
1,528
package web.constants; /** * * 邮件发送 * @author Administrator * */ public class MailInfo { //邮箱服务器 如smtp.163.com private String host ; //用户邮箱 如**@163 private String formName ; //用户授权码 不是用户名密码 可以自行查看相关邮件服务器怎么查看 private String formPassword ; //消息回复邮箱 private String replayAddress ; ...
23.151515
56
0.622382
e9a4f6d796f8c1e44b321471423c1e6575c2514f
811
package com.yboot.base.modules.activiti.entity; import com.yboot.common.base.YbootBaseEntity; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.persistence.Entity; import javax.persistence.Tabl...
23.171429
53
0.748459
344d9936eb3683f83cffd84c1bfca307635710db
3,823
package com.planet_ink.coffee_mud.Commands; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.pla...
37.116505
203
0.711745
301c5b7e89fc09d500ead7f64f317b59a3f4c831
2,212
/* * Copyright 2015-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
35.111111
92
0.699819
acd6349ad130184fc917e774bd4f74694f212aa1
3,042
/********************************************************************** Copyright (c) 2014 HubSpot 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 U...
29.533981
117
0.666667
d861706356d3c4cd6465024d2d1d8e5033aa8e75
1,319
/* * Copyright 2018 Organizations participating in ISAAC, ISAAC's KOMET, and SOLOR development include the US Veterans Health Administration, OSHERA, and the Health Services Platform Consortium.. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compl...
35.648649
104
0.740713
1034ad01ce6a2c66b9a86ac9d661458e5e3f39f9
190
package com.elarian.model; public class PaymentPurseCounterParty { public String purseId; public PaymentPurseCounterParty(String purseId) { this.purseId = purseId; } }
19
53
0.721053
9cd64f79821652a7e2aa64ed8a7da1e9370278de
2,116
package com.abin.lee.march.svr.concurrent.complicating; import java.util.concurrent.ForkJoinPool; import java.util.concurrent.Future; import java.util.concurrent.RecursiveTask; /** * Created by abin on 2017/8/4 13:01. * march-svr * com.abin.lee.march.svr.concurrent.complicating * FutureTask多用于耗时的计算,主线程可以在完成自己的任务...
28.213333
96
0.614367
1a926529d6291c6e546db5a0ffa342749dbeee03
23,085
package com.android.quack.network; import android.content.Context; import android.net.ConnectivityManager; import android.net.Network; import android.net.NetworkInfo; import android.net.wifi.ScanResult; import android.net.wifi.WifiConfiguration; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; im...
33.60262
128
0.545462
dac2f648ff06a22674f0ddbc35cac1bf832f673d
449
package com.example.story.wxapi; import android.app.Activity; import android.os.Bundle; import android.support.annotation.Nullable; import com.example.story.xiaoyao.R; /** * * Created by story on 2017/4/27. */ public class WXEntryActivity extends Activity { @Override protected void onCreate(@Nullable Bun...
21.380952
66
0.739421
6c9d40676381de3fe0b554e503ca4456b0e2e827
9,552
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|// Generated by the protocol buffer compiler. DO NOT EDIT! end_comment begin_comment comment|// source: complexpb.proto end_comment begin_package package|package name|org operator|. name|apache operator|. name|hadoop operator|. name|h...
13.378151
97
0.802136
2a173275a9b8209961d6e096909f0fddcb1c2333
1,124
/** * Copyright (c) 2000-2018 Liferay, Inc. All rights reserved. * * This library 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 later...
30.378378
80
0.762456
0c054e17f40df501ba45f95cd2e0090503fbec0a
2,440
package cmps252.HW4_2.UnitTesting; import static org.junit.jupiter.api.Assertions.*; import java.io.FileNotFoundException; import java.util.List; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import cmps252.HW4_2....
25.416667
76
0.731967
ecdb4ac500dd654afbc294d19b135fbe5232b57f
6,944
package com.example.wttech.basicrestapi.service; import com.example.wttech.basicrestapi.model.Unit; import com.example.wttech.basicrestapi.repo.UnitRepository; import org.apache.poi.xssf.usermodel.XSSFCell; import org.apache.poi.xssf.usermodel.XSSFRow; import org.apache.poi.xssf.usermodel.XSSFSheet; import org.apache....
34.039216
115
0.544355
7feadf3aab34eb5e740faaf351e7de7a89977c5d
3,101
package org.sagebionetworks.repo.manager.file.scanner; import static org.junit.jupiter.api.Assertions.assertEquals; import java.time.Instant; import java.util.Collections; import java.util.Set; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.junit.jupiter.Mock...
35.643678
233
0.806514
86c0cd07451dfd221698f89199502991ea966dc0
2,845
package com.linkedin.datahub.graphql.resolvers.search; import com.linkedin.datahub.graphql.types.SearchableEntityType; import com.linkedin.datahub.graphql.exception.ValidationException; import com.linkedin.datahub.graphql.generated.EntityType; import com.linkedin.datahub.graphql.generated.SearchInput; import com.linke...
40.070423
100
0.662917
f7e46d82cce838d89bab3a897908ece6793e1df5
1,823
package io.extr.kafka.connect.logminer.sql; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import org.apache.kafka.connect.util.ConnectorUtils; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import...
30.898305
87
0.720241
91cad2c824bf4323cc08779c8e4d3a6b790619e4
1,151
/* * Copyright (c) 2020 ForgeRock. All rights reserved. * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ package org.forgerock.android.auth.ui.callback; import android.os.Bundle; import android.view.LayoutInflater; import android.view.Vi...
29.512821
101
0.736751
cbfdc419e9e11564cdb5f6e914c8b6e02f83d6c9
374
package com.ibm.airlytics.retentiontracker.push; import java.sql.SQLException; import java.util.List; public abstract class PushProtocol { public abstract boolean notifyUser(String userID) throws ClassNotFoundException, SQLException; public abstract boolean notifyUser(String token, String message); public...
34
98
0.807487
317c7a211660361b70da7f2ec2e26da170f59c9b
1,636
package com.rho.battery; import com.rho.emdk3.EMDK3Extension; import com.rho.emdk3.IEmdkManagerListener; import com.rhomobile.rhodes.Logger; import com.rhomobile.rhodes.extmanager.IRhoExtension; import com.rhomobile.rhodes.extmanager.RhoExtManager; import com.symbol.emdk.EMDKManager; public class EMDK3ExtensionListen...
23.710145
112
0.743888
6451238bcd86afee40488e7c3f65b59a61900eb7
4,598
/* * 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 ...
37.080645
87
0.648325
75c7d527f2a73b34ced76dca825cecaae1052d08
4,546
/* * Copyright 2015 Red Hat, 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. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, softw...
45.46
105
0.657281
ca8667627c7754ff37e30a16d9e8b688edf65a07
2,003
package net.cabezudo.sofia.core.passwords; import java.nio.charset.StandardCharsets; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Base64; import net.cabezudo.sofia.core.configuration.Configuration; /** * @author <a href="http://cabezudo.net">Esteban Cabezudo</a>...
24.728395
84
0.704943
0246d6d80aee33c161cd2fc3a195a278265d5faf
1,710
package sirinleroyun; /** * * @author Gökçe Yılmaz */ public class Gozluklu extends Oyuncu { int altinmiktari; int konum_x=0; int konum_y=0; public Gozluklu() { } public Gozluklu(int karakterID, String karakterAdi, String karakterTur) { super(karakterID, karakterAdi, karakterTur); ...
23.75
135
0.683626
35d3bc6856059b0fce3141dc7448d80653ccf438
4,718
package com.universl.englandcalendar.ryan.data_reminder; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.app.IntentService; import android.app.Notification; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.PendingIntent; impo...
38.672131
128
0.69415
1c31a6ad20f865b62e9330d2fd1b2e2fa498c7a8
1,580
/* * @Description: * * @Date: 2020-01-08 21:27:07 * * @Author: duchangchun */ /** * 给定一个字符串 s,找到 s 中最长的回文子串。你可以假设 s 的最大长度为 1000。 * * 示例 1: * * 输入: "babad" 输出: "bab" 注意: "aba" 也是一个有效答案。 示例 2: * * 输入: "cbbd" 输出: "bb" * * 来源:力扣(LeetCode) * 链接:https://leetcode-cn.com/problems/longest-palindromic-subst...
23.235294
85
0.405696
d3c1158f3154abf907361ffeaf36e7aab506d7b4
5,233
// Copyright 2004, 2005 The Apache Software 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 applic...
32.302469
105
0.636537
ddc1eb02075144da6e5e86560791dc2269f45b92
1,796
package me.chanjar.weixin.qidian.api.test; import java.io.IOException; import java.io.InputStream; import java.util.concurrent.locks.ReentrantLock; import com.google.inject.Binder; import com.google.inject.Module; import com.thoughtworks.xstream.XStream; import lombok.extern.slf4j.Slf4j; import me.chanjar.weixin.com...
34.538462
105
0.759465
88c825b3844126bed27e3fd9234ffc3198d3a975
1,014
package p09_trafficLights; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; public class Main { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStr...
30.727273
85
0.626233
96fc0ab8208cc8d437de898bef342e2ad427dd0f
2,826
/* * 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 ...
32.482759
93
0.745223
320bd9fbe7cb44e708a08a7992c338e4fc280145
1,149
/* * Copyright 2003-2009 the original author or authors. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
26.72093
82
0.75544