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
1c10008afab59afdbd12bfdae7f5b75c22d188e9
259
package me.hekr.iotos.softgateway.network.common.client; import io.netty.channel.ChannelHandler; /** @author du */ public interface PacketCoderHandlerFactory { /** * 获取ChannelHandler * * @return */ ChannelHandler getPacketCoderHandler(); }
17.266667
56
0.722008
7a8e1551e7e0355099d52a4ef97b5d9761f60daa
224
package com.example.weatherapp.model; import java.util.List; public class WeatherForecastResult { public String cod; public double message; public int cnt; public List<MyList> list; public City city; }
18.666667
37
0.723214
2462e7bc62f49888dd7497d4e98cb208aae59609
3,743
package com.codehedgehog.strawberry; import com.codehedgehog.strawberry.exceptions.BadRequestException; import org.springframework.data.jpa.domain.Specification; import org.springframework.util.Assert; import javax.persistence.criteria.*; import java.util.Iterator; import java.util.List; import java.util.Map; /** *...
46.209877
121
0.671119
0f71c3da27f3ab6ac4e7bbd9074c2b9c6b7c1888
2,697
package com.sourkanji.sourkanjibackend.controller; import java.util.Optional; import com.sourkanji.sourkanjibackend.model.Login; import com.sourkanji.sourkanjibackend.model.Usuario; import com.sourkanji.sourkanjibackend.repository.UsuarioRepository; import com.sourkanji.sourkanjibackend.service.UsuarioService; import o...
36.945205
95
0.801631
ab9d9f8b68597c97aa265607c0404194c97b5201
7,310
/* * 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 ...
40.837989
129
0.62435
368bb3eaf14609ed30d04a499bcfb4b162206194
2,318
package com.rentmytech.demo.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import io.swagger.annotations.ApiModelProperty; import javax.persistence.*; import java.util.ArrayList; import java.util.List; @Entity @Table(name = "items") public class Item extends Auditable { @Id @Generated...
22.07619
88
0.654875
eea54115b035ceefeafb6484e9f3411e4f3344ba
4,419
/* * Copyright 2017 Pinterest, 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...
37.134454
95
0.727314
f7bc71e7f2722f37f49590d123acccfc2d8931ae
1,761
/* * Copyright (C) 2013 4th Line GmbH, Switzerland * * The contents of this file are subject to the terms of either the GNU * Lesser General Public License Version 2 or later ("LGPL") or the * Common Development and Distribution License Version 1 or later * ("CDDL") (collectively, the "License"). You may not use ...
22.87013
71
0.618966
f85224f2b1d793e1bb39edaff8ae50284635cd58
830
/* * Copyright (c) 2019 10Duke. All rights reserved. * * This work is licensed under the terms of the MIT license. * https://opensource.org/licenses/MIT * */ package com.tenduke.client.oauth.exceptions; import java.io.IOException; import static org.assertj.core.api.Assertions.assertThat; import org.junit.Test; ...
30.740741
115
0.73253
88f8858d8ebc48467a9e9a77e02811ff57014d86
255
package com.cpacm.core.mvp.views; /** * @author: cpacm * @date: 2016/7/5 * @desciption: 登录的view接口 */ public interface LoginIView { void OauthRedirect(String url); void LoginSuccess(); void LoginFailed(); void LoginFailed(String s); }
18.214286
35
0.670588
ce9c3913c49609e939fddb1d21fcc49b14ea5d0a
2,254
/** * * Copyright (c) Microsoft and contributors. 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 r...
35.21875
83
0.703638
41f084182e03da86d9d5defbcc1ca7a3dd00d356
897
/* * Copyright (c) 2012-2020 Cumulocity GmbH * Copyright (c) 2021 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, * and/or its subsidiaries and/or its affiliates and/or their licensors. * * Use, reproduction, transfer, publication or disclosure is prohibited except as specifically pro...
33.222222
103
0.784838
0a49af67da2bd16b0e0c9d8cab8e845f7ddfeebd
2,817
/** * 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.065789
77
0.691871
6afc4c04804d6dae14b506731508f4b81a62c19c
939
package test; import static org.junit.Assert.*; import org.junit.After; import org.junit.Before; import org.junit.Test; import utils.WeightedRandom; /** * @author Eli Skeggs * */ public class TestWeightedRandom { /** * Test method for {@link utils.WeightedRandom#weightedRandom(int[])}. */ @Test publi...
25.378378
72
0.695421
efdec003b6a93477621fd009015bafa572ea65e2
1,632
package hopperOptimizations.utils; import hopperOptimizations.feature.inventory_optimization.BitSetOptimizedStackList; import hopperOptimizations.feature.inventory_optimization.DoubleInventoryHalfStackList; import hopperOptimizations.feature.inventory_optimization.OptimizedInventory; import hopperOptimizations.feature...
44.108108
140
0.788603
29547c335a669d588669bca0c43e08e9b5189745
4,153
/* * 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 ...
26.28481
96
0.737058
708475652931ef0db810240d61d67d3be2020012
1,836
package com.guilhermefgl.shopcart.controller; import java.util.Optional; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.validation.BindingResult; import org.springframework.web.bind.annotation....
27.818182
76
0.764706
04b8bf086d03d9d01d4e63d24afb8c0a341f858c
619
package son.dto; import java.util.List; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import son.model.Role; @NoArgsConstructor @Getter @Setter @ApiModel(description = "Info of user") public class U...
22.107143
67
0.751212
77fe883edf53205c95b918e5000178683303ce17
3,060
/* * @(#)AbstractNumberTenthInWordsProcessor.java 1.0 Aug 28, 2015 * Copyright 2015 by GNU Lesser General Public License (LGPL). All rights reserved. */ package org.nlh4j.core.text.numberinwords; import org.apache.commons.lang3.ArrayUtils; import org.springframework.util.StringUtils; import reactor.util.A...
28.867925
132
0.670915
1a6e8bc23f9374950e2d55d68b8ff72f2f4a9126
557
package vn.locdt.order.model; import java.io.Serializable; import java.util.List; import org.springframework.data.annotation.Id; import org.springframework.data.redis.core.RedisHash; import org.springframework.data.redis.core.index.Indexed; import lombok.Data; import lombok.NoArgsConstructor; import lombok.RequiredA...
19.206897
57
0.793537
bd8f4333c0912c49814d7ac90116ed39a49c7116
5,405
/* * 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 co.edu.uniandes.csw.foros.test.logic; import co.edu.uniandes.csw.foros.ejb.EmisionLogic; import co.edu.uniandes.csw.fo...
33.78125
88
0.613691
9ebe4a3775db416f7b9e1b8e6cff22a579c9fe81
1,258
package com.example.abhij.restapiconnection; import android.os.AsyncTask; import android.util.Log; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.util.Scanner; /** * Created by abhij on 01-04-2018. *...
23.296296
90
0.624801
10be5e563d54e5c3ae7028fa5169409485605b2a
3,067
package chapter2.section4; import edu.princeton.cs.algs4.StdOut; import edu.princeton.cs.algs4.Stopwatch; import util.ArrayGenerator; import util.ArrayUtil; import java.util.HashMap; import java.util.Map; /** * Created by Rene Argento on 29/03/17. */ //Use the VM Option of -Xmx20g to create a 10^9 size array //Thi...
32.62766
107
0.612977
a8dfd20cc552d0c20e7a923a3c4c3175068489d5
2,409
package contest.coci; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.util.StringTokenizer; public class COCI_2007_LIGA { static BufferedReader br = new BufferedRea...
26.766667
98
0.518472
307ad77150bffb4e5947892bca502a25703a4653
2,769
/* * Copyright 2019 EMBL - European Bioinformatics 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/LICENSE-2.0 * Unless required by applicable law or ag...
35.050633
100
0.746479
e3047a44de335a1b48ca6446a351c7107733bafe
1,176
/* Copyright (C) 2011 SpringSource * * 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 ...
29.4
92
0.722789
4653b928688682150ad976b89bc033ae312c66a8
4,310
/* * Copyright (c) 2018-2020 Olympe S.A. * * 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...
38.482143
217
0.755684
604176de364556fdfb81ff2f7905308c4af865e6
1,705
import java.io.*; class date_difference { public static void main(String args[])throws IOException { InputStreamReader ab = new InputStreamReader(System.in); BufferedReader cd = new BufferedReader(ab); String d1,d2,ex=""; int da1=0,da2=0,mo1=0,mo2=0,ye1=0,ye2=0,c=0,i; cha...
19.825581
73
0.331378
dc71dd094a5e6fcbaf995a2c2366d2a1b9675a23
4,196
package mb.statix.multilang.pie.config; import dagger.Lazy; import mb.common.result.Result; import mb.pie.api.ExecContext; import mb.pie.api.TaskDef; import mb.resource.hierarchical.ResourcePath; import mb.statix.multilang.ConfigurationException; import mb.statix.multilang.metadata.ContextDataManager; import mb.statix...
41.137255
145
0.649428
329cfa4e3fa7eb7c284cc354295c313501e598d6
36,608
package org.box2d.dynamics; import org.box2d.collision.BBBroadPhase; import static org.box2d.collision.BBCollision.*; import org.box2d.collision.shapes.BBCircleShape; import org.box2d.collision.shapes.BBPolygonShape; import org.box2d.collision.shapes.BBShape; import static org.box2d.common.BBMath.*; import static org....
33.647059
99
0.531769
522a586567777e1f75883a1813bb0d77e3f3f3b9
387
package ru.job4j.heritage; public class Profession { private String name, surname, education, birthday; public String getName() { return this.name; } public String getSurname() { return this.surname; } public String getEducation() { return this.education; } p...
17.590909
54
0.620155
e73fc3cacaee8bb09878ddb15f86fd3f904e3cf4
388
package pro.chenggang.project.reactive.mybatis.support.r2dbc.executor.result; import org.apache.ibatis.type.TypeHandler; /** * @author: chenggang * @date 12/11/21. */ public interface TypeHandleContext { /** * set delegated type handler * @param delegatedTypeHandler */ void contextWith(Type...
21.555556
89
0.737113
ed9359d17ce81042a8c70784a74e117e8c939771
1,570
package quickfix.dukascopy; import quickfix.FieldNotFound; public class ResendRequest extends Message { static final long serialVersionUID = 20050617; public static final String MSGTYPE = "2"; public ResendRequest() { super(); getHeader().setField(new quickfix.dukascopy.field.MsgType(MSGTYPE)); } pub...
23.432836
115
0.763694
dd8149f345d95f4de2893f0001597a988ddd7ef0
4,079
/** * * @author Andres March * @version $Revision: 15418 $ $Date: 2008-03-25 09:54:08 -0400 (Tue, 25 Mar 2008) $ * @since 3.1 * */ package org.jasig.cas.ticket.registry; import java.io.File; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Random; import junit.fr...
25.654088
145
0.718068
e379a1b5f8c8a04504754b0c7b2e5a97e589be90
2,436
package me.stormma.factory; import me.stormma.core.http.handler.invoker.HandlerInvoker; import me.stormma.core.http.handler.invoker.impl.DefaultHandleInvoker; import me.stormma.core.http.handler.mapping.HandlerMapping; import me.stormma.core.http.handler.mapping.impl.DefaultHandlerMapping; import me.stormma.support.sc...
27.370787
100
0.666256
a520a967a7efdd0df577dbc217a268f53f1dd19b
2,173
package com.github.avarabyeu.jashing.integration.vcs; import com.github.avarabyeu.jashing.core.IncorrectConfigurationException; import com.github.avarabyeu.jashing.utils.ResourceUtils; import com.google.common.base.Charsets; import com.google.common.io.Resources; import com.google.gson.Gson; import com.google.inject.A...
30.605634
97
0.687989
a5c6e58b64e0ecd25e62ab265ed218516cb497c2
85,238
/* * Generated, Do Not Modify */ /* * Copyright 2009-2013 PrimeTek. * * 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 requir...
38.447452
269
0.641451
6de4b2f389b079fae37904ac75f89d3508ba7a10
389
package com.study.guildOfNothing.repository; import com.study.guildOfNothing.model.Battle; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import java.util.Optional; @Repository public interface BattleRepository extends JpaRepository<Battle, Long> { O...
25.933333
71
0.843188
315a28fa5ff6d3166f77b7d784bade13333b025e
666
package com.coviam.internalapp.hrms.designation; import com.coviam.internalapp.hrms.designation.dto.DesignationDto; import com.coviam.internalapp.hrms.designation.entity.Designation; import org.modelmapper.ModelMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype...
30.272727
91
0.792793
0a002b1b299fd3c4d2d5d41e9966393798afd5e6
950
package ru.job4j.lsp.office; import java.time.LocalDate; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.Map; /** * Класс рабочих дней. * * @author ViktorJava (gipsyscrew@gmail.com) * @version 0.1 * @since 10.11.2021 */ public class WorkDays implements Iterable<Integer> { /** ...
23.170732
75
0.649474
880e4c889b3b4a779dcbc16119492b9b4e1d898e
2,359
package com.outven.bmtchallange.models; import com.outven.bmtchallange.models.forgot.ForgotResponse; import com.outven.bmtchallange.models.login.Response.LoginDataResponse; import com.outven.bmtchallange.models.profile.UpdateProfileResponse; import com.outven.bmtchallange.models.register.Response.UserResponse; import ...
33.7
71
0.671471
d5b938b0bc3d27fdf6a808ca623bdd48e7583194
2,659
package de.ernstingonline.tasting.controller; import de.ernstingonline.tasting.db.dao.game.PlayerDao; import de.ernstingonline.tasting.db.dao.samples.ProductDao; import de.ernstingonline.tasting.db.entities.game.Player; import de.ernstingonline.tasting.db.entities.samples.Product; import de.ernstingonline.tasting.help...
41.546875
115
0.728093
bd535451487621aca241dc0f1139059b3784e4b0
800
package matrix.module.pay.converter; /** * @author wangcheng */ public class HtmlConvert { public static final StringBuilder HTML = new StringBuilder(); static { HTML.append("<html>"); HTML.append("<head>"); HTML.append("<style rel='stylesheet' type='text/css'>"); HTML.appen...
26.666667
77
0.5775
00cf40248e3ac46e51d483ae93fc345224d3ee1d
3,626
package org.oser.tools.jdbc; import com.fasterxml.jackson.databind.ObjectWriter; import com.github.benmanes.caffeine.cache.Cache; import com.github.benmanes.caffeine.cache.Caffeine; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.DisabledIfSystemProperty...
43.166667
219
0.678434
dba10efdd0e48a75292d127ee7ede8f730688cf6
315
package org.parceler.p386a; import java.util.TreeMap; /* renamed from: org.parceler.a.m */ /* compiled from: TreeMapParcelConverter */ public abstract class C14445m<K, V> extends C14442j<K, V, TreeMap<K, V>> { /* renamed from: a */ public TreeMap<K, V> m46059a() { return new TreeMap<>(); } }
24.230769
74
0.650794
a1aa7ddc52b51880cd73114710d21d4f985238e9
14,825
package mtas.solr.handler.component.util; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.Map.Entry; import java.util.SortedSet; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.solr.com...
35.722892
117
0.684047
6657f4fa7276a86db018221f257c08bea8c61a4f
4,512
package com.romaway.activity.basephone; import roma.romaway.commons.android.theme.SkinManager; import com.actionbarsherlock.app.ActionBar; import com.romaway.android.phone.widget.RomaToast; import com.romaway.framework.view.RomaWaySwitchTowView; import com.romaway.android.phone.R; import com.romaway.commons.lang.Str...
32.695652
120
0.678856
4cd3d1a51d88229a438b5e90fba60fd736f1972f
1,783
package com.github.fppt.jedismock.operations.pubsub; import com.github.fppt.jedismock.operations.AbstractRedisOperation; import com.github.fppt.jedismock.operations.RedisCommand; import com.github.fppt.jedismock.server.Response; import com.github.fppt.jedismock.datastructures.Slice; import com.github.fppt.jedismock.st...
39.622222
110
0.69714
1a2822782f6047b62593ce6673b7bf7f1fb0c64b
23,529
/* * Copyright (c) 2015 SONATA-NFV, UCL, NOKIA, NCSR Demokritos 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 * * U...
31
118
0.655234
278f481a1104c64b65a81ff9ca3fcbcae3620ee0
139
public interface Robol { /** * Interprets the abstract syntax tree with the grammar of the ROBOL language. */ void interpret(); }
15.444444
79
0.690647
f59d8e9e65919875b996585020a7f4dd36e7f203
2,224
package com.ajayinkingston.ld41; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.g2d.BitmapFont; public class Level { Main main; ParticleBox particleBox; Clouds clouds; ProgressBar particlesLeft; ProgressBar timeLeft; BitmapFont font; public Lev...
25.860465
131
0.677608
fcb00fe25155b545fa52743cb9f6960cefd20f96
6,760
package com.mycompany.myapp.controller; import java.io.*; import java.text.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; import org.json.*; import org.slf4j.*; import org.springframework.beans.factory.annotation.*; import org.springframework.stereotype.*; import org.springframework.tran...
30.727273
131
0.671154
9d2d69f868a6e33831be403a7293ca2e2b38049b
380
package de.onyxbits.jbee; public interface ExpressionParserTokens { public final static short NUM=257; public final static short IDENT=258; public final static short LSTSEP=259; public final static short BSHIFTL=260; public final static short BSHIFTR=261; public final static short PLUSPERCENT=262; public final static s...
31.666667
43
0.821053
3a75e456b381d7a461d2e7913e5f2229df3bc06c
716
package caelum.cap9; public class Gerente extends Funcionario{ private int senha; private int numeroDeFuncionariosGerenciados; public boolean autentica(int senha) { if (this.senha == senha) { System.out.println("Acesso Permitido!"); return true; } else { ...
19.351351
53
0.615922
f40ad689800b43bc83943e5f6989f3e219c574da
14,954
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2010...
30.83299
130
0.602046
dda1256f25865f3e4b7049f70bfb0b43a8d84d4f
4,244
package com.example.Asus.shixun.ui.adapter; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import com.bumptech.glide.Glide; import com.example.Asus.shixun.R; i...
30.532374
121
0.634307
7d0e6d004bb9fc41a25a621191d9c1ed0e91402a
2,035
package mapl.ast; import java.util.LinkedList; import java.util.List; /** * Parent class for all abstract syntax. Provides the ability to tag * ASTs with additional information to aid error reporting. * @author seb */ public abstract class AST { private static List<String> globalTags; private Li...
24.22619
79
0.562162
10d4cee85b9e2f886056e62b75558bc4f4eae2c9
1,302
/** * 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...
40.6875
82
0.754992
0c92bb6e4b86f93dac9bbed67df97740f0441398
296
package com.github.geequery.scheduler; /** * 提醒任务执行 * * @author jiyi * */ public class Notify implements TriggerEvent { public static final Notify INSTANCE = new Notify(); protected Notify() { } @Override public RejectPolicy getRejectPolicy() { return RejectPolicy.Discard; } }
14.095238
52
0.706081
f5f48b30e32363d8b984bc2a370ee448d9842f77
4,010
package com.danbay.socket; import com.danbay.constant.enu.socket.WordConstants; import com.danbay.dbaccess.DataRow; import com.danbay.dbaccess.DataTable; import com.danbay.socket.mina.CoAPParam; import com.danbay.socket.mina.MinaClient; import com.danbay.utils.CommonUtils; import com.danbay.utils.JsonUtils; import com...
38.190476
122
0.711721
1b70a764ac0de491b8ca8a154b4bf64d4ed12485
3,468
/*package pokecube.legends.blocks; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlay...
34.68
175
0.688293
540045c3da783a7574577dfd1646737c0e50d4e1
3,142
/* * Copyright 2018 Johannes Donath <johannesd@torchmind.com> * and other copyright owners as documented in the project's IP log. * * 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 * * ...
29.641509
99
0.6986
8001d9326acff0dc03c770631cfbb75e84073ddc
977
package com.uns.ftn.searchservice.domain; /*********************************************************************** * Module: Comment.java * Author: Vunic * Purpose: Defines the Class Comment ***********************************************************************/ import com.fasterxml.jackson.annotation.JsonIgnor...
23.829268
73
0.629478
1933fd28435df67167e66ed931041947c1733c31
464
package ch.softridge.cardmarket.autopricing.domain.mapper.dtos; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; @Setter @Getter @AllArgsConstructor @NoArgsConstructor public class ProductDto { private Integer productId; private String name; private...
20.173913
63
0.814655
58a3a2bb8aa6e7fff6c60dc88d666b7f7c878be7
1,527
package janktastic.jankbot.command; import java.util.List; import net.dv8tion.jda.api.entities.Guild; import net.dv8tion.jda.api.entities.Member; import net.dv8tion.jda.api.entities.VoiceChannel; public abstract class AbstractPlayCommand extends AbstractCommand { protected static final String INVALID_VOICE_CHANNE...
35.511628
212
0.721676
e6aa8e022d13b5b7628600439bf4fbbfe8c351bd
1,464
// // Decompiled by Procyon v0.5.36 // package org.xmlpull.v1.builder; import java.util.Iterator; public interface XmlDocument extends XmlContainer { Iterator children(); XmlElement getDocumentElement(); Iterator notations(); Iterator unparsedEntities(); String getBaseUri();...
24
96
0.694672
ecb5ce1d12ac77347c0f0698ea7a43cab9fdb222
10,878
package com.ruoyi.project.vocsale.service.impl; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.google.common.collect.Lists; import com.ruoyi.common.enums.voc.VocDeliverType; import com.ruoyi.common.enums.voc.VocNoPrefix...
45.136929
137
0.702519
7f7afb649702ebb89de55cb8a1b2867b858d7ad6
4,708
package org.milleni.dunning.ws.client.crmaccountcoa; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlTyp...
26.59887
120
0.59983
bb93805b9dc07b26dcfc7faf2c8d9d2b5962ad98
1,502
package android.support.p000v4.view; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.annotation.TargetApi; import android.support.annotation.RequiresApi; import android.view.View; @TargetApi(16) @RequiresApi(16) /* renamed from: android.support.v4.view.ViewPropertyA...
31.291667
98
0.651798
629923ad20db63555ec753b2965ca2a060d512e3
1,781
package europeana.rnd.dataprocessing.dates.extraction; import java.text.ParseException; import org.junit.jupiter.api.Test; import europeana.rnd.dataprocessing.dates.edtf.Instant; public class PatternIso8601DateRangeTest { @Test void parseDate() throws ParseException { PatternNumericDateExtractorWit...
41.418605
107
0.702976
feba6ddbc94376246bed2b2b9ead7238a1eeb768
1,981
package ru.com.konstantinov.longboardlighting; import android.app.ListFragment; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothSocket; import android.os.Bundle; import android.view.View; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.Toast; impor...
34.155172
149
0.72741
32a7fa4716a037f75864814910b6f45898943ee6
409
package io.toolisticon.cute.integrationtest.java9; import io.toolisticon.cute.integrationtest.java9.unnamednonmodule.UnnamedAutomaticModuleTestClass; import javax.annotation.processing.Processor; public class Test { public static void testCall(Processor processor) { } public static void secondTestCall...
20.45
98
0.782396
67a296f82bced8cdd16f00a67306d979bf025f8a
270
package domainmodel; public class SequenceValue { private int autoIncrementValue; public int getAutoIncrementValue() { return autoIncrementValue; } public void setAutoIncrementValue(int autoIncrementValue) { this.autoIncrementValue = autoIncrementValue; } }
19.285714
60
0.8
e6564a8e1cd4fb0c19e3262a49974b1bcb1de880
1,118
package vn.rta.moneyaswords; import vn.rta.moneyaswords.core.converters.BDBankingMoneyToWordsConverter; import java.math.BigDecimal; /** * Manage functions to convert an amount of money to text */ public class MoneyConverterManager extends BaseConverterManager<BigDecimal> { private final BDBankingMoneyToWords...
31.055556
103
0.759392
18ffa14bc0462891bf6635b72df231d9df0636b1
2,507
package io.github.encryptorcode.permissions.service; import io.github.encryptorcode.permissions.abstracts.Pipeline; import java.util.HashMap; import java.util.Map; /** * This class is used to pipe variables generated from the {@link io.github.encryptorcode.permissions.abstracts.PermissionHandler} layer to the contr...
40.435484
186
0.686079
749b2915e8403dfa8a6739163e26aa68c7746844
2,408
package org.motechproject.commcare.events; import org.junit.Before; import org.junit.Test; import org.mockito.ArgumentCaptor; import org.mockito.InjectMocks; import org.mockito.Mock; import org.motechproject.commcare.domain.FormValueElement; import org.motechproject.commcare.domain.FormXml; import org.motechproject.co...
34.898551
112
0.726329
412a8241a185dd3e7ed46b8c67398570c4fa7f03
1,318
package org.ovirt.engine.ui.common.widget.tab; import java.util.Objects; import com.google.gwt.dom.client.Style.HasCssName; public class DetailTabInfo { private String detailTitle; private int detailPriority; private HasCssName icon; public String getDetailTitle() { return detailTitle; ...
23.535714
76
0.630501
ebe78bb62aed10004a178a77f3c309cfb88cfe05
284
package io.rukkit.event.game; import io.rukkit.event.*; import io.rukkit.event.player.*; public class GameStartEvent extends GameEvent { private static ListenerList list = new ListenerList(GameStartEvent.class); public static ListenerList getListenerList() { return list; } }
20.285714
75
0.778169
8a0c1ea18e025a2a7abd076b1634f6269a72c164
2,999
/** * Copyright 2012 Universita' degli Studi di Salerno 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...
28.836538
101
0.67956
af6d1dd749e159b4f3fb051ddf643a8318a7e803
1,701
/* * 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 ...
28.830508
78
0.742504
555f69d5c2401fd4c4fe91de15e31caa9a19f0e2
9,698
package com.example.feedbackapp; import android.app.AlertDialog; import android.app.FragmentManager; import android.app.FragmentTransaction; import android.content.Intent; import android.os.Bundle; import android.text.Layout; import android.view.GestureDetector; import android.view.LayoutInflater; import android.vie...
38.947791
169
0.67251
42a82b07805b3c96cdeec9b16e09d3aac8f39f61
7,336
package fr.univtln.mapare.controllers; import fr.univtln.mapare.daos.AdmissionExamDAO; import fr.univtln.mapare.entities.*; import fr.univtln.mapare.exceptions.IncorrectEndHourException; import fr.univtln.mapare.exceptions.timebreakexceptions.ManagerTimeBreakException; import fr.univtln.mapare.exceptions.timebreakexce...
49.234899
258
0.695338
7104028329838ee536d67ba2c9f51f84aa226182
2,118
package org.springframework.security.oauth2.provider.client; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.security.oauth2.provider.ClientDetails; import org.springframework.security.oauth2.provider.ClientDetailsService; import org.springframework.secur...
41.529412
118
0.773843
fd958d1c47112cf335ad42d4e1982cd1efecd5a7
223
package com.hobin.crm.model.orm; import org.springframework.data.jpa.repository.JpaRepository; import com.hobin.crm.model.DataResult; public interface DataResultRepository extends JpaRepository<DataResult, Integer> { }
22.3
82
0.825112
43290d0b01bbea55bf776f918376069498e82a40
8,032
package tb.antlr; import java.awt.Color; import java.awt.EventQueue; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTextPane; import javax.swing.b...
29.207273
84
0.711653
14af251ee59506d06bf7c981bde6dc13a5f276e3
9,309
/* * Copyright © 2018 Apple Inc. and the ServiceTalk project 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 requi...
29.836538
103
0.577291
82866e8127a72c5e8be37ca06e6a8ebfe125f494
888
package php.id.ganapatih; import helper.peopleData; import android.app.Activity; import android.content.Intent; import android.os.Bundle; public class SplashScreen extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); peopleData ...
23.368421
66
0.620495
ba2e8c01afb21dbb1cb01903a4b4024d2b695a8d
2,530
package driver; import java.util.HashSet; import java.util.Set; import java.util.Stack; import compiler.MacroCompiler; import grammar.Expression; import grammar.Grammar; import grammar.java.JavaGrammar; /** * A singleton that allows to share global data between places where that might * otherwise be difficult (e....
29.08046
80
0.427668
84c97c6ee31b90f7a6df382416d5fda8c30e9784
1,697
/* * Copyright (c) 2021, Collins Aerospace. * Developed with the sponsorship of Defense Advanced Research Projects Agency (DARPA). * * Permission is hereby granted, free of charge, to any person obtaining a copy of this data, * including any software or models in source or binary form, as well as any drawings, spe...
45.864865
102
0.77254
3cc9bc53fa39ca64c5545af37edd91abbbb1128a
701
package com.hedera.hashgraph.stablecoin.sdk; import com.google.protobuf.ByteString; import com.hedera.hashgraph.sdk.crypto.ed25519.Ed25519PrivateKey; import com.hedera.hashgraph.stablecoin.proto.BurnTransactionData; import com.hedera.hashgraph.stablecoin.proto.TransactionBody; import java.math.BigInteger; public fin...
33.380952
71
0.75321
6b94e3c07e6a1f8257741aa23005ff2d1a84ab05
189
package com.personal.xiri.uchat.component.skin.view; /** * Created by Gaojianyang on 18/9/19. * github https://github.com/gaojianyang */ public enum ShapeType { RECT,ROUND,CIRCLE }
18.9
52
0.719577
150fa1e48259d27b11b9efb4d92ce19b18340627
135,986
package de.unisiegen.gtitool.ui.logic; import java.awt.Color; import java.awt.Component; import java.awt.Frame; import java.awt.Window; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.util.Locale; import javax....
33.543661
120
0.67026
98110f7692e3637bcafed4b8cd92bb2bb71ed46f
792
package com.github.linhan111.T201907; import java.util.LinkedHashMap; import java.util.Map; /** * 本地实现一个lru算法,同时参考guava的本地缓存,看下他的lru如何实现的 */ public class lru算法Java实现 { private final static int initSize = 3; private static LinkedHashMap<Integer, Integer> lruMap = new LinkedHashMap<Integer, Integer>(initSize...
28.285714
124
0.597222
ac10b27b42713f650eb9422a88bd6a3ff3551c02
1,890
package com.example.sunnylin.sypreferenceutils; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; public class MainActivity extends AppCompatActivity { static private String TAG_BEFORE_SET = "PreferenceBeforeSet"; static private String TAG_AFTER_SET = "Prefer...
41.086957
75
0.682011
da1fa9c2ef44490f6b24115bdb425faef4b15c11
5,725
package com.riskvis.entity; // Generated Sep 29, 2014 10:02:36 PM by Hibernate Tools 4.0.0 import javax.persistence.Column; import javax.persistence.Embeddable; /** * TurnsHistoryHasPlacesrisksId generated by hbm2java */ @Embeddable public class TurnsHistoryHasPlacesrisksId extends AbstractEntity implements java...
40.034965
107
0.835284
8dfc331e4d580a8a38cb66b223b1a4c0ec694c4a
806
package ru.job4j.pseudo; import org.junit.Test; import static org.hamcrest.Matchers.is; import static org.junit.Assert.assertThat; /** * Тест реализации треугольника в виде символов. * * @author Oleg Frolov (frolovolegvladimirovich@gmail.com) * @since 13.06.2019 * @version 1.0 */ public class TestTriangle { ...
26.866667
58
0.468983
8d7ea2ba8e4d468fea79024ec389f9d6379a395f
901
package io.herrera.event_dispatcher; /** * An event is used to manage propagation to listeners and contextual data. * * A simple event will simply manage the propagation of itself to other * listeners when the event is dispatched. More advanced events will also * provide other members that make contextual data av...
30.033333
75
0.697003
c1c6fef86641af9a328ea0d3c541bfca0221302a
550
package com.doctorme.util; import org.junit.Test; import static org.junit.Assert.*; public class GameTextGeneratorTest { GameTextGenerator gameTextGenerator = new GameTextGenerator(); @Test public void printInstructionsReadInText() { assertNotNull(gameTextGenerator.printInstructions()); } ...
22
66
0.712727
8ed3bcf2880040b117c204b7bc160898ee3680b8
9,489
package de.uhd.ifi.se.decision.management.jira.config.workflows; public class DecisionWorkflow { public static String getXMLDescriptor() { return "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n" + "<!DOCTYPE workflow PUBLIC \"-//OpenSymphony Group//DTD OSWorkflow 2.8//EN\" \"http://www.opensymphony.com/osworkf...
57.162651
148
0.491833
8f590166c4f7b7664365e81eab5bd1208abe569c
916
package Easy; public class AddTwoNumStrings { public String addStrings(String num1, String num2) { if (num1 == null || num2 == null) return null; if (num2.length() > num1.length()) return addStrings(num2, num1); int m = num1.length(), n = num2.length(); int carry = 0; Stri...
26.941176
79
0.457424