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
487b486ce28d9172657cbc8f4f5d4b35d853e56d
1,006
/** * */ package com.app.sa.joinThreads; /** * @author iHSPA */ public class JoinThreadsB implements Runnable { @Override public void run ( ) { String name = Thread.currentThread ( ).getId ( ) + "===JoinThreadsB===" + Thread.currentThread ( ).getName ( ); /* * Consider this as ...
27.944444
120
0.550696
6ee0ca7244bd7f1f5967c72a70d34c0f6d325d64
32,032
package codes.biscuit.skyblockaddons.utils; import codes.biscuit.skyblockaddons.SkyblockAddons; import codes.biscuit.skyblockaddons.constants.game.Rarity; import codes.biscuit.skyblockaddons.utils.nifty.ChatFormatting; import codes.biscuit.skyblockaddons.utils.nifty.RegexUtil; import codes.biscuit.skyblockaddons.utils...
47.808955
340
0.609016
ab4e23a12c89699bfbad405eb7db63c885daba3f
1,990
/* * Copyright 2011 The Kuali Foundation. * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl2.php * * Unless requir...
31.09375
106
0.71005
484bcf8824c73cd1e2b53fbfcdcd47092d0d3928
3,921
/* * 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.404959
160
0.65774
6fa0499173796bb24a57f39573e0d0ee59c7e2c7
3,512
/** * 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"...
43.358025
91
0.684795
9008069396128fac2d806aab1dbd40198b9fe663
1,688
package org.jayhenri.store_manager.model.inventory; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import org.jayhenri.store_manager.model.item.Item; import org.jayhenri.store_manager.model.store.Store; import javax.persistenc...
26.375
83
0.69609
445b0c82712b6daf948f2cb54b5b450821c72f7e
1,810
/** * (C) Copyright IBM Corp. 2010, 2015 * * 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 a...
21.547619
126
0.714917
502ed2e2142fe157c2626c4ff68adf49a5825ac3
11,619
/* * Copyright (c) 2008-2013, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
45.924901
158
0.624236
f6221e658adf761c2473baaefed2fdb204ffdb28
956
package com.silwings.vod.starter.service; import com.silwings.vod.starter.pojo.vod.dto.VideoMessageDto; import org.springframework.web.multipart.MultipartFile; /** * @author CuiYiXiang * @Classname VideoService * @Description TODO * @Date 2020/7/30 */ public interface VideoService { /** * description: 获...
20.782609
68
0.621339
96cebbf1222a8181049f94468edec0157c3b6bb6
604
package com.ruidev.framework.exception; /** * 系统异常封装类 */ public class SysException extends BaseException { private static final long serialVersionUID = 1L; /** * 构造函数:出错信息码 * * @param errorId * 出错信息码 */ public SysException(int errorId) { super(errorId); } /** * 构...
15.487179
57
0.561258
85720ec2937c1cb32285255fb8a87cd4bd2939e0
5,357
package com.ios.backend.controllers; import java.util.ArrayList; import java.util.List; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.secu...
41.527132
156
0.746127
c36c9f8629fac4415608db0569116d33545d408c
716
/** * 描述:源数据程序入口 * 包名:com.lvmoney.pay.gateway.application * 版本信息: 版本1.0 * 日期:2018年9月30日 上午8:51:33 * Copyright XXXXXX科技有限公司 */ package com.lvmoney.frame.sync.canal.common.application; import com.lvmoney.frame.sync.canal.common.annotation.EnableCanalClient; import org.springframework.boot.SpringApplication; impo...
25.571429
72
0.755587
c3c82ce4c6cf4970d4763d6319b5079d579bbf96
974
package stack_and_queue; import java.util.ArrayList; import java.util.List; public class FirstNonRepeatingCharacter { public String firstNonRepeating(String s) { final int[] arr = new int[26]; StringBuilder result = new StringBuilder(); List<Character> nrc = new ArrayList<>(); for...
27.828571
124
0.554415
cb8e275241477a288000dc398468b8f0b81bc077
3,290
/** * Project Name:kafa-wheat-core * File Name:UserDO.java * Package Name:com.kind.perm.core.domain * Date:2016年6月6日下午5:37:27 * Copyright (c) 2016, weiguo21@126.com All Rights Reserved. * */ package com.kind.perm.core.domain; import java.io.Serializable; import java.util.Date; /** * Function: 用户. <br/> * Dat...
15.022831
67
0.669909
5ebddcd0f74b28e43731e344949377801abc98b4
424
package com.aminebag.larjson.configuration; import java.lang.reflect.Method; /** * @author Amine Bagdouri * * A factory of {@link PropertyConfiguration} */ public interface PropertyConfigurationFactory { /** * @param getter getter method * @return a property configuration corresponding to the given...
23.555556
113
0.726415
109b0944b5cd244fbf1d07540947ff658601092a
1,211
package com.litiengine.gurknukem.entities; import de.gurkenlabs.litiengine.Direction; import de.gurkenlabs.litiengine.Game; import de.gurkenlabs.litiengine.entities.Creature; import de.gurkenlabs.litiengine.entities.IEntity; import de.gurkenlabs.litiengine.entities.behavior.IBehaviorController; public class EnemyCont...
29.536585
86
0.744013
87278073228a6423b07af3e28352478e87ba280b
2,758
package com.commercetools.payment.domain; import com.commercetools.payment.model.CreatePaymentData; import com.commercetools.payment.model.HttpRequestInfo; import io.sphere.sdk.carts.Cart; import io.sphere.sdk.client.SphereClient; import io.sphere.sdk.customers.Customer; import org.junit.Before; import org.junit.Test;...
37.27027
163
0.729877
70d0853cc6d96be0e387aec09ffaf965386268b9
2,905
package de.lieferdienst.controllers.productManagment; import de.lieferdienst.model.errors.NotFounfException; import de.lieferdienst.model.productManagment.Category; import de.lieferdienst.model.productManagment.Restaurant; import de.lieferdienst.repository.storage.CategoryRepository; import de.lieferdienst.repository...
39.794521
113
0.71704
ad1f541d9d3887279d27a0989ec65fab85a293c8
7,219
package org.consenlabs.tokencore.foundation.crypto; import junit.framework.Assert; import static org.junit.Assert.*; import org.consenlabs.tokencore.wallet.model.Messages; import org.consenlabs.tokencore.wallet.model.TokenException; import org.consenlabs.tokencore.foundation.utils.NumericUtil; import org.consenlabs....
37.598958
119
0.748165
f8ff14255df3d1c28159ceaeb51330c066b639b6
793
package com.xjldtc; import java.util.Arrays; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.ApplicationContext; @SpringBootApplication //@MapperScan({"com.xjldt...
30.5
77
0.778058
21694f3da90aa03d28f1156c357450a8e5304708
2,167
package org.enricogiurin.codingchallenges.pramp; /* Shifted Array Search A sorted array of distinct integers shiftArr is shifted to the left by an unknown offset and you don’t have a pre-shifted copy of it. For instance, the sequence 1, 2, 3, 4, 5 becomes 3, 4, 5, 1, 2, after shifting it twice to the left. Given shift...
36.116667
118
0.550069
9d0eae7c85221e9239bb57d6baa3c1b8ff135f3f
7,173
/* * Copyright 2019 OPS4J. * * 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 wr...
37.359375
154
0.720758
f3b936e4390424d34e4883bdc65e1fafef87b380
813
package laicode.dfsII; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class AllSubsetsII { public List<String> subSets(String set) { List<String> res = new ArrayList<>(); if (set == null) return res; char[] array = set.toCharArray(); Arrays.sort(array); String...
26.225806
84
0.622386
55f50fc57e7ebaf7e72ce7cd40a9ee8ac085b03a
185
package syncer.replica.rdb.datatype; import java.io.Serializable; /** * @author zhanenqiang * @Description 描述 * @Date 2020/8/7 */ public interface Module extends Serializable { }
15.416667
46
0.72973
a16a0b4520565c23b0e8c90432089a32d09ebca1
2,513
package com.knowledge_network.user.dao.impl; import com.knowledge_network.knowledge_network.entity.Course; import com.knowledge_network.support.base.BaseHibernateDAO; import com.knowledge_network.user.dao.StudentDAO; import com.knowledge_network.user.entity.Clazz; import com.knowledge_network.user.entity.Student; impo...
22.238938
121
0.649821
a95a75fc54898365f7152a450ac7955f9efedc67
6,080
/* * Copyright 2000-2001,2004 The Apache Software Foundation. * * 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 requir...
38.726115
105
0.697533
d884b869348f2d3cbfd41766e4249fea4b066258
2,702
/*- * ============LICENSE_START======================================================= * ONAP * ================================================================================ * Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. * ==================================================================...
39.735294
113
0.647668
90703f6021319b2bca29e010232c76fb75803480
18,451
package org.jivesoftware.openfire.admin; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import org.jivesoftware.util.JiveGlobals; import org.jivesoftware.util.LocaleUtils; import org.jivesoftware.util.Log; import org.jivesoftware.util.ParamUtils; import java.util.HashMap; import java....
56.772308
509
0.612325
1416778c4b865cac657803d9511d49ef49a6e3e7
906
/* Generated SBE (Simple Binary Encoding) message codec */ package mktdata; public enum SecurityUpdateAction { /** * Add */ Add((byte)65), /** * Delete */ Delete((byte)68), /** * Modify */ Modify((byte)77), /** * To be used to represent not present or n...
16.472727
70
0.513245
29bd230c517fe6fbc0474b1f7c9d1e0ad3224ced
809
package org.dddjava.jig.infrastructure.logger; import org.dddjava.jig.domain.model.jigmodel.analyzed.Warning; import org.dddjava.jig.infrastructure.resourcebundle.Utf8ResourceBundle; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ResourceBundle; public class MessageLogger { private fi...
26.966667
72
0.715698
8b1d477c7f3ccb3dc2677bbed48f7ce5cc556ded
671
package org.reboot.server.core; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.*; import org.reboot.server.route.*; import org.reboot.server.client.*; import org.reboot.server.util.*; class Main { public static void main(String []args) { Logger log = LoggerFactory.getLogger(Mai...
25.807692
96
0.660209
76a8578d486c3ab0f51f66f561b5cdf606fb4490
1,703
package jim.android.mainFrame; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Toast; import jim.android.Splash.R; /** * Created by huangjim on 8/14/2015. */ public class FragmentMore...
25.80303
103
0.608925
539a0399a9b4b61a02cbc4d1a8508a1256cdbeef
1,701
package net.ssehub.kernel_haven.test_utils; import java.io.File; import java.io.IOException; import java.util.HashSet; import java.util.Set; import net.ssehub.kernel_haven.analysis.PipelineAnalysis; import net.ssehub.kernel_haven.util.io.ITableCollection; import net.ssehub.kernel_haven.util.io.ITableReader; import ne...
27
119
0.697237
e3420011d262db2246eaae241b5a3c06d7dc7c44
4,715
/* * BSD 2-Clause License * * Copyright (c) 2021, Vladimír Ulman * 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 noti...
41.725664
96
0.703075
5542902183306bbdf0977222cfc62f6c8cb54dbe
2,396
package org.ihtsdo.buildcloud.rest.controller; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.ihtsdo.buildcloud.rest.controller.helper.HypermediaGenerator; import org.ihtsdo.buildcloud.rest.security.IsAuthenticatedAsGlobalAdmin; import org.ihtsdo.buildcloud.core.service.Permi...
41.310345
96
0.801336
bfeb5ee23ec50f2ac2738402f51252bb3b43cbe8
1,321
package fi.aalto.cs.apluscourses.model; import fi.aalto.cs.apluscourses.utils.Event; import org.jetbrains.annotations.NotNull; public class Progress { private int value = 0; private int maxValue; private String label; private final boolean indeterminate; public final Event updated = new Event(); /** *...
19.426471
79
0.671461
64ba8093d7442687f7544f457eb154a1f536411f
1,243
package algorithm.quickselect.quickselect; import java.util.Random; import algorithm.quickselect.quicksort.QuickSort; /** * QuickSelect * * Ensure the selection of n-th member at cost of O(n) * * @author Administrator * * @param <Key> */ public class QuickSelect<Key extends Comparable> exte...
23.018519
70
0.663717
0f994e66fd7a6b4c80df28b58e434fe24e7940f4
3,571
/* * Copyright 2017 B2i Healthcare Pte Ltd, http://b2i.sg * * 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 ...
35.009804
119
0.768692
19f6ef4354ff665e666a85e68478ab5baf25b047
256
package mods.defeatedcrow.api.appliance; import net.minecraft.item.ItemStack; /** * Jawplateを作成する場合に実装するインターフェイス */ public interface IJawPlate { // 一回使用される度に呼ばれるメソッド ItemStack returnItem(ItemStack item); // Tier設定 int getTier(ItemStack item); }
15.058824
40
0.765625
df9a6ae075eb5de3f2b183992491de077e314f68
2,619
package it.at7.gemini.boot; import it.at7.gemini.api.Api; import it.at7.gemini.auth.api.AuthModuleAPI; import it.at7.gemini.auth.core.AuthModule; import it.at7.gemini.core.Gemini; import it.at7.gemini.gui.Gui; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.Banner; import org.s...
40.921875
146
0.712486
64072725f58b15ae21a387c10f0ce1ef6a86b223
1,033
package ru.job4j.sbulygin.condition; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * Class DummyBotTest. * @author sbulygin. * @since 02.08.2018. * @version 1.0. */ public class DummyBotTest { /** * Test greet answer. */ @Test ...
20.254902
70
0.518877
c83724f91d7fd587aaf7874d79b3716b39cc9634
567
package org.camunda.bpm.example.bpmntransaction.bpmntransaction; import org.camunda.bpm.engine.delegate.BpmnError; import org.camunda.bpm.engine.delegate.DelegateExecution; import org.camunda.bpm.engine.delegate.JavaDelegate; public class CancelBookingDelegate implements JavaDelegate { @Override public void execut...
24.652174
84
0.791887
d388519e44d43447f8ae2b95db9665a7d430fb3f
5,663
package duy.phuong.handnote.Fragment; import android.graphics.Point; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.View; import android.webkit.WebView; import android.webkit.WebViewClient; import android.widget.LinearLayout; import java.io.IOException; import java.util.Arra...
35.616352
118
0.597033
92057a66d1ea491651d99990f9c5061857e57e65
686
/* * Copyright (C) 2016 Andrea Binello ("andbin") * * This file is part of the "Java Examples" project and is licensed under the * MIT License. See one of the license files included in the root of the project * for the full text of the license. */ package javaexample; public class StandardFontsDemoPdfMain { pu...
27.44
82
0.715743
8b32db2837d2cb67868f8664021ba32771fdcd11
2,201
/* * 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 ...
31.898551
87
0.686506
ba099d776aa2abf7623ec112d97fc2345b63d55f
3,798
package com.kika.simplifycontacts.ui.fragment; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.w...
33.610619
95
0.707214
75bded793881d536cde72fb575892cf94bbfe10a
348
package buffer; public class BCB { public BCB(int page_id2, int frame_id2, boolean b, int i, boolean c) { page_id = page_id2; frame_id = frame_id2; latch = b; count = i; dirty = c; // TODO Auto-generated constructor stub } public int page_id; public int frame_id; public boolean latch; public int coun...
19.333333
71
0.701149
4cb1ee55d69b5097a8816d3c3366bc975b25cf8b
5,905
/******************************************************************************* * Copyright 2012-present Pixate, 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://w...
36.90625
131
0.636749
fe31463f297d55baca883183023bf09af5bc4484
377
package com.gxitsky.structural.bridge.message; /** * @author gxing * @desc 告警类型 * @date 2021/6/18 */ public class WarnMessage extends AbstractMessage { public WarnMessage(IMessage iMessage) { super(iMessage); } @Override void sendMessage(String content) { System.out.println("-----...
18.85
50
0.64191
451c94dcaf324a0668fbd1422b2a3741d9b85496
3,142
/* Title : Find the transpose of the matrix . User needs to provide the number of rows and columns . And the user needs to provide the elements of the matrix . User will get the transpose of the matrix . i.e Row elements become the column elements and vice- versa . ...
20.807947
117
0.480586
2668bec0117ceec74226ac286a2f212e3ea6ea6d
201
public interface ISortAlgorithm { /** * 排序算法的名字 * * @return */ String getName(); /** * 排序算法的实现 * * @param arr 待排序数组 */ void sort(int[] arr); }
11.823529
33
0.442786
4ad87609ff7ca37961d41a6aaae30865f60d6096
1,546
package io.github.picodotdev.blogbitix.javaexception; import io.vavr.control.Either; import io.vavr.control.Try; import java.util.Optional; import java.util.concurrent.TransferQueue; public class Main { private static int errorCode(boolean error) { return (error) ? 1 : 0; } private static Optio...
27.122807
128
0.587322
c092449a6fb01c33bf3b526d9ef8d423d3debe10
2,029
package com.nbs.iais.ms.meta.referential.db.services; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.nbs.iais.ms.common.db.domains.translators.Translator; import com.nbs.iais.ms.meta.referential.common.messageing.queries.process.document.GetPro...
33.816667
112
0.782159
55fcf1dd6edd2798d3b3bea9ba317249eef5a6e4
6,780
/* * Copyright 2010 Outerthought bvba * * 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...
37.877095
115
0.634956
6450d2534c23c98eaec1ec89580fe74c87b00f3c
2,656
package frc.robot.subsystems; import edu.wpi.first.wpilibj.Encoder; import edu.wpi.first.wpilibj.RobotBase; import edu.wpi.first.wpilibj.RobotController; import edu.wpi.first.wpilibj.motorcontrol.Victor; import edu.wpi.first.math.controller.PIDController; import edu.wpi.first.wpilibj.simulation.ElevatorSim; import edu...
30.528736
90
0.747364
fa4d8055c2c280e74c4b2417a9cbf03d4769b927
2,300
package me.simple.domain; import me.simple.validator.group.Remove; import org.hibernate.validator.constraints.Length; import java.util.List; public class SysMenu implements java.io.Serializable { private int id; private int pid; private String viewname; private String url; private int srt; private boolean deleted; ...
18.852459
63
0.657826
b617a86a6798d2fa5ec05738f1d18d84c31b928c
3,484
package instrumentTest.model.dao; import android.location.Location; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import shike.app.helper.json.Jso...
29.525424
87
0.762916
32aa1a0412859d67f4877911bfef742d9ce6124a
5,163
package org.pipservices3.commons.reflect; import java.time.*; import java.util.*; import org.pipservices3.commons.convert.TypeCode; import org.pipservices3.commons.convert.TypeConverter; /** * Helper class matches value types for equality. * <p> * This class has symmetric implementation across all languages suppo...
38.244444
110
0.730777
f429a965cb1e4dcf6da1aa2fe97e6ff44ddf496d
349
package org.elsys.postfix.operations; import org.elsys.postfix.Calculator; public class BinaryPlus extends BinaryOperation { public BinaryPlus(Calculator calculator, String token) { super(calculator, token); } @Override public double binaryCalculate(double firstOperand, double secondOperand) { return firstO...
21.8125
75
0.790831
ab50a7468e858aa3b4a8cf5701824c03a1665428
733
package com.yhy.doc.excel.annotation; import org.apache.poi.ss.usermodel.IndexedColors; import java.lang.annotation.*; /** * 文档信息 * <p> * Created on 2019-05-02 16:51 * * @author 颜洪毅 * @version 1.0.0 * @since 1.0.0 */ @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Documented @Inherited public ...
17.878049
49
0.563438
57e54943cc44a49547219f1206a5d404c010561f
1,755
package synyx.coffee; import com.rabbitmq.client.*; import java.io.IOException; import java.util.Optional; import java.util.concurrent.TimeoutException; /** * Created by jayasinghe on 22/02/16. */ public class ReceiverApp { private static final String QUEUE_NAME = "DEMO"; public static void main(String[] ...
35.816327
103
0.611396
0ed6ac102d2a1f6917eaaa5b7b03e1d0dbf35760
978
package com.huiketong.cofpasgers.entity; import lombok.Data; import javax.persistence.*; /** * @Author:  ̄左飞 ̄ * @Date: 2018/12/25 21:24 * @Version 1.0 */ @Entity @Data public class Bank { @Id @GeneratedValue(strategy = GenerationType.AUTO) @Column(columnDefinition = "int(10) default 0") Integer id...
28.764706
92
0.682004
5bd9152546f1ae9826db86ddb6ff18cc81cfbcd0
819
package com.twokeys.moinho.entities; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; @Entity @Table(name="tb_operational_payment") public class OperationalPayment extends Payment { private static final long serialVersionUID = ...
24.818182
78
0.818071
475cbd71609b39740de469f64dcd14fbf441bc9d
135
/** * Package for calculate test task. * * @author sbulygin * @since 25.07.2018 * @version 1.0 */ package ru.job4j.sbulygin.calculate;
15
36
0.696296
70008a16e80e903a74b9c60865b311653ea287db
20,684
package de.tum.in.www1.artemis.service; import static de.tum.in.www1.artemis.security.AuthoritiesConstants.*; import java.security.Principal; import java.time.ZonedDateTime; import java.util.Optional; import javax.validation.constraints.NotNull; import org.springframework.stereotype.Service; import de.tum.in.www1....
49.840964
179
0.696867
a8c3d3fe52caf4498db8d2d75699be4c12665726
153
package io.vertx.starter.database; /** * Created by wujun on 2017/7/19. */ public enum ErrorCodes { NO_ACTION_SPECIFIED, BAD_ACTION, DB_ERROR }
13.909091
34
0.712418
c994e3f4c6d8b6506bc60b2123e4182a40626b70
4,494
package com.montefiore.gaulthiergain.adhoclibrary.datalink.service; import android.annotation.SuppressLint; import android.os.Looper; import android.os.Message; import android.util.Log; import com.montefiore.gaulthiergain.adhoclibrary.datalink.util.MessageAdHoc; /** * <p>This class defines the constants for connect...
39.078261
104
0.6166
bf4d222c393474bea381e30dbdb620d12e4b01fd
12,334
import java.util.*; import java.nio.*; import java.nio.channels.*; /** * Description of the Class * *@author Paul Nguyen *@created April 24, 2003 */ public class Volume { /** * Description of the Field * *@since */ public final static int VOL_ID_SIZE = 4;// 4 bytes /** * Descript...
26.754881
119
0.62048
aefe6aa82ba9ca45ac5137085a37beed95e6b273
2,804
package com.meandmyphone.chupacabraremote.ui.listeners; import android.widget.SeekBar; import android.widget.SeekBar.OnSeekBarChangeListener; import com.meandmyphone.chupacabraremote.network.ServerConnectionInfo; import com.meandmyphone.chupacabraremote.providers.impl.ClientContext; import com.meandmyphone.chupacabra...
41.850746
123
0.676534
b95dd142209c28423790c2a06e89fb8f3c8544d2
720
package com.outbrain.selenium.extjs.core.locators; import com.thoughtworks.selenium.Selenium; /** * @author Asaf Levy * @version $Revision: 1.0 */ public class ComponentIdLocator extends ComponentLocator { /** * Field componentId. */ private String componentId = null; /** * Constru...
20.571429
81
0.661111
14477ef1f6d93a2470a5d2ca81071d41b4be2bcb
5,439
/* Copyright (C) 2013-2021 Expedia 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 in wri...
29.559783
112
0.64442
6da832c54fc759dee185b1f9c080f7de8628c0cd
496
package com.bruno.caetano.dev.shoppingcart.entity.response.in; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.math.BigDecimal; import java.math.BigInteger; @Data @Builder @NoArgsConstructor @AllArgsConstructor public class GetItemResponse { ...
19.076923
62
0.816532
9836a2d6a96bf7971d2fdc79fbc581229dc04a4f
8,646
/* * Copyright 2017 - 2018 SoftAvail 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...
35.434426
102
0.685288
66e3b4bb83c68fc811d64ed8e5f44aab46ecf730
1,078
package jetbrains.mps.kotlin.behavior; /*Generated by MPS */ import org.jetbrains.mps.openapi.language.SAbstractConcept; import org.jetbrains.mps.openapi.model.SNode; import jetbrains.mps.scope.Scope; import jetbrains.mps.lang.smodel.generator.smodelAdapter.SNodeOperations; import jetbrains.mps.internal.collections.r...
46.869565
228
0.828386
50e7ba7c4b9e1283bd622328b7876e46dd48cc92
2,903
package com.smartmarket.activity.account; import android.content.Context; import android.content.Intent; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; import android.support.v4.app.Fragment; import android.support.v4.graphics.drawable.DrawableCompat; import android.widget.ImageView; i...
32.255556
127
0.65484
bdcb777f2379addaae1efb7ac78ddc04550376ac
1,449
package quickutils.core.services; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.AsyncTask; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import quickutils.core.QuickUtils; import quickutils.core.interfaces.OnEventListener; /** * C...
23.754098
88
0.621118
8a343a657d37531cf61dd1bf3fb1a2f7f8e965a1
4,271
/* * Copyright 2017 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...
43.581633
134
0.683681
2268f96428755d028204a8ed5c2a092699337745
12,908
/* * Copyright 2008-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
39.962848
115
0.750387
3538576cdcf8e9c14268f36e6ac670862688d804
3,637
package me.ANONIMUS.mcprotocol.network.protocol.packet.impl.server.status; import com.google.gson.Gson; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import me.ANONIMUS.mc...
43.297619
129
0.654385
898a2acd2480d414846b9a99f05f42ddd425290c
3,959
package net.teamio.taam.content.piping; import net.minecraftforge.fluids.FluidRegistry; import net.minecraftforge.fluids.FluidStack; import net.teamio.taam.piping.IPipe; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; /** * Created by oliver on 2017-07-04. */ public class...
34.426087
96
0.742864
b2a3b5649cfa33ec33495637c8802c4dd3ccad1b
1,670
/* * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
34.081633
130
0.786826
326724b41f46cb283bdc6d5b17d258c0a79c3fc9
4,035
package com.bloomberg.fx.web.rest; import java.nio.charset.StandardCharsets; import java.util.List; import java.util.stream.Collectors; import java.util.stream.Stream; import org.apache.commons.io.FilenameUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotati...
33.907563
116
0.748203
f1fe3561d1701f1468c5b92a842a3a8b97429a6b
423
package com.dynamicallyblunttech.cve.pojo.v1_0; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @NoArgsConstructor @AllArgsConstructor public class BaseMetricV3 { @JsonProperty private CvssV3 cvssV3 ; @Json...
21.15
53
0.794326
b3e2a662fcd3dd6706d59554ad45db5abab8bb49
466
/* * 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 mage.deck; import mage.cards.decks.Constructed; /** * * @author LevelX2 */ public class StarWarsBlock extends...
21.181818
80
0.656652
f58bc657049185421a23b0b2baf297a7d4e14c38
7,847
/** * Autogenerated by Thrift Compiler (0.12.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package io.github.avpinchuk.zipkin.thriftjava; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) public class zipkincoreConstants { /** * The client se...
41.518519
81
0.708424
2a5bfb8b12c5de07e946882afbd0e8faad6a5e39
1,545
/** * Copyright 2016 Toni Kocjan * * 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...
24.919355
89
0.724919
2e08a45e1750d9c58e9d0db6d8cdb0b8db34c8d4
2,343
/* * * Copyright 2020 github.com/ReflxctionDev * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
33
142
0.705506
54456fb6f43e12e3e1a207aa9b5b2365b53f25ff
445
package com.napier.sem; /** * Representation of a City */ public class City { /** * City ID Number */ public int city_no; /** * Name of City */ public String name; /** * 3 Character Identification Code from country */ public String country; /** * Cit...
13.484848
51
0.534831
313ae6049640ce8628f3bf58254d7ca94233be5f
237
package c99; public interface ISourceRange { public String getFileName (); public int getLine1 (); public int getCol1 (); public String getFileName2 (); /** Inclusive */ public int getLine2 (); /** Exclusive */ public int getCol2 (); }
16.928571
30
0.708861
868f2c292f4c2b9fc30b0378627c3303a939f73a
553
package org.bakasoft.framboyan.expect; import org.bakasoft.framboyan.test.TestCase; public class Expect_toEndWith extends TestCase {{ pass("String should end with prefix", () -> { expect("image.jpg").toEndWith(".jpg"); }); pass("String should not end with prefix", () -> { expect("image.jpg").not.toEndWi...
30.722222
56
0.64557
7b8f7b9ae5d6110a8fff93a5e3cfa8ce359f9449
4,477
package jp.ac.titech.cs.se.reqchecker.analyzer; import java.util.ArrayList; import java.util.List; import jp.ac.titech.cs.se.reqchecker.cabocha.Phrase; import jp.ac.titech.cs.se.reqchecker.cabocha.Sentence; import jp.ac.titech.cs.se.reqchecker.cabocha.Word; import jp.ac.titech.cs.se.reqchecker.model.Definition; impor...
36.104839
112
0.547018
e3d29d007d4decd11431fe28a75041ec10302d34
4,087
/** */ package ca.mcgill.cs.sel.ram; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Instantiation</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@...
40.068627
529
0.661855
c2870c24a481b85a4c432c9ff0d472700cc50ed4
1,945
/*- * << * DBus * == * Copyright (C) 2016 - 2017 Bridata * == * 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 * * U...
33.534483
116
0.706941
0e703302ce91db7bcf94d70dbaf89ed907d98295
2,051
package matrices.dosk48; import java.util.Random; public class Juego2048 { private int[][] tablero; public Juego2048() { tablero = new int[4][4]; inicializar(); System.out.println(this); moverDerecha(); } public void inicializar() { Random r = new Random(); int coordenadax = Math...
30.61194
98
0.575817
e4a286ebbbdba2b7846af3d71d6625d23d2ab119
246
package com.academic.academeet.domain.repository; import com.academic.academeet.domain.model.Schedule; import org.springframework.data.jpa.repository.JpaRepository; public interface IScheduleRepository extends JpaRepository<Schedule, Long> { }
30.75
76
0.845528
106cd4c81dbd8c40aa4a9b2532fc4624c5bbc700
276
package com.itlijunjie.openci.dao; import com.itlijunjie.openci.vo.User; public interface IUserDao extends IPageBaseDAO { /** * 根据用户名获取用户对象 * * @param username 用户名 * @return 返回用户对象 */ User loadByUsername(String username); }
17.25
49
0.626812
f088905341971e39d9a3e8f035536a3b9b1c734b
1,646
package msk.node.pre.spec.mzLimit; import org.knime.core.node.defaultnodesettings.DefaultNodeSettingsPane; import org.knime.core.node.defaultnodesettings.DialogComponent; import org.knime.core.node.defaultnodesettings.DialogComponentNumberEdit; import msk.util.SettingsModelCreate; /** * <code>NodeDialog</code> for ...
35.782609
96
0.786148
11b390da335a0ecc5d180bc2fba6cb812e6ade37
4,737
/* * Copyright 2015 The Energy Detective. All Rights Reserved. */ package com.ted.commander.client.view.billing; import com.google.gwt.place.shared.Place; import com.google.gwt.user.client.ui.IsWidget; import com.google.gwt.user.client.ui.Widget; import com.google.gwt.user.datepicker.client.CalendarUtil; import com...
37.595238
178
0.698754
85f8865c103bd46eb56f8828eec6ba686a6e08f5
248
package ie.gmit.sw; /** * @author Tomas Omalley * @version 1.0 * @since 1.8 * * public class Gama takes in a byte B and returns state as an integer */ public class Gamma { public byte gamma(byte b) { return (byte) (Integer.reverse(b)); } }
15.5
70
0.66129
584713da3ccc30d166f503a25cfc89af22afbe6d
6,001
package it.unibz.inf.ontop.model.term.functionsymbol.db.impl; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Maps; import it.unibz.inf.ontop.exception.MinorOntopInternalBugException; import it.unibz.inf.ontop.iq.node.VariableNullability; ...
41.673611
128
0.686886