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
c2fd7351e8aeeeb8d06960cd4204a735f04b6509
814
/* Copyright (c) 2015-2018 Bernd Wengenroth * Licensed under the MIT License. * See LICENSE file for details. */ package bweng.thrift.parser.model; /** * Part of the data model, representing a Thrift Field (e.g. as parameter in a Function). */ public final class ThriftField extends ThriftObject { public Strin...
22.611111
89
0.574939
c135a4adf94c59825e974862620f1ccd6c13b364
8,013
package android.support.v7.widget; import android.content.Context; import android.content.res.Configuration; import android.content.res.Resources.Theme; import android.content.res.TypedArray; import android.support.v4.view.MotionEventCompat; import android.support.v4.view.ViewCompat; import android.support.v4.view.Vie...
27.726644
133
0.701111
a78232cf1dd97c51bfe448392db82cb1258329dd
12,570
package de.uniks.networkparser.parser; import de.uniks.networkparser.DateTimeEntity; import de.uniks.networkparser.EntityCreator; import de.uniks.networkparser.EntityUtil; import de.uniks.networkparser.IdMap; import de.uniks.networkparser.Pos; import de.uniks.networkparser.buffer.Buffer; import de.uniks.networkparser....
40.811688
626
0.677168
b4220e7a47d0a0ae7d3c20f07a1593c7495073f0
1,144
package com.gentics.mesh.core.data.search.request; import com.gentics.mesh.search.SearchProvider; import io.reactivex.Completable; import io.reactivex.functions.Action; import java.util.function.Function; import static com.gentics.mesh.util.RxUtil.NOOP; /** * Contains all information to execute a search request to...
20.8
78
0.716783
1803df2b60c91a463be2a690bb5c2c03a4503e9f
2,334
/* * (c) Copyright 2021 Felipe Orozco, Robert Kruszewski. 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 * * ...
38.262295
119
0.691088
9e5e5990abd7d8e63ce8ce11ea168d80f077ae0f
1,975
package org.specnaz.params.testng; import org.specnaz.impl.SpecsRegistryViolation; import org.specnaz.params.SpecnazParams; import org.specnaz.testng.SpecnazFactoryTestNG; import org.specnaz.testng.SpecnazTests; import org.specnaz.testng.impl.SpecnazTestNgSpecFactory; import org.testng.annotations.Factory; import jav...
37.980769
98
0.71443
9b07c09999b7ae336743a44d27d1821070aa72e4
1,112
package com.kgc.oop.io.byte_stream; import java.io.*; /** * @author:杨涛 */ public class DateInputStream_1 { public static void main(String[] args) { FileInputStream fis = null; FileOutputStream fos = null; DataInputStream dis = null; DataOutputStream dos = null; try { ...
25.272727
77
0.493705
8f4ff9882066c8cbdfa48ea331fab15edc3055b3
1,128
/* * Copyright © 2015 Cask Data, 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 t...
36.387097
106
0.756206
61be7c8d8f8227dbbd8cf738dd3d30274f2ff857
12,295
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
31.852332
137
0.607645
4b7f60a7b7f5ea55f28aacfafbc989dddb76808a
1,188
/* * Copyright 2021-2022 Aklivity Inc. * * Aklivity licenses this file to you 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...
25.276596
78
0.659933
e91549fe0a0f5dc0a3cc56be9f7f240aa69b0575
4,469
package app.roana0229.org.screentracker; import android.app.Activity; import android.app.Application; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.view.ViewPager; import android.s...
33.601504
146
0.576639
887082e1d4aeccff6a8b4e56d07c7907cc08fa49
2,473
package com.delivery.common.util; import com.fasterxml.jackson.databind.annotation.JsonAppend; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java....
26.591398
88
0.599677
88aaa2a1146480017b322ec96717c248dea73154
1,045
package com.boom.pojo; public class DbWaysign { private Integer wid; private String longitude; private String latitude; private String radius; private Integer mode; private String mac; private Integer state; public Integer getWid() { return wid; } public void setWid(Integer wid) { this.w...
13.571429
45
0.68134
85d604c3f6723438b9fa37f48b423e331c4605f9
7,798
/* * 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 ...
37.671498
122
0.681457
59c756b9af80e0239088525c8f6727af9b613513
3,926
/* * This file is part of adventure, licensed under the MIT License. * * Copyright (c) 2017-2022 KyoriPowered * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, inc...
32.716667
155
0.705298
3061206eef6d0e8335cf55409798d76c01e69324
488
package nl.esciencecenter.computeservice.model; public class StatePreconditionException extends Exception { private static final long serialVersionUID = 7561477622540055275L; public StatePreconditionException() { super(); } public StatePreconditionException(String string) { super(string); } public StatePr...
22.181818
69
0.772541
47eda1d3f2d83670e3aa18cad3e212e16d12f880
4,647
package net.myscloud.open.apollo.client.file; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.google.common.base.Joiner; import com.google.common.collect.Lists; import lombok.Getter; import lombok.Setter; import lombok.extern.slf4j.Slf4j; import net.myscloud.open.apollo.common.kits...
39.717949
100
0.621691
f060cdee03b2e61a7dbe2d856e44f079224c0ea6
778
package com.lxisoft.service.dto; import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; import com.lxisoft.web.rest.TestUtil; public class AnswerDTOTest { @Test public void dtoEqualsVerifier() throws Exception { TestUtil.equalsVerifier(AnswerDTO.class); A...
32.416667
57
0.708226
6cc97508ec2d033bceed074ae5cca7897b476494
1,687
package org.cloudfoundry.identity.uaa.test; import org.junit.jupiter.api.extension.*; import org.springframework.context.ApplicationContext; import org.springframework.test.context.junit.jupiter.SpringExtension; import java.util.*; public class ZoneSeederExtension implements AfterEachCallback, ParameterResolver, Bef...
38.340909
144
0.744517
b67a72698248a2c5a216dc264b633c5fc1fffee6
100
package fr.ignishky.mtgcollection.domain.card; public record CardImage( String image ) { }
14.285714
46
0.72
d680da0253ae757ffb175a80113443bd8eaed8ff
1,772
/* MazeRunnerII: A Maze-Solving Game Copyright (C) 2008-2012 Eric Ahnell Any questions should be directed to the author via email at: products@puttysoftware.com */ package com.puttysoftware.mazerunner3.maze.objects; import com.puttysoftware.mazerunner3.Application; import com.puttysoftware.mazerunner3.Game; import ...
29.533333
113
0.764673
d52889615afbe6468137855e2e605e5b2057b899
1,475
package com.ruoyi.ext.mapper; import com.ruoyi.ext.database.SqlParam; import com.ruoyi.ext.domain.SysRoleMenu; import org.beetl.sql.core.mapper.BaseMapper; import java.util.List; /** * 角色与菜单关联表 数据层 * * @author ruoyi */ public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> { /** * 通过角色ID删除角...
24.583333
145
0.640678
0d4f28fbdd6dd42d851289c9e9b72d62c854ef16
1,514
/* * 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 davy; /** * * @author mars */ public class WhileLoop { private static final java.util.Scanner sc = new java.util.Scann...
32.913043
84
0.624835
c88394e73174219d60c97372e8efe27de74150b7
758
import java.text.MessageFormat; /** * Word is a custom object for holding a sub-string value and its start and end indices in a string. */ public class Word implements Comparable<Word> { private String value; private long startIndex; public String getValue() { return value; } public lo...
21.657143
104
0.633245
998d497d5641929c0e4d3ea518fe88370eb33225
660
package com.achais.leetcode; import java.util.LinkedList; import java.util.Queue; public class Solution190 { public int reverseBits(int n) { int[] arr = new int[32]; for (int i = 0; i < 32; i++) { arr[i] = n & 1; n >>= 1; } int ans = 0; for (int i : ...
22
55
0.522727
bccbf2646982eb552613f69ccde05cecb1412513
6,736
package com.v5ent.xiubit.fragment.main; import android.os.Build; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.FragmentManager; import android.support.v4.view.ViewPager; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; im...
33.182266
123
0.600356
eb52063e09c246cf738b70dfd4e68e9c7a816820
9,012
package com.hsq.client; import com.hsq.bean.User; import java.math.BigInteger; import java.util.Scanner; /** * @author concise */ public class InformationAndAccountView { private static Scanner input = new Scanner(System.in); // 首页 public static User indexView() { System.out.println("*******...
47.93617
108
0.353418
4c49d9245dcf055265b7b50cb90b236fb40febc9
3,167
package se.eris.notnull.instrumentation; import org.junit.Test; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; public class ClassMatcherTest { @Test public void fromPlainMarcher() { final ClassMatcher matcher = ClassMatcher.namePattern("se.eris.A"); as...
38.621951
83
0.641617
98353f5df63629aa20164cd6e75a5f1df72e61d0
404
package com.liangxiaoqiao.leetcode.day.hard; /* * English * id: 431 * title: Encode N-ary Tree to Binary Tree * href: https://leetcode.com/problems/encode-n-ary-tree-to-binary-tree * desc: * <p> * 中文 * 序号: 431 * 标题: 将 N 叉树编码为二叉树 * 链接: https://leetcode-cn.com/problems/encode-n-ary-tree-to-binary-tree * 描述: ...
16.833333
72
0.65099
2d21067372e7c62113ed48c03fb7e4dda4f72683
3,012
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // This file is a part of the 'coroutines' project. // Copyright 2018 Elmar Sonnenschein, esoco GmbH, Flensburg, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance ...
29.821782
78
0.615206
0c40e712480bf6796befb1a3ee7bedcb512c802c
4,522
//| Copyright - The University of Edinburgh 2011 | //| | //| Licensed under the Apache License, Version 2.0 (the "License"); | //| you may not use this file except in compliance with the License. | //| You ...
35.054264
132
0.670942
4f6d0b6493c8fa307fe715d56331fbcce693cb33
902
package me.giraffetree.java.boomjava.alg.sort.merge; import me.giraffetree.java.boomjava.alg.sort.Element; import java.util.Arrays; import static me.giraffetree.java.boomjava.alg.sort.SortUtils.generateObj; /** * 自底向上的归并排序 * * @author GiraffeTree * @date 2020-01-04 */ public class MergeObjectSort2 { publi...
23.736842
98
0.594235
de48e3beee8c81b8396b5b33940a1bac7ebb798a
1,096
package action.testcases; import org.junit.Test; import com.xceptance.xlt.api.actions.AbstractHtmlPageAction; import com.xceptance.xlt.api.engine.scripting.AbstractHtmlUnitScriptTestCase; import action.testcases.OpenCloseOpen_actions.OpenCloseOpenAction; import action.testcases.OpenCloseOpen_actions.OpenCloseOpenActi...
26.095238
91
0.729927
f801995edeff74a303ae4b9ed9e07c914633466d
1,326
/* * Copyright 2002-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 ap...
30.136364
75
0.726244
387b89ba233e13974e0b0733a7b87a63641c0b79
2,268
package ch.softridge.cardmarket.autopricing.controller; import ch.softridge.cardmarket.autopricing.domain.service.CardService; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.StandardCopyOption; import org.slf4j.Logger; import org.slf4...
32.4
91
0.754409
59b375ff2a28e26e886ee43cfa732b77699544d9
4,994
/* * 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.169014
147
0.737085
f65c4805db87d08cf8ef5f76728fc352db623247
5,956
/* * Copyright 2005 Sun Microsystems, 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...
28.634615
97
0.575218
a68f8d2cb23587fa5257d7415612f0d41c4bc012
1,968
package nl.naturalis.oaipmh.api; import static nl.naturalis.oaipmh.api.Argument.FROM; import static nl.naturalis.oaipmh.api.Argument.METADATA_PREFIX; import static nl.naturalis.oaipmh.api.Argument.RESUMPTION_TOKEN; import static nl.naturalis.oaipmh.api.Argument.SET; import static nl.naturalis.oaipmh.api.Argument.UNTIL...
26.958904
89
0.751016
c97a31bfba6cb2ed9e5eff0008508e5e11197dbf
836
/* * Copyright (c) 2004, 2018 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
24.588235
81
0.706938
57c8543c2bb926ff15ec21b477eb30d32c4a3c6f
3,504
package com.wjwu.wpmain.util; import android.content.Context; import android.text.TextUtils; import android.widget.Toast; import com.wjwu.wpmain.lib_base.R; /** * Created by wjwu on 2015/8/28. */ public class ZToastUtils { private static Toast sToast; private static Toast getToast(Context context) { return T...
17.69697
71
0.644692
af37dff40b10dad275e6a307a198a2c41982bdc2
80,430
package edu.indiana.d2i.komadu.query.graph; import edu.indiana.d2i.komadu.ingest.db.BaseDBIngesterImplementer; import edu.indiana.d2i.komadu.query.DetailEnumType; import edu.indiana.d2i.komadu.query.PROVSqlQuery; import edu.indiana.d2i.komadu.query.QueryConstants; import edu.indiana.d2i.komadu.query.QueryException; im...
46.545139
137
0.550603
3b59cf2e96a72b63371ae367fab75570c4be7fc1
1,541
package br.ufs.dcomp.eduard6.disciplinas.ia.projetos.iclass.persistence.pojo; import br.ufs.dcomp.eduard6.disciplinas.ia.projetos.iclass.to.HorarioTO; /** * Representa um Horario no banco de dados. * * @author Eduardo Fillipe da Silva Reis * */ public class HorarioPOJO { private TurmaPOJO turma; private String...
22.333333
94
0.739779
bd9b18558f3c5302e4202c32bfae90f19e0d078a
3,549
/** * Licensed to the Austrian Association for Software Tool Integration (AASTI) * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. The AASTI licenses this file to you under the Apache License, * Version 2...
38.16129
102
0.674556
f072f39c35e4189e54c004ae1145bafa140ed323
10,351
package de.vinado.wicket.participate.ui.event; import de.agilecoders.wicket.extensions.markup.html.bootstrap.icon.FontAwesomeIconType; import de.vinado.wicket.participate.components.TextAlign; import de.vinado.wicket.participate.components.modals.BootstrapModal; import de.vinado.wicket.participate.components.panels.Ic...
46.41704
159
0.667955
c7cf45bfc39a506e00bff088a208d05d62a6f7a1
11,918
/* */ package com.wtpgaming.omzp.v15.Events.CustomItems.Armor.Helmets; /* */ import com.wtpgaming.omzp.OMZP; /* */ import java.util.Objects; /* */ import org.bukkit.ChatColor; /* */ import org.bukkit.Material; /* */ import org.bukkit.event.EventHandler; /* */ import org.bukkit.event.Li...
58.70936
230
0.520557
3b3aae465d7ef87b2320106ba710e1d885d032a0
3,585
import java.util.ArrayList; import java.util.Scanner; import java.util.InputMismatchException; import java.util.NoSuchElementException; public class Main { public static void main(String[] args) throws InputMismatchException { Scanner sc = new Scanner(System.in); // Usar exceção para tratar entrad...
41.686047
124
0.68145
47f2a5a830af66ad79092f1e311b6f011dc08493
2,371
package com.ramsarup.ramsarup.Adapter; import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.v...
20.982301
96
0.648671
7d4e9393d6f4090e21ea3120337fd44f3e3374b8
4,159
package com.mmorpg.logic.base.login; import com.mmorpg.framework.message.Message; import com.mmorpg.framework.message.MessageId; import com.mmorpg.framework.message.MessageType; import com.mmorpg.framework.net.session.GameSession; import com.mmorpg.framework.net.session.GameSessionStatusUpdateCause; import com.mmorpg....
28.486301
122
0.742486
b246baeeb5e22a7220ffbcca2dd1b3f0f6c75289
143
package com.thegongoliers.commands; import edu.wpi.first.wpilibj2.command.CommandBase; public class DoNothingCommand extends CommandBase { }
20.428571
51
0.832168
09978ffef0de0aa034c20bd2315b371e74e6c15a
761
// -*- tab-width: 4 -*- //Title: JET //Version: 1.00 //Copyright: Copyright (c) 2000 //Author: Ralph Grishman //Description: A Java-based Information Extraction Tool package edu.nyu.jet.pat; import edu.nyu.jet.tipster.*; import java.util.*; import javax.swing.tree.DefaultMutableTreeNode; /** *...
21.742857
69
0.668857
1e1a053e79372515e65149b00c2c51a47fb3aef6
5,596
/** * Copyright 2017 Goldman Sachs. * 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 agree...
45.129032
124
0.742137
051f9c96e1fd42cead2731874e071884c66d5e14
2,681
package view; import javax.swing.*; import javax.swing.border.Border; import java.awt.*; final class GuiCreator { private GuiCreator() {} static JTextArea createTextArea(boolean lineWrap, boolean opaque, boolean editable) { JTextArea textArea = new JTextArea(); textArea.setLineWrap(lineWrap);...
27.639175
99
0.6837
525b5ff378a327c7b2498a5e9ec60b05579ef50e
2,232
package seedu.savenus.logic.commands; import static java.util.Objects.requireNonNull; import java.util.List; import javafx.collections.ObservableList; import javafx.collections.transformation.SortedList; import seedu.savenus.logic.commands.exceptions.CommandException; import seedu.savenus.model.Model; import seedu.s...
34.338462
105
0.6931
b85adb86abfad2f67ec2461675895f435a2756f4
5,969
package com.example.android.quakereport; import android.app.Activity; import android.graphics.drawable.GradientDrawable; import android.support.v4.content.ContextCompat; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widge...
36.396341
92
0.649523
6dd2fb37bf9a26bcaac6792579b03af5869effe5
5,427
package com.raoulvdberge.refinedstorage.screen.widget; import com.mojang.blaze3d.platform.GlStateManager; import com.mojang.blaze3d.systems.RenderSystem; import com.raoulvdberge.refinedstorage.RS; import com.raoulvdberge.refinedstorage.api.network.grid.IGridTab; import com.raoulvdberge.refinedstorage.apiimpl.render.El...
30.835227
191
0.573982
cdd031f8c625809a664036c085011f7443ddded2
716
/** * */ package com.inicu.hl7.data.acquisition; import java.util.Map; import ca.uhn.hl7v2.HL7Exception; import ca.uhn.hl7v2.protocol.ReceivingApplicationExceptionHandler; /** * @author sanoob * iNICU * 24-Feb-2017 */ public class HL7ExceptionHandler implements ReceivingApplicationExceptionHandler { @Over...
22.375
128
0.747207
0d134a9c8f7e9274c63a108f72257e5a99383e7c
4,631
/** * Copyright (c) 2014, Sebastian Sdorra All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditi...
29.685897
91
0.6748
1a41ccb8e80d27e730507d90e50314b73f4beb6d
1,907
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 油站信息 * * @author auto create * @since 1.0, 2019-11-25 16:22:33 */ public class OilStationDetails extends AlipayObject { private static final long serialVersionUID = 53455263336...
17.657407
68
0.65915
3a9f7b8c2b5c51dd0344097ee6d6ee178f44a502
2,563
package com.ray3k.stripe.test; import com.badlogic.gdx.ApplicationAdapter; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application; import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.g2d.SpriteBa...
34.173333
86
0.69723
95de9e8ad2bfd1583d9c4a74cbcbc4943e571f8b
902
package com.jimmy.service.impl; import com.jimmy.dao.UserCheckMapper; import com.jimmy.entity.UserInfo; import com.jimmy.service.UserCheck; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * <p> * User: lian zd Date:2017/9/21 ProjectName: spring_learn...
25.771429
72
0.706208
80e7bc10d6585224a81776272f935006e3f6ad0d
1,369
package br.com.location.indoor.service; import java.util.List; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import br.com.location.indoor.dto.RouteDto; import br.com.location.indoor.dto.RouteFormDto; import br.com.location.in...
30.422222
153
0.724617
1e7fcaf0fcb4daabf41675c6a4c12d28f35a8806
3,596
/** * */ package csironi.ggp.course.gamers.old; import java.util.ArrayList; import java.util.List; import org.ggp.base.player.gamer.event.GamerSelectedMoveEvent; import org.ggp.base.player.gamer.statemachine.sample.SampleGamer; import org.ggp.base.util.statemachine.abstractsm.AbstractStateMachine; import org.ggp.ba...
29
151
0.766963
e60601f43e8dc9b7ac087b0121bf009b170a6183
3,463
/* * Copyright 2018-2019 Karakun AG. * Copyright 2015-2018 Canoo Engineering AG. * * 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 * ...
26.435115
95
0.654346
60d34b8be51d329a23a23032b8745797e11c91fe
4,646
package br.com.zup.mercadolivre.controller.request; import br.com.zup.mercadolivre.model.Category; import br.com.zup.mercadolivre.model.Product; import br.com.zup.mercadolivre.model.User; import br.com.zup.mercadolivre.repository.CategoryRepository; import br.com.zup.mercadolivre.validator.ExistsId; import br.com.zup....
38.081967
129
0.626991
9ce6fe455e8d389f681df23501b664e2aff5bbe9
999
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.iot.deviceupdate.models; import com.azure.core.annotation.Fluent; import com.fasterxml.jackson.annotation.JsonProperty; /** Operation status fi...
25.615385
68
0.675676
223f74a887b20c889d5d6fa69afcc102ba9d67d0
11,214
/* * 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 m...
37.630872
86
0.616283
8e85d020f522b59375c19d8346043ffed9dbdc29
437
package com.thepencil.journel.ui; import androidx.appcompat.app.AppCompatActivity; import androidx.databinding.DataBindingUtil; import android.os.Bundle; import com.thepencil.journel.R; public class AuthActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { ...
25.705882
69
0.782609
367d8437931d01d7664a5503c005fba8c45c9dd1
1,424
package com.dao; import java.util.List; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.model.User; @Repository public class UserDaoImpl implements UserDao { @Autowired p...
26.867925
72
0.742978
c205d40f748b1f0deca0296cdf0acc8458d3b032
278
package com.knu.cse.member.dto; import lombok.Data; @Data public class LoginSuccessDto { private Long userId; private String nickname; public LoginSuccessDto(Long userId, String nickname) { this.userId = userId; this.nickname = nickname; } }
17.375
58
0.683453
9a772a2aa304a58dc972755f64e14684514158dd
140
package poussecafe.source.validation.namesmoduleduplicate; import poussecafe.domain.Module; public interface MyModule extends Module { }
17.5
58
0.835714
f7cccede56d410e539efb97a61b71d56d22ba69c
48,670
/* * 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 ...
48.379722
188
0.639901
1de5718a3eb58a41ded7f2e2bfe121fb7bcb084e
2,336
package ai.cellbots.common.data; import com.google.firebase.database.DataSnapshot; import com.google.firebase.database.Exclude; import com.google.firebase.database.IgnoreExtraProperties; import com.google.firebase.database.PropertyName; import com.google.firebase.database.ServerValue; /** * File information used by ...
24.589474
90
0.623288
e17ee9ef213bd57b462b696261bfbbe730c4df9d
4,545
package com.habbyge.iwatch.patch; import android.text.TextUtils; import android.util.Log; import androidx.annotation.Keep; import com.habbyge.iwatch.IWatch; import com.habbyge.iwatch.util.HellUtils; import java.io.File; import java.io.IOException; import java.util.List; /** * Created by habbyge on 2021/1/5. * *...
28.055556
119
0.562596
200a7dbe3fa166ece99e4935da36ca980e44f536
4,019
package game.container.impl; import java.util.Arrays; import game.container.ItemContainer; import game.container.ItemContainerNotePolicy; import game.container.ItemContainerStackPolicy; import game.content.item.ItemInteraction; import game.item.GameItem; import game.item.ItemAssistant; import game.npc.Npc; import game...
20.505102
90
0.64842
a0fb19cc299748552caa0968ade4f3b95d767ed8
283
package com.example.vimeoplayer.model.vimeo; import com.google.gson.annotations.SerializedName; public class Request{ @SerializedName("files") private Files files; public void setFiles(Files files){ this.files = files; } public Files getFiles(){ return files; } }
12.863636
50
0.734982
4dcbd7d04bbb0ec0c9df28222c952351de36a6cd
1,478
package sk.ivankohut.quantifa.xmldom; import lombok.RequiredArgsConstructor; import org.cactoos.Scalar; import org.cactoos.Text; import org.cactoos.scalar.Unchecked; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import javax.xml.xpath.XPathConstants; import javax.xml.xpath.XPathExpression; import javax.xml.xp...
30.163265
130
0.717185
bc5393c1dc8effd32c9c32beb4b99cfb2eee3930
543
package ru.codewars; public class GrassHopper { public static String weatherInfo(int temperature) { int celsius = (temperature - 32) * 5/9; double c = (double)celsius; if (c < 0) return (c + " is freezing temperature"); else return (c + " is above freezing te...
24.681818
59
0.569061
408c4ad91df89eae5ecc410e5975facd6d8531ac
7,528
package org.dvare.expression.datatype; import org.dvare.annotations.OperationMapping; import org.dvare.annotations.Type; import org.dvare.expression.literal.LiteralExpression; import org.dvare.expression.operation.aggregation.Maximum; import org.dvare.expression.operation.aggregation.Minimum; import org.dvare.express...
31.366667
88
0.609989
1f7be8d984ca97df76b31315885606b8ec697d96
3,286
package model; import java.security.InvalidKeyException; import java.util.*; import stats.LanguageStats; public class Contest { final List<Problem> problems; final List<Team> teams; final Analyzer analyzer; final List<Submission> submissions; final List<Language> languages; final LanguageStats stats; double c...
23.471429
87
0.720024
d3b9fd0520df0bac78effe820a300b10c50ee75d
8,885
/* * 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")...
33.655303
81
0.549803
fed28f1b6434ca8d0b6a03137b5d2ebe0355581b
733
package com.denofprogramming.service; import org.springframework.stereotype.Service; @Service("basicMessageOfDay") public class BasicMessageOfTheDayImpl implements MessageOfTheDayService { private String message = "hello world"; public BasicMessageOfTheDayImpl() { System.out.println("no-arg Constructor called ...
22.90625
98
0.75307
d359f391d8728c87f3d008f10553f716a60843db
786
package com.algorithm.dynamic; /** * http://www.geeksforgeeks.org/dynamic-programming-set-10-0-1-knapsack-problem/ */ public class Knapsack01 { public int calculate(int val[], int wt[], int W) { int K[][] = new int[val.length + 1][W + 1]; for (int i = 0; i <= val.length; i++) { for (int j = 0; j <= W; j++)...
22.457143
80
0.493639
12eacf7b40378198144d6f8a32cbb54426570c52
1,386
package ro.dcmt.mobile; import java.io.IOException; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.slf4j.Logger; import org.slf4j.Logge...
24.75
83
0.730159
a1479ccd2d42d41d44b62d1b21afd1f55e150010
1,850
package ccl.rt.use; /** * Created by Matthias on 05.07.2017. */ public interface InstructionBytes { String[] BYTE_TO_STRING = new String[]{ "__whiletrue","__while","__forarr", "__fornum","__whiletrue_nb","__while_nb", "__forarr_nb","__fornum_nb","__println", "__pr...
25.694444
55
0.551351
0087b68c8c6bce5978fcbd5179fdefd1821a63ae
4,690
/* * 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 com.desarrollo.entidades; import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import jav...
26.647727
118
0.610874
43236e6b8e5114d0c765c6cd1a887c8ff7b4bda6
436
package daggerok.apps.app.mappers; import daggerok.apps.app.validators.InputValidator; import javax.inject.Inject; public class InputMapper { private final InputValidator inputValidator; @Inject public InputMapper(final InputValidator inputValidator) { this.inputValidator = inputValidator; } public ...
20.761905
59
0.752294
f043126984005845075a99bfa80eb4ee05bb3404
11,283
package io.videofirst.basic; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * @author Bob Marks */ public class StacktraceTest { private static final String[] STACKTRACE = {"org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)...
69.648148
160
0.736063
93ccda6fc8b323f4025d4476e65af6ed13f7234f
11,290
package net.minecraft.client.gui; import com.mojang.blaze3d.platform.GlStateManager; import com.mojang.blaze3d.systems.RenderSystem; import com.mojang.blaze3d.vertex.BufferBuilder; import com.mojang.blaze3d.vertex.BufferUploader; import com.mojang.blaze3d.vertex.DefaultVertexFormat; import com.mojang.blaze3d.vertex.Po...
57.602041
260
0.731178
3189d591445ee69be2e4dfd1cd617cbc91d79cfb
3,839
package tk.ainiyue.danyuan.application.user.userrole.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Example; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; import org.springfra...
26.846154
149
0.72571
0caed1759015f20c98f472ba2080a66dbca4c47b
10,642
package com.facebook; import android.util.Log; import com.facebook.internal.Logger; import com.facebook.internal.Utility; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.L...
46.675439
193
0.666416
e81eccd16f09de1cda31f46c5c768f34744b6502
490
package io.github.pflima92.plyshare.microservice.utility; import io.vertx.core.AsyncResult; import io.vertx.core.Future; import io.vertx.core.Handler; import io.vertx.core.json.JsonObject; public class NotificationServiceImpl implements NotificationService { @Override public NotificationService createNotification(...
27.222222
96
0.804082
74bc0b258806561edf805a20e43c30166faee00f
439
package ro.ase.cts.design.patterns.decorator; public class ShieldDecorator extends HeroDecorator{ public ShieldDecorator(AbstractHero hero, int shieldPoints) { super(hero); this.shieldStrength = shieldPoints; } int shieldStrength; @Override public void defend(int hitPoints) { System.out.println("The kin...
20.904762
62
0.749431
80e04aa3e29b8796ba342b0caeee7e4342b30af3
346
/** * <p>This package contains the main API of mu-server, for example the server builders, request and response objects.</p> * <p>For more documentation, see <a href="../../overview-summary.html">the overview page.</a></p> * @see io.muserver.MuServerBuilder * @see io.muserver.MuRequest * @see io.muserver.MuRespons...
43.25
121
0.716763
2916712d5512f2ae0b47fb31e810edb037e99bf1
3,353
package jp.posl.jprophet; import org.apache.commons.io.FileUtils; import org.junit.Before; import org.junit.Test; import jp.posl.jprophet.project.GradleProject; import jp.posl.jprophet.project.MavenProject; import static org.assertj.core.api.Assertions.assertThat; import java.io.File; import java.io.IOException; p...
34.56701
145
0.644796
4fa8dd3b67cf515519234541608fc6d7560cfb6c
4,443
package app.vedicnerd.ytwua.pojo; import android.os.Parcel; import android.os.Parcelable; public class ItemSnippet implements Parcelable { private String publishedAt; private String channelId; private String title; private String description; private SnippetThumbnail thumbnails; private Strin...
23.140625
105
0.603421
40fd297815d39ee51cb0b587b478af7709f81093
2,154
/* * Copyright 2013-2019 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
22.206186
75
0.716806
b5c4174ed65a3a54bf4813a421869c35a8328e9b
117
package ru.ezhov.pixel.view; import java.io.File; interface Pixeler { void toPixel(File file, int pixelSize); }
16.714286
43
0.735043
cdb67af9b4bb1bbf11d14842be9274dc5abcaace
380
package br.com.msansone.api.portfolioservice.model.rest; public class TransactionAddRequest { private String code; private Long quantity; public String getCode() { return code; } public void setCode(String code) { this.code = code; } public Long getQuantity() { return quantity; } public void setQuan...
15.833333
56
0.715789
68ab325fc454cf5a2ca8bfb8f74747020473cf2f
2,397
package storm.starter.bolt; import backtype.storm.task.TopologyContext; import backtype.storm.topology.BasicOutputCollector; import backtype.storm.topology.IBasicBolt; import backtype.storm.topology.OutputFieldsDeclarer; import backtype.storm.tuple.Fields; import backtype.storm.tuple.Tuple; import backtype.storm.tuple...
22.613208
74
0.599499
61e87b0477a705eb739003197d34f39f5f320997
590
package nl.arjanfrans.mario.actions; import nl.arjanfrans.mario.actions.MarioActions.stopImmume; import nl.arjanfrans.mario.model.Mario; import nl.arjanfrans.mario.model.World; import com.badlogic.gdx.scenes.scene2d.Action; import com.badlogic.gdx.scenes.scene2d.Actor; import com.badlogic.gdx.scenes.scene2d.actions.A...
21.851852
59
0.772881