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
71bab0649b51c181115c37afa6ab71daa77af10a
976
package com.github.czyzby.lml.vis.parser.impl.tag; import com.badlogic.gdx.scenes.scene2d.Actor; import com.github.czyzby.lml.parser.LmlParser; import com.github.czyzby.lml.parser.tag.LmlActorBuilder; import com.github.czyzby.lml.parser.tag.LmlTag; import com.kotcrab.vis.ui.widget.color.ExtendedColorPicker; /** Handl...
42.434783
118
0.782787
8710515d823d0afb033d2478d38dbbe9c0b8b6b5
13,270
package com.jlpt.retheviper.test.controller; import com.jlpt.retheviper.test.bean.Problem; import com.jlpt.retheviper.test.bean.Score; import com.jlpt.retheviper.test.constant.Subject; import com.jlpt.retheviper.test.gui.ListenTestStage; import com.jlpt.retheviper.test.service.StudentManagementService; import c...
41.598746
113
0.56526
5ca705f3a16496d4b9710c5e9c046a0cda90ec68
2,947
package io.io.minicmd; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import java.util.StringJoiner; import java.util.stream.Collectors; /** * @author Ramil Bischev * @since 20.04.2020 * * Please solve the following puzzle which simulates generic directory structures. * The soluti...
28.066667
90
0.594503
47bd1124b8e936d0e1fef52713f068385e515ea9
1,503
package uq.deco2800.singularity.common.representations.realtime; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import uq.deco2800.singularity.common.SessionType; public class RealTimeSessionConfiguration { @JsonProperty private String sessionID; @JsonP...
18.7875
94
0.671989
a442d35cd2037b9fd9cec26887f1630acf937bab
2,288
/** * 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.962025
79
0.688811
0f7d32619bfdc8ed320deccd80fd73fd257b14a6
4,759
package com.sxu.smartpicture.choosepicture; import android.Manifest; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.net.Uri; import android.os.Environment; import android.os.StrictMode; import android.provider.MediaStore; import android.util.Log; import com....
29.930818
110
0.728304
c19b9be844d120487b98b77795116254f507fb23
202
package com.mylhyl.circledialog.view.listener; /** * Created by hupei on 2018/6/28 11:23. */ public interface OnInputCounterChangeListener { String onCounterChange(int maxLen, int currentLen); }
22.444444
55
0.757426
48bedcde990586473b1b2c809963651e58a6c65c
4,105
package pt.ipp.estg.covidresolvefoodapp.Adapter; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.RatingBar; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.recyclerview.widget.Recycle...
38.009259
143
0.738124
8af58cc6e2d05dcce4f26b2dfc3dbf77ab218b0a
1,330
package com.vaani.ctci.chap4treegraph; import com.vaani.dsa.ds.core.tree.BinaryTreeNode; /** * You have two very large binary trees: T1, with millions of nodes, and T2, * with hundreds of nodes. Create an algorithm to decide if T2 is a subtree of * T1. A tree T2 is a subtree of T1 if there exists a node n in T1 su...
30.930233
88
0.603759
8d266dc97c50d2d258cb8ef53d0563497fdf3ff2
3,136
package edu.jhu.thrax.hadoop.jobs; import java.io.IOException; import java.util.HashSet; import java.util.Set; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.mapreduce.Job; import org.apache.hadoop.mapreduce.Mapper; import org.apache.hadoop.mapreduce.lib.input....
34.086957
95
0.776467
d699f7527426cbe80e1f44ecfc9b11cbd3311ccd
1,886
/** * Copyright 2009-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
33.087719
93
0.73701
aace5086bf80afead99ab23dd50271069cb3b99c
2,692
/* 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 not use this ...
20.549618
206
0.639673
9024ce7228e7efb71b34b3eda14c046d425883e5
33,456
package com.orientechnologies.orient.core.record.impl; import com.orientechnologies.orient.core.db.ODatabaseRecordThreadLocal; import com.orientechnologies.orient.core.db.document.ODatabaseDocument; import com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx; import com.orientechnologies.orient.core.db.re...
35.478261
131
0.668998
10670e2cd70dfbeeb394652a1e717beebd7fda6a
352
package co.com.practicaJava.ejercicio4; public class Producto { private Double precio; private final Double iva = 0.21; public Producto(Double precio) { this.precio = precio; } public double precioFinal(){ return importeIva() + precio; } public double importeIva(){ ...
17.6
39
0.625
b1977c5cdf6d921d516193f0c32e34bf04e6a96b
1,166
package com.gitclone.classnotfound; import java.io.IOException; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import com.gitclone.classnotfound.model.Cnf_pomattr; public class XmlTest { public static void main(String[] args) throws Exception { String url = "https://repo1.maven.org/maven2/org/springfra...
30.684211
117
0.716123
0de468a4066daf331a262fc68dd62938b84959e2
8,738
package com.option_u.stolpersteine.api.test; import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import android.test.AndroidTestCase; import com.option_u.stolpersteine.api.RetrieveStolpersteineRequest; import com.option_u.stolpersteine.api.SearchData; import com.o...
45.748691
122
0.622683
5ca3a6f6064dec65558434d48714fa11a023fc08
1,427
package ml.northwestwind.moreboots.init.item.boots; import ml.northwestwind.moreboots.init.ItemInit; import ml.northwestwind.moreboots.init.item.BootsItem; import net.minecraft.core.BlockPos; import net.minecraft.world.damagesource.DamageSource; import net.minecraft.world.entity.LivingEntity; import net.minecraft.worl...
40.771429
123
0.751927
b175c33cce82562a7caa5410172a89f0af299dde
2,750
/*FreeMind - A Program for creating and viewing Mindmaps *Copyright (C) 2000-2012 Joerg Mueller, Daniel Polansky, Christian Foltin, Dimitri Polivaev and others. * *See COPYING for Details * *This program is free software; you can redistribute it and/or *modify it under the terms of the GNU General Public License ...
29.255319
104
0.704
02731eaa453df23ef76674379ca2c89b888753be
1,049
/** * Copyright 2015 Santhosh Kumar Tekuri * * The JLibs authors license 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 * * Unl...
29.138889
78
0.700667
94f21ddea5eaf96d234b5dadc211a1f6225b7352
697
abstract class BackgroundInitializer<T> implements ConcurrentInitializer<T> { /** * Returns the {@code Future} object that was created when {@link #start()} * was called. Therefore this method can only be called after {@code * start()}. * * @return the {@code Future} object wrap...
30.304348
89
0.658537
5b7ecb6a7a7e4c5bcca3204e8bb86fede2893633
10,098
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination ...
39.6
93
0.602793
5908e718d5278d11ea6b657eeaaf1e000ed80b31
1,258
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.util; import com.intellij.concurrency.AsyncFuture; import com.intellij.openapi.util.Condition; import org.jetbrains.annotations.NotNull; public class Filte...
29.952381
140
0.732909
5e18c9ec932b418d3739a7adb4a5e0811ef4ec8c
8,387
/* * 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 RESTServer; import Controller.Controller; import Persistence.Entry; import javax.enterprise.context.RequestScoped; import java...
38.122727
170
0.651484
c7e2683d0bda7afd36ae2b1a880c104b2c72044c
1,303
package Servlets; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; @WebServlet(name = "MultiplicationTableServlet", urlPatte...
39.484848
97
0.762855
e6f157fcd04bd9e1b4404130f550b21646349f3d
3,723
package kernbeisser.Windows.Setting; import java.util.Arrays; import kernbeisser.Enums.PermissionKey; import kernbeisser.Enums.Setting; import kernbeisser.Main; import kernbeisser.Security.Key; import kernbeisser.Windows.LogIn.LogInModel; import kernbeisser.Windows.MVC.Controller; import lombok.var; import org.jetbrai...
29.085938
100
0.594682
167aa563308b7869caca16f1c638fd84381952c0
2,836
/******************************************************************************* * Copyright (c) 2010 Fabian Steeg. All rights reserved. This program and * the accompanying materials are made available under the terms of the Eclipse * Public License v1.0 which accompanies this distribution, and is available at * ht...
33.364706
81
0.672779
2fe01ec5c936a0fa77dc6a667fff5a292d90489c
80
/** * This package contains jOOQ's exceptions. */ package org.jooq.exception;
16
43
0.7125
75dfba9fdcba406b980c7b4d230f6fd86a83f380
2,178
package com.carrotsearch.hppcrt; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import org.junit.Assert; import org.junit.Test; /** * */ public class AbstractIteratorTest { public static class RangeIterator extend...
23.673913
106
0.570707
b2741166b42de3bfc8f81a236724179fd2052e62
7,738
/* * Copyright© 2000 - 2021 SuperMap Software Co.Ltd. All rights reserved. * This program are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html. */ package com.supermap.gaf.authority.service.impl...
37.931373
146
0.65146
3935c75e7a7c6e69bfa930c9367edecdbc5a56d7
4,615
package net.jselby.escapists.data; import net.jselby.escapists.data.chunks.ReflectionsHandle; import net.jselby.escapists.util.ByteReader; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ExecutorService; import java.util.concurrent....
37.827869
132
0.528494
f6bc8d6bb424c564e67399da9f88804d72c16b31
1,635
/* * This class is distributed as part of the Botania Mod. * Get the Source Code in github: * https://github.com/Vazkii/Botania * * Botania is Open Source and distributed under the * Botania License: http://botaniamod.net/license.php */ package vazkii.botania.common.item.equipment.bauble; import net.minecraft.w...
29.727273
100
0.744343
31ec4ce4ad6ec0fdacbe16a9e72c4cce1179121b
10,733
/* Copyright: All contributers to the Umple Project This file is made available subject to the open source license found at: http://umple.org/license */ package cruise.umple.compiler; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.List; import java.io.File; import org.junit.*;...
26.967337
83
0.673158
636dcbd24947f273e3a19937a46812b6d1ad66b8
596
package com.egzosn.infrastructure.database.splittable; import java.lang.annotation.*; /** * 分表字段标识 * @author egan * @email egzosn@gmail.com * @date 2017/11/22 */ @Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Documented @SplitTableField public @interface SplitTable { /** * 是否需要主表当成分...
15.684211
57
0.63255
8d9168f4e0330010636a365ff0d600ff293451fe
1,089
package ch.b2btec.bl.domain; public class Customer { private final String name; private final int businessNumber; private final Profile profile; public Customer(String name, int businessNumber, Profile profile) { checkCustomerName(name); this.name = name; checkBusinessNumber(businessNumber); this.business...
23.170213
85
0.733701
4bbfa83c96b8f3f7c56c9bf2d0041aa07b33d84f
2,235
// Source : https://leetcode.com/problems/construct-string-from-binary-tree/ // Author : Kris // Date : 2020-11-28 /***************************************************************************************************** * * You need to construct a string consists of parenthesis and integers from a binary tree with ...
29.407895
104
0.491723
d8b0d2c03f7da0cbb35bddeb5f568f421a14897d
403
package com.github.punchat.am.domain.invite.properties; import lombok.Getter; import lombok.Setter; import org.springframework.boot.context.properties.ConfigurationProperties; @Getter @Setter @ConfigurationProperties("punchat") public class DefaultInviteProperties { private Admin admin = new Admin(); @Getter...
21.210526
75
0.754342
3d253aa5abe2af54fc95e155a1535c0a10f6d2e6
4,391
package com.example.activity; import android.Manifest; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.CompoundButton; import android.wid...
29.07947
113
0.634252
8dd831e38d4456da405bea13a0ff6512c3a0a7d6
2,591
package me.pavo.ui; import java.util.Hashtable; import javax.microedition.lcdui.Command; import javax.microedition.lcdui.CommandListener; import javax.microedition.lcdui.Displayable; import javax.microedition.lcdui.Graphics; import javax.microedition.media.Manager; import javax.microedition.media.Player; im...
28.472527
119
0.693555
2802cd0251ae4396e146e2680b7f0fd866f8a484
984
package com.nickperov.oca_1Z0_803.tests; public class Test2 { public static void main(String[] args) { } } class T1 { public int i; } class T2 extends T1 { private int i; } class ChangeTest { private int myValue = 0; public void showOne(int myValue){ myValue = myValue; System.o...
16.677966
61
0.614837
d09ae4a67eb642be47ef36d57544e45b9c8f1769
1,404
/* * Option control of type Integer * (these are basically wrappers to ensure our floats stay within a certain range) */ package mygame; /** * * @author SeanTheBest */ public class ControlInteger { private int var, min, max; private int def; // default public ControlInteger(i...
18.972973
83
0.413818
6fbd6eea091f1737d6d9b95ea2d3403d65a4528f
1,953
// Copyright 2012 Google 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 required by applicable...
22.709302
75
0.694828
bab59d091b20d72881b9c8894937c0deec5c8243
25,984
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
39.015015
156
0.627348
89a471bd25a07f42786fcb5788d731ef8e385a30
921
package com.microfin.logic.dao; import java.util.List; import com.microfin.logic.entity.UserRole; /** * 用户角色表操作 * * @author lipeng 2015-03-25 */ public interface UserRoleDao { List<UserRole> getUserRoleList(UserRole userRole); List<UserRole> getRoleInfoList(UserRole userRole); int getCountByRoleId(...
18.795918
59
0.697068
f034549dc74bd49865ee0f8055c452ec62cbc244
2,545
package com.d0klabs.vashinternet_client.ui.sklad; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.TextView; import androidx.recyclerview.widget.RecyclerView; import com.d0klabs.vashinternet_clien...
26.510417
141
0.646365
f3751efbb4f1476106b5a0c6b0ef67d6b748c6dd
2,317
package com.jbtits.otus.lecture12.web; import com.jbtits.otus.lecture12.auth.AuthFilter; import com.jbtits.otus.lecture12.auth.AuthService; import com.jbtits.otus.lecture12.cache.CacheService; import com.jbtits.otus.lecture12.cache.CacheServiceImpl; import com.jbtits.otus.lecture12.dbService.DBService; import com.jbti...
34.58209
109
0.68839
6d20ea0711cfb0b8e927e4b35aea7377ba664b1d
16,879
/* * 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 UserInterface.Government; import business.Enterprise.Enterprise; import business.Investment.Investment; import business.Invest...
47.680791
173
0.648202
db80ee4e12d3ccb581d269dea69d00ccea6bea37
728
package com.zup.propostas.controller.dto; import java.time.LocalDateTime; public class CarteiraCartaoApiResponse { private String id; private String email; private LocalDateTime associadoEm; private String emissor; public CarteiraCartaoApiResponse(String id, String email, LocalDateTime associadoE...
21.411765
106
0.653846
38f44c27d447ece4b79dd8be76e0f04ff4957764
4,549
package org.narrative.network.customizations.narrative.reputation; import com.fasterxml.jackson.databind.ObjectMapper; import org.narrative.common.persistence.DAOObject; import org.narrative.common.persistence.OID; import org.narrative.common.persistence.hibernate.HibernateInstantType; import org.narrative.common.pers...
33.448529
128
0.701473
91b219e17de7808f51f3f22fa8876376b4fcae27
113
public class CrashReport { // Failed to decompile, took too long to decompile: net/minecraft/crash/CrashReport }
37.666667
84
0.787611
4679d6319b6861b2f3cff4f0a1c602677ef6cde7
9,834
/* * Copyright (c) 2015-2018, Cloudera, Inc. All Rights Reserved. * * Cloudera, Inc. 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...
32.455446
98
0.701952
dec90ad0c56f523f5910e25f01b4449aee2de69e
4,410
package com.xyz.states; import com.xyz.constants.CreditScoreDesc; import com.xyz.contracts.CreditRatingCheckContract; import com.xyz.states.schema.LoaningProcessSchemas; import net.corda.core.contracts.BelongsToContract; import net.corda.core.contracts.LinearState; import net.corda.core.contracts.UniqueIdentifier; imp...
31.726619
114
0.728118
24c857089f6095160a3d4faf0493416a561eaa8c
13,012
/**************************************************************** * 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...
30.473068
138
0.562481
7e2116273066b6af96c03d48bff30829d5ff524f
1,520
package ru.otus.atm; import ru.otus.atm.cash.Cash; import ru.otus.atm.cashissuing.CashIssuing; import ru.otus.atm.command.Command; import ru.otus.atm.exception.IllegalAmountException; import ru.otus.atm.storage.CashStorage; import ru.otus.atm.storage.Storage; import java.util.stream.Collectors; public class Atm { ...
25.333333
70
0.652632
267f5123224124feb87844e9206d4d50503f80e7
449
package com.everis.alicante.courses.becajava.examples; public class CursoBecaJavaException extends Exception{ /** * */ private static final long serialVersionUID = 2369097624288196090L; @Override public void printStackTrace() { System.out.println("Ha ocurrido un error por el motivo: " + supe...
14.966667
81
0.594655
698d5f356c8c88673a90e45bec099102f0847b11
7,473
package de.piegames.blockmap.guistandalone; import java.io.IOException; import java.io.InputStreamReader; import java.net.URI; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Objects; import org.apache.commons.logging.Log...
27.474265
118
0.728355
f014d7a555815119ab6b607522c88dc268a3258e
88
/** * Some Utility classes for JavaFX. */ package it.unimore.s273693.deliveru.ui.util;
22
44
0.727273
8409a6c6e24cd7483e83fde8821810bdf983501a
1,400
package com.wang.guava.collections; import com.google.common.collect.BiMap; import com.google.common.collect.HashBiMap; import org.junit.Test; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; import static org.junit.Assert.fail; /** * @description: Guava BiMap:Value不...
25.454545
61
0.59
6ad677589b488ae487a38e819047afec1ada0d53
126
public class B { void foo(String s) { switch (i) { case A.ONE : break; } } }
15.75
24
0.365079
eac69a85fe2ff3ef1f3e5ee75f5e7471aae187b5
1,249
package se.icus.mag.modsettings.mixin; import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.AbstractParentElement; import net.minecraft.client.gui.Drawable; import net.minecraft.client.gui.screen.GameMenuScreen; import net.minecraft.client.gui.screen.Screen; import net.minecraft.client.gui.scre...
43.068966
91
0.778223
2c6fa76c45f99229cb4c32308b83f354dfc10f60
5,932
package com.jeroenvanpienbroek.nativekeyboard.textvalidator; import android.util.Log; import com.jeroenvanpienbroek.nativekeyboard.Util; import org.json.JSONObject; public class CharacterCondition { public enum CharacterConditionOperator { VALUE_EQUALS, VALUE_SMALLER_THAN, VALUE_SMAL...
31.553191
127
0.495617
81a126b5e8073f9a44f3fa2a99fdcd31c87765a7
16,282
package com.example.noface.utils; import android.app.Activity; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Bitmap.CompressFormat; import android.graphics.BitmapFactory; import android.graphics.BitmapFactory.Options; import android.graphics.Canvas; import android.graphics.Col...
38.766667
129
0.596303
787e4eb2848a03f4a4c7cece8124bccf7092a441
2,762
package controller; import java.io.IOException; import java.util.LinkedList; import javax.servlet.RequestDispatcher; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRes...
31.386364
85
0.688631
10f8d177ef305cd3050507953d47fb3fc8ec1726
3,793
package com.micmiu.framework.utils; import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.Set; import org.springframework.context.MessageSource; import com.micmiu.framework.web.v1.base.vo.OperationType; import com.micmiu.framework.web.v1.system.entity.Menu; import com....
26.158621
78
0.633272
377315f0216482cb1ff11d220cb10ede2e4782b6
272
package edu.osu.romanach.one; import java.util.*; public class IntegerEntryHighToLowComparator<T> implements Comparator<Map.Entry<Integer, T>> { @Override public int compare(Map.Entry<Integer, T> o1, Map.Entry<Integer, T> o2) { return o2.getKey() - o1.getKey(); } }
27.2
94
0.731618
09c5c4dfa0f28e0f991139c8dcd9cad4a44e76de
8,095
/* * Copyright 2017 jfxproperties contributors * * 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 la...
36.138393
109
0.630389
ef82ea7347a920dcf842c99175d6969e15385bc0
11,144
/* * Copyright 2016 Amirhossein Vakili * * 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 agr...
34.825
106
0.55411
c9d3a45682356f9cbec469a8276e151869c19451
603
package cn.fulushan.fuhttp.fragment.base; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.squareup.leakcanary.RefWatcher; import cn.fulushan.fuhttp.MainApplication; import cn.fulushan.fuhttp.R; ...
23.192308
77
0.742952
30ab60793a45d5cb8a5fa55a87275e3c0d7549d5
7,553
package cn.te0.flutter.action; import cn.te0.flutter.helper.TemplateHelper; import cn.te0.flutter.helper.YamlHelper; import com.google.common.base.Joiner; import com.google.common.base.Splitter; import com.google.common.collect.ArrayListMultimap; import com.google.common.collect.Lists; import com.google.common.collect...
41.5
172
0.587052
4b363133a3a359547b2761dfd47c5d5b88090bf7
938
/** * Defines loader classes. * * Working with {@link org.osgl.inject.annotation genie annotations}, * loader provides extra facility for application to define how to * inject values including collections, maps and scala type values */ package org.osgl.inject.loader; /*- * #%L * OSGL Genie * %% * Copyright (...
32.344828
75
0.721748
5d90780cf5e2e451b0284c55d2fb4bdbe0727b16
2,692
package no.nav.folketrygdloven.beregningsgrunnlag.regelmodell.ytelse.frisinn; import java.time.LocalDate; import java.util.List; import java.util.Objects; import java.util.Optional; import no.nav.folketrygdloven.beregningsgrunnlag.regelmodell.Periode; import no.nav.folketrygdloven.beregningsgrunnlag.regelmodell.ytels...
42.0625
137
0.751486
eae951ad5ce0ca7c9b9f1428388a598a5e55c80a
11,801
/* * CloudSim Plus: A modern, highly-extensible and easier-to-use Framework for * Modeling and Simulation of Cloud Computing Infrastructures and Services. * http://cloudsimplus.org * * Copyright (C) 2015-2016 Universidade da Beira Interior (UBI, Portugal) and * the Instituto Federal de Educação Ciência e...
44.532075
140
0.694772
3da26fbb76e48e0e61aba4dc57c9e076aa4f7eaa
69
package io.renren.modules.hotel.vo; public class OrderDetailVo { }
11.5
35
0.768116
c7ee6925bd694844010c339796452249e143a94b
163
package com.example.generic; /** * @Description * @Date: 2020/9/13 16:04 * @Create by external_ll@163.com **/ public interface ListP3<A> extends ListP2<A>{ }
16.3
45
0.680982
30fdae9d6767b7107dd6f8a0a8f425a5d0f1daed
1,524
package gov.noaa.pmel.sgt.beans; import java.beans.*; /** * BeanInfo object for <code>DataModel</code>. * @author Donald Denbo * @version $Revision: 1.1 $, $Date: 2004/12/27 16:15:20 $ * @since 3.0 **/ public class DataModelBeanInfo extends SimpleBeanInfo { private Class beanClass = DataModel.class; private ...
33.130435
97
0.709318
4d6df59a0580618c7cfb15b6f8f453efdc1c45c2
13,500
package inz.maptest; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentFilter; import android.content.ServiceConnection; import android.location.Location; im...
39.823009
122
0.60963
31b74b9d088e0fdf77843d70f6f95de5d00465e5
2,769
package com.senseidb.jmx; import java.lang.management.ManagementFactory; import java.lang.reflect.Field; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import javax.management.MBeanServer; import javax.management.ObjectName; import org.apache.log4j.Logger...
39
165
0.719393
fe30c16013b081d1d3f606000394a9c79a11c88f
5,995
/* * 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 ...
39.183007
129
0.710926
082df5ec7217de6a1128861fb17a69669faa3731
4,134
package mapreduce1; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.StringTokenizer; impo...
37.243243
128
0.691098
8bf0f56cf10f3f603aa28b6c81f9f030fe4bb9ee
1,171
package com.codepreplabs.app; import java.util.ArrayList; import java.util.HashMap; import java.util.Properties; import org.apache.log4j.BasicConfigurator; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class TestSpring { sta...
27.232558
82
0.770282
25c548c4b904b2d2fc44badee357516c89e4b16b
510
package net.fabricmc.end; import net.minecraft.entity.effect.StatusEffectInstance; import net.minecraft.entity.effect.StatusEffects; import net.minecraft.item.FoodComponent; public class FoodComponents { public static final FoodComponent FLUORESCENT_APPLE = (new FoodComponent.Builder()).hunger(4).saturationModifie...
51
301
0.823529
d3e9cf7b19a40865aea0bb003ce90564204d1bb4
4,701
/** * ************************************************************************************************* * <p> * <p> * This file is part of WebGoat, an Open Web Application Security Project * utility. For details, please see http://www.owasp.org/ * <p> * Copyright (c) 2002 - 20014 Bruce Mayhew * <p> * This prog...
39.175
116
0.674112
144fd1bc1af793d28d7be653ae8b6934aefc4c03
19,859
/* * This file is part of ELKI: * Environment for Developing KDD-Applications Supported by Index-Structures * * Copyright (C) 2019 * ELKI Development Team * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the...
28.128895
134
0.660607
87ea83c8c963b7f59b7dd79e68704423206f4e75
2,399
/* * Copyright 2000-2014 Vaadin Ltd. * * 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...
30.75641
80
0.683618
6599255e4c3e6d6edd44b87e3a72552d73b975d9
219
package org.onetwo.ext.poi.excel.generator; import org.apache.poi.ss.usermodel.Cell; public class CellListenerAdapter implements CellListener { @Override public void beforeSetValue(Cell cell, Object value) { } }
18.25
58
0.785388
2e3ddb50ae79fe04b7df097409fabbb421a2a350
4,484
package com.stacksimus; import javafx.application.Application; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.control.*; import javafx.scene.layout.GridPane; import javafx.scene.layout.HBox; import javafx.stage.Stage; public class Main extends Appl...
31.577465
134
0.604594
c7f69dd10058f05da10f7f00a03aa1b450dc4d65
616
package com.github.jonathonrichardson.java2ts.type; import com.github.jonathonrichardson.java2ts.Type; import java.util.HashSet; import java.util.Set; /** * Created by jon on 3/24/17. */ public class TSString implements Type { @Override public Set<Class> getJavaClasses() { Set<Class> classes = new ...
19.25
51
0.650974
702c52837f789b1ea8665774216fe4db5e0d969b
3,787
/* * 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 ...
36.066667
88
0.637444
dc7685b30a7457de1325c0335ae1dcb375b2246a
335
package com.sen.myshop.web.ui.dto; import lombok.Data; /** * @Auther: Sen * @Date: 2019/8/12 02:41 * @Description: */ @Data public class Content { private Long id; private String title; private String subTitle; private String titleDesc; private String url; private String pic; private S...
15.952381
34
0.665672
27f4b732a29974b213ae2d9958ee35fe2eeff635
249
package xyz.e3ndr.eventapi.events; import lombok.Getter; import lombok.NonNull; import lombok.RequiredArgsConstructor; @Getter @RequiredArgsConstructor public abstract class AbstractEvent<T extends Enum<?>> { private final @NonNull T type; }
19.153846
56
0.795181
1a8be70d5f9cb671f827f3bdf50452f0b9216ead
2,394
package cz.maku.friday.util; import com.mojang.authlib.GameProfile; import com.mojang.authlib.properties.Property; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.util.Arrays; import java.util.List; import java.util.UUID; import java.util.stream.Collectors; import net.md...
29.925
77
0.687552
8e48f00933c1636c638be2b98b412e17417a3a53
283
package com.yyxnb.common_res.service; import com.yyxnb.common_res.bean.UserVo; /** * 用户模块对外提供的所有功能 */ public interface UserService extends IARouterService{ /** * 用户信息 */ UserVo getUserInfo(); /** * 更新信息 */ void updateUserInfo(UserVo vo); }
13.47619
53
0.628975
5b1b0b62669fb4a726d2b7de70769fc566e1475a
1,434
/* * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php * * Unless required by...
30.510638
115
0.721757
4afcae8c60126041729511b699153c763661496d
3,391
package de.kunee.divelog; import android.app.Fragment; import android.app.LoaderManager; import android.content.CursorLoader; import android.content.Intent; import android.content.Loader; import android.database.Cursor; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import andr...
31.398148
99
0.640224
4b688a9cb32cc03f9c04bbc199ddc895edbcbdac
47,896
package com.skcc.cloudz.zcp.api.iam.service.impl; import java.io.IOException; import java.util.HashMap; import org.codehaus.jackson.map.ObjectMapper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotat...
46.864971
141
0.575643
2f6f805bd28332922c7266dd4785d36e83e10783
1,808
package com.liyongquan.dp; /** * 给定不同面额的硬币 coins 和一个总金额 amount。编写一个函数来计算可以凑成总金额所需的最少的硬币个数。如果没有任何一种硬币组合能组成总金额,返回 -1。 * <p> *   * <p> * 示例 1: * <p> * 输入: coins = [1, 2, 5], amount = 11 * 输出: 3 * 解释: 11 = 5 + 5 + 1 * 示例 2: * <p> * 输入: coins = [2], amount = 3 * 输出: -1 *   * <p> * 说明: * 你可以认为每种硬币的数量是无限的。 ...
22.320988
85
0.426991
4c89729510dd9d9dac78fda4f689a15695554d24
301
module io.github.alttpj.emu2api.event.api { exports io.github.alttpj.emu2api.event.api; requires static org.immutables.value.annotations; requires static java.compiler; requires static jakarta.inject; requires /* non-static */ jakarta.cdi; requires io.github.alttpj.emu2api.utils.ulid; }
30.1
51
0.770764
1d750a24f270072aef05e52a40175cff0e4b2a53
736
package exprest.test.unit.resource; import org.testng.Assert; import org.testng.Reporter; import org.testng.annotations.Test; import test.exprest.module.system.resources.SystemResource; import exprest.test.core.TestResourceFactory; public class SystemResourceTest { @Test public void testUser() { // Syste...
27.259259
81
0.706522
d2b5628c96295081f7abf956df30655f99dbdac0
40,459
/** * <copyright> </copyright> * * $Id$ */ package orgomg.cwm.objectmodel.behavioral.impl; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EEnum; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore....
51.343909
185
0.722831
a2d040ac15fa9aa01376683770cb421a7cf06619
751
package cn.udslance.leetcode.mainofleetcode0; /** * @author H * @create 2021-07-13 15:42 */ public class Solution055 { public void test() { int[] nums = {3,2,1,0,4}; System.out.println(canJump(nums)); } public boolean canJump(int[] nums) { int length = nums.length; ...
14.72549
49
0.424767
71a0d40167a61f540af1bb80d8cda922b7eb9238
65
package org.pathirage.fdbench.automation; public class Main { }
13
41
0.784615