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
ec3d573dee017309f5a4b48f443763ee0905d228
82
package market.model.report; public enum ReportStatus { PROCESSED, PENDING }
13.666667
28
0.756098
16ccc121f91acfd2869fd86cb35d571ce8ea08d4
786
package mat.client.measure; import mat.client.history.HistoryBaseView; import com.google.gwt.event.dom.client.HasClickHandlers; public class ManageMeasureHistoryView extends HistoryBaseView implements HistoryDisplay{ private String measureId; private String measureName; @Override public void setMeasureName(St...
18.27907
89
0.75827
1f63b366cd5374712c073748a197eb2d3cc4752c
692
package com.qiangdong.reader.app_info; import com.qiangdong.reader.BaseTest; import com.qiangdong.reader.entity.AppInfo; import com.qiangdong.reader.request.BaseRequest; import com.qiangdong.reader.response.PageResponse; import com.qiangdong.reader.serviceImpl.AppInfoServiceImpl; import org.junit.Test; import org.spri...
32.952381
89
0.790462
cb303573d321e6dd63ad95f6524f8f1f85083b21
3,936
package com.gmail.xlifehd.xrandomtp; import java.util.List; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.World; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.plugin.RegisteredServiceProvider; import org.bukkit.plugin.java.JavaPlugin; import com.gmail.xlifehd.xr...
28.729927
181
0.701728
e719bfd4b3d5bf809dee1e62871545a8260d1b26
1,716
package io.swagger.api; import io.swagger.model.Usuario; import java.util.UUID; import io.swagger.annotations.*; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestHeader; import org.springframework.web.bin...
49.028571
151
0.714452
26c7c7f533e77101e781430d831576e49ef6ee26
3,684
/* * 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 ...
25.943662
99
0.688382
d02884ff27854dcb4d618c65e41b3e90a83d3d53
1,391
package com.heaven7.android.adapter.countdown; import android.widget.TextView; /** * the count down callback * @param <T> */ public abstract class CountDownCallbackImpl<T extends ILeftTimeGetter> implements ICountDownCallback<T> { private final TextView mTv; public CountDownCallbackImpl(int position, Tex...
30.911111
105
0.673616
f337446e2bbafc52fc6bdf60942a9e3e68b5bea1
554
package uk.nhs.nhsx.core.aws.ssm; import org.junit.Test; import uk.nhs.nhsx.core.signature.KeyId; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAssert.assertThat; public class KeyIdTest { @Test public void testKeyId() { assertThat( KeyId.of("arn:aws:kms:eu-west-2:1234567...
26.380952
118
0.763538
5c9f4f1d5773d6e93d622ae65da7d87e7a63825a
6,107
package com.taxiassistant.activity; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.os.Bundle; import android.os.IBinder; import android.support.design.widget.FloatingActionButton; import android.support.desig...
29.360577
97
0.619289
b6ebd1f24e857bab97942f9d30bcdd10dedb96ca
2,294
/* * WorldEdit, a Minecraft world manipulation toolkit * Copyright (C) sk89q <http://www.sk89q.com> * Copyright (C) WorldEdit team and contributors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
31.424658
126
0.664778
eff6d3b37fab0261250f30b4a994a0ae787ce63f
510
package com.telran.qa20.tests; import org.openqa.selenium.By; import org.openqa.selenium.interactions.Actions; import org.testng.annotations.Test; public class TrelloLoginTest extends TestBase{ @Test(enabled = false) public void loginTest() throws InterruptedException { app.getSession().clickLoginButton();...
21.25
70
0.733333
8b8dbcbd53e26b5c99b256bdabc754f9888d3648
15,237
package spicy.module.modules.combat; import com.darkmagician6.eventapi.SubscribeEvent; import net.minecraft.client.Minecraft; import net.minecraft.client.entity.EntityPlayerSP; import net.minecraft.enchantment.EnchantmentHelper; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import n...
45.61976
392
0.606222
112003322b7cb85277db0fa9a7ed5117d8cc21f9
1,178
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; public class PlusMinus { /* Given an array of integers, calculate the fractions of its elements that are positive, negative, and are zeros. Print the decimal value of each fraction on a new...
29.45
115
0.575552
14eb275decf0be09f1d6b7f454e4b610e6413773
1,623
package org.infinispan.server.core; import org.infinispan.server.core.utils.SslUtils; import org.kohsuke.MetaInfServices; import reactor.blockhound.BlockHound; import reactor.blockhound.integration.BlockHoundIntegration; @MetaInfServices public class ServerCoreBlockHoundIntegration implements BlockHoundIntegration {...
42.710526
118
0.768946
70004f599b9c82f00607d037e4a283a99864315e
3,954
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License") + yo...
35.945455
108
0.743551
60bfeb88087dc046633c14d594b37f9dbda9abab
922
package app.monitor.kafka; import app.monitor.alert.Alert; import app.monitor.alert.AlertService; import core.framework.inject.Inject; import core.framework.kafka.MessageHandler; import core.framework.log.message.StatMessage; /** * @author neo */ public class StatMessageHandler implements MessageHandler<StatMessage...
26.342857
72
0.684382
ee9e117d5b1c2714dbc8f7748131dc1f5f8a99fa
1,209
package com.example.demo.model.entity; import javax.persistence.*; import java.util.List; @Entity @Table(name = "companies") public class CompanyEntity extends BaseEntity { private String name; private String email; private String companyOwner; private List<UserProfileEntity> userProfile; public...
20.491525
78
0.650124
12beace190f28bf6d1d3adbab86beb1752f75083
2,214
package io.github.daichim.jach.internal; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; /** * {@link Writable} interface denotes a data-structure which can be used to write messages which can * then be read using a {@link Readable}. This interface is for internal purposes and s...
37.525424
100
0.696025
0c2887ceba39aebc877fe2703d3b9ba0737ff45c
2,589
package lk.SipsewanaInstitute.bo.custom.impl; import lk.SipsewanaInstitute.bo.BOFactory; import lk.SipsewanaInstitute.bo.custom.CourseBO; import lk.SipsewanaInstitute.dao.DAOFactory; import lk.SipsewanaInstitute.dao.custom.CourseDAO; import lk.SipsewanaInstitute.dto.CourseDTO; import lk.SipsewanaInstitute.entity.Cours...
32.3625
132
0.63229
88874249095dde25aed22f2a260bac6339fccffc
1,654
package com.zto.testcase.request; import java.util.List; import lombok.Data; import org.hibernate.validator.constraints.Length; import org.hibernate.validator.constraints.NotBlank; import org.hibernate.validator.constraints.NotEmpty; @Data public class RoleRequest { // @InEnum(message = "系统编号必须合法", enumClass ...
27.566667
207
0.698307
c7c47a45e6b89e113602166f1ec5c7491bcf767c
155
package com.xianyue.design.command; public abstract class Target { abstract void open(); abstract void close(); abstract void alarm(); }
11.923077
35
0.677419
33c18aa73daa7fac8d3499b59bbfc162d1fbd6be
310
package pbouda.jjf.strategy; import pbouda.jjf.step.Symbol; import java.util.NavigableMap; public class NoOpSymbolResolvingStrategy implements SymbolResolvingStrategy { @Override public Symbol resolve(NavigableMap<Long, Symbol> symbols, long address) { return symbols.get(address); } }
22.142857
77
0.76129
3b58b2c3c927700b1a97d1567a26be95db0a71f7
5,539
package tutorhelper.logic.commands; import static java.util.Objects.requireNonNull; import static tutorhelper.commons.core.Messages.MESSAGE_INVALID_STUDENT_DISPLAYED_INDEX; import static tutorhelper.model.Model.PREDICATE_SHOW_ALL_STUDENTS; import java.util.ArrayList; import java.util.List; import tutorhelper.commons...
37.425676
115
0.651381
c915fa4d0da6a091f7f4aa1f9d1f9293bf55e5e2
2,990
/* * Copyright (c) Facebook, Inc. and 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 applic...
39.342105
99
0.706689
621498e79738e759c85068b533df92f3499645cd
1,044
package com.quinn.framework.model; import com.quinn.util.constant.NumberConstant; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.util.Collections; import java.util.List; /** * 分页信息 * * @author Qunhua.Liao * @since 2020-03-27 */ @Setter @Getter public clas...
18.981818
56
0.636015
17ad9a3b6cc698dfa1d690817f6a1a67a1748762
56,501
/* * Copyright 2020 Google LLC * * 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 applicable law or agreed to ...
31.600112
109
0.637405
13dfda51ddd22f5228df5b852b99a285392f78ea
149
package io.leopard.boot.trynb; /** * 错误消息过滤器 * * @author 谭海潮 * */ public interface ErrorMessageFilter { String parseMessage(Throwable e); }
11.461538
37
0.684564
2393d7248250e86ad5444f918934996f803652bf
9,649
/* * 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 ...
38.907258
109
0.561613
18f31cd410201531174fb966515cb0e64ed27ffa
1,273
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot.commands; import frc.robot.subsystems.Drivetrain; import frc.robot.subsystems.OnBoardIO; import edu.w...
38.575758
100
0.728201
98c0144c5c474c9438021940a1ae2bc8396c907e
13,801
/* * Copyright (C) 2019 The Turms Project * https://github.com/turms-im/turms * * 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 * *...
48.255245
75
0.426129
66ca77dcb2dc2f2105ba384f3c616e226a629f59
1,451
package zjj.app.mobilesecurity.ui; import android.content.Context; import android.graphics.drawable.GradientDrawable; import android.support.v4.content.ContextCompat; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.widget.FrameLayout; import android.widget...
25.910714
94
0.716747
7fe26c7e0680c58a5cd256a209556c679bc995a6
5,073
package glide.backoffice.method.common; import java.util.List; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa.selenium.support.PageFactory; import glide.backoffice.locators.common.CommonLocators; import glide.backoffice.locators.common.DatePicker; import glide.backoffice.loc...
35.978723
130
0.779026
c326ee644e996634291813a5a5c8633d57cdf264
1,204
/* * Copyright 2016 Karlsruhe Institute of Technology. * * 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 appl...
28
86
0.727575
37c447084f96bf254a48d81793c77db55b041d0d
1,082
class PhoneDigit { static String key[] = {"","", "abc", "def", "ghi", "jkl", "mno", "pqrs", "tuv", "wxyz"}; static void possibleWords(int a[], int N) { // your code here int l = 0,seq = 0; String curr = ""; wordsutil(a, N, l, seq, curr); } static void wordsutil(int a[], int N, int index,int seq, String curr){ if(N ...
22.541667
160
0.615527
af7c608fee4fbbfc5e31fa1cbc0f1f061b3731cb
5,314
/*- * ============LICENSE_START======================================================= * ONAP - SO * ================================================================================ * Copyright (C) 2017 - 2018 AT&T Intellectual Property. All rights reserved. * ======================================================...
45.810345
162
0.764208
1e74219b7b772c48555e68ebcd020aa8d17aa035
1,821
import java.util.*; public class TestBagage { public static void main(String[] args) { // Make 5 books and add them to bag book b1 = new book("The Hobbit", "J.R.R. Tolkien"); book b2 = new book("The Lord of the Rings", "J.R.R. Tolkien"); book b3 = new book("The Silmarillion", "J....
34.358491
92
0.505766
d16c02820e2814909cc9a76062e06143e62436a2
1,502
package org.moola.emf.atl; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * The result of an Atl extraction */ public class AtlDetails { private Map<String, String> metaModels; private Map<String, String> inputModels; private Map<String, String> outputMod...
20.575342
64
0.715047
615fda083942e4e166c8c96d1f885fde3ee0e245
739
package dao.impl; import common.dao.BaseDaoImpl; import dao.SysDao; import po.Contract; import po.User; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import java.util.List; @Repository("sysDao") public class SysD...
24.633333
85
0.692828
4ddef40e6cb325f2269000103dc8cffa0b96d322
844
package gg.eris.uhc.core; import gg.eris.commons.bukkit.command.CommandProvider; import gg.eris.uhc.core.game.UhcGame; import java.util.Set; import lombok.Getter; public abstract class UhcModule<T extends UhcGame<?>> { protected final UhcPlugin plugin; @Getter protected final T game; public UhcModule(UhcPlu...
21.1
66
0.71564
c01a8081a490148e6fd1aa465784768191cfa052
5,331
/* Copyright (c) 2018, Computer Science Department, Colorado State University 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, th...
38.352518
155
0.73232
92850970ea748f1f69d86ce49ae2eb77e457df97
2,594
/* * 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 ...
34.586667
105
0.777949
f8679a57f6cd5bd17c2fda4533100f1c926b0e22
4,626
/* * Copyright 2016 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. */ package io.flutter.module; import com.intellij.execution.OutputListener; import com.intellij.ide.util.projectWizard.WebProjectTemplate; import com....
37.008
130
0.711198
fc2c5a20d50717586f689f3fca6b4a48de315158
50,431
/** * Copyright 2013 Canada Health Infoway, 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 applicab...
40.735864
711
0.659931
805eeb5c78d5a209d42435502d7db6bb87d150ef
1,070
package leetCode.string; /** * @Author Lunaticf * @Date 2019/10/28 */ public class ShortestCompletingWord { /** * 找到最短的一个单词,使用了licensePlate全部的可用字符 * @param licensePlate * @param words * @return */ public String shortestCompletingWord(String licensePlate, String[] words) { St...
25.47619
90
0.500935
20ffd3b6e514880aa6d9edc675b949767a22dfb7
251
package org.app.txema.ghiblifilms.view.util; /** * Created by Txema on 23/09/2017. */ public class Tag { public static final String TAG_LIST_FRAGMENT = "ListFragment"; public static final String TAG_DETAILS_FRAGMENT = "DetailsFragment"; }
22.818182
72
0.737052
95a1447127aed3e86a06ceac45c12c03457a3c4e
196
/** * holamundogui */ import javax.swing.*; public class holamundogui { public static void main(String[] args) { JOptionPane.showMessageDialog(null,"Hola Mundo con Swing"); } }
17.818182
67
0.663265
59edf69ed647d93c326f3ad0f27e279c8926a8ed
605
package org.oddjob.arooa; import org.oddjob.arooa.parsing.ArooaContext; /** * An intercepter of parsing that provides an alternative {@link ArooaContext} * for the processing of child elements. * * @author rob * */ public interface ParsingInterceptor { /** * Intercept current parsing. * ...
23.269231
79
0.707438
276a76138d805984a2f845ad8fb6b0c147e6480a
16,266
/* * Copyright 2019 Miroslav Pokorny (github.com/mP1) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
33.8875
124
0.610045
4357d32c91d4f519455914613edcc41c66b35569
5,487
package com.ippon.kafka.streams.serdes.pojos; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.databind.PropertyNamingStrategy; import com.fasterxml.jackson.databind.annotation.JsonNaming; @JsonNaming(PropertyNamingStrategy.UpperCamelCaseStrategy.class) @JsonIgnoreProperties(...
25.402778
69
0.616366
2893b5105bc658b3c6ae4fa97f58df1bea75f969
2,991
/* GColourScheme.java, part of the Global Epidemic Simulation v1.0 BETA /* GKit: Colour schemes. Only one we like so far. /* /* Copyright 2012, MRC Centre for Outbreak Analysis and Modelling /* /* Licensed under the Apache License, Version 2.0 (the "License"); /* you may not use this file except in compliance with th...
41.541667
124
0.71013
8d5e0a926989def355980724e715ce3c106c3780
6,804
/** * Copyright 2013 Olivier Goutay (olivierg13) * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by ...
35.623037
133
0.673133
e48f226e7f033aa146fd183c0b358904aff0f5aa
1,553
/** * */ package miscellaneous; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import entities.TreeNode; import util.Utility; /** * @author PRATAP LeetCode 814 * */ public class BinaryTreePruning { /** * @param args * @throws IOException */ public static v...
23.179104
75
0.663232
c93a789f99b3e049d4a81cc5c2bbdb1201f64aca
1,994
package de.prkmd.behindthetables.util; import android.content.Context; import android.content.SharedPreferences; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.preference.PreferenceManager; import de.prkmd.behindthetables.R; import de.prkmd.behindthetables.activity.Cat...
31.15625
104
0.703109
8874d2a8c3c1c86e7c69c860a602adfc39bf83c3
12,242
package com.koant.sonar.slacknotifier.extension.task; import static org.assertj.core.api.Assertions.assertThat; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.github.seratch.jslack.api.model.Attachment; import com.github.seratch.jslack.api.mod...
44.355072
173
0.614932
dbff06372db9e1d40df53601a3701156ca44112b
1,919
/* * ESnet Network Operating System (ENOS) Copyright (c) 2015, The Regents * of the University of California, through Lawrence Berkeley National * Laboratory (subject to receipt of any required approvals from the * U.S. Dept. of Energy). All rights reserved. * * If you have questions about your rights to use or ...
31.983333
73
0.648775
72266e750883218a3585e675ff5fa0fe01728a08
13,531
package org.graph.layout; import java.awt.Color; import java.awt.Dimension; import java.util.HashMap; import java.io.FileNotFoundException; import java.io.PrintWriter; import java.util.HashSet; import javax.swing.JFrame; import javax.swing.JScrollPane; import java.awt.Toolkit; /** * @author Bhekimpilo Ndhlela * @a...
47.812721
133
0.670756
de06b2a10c19f3244e53d374abc0145709ac74c5
1,826
package models.constants; import com.google.common.collect.ImmutableMap; import java.util.Map; import models.BuildingType; import models.Stockpile; public class GameConstants { public static final int MAX_PLAYERS = 4; public static final int MAX_NUM_RESOURCES_PER_TYPE = 19; public static final Map<DevCardType...
37.265306
120
0.724535
164d341248670a6eb3a82c95ff9c51eb920b7c8f
2,627
/* * Copyright 2021 Adobe. All rights reserved. * This file is licensed 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 by appli...
29.188889
112
0.743814
5e057c070672f810c9b216b04b8240bfd5ff0a06
77
package com.snszyk.iiot.marketization.market.domain.marketelement.repository;
77
77
0.883117
11928d40e51ad369494fa8a05976e7e62affb9b3
478
package com.juggad.itemtracking.data; /** * Created by Aman Jain on 26/06/18. */ public class TrackingItemModel extends ProfileModel { private int position; public TrackingItemModel(ProfileModel model, int position) { super(model.getName(), model.getAddress()); this.position = position; ...
20.782609
64
0.661088
a7e3a0d91cdcd2198f28db26c614643d9efeda98
2,584
/* * 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 ...
41.015873
121
0.726006
6a6d4513f98c470d75416be5bae8aa1a49b51e26
1,944
package blog.io; import java.io.FileOutputStream; import java.io.PrintStream; import java.util.Collection; import blog.common.Util; import blog.model.Query; /** * Abstract base class for outputting query results. * * Supports writing results to a PrintStream or to a file. Concrete subclasses * must implement th...
20.680851
80
0.643519
77ae126f7bdfc1948ad239e41d96ea027a407c68
6,059
package com.ucar.zkdoctor.pojo.po; import com.ucar.zkdoctor.util.tool.DateUtil; import java.io.Serializable; import java.util.Date; /** * Description: 定时任务触发器信息。对应表:zk_qrtz_triggers * Created on 2018/1/16 16:53 * * @author 吕小玲(xiaoling.lv@ucarinc.com) */ public class TriggerInfo implements Serializable { p...
20.893103
70
0.568741
39fcb7a594e9f67fbcb594f99e2bd51fd4d6cc0e
3,486
package org.basex.util.ft; import static org.basex.query.QueryText.*; import static org.basex.util.Token.*; import static org.basex.util.ft.FTFlag.*; import java.util.*; import java.util.Map.Entry; import org.basex.data.*; import org.basex.query.expr.*; import org.basex.query.expr.ft.*; import org.basex.query.value....
28.809917
89
0.607286
be518776a97b10e32d09b1ec3c357f125781fb3e
853
package de.sonallux.spotify.generator.java.templates; import de.sonallux.spotify.core.SpotifyWebApiObjectUtils; import de.sonallux.spotify.core.model.SpotifyWebApiObject; import de.sonallux.spotify.generator.java.util.JavaUtils; import java.util.Map; public class BaseObjectTemplate extends ObjectTemplate { @Over...
30.464286
106
0.752638
2848281720fe4320a9658374152825befac4a58e
810
package com.zkzong.proxy.dynamic; import com.zkzong.proxy.pattern.RealSubject; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; public class JdkProxySubject implements InvocationHandler { private RealSubject realSubject; public JdkProxySubject(RealSubject realSubject) { t...
27
87
0.641975
6c7830e5cf79fd9b5ea4e26ef1ca0885d7ff4aca
35,859
/* * Copyright (C) 2016 The Android Open Source Project * * 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 app...
41.075601
100
0.694972
64525cc0f81ae19a2e12e9943659d64a93e7b406
1,318
package io.github.kszatan.gocd.b2.material.handlers.bodies; import io.github.kszatan.gocd.b2.utils.json.GsonService; import java.util.Collection; import java.util.Objects; public class StatusMessagesResponse { public String status; public Collection<String> messages; public static StatusMessagesResponse...
29.288889
94
0.677542
a2ec8bdca2e705e63a2695fa91a8f42d25dd59d3
3,026
package okble.demo.ui.device2; import android.bluetooth.BluetoothGattService; import android.text.TextUtils; import java.util.HashMap; import okble.demo.util.UuidUtils; public final class ServiceResolver { public static String resolveType(BluetoothGattService service){ final int type = service.getType...
51.288136
95
0.7039
f7299ef5a5866981d306a9fb97f57e1b221e5bfb
7,226
/* Id: $ */ /* Copyright (c) 2000-2015 Board of Trustees of Leland Stanford Jr. University, all rights reserved. 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, including wit...
48.496644
104
0.569748
7c18bd060b502ed4f9349afa74a71e4e34fbfa9a
9,000
package com.fpvout.digiview; import android.content.Context; import android.content.SharedPreferences; import android.net.Uri; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.util.Log; import android.view.SurfaceView; import androidx.constraintlayout.widget.ConstraintLay...
43.478261
296
0.634667
7e6da180ed94912ee7c3834a7a55633ba1d95a97
516
package com.nantaphop.pantipfanapp.event; import com.nantaphop.pantipfanapp.model.ForumPagerItem; import com.nantaphop.pantipfanapp.service.PantipRestClient; /** * Created by nantaphop on 27-Oct-14. */ public class OpenForumEvent { public ForumPagerItem forumPagerItem; public PantipRestClient.ForumType for...
27.157895
96
0.775194
8c99a671369b17969bc21b423eeac40cdc573bc0
2,120
package org.apache.spark.graphx.lib; /** * Compute the number of triangles passing through each vertex. * <p> * The algorithm is relatively straightforward and can be computed in three steps: * <p> * <ul> * <li> Compute the set of neighbors for each vertex</li> * <li> For each edge compute the intersection of th...
54.358974
298
0.733962
8d7df208d0347f9e0b1e73d535f9b6915e57a011
12,352
package net.minecraft.client.gui.screen; import com.google.common.collect.Lists; import com.mojang.blaze3d.matrix.MatrixStack; import com.mojang.blaze3d.systems.RenderSystem; import com.mojang.blaze3d.vertex.IVertexBuilder; import java.util.List; import java.util.Random; import net.minecraft.client.gui.screen.inventor...
46.262172
267
0.642244
f7a8c6b5f13fd4f1d5dcbd79561cedd2662353bf
4,616
package Main; import java.awt.*; import javax.swing.JPanel; import Helpers.EButton; import Helpers.Constants; import Models.Employee; import Views.*; public class Hamburger extends JPanel { //TODO: Disable clicked buttons private static final EButton BTNHome = new EButton("HOME"); private static final EButt...
32.971429
79
0.633232
1ed60d3f93d66f0493c0136b4af4729ac2a5550d
844
package com.dataiku.dss.intellij.actions.checkout; import java.util.List; import com.dataiku.dss.intellij.config.DssInstance; import com.dataiku.dss.model.DSSClient; import com.dataiku.dss.model.dss.Plugin; import com.dataiku.dss.model.dss.Recipe; import com.intellij.openapi.module.Module; import com.intellij.openapi...
24.114286
51
0.746445
d3c15e398e7cc4d5c2fa99e0f898f82f13bd7e5e
6,960
/******************************************************************************* * Copyright (c) 1998, 2012 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ...
40.941176
121
0.70431
f90f2fbaf75d995529e1239861ba3856ddf026b5
296
package org.drools.compiler.xpath; public class Man extends Adult { private Woman wife; public Man(String name, int age) { super(name, age); } public Woman getWife() { return wife; } public void setWife(Woman wife) { this.wife = wife; } }
15.578947
38
0.587838
32324b4bff3715b9a2a68b8d371c755c95cd574d
162
package ejigma.exception; public class ScramblerSettingException extends Exception { public ScramblerSettingException(String s) { super(s); } }
18
58
0.728395
3b6dc30b9eb7f9a167f0339b0ed1f41615a276e0
507
package com.example.androidproject.adaptation.bundle.gps; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; public class GpsBroadcast extends BroadcastReceiver { private double distance; @Override public void onReceive(Context context, Intent intent) { th...
23.045455
68
0.771203
0e8547c3ac7bd21044b75feb1c057f9b94e095df
4,710
package view; import java.awt.Font; import java.sql.SQLException; import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JScrollPane; import javax.swing.JTextArea; import controller.Ex...
30.784314
175
0.755202
2bc81a2e3d807ec4e6038a39ba9f0ff09a36e08b
795
package com.google.ff04zav.db.mysql; import java.io.IOException; import java.util.Properties; public class Profile { public static Properties getProperties(String name) throws RuntimeException { Properties props = new Properties(); String env = System.getProperty("env"); if (env == null) { env = "d...
29.444444
83
0.671698
3b45c2264ff9436bb0729c00015847ede74eaf62
3,916
/* * Copyright DbMaintain.org * * 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...
28.583942
194
0.620531
ea5e3f67c61de67627f56f3c9728aa671916e4ed
511
package org.endeavourhealth.ui.json; import com.fasterxml.jackson.annotation.JsonInclude; @JsonInclude(JsonInclude.Include.NON_NULL) public final class JsonRabbitQueueOptions { private boolean auto_delete; private boolean durable; public boolean isAuto_delete() { return auto_delete; } public void setAuto_del...
19.653846
52
0.774951
a28a62afafbde172a35902616cfc5a1df7d8961a
3,827
/* * Copyright (c) 2007-2018 Siemens AG * * 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, including without limitation the rights * to use, copy, modify, merge, pub...
26.950704
80
0.736608
ecdf64e9635c706c8335880d330b1f10ab8526e5
661
package com.mtbs.shows; import java.util.List; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.mtbs.models.Show; @Service public class ShowService { @Autowired private ShowRepository showRepository; pub...
22.033333
75
0.74584
fddac4927449c9eb8d1f3c0425fe66f1c6ee6618
2,973
package com.twu.biblioteca.representations; import com.google.i18n.phonenumbers.NumberParseException; import com.google.i18n.phonenumbers.PhoneNumberUtil; import com.google.i18n.phonenumbers.Phonenumber; import org.apache.commons.validator.routines.EmailValidator; public class User { private String username; ...
31.294737
118
0.656576
997ae0cae2c5bc5f693a55ebe866bdca9a0d037e
1,660
package com.mark.war; import com.google.common.collect.Iterables; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ArrayList; import java.util.List; import java.util.Optional; import static java.lang.String.format; public class Player { private final static Logger logger = LoggerFactory...
27.666667
164
0.655422
4582511769e2546135aa58eccab5aaa67a1bb165
1,898
import java.util.ArrayList; import java.util.List; /** * @author lei * The DFD class contains all related methods for calculating Discrete Frechet Distance * Use method df and give two curves' coordinates to get the distance * The input should follow the format: * x = "2,3;3,4;4,4;3,5;4,5;5,5" * y = "2,4;3,5;1,4...
26
95
0.539515
563c1916e1cfb31888d22bd852b1440af437e981
777
package net.gobbob.mobends.animatedentity.previewer; import net.gobbob.mobends.data.EntityData; import net.gobbob.mobends.data.EntityDatabase; import net.gobbob.mobends.data.SpiderData; import net.minecraft.entity.Entity; import net.minecraft.entity.monster.EntitySpider; public class SpiderPreviewer extends Previewer...
25.9
80
0.787645
6b0d235c3c649a2a5694d0d40558e7bc8a84d62a
858
package com.buleqr.controller; import com.buleqr.pojo.AjaxResult; import com.buleqr.service.PunchCardService; import lombok.extern.slf4j.Slf4j; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestC...
23.833333
88
0.738928
6b00ffa9d33dfa1a36a08ff80deb8d1c0f250e42
498
package com.natsumes.wezard; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * @author hetengjiao * @date 2020-12-06 */ @SpringBootApplication //@EnableDiscoveryClient //@RefreshScope @M...
22.636364
68
0.763052
ab2fad256c74afca7a2eb7370f4f7b2896ebfc12
762
package com.kalman03.gateway.filter; import java.util.Map; import org.apache.dubbo.rpc.Filter; import org.apache.dubbo.rpc.Invocation; import org.apache.dubbo.rpc.Invoker; import org.apache.dubbo.rpc.Result; import org.apache.dubbo.rpc.RpcContext; import org.apache.dubbo.rpc.RpcException; import com.kalman03.gateway...
26.275862
87
0.771654
0a368d52ef9971ddb530de00f082be0b0ef0a352
2,902
/* * MIT License * * Copyright (c) 2020 SvenAugustus * * 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, including without limitation the rights * to use, copy, mod...
38.693333
162
0.703308
6291cc0256f937337d35f374a6da9840a328a11f
371
package service.desidimeservice.manager; import android.app.Application; import android.content.Intent; import service.desidimeservice.service.PackageSnifferService; public class DesiDimeApplication extends Application { @Override public void onCreate() { super.onCreate(); startService(new I...
23.1875
68
0.762803
3cb62dbd71a41096231f76c94411ec61c490a19d
1,777
package ru.otus.jdbc.dao; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ru.otus.core.dao.UserDao; import ru.otus.core.model.User; import ru.otus.core.sessionmanager.SessionManager; import ru.otus.jdbc.DbExecutorImpl; import ru.otus.jdbc.mapper.JdbcMapper; import ru.otus.jdbc.mapper.impl.JdbcMapperIm...
26.924242
110
0.709623
ed308a01e78c6d7961e94fb26bb3a832228446cb
1,834
package noorg.bookparsing.enrich; import java.util.List; import noorg.bookparsing.domain.Book; /** * <p>Copyright 2019 Robert J. Zak * * <p>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 ...
29.111111
104
0.709924
f6b1e9fa4253de04417efe98339b3bc761170a82
2,655
/******************************************************************************* * Copyright 2013 Università degli Studi di Firenze * * 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 * ...
24.583333
80
0.672693
4f6e96d848e6ae3f0ad32a31178c79c89e655cb6
8,130
package com.cjw.rhclient.view; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.BitmapShader; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; import android.graphics.Paint; import android.graphi...
32.007874
141
0.750677
d02639c47f807e7697f24c9c0c369659a38027f1
4,647
package ru.ainurminibaev.db.model; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import org.springframework.data.mongodb.core.mapping.Field; import ru.ainurminibaev.db.model.enums.ChartType; import ru.ainurminibaev.db.model.enums.PeriodType; /** * Creat...
23.351759
77
0.673553