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
2ad170d66ac0ece4fabaf28666a34aa7c054c566
1,556
/* * Copyright (c) 2015 Spotify AB. * * 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,...
31.755102
86
0.72365
3cf7bfa14aae3b24e124959400790e7d4d45a09c
863
package com.google.android.gms.internal.ads; import android.os.Bundle; import java.util.Iterator; /* access modifiers changed from: package-private */ public final class p9 extends q9 { /* renamed from: d reason: collision with root package name */ private final /* synthetic */ Bundle f5216d; /* rename...
28.766667
89
0.633835
414cbd64ff1678175128bca007cbebed8bd55aee
526
package com.rmo.fibu.model.from; import java.sql.Connection; import com.rmo.fibu.exception.FibuRuntimeException; import com.rmo.fibu.model.DataModel; /** Erweiterung des Data-Models auf die Connection2 */ public abstract class DataModelFrom extends DataModel { /** * Model constructor comment. */ public DataM...
19.481481
67
0.752852
007fe46d794fa5531b1b57894763c286831ea977
5,321
/* * Copyright 2018-2020 Crown Copyright * * 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...
38.280576
124
0.663221
912e684dadcc8a8a475546bd8cc37a480e320d3a
243
package com.github.aesteve.vertx.nubes.annotations.routing; import java.lang.annotation.*; @Retention(RetentionPolicy.RUNTIME) @Inherited @Target(ElementType.METHOD) public @interface Forward { Class<?> controller(); String action(); }
18.692308
59
0.769547
cfb2c3ddf9a63dd2108b356f184b5cadddf32342
1,906
package org.notima.businessobjects.adapter.jasperreports.junit; import java.io.InputStream; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Properties; import javax.xml.bind.JAXB; import org.junit.Before;...
27.228571
132
0.741343
fb8c68049f36804016ed3904b6bcf62267dd41bb
2,396
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
59.9
311
0.797997
1f14d0c6b41ec1faae9a23a41121715ec8b972c4
389
package net.irext.ircontrol.utils; /** * Filename: Constants.java * Revised: Date: 2017-04-03 * Revision: Revision: 1.0 * <p> * Description: APP Constants * <p> * Revision log: * 2017-04-03: created by strawmanbobi */ public class Constants { public static final String KEY_ADMIN_ID ...
20.473684
57
0.647815
e41e94bebe6d1829cbb3b6a5d81ce17707ddef1d
15,592
/** * Copyright 2021 Tianmian Tech. 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 by ...
41.801609
176
0.593638
9ff4bfb3b1c2fbc39e115267da2fdf14f0841489
388
package com.netbreeze.swing; import java.awt.Component; /** * * @author Henrik * @version 1.0 * */ public interface ComponentValidator { /** * Checks the contents of the given control and * determines whether or not the data is valid. * Throws an exception if the component is invalid */ public void valid...
18.47619
84
0.739691
b6e5ff3a273f18aaa745d4b0cfbe6d2b235da146
6,880
package fr.rockbell.gestion.groupe.controller; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertEquals; import java.util.ArrayList; import java.util.List; import org.junit.jupiter.api.Test; import org.springframework.hateoas.CollectionModel; import org.sp...
33.236715
116
0.745203
2467b59dba5c3b2497422f2d0c0879be75508057
510
package org.voovan.tools.reflect.convert; import org.voovan.tools.TDateTime; import java.math.BigDecimal; /** * 时间戳转换成字符串形式的时间格式 * * @author: helyho * Voovan Framework. * WebSite: https://github.com/helyho/Voovan * Licence: Apache v2 License */ public class ToDateString implements Convert<Long, String> { ...
20.4
60
0.67451
ae1dbccf88671037e32b0a1e9bd7ed660d6f3b59
2,023
package com.marcosbarbero.ifood.advanced.service.weather; import com.marcosbarbero.ifood.advanced.config.properties.IFoodProperties; import com.marcosbarbero.ifood.advanced.config.properties.OpenWeatherProperties; import com.marcosbarbero.ifood.advanced.service.weather.model.OpenWeatherResponse; import org.springframe...
36.781818
127
0.750371
9908404d5cfd42d8567e7d599bd80d6dac1f7684
1,228
package ru.mironenko.models; // Добавить механизм авторизации и аутентификации на фильтрах. // Добавить новую модель роль. // Каждый пользователь в системе имеет свою роль. // Предусмотреть. Роль - администратор. Он может добавить и редактировать любого пользователя в том числе себя. // ...
29.238095
120
0.600977
f293ae3ae94f9a4e80d1f70fb2941f9a7e48064c
2,238
package com.energyxxer.trident.compiler.semantics.custom.classes; import com.energyxxer.enxlex.pattern_matching.structures.TokenPattern; import com.energyxxer.prismarine.symbols.SymbolVisibility; import com.energyxxer.prismarine.typesystem.functions.FormalParameter; import com.energyxxer.prismarine.typesystem.function...
31.971429
113
0.75916
04cd71d82b66417f669bdc25c5fc4848d2b30116
2,379
package com.huangxy.mcadapter; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; import java.util.List; import butterknife.ButterKnife; /** * @author Jack Tony * @date 2015/11/29 */ public abstract class CommonPagerAdapter<T extends ...
23.554455
119
0.636822
f46b2a68dff7861feb67df63560e23a1f4558e16
685
package com.oukingtim.service; import com.baomidou.mybatisplus.service.IService; import com.oukingtim.domain.SysMenu; import com.oukingtim.web.vm.JsTreeVM; import com.oukingtim.web.vm.MenuVM; import java.util.List; import java.util.Set; /** * Created by oukingtim */ public interface SysMenuService extends IService...
18.513514
59
0.652555
edf260e19b9acda67fb73d8e199dae0d720e010e
4,181
/*L * Copyright Ekagra Software Technologies Ltd. * Copyright SAIC, SAIC-Frederick * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cacore-sdk/LICENSE.txt for details. */ package gov.nih.nci.system.security.helper; import gov.nih.nci.security.AuthorizationM...
35.134454
107
0.762736
7288ef510538c0a0a429d72e96a303f1bd2b59fd
488
public class Question { int number = 0; String question; String answer; public void ask() { System.out.println("Pergunta: " + question); } public boolean checkAnswer(String myAnswer) { return myAnswer == answer; } } // public class Question { // String number = ...
15.741935
55
0.538934
8bf8a242cc87db0b1f689e882c534ae5e074c7d3
2,235
package org.eclipse.aether.spi.log; /* * 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,...
29.8
118
0.668009
2fcfdf10e234d59163ca4285c691f2b4cbccdcfb
2,052
/* * Copyright (C) 2011 Thomas Akehurst * * 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...
31.569231
87
0.669591
7bfbd93ca8c7dfc62b04cf5381919b1c8ba7a1c7
695
package org.hsweb.web.service.system; import org.hsweb.ezorm.rdb.meta.RDBTableMetaData; import java.sql.SQLException; import java.util.List; import java.util.Map; /** * 数据库管理服务,用于获取数据库中的表结构等操作 * Created by zhouhao on 16-4-21. */ public interface DataBaseManagerService { /** * 获取当前数据源中所有的表名 * 能自动获取...
22.419355
80
0.730935
41449904ffd28ca15d4a5432c263e9db87b80573
4,041
/* * Copyright 2020 Marc Nuri * * 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...
44.9
536
0.7805
4ccbdba83bce64c011b6f5074faa36bab3cc915b
19,635
/* * MIT License * * Copyright (c) 2022 MASES s.r.l. * * 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, cop...
46.638955
436
0.694423
0305372269675d327bf91a7f21680abadb4a6893
140
package com.identity.broker.message; public interface AdConstants { String ACTIVE_DIRECTORY_ID = "5c11b84a4e9b467d84356761448a997e"; }
23.333333
68
0.814286
11b1df236fad8a928edf5b18db270f93d2566768
5,402
/* * Copyright (c) 2014, 2019 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
31.225434
89
0.604591
e2fea292d0f14c065424b66b8b6aaf2466516ffe
2,109
package de.lemonpie.beddocommon.ui; import javafx.geometry.Pos; import javafx.scene.control.Label; import javafx.scene.layout.VBox; import javafx.scene.paint.Color; import javafx.scene.text.TextAlignment; import tools.ConvertTo; public class StatusTag extends VBox { private String text; private StatusTagType type; ...
24.523256
128
0.731626
077621f705e0acf4148f8db15d8fe82c8f285943
923
package eu.daiad.common.util; import java.util.EnumMap; import org.apache.commons.lang.mutable.MutableInt; public class Counters <E extends Enum<E>> { private EnumMap<E, MutableInt> map; public Counters(Class<E> cls) { map = new EnumMap<E, MutableInt>(cls); // Initialize all counters t...
18.836735
50
0.564464
62e17c3e40808031a7f4da4dfd001b2e2d5c4eac
3,292
package com.fpinjava.makingjavafunctional.exercise03_13; import com.fpinjava.common.Function; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; public class CollectionUtilities { public static <T> List<T> list() { return Collections.emptyList(); ...
29.657658
87
0.533111
a889480747aa14f30848cf777ecb9050f8d3b9c9
9,310
package sadco; import oracle.html.*; import java.io.*; /** * Displays the report files for download if the loading has finished. * * SadcoVOS * screen.equals("load") * version.equals("progress") * * @author 001123 - SIT Group * @version * 001123 - Ursula von St Ange - create class<br> * 020528 - Ursula von...
38.155738
90
0.58174
ced34adef65ebb11eb713bb6ec3bf289faed4552
4,171
/* * 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 org.eastsideprep.spacecritters.alieninterfaces; /** * * @author qbowers */ public class Vector3 { public double x; ...
24.827381
104
0.529609
11d457a70e69a97867dbbf5af3742049c98f0da8
2,108
package com.sillykid.app.adapter; import android.content.Context; import android.widget.ImageView; import com.sillykid.app.R; import com.sillykid.app.entity.PackLineBean.ResultBean.IndexBean; import cn.bingoogolapple.androidcommon.adapter.BGAAdapterViewAdapter; import cn.bingoogolapple.androidcommon.adapter.BGAViewH...
41.333333
143
0.723435
4b35cbebb74bb613cbd8296dea34d0609dc676fe
341
package fooddeliveryfive; import org.springframework.data.repository.CrudRepository; import org.springframework.data.repository.query.Param; import java.util.List; public interface MypageRepository extends CrudRepository<Mypage, Long> { List<Mypage> findByOrderId(Long orderId); List<Mypage> findByDeliveryId...
26.230769
72
0.812317
3be5d1fcaa4aab5c9a1c87c8763ccf92f602dd80
172
// // LeetCode ListNode class for local compilation. // class ListNode { public int val; public ListNode next; public ListNode(int val) { this.val = val; } }
13.230769
49
0.656977
521fc0cd592c814a1f54640e0e04474f1d9a7b81
978
package lsieun.handler; import javassist.CtMethod; import lsieun.utils.CodeSegment; public class ObtainTicketHandler extends Handler { public ObtainTicketHandler(String methodSignature, boolean regex) { super(methodSignature, regex); } @Override public void process(CtMethod method) throws Ex...
31.548387
126
0.694274
5bd43a80228f707ee21b7978727bad8888a87633
2,879
package org.cipres.treebase.web.controllers; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.log4j.Logger; import org.springframework.web.bind.ServletRequestUtils; import org.springframework.web.servlet....
31.293478
122
0.773532
9d8c8b50acde2be0e60b85b93f26d6b62a915ab3
1,013
public class Monkey extends RescueAnimal { // Instance variables private String breed; public final static String[] VALID_BREEDS = { "Capuchin", "Guenon", "Macaque", "Marmoset", "Squirrel monkey", "Tamarin" }; // Constructor public Monkey( String name, String...
24.707317
71
0.65844
8ae5b8704cb3d99b14cf3a1a142b76912bcb8b37
6,357
package cc.rome753.activitytask.view; import android.content.Context; import android.text.TextUtils; import android.util.Log; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; import android.view.WindowManager; import android.widget.FrameLayout; import android.widget.LinearLayou...
33.81383
108
0.626868
38894369bcfb0378c67025e05f84c7c3cb5b0c40
2,396
package org.linkeddatafragments.fragments; import java.io.Closeable; import org.apache.jena.rdf.model.StmtIterator; /** * Represents any possible Linked Data Fragment. * * @author <a href="http://olafhartig.de">Olaf Hartig</a> */ public interface ILinkedDataFragment extends Closeable { /** * Returns an i...
30.329114
79
0.636477
1c3529d7a0d0fbecb97874f5327014bb37c85a2b
8,536
/* * Copyright 2014 Midokura SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
45.647059
88
0.644447
2ef1cb9dbacafb7ff96df9132f71c660d52150b1
4,948
package com.vladsch.flexmark.util.html; import com.vladsch.flexmark.util.Utils; import org.junit.Test; import java.util.List; import static org.junit.Assert.assertEquals; public class HtmlFormattingAppendableBaseTest { @Test public void test_basic() throws Exception { StringBuilder sb = new StringB...
36.651852
123
0.45291
e1ff8289287dbc07ee380708ffddc4b11003cf60
73
/** * @author Wilson * @since 2019/11/26 **/ package io.rocket.common;
14.6
25
0.630137
e9dfaf6997b8fde57c44d161825495e9c9746d94
751
package com.github.jxen.svg.optimizer; import com.github.jxen.svg.model.Path; import com.github.jxen.svg.model.geometry.Point; import com.github.jxen.svg.model.path.PathSeg; import com.github.jxen.svg.transform.Transform; import java.util.ArrayList; import java.util.List; class PathTransformApplier extends TransformA...
27.814815
59
0.693742
308a2306a08e71dc3a521eecf691f1bb97287722
726
package com.huabin.mall.product.service; import com.baomidou.mybatisplus.extension.service.IService; import com.huabin.common.utils.PageUtils; import com.huabin.mall.product.entity.AttrGroupEntity; import com.huabin.mall.product.vo.AttrGroupWithAttrsVo; import java.util.List; import java.util.Map; /** * 属性分组 * * ...
23.419355
80
0.741047
01401645bb0072991138b071fca11d6fde87baef
9,965
/* $Id: RunQueueStatus.java 988245 2010-08-23 18:39:35Z kwright $ */ /** * 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 ...
38.474903
203
0.686703
e55dfb0efcc282ffe4aab505a3ad1f90c898783b
57
package payments; public interface PaymentBuilder { }
8.142857
33
0.77193
d838ae752ae019af75f38cbe3c0f522c07feba88
12,723
/* * The MIT License * * Copyright (c) 2018-2022, qinglangtech Ltd * * 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...
40.009434
227
0.584375
0e82a44f49fcdcfdf7bb58070c7c0e66d0c2d8aa
3,730
package com.pismery.study.interceptor; import lombok.extern.slf4j.Slf4j; import org.hibernate.EmptyInterceptor; import org.hibernate.Transaction; import org.hibernate.type.Type; import java.io.Serializable; import java.util.ArrayDeque; import java.util.Deque; @Slf4j public class JpaInterceptor extends EmptyIntercept...
28.045113
169
0.611796
250ca77bd5467f60cf09688c37c15a68e8a8b849
1,908
import java.util.LinkedList; import java.util.Queue; /* * @lc app=leetcode id=329 lang=java * * [329] Longest Increasing Path in a Matrix */ // @lc code=start class Solution { private int[][] dirs = new int[][] {{-1, 0}, {1, 0}, {0, -1}, {0, 1}}; private boolean isValid(int i, int j, int m, int n) { ...
25.783784
81
0.343816
49d2aff492e4cc569dd0388c891002ae3f5d5a72
2,424
package TopK; import java.util.Random; /** * Given an array of points where points[i] = [xi, yi] represents a point on the X-Y plane and an integer k, return the k closest points to the origin (0, 0). * * The distance between two points on the X-Y plane is the Euclidean distance (i.e., √(x1 - x2)2 + (y1 - y2)2). ...
35.130435
158
0.542492
3c98aa58766d68955b5d87a64e28a9f3d04401f2
4,038
package com.td.tvsuit.views; import android.content.Context; import android.graphics.Rect; import android.support.v17.leanback.widget.VerticalGridView; import android.support.v7.widget.GridLayoutManager; import android.util.AttributeSet; import android.view.KeyEvent; import android.widget.Toast; //import android.supp...
33.371901
131
0.620357
63911f6794bdc05a8e9d4e4bf03d4d4f3ff68b1f
5,275
/* * 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.parallax.server.blocklyprop.db.dao.impl; import com.google.inject.Singleton; import com.google.inject.Inject; import org....
26.641414
90
0.544265
71d98030e11ec4e0e065dfc5db87cbb85552656d
4,557
package sonar.calculator.mod.common.tileentity.misc; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Blocks; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.EnumFacing; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import sonar.calculator.mod.c...
36.166667
108
0.689708
78893d1cfafc6b3294607c1a6be44ffaba64a6e8
858
/* Copyright 2014-2016 Intel Corporation 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, s...
29.586207
72
0.784382
5ec6662416766f93a82db1e95daa056f4871daa9
944
package edu.utexas.tacc.tapis.files.lib.caches; import com.google.common.cache.CacheLoader; import edu.utexas.tacc.tapis.shared.exceptions.TapisException; import edu.utexas.tacc.tapis.shared.ssh.apache.SSHConnection; import edu.utexas.tacc.tapis.shared.ssh.apache.system.TapisSSH; import edu.utexas.tacc.tapis.systems.c...
41.043478
112
0.791314
d885cd890c6a438ff7e7e01c5dd2c2ce3874fa23
1,115
package com.renewable.centcontrol.rabbitmq.producer; import com.renewable.centcontrol.pojo.Inclination; import org.springframework.amqp.rabbit.connection.CorrelationData; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.beans.factory.annotation.Autowired; import org.springfr...
31.857143
83
0.730045
1d96de3c52e1485dd2a3ddaec6ad8e0c2307e31a
578
package com.didichuxing.doraemonkit.config; import android.content.Context; import com.didichuxing.doraemonkit.constant.SharedPrefsKey; import com.didichuxing.doraemonkit.util.SharedPrefsUtil; /** * @author wanglikun */ public class ColorPickConfig { public static boolean isColorPickOpen(Context context) { ...
30.421053
90
0.780277
e7b21bef8e2ceefedbd3811ade59caf2b62dedc0
695
package com.github.alanacevedo.finalreality.controller.phase.phase; import com.github.alanacevedo.finalreality.controller.GameController; import com.github.alanacevedo.finalreality.gui.phaseScene.AbstractPhaseScene; /** * Interface that represents those classes corresponding to a game phase. */ public interface IPh...
27.8
88
0.732374
4a3854bda0064bd7e6fe24911b8fea0cc5e6b03b
1,954
package ClassificationTraining.Search; import java.util.*; /** * @Classname ShortestPathWithAlternatingColors * @Description TODO * @Date 2020/8/11 0:28 * @Created by Administrator * Input: n = 3, red_edges = [[0,1],[1,2]], blue_edges = [] * Output: [0,1,-1] */ public class ShortestPathWithAlternatingColors { ...
33.689655
82
0.460594
0621901f15009e1df1ab29788f00125c15640d85
1,472
package com.hivemq.cluster.jgroups; import com.google.common.primitives.Longs; import com.hivemq.bootstrap.ioc.lazysingleton.LazySingleton; import com.hivemq.configuration.HivemqId; import org.jgroups.Address; import org.jgroups.stack.AddressGenerator; import org.jgroups.util.UUID; import javax.inject.Inject; import ...
30.666667
89
0.682065
ee834aa9def31aae3e55204ec8d7414b20a37e3d
8,666
package com.nhancv.livetranscribe; import android.support.annotation.NonNull; import com.google.api.gax.core.CredentialsProvider; import com.google.api.gax.core.FixedCredentialsProvider; import com.google.api.gax.core.FixedExecutorProvider; import com.google.api.gax.rpc.ClientStream; import com.google.api.gax.rpc.Res...
40.306977
154
0.630164
38f687872c390d494355005db7c800c93eec555d
424
package com.release.easybasex.event; /** * @author Mr.release * @create 2019/8/2 * @Describe */ public class NetworkChangeEvent { boolean isConnected; public NetworkChangeEvent(boolean isConnected) { this.isConnected = isConnected; } public boolean isConnected() { return isConnec...
16.96
52
0.660377
eac622689831d063f5456c10ec07f2e71c4bcfba
8,027
package co.bantamstudio.streamie.activity; import android.content.Intent; import android.content.res.Configuration; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.ActionBarDrawerToggle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentTransaction; import an...
34.599138
125
0.680827
098c50fed6525b098b4d43f8ecbf8e617327a6a0
12,769
import java.awt.EventQueue; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JTextField; import javax.swing.JButton; import java.awt.event.ActionListe...
32.408629
114
0.665518
3f1c86a0c28801fcaf888e91a6ef439ff4d2a94d
998
package edu.pitt.math.jhol; import java.awt.BorderLayout; import javax.swing.ImageIcon; import javax.swing.JDialog; import javax.swing.JLabel; import java.awt.Dialog; public class AboutDialog extends JDialog { /** * */ private static final long serialVersionUID = 1L; AboutDialog(){ super(); setTitle(""...
23.761905
125
0.673347
5e05da83b89f6e76ebdc09be8d0c260ffe9dd04e
2,796
package com.strobel.decompiler; import org.junit.Test; import java.util.HashMap; import java.util.Map; @SuppressWarnings({ "unchecked", "UnusedDeclaration", "Convert2Diamond", "LocalCanBeFinal" }) public class AnnotationTests extends DecompilerTest { private @interface A { String[] value(); ...
30.064516
99
0.449213
04d0328da9fa4b6230dd9663e7c2f19eafa50ebf
5,001
/* * Copyright 2019, Perfect Sense, 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 a...
24.880597
152
0.634673
ce2dce8335e7156923f2315c221b9ac89b435629
2,972
package edu.gemini.shared.util; import java.io.*; public class GeminiException extends Exception { private Exception nestedException; /** * Creates a new exception using the specified nested exception. The * static "constructor" is used to avoid wrapping a GeminiException. * * @param o...
29.72
88
0.644347
8162955685c49f9c5a2b186af440f89a455cdac5
2,260
package org.apache.eagle.storage.jdbc.schema.serializer; import org.apache.eagle.log.entity.meta.Qualifier; import org.apache.eagle.storage.jdbc.JdbcConstants; import org.apache.eagle.storage.jdbc.schema.JdbcEntityDefinitionManager; import org.apache.torque.util.JdbcTypedValue; import java.io.IOException; import java...
39.649123
134
0.711504
642f2d758c2cba10b37d4a41c407c24faea04364
2,004
// Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package com.android.tools.r8.utils; import com.android.tools.r8.origin.Origin; import com.android.tools.r...
27.081081
83
0.708583
5e6b35f378bd1cfd3d034e40ffc8d3dfe6c99198
5,282
package za.ac.unisa.lms.tools.tpustudentplacement.model.modelImpl; import za.ac.unisa.lms.tools.tpustudentplacement.dao.ContactDAO; import za.ac.unisa.lms.tools.tpustudentplacement.dao.StudentDAO; import za.ac.unisa.lms.tools.tpustudentplacement.dao.databaseUtils; import za.ac.unisa.lms.tools.tpustudentplacement.forms...
53.897959
119
0.602802
a1fa3627d66e708a4a0b6dde23160db095392b43
13,817
import java.util.*; import java.nio.charset.StandardCharsets; import java.nio.file.*; import java.io.*; import java.net.*; import java.util.concurrent.*; import ltu.Utils; class Player { public int playerID; public boolean isBot; public boolean online; public Socket connection; public BufferedReader inFromC...
35.795337
132
0.661504
8656ebc625906b1744cf7ba08f590c598a14cc13
658
package chord.analyses.method; import joeq.Class.jq_Class; import joeq.Class.jq_Initializer; import joeq.Class.jq_Method; import chord.program.visitors.IMethodVisitor; import chord.project.Chord; import chord.project.analyses.ProgramRel; /** * Relation containing all constructor methods, that is, methods * having n...
24.37037
68
0.708207
f5c0a5cb029822442846da6a22562454e4868380
2,345
/* ** GENEREATED FILE - DO NOT MODIFY ** */ package com.wilutions.mslib.outlook; import com.wilutions.com.*; /** * OlFormatDuration. * */ @SuppressWarnings("all") @CoInterface(guid="{00000000-0000-0000-0000-000000000000}") public class OlFormatDuration implements ComEnum { static boolean __typelib__lo...
38.442623
96
0.710448
7156118a70d7987e39b5c05fd20779a1bafbdded
495
package org.nutz.boot.starter.tio.websocket.annotation; import java.lang.annotation.*; /** * example: * * import org.tio.core.ChannelContext; * * \@TIOnMap * public void onMapDefault(ChannelContext channelContext, String event, AnyObject object) {} * * \@TIOnMap("ping") * public void onMap(ChannelContext cha...
22.5
93
0.735354
e65c15ae0d97a41bb71835753147997a25d91409
408
package org.jeecg.modules.demo.customer.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import org.jeecg.modules.demo.customer.entity.CustomerLabel; import com.baomidou.mybatisplus.core.mapper.BaseMapper; /** * @Description: 客户家庭组标签 * @Author: jeecg-boot * @Date: 2022-04-11 * @Versio...
22.666667
72
0.769608
6c9a99bbb6dc04a8f4bc517a37916c40a973db9d
983
/** * Core API of Jsonb. * * <h4>Initialise with defaults</h3> * * <pre>{@code * Jsonb jsonb = Jsonb.builder().build(); * }</pre> * * <h4>Initialise with some configuration</h3> * * <pre>{@code * Jsonb jsonb = Jsonb.builder() * .serializeNulls(true) * .serializeEmpty(true) * .failOnUnknow...
20.479167
74
0.613428
33ea84c0749de6545a88e8b546c25816e4b6bb93
4,797
package thevault.java.string; import thevault.java.array.ArrayHelper; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.util.HashMap; import java.util.Locale; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; public class StringHelper { public ...
36.618321
139
0.62143
35931bd29acc0af67e1ed5559c8eddcd54cffdcf
2,359
package dev.infrastructr.deck.api.controllers; import dev.infrastructr.deck.ContextCleaner; import dev.infrastructr.deck.WebTestBase; import dev.infrastructr.deck.api.actions.ProviderActions; import dev.infrastructr.deck.api.actions.UserActions; import dev.infrastructr.deck.api.entities.Provider; import dev.infrastruc...
31.878378
70
0.695634
1fa7a12f3e36c7fe7d686c670378438675f51eaf
1,756
package com.web.curation.model.DTO; import static com.querydsl.core.types.PathMetadataFactory.*; import com.querydsl.core.types.dsl.*; import com.querydsl.core.types.PathMetadata; import javax.annotation.Generated; import com.querydsl.core.types.Path; import com.querydsl.core.types.dsl.PathInits; /** * QLikecheck...
30.807018
117
0.719248
f49bc12529e02780e4eb20c99ad614c71c68ef14
6,034
/* * 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...
23.118774
94
0.694067
b261809489423a0ab5e8591234360bfd97dc8504
1,082
/* © 2013-2015 Deuterium Labs Limited */ package com.deuteriumlabs.dendrite.view; import javax.servlet.jsp.PageContext; public class CoverView extends View { public CoverView(final PageContext pageContext) { this.pageContext = pageContext; } public String[] getTags() { final String[] tags...
30.055556
79
0.608133
0d01fd85e2eddf4ceca85b679756ffbf60ea635d
1,843
package se.uu.it.dtlsfuzzer.config; import com.beust.jcommander.Parameter; public class TestingConfig { @Parameter(names = "-exhaustive", required = false, arity = 0, description = "If provided, testing a state is performed for all distinguishing suffixes, " + "and is not stopped once non-conformance is detected ...
32.333333
181
0.731416
412fce1804d606526a78a6d756b167f2122873db
403
package com.loserico.pattern.structural.adapter; /** * 要实现客户端期望的接口 * <p> * Copyright: (C), 2020/2/15 12:20 * <p> * <p> * Company: Sexy Uncle Inc. * * @author Rico Yu ricoyu520@gmail.com * @version 1.0 */ public class BirdAdapter implements ToyDuck { private Bird bird; public BirdAdapter(Bird bird) { ...
14.925926
48
0.650124
c2e51ce03008116edee7bf4ff554d829f065c5b0
565
package reuse.pipe.hazelcast; import reuse.pipe.base.AbstractTarget; import com.hazelcast.core.Hazelcast; import com.hazelcast.core.ITopic; public class TopicTarget<T> extends AbstractTarget<T> { static org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(TopicTarget.class); private ITopic<T> topic...
20.178571
85
0.704425
103d0bb5ce94b539553760ebb6498b97e79a5a07
7,093
/* * Copyright (C) 2010 Google, 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...
32.388128
100
0.708445
7f6a081f59799a081a5e484fc9e5524af880d54a
585
/* * title: ConcreteDecoratorB.java * copyright:©2018-2020 gackey. All Rights Reserved. */ package com.gackey.patterns.decoratorpattern; /** * @desc: TODO * @className: ConcreteDecoratorB * @author: gackey * @date: 2018-12-08 08:55 */ public class ConcreteDecoratorB extends Decorator { @Override publ...
20.172414
52
0.630769
03d68b5c818147a371555f5f94401bd2a3640254
5,994
/* * Copyright (c) 2021 NetEase, Inc. All rights reserved. * Use of this source code is governed by a MIT license that can be found in the LICENSE file */ package com.netease.yunxin.app.wisdom.player.view; import android.content.Context; import android.util.AttributeSet; import android.view.Surface; import andr...
29.527094
123
0.5996
9e735b454d50abe0003109fd2c647b3e52bb06a6
495
package com.zup.mercado.produto; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; @Repository public interface ProdutoRepository extends JpaRep...
35.357143
73
0.80202
2c4b79724fb2c02ede0386cbfba17e5afb956bfa
1,415
/* * Copyright 2017-2019 The OpenAds Project * * The OpenAds Project 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/licenses/LICENSE-2.0 * ...
25.267857
113
0.738516
6550551bfbb04ebce98bbb2add928a5f6dc0f154
1,490
package Weka; import Main.MicroText; import Main.Model.role.Opponent; import Main.Model.role.Proponent; import Main.TextSegment; import weka.core.Attribute; import weka.core.Instance; import java.util.*; public class ProponentOponentClassifier extends TextSegmentClassifier { @Override protected Attribute de...
31.041667
95
0.681208
69b9aee85afb8725a2e841b5e889b7b92c9ad7a6
3,376
/* * Copyright (C) 2013 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
52.75
99
0.751481
643573621c7c5a5bfceb517b270025ee06a01c23
1,982
package com.cmclinnovations.prime.species.controller; import java.util.ArrayList; import org.semanticweb.owlapi.model.OWLOntologyCreationException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.cmclinnovations.prime.species.model.converter.owl.IOwlConverter; import com.cmclinnovations.prime.spe...
36.703704
108
0.769929
6bd76d2d1cddc81ac579e616889cf01c5d1b314c
674
package com.akie.java2; class Father { static { System.out.println("11111111111"); } { System.out.println("22222222222"); } public Father() { System.out.println("33333333333"); } } public class Son extends Father { static { System.out.println("44444444444"); } { System.out.println("55555555555")...
16.047619
54
0.5727
18640960daf0d028a937e723dc9223bcde467113
1,783
/* * Licensed to Laurent Broudoux (the "Author") under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Author licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you may not...
27.430769
79
0.715087
1d19a01caa477df385677fbfe14c9aecf2d7d28a
5,997
package net.troja.eve.esi.api; import java.lang.reflect.Type; import java.util.List; import java.util.Map; import net.troja.eve.esi.ApiCallback; import net.troja.eve.esi.ApiClient; import net.troja.eve.esi.ApiClientBuilder; import net.troja.eve.esi.ApiException; import net.troja.eve.esi.ApiResponse; import n...
43.143885
132
0.617642
4a8edac46c57baf13cb04c0d6e995383835171ce
1,358
package database.dao; import database.model.AuthorToAuthor; import org.hibernate.Session; import org.hibernate.Transaction; import utility.HibernateSessionFactoryUtil; import java.util.List; public class AuthorToAuthorDao { Session session; public AuthorToAuthor findById(String id) { AuthorToAuthor a...
28.291667
136
0.696613
4033df7de44abff6fb89b78ef5b1ec6664f262aa
2,103
package com.cte4.mac.example.controller; import java.time.Duration; import java.util.Random; import com.e4.mac.annotation.LatencySPI; import com.e4.mac.annotation.MonitorSPI; import com.e4.mac.annotation.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotatio...
32.353846
100
0.674275
79f10eebdb8e5ceccacb5887d12b87cab9ac11a3
1,423
package com.hubrickchallenge.android.notification; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Bundle; import com.hubrickchallenge.android.activity.main.MainActivity; import timber.log.Timber; import static com.hubrickchallenge.android.B...
40.657143
116
0.767393
f7b9b3089de3d8ec3b966fa3375da57ac046f204
1,529
package blue.internal.http.message; import blue.core.id.IdGenerator; /** * @author Jin Zheng * @since 2020-01-29 */ public class WebSocketHeader { private long messageId; // 消息标识 private String token; // 令牌 private long timestamp = System.currentTimeMillis(); // 当前时间戳 private String url; // URL private int ve...
15.29
62
0.686723