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
960a2afcbdd8d16f4a7c557cd5ae1d747b70866b
2,480
/* * 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 ...
35.942029
94
0.664919
246628fbd242144cbfae9831ccb5ec2e727e0301
28,654
package com.dreamliner.lib.frame.base; import android.annotation.TargetApi; import android.app.Activity; import android.content.Intent; import android.content.res.Resources; import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.os.Message; import android...
35.462871
135
0.67994
3ff0b96b9756f5a81d722295602b07029692d7fb
3,823
package revert.shredsheets.views; import android.content.Context; import android.content.res.Resources; import android.graphics.Paint; import android.graphics.Typeface; import android.text.TextPaint; import android.util.AttributeSet; import android.view.View; import android.widget.LinearLayout; import revert.shredshe...
31.858333
88
0.664661
83714e31d699efb7d6e338a9ffcbd4d9ef6beee6
514
package com.github.instagram4j.instagram4j.responses.users; import java.util.List; import com.github.instagram4j.instagram4j.responses.IGResponse; import lombok.Data; @Data public class UsersBlockedListResponse extends IGResponse { private List<BlockedUser> blocked_list; @Data public static class BlockedUser{ ...
24.47619
63
0.780156
d679be72b848c4b6c0cedeed4d4974d50e38468c
2,034
/* * Copyright © 2020 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...
31.78125
118
0.743363
69c34542645d5cce2303cb73dadbccc1af2c97a2
2,075
package com.invoister.service.dto; import javax.validation.constraints.*; import java.io.Serializable; import java.util.HashSet; import java.util.Set; import java.util.Objects; /** * A DTO for the InvoiceItem entity. */ public class InvoiceItemDTO implements Serializable { private Long id; @NotNull pr...
21.173469
64
0.581205
fba850eed080a5c8672ce2b5f7730a1251d83673
457
package algorithm.leet_91_105; import algorithm.TreeNode; /** * Created by songheng on 5/6/16. */ public class SameTree_100 { public boolean isSameTree(TreeNode p, TreeNode q) { if(p == null & q == null ){ return true; } else if( ( p == null && q!= null)||(p!=null && q==null) ){ ...
22.85
94
0.551422
be3caac737a600b2d2538b2843081a80a624ecf9
1,372
package ru.job4j.tracker; import java.util.function.Consumer; /** * @author Vasily Tungusov * @version $Id$ * @since 0.1 */ public class StartUI { /** * Получение данных от пользователя. */ private final Input input; /** * Хранилище заявок. */ private final Tracker tracker; ...
21.4375
102
0.573615
ab7c9c83bb82574d3dec9823a730c513b8a920bc
203
package oo.heranca.desafio; public class Ferrari extends Carro { public Ferrari(int velocidadeMaxima) { super(velocidadeMaxima); } @Override public void acelerar() { velocidadeAtual += 15; } }
16.916667
39
0.73399
114bc5975d96d9c96059d1d1dd893bf7a8aa1fa6
172
package com.uNow.exceptions; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus public class IdNotFoundException extends RuntimeException { }
21.5
62
0.848837
15fd8992475d743b2edeaf69de8eddeba588d31b
7,418
package com.example.shalantor.connect4; /*Shows the fragment where user can register a new account*/ import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; import android.content.pm.ActivityInfo; import android.os.Bundle; import android.support.v4.app.Fragment; import a...
40.983425
131
0.624697
f5d76de51f1c787f9436627959a9d8de5cc5f9ff
2,323
package leetcode.interval; import java.util.Arrays; import java.util.PriorityQueue; public class MeetingRoomsII { /* public int minMeetingRooms(int[][] intervals) { if (intervals == null || intervals.length == 0) return 0; Arrays.sort(intervals, (i1, i2) -> i1[0] - i2[0]); ...
28.679012
84
0.500215
7ad451e223e50d371b2f93629854129fa952987f
702
package de.wackernagel.dkq.utils; import android.content.Context; import android.content.pm.PackageManager; public class AppUtils { public static int getVersionCode(final Context context ) { try { return context.getPackageManager().getPackageInfo( context.getPackageName(), 0).versionCode; ...
28.08
104
0.660969
8a0d8a126f508026517a28fb994fcd8ba1498219
1,221
package tr.com.poc.temporaldate.core.validation.validator; import java.math.BigDecimal; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; import tr.com.poc.temporaldate.core.annotations.validation.FieldLength; /** * Created by aziz on 11/27/17. */ public class FieldL...
22.611111
108
0.707617
b1e7796ab8addf7534860dd9d495b0ecd1845465
8,200
/* * XML Type: ArrayOfSyncAction * Namespace: http://schemas.microsoft.com/crm/2011/Contracts * Java type: com.microsoft.schemas.crm._2011.contracts.ArrayOfSyncAction * * Automatically generated - do not modify. */ package com.microsoft.schemas.crm._2011.contracts.impl; /** * An XML ArrayOfSyncAction(@...
34.745763
168
0.593415
5935eb19ad11df01507119c684a429647ca064de
4,309
/* See LICENSE.md for license information */ package org.ice4j.attribute; import java.util.Arrays; /** * The USERNAME attribute is used for message integrity. * The value of USERNAME is a variable length value. * * @author Sebastien Vincent * @author Emil Ivov */ public class UsernameAttribute extends Attribute...
31.918519
251
0.615456
ede243106531f5146b511b00fefb5d9814b56ab9
821
package com.google.android.play.core.internal; import android.content.ComponentName; import android.content.ServiceConnection; import android.os.IBinder; final class ap implements ServiceConnection { /* renamed from: a reason: collision with root package name */ final /* synthetic */ aq f1121a; /* synt...
31.576923
90
0.713764
71b22b0d6d18b7e488b159087b8d34f764ac6c13
40,130
/* * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license that can be found * in the LICENSE file in the root of the source tree. An additional * intellectual property rights grant can be found in the file PATENTS. All * contribut...
33.694374
81
0.49377
ba8a381d9cad90e489c9a3b095a666b1cc9894b8
1,189
package eu.dl.worker.master.plugin.body; import java.util.HashMap; import java.util.List; import eu.dl.dataaccess.dto.master.MasterBody; import eu.dl.dataaccess.dto.matched.MatchedBody; import eu.dl.worker.master.plugin.MasterPlugin; import eu.dl.worker.utils.BasePlugin; /** * This plugin is used to master data for...
25.847826
118
0.6291
aaf92d4cd8da912b9ede2fca58a280250deef994
884
package test; import files.CSVFile; import files.ExcelFile; import static org.junit.jupiter.api.Assertions.*; import org.junit.jupiter.api.*; import parse.ParseTable; import java.util.ArrayList; class ImportingTests { ExcelFile excelFile; CSVFile csvFile; ArrayList<ParseTable> tables; @Test void...
24.555556
74
0.656109
aab3a6e96d56a806c15895e45e5f7529e4c85488
1,271
/* * Copyright 2016 Elizabeth Harper * * 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...
28.244444
75
0.690795
f156b2a1f2bab33fed19308d936f62f2e883f08a
1,481
package io.link4pay.model.management; import com.google.gson.Gson; import io.link4pay.model.Request; public class ManagementRequest extends Request { private Gson gson = new Gson(); private String merchantID; private String payoutEndpoint; private String tokenEndpoint; private String certificate; ...
29.62
82
0.711006
5fb25895d7c026ad7b113b5da8e62d54484ec23c
3,134
package com.bitlab.ui; import com.bitlab.constant.CommandMap; import java.util.stream.Stream; /** * Enum with all available command for user * @author Jacek Giedronowicz */ public enum UserCommandMap { VERSION("version"), VERACK("verack"), GETADDR("getaddr"), GETDATA("getdata"), ADDR("addr"), ...
36.44186
442
0.563816
e8a529f4615bab431ab9a642ee52fca4d365a284
264
package org.speakright.core.render; /** * Represents a voicexml page. * @author IanRaeLaptop * */ public class SpeechPage implements ISpeechPage { public SpeechForm m_form = new SpeechForm(); //one only for now public SpeechPage() {} }
16.5
65
0.670455
8a639d4d2c7379042721c38c93eb7ea832a675e8
2,169
package de.mickare.armortools.command.armorstand.item; import org.bukkit.entity.ArmorStand; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import de.mickare.armortools.ArmorToolsPlugin; import de.mickare.armortools.Out; import de.mickare.armortools.Permissions; import de.mickare.armortools.co...
26.45122
98
0.728446
02f2cb016c84a265604685eb21475420a8592e6e
1,120
package mod.linguardium.layingbox; import com.swordglowsblue.artifice.api.ArtificeResourcePack; import com.swordglowsblue.artifice.impl.ArtificeResourcePackImpl; import mod.linguardium.layingbox.config.ChickenConfigs; import mod.linguardium.layingbox.entity.ModEntitiesClient; import mod.linguardium.layingbox.render.La...
41.481481
104
0.817857
2ae16e4f8a81be066a0dae9d0ec449cc21fd2c69
5,450
package ca.marshallasch.veil.services; import android.app.Service; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.HandlerThread; import android.os.IBinder; import android.os.Looper; import android.os.Message; import android.os.Messenger; import android.os.Process;...
33.231707
89
0.619083
1d97da93500c6b031e2d354b5954fe9ba517d442
720
package cn.geekhall; import cn.geekhall.config.IMyConfig; import cn.geekhall.config.MyConfig; import cn.geekhall.config.MyConfigB; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.SpringBootApplicatio...
31.304348
76
0.765278
f22e1e31440851f4c4bd55829f2f6a324d6ed899
1,700
package com.cursoandroid.jamiltondamasceno.aprendaingles.Activities; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import com.cursoandroid.jamiltondamasceno.aprendaingles.Fragments.BichosFragment; import com.cursoandroid.jamiltondamasceno.aprendai...
36.956522
82
0.743529
90faa19e2616c7f656a41eb54e3a47aab4ac0739
6,778
/** * 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...
36.053191
80
0.671732
2f299e35203739bfe7ece4d7d978adc363c563e1
1,170
import java.util.ArrayList; import java.util.List; /** * 找到字符串中所有字母异位词 * * @Author RUANWENJUN * @Creat 2018-05-30 13:55 */ public class Problem438 { /** * 采用暴力+异或运算符 * * @param s * @param p * @return */ public List<Integer> findAnagrams(String s, String p) { List<Int...
23.4
69
0.42906
c97461beb03397dee668e08fd0b0eeea5b3bcf6e
11,568
package epicsquid.roots.tileentity; import epicsquid.mysticallib.network.PacketHandler; import epicsquid.mysticallib.tile.TileBase; import epicsquid.mysticallib.util.ItemUtil; import epicsquid.mysticallib.util.Util; import epicsquid.roots.config.GeneralConfig; import epicsquid.roots.init.ModItems; import epicsquid.roo...
41.314286
241
0.619381
a6be3fc1d02b4e76f9df586477ac13237dcd7c9d
516
package game.components; import processing.core.PApplet; import processing.core.PVector; public class ColorEmitter { PApplet p; public ColorEmitter (PApplet p) { this.p = p; } public void emitColor(Player player) { PVector location = player.getLocation(); int color = player.getColor(); ...
20.64
57
0.664729
52898f0a9d3f19f4838bbbea81dbb1cbc76a7cd4
10,290
package gui_classes; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Dimension; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.DefaultComboBoxModel; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.J...
39.125475
334
0.616618
2e97a8c4a40a485ec031c7beaf9d2bba0fda9c14
684
package com.my.service_startservice; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; public class MainActivity extends AppCompatActivity { private static String TAG = "10001"; private Intent intent; @Override protec...
23.586207
64
0.714912
11dce974fbde49a12f1107fe8e975126037623f2
2,357
package com.ange.demo.lifecycle; import android.content.Context; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Text...
21.824074
123
0.62622
65221b1ad76416114a6db5d8f17e3d22bef66606
584
package org.motechproject.sms.audit.constants; /** * Utility class for storing delivery statuses. */ public final class DeliveryStatuses { public static final String RECEIVED = "RECEIVED"; public static final String RETRYING = "RETRYING"; public static final String ABORTED = "ABORTED"; public static...
29.2
71
0.729452
6776ca2113c2c2fe0a147841ac4ec3ad4490ceec
115
package miniJava.SyntacticAnalyzer; public class Token { private TokenType kind; private String spelling; }
12.777778
35
0.773913
3fff5cff3f8b391553840a051f7b5b031cdc4dd2
1,295
// Copyright 2000-2018 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 git4idea.update; import com.intellij.openapi.options.Configurable; import git4idea.config.GitVcsSettings; import git4idea.i18n.GitBundle; import org.jetbrains.annotations...
22.719298
140
0.738996
ad3943062c2e35c758029889c55cc325ee900268
2,493
package fr.ignishky.fma.generator.converter; import com.google.inject.Inject; import com.google.inject.name.Named; import fr.ignishky.fma.generator.helper.CapitalProvider; import fr.ignishky.fma.generator.merger.OsmMerger; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.time.StopWatch; import java.i...
35.614286
133
0.702768
04a7b52559e7495417b23ace92afb5347e85493e
150
package com.fbs.rabbitears.contracts.rss; /** * RSS Channel Image Serialization Contract */ public class Image { public String url; }
15
44
0.68
465b9840b7912b4337a20fd9b987094072340dcf
2,030
package com.acai.controller; import com.acai.model.entidade.Frete; import com.acai.model.regradenegocio.FreteRN; import java.util.List; import javax.faces.application.FacesMessage; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewScoped; import javax.faces.context.FacesContext; @ManagedBean @ViewScope...
28.194444
110
0.692118
7fe859198c4409b37d9984add9549a5f491b6651
1,129
package net.teamio.taam.piping; import com.builtbroken.mc.testing.junit.AbstractTest; import com.builtbroken.mc.testing.junit.VoltzTestRunner; import net.minecraft.util.EnumFacing; import net.minecraftforge.fluids.FluidTank; import net.minecraftforge.fluids.capability.IFluidHandler; import net.teamio.taam.content.pipi...
27.536585
83
0.804252
91e88b495c2a73772ceddcc2647e232495797a8a
356
package com.example.productcatalogservice.services.listener; import com.example.productcatalogservice.models.ProductOfferingAttributeValueChangeEvent; public interface ProductOfferingAttributeValueChangeEventService { ProductOfferingAttributeValueChangeEvent save(ProductOfferingAttributeValueChangeEvent productOf...
44.5
133
0.907303
8df1fa29408673e49517414f5d486568ee5e487c
1,885
/* * Copyright 2020 Johnny850807 (Waterball) 潘冠辰 * 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...
44.880952
114
0.73687
fd37759d981180c78b4648c23ea19d2d932a8cfb
2,542
package com.beanframework.core.converter.entity.csv; import java.util.HashMap; import java.util.Map; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; impo...
30.626506
93
0.725806
cfeac66723f5738983793eb0136ce06bd5025235
718
package org.anddev.andengine.util.modifier.ease; public class EaseExponentialOut implements IEaseFunction { private static EaseExponentialOut INSTANCE; public static EaseExponentialOut getInstance() { if (EaseExponentialOut.INSTANCE == null) { EaseExponentialOut.INSTANCE = new EaseExpo...
27.615385
99
0.594708
dd01401504631140567774810cf436cb446ee132
8,402
package com.atlassian.jira.plugins.dvcs.spi.githubenterprise.webwork; import com.atlassian.event.api.EventPublisher; import com.atlassian.jira.plugins.dvcs.analytics.event.DvcsType; import com.atlassian.jira.plugins.dvcs.analytics.event.FailureReason; import com.atlassian.jira.plugins.dvcs.auth.OAuthStore; impor...
34.719008
157
0.675077
7c3b20542fe4c7430f5c9bc4fac71b45eca52d69
2,812
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
33.879518
81
0.605263
42e956fb298ea07f5473b2ba27d0675212aa0e2a
4,229
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package net.sf.mmm.util.datatype.api.color; import org.junit.Assert; import org.junit.Test; import net.sf.mmm.util.lang.api.BasicHelper; /** * This is the test-case for {@link Color}. * ...
34.663934
140
0.631828
814c47fcb9860f21df563eb6f770a35850e149dc
833
package de.illonis.eduras.shapecreator.templates; import java.util.LinkedList; import org.newdawn.slick.geom.Vector2f; import de.illonis.eduras.math.Vector2df; /** * A template for editable shapes. * * @author illonis * */ public abstract class ShapeTemplate { private final LinkedList<Vector2...
18.511111
60
0.679472
a9417c22e302f3a04f9e6f5f8f2a4c5fab31f83f
1,469
/* * Copyright 2019 Vijayakumar Mohan * * 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 agre...
33.386364
131
0.701157
1b9e84cdd26fa98cdfd24f6d06ba7b10ba5a4fbf
56
package game; public enum GameLevels { MENU, TEST, }
8
24
0.696429
e82e157b729bfb59d66ebf54f44332840dddd47b
725
package com.fitzguru.mfaauction; import android.content.Context; import android.content.res.Resources; import android.graphics.Typeface; import android.widget.TextView; /** * Created by jtsuji on 11/14/14. */ public class DisplayUtils { static Typeface pictos; public static Typeface getPictosTypeface(Context c...
25.892857
89
0.735172
e59d91f1eddd513ff416241e58dbf7d9bda7ddb5
2,154
package core.arraylist; import org.junit.Test; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; public class ArrayListTest { @Test public void createArrayList() { // ...
22.673684
60
0.701486
625e281792ede309c31fddff616fcf0373fe75a4
2,055
/*- * ============LICENSE_START======================================================= * ONAP - SO * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * =============================================================...
32.109375
83
0.628224
856c8dd4087c91ea54e63710186eef3cf86fa05f
694
package de.hska.vis.webshop.core.database.model; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import de.hska.vis.webshop.core.database.model.deserializer.UserDeserializer; import de.hska.vis.webshop.core.database.model.impl.Role; @JsonDeserialize(using = UserDeserializer.class) public interface I...
20.411765
77
0.737752
c923d31963f9bd62e780afe00ce5dc318b45dd8a
277
package com.ilvdo.ilvdo_http_android.restclient; /** * Created by sjy on 2018/12/24 * Describe 请求类别 */ public enum RestType { //post请求 POST, //get 请求 GET, //文件删除 DELETE, //单文件上传 FILE, //json上传 JSON, // 文件参数混合上传 FILE_MULTI }
12.590909
48
0.577617
9067110117855261ae9e67f6088c8c04c50d8104
747
// InterfaceProviderSpecConstants.java is auto generated by mojom_bindings_generator.py, do not edit // Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file is autogenerated by: // mojo/publi...
26.678571
101
0.781794
e85786d0281f688707f07e02e6fd23fd942a60fd
792
/** * Copyright (C) 2018-2020 * All rights reserved, Designed By www.yixiang.co * 注意: * 本软件为www.yixiang.co开发研制,未经购买不得使用 * 购买后可获得全部源代码(禁止转卖、分享、上传到码云、github等开源平台) * 一经发现盗用、分享等行为,将追究法律责任,后果自负 */ package co.yixiang.modules.msh.service.dto; import lombok.Data; import java.io.Serializable; import java.sql.Timestamp; import...
20.307692
55
0.690657
56e98449b4748a23159cf2011b1a9c5c4a056221
702
package org.modernclients.ch3.samples; import javafx.scene.control.CheckBox; import javafx.scene.layout.Pane; import org.modernclients.ch3.Sample; import java.util.function.Consumer; /** * @author Jonathan Giles <jonathan@jonathangiles.net> */ public class CheckBoxDemo implements Sample { @Override public...
29.25
110
0.712251
ee6a4b59a11666e854e66ff1df9dbcf537007dd8
26,305
/* * 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")...
36.433518
128
0.663752
f52e3011d113613edbbf804dac1a6216c3c1e908
1,841
/******************************************************************************* * Copyright (c) Intel Corporation * Copyright (c) 2017 * * 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 ...
30.683333
110
0.677892
96f0a223f8544a614f8800584f6bbafa7e5053e4
8,307
package org.dew.xcomm.messaging; import java.io.Serializable; import java.util.Date; import java.util.HashMap; import java.util.Map; import org.dew.xcomm.nosql.json.JSON; import org.dew.xcomm.util.WMap; import org.dew.xcomm.util.WUtil; public class XMessage implements Serializable { private static final long se...
25.638889
95
0.598411
c97a6f859213c1731554314e748916b84047ffdc
153
package do1phin.mine2021.blockgen.blocks; public class BlockGenSource9 extends BlockGenSource{ public BlockGenSource9() { super(8); } }
19.125
52
0.718954
46a728ba77014f2e6dec917ad66dc163487e01b3
592
package com.readlearncode.dukesbookshop.restserver.infrastructure.exceptions; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMapper; import javax.ws.rs.ext.Provider; import static javax.ws.rs.core.Response.Status.NOT_FOUND; /** * Source code github.com/readlearncode * * @author Alex Theedom www...
26.909091
83
0.778716
79490c9b35ce3167579ef0459588adc844e09c7d
47,991
/** * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package com.xiaomi.infra.galaxy.talos.thrift; import libthrift091.scheme.IScheme; import libthrift091.scheme.SchemeFactory; import libthrift091.scheme.StandardScheme; import libthr...
35.867713
187
0.696568
923bc96571ec0c934f94e9ed563dd7e3633bc924
592
package uk.gov.ons.census.fwmt.rmadapter.utils; import javax.xml.datatype.DatatypeConfigurationException; import javax.xml.datatype.DatatypeFactory; import javax.xml.datatype.XMLGregorianCalendar; import java.util.GregorianCalendar; public final class UtilityMethods { public static XMLGregorianCalendar getXMLGrego...
34.823529
105
0.837838
dfc4c9ce0e3b1f578b17351e240d49f79cef5193
731
package seedu.address.logic.commands.arguments; /** * Represents an object that builds arguments. * @param <T> the type of the argument to build */ public abstract class ArgumentBuilder<T> { private final String description; private Argument<T> argument; ArgumentBuilder(String description) { ...
20.305556
47
0.638851
6e6cca43f838e5da6f7b1897db313cd2997bd502
4,885
/* * Copyright 2011 LMAX 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 to in wri...
31.314103
129
0.677584
3a2ae255a3f7adeb7041685639f74185f24981b9
3,361
/* * Copyright (c) 2021, Nelson Gonçalves. 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 b...
36.532609
90
0.537935
ceee51d0e190c865bda82c9d341350b3494c61cd
3,161
/* * 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 ...
44.521127
187
0.726985
e1deba19fc067d7912d50952a2f0729d822f47a7
6,380
package com.oimchat.server.general.kernel.work.module.business.contact.service; import java.util.List; import javax.annotation.Resource; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.oimchat.server.basic.common.util.KeyUtil; import com.oim...
28.868778
97
0.714734
8b75cce9b56e6b0a13d13993cab64f7d35bb78b4
2,135
package com.twelvemonkeys.imageio.plugins.pntg; import com.twelvemonkeys.imageio.util.ImageReaderAbstractTest; import javax.imageio.spi.ImageReaderSpi; import javax.imageio.stream.ImageInputStream; import java.awt.*; import java.io.IOException; import java.util.Arrays; import java.util.Collections; import java.util.L...
32.846154
115
0.688056
bfb9a11efee50d6a756625b4e96db0e1b5a3be6c
9,300
package com.ygoular.bitmapconverter; import android.graphics.Bitmap; import android.support.annotation.NonNull; import java.nio.ByteBuffer; /** * Project : bitmapconverter * * * Offer static methods to convert an Android Bitmap Object to a byte array specifically * formatted to represent a .bmp file either in 8...
34.701493
137
0.631398
6c72d57dad3831f64565b15e310a983a1d9b2ec5
2,729
package mage.cards.f; import java.util.UUID; import mage.abilities.Ability; import mage.abilities.effects.Effect; import mage.abilities.effects.OneShotEffect; import mage.abilities.effects.common.counter.AddCountersTargetEffect; import mage.abilities.effects.keyword.ManifestEffect; import mage.cards.Card; import mage...
34.544304
256
0.676072
3e1ebe9fe26866b7ce248c95743635fa801ad019
180
package cn.codethink.xiaoming.event; /** * 群临时会话消息撤回事件 * * @author Chuanwise */ public interface GroupMemberMessageRecallEvent extends Event, MemberMessageRecallEvent { }
16.363636
46
0.761111
fc7cd07d98d0f23a87d484ec626eac5a82c5326e
13,871
/* * 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 Patient; //import all the needed methods import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java....
40.205797
540
0.490015
224388be3521dee6fc3b3ec5e9f654e86ff2c396
603
package com.app.chx.controller; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.mvc.Controller; public class ItemsController implements Controller { @Override public ModelAndVie...
27.409091
104
0.80597
5b73eab9c8b0e20391ddcb8d8f87e617489178da
2,888
package com.smatechnologies.opcon.restapiclient.api.dailyschedules; import com.smatechnologies.opcon.commons.objmapper.annotation.ObjMapperField; import com.smatechnologies.opcon.restapiclient.criteria.AbstractResourcesCriteria; import com.smatechnologies.opcon.restapiclient.criteria.SortedColumn; import java.time.Lo...
21.080292
116
0.647507
5e3208bfeedd803a439a414deab087793bf9739d
11,439
/** * Copyright 2014 Conductor, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
41.296029
118
0.690008
7c55e0f027dca7509ade4a4e3346a0e12bb5a8c5
4,011
package android.support.v4.view.accessibility; import android.view.accessibility.AccessibilityNodeInfo; class AccessibilityNodeInfoCompatKitKat { static class CollectionInfo { CollectionInfo() { } static int getColumnCount(Object info) { return ((android.view.accessibility.Ac...
36.798165
151
0.701072
ba70c1521ebba3e24436c4d285afae92ec2f1f54
561
package com.atlwj.framework; import java.io.Serializable; public class Url implements Serializable { private String hostname; private Integer port; public Url(String hostname, Integer port) { this.hostname = hostname; this.port = port; } public String getHostname() { retu...
18.7
47
0.625668
52e2d67a5d229d5ced20f81f364a0b7cddf88892
536
package org.robobinding.widgetaddon.view; import org.robobinding.widgetaddon.AbstractListeners; import android.view.View; import android.view.View.OnFocusChangeListener; /** * * @since 1.0 * @version $Revision: 1.0 $ * @author Cheng Wei */ class OnFocusChangeListeners extends AbstractListeners<OnFocusChangeLis...
24.363636
112
0.776119
0088931f857d2ffb0ab628e1e86fdb598521bd93
1,628
package test.Theory; import theory.intervals.RealPred; import theory.intervals.RealSolver; import theory.intervals.StdRealPred; import org.junit.Test; import com.google.common.collect.ImmutableList; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.util.*; import uti...
26.258065
141
0.703317
96b5b729a2862c1c14aff6b93425eb44a9d0e8bf
3,607
package io.l0neman.utils.adapter; import androidx.annotation.NonNull; import androidx.collection.SparseArrayCompat; import androidx.recyclerview.widget.RecyclerView; import android.view.View; import android.view.ViewGroup; /** * Adds additional functionality for {@link HeaderRvAdapter#addFooterView(View)} * and {@...
28.626984
94
0.715553
ebc4d6e9b899caaccda70b8cede7e66d694a7ded
402
//,temp,TestJobHistoryParsing.java,141,149,temp,TestJobHistoryParsing.java,131,139 //,3 public class xxx { @Test(timeout = 50000) public void testHistoryParsingWithParseErrors() throws Exception { LOG.info("STARTING testHistoryParsingWithParseErrors()"); try { checkHistoryParsing(3, 0, 2); } final...
28.714286
82
0.71393
22ce7ecb06ab94fdac940661d32b712cd1296512
7,071
package cesiumlanguagewritertests; import agi.foundation.compatibility.*; import agi.foundation.compatibility.Action; import agi.foundation.compatibility.ArgumentException; import agi.foundation.compatibility.AssertHelper; import agi.foundation.compatibility.CultureInfoHelper; import agi.foundation.compatibility.Doub...
39.066298
166
0.678405
61ebbad0c6eed186a14b251b99d26a54e5846a03
2,785
package mage.cards.r; import java.util.UUID; import mage.abilities.Ability; import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.effects.ContinuousEffectImpl; import mage.abilities.keyword.FlashbackAbility; import mage.cards.Card; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage...
31.292135
146
0.694434
ed5b24483d9b66e61dbd97ed5f6845fa4725f578
2,036
/* * 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 ma...
35.719298
93
0.691552
c25c66a5866a9b170ef337dd8576a8f320b57643
289
package gov.nih.nci.ncia.criteria; import java.util.List; public class ExtendedSearchResultCriteria { private List <String> seriesIds; public List<String> getSeriesIds() { return seriesIds; } public void setSeriesIds(List<String> seriesIds) { this.seriesIds = seriesIds; } }
18.0625
51
0.750865
7af4b26e5c10d02173e7fd1fb28b233ad7a53276
7,008
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
20.313043
88
0.670377
5bea9932d9a730684ee167a47a93f5e9f65c52af
2,844
/* * Copyright 2021 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
27.346154
83
0.720113
6142b4d2e142f7c57f6022a8cf429c52ab948edc
29,274
package com.xunlei.tdlive; import android.animation.ObjectAnimator; import android.animation.TimeInterpolator; import android.annotation.SuppressLint; import android.app.Dialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.IntentFilter; import android.content.SharedP...
35.058683
310
0.547448
dd902e374bedffe2495c940af916acccecbc4dec
168
package com.scipionyx.butterflyeffect.api.stocks.model.research; public enum ChartPeriod { ONE_DAY, FIVE_DAYS, ONE_MONTH, THREE_MONTHS, ONE_YEAR, FIVE_YEARS, ALL }
21
71
0.803571
3d82cb7fcd8de4d59679e482ff269ed392d81ad0
1,108
package vswe.stevescarts.Modules.Storages.Chests; import vswe.stevescarts.Helpers.ComponentTypes; import vswe.stevescarts.Carts.MinecartModular; import net.minecraft.item.ItemStack; public class ModuleEggBasket extends ModuleChest { public ModuleEggBasket(MinecartModular cart) { super(cart); } @Override protect...
19.438596
77
0.703069
e420afeff5e1057e8711cd9f14bd6eec4c23e048
349
package com.saeyan.controller.action; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public interface Action { public void execute(HttpServletRequest request, HttpServletResponse response) throws Serv...
26.846154
78
0.839542
d799c7a367c93da76ca4b00d0ace6781518f06e8
553
package chapter3.generics; import java.util.ArrayList; import java.util.List; public class UpperBoundedWildcards { static class Sparrow extends Bird{} static class Bird{} public static void main( String... args ){ List<? extends Bird> birds = new ArrayList<Bird>(); // Kompiliert nicht,...
25.136364
90
0.669078
b58bdbd9dfe7ddf2eee370023ad83e653ffe5444
499
package graph; public class User implements Comparable<User> { private int id; private String label; public User(int id) { this.id = id; this.label = String.valueOf(id); } public int getID() { return this.id; } public String getLabel() { return this.label; } public void setLabel(String label)...
14.676471
46
0.667335
45328f9a9ebe4673a55a3dbc81566dba1f51fe40
30,373
// MFP project, FlatGDI.java : Designed and developed by Tony Cui in 2021 package com.cyzapps.GI2DAdapter; import com.cyzapps.JGI2D.GIEvent; import com.cyzapps.JGI2D.Display2D; import com.cyzapps.JGI2D.DisplayLib; import com.cyzapps.JGI2D.DisplayLib.GraphicDisplayType; import com.cyzapps.JGI2D.DrawLib.PaintingExtraIn...
36.905225
142
0.595167