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
ed39e5099b7537bf1ed322322957a982f7af9222
3,696
/* * Copyright 2020-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
35.538462
120
0.787879
2bbf1927c93e24f38c57d592f3bb5dbedc6830b3
73
package cc.mrbird.web.wechatPay; public interface WechatPayService { }
12.166667
35
0.794521
121ffb5b72e6865541dd185d12ca5d697668e1da
730
package de.hpi.julianweise.slave.partition.column.sorted; import de.hpi.julianweise.slave.partition.data.entry.ADBEntityCharEntry; import de.hpi.julianweise.slave.partition.data.entry.ADBEntityEntry; import lombok.NoArgsConstructor; @NoArgsConstructor public class ADBCharColumnSorted extends ADBColumnSorted { pri...
34.761905
97
0.731507
3c36a4d8590398f233615c9594d3d74d5894e692
230
package io.simplesource.saga.saga.internal; import lombok.Value; import org.apache.kafka.common.serialization.Serde; @Value final class DistributorSerdes<K, V> { public final Serde<K> key; public final Serde<V> value; }
20.909091
51
0.756522
9fbe142ae51945e590d6be2fc8a52d38f7af7fbe
4,032
package cn.yiya.shiji.entity.navigation; import java.util.ArrayList; /** * Created by jerry on 2016/3/23. */ public class StoreLongInfo { private String name; private String cn_name; private String cover; private String introduction; private String logo; private String id; ...
21
79
0.590526
757cb909b79554f80de43adf44730f1183185abd
881
import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; ...
27.53125
117
0.690125
a811920c7f092b5ed8ba65e1c4328080edf982cc
3,296
package io.renren.modules.generator.controller; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springfram...
28.912281
94
0.696299
8525d7b516e044d8b4d5ac5f5e76a74721e987ef
1,010
package epicsquid.roots.ritual; import epicsquid.mysticalworld.init.ModItems; import epicsquid.roots.entity.ritual.EntityRitualFireStorm; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraft.util.math.BlockPos; import net.minecraft....
31.5625
74
0.734653
9e1025b7f879593cea3d80777ee81ba174e2dc3d
1,250
package com.xdwin.ukm101.loginscreen; import android.content.Intent; 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.Button; import com.xdwin.ukm101.R; import com.xdwin.ukm101.homescre...
29.761905
81
0.6736
866e5aa1ca65afa6d39cd47c1962a7fbfc9190fd
878
package com.furkanisitan.hrms.entities.concretes.user; import com.fasterxml.jackson.annotation.JsonBackReference; import com.furkanisitan.hrms.entities.abstracts.EmployerBase; import lombok.Getter; import lombok.Setter; import javax.persistence.*; @Getter @Setter @Entity @Table(name = "employers") public class Emplo...
26.606061
87
0.702733
3e1e8e2a262737e2b9cf44170c7bd4aa8d171c40
11,599
/* Copyright (C) 2012 Tim Boudreau 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, publish, distrib...
46.396
252
0.53677
bdd9489a1cac47ff6f421b8219c89507b6ae1417
1,319
package com.carson.commands.main; import com.carson.commandManagers.Command; import com.carson.dataObject.DBHandler; import sx.blah.discord.api.IDiscordClient; import sx.blah.discord.handle.impl.events.guild.channel.message.MessageReceivedEvent; public class CommandSetLeaveMessage extends Command{ public CommandSe...
29.977273
125
0.761183
04366b9de24e72b9da3d56108fee0a57384653ef
117
package com.dzz.gen.exception; public interface ExceptionHandler { long getCode(); String getMessage(); }
13
35
0.709402
59cf11df02f4ffc15a2918e3f9539a751f3a287f
16,641
package org.marble.commons.executor.processor; import java.io.IOException; import java.math.BigInteger; import java.util.Date; import java.util.HashMap; import java.util.LinkedHashSet; import java.util.LinkedList; import java.util.Map; import java.util.Stack; import java.util.concurrent.CompletableFuture; import org....
40.786765
173
0.55171
2ed17861002d77656ecc36b9f1b8f6afcebc2b61
547
package hackerrank.xylemraj.mmt.hackerrank; public class Grading { public static void main(String args[]){ roundGrades( new int[]{73,67,38,33} ); } static void roundGrades( int[] grades ){ for( int i = 0; i < grades.length; i++ ) { if(grades[i]>=38) { ...
21.88
64
0.420475
9e937047396056cd2e20871c21c5ed31b64f777b
15,279
/* * MIT License * * Copyright (c) 2017 Anders Mikkelsen * * 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,...
45.204142
119
0.577132
0f34bd40d2483bf6dd21225882b2c1fb83054a35
576
package controllers.deadbolt; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Indicates that no roles are required to a...
26.181818
98
0.802083
b662e4ec0c375fcc3e225993b4975c1ede9bc96d
5,108
/* * BioJava development code * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. If you do not have a copy, * see: * * http://www.gnu.org/copyleft/lesser.html * * Copyright for t...
29.526012
111
0.688724
c109c8eaa6351c07993cdee6689d178017905d84
1,829
package com.zkyyo.www.web.controller; import com.zkyyo.www.service.ReportService; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOExce...
37.326531
122
0.674139
b1ed7353d8cc8872a36b75310133e9d94c6c6d10
412
package checkingforinterfaces; public class Event implements Logger { private String name; public Event(String name) { this.name = name; } public String getName() { return name; } public void setName(String name) { this.name = name; } @Override public vo...
16.48
50
0.597087
a0db509b2c49cc0e82e87ef2c21ee1912d082864
10,376
/* * Copyright 2020 DataStax, 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 i...
34.936027
119
0.68485
28e4547d5607f3f0c959b80a3604b00f8ccfa1cd
485
public boolean uniond(int x, int y) { int xParent = findd(x); int yParent = findd(y); if (xParent == yParent) { return true; } if (dSets.get(xParent).size > dSets.get(yParent).size) { dSets.get(yParent).parent = xParent; dSets.get(xParent).size += dSets.get(yParent).size; ...
30.3125
60
0.595876
31b7f2f91e3372646ec129370108419e09876c4b
964
package vocabletrainer.heinecke.aron.vocabletrainer.fragment; import androidx.annotation.CallSuper; /** * Pager Fragment which implements PagerListener, listening on viewpager changes */ public abstract class PagerFragment extends BaseFragment{ @CallSuper @Override public void setUserVisibleHint(boolean...
29.212121
82
0.66805
73b088e8d3ef29ca6388f8b3134ae259ce6a5ff4
2,202
/* * 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")...
31.014085
67
0.665758
e99f8f616c8ac2007c1a70768a6dc8a43011db0e
2,669
package io.github.zhihulittlepaper.activity; import java.util.List; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.view.Menu; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener; import io.github.zhihu...
27.515464
85
0.75384
0d88032257b1fda744c44871dc4643e884f3ad84
2,259
package com.google.android.exoplayer2.upstream; import android.net.Uri; import com.google.android.exoplayer2.util.C8514e; import java.io.IOException; import java.util.List; import java.util.Map; /* renamed from: com.google.android.exoplayer2.upstream.u */ /* compiled from: TeeDataSource */ public final class C8501u i...
25.965517
76
0.567508
65637fc76e88032e036c8a3bb6e28d96139bb3ef
7,680
/* * Copyright 2018 Otavio R. Piske <angusyoung@gmail.com> * * 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 appli...
28.235294
135
0.610286
c9bd3261d0e75c903069266718ec4f8860f8413c
1,313
package com.p2pgate.vk_gate.rest.exception; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; /** * * Created by OAKutsenko on 06.09.2019. */ public class PayApiException extends Exception { @JsonIgnoreProperties(value = {"cause", "stackTrace", "localizedMessage", "suppressed", "mess...
18.757143
91
0.621478
7c2ac9229b98a74e501ed2105da6d050d09e987a
1,262
package org.jenkinsci.maven.plugins.hpi; import hudson.util.VersionNumber; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; import org.apache.maven.plugins.annotations.LifecyclePhase; import org.apache.maven.plugins.annotations.Mojo; /** * Make sure that we ...
34.108108
113
0.706022
19f139e184e00d981dba2a52d5f3f7729d0c78e3
1,684
package org.tessell.generators.css; import java.io.File; import java.io.IOException; import java.util.Map; import joist.sourcegen.GClass; import joist.sourcegen.GMethod; import org.tessell.generators.Cleanup; import com.google.gwt.core.ext.Generator; import com.google.gwt.resources.client.CssResource; import com.go...
33.019608
121
0.711401
155805a88ae6c470e4159c91342ae77902a8e15e
2,498
package eric.clapton.musician.service.security.impl; import org.springframework.beans.factory.FactoryBean; import eric.clapton.infrastructure.util.StringUtils; public class SimplePlainTextCaptchaGeneratorFactoryBean implements FactoryBean<SimplePlainTextCaptchaGenerator> { private int maxCaptchaTextLength = 4; pri...
28.712644
113
0.786629
23ce171f801b2508bb4be101df30a6f9c2f4bb50
3,532
package example.graph.renderers.node; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.Font; import java.awt.Graphics; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.SwingConstants;...
28.95082
94
0.72735
45f7c1442bcfa9fe9d51d0c1e7766aa7850fd382
556
package org.simpledfs.core.req; import io.netty.channel.ChannelHandlerContext; import org.simpledfs.core.context.Context; import org.simpledfs.core.excutor.Processor; public abstract class AbstractRequest implements Request { private byte type; public AbstractRequest(byte type) { this.type = type; ...
22.24
116
0.715827
fa5fe1f59efd8d891f840eb4e2c36e3d2be54c3b
9,295
/* * Copyright 2017-2018. the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
48.160622
153
0.665412
11aeff43134c385d459bf3586d1e0d5a5385c5e7
19,295
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2018.05.10 at 04:17:3...
27.802594
109
0.561389
5aba4d23ea5d34ae36b10431e1a234201dd0dd9d
1,867
package com.stylefeng.guns.modular.insurance.service.impl; import com.baomidou.mybatisplus.mapper.EntityWrapper; import com.baomidou.mybatisplus.plugins.Page; import com.stylefeng.guns.core.common.constant.DatasourceEnum; import com.stylefeng.guns.core.enums.InvestStatus; import com.stylefeng.guns.core.mutidatasource....
37.34
136
0.735404
034b5c83e65570ea68f77547d9b083179c41549e
3,765
package com.example.myto_dolist; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import java.util.List; // Responsible for displaying data from the model...
35.186916
117
0.654183
08b49c2713d8107416d1ecf141fe5a2303bc1c3b
1,767
/** * @author Kyle McPherson */ package btp; import java.util.Set; import cm3038.search.*; import cm3038.search.informed.BestFirstSearchProblem; public class Astar extends BestFirstSearchProblem { /** * Create an astar object using a start and goal state. * @param start The initial state. * @...
27.609375
108
0.675722
5fdcc94f50327afb79d8dd4e7e969a8b016e4b63
717
package hr.fer.zemris.jcms.model.poll; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; import javax.persistence.Transient; @Entity @Table(name="poll_text_answers") public class TextAnswer extends Answer implements Serializable{ private...
17.925
63
0.733612
43612562dd7890cb045eb56dbffa33682ee5541a
2,392
package com.codesample.kafka.kafka_demo.consumer; import java.util.Collections; import java.util.Properties; import org.apache.kafka.clients.consumer.Consumer; import org.apache.kafka.clients.consumer.ConsumerConfig; import org.apache.kafka.clients.consumer.ConsumerRecords; import org.apache.kafka.clients.consumer.Ka...
41.241379
114
0.673913
ad1fa5bf26a3337fe18cba2dc60f70b212a08cd1
415
package cloud.unionj.generator.openapi3.model.paths; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; /** * @author created by wubin * @version v0.1 * cloud.unionj.generator.openapi3.model * date 2020/12/14 */ @Data public class RequestBody { @JsonProperty("$ref") private String ...
17.291667
53
0.739759
b049e15744f65c694ac9074339dd940320f0d254
12,314
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by The HDF Group. * * Copyright by the Board of Trustees of the University of Illinois. * * All rights reserved. * * ...
32.235602
80
0.589654
b86eab07510625661478d0259bcb5012186f04ac
5,193
package com.boxiaoyun.common.utils; import cn.hutool.core.date.DateUtil; import cn.hutool.core.map.MapUtil; import cn.hutool.core.util.StrUtil; import cn.hutool.crypto.digest.DigestAlgorithm; import cn.hutool.crypto.digest.Digester; import com.alibaba.fastjson.JSONObject; import com.boxiaoyun.common.constants.CommonCo...
34.390728
148
0.616214
cb14d7423d09506019dc26cf9eca1711dd7aa4eb
910
package sdass.nytimessearch.view; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.widget.EditText; import sdass.nytimessearch.databinding.ItemNoImageArticleBinding; import sdass.nytimessearch.model.Article; /** * Created by sdass on 8/13/16. */ public class ArticleView...
29.354839
89
0.746154
0323311caace5f7e56850f4004348d0a63d88a56
670
/* * Copyright (c) 2020. Self learning and applying project advanced concepts through out. */ package com.dhiren.springboot.mongodb.repository; import com.dhiren.springboot.mongodb.constants.FlightType; import com.dhiren.springboot.mongodb.entity.FlightDetails; import com.dhiren.springboot.mongodb.entity.FlightInfo...
31.904762
88
0.837313
314f8440dd3b51c329f403eda822f41a28978f79
5,494
/* * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ package com.microsoft.azure.sdk.iot.service; import com.google.gson.annotations.SerializedName; import java.util.Date; public class JobProperties { public...
23.991266
118
0.638151
c0c7337512aa36c8bba5d2f37e8fc1028a3ffd8e
4,552
/******************************************************************************* * Copyright 2015 ShopGun * * 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/li...
36.416
116
0.612258
b65e8db68e4fe51cad9ca8c1b21bb1af81648981
2,402
package riemann.java.client.tests; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.junit.Test; import java.io.IOException; import java.util.*; import java.util.concurrent.TimeUnit; import io.riemann.riemann.client.IPromise; import io.riemann.riemann.client.IRiemannC...
33.830986
122
0.636553
14bd7c02653ec67cb02ac4698fba3963dbd66d01
2,495
package com.zterry.imagepicker.view; import android.content.Context; import android.support.annotation.NonNull; import android.support.design.widget.BottomSheetDialog; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android...
32.828947
92
0.732665
4905b0aa7e7bfa14c62562d5a7c3ee16e4d2ee82
2,393
/* * Copyright 2010-2020 Alfresco Software, Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
35.716418
199
0.756373
c9e29e6afd3b508bc29a0ea7935a48f88124e150
515
package communication.serial_com_module; import java.io.IOException; import java.io.InputStream; public class SerialReader implements Runnable { private InputStream in; SerialReader(InputStream in) { this.in = in; } public void run() { byte[] buffer = new byte[1024]; int len;...
23.409091
61
0.584466
8a61a669cbebaed3c26d82a7625d3a8243b80061
8,599
package com.alexprut.algo.datastructures; import java.util.ArrayList; /** * A Fibonacci Heap is a collection of rooted trees that are min-heap ordered. That is, each tree * obeys the min-heap property: the key of a node is greater than or equal to the key of its parent. * Several Fibonacci Heap operations run in c...
23.177898
107
0.551925
9f33dee74a5edd7074e8f377c56adc0c265a4832
2,371
package com.kingdee.gw.domain; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.kingdee.common.annotation.Excel; import com.kingdee.common.core.domain.BaseEntity; /** * 收费类别对象 gw_super_category * * @author lei.ye * @date 2021-09...
21.169643
72
0.536904
3538ef1875c8baed73fc8d22b22ba2f23deacb0c
3,561
package com.allesad.habraclient.model.posts; import java.io.Serializable; /** * Created by Allesad on 25.03.2014. */ public class PostListItemData implements Serializable { private int id; private String title; private String url; private String image; private String habracut; private Strin...
20.118644
59
0.5959
1117eb82b107cad268a1e0db85c9182ccb3fc3a1
1,464
/* * Autopsy Forensic Browser * * Copyright 2011-2021 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> 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...
27.111111
75
0.682377
6e96764375b9e4201d1eaf545fb0ecab128ddba0
4,177
package uk.nhs.nhsx.keyfederation; import org.apache.http.entity.ContentType; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import uk.nhs.nhsx.core.Jackson; import uk.nhs.nhsx.core.aws.s3.BucketName; import uk.nhs.nhsx.core.aws.s3.ObjectKey; import uk.nhs.nhsx.core.aws.s3.S3Storag...
40.553398
154
0.726837
72986934108ae8dc5075e176b236e98f3be6f741
7,199
/* * 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")...
24.486395
110
0.613835
f854310a70ae42a6ceb14d1b08a588d1d0ce618d
2,130
package com.example.android.miwok20; import androidx.appcompat.app.AppCompatActivity; import android.media.MediaPlayer; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ListView; import java.util.ArrayList; public class PhrasesActivity extends AppCompatAct...
46.304348
104
0.686385
29ed0a83f6f9a57dbfc0057357eedda77ad84808
2,915
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.util.ElapsedTime; import org.firstinspires.ftc.teamcode.BotDawg; //import org.firstinspires.ftc.teamcode.org.firstinspires.ftc.teamcode.B...
27.242991
101
0.612007
8a190c4cbe11445300c2e11518e16620b2afc213
12,952
/** * 作 者: * 日 期: 2013-3-11 * 描 叙: */ package com.easycode.gencode.core.gen; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintStream; import java.io.UnsupportedEncodingException; import java.util.ArrayList; impor...
24.209346
131
0.566167
b424a499b499edaf0a3c6da1f923ffe2882f83d6
4,508
package com.spacebar.alienwars.display.cli.impl; import com.spacebar.alienwars.display.DisplayType; import com.spacebar.alienwars.display.cli.AbstractCLIDisplay; import com.spacebar.alienwars.exception.GameIllegalStateException; import com.spacebar.alienwars.game.Game; import com.spacebar.alienwars.game.GameStatus; im...
38.862069
118
0.527728
d39d6ffa63e139ccb2046fab7526324ef51fb648
3,088
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
31.835052
81
0.705311
b4ffabb24c7b48baf1d08e73c6eebfdac539738c
7,079
package cs310.client; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.HashMap; import java.util.Map; import java.util.Random; import java.util.Scanner; import java.util.Set; import java.util.TreeMap; import cs310.util.HashMap1; /** * Class to ...
30.381974
113
0.62636
7568ed6876bd899b9b09af8b94c7af41b3d45900
575
package freemarker.core; import freemarker.template.Configuration; import freemarker.template.Version; /** * An object that has another older version that's used below a certain * {@link Configuration#setIncompatibleImprovements(Version) InCompatible Improvements} version. */ interface ICIChainMember { /** ...
25
98
0.716522
cca0e8bbb008ae14ef4d1f831439a1e37007873d
566
package app.com.lsl.imagelabelerapp.lsl.App; import org.litepal.LitePalApplication; import app.com.lsl.imagelabelerapp.lsl.activity.AppActivities; import app.com.lsl.imagelabelerapp.lsl.config.ProperTies; /** 编写自己的Application,管理全局状态信息,如Context  * Created by M1308_000 on 2017/4/30. */ public class MyApplication ex...
25.727273
79
0.742049
fe124d3921c3727342f9933076119d150993df4f
52,678
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
36.941094
134
0.581153
6f0c140e566a1320ff60c2c71ae26e3079da122e
6,158
/* * Copyright (c) 2015, 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.org/li...
39.474359
118
0.659792
0fada2c299b185e70d47eeb5a4d3ed29f07b0fb8
2,389
package org.axonframework.cdi.messaging.annotation; import java.lang.invoke.MethodHandles; import org.axonframework.cdi.CdiUtilities; import org.axonframework.common.Priority; import org.axonframework.messaging.annotation.ParameterResolver; import org.axonframework.messaging.annotation.ParameterResolverFactory; impor...
34.623188
104
0.655086
1e706f176ddc7de467c29ca984cc391c2c22b3be
1,289
package mage.cards.b; import java.util.UUID; import mage.MageInt; import mage.abilities.keyword.HasteAbility; import mage.abilities.mana.ConditionalAnyColorManaAbility; import mage.abilities.mana.conditional.ConditionalSpellManaBuilder; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants....
29.976744
140
0.729247
1ad17a26df1fab66b9927d66b41e57b59a87ebf5
13,786
/* * The MIT License * * Copyright 2013 gburdell. * * 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...
33.706601
98
0.523865
2e82f392d39612f0a493e2a1970ac13684a2d91e
325
package geb.textmatching; import java.util.Arrays; class AllTextMatcher extends CompositeTextMatcher { public AllTextMatcher(TextMatcher[] matchers) { super(matchers); } @Override public boolean matches(String text) { return Arrays.stream(matchers).allMatch(m -> m.matches(text)); ...
20.3125
70
0.692308
049ffdf9660b05e3a7e0b80f5a3f69b1e59086fe
3,245
package com.inova8.remediator; import java.util.ArrayList; import java.util.HashMap; import com.hp.hpl.jena.ontology.OntModel; import com.hp.hpl.jena.ontology.OntResource; import com.hp.hpl.jena.rdf.model.Resource; import com.hp.hpl.jena.rdf.model.Statement; import com.hp.hpl.jena.rdf.model.StmtIterator; public clas...
32.777778
89
0.742989
7b995f4df46d13433cc0914f10674d67d638b0d7
1,498
package py.gov.senatics.portal.cache; import org.redisson.api.MapOptions; import org.redisson.api.RMapCache; import py.gov.senatics.portal.dto.covid19.admin.Session; import javax.annotation.PostConstruct; import javax.enterprise.context.ApplicationScoped; import javax.inject.Inject; import java.util.concurrent.TimeUn...
23.046154
96
0.755674
1fdcfdfed460547a1afb06917daa79cfdca57708
2,913
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.google.android.gms.internal.ads; // Referenced classes of package com.google.android.gms.internal.ads: // zzbcw, zzawu, zzawv, zzbah, // ...
30.030928
72
0.531754
08f0f91f3097f8c06346b4119a0076e7faecb8f3
1,720
/* * 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 ...
33.72549
78
0.74186
315646f07d213219abd5dfbbefcbbc62abe7b680
886
package com.ossez.junit5.bean.test; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import com.ossez.junit5.bean.NumbersBean; /** * Test class for {@link NumbersBean}. * * @author Donato Rimenti * */ public class NumbersBeanUnitTest { /** * The bean to test. */ private Number...
20.136364
61
0.717833
b458bb8fea20690d39665d89eca27b383be6d59a
562
package Kermen.models.homes; public abstract class Home { private double budget; public Home() { budget = 0; } public double getBudget() { return this.budget; } protected void setBudget(double budget) { this.budget = budget; } public abstract void payIncome()...
18.129032
58
0.63879
19f770f265c59b3276225e8bdc75b6108372fc68
2,156
package com.bitmovin.api.sdk.model; import java.util.Objects; import java.util.Arrays; import com.bitmovin.api.sdk.model.AnalyticsAttribute; import com.bitmovin.api.sdk.model.AnalyticsOrder; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml....
21.346535
76
0.657699
fdf871fc5f1bae32e66df3510dd078209d15d737
889
package life.catalogue.api.jackson; import life.catalogue.api.model.User; import org.junit.Test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; public class UserSerdeTest extends SerdeTestBase<User> { public UserSerdeTest() { super(User.class); } @Override publi...
22.794872
56
0.679415
3cfda48a1d78b505e04eaf0766a37514b1638173
100
class C { void foo() { new Ru<caret>nnable() { public void run() { } }.run(); } }
12.5
27
0.45
3677694235892ee292e5ee2ed4f5ab1b97719fa2
784
/****************************************************************** * * CyberUPnP for Java * * Copyright (C) Satoshi Konno 2002 * * File : DeviceTable.java * ******************************************************************/ import org.cybergarage.upnp.*; public class DeviceTable extends TableModel { publi...
20.631579
68
0.434949
b18752f5ee60d375ea928c674af36987b4cf04f6
795
package com.eltechs.axs.proto.input; import com.eltechs.axs.helpers.Assert; import com.eltechs.axs.proto.input.annotations.impl.EventParser; public class EventParsersRegistry { private EventParser[] eventParsers = new EventParser[0]; public void installEventParser(int i, EventParser eventParser) { if...
33.125
154
0.664151
f867dac6d75d93b4c6e5422495777f232bff73d7
557
package org.apache.batik.gvt.font; import java.text.AttributedCharacterIterator; import java.util.Map; public interface GVTFontFamily { String getFamilyName(); GVTFontFace getFontFace(); GVTFont deriveFont(float paramFloat, AttributedCharacterIterator paramAttributedCharacterIterator); GVTFont derive...
25.318182
101
0.739677
7d4009331f6a126a2c74a9eb429c5d37f886a144
2,505
package org.fmaes.j2uppaal.datastructures.uppaalstructures; import org.fmaes.j2uppaal.datastructures.base.SimpleUppaalElement; import org.fmaes.j2uppaal.datastructures.base.UppaalAttribute; import org.fmaes.j2uppaal.datastructures.uppaalstrcutures.interfaces.UppaalLabelInterface; public class UppaalLabel extend...
27.833333
99
0.685828
f814936005bc6a85882e0392cbc82fa22fd2a3df
336
package com.xqbase.java.future; import com.xqbase.java.PoolEntry; /** * Pool entry callabck. * * @param <T> the route type that represents the opposite endpoint of a pooled * connection. * @param <C> the connection type. * @since 4.3 */ public interface PoolEntryCallback<T, C> { void process(PoolEntry<T...
18.666667
78
0.690476
6dcc23cec1a0ddc5d96c07df95e925513cde1ea7
2,281
package cz.cuni.mff.d3s.deeco.annotations.processor; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import java.util.List; import cz.cuni.mff.d3s.deeco.model.runtime.api.ComponentInstance; import cz.cuni.mff.d3s.deeco.model.runtime.api.ComponentProcess; import cz.cuni.mff.d3s.deeco.model.run...
33.057971
172
0.804472
5de36d1800d08b017551ae28800824ad9f90cd6d
1,479
package edu.chl.gunit.core.gamification; import com.google.inject.Inject; import edu.chl.gunit.core.gamification.rules.*; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; /** * * This needs some refactoring ... * * Seriously, there should only be one type of rule, they shoul...
26.410714
98
0.613252
aa9d99b33f7c4960c485956f6117eeb7a812990b
585
package work.kaiyu.wms.domain; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.Setter; import lombok.ToString; import lombok.NoArgsConstructor; import java.util.Date; @Getter @Setter @ToString @NoArgsConstructor @AllArgsConstructor public class Cargo { private Long cargoId; private Stri...
20.892857
36
0.776068
00fa15220925dd1ef56139a719896d5fbe5d9bfb
196
package no.acntech.sandbox; import io.micronaut.runtime.Micronaut; public class MicronautRestApiApplication { public static void main(String... args) { Micronaut.run(args); } }
17.818182
45
0.714286
f5554eec4c50a0d2070262bec89beb3fa5220c50
1,250
package sonar.core.api.energy; import net.minecraft.item.ItemStack; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.EnumFacing; import sonar.core.api.energy.EnergyType; import sonar.core.api.utils.ActionType; /**the handler Flux Networks uses to transfer energy*/ public interface IItemEnergyHand...
34.722222
142
0.776
ff5efb0b60f0490332f7441741b7f9dca8303a74
280
package io.wjh.wcartadministrationback.service; import io.wjh.wcartadministrationback.po.ReturnHistory; import java.util.List; public interface ReturnHistoryService { List<ReturnHistory> getListByReturnId(Integer returnId); void create(ReturnHistory returnHistory); }
23.333333
60
0.817857
cdf861c2a28c899a0452027070af5a90099d0528
3,477
package apollo.dataadapter.chado.jdbc; import java.sql.Connection; import java.sql.Driver; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.ResultSet; import org.apache.log4j.*; import org.bdgp.util.ProgressEvent; import apollo.config.Config; import apollo.dataadapter.chado.ChadoAdapter;...
33.757282
92
0.632729
be7e441c40fadbca44d6044e5547c8ce791c6822
3,154
package com.ruoyi.quartz.service.impl; import com.ruoyi.common.annotation.DataSource; import com.ruoyi.common.enums.DataSourceType; import com.ruoyi.common.exception.ServiceException; import com.ruoyi.quartz.domain.LfoSbomSFull; import com.ruoyi.quartz.mapper.LfoSbomSFullMapper; import com.ruoyi.quartz.service.ILfoSbo...
24.449612
87
0.690869
71583bf9c87bbc72f1043dfd2b77922da1594b60
1,032
// // Decompiled by Procyon v0.5.36 // package club.max.xenon.client.command; import club.max.xenon.api.util.chat.ChatUtil; import club.max.xenon.XenonClient; import club.max.xenon.api.command.management.CommandManager; import club.max.xenon.api.command.Command; public class CommandPrefix extends Command { pub...
27.157895
114
0.616279
114aceb24a9fddfb2ef6d357a66447a42abf2f13
4,906
package cn.funion.modules.sys.entity; import com.baomidou.mybatisplus.activerecord.Model; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableLogic; import com.fasterxml.jackson.annotation.JsonProperty; import com....
38.629921
88
0.664085
305a3e9a5af701367865b0bdddf28642c155792e
2,169
/* * 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...
26.777778
118
0.737667
78f8f7c49b4bcea8bed901b884e571a30ff136a0
461
package com.github.chen0040.leetcode.day09.easy; /** * Created by xschen on 4/8/2017. * * summary: * Given an integer (signed 32 bits), write a function to check whether it is a power of 4. * * link: https://leetcode.com/problems/power-of-four/description/ */ public class IsPowerOfFour { public class Soluti...
23.05
91
0.639913
72e65fdc435ec37a84d7ae91b9c3ab45d351fb87
1,722
/* ### * IP: GHIDRA * REVIEWED: YES * * 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 ag...
31.888889
93
0.717189
30b2b1ac04fb8de2287238dfe4761ecf2e0ca1a3
1,990
/* * Copyright (c) WSO2 Inc. (http://www.wso2.org) 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 r...
33.728814
82
0.777387
07a2c17919e13ab0863ab84998a064a77bf71b37
29,805
package uk.co.mpcontracting.rpmjukebox.controller; import javafx.scene.control.CheckMenuItem; import javafx.scene.control.MenuItem; import lombok.SneakyThrows; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.springframework.beans.factory.annotation.Autowired; import org.testfx.util....
41.802244
118
0.742795