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
9b3959ac2ac94108845d7e10530c7d051c2ce174
3,021
package com.xq.myxuanqi.model.layoutBean; import android.support.annotation.NonNull; import android.support.design.widget.BottomNavigationView; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.view.ViewPager; import android.view.MenuItem; import com.xq.m...
35.541176
160
0.707713
94e8317555c5341f6fcd3c9e6986def38905fe63
868
package io.github.anantharajuc.sbmdb.api.hateoas; import static org.springframework.hateoas.server.mvc.WebMvcLinkBuilder.*; import org.springframework.hateoas.RepresentationModel; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web....
32.148148
98
0.806452
3aa782a1de3ce2d1d26d0526d6d55823c4fb97aa
403
/** * */ package org.openforis.collect.persistence.jooq.tables.records; import org.jooq.impl.TableImpl; import org.jooq.impl.UpdatableRecordImpl; /** * @author M. Togna * */ public class LookupRecord extends UpdatableRecordImpl<LookupRecord> { private static final long serialVersionUID = 1L; ...
18.318182
70
0.702233
3140cb0d523b33627af3309d06a2e2ca24786abe
11,229
package me.kareluo.intensify.image; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Point; import android.graphics.Rect; import android.graphics.RectF; import android.util.Attrib...
28.940722
116
0.636833
d864d6d0f2e6a846ed20d5dbd32d33bc0e8c9855
128
package com.gitee.myclouds.admin.test; /** * 单元测试(综合、杂项) * * @author xiongchun * */ public class CfgCacheApiTest { }
9.846154
38
0.632813
93282bae92e0b0e0d6756a1460257ca3e8b8e8f9
9,170
// Template Source: BaseEntityRequestBuilder.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -----------------------------...
44.299517
213
0.754308
356ff914f4079e7869f939094f64819796a4ec87
5,853
/* * Copyright 2012-2021 THALES. * * This file is part of AuthzForce CE. * * 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 * * Unle...
34.839286
171
0.722877
cd5f683ef83be709dcff42048e477f882dca9acd
1,708
package com.cjburkey.voxicus.chunk; import org.joml.Vector3i; import com.cjburkey.voxicus.block.Block; import com.cjburkey.voxicus.block.BlockState; import com.cjburkey.voxicus.core.Util; public class Chunk { public static final int SIZE = 16; private final IChunkHandler parent; private final Vecto...
24.056338
100
0.63993
2702c91509f546db8850143a4e2c2d3b896a5b58
250
package com.minhtetoo.PADCMMNEWS.delegates; /** * Created by min on 11/26/2017. */ public interface LoginRegisterDelegate { void onTapLogin(); void onTapForgetPassWord(); void onTapToRegister(); void onSetTitle(String title); }
16.666667
43
0.708
ffd9ad51b836c31c6922aebfe56651634f472a26
943
package com.sapient.productcatalogue.service.impl; import com.sapient.productcatalogue.model.Color; import com.sapient.productcatalogue.repository.ColorRepository; import com.sapient.productcatalogue.service.ColorService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereot...
28.575758
76
0.772004
48a32b57bec2e27960a5ab57ed58d2899d0d819c
1,098
package slidingWindow; /** * 编写一个函数,其作用是将输入的字符串反转过来。输入字符串以字符数组 char[] 的形式给出。 * <p> * 不要给另外的数组分配额外的空间,你必须原地修改输入数组、使用 O(1) 的额外空间解决这一问题。 * <p> * 你可以假设数组中的所有字符都是 ASCII 码表中的可打印字符。 * <p> *   * <p> * 示例 1: * <p> * 输入:["h","e","l","l","o"] * 输出:["o","l","l","e","h"] * 示例 2: * <p> * 输入:["H","a","n","n","a","h"] ...
20.716981
53
0.467213
a02766d77d0fce4d6c96047397bff36a171ad9a9
375
package com.github.leleact.jtest.spring.tx.bean.mapper; import com.github.leleact.jtest.spring.tx.bean.dto.T2; public interface T2Mapper { int deleteByPrimaryKey(String f1); int insert(T2 record); int insertSelective(T2 record); T2 selectByPrimaryKey(String f1); int updateByPrimaryKeySelective...
20.833333
55
0.746667
e203c9833a8b25e45fe33cdc99721d97cf20ebec
512
package com.godaddy.asherah.crypto.keys; import java.time.Instant; import java.util.function.Consumer; import java.util.function.Function; import com.godaddy.asherah.appencryption.utils.SafeAutoCloseable; public abstract class CryptoKey implements SafeAutoCloseable { public abstract Instant getCreated(); public...
25.6
65
0.787109
5ecd88c016c82d3d64b172206e82c3cc3a407da5
19,363
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.iso.dashboard.controller; import com.iso.dashboard.component.CustomGrid; import com.iso.dashboard.dto.Job; import com.iso....
45.56
166
0.563342
3c552d856599c00b61d1f4b3f79e5f6640aa6cf6
9,296
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 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....
44.266667
132
0.691265
3bef961bb3e226d4116bb0dc54ee870088039232
6,230
/* * Copyright (c) 2007 Mockito contributors * This program is made available under the terms of the MIT License. */ package org.mockito.internal; import java.util.Arrays; import java.util.List; import org.mockito.InOrder; import org.mockito.MockSettings; import org.mockito.exceptions.Reporter; import ...
39.43038
114
0.678331
67bc793b46b199d85517cc0fb223d457957348f6
3,170
/* * 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 treeGenerator; import JFUtils.Range; import codenameprojection.drawables.Vertex; import codenameprojection.driver; import jav...
29.351852
125
0.485489
7201954b9f546aa30e968d2f73cf8a480922f58a
3,331
package dev.cheun.services; import dev.cheun.daos.AccountDAO; import dev.cheun.daos.ClientDAO; import dev.cheun.daos.ClientDaoPostgres; import dev.cheun.entities.Account; import dev.cheun.entities.Client; import dev.cheun.exceptions.BadRequestException; import dev.cheun.exceptions.NotFoundException; import io...
36.604396
87
0.636446
6e753c9783f2482dc20ab9613bc13e02ff986382
5,239
/* * Copyright 2016 * Ubiquitous Knowledge Processing (UKP) Lab * Technische Universität Darmstadt * * 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/lice...
37.690647
93
0.706814
e947b5e843ff93e81849acfd6d09dcb2fd6cc798
460
package com.lihui.study.design.pattern; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * @ClassName: DesignPatternApplication * @Description: TODO * @author: ex_lihui4 * @date: 2019-11-14 9:13 */ @SpringBootApplication public class Des...
25.555556
68
0.767391
09b07a9b05a58b80e57f475774febee2b95f4585
284
package edp.vap.dto.dashboardDto; import edp.vap.model.Dashboard; import edp.vap.model.DashboardPortal; import edp.vap.model.Project; import lombok.Data; @Data public class DashboardWithPortal extends Dashboard { private DashboardPortal portal; private Project project; }
18.933333
52
0.792254
4cf8aed75f67ce24e6061050dc458b61fb9a9b89
13,266
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package view; import java.awt.Dimension; import java.awt.event.ActionListener; import java.text.DecimalFormat; import javax.swing.GroupLayout; import javax.swing.JButton; import javax.swing.JFormattedTextFiel...
42.114286
131
0.605684
f7e5b436694c50af019f187025d5fe717b3b7a69
580
package de.gernd.spring.application; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; import java.time.OffsetDateTime; import static org.springframework.context.annotation.ScopedProxyMode.TARGET_CLASS; @Component @Scope(value = "request", proxyMode = TARGET_CLASS...
23.2
82
0.746552
7f35067ea1a22b64a6fb019d5372c4e460add8ca
1,636
/* * Copyright 2012. Zoran Rilak * * 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...
29.214286
75
0.707824
99243c5e39274aa14960c6f2e6e60e95b08a5950
2,161
/* * 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. */ /** * @author Maurice Bernard */ public class Table { private int pot = 0; private Player self = new Player(); p...
18.313559
80
0.584452
61d93ea27cdf39674c490eb1c0a2e3acaf220abc
2,298
package org.sunbird.ruleengine.model; import java.io.Serializable; import java.math.BigInteger; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persist...
17.278195
103
0.717581
0085c272f11ff1cdd4e2635d16d3ca946cae4ac6
31,927
/* * 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 ...
32.314777
100
0.622514
845be138d47c4deacfd78850ec5a3c39a585a9ac
995
package com.yzh.androidquickdevlib.app; import android.app.Activity; import android.app.Application.ActivityLifecycleCallbacks; import android.os.Bundle; public class SimpleActivityLifecycleCallbacks implements ActivityLifecycleCallbacks { public SimpleActivityLifecycleCallbacks() { // TODO 自动生成的构造函数存根 } @Ove...
15.307692
83
0.764824
894fb38bb1f6edcec9c9460d730684a23ae86438
2,056
//package com.bootdo.reserve_functions.feign_demo; // //import org.springframework.http.MediaType; //import org.springframework.web.bind.annotation.GetMapping; //import org.springframework.web.bind.annotation.PostMapping; //import org.springframework.web.bind.annotation.RequestBody; //import org.springframework.web.bin...
34.847458
143
0.728599
d136d0a0edfb4c565ee17b2e33a11d91a6d44628
1,831
package com.gechen.keepwalking.kw.activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import com.gechen.keepwalking.R; import com.kw_support.base.BaseActivity; import com.kw_support.utils.AppUtil; import com.kw_support.utils.SystemFunUtil; import com.kw_support.utils.UiUtil; i...
31.568966
101
0.712725
8a6c291e4bbfc2822b0cfcaefeace41cb10cce32
6,292
package com.cerner.jwala.service.resource.impl.handler; import com.cerner.jwala.common.domain.model.jvm.Jvm; import com.cerner.jwala.common.domain.model.resource.ResourceIdentifier; import com.cerner.jwala.common.domain.model.resource.ResourceTemplateMetaData; import com.cerner.jwala.common.request.jvm.UploadJvmConfig...
49.543307
152
0.725048
9d495c64782b3bf584f29021d8a55b96abb90980
954
package practice.backtracking; import others.MasterPrinter; import java.util.ArrayList; import java.util.List; public class Subsets { List<List<Integer>> result; public static void main(String[] args) { Subsets subsets=new Subsets(); subsets.subsets(new int[]{1,2,3}); } public List<Li...
26.5
79
0.566038
f885a929375f493736cf3c1447973e54757221bb
371
package ru.otus.vsh.hw16.webCore.playersPage; import ru.otus.vsh.hw16.messagesystem.MessageSystem; import ru.otus.vsh.hw16.messagesystem.client.CallbackRegistry; import ru.otus.vsh.hw16.messagesystem.client.MsClient; public interface PlayersMSClientInitializer { MsClient playersControllerMSClient(MessageSystem me...
37.1
103
0.849057
9202b03a194a88afa0cac7b5634d70ae4567a761
2,137
package org.ovirt.engine.core.bll.gluster; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.doReturn; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.junit.MockitoJUnitRunner.Silent; import org.ovirt.engine.core.common....
39.574074
130
0.770707
2a2825aa79dd5edc869aa8fe151584fa42e0fb81
3,005
package deplacement; public class p2 extends javax.swing.JFrame { public p2() { initComponents(); } private p2(String text) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @SuppressWarnings(...
35.352941
135
0.635275
e26db14193e676a0e097cc835045d59893825cfc
892
package com.javadevjournal.Java; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; public class DateDifferenceExample { public void calculate_difference_between_dates() throws ParseException { String currentDate= "10/24/2017"; Str...
34.307692
95
0.701794
fba48a52694160139b1c6e7369cd3aba743b847b
1,041
package cn.tycoding.admin.dto; import cn.tycoding.admin.enums.StatusEnums; import lombok.AllArgsConstructor; import lombok.Data; /** * @author tycoding * @date 2019-03-09 */ @Data @AllArgsConstructor public class ResponseCode { private Integer code; private String msg; private Object data; public...
22.148936
59
0.658021
609607501a538a0e833e5ce2849e580578e9258c
758
package com.simple.bz.model; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.*; import java.io.Serializable; @NoArgsConstructor @AllArgsConstructor @Data @Builder @Entity @Table(name="Application") public class ApplicationModel im...
20.486486
55
0.75066
5826f5239057507602e166c48216cb5c31f02be3
1,463
package com.liteworm.service.impl; import com.liteworm.beans.Other; import com.liteworm.service.SomeService; import com.liteworm.beans.Student; /** * @ClassName SomeServiceImpl * @Decription @TOTO * @AUthor LiteWorm * @Date 2020/4/18 21:29 * @Version 1.0 **/ public class SomeServiceImpl implements SomeService {...
25.224138
105
0.628845
9835e0e27a1078cc9908fd8f75dd58a04a58bef1
581
package me.philippheuer.twitch4j.enums; import lombok.Getter; /** * This enums data contains endpoints to Twitch Services * @author Damian Staszewski */ @Getter public enum Endpoints { API("https://api.twitch.tv/kraken"), // default version api is v5 PUBSUB("wss://pubsub-edge.twitch.tv:443"), IRC("wss://irc-ws....
21.518519
66
0.693632
bf188fa473a219a1a2ef168d86d90dba054f0b3d
7,795
package msfgui; /** * * @author scriptjunkie */ public class SearchDwldOptionsDialog extends OptionsDialog { /** Creates new form SearchDwldOptionsDialog */ public SearchDwldOptionsDialog(java.awt.Frame parent, String currentDir) { super(parent, "Schedule Task Options", true); initComponent...
46.676647
191
0.670173
8de3b18ec5878ae8d90e22bae5a2322afa34c9bc
5,234
package com.jarvis.cache.serializer.protobuf; import com.google.protobuf.Message; import com.jarvis.cache.reflect.lambda.Lambda; import com.jarvis.cache.reflect.lambda.LambdaFactory; import com.jarvis.cache.serializer.ISerializer; import com.jarvis.cache.to.CacheWrapper; import com.jarvis.lib.util.BeanUtil; import lom...
35.849315
156
0.631066
d19e0adc6ba5cb405ca7a8afef3adb31a2bfbfbb
1,979
/**************************************************************** * 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...
40.387755
74
0.582112
caa1d6418059ecd9e1a30fb302891804321982ae
206
package com.attendance.dto; public class Join { private String code; public String getCode() { return code; } public void setCode(String code) { this.code = code; } }
14.714286
38
0.597087
872392d6fd991966f9578002a38feec0cc725f53
2,169
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.easyea.edao; import com.easyea.edao.exception.EntityException; import java.lang.reflect.Field; import java.sql.Connection; import java.util.List; /** * 定义由持久化Bean生成数据库创建语句的接口 * @author louis */ public in...
27.807692
79
0.666206
02336a6a33cba8838b4cfee433dbe2a196a08916
2,106
package net.simpvp.Misc; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.World.Environment; import java.util.HashMap; import java.util.UUID; /** * Shortcuts for logb...
26
96
0.681387
eb1a905a1e6100a195ff9a29d117b6b5338128aa
1,387
package io.sphere.sdk.payments.queries; import io.sphere.sdk.payments.TransactionState; import io.sphere.sdk.payments.TransactionType; import io.sphere.sdk.queries.*; final class TransactionCollectionQueryModelImpl<T> extends QueryModelImpl<T> implements TransactionCollectionQueryModel<T> { public TransactionColl...
26.673077
124
0.701514
25f229367344f4e31ada582b99cc34eb03b8f303
3,722
package Webmagic.AutoHome.sigit_country; /***Created by moyongzhuo *On 2018/4/28 ***10:26. ******/ import org.apache.commons.io.FileUtils; import org.junit.Test; import us.codecraft.webmagic.Page; import us.codecraft.webmagic.Site; import us.codecraft.webmagic.Spider; import us.codecraft.webmagic.proc...
39.178947
274
0.59726
4c503d3091148737ac360bf20b00db8d37259b04
3,564
/* * 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...
61.448276
159
0.810606
57c29460cfebc9cef08879c53d5bad41224a9269
67
package lk.ijse.controller; public class DashBoardController { }
11.166667
34
0.791045
bd7b66ed2af27f948b1e069442827a47e03676ae
777
package com.sonic.controller.models.http; import io.swagger.annotations.ApiModelProperty; import javax.validation.constraints.NotNull; /** * @author ZhouYiXun * @des * @date 2021/10/13 18:45 */ public class ChangePwd { @NotNull @ApiModelProperty(value = "旧密码", required = true, example = "123...
21
74
0.617761
5e339e769d7281757f2f61ccea3acf11a213abb3
418
package com.sanardev.instagramapijava.model.direct.messagetype; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import java.util.List; public class FbUserTags { @SerializedName("in") @Expose private List<Object> in = null; public List<Object> getIn() {...
18.173913
63
0.679426
c46dfbbe85d95801ffaec4249478e3b732dfd06b
344
package pl.kkowalewski.recipeapp.exception; import java.io.IOException; public class ImageNotSavedException extends IOException { public ImageNotSavedException() { } public ImageNotSavedException(String message) { super(message); } public ImageNotSavedException(Throwable cause) { ...
19.111111
57
0.712209
e8ac159c63b49c91f82a1b3693a58b93e0e64a7b
1,648
package com.skycloud.jkb.component; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; /** * 对配置属性文件的读取. * * @creation 2014年3月31日 下午1:54:18 * @modification 2014年3月31日 下午1:54:18 * @company Skycloud * @author xiweicheng * @version 1.0 * */ @Component p...
21.684211
63
0.752427
bf4991444b05fe217e908adb412a242590a8ffee
1,299
package com.ruoyi.project.house.service; import com.ruoyi.project.house.domain.NonStreetHouse; import java.util.List; /** * 非沿街住改非房屋业务层 * * @author ruoyi */ public interface INonStreetHouseService { /** * 根据条件分页查询非沿街住改非房屋数据 * * @param NonStreetHouse 非沿街住改非房屋 * @return 价格数据集合信息 */ ...
19.681818
88
0.648961
6bdc34078c697ad4ed476c25d6928d466036e36d
9,433
/** * Copyright 5AM Solutions Inc, ESAC, ScenPro & SAIC * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/caintegrator/LICENSE.txt for details. */ package gov.nih.nci.caintegrator.application.study; import static gov.nih.nci.caintegrator.TestDataFiles.INVALID_FILE_DOESNT_EX...
49.387435
125
0.754373
266a2d9adeaf796ab93ccb8fba1f0e66425bf54f
3,555
// Copyright 2017 Archos SA // // 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 w...
33.857143
86
0.617722
bf3e11d124cff2ca6c03823f04c6482e835703f5
3,230
package com.yunnex.ops.erp.modules.store.basic.entity; import com.yunnex.ops.erp.modules.store.advertiser.entity.ErpStoreAdvertiserFriends; import com.yunnex.ops.erp.modules.store.advertiser.entity.ErpStoreAdvertiserWeibo; import com.yunnex.ops.erp.modules.store.pay.entity.ErpStoreBank; import com.yunnex.ops.erp....
36.292135
401
0.741486
133e85259580ebc284aee0491ea8acac5548f53f
562
package com.spring.ex.inquiry.repository; import java.util.List; import javax.inject.Inject; import org.apache.ibatis.session.SqlSession; import org.springframework.stereotype.Repository; import com.spring.ex.inquiry.domain.AnswerVO; import com.spring.ex.inquiry.domain.InquiryVO; @Repository public cl...
22.48
69
0.772242
4ee75470df311061002aab387bd6ca3309ecbedd
1,504
package com.iph.directly.domain; import android.support.annotation.NonNull; import com.google.android.gms.tasks.OnCompleteListener; import com.google.android.gms.tasks.OnFailureListener; import com.google.android.gms.tasks.Task; import com.google.firebase.database.DatabaseReference; import com.google.firebase.databas...
34.181818
127
0.730718
a467d375d5f7aed8190f16923e27a61a5642940a
612
package com.tomekl007.chapter_1; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations.Mode; import org.openjdk.jmh.annotations.OutputTimeUnit; import java.util.concurrent.TimeUnit; /** * run with java -jar target/benchmarks.jar MyBenchma...
22.666667
80
0.704248
61a5ef4ed3b13e6a525eda630a8095be8c2c2a61
7,951
// 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.drive; import edu.wpi.first.math.controller.HolonomicDriveController; import edu.wpi.first.math.contr...
36.981395
100
0.741542
3d3011b943911ff145c3efcf68be7bf3fe94fa0e
439
package uk.gov.hmcts.reform.prl.models.dto.ccd; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Builder; import lombok.Data; @Data @JsonIgnoreProperties(ignoreUnknown = true) @Builder public class CaseDetails { @JsonProperty("id") ...
20.904762
61
0.774487
5d12c121005cd346d7c08c82e716f07ca7e2a326
1,836
package com.pokepoint.service; import com.pokepoint.domain.TypePokemon; import com.pokepoint.exception.DataIntegrityException; import com.pokepoint.exception.ObjectNotFoundException; import com.pokepoint.repository.TypePokemonRepository; import org.hibernate.exception.ConstraintViolationException; import org.springfra...
32.785714
109
0.723856
ee997c246850782522900cd0d362c5638a6f003a
1,328
package com.wpx.exception; /** * @author 不会飞的小鹏 * GitHub登录模块错误信息 */ public enum GitHubLoginExceptionMessage implements IExceptionMessage { /** * GitHub登录AccessToken获取异常 */ GITHUB_ACCESS_TOKEN_REQUEST_ERROR(5001, GitHubLoginErrorCodes.GITHUB_ACCESS_TOKEN_REQUEST_ERROR, GitHubLoginMessageCodes.GITH...
18.444444
160
0.620482
6ca648c5c9b3d56067dd1245fd22e31190560948
2,929
/* * Copyright (c) 2021, the hapjs-platform Project Contributors * SPDX-License-Identifier: Apache-2.0 */ package org.hapjs.common.utils; import android.graphics.Bitmap; import android.graphics.Canvas; import android.net.Uri; import android.text.TextUtils; import android.util.Log; import android.view.View; import ...
34.05814
95
0.598156
c9f313a5759c437d9b698da597efe6a168146df6
754
package com.example.domain; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import lombok.Data; @Data @Entity @Table(name="city") public class City implements Serializ...
18.390244
52
0.725464
90bacbacf96c6ea60a0b5562705a60957a61d312
3,025
/* * 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 ...
40.878378
100
0.767934
dbf9d1447287f1cd40001b1cec15b018c73373a0
422
package com.auth0.microblog.identity; import javax.security.enterprise.CallerPrincipal; public class Auth0Principal extends CallerPrincipal { private String id; private String picture; Auth0Principal(String id, String name, String picture) { super(name); this.id = id; this.picture = picture; } ...
18.347826
58
0.706161
4bf5d582cff62ee496300c422332ec6f9cd93150
1,043
/* 9:24 pm 07/05/2021 John Russ Alejandro */ import java.util.Scanner; public class Alejandro_SFT { public static void main(String[] args) { Scanner txtmsgs_input = new Scanner(System.in); System.out.println("SFT! How many text messages? : "); int txtmsgs_number = txtmsgs_input.nextInt(); //If m...
27.447368
116
0.662512
1dc5bee5a0ec0f3548bebd989d27aab1c561cbc5
1,187
package ru.otus.spring.quiz.shell; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.mock.mockito.Mock...
28.95122
62
0.738837
eebf93a3cf1b56b3b79a1933d4d6b79333a77468
3,145
/* L2jFrozen Project - www.l2jfrozen.com * * 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 Foundation; either version 2, or (at your option) * any later version. * * This program is distributed in ...
31.138614
294
0.663593
d24813b2a0b7ed9e3afbdda5dbcac442b331d340
7,573
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/** * 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 ...
18.425791
804
0.781196
03173d7a7f1dd38b47f107ea8d3db330df27721f
372
package com.yimuziy.mall.product.dao; import com.yimuziy.mall.product.entity.SkuImagesEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * sku图片 * * @author yimuziy * @email yimuziy@gmail.com * @date 2020-11-26 17:13:16 */ @Mapper public interface Sk...
20.666667
67
0.768817
dbee6194e0188ab01dc8b079dc609668b88a575a
992
package aceim.app.view.page.contactlist; import java.util.List; import aceim.app.MainActivity; import aceim.app.dataentity.ProtocolResources; import aceim.app.themeable.dataentity.ContactListItemThemeResource; import aceim.app.view.page.contactlist.ContactListUpdater.ContactListModelGroup; import android.view...
38.153846
123
0.80746
9512de8179c9e9be0c62dddc1c6e425b70e73dc1
331
package com.sia.main.web; import com.sia.main.domain.Modul; import com.sia.main.plugin.modul.Accessable; public class AdministratorModule extends Modul implements Accessable { private String url; @Override public void setUrl(String url) { this.url = url; } @Override public String getUrl() { return this....
15.761905
70
0.73716
992fc5822d10989effc5650a3c20a4d39bbc0c05
3,527
package info.iconmaster.minethecrafting.screens; import com.mojang.blaze3d.matrix.MatrixStack; import com.mojang.blaze3d.systems.RenderSystem; import info.iconmaster.minethecrafting.MineTheCrafting; import info.iconmaster.minethecrafting.containers.ContainerArtificersTable; import info.iconmaster.minethecrafting.tes....
54.261538
119
0.670825
e3ffb0f0326e1fda8acc9199888b9ad5b9daefc1
374
package io.iron.ironmq.keystone; public class KeystoneGetTokenResponse { Access access; public KeystoneGetTokenResponse() { } public KeystoneGetTokenResponse(Access access) { this.access = access; } public Access getAccess() { return access; } public void setAccess(A...
17.809524
52
0.647059
d9c10d79b1d221e04be2a876f6dce4541c9ae6ff
2,198
/* * Copyright 2011 <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</a> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2....
33.30303
98
0.615105
2a6ee35ec1833daa25140eb2ca6630cbd7266595
2,876
// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.security.tls; import com.yahoo.security.KeyAlgorithm; import com.yahoo.security.KeyStoreBuilder; import com.yahoo.security.KeyStoreType; import com.yahoo.security.KeyUtils; import com.yaho...
44.246154
129
0.759736
120246bd7de945cacc5db76b9235fd6dd85187cc
4,390
package codecup2018; import codecup2018.evaluator.CountingEvaluator; import codecup2018.data.BitBoard; import codecup2018.data.Board; import codecup2018.evaluator.MedianFree; import codecup2018.movegenerator.MaxInfluenceMoves; import codecup2018.player.AspirationTablePlayer; import codecup2018.player.NegaMaxPl...
44.795918
234
0.633713
75dd4c7e4945241a2d55161e72aba407ccfa214b
855
package com.zsw.tbretrofit.databox; /** * @描述: - * - * @作者:zhusw * @创建时间:17/11/21 下午2:21 * @最后更新时间:17/11/21 下午2:21 */ public class PostDataUtils { public static SiginParameter getSiginParameter(){ SiginParameter loginParameter = new SiginParameter(); loginParameter.setClient_flag("android")...
28.5
73
0.68538
33ad8510791b2cc29f8a590aa3659e49b9f827e4
2,363
import java.util.ArrayList; import java.util.ListIterator; //import javax.swing.text.html.HTMLDocument.Iterator; /** * This class implements three methods. These test an array on a few * characteristics. * * @author AlgoDat-Tutoren * */ public class ArrayCheck { /** * Tests all elements of the given array, ...
25.684783
78
0.591198
33b9b0f5bb8da337a6c20f9e48aadff36474fda2
2,025
package com.wenhaiz.himusic.http.request; import android.support.annotation.NonNull; import com.wenhaiz.himusic.http.HttpCallback; import com.wenhaiz.himusic.http.HttpMethod; import com.wenhaiz.himusic.http.HttpUtil; import java.lang.reflect.Type; public abstract class BaseRequest<T> { private BaseDataCallback<...
26.298701
77
0.581235
1e06ccaddb4676383cc65346332ae8ef34bd5a6e
4,056
package com.gratex.perconik.useractivity.app.watchers; import javax.inject.Singleton; import javax.ws.rs.Consumes; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.core.UriBuilder; import com.gratex....
40.56
146
0.755178
56f3e3e30d87087302fce99b65abb787d159526b
4,524
public class Sarki { private int id; private String sarki_adi; private int tarih; private String ad; private String sanatci_adi; private int sanatci_id; private int album_id; private String album_adi; private int tur_id; private String tur_adi; priva...
21.961165
184
0.605659
88cdaf24c95be2eda1c4a607f27732d20063c56b
843
package com.tazine.thread.cooperate.cases.bank; /** * BankAccount * * @author frank * @date 2017/12/18 */ public class BankAccount { private String name; private double balance; public BankAccount(String name, double balance) { this.name = name; this.balance = balance; } pub...
17.93617
53
0.563464
10b8e246b2a4615d9556a9f52046acb06ed521f1
1,573
package io.pity.bootstrap.publish.html; import io.pity.api.StopExecutionException; import io.pity.api.reporting.CollectionResults; import io.pity.api.reporting.ReportPublisher; import io.pity.bootstrap.publish.markdown.MarkdownCreator; import org.apache.commons.io.FileUtils; import org.apache.commons.io.IOUtils; impor...
34.195652
91
0.744437
f826956bb51a3daa20b485cd60089d3ba903daa3
3,138
package org.jjche.security.auth; import org.jjche.security.auth.sms.SmsCodeAuthenticationToken; import org.springframework.security.authentication.AccountExpiredException; import org.springframework.security.authentication.AuthenticationProvider; import org.springframework.security.authentication.DisabledException; im...
31.069307
118
0.700127
c1d1a89193376cd2b39ff21dbd038d0a4bc9e198
126
/** * Annotation support for actuator web endpoints. */ package org.springframework.boot.actuate.endpoint.web.annotation;
18
65
0.769841
10cb31ae472f06c45316b3d480e16980dce0c444
932
package br.com.projeto.Servlet; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import br.com.projeto.DAO.ComentarioDAO; @WebServlet(...
24.526316
83
0.763948
c7a9e39f3c14e99e6b275648a9e666aa6d6103f7
839
package com.customeraccount.composite.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service public class CustomerAccountManagementProcessor { @Autowired private OperationsHandler operationsHandler; @Autowired private FallbackOperationsHa...
23.971429
72
0.840286
ea694f1d1a5878aa5d415986f058a88026f582d7
6,325
package io.resys.hdes.aproc; import java.io.BufferedWriter; /*- * #%L * hdes-maven-plugin * %% * Copyright (C) 2020 Copyright 2020 ReSys OÜ * %% * 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 L...
39.779874
164
0.730435
fe39cbda9ef9ef199b16b303ec3def10f8fe651e
473
package com.pluralsight.corejdbc.m5c3; public class Main { public static void main(String[] args) throws Exception { try { HrComponent comp = new HrComponent(); int key = comp.addEmployee( "Williams", "Roger", "x104", "rwilliams@classicmodelcars.com", "3", "Sales Manager (NA)"); System....
21.5
65
0.672304
ffca95aef280c85e145b1bd7a5021794545faa77
1,019
package com.InfinityRaider.AgriCraft.api.v1; import com.google.common.hash.Hashing; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; public class ItemWithMeta { private final Item item; private final int meta; public ItemWithMeta(Item item, int meta) { this.item = item; ...
21.680851
68
0.58685
470d81079871c66c5db14c9818d9139b604ddd07
456
package frc.lib; import edu.wpi.first.wpilibj2.command.Subsystem; public interface ODN_State extends Subsystem { /** * Sets a new goal position for the subsystem * @param pos New goal position */ public void setGoalLocation(double pos); /** * Checks whether the subsystem has reached the goal locati...
21.714286
63
0.721491
6a6725aa29d3c16e29c9a2f62ed082b838bc9683
269
/* org.deviceconnect.message.intent.message Copyright (c) 2016 NTT DOCOMO,INC. Released under the MIT license http://opensource.org/licenses/mit-license.php */ /** * Intent用 Device ConnectのAPIを利用するためクラスを提供する。 */ package org.deviceconnect.message.intent.message;
24.454545
49
0.773234
d87875b9a994cae2dc5a4137abf01e724d161319
840
package com.oath.cyclops.internal.stream.spliterators.push.filter; import cyclops.reactive.Spouts; import org.reactivestreams.Publisher; import org.reactivestreams.tck.PublisherVerification; import org.reactivestreams.tck.TestEnvironment; import org.reactivestreams.tck.support.PublisherVerificationRules; import org.t...
24.705882
119
0.794048
253149c5ef55a8201c076ac3e2f567e37220c39a
2,565
/** * @Project zuul-server * @Package com.cloud.filter * @FileName SsoFilter.java */ package com.cloud.filter; import java.io.IOException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRes...
37.173913
121
0.709942
0e25f3e4ffba4ebb664bb7467c9a66dea26bff80
720
package com.bluedragon.guavalearning.preconditions; import com.google.common.base.Preconditions; /** * @author CodeRush * @date 2019/7/27 20:39 */ public class PreconditionsTest { public static void main(String[] args) { String arg = "1"; Preconditions.checkArgument(arg.equals("1")); // ...
26.666667
63
0.651389