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
17c3ea767b9f319f50b6cf7c2a5cafdc8b2a3cd0
829
package com.twu.biblioteca.domain.menu.option; import com.twu.biblioteca.exception.AuthenticationException; import com.twu.biblioteca.foundation.Console; import com.twu.biblioteca.service.AuthService; public class LoginOption extends MenuOption { public static final int NUMBER = 6; public static final String ...
30.703704
82
0.735826
b6b8c2ab02c9ad9cc0dc06545e6164641a93e346
1,252
package dropwizard.java.example.filter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.slf4j.MDC; import java.io.IOException; import java.util.UUID; import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.container.ContainerRequestFilter; import javax.ws.rs.container.ContainerRes...
36.823529
125
0.763578
71e29ba047a448229ac8f590905491230942a23a
11,626
package com.alekseyzhelo.evilislands.mobplugin.script.template; import com.alekseyzhelo.evilislands.mobplugin.EIMessages; import com.alekseyzhelo.evilislands.mobplugin.script.EIScriptLanguage; import com.alekseyzhelo.evilislands.mobplugin.script.highlighting.EIScriptSyntaxHighlighter; import com.alekseyzhelo.evilislan...
43.219331
131
0.641665
9b600c017ee3f6906f93fc7acd3c1ba77995e539
1,763
/* * 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 ma...
33.264151
83
0.734543
63585bac0b5fd8b352371f0d3ac3b8bf25f74862
6,980
package controllers; import game.Item; import game.Player; import game.fleet.Direction; import game.fleet.Ship; import java.util.HashMap; import java.util.Map; import java.util.Scanner; import java.util.function.Consumer; import java.util.regex.Matcher; import java.util.regex.Pattern; public class BoardLayoutControl...
40.581395
96
0.62149
f80939de9a2029f8dde69e4b1c7abeebd3ae0668
722
package com.cadiducho.fem.core.cmds; import com.cadiducho.fem.core.api.FEMUser; import java.util.Arrays; import java.util.Set; import org.bukkit.Location; import org.bukkit.Material; public class JumpCMD extends FEMCmd { public JumpCMD(){ super("jump", Grupo.Moderador, Arrays.asList("j")); } ...
28.88
98
0.67036
855b6fc0715fe4b12cdbddaac3e88d6d7eb62481
267
package be.rommens.scraper.api.service; import be.rommens.scraper.api.Provider; import be.rommens.scraper.core.Scraper; /** * User : cederik * Date : 14/05/2020 * Time : 10:02 */ public interface ScraperFactory { Scraper createScraper(Provider provider); }
19.071429
45
0.730337
eb9a16d45df918283e6633269dc512dc321f802c
1,887
package Adapter; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.andremion.floatingnavigationview.sample.R; import java.util.List; import Entity.Question; public class QuestionsData...
29.484375
103
0.676206
1341325a1e9f44cd37072ef83398dcd53a81022e
1,862
/* * Copyright (C) 2017 Julien Viet * * 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 ...
28.646154
78
0.698711
06b075dc4b26696358aa008b288a72edfe9bb917
4,437
package libcomm.communication.connection; import static org.junit.Assert.assertEquals; import libcomm.connection.ConnectionMode; import libcomm.connection.ConnectionState; import libcomm.exception.CommErrorType; import libcomm.exception.CommunicationException; import libcomm.utils.CommTest; import org.junit.Assert; i...
46.705263
132
0.711742
c963bac4662085674ab6832dbff0ddfefcd945df
521
package com.example.spring.service.sql; import com.mysema.query.sql.MySQLTemplates; import com.mysema.query.sql.SQLTemplates; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.stereotype.Service; @ConditionalOnProperty(name = "spring.datasource.platform", having...
32.5625
82
0.802303
d0d9618716c096610b0f54941a0ae5750c67481e
1,095
package io.rocketchat.livechat.model; import io.rocketchat.common.data.model.Message; import org.json.JSONObject; /** * Created by sachin on 9/6/17. */ public class LiveChatMessage extends Message{ public static String MESSAGE_TYPE_COMMAND="command"; public static String MESSAGE_TYPE_CLOSE="livechat-close"...
24.333333
72
0.692237
3de394a5f642092fcbb3a669336d38ef98f5aff2
2,048
package com.github.sho5nn.promise.fortestutils; import java.util.UUID; import java.util.concurrent.Callable; public class CallableTask { private CallableTask() { } public static Callable<Integer> increment(final int i) { return new Callable<Integer>() { @Override public Integer call() throws E...
23.813953
93
0.62793
12589d8fffed5cb618a5723a276ab51073498955
14,400
/* * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://duracloud.org/license/ */ package org.duracloud.mill.manifest.jpa; import java.text.MessageFormat; import java.util.Date; impo...
41.982507
118
0.508681
f02ed9b8cd5ff1b119d32824222b9859354b7c62
3,184
package chess.bots; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ForkJoinPool; import java.util.concurrent.RecursiveTask; import cse332.chess.interfaces.AbstractSearcher; import cse332.chess.interfaces.Board; import cse332.chess.interfaces.Move; import cse332.exceptions.NotYetImpleme...
29.757009
104
0.632224
ebcbe89d31368cba50e29b531c3e949ce20ece6d
467
package com.steven.mall.order.service; import com.baomidou.mybatisplus.extension.service.IService; import com.steven.common.utils.PageUtils; import com.steven.mall.order.entity.OrderReturnApplyEntity; import java.util.Map; /** * 订单退货申请 * * @author steven * @email stevenlin5520@163.com * @date 2020-12-16 00:17:2...
22.238095
83
0.775161
f6665941baa173b97c77545991dfa5609cd271c9
1,497
/* * This code was developed by Mark Morgan (mmm2a@virginia.edu) at the University of Virginia and is an implementation of JSDL, JSDL * ParameterSweep and other JSDL related specifications from the OGF. * * Copyright 2010 University of Virginia * * Licensed under the Apache License, Version 2.0 (the "License");...
26.732143
139
0.732131
f8b580611ec7cb8cfe5b763ce2883d3517142339
365
package com.leoc.socket.server.messages; import java.util.List; /** * Mensaje enviado por el servidor al cliente para mostrar el menú de opciones */ public class MenuResponse { private List<MenuItem> menu; public List<MenuItem> getMenu() { return menu; } public void setMenu(List<MenuItem>...
16.590909
78
0.660274
94554258d61277d642a961c80ab23fb59a6edb65
2,964
package vulc.dantegame.gfx.sprite; import java.io.IOException; import javax.imageio.ImageIO; import vulc.bitmap.Bitmap; import vulc.bitmap.IntBitmap; import vulc.dantegame.level.Level; public final class Atlas { private Atlas() { } public static final int SPRITE_SIZE = 32; public static final Bitmap<Integer>...
33.303371
107
0.714575
cdfa5b10f1e3c8f8075a48044f85c6724f2ebe1f
7,708
/**************************************************************************\ * * * init_rand_digits(n) * * * * This...
46.433735
104
0.441749
82f7b7b48b4ef49eab7cbaedae6e88c1b3311456
12,143
/* * 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")...
34.109551
125
0.566335
a57c326f82272027d9fbfdbb7d93def1e324d2d3
646
package org.bigml.binding; import java.util.Locale; /** * Any prediction resource must implement this interface to allow * conversion of prediction values from string to its correct data type * * User: xalperte * Date: 3/2/15 * Time: 3:46 PM */ public interface PredictionConverter { /** * Given a pre...
25.84
80
0.708978
fa3d9b0a6674788e4d5461beacfc215a52319e09
2,534
package utils.kdt; import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; public class KdtApiProtocol { public static final String APP_ID...
35.690141
85
0.680742
909f35ecb5b20e975d57bdfc56bb3780b6e3413c
5,258
package com.huaweicloud.sdk.servicestage.v2.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import com.huaweicloud.sdk.servicestage.v2.model.Acces...
26.422111
106
0.569608
2e55316ebd8a06f2f4d6c36c42b46e492d69c4fa
4,955
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v2/resources/ad_group_extension_setting.proto package com.google.ads.googleads.v2.resources; public final class AdGroupExtensionSettingProto { private AdGroupExtensionSettingProto() {} public static void registerAllExtensi...
51.082474
112
0.746519
86d4ac86834bda6fc47f749c3d9dd51cb74d2b1a
660
package org.apache.spark.sql.execution.datasources.noop; public class NoopWriter$ implements org.apache.spark.sql.connector.write.DataWriter<org.apache.spark.sql.catalyst.InternalRow> { /** * Static reference to the singleton instance of this Scala object. */ public static final NoopWriter$ MODULE$ = null; ...
55
129
0.74697
316c204b44b0ce66a853c90053eff8672778716b
10,285
package com.yuzhouwan.common.dir; import com.yuzhouwan.common.util.ExceptionUtils; import com.yuzhouwan.common.util.FileUtils; import com.yuzhouwan.common.util.StrUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.File; import java.io.IOException; import java.net.URL; import java.nio.file....
36.863799
119
0.614682
4127f137eae0f719580f478273050267a37799a9
913
/* * 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 game; /** * * @author Kosmic */ public class Bullet { private double speed; private double dista...
20.288889
80
0.577218
8b532942513bd20ec762377a17b41cde1e07ff6d
1,053
package com.revolsys.geometry.geoid; import org.jeometry.coordinatesystem.operation.gridshift.VerticalShiftOperation; import com.revolsys.geometry.model.BoundingBox; import com.revolsys.geometry.model.GeometryFactory; import com.revolsys.grid.Grid; public class GridGeoidModel extends AbstractGeoidModel { protecte...
24.488372
80
0.773029
b35e54e9d38af2063deb71bf4ace6cc68188bd7c
471
/* * Created by zeeroiq on 9/22/20, 7:02 AM. */ /* * Created by zeeroiq on 9/21/20, 9:08 PM. */ package com.shri.statemachine.domain.enums; public enum PaymentEvent { PRE_AUTHORIZE(1), PRE_AUTH_APPROVED(2), PRE_AUTH_DECLINED(3), AUTHORIZE(4), AUTH_APPROVED(5), AUTH_DECLINED(6); priv...
15.7
43
0.619958
8edf330fc8120c70066f54eee066aa55665df946
8,066
/* * Copyright 2014-present Facebook, 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...
39.346341
120
0.703075
05ae588f415bfe6978ad17bba313cf800547f4bd
415
package pl.mmorpg.prototype.clientservercommon.packets.movement; import pl.mmorpg.prototype.clientservercommon.packets.GameObjectTargetPacket; import pl.mmorpg.prototype.clientservercommon.registering.Registerable; @Registerable public class ObjectRepositionPacket implements GameObjectTargetPacket { public long id; ...
21.842105
77
0.821687
bfe9da6ca67445fe232ed3967bf7752376860bf2
6,137
/* * Copyright 2015-present Facebook, 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...
42.618056
97
0.747434
910588831867fa122320461b6726aee9c10f21ee
5,766
package com.hxd.camera.system; import android.annotation.SuppressLint; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.os.Build; import android.provider.DocumentsContract; import android.pro...
36.0375
137
0.608221
8fe2dad5c17d41cc2618c45de0b3d891015c8861
531
package com.fast.family.redis.lock.aop; import com.fast.family.redis.lock.delegate.LockDelegate; import lombok.extern.slf4j.Slf4j; import org.aopalliance.intercept.MethodInterceptor; import org.aopalliance.intercept.MethodInvocation; /** * @author 张顺 * @version 1.0 */ @Slf4j public class LockMethodInterceptor imp...
23.086957
78
0.783427
084b3a3e5880050814b2320c24b95ebef5685ee5
2,450
package com.chenbo.daomybatisplus.handle; import lombok.extern.slf4j.Slf4j; import org.apache.ibatis.type.BaseTypeHandler; import org.apache.ibatis.type.JdbcType; import org.apache.ibatis.type.TypeException; import java.sql.*; @Slf4j public class ArrayTypeHandler extends BaseTypeHandler<Object[]> { private stat...
33.108108
129
0.666531
71477e0cf42a2a728f4d5e5c3a6793ab131a02c6
2,111
/* * Copyright 2010-2018 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
39.092593
119
0.72667
7d2987354e5b6082b8864fe3de3cd21eedf047ac
125
package com.example.spintracks; public interface PermissionsCallback { void afterPermissionsRequest(int grantResult); }
20.833333
50
0.816
6b466623da541bec1dee1f580eff583af44b2595
1,989
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ /* * Copyright 2019 Am...
27.246575
78
0.720965
5c9aa99a74ffe583a0b5c384979c316bb7867c08
2,084
package org.innovateuk.ifs.interview.builder; import org.innovateuk.ifs.interview.resource.InterviewApplicationSentInviteResource; import org.junit.Test; import java.time.ZonedDateTime; import java.util.List; import static org.innovateuk.ifs.interview.builder.InterviewApplicationSentInviteResourceBuilder.newIntervie...
40.076923
139
0.705374
8dc65bc2ffd13785577b4ec299145622ca3ced81
1,898
package com.player.subtitle; import android.content.Context; import android.graphics.Color; import android.support.v7.widget.AppCompatTextView; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; /** * 显示字幕的字体样式 * * Created by xyoye on 2019/5/6. */ public class SubtitleTe...
22.595238
89
0.616965
d73312ec903ff247d1bd5ab0015d0ecf3f28b7f8
181
package javay.state; /** * 温水状态实现类 */ public class WarmWaterStateImpl implements IWaterState { @Override public void printState() { System.out.println("水的状态:温水!"); } }
15.083333
56
0.685083
269bbed80ce7d2fc7e21225d2f318a635ee3caa2
48,045
package android.support.v7.widget; import android.app.PendingIntent; import android.app.SearchableInfo; import android.content.ActivityNotFoundException; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.content...
27.052365
251
0.632948
6b81ad9ca5b87d1a6da4ee33539d399ae1915291
10,538
package org.biopax.paxtools.pattern.util; import org.biopax.paxtools.model.level3.*; import java.io.*; import java.util.*; /** * A blacklist is used for not using ubiquitous small molecules in patterns. This class knows how to * read itself from an InputStream, and can write itself to an OutputStream. * * @autho...
23.734234
100
0.666255
4e8baf4e71c8550c4a2e282a5194f9f9c43a093d
9,370
package dev.teamtesseract.fractal.client.skybox; import com.mojang.blaze3d.platform.GlStateManager; import com.mojang.blaze3d.systems.RenderSystem; import net.minecraft.client.MinecraftClient; import net.minecraft.client.render.*; import net.minecraft.client.util.math.MatrixStack; import net.minecraft.client.world.Cli...
47.323232
200
0.555496
6d807730ea40082ff7fdfb628bbdb321fbfe357f
2,152
/* * Copyright (C) 2017 Red Hat, 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 ...
37.754386
127
0.680297
7184194dc8d2be26fff3f7f6b6c6bdf84a9d3ad6
4,393
package com.pierfrancescosoffritti.aytplayersample.examples.customUIExample; import android.annotation.SuppressLint; import android.content.Context; import android.support.annotation.NonNull; import android.support.v4.content.ContextCompat; import android.view.View; import android.view.ViewGroup; import android.widget...
38.876106
154
0.747553
d02a45c410ec89486f6fa412594348c89cfc876c
2,832
package com.telecomsys.cmc.model; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; /** * Message model. */ public class Message { /** * Message destinations. */ @JsonProperty("to") private List<String> destinations; /** * Message text. */ privat...
19.006711
79
0.573093
9be60f7cb2cf05d47f0037ceea540ae6a9f1d2e5
1,747
package org.appwork.uio; import org.appwork.utils.swing.dialog.Dialog; public class UIOManager { private static UserIOHandlerInterface USERIO = org.appwork.utils.Application.isHeadless() ? new HeadlessDialogHandler() : new BasicDialogHandler(); public static void setUserIO(final UserIOHandlerInterfa...
31.763636
152
0.635375
abff5ff5b6b2b0f054c58a58b191cfaf66ea141d
940
package ledger; import productivityDevices.PannonianMatter; public class ShelvingLedger extends ledger.SymposiumCommemorate { private static final int synX252int = -1250844424; private static final int synX251int = 1229234322; public static final int nickname = 471404051; public static final java.lang.String ...
30.322581
92
0.744681
86dc19776441d349850329ca1dc50840720c7384
6,136
/* * 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 ...
35.264368
81
0.642927
b8b5d879adbd11ac669b3db230d1ccde9a6821b3
218
package com.mydesign.Builder.demo2; /** * @Author:Yerik Xiang * @Date:2020/11/25 17:17 * @Desc: */ public class Bottle implements Packing { @Override public String getPack() { return "纸杯"; } }
15.571429
40
0.619266
5c783d554473e7bc0d5943d7a40d3fb44df94ff1
12,089
package BattleShip; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.util.ArrayList; import javax.swing.JPanel; /** ...
32.497312
111
0.654314
ed8f026c7f062a450191e87cae01234a1dc68528
450
package com.repositories; import com.model.Book; import org.springframework.data.domain.Page; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework.stereotype.Repository; @Repository //public interface BookReposi...
32.142857
83
0.851111
a34b80e19369046ea4ff3236137e83a01f367e1e
523
package com.cjburkey.voxicus.block; import com.cjburkey.voxicus.resource.Resource; public class Blocks { public static Block blockStone; public static Block blockGrass; public static Block blockDirt; public static void registerBlocks() { blockStone = new Block(new Resource("voxicus", "texture/ter...
30.764706
85
0.734226
e5aea85bc9d9644478efb8f3d00b5a3600ae2b81
17,527
/* * MIT License * * Copyright (c) 2019-2020 Yoann CAPLAIN * * 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...
39.564334
198
0.699835
8e5fdc139536f92b4c7abf4395963588efc379e7
463
package com.nano.common.constants; /** * 数据常量 */ public class DataConstants { public static final String DATA_FORMAT_ERROR = "Data format error"; public static final String DATA_FIELD_FORMAT_ERROR = "Data field format error"; public static final String SAVE_ERROR = "Save Error"; public static fin...
22.047619
83
0.721382
1956b703cc87a83783c139524eea422c03af45db
1,679
package com.starseaing.example.form.service; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.starseaing.example.form.mapper.FormMapper; import com.starseaing.example.fo...
27.983333
74
0.69327
d8b4bac7920d0e5d83c718cf3e583e365cddbb8c
1,424
package com.mfinance.everjoy.app.pojo; import java.time.LocalDateTime; import java.util.List; public class PriceAlertHistoryObject { public PriceAlertHistoryObject(Integer id, Integer iAlertId, String datecreated, double dAlertPrice, Integer iAlertVolatility, Integer iType, String strMkt){ //System.out.pr...
26.37037
169
0.650983
fcf5cd20d40934e73b826f4063d4deed4995e455
374
package com.genersoft.iot.vmp.common; import com.alibaba.fastjson.JSONArray; import lombok.Data; @Data public class StreamInfo { private String ssrc; private String deviceID; private String cahnnelId; private String flv; private String ws_flv; private String rtmp; private String hls; ...
18.7
38
0.727273
47e4cbe4afef708df86bb7787e9238b19781beee
2,146
package io.segment.android.db.test; import io.segment.android.db.JsonPayloadSerializer; import io.segment.android.models.BasePayload; import io.segment.android.test.TestCases; import junit.framework.Assert; import org.junit.Test; import android.test.AndroidTestCase; public class JsonPayloadSerializerTest extends An...
32.515152
916
0.680801
9c060b6f81b821069e34e1ccd905149f358adc26
5,568
/* * 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 ...
39.211268
114
0.621049
853e86908b714d9e8f273230a468a21607a8d849
1,495
package com.gtbr.rpg.entity; import javax.persistence.*; @Entity @Table(name = "ficha_secao", schema = "public") public class FichaSecao { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "id_ficha_secao") private Long idFichaSecao; @Column(name = "id_ficha") private Lo...
22.313433
123
0.650836
64c7acf8182398eec50ced9d81e04ebfc7b24fa1
1,161
package com.zxclown.learning.action; import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.CommonDataKeys; import com.intellij.openapi.actionSystem.PlatformDataKeys; import com.intellij.openapi.project.Project; import com.int...
29.769231
95
0.721792
ef00cf06eab0d43e85bd822b12ca31c57a37eb92
4,234
package gov.cms.dpc.bluebutton.config; import com.fasterxml.jackson.annotation.JsonProperty; import org.hibernate.validator.constraints.NotEmpty; import javax.validation.Valid; import javax.validation.constraints.Max; import javax.validation.constraints.Min; import javax.validation.constraints.NotNull; public class ...
23.522222
73
0.648323
296ab3422ca621a6091ffd2dbad1250842b02cec
9,583
package com.starry.loadplugin.androidx.pluginmgr.delegate; import android.annotation.TargetApi; import android.app.Activity; import android.app.Application; import android.app.Fragment; import android.app.UiAutomation; import android.content.ComponentName; import android.content.Context; import android.content.Intent;...
27.616715
279
0.703955
f287bfcf664a8a65b9b5009f20bed2bc03dc5e0f
2,170
package com.yangdb.fuse.dispatcher.urlSupplier; /*- * #%L * fuse-core * %% * Copyright (C) 2016 - 2019 The YangDb Graph Database 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 Licen...
27.468354
109
0.607373
e09ea32e90f3e4e7ceb52f3a1c6fcf7f46fa47d7
3,195
package nl.knokko.worldgen.command; import java.util.Arrays; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Location; import org.bukkit.World; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Playe...
29.859813
101
0.646009
e3a38bb9396487a85f9898cb66f55ca16a734117
2,172
package com.brennaswitzer.cookbook.repositories; import com.brennaswitzer.cookbook.domain.S3File; import com.brennaswitzer.cookbook.domain.TextractJob; import com.brennaswitzer.cookbook.domain.User; import com.brennaswitzer.cookbook.util.WithAliceBobEve; import org.junit.Before; import org.junit.Test; import org.junit...
28.96
80
0.702578
ef1dc3e81b621e1b5a4694929ac05be190bbb09a
5,360
package com.stephentuso.welcome; import android.support.test.runner.AndroidJUnit4; import android.support.v4.app.Fragment; import android.view.View; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit...
29.61326
94
0.597015
c05fd4e8a5f565480b68a6dfe594ca96d9fb3662
178
package org.apdoer.condition.common.service; /** * common 模块初始化 * @author apdoer */ public interface CommonInitService { void init() throws Exception; void flush(); }
12.714286
44
0.702247
39953af29904efc0e7b646b2f4c5a32a19e3ee52
9,397
/** * generated by Xtext 2.14.0 */ package org.xtext.example.mydsl.myDsl.util; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.util.Switch; import org.xtext.example.mydsl.myDsl.*; /** * <!-- begin-user-doc --> * The <b>Switch</b> for the model's inherita...
32.515571
119
0.65042
29811132af173af5f82e17f080b660e6b6448626
3,574
/* * 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 * distribut...
31.350877
118
0.668159
7a6eab1d05e3e500a049bdd6774a61f56838b986
3,377
//snippet-sourcedescription:[StopQueryExecutionExample.java demonstrates how to stop a query and check its status.] //snippet-keyword:[Java] //snippet-keyword:[Code Sample] //snippet-service:[athena] //snippet-sourcetype:[full-example] //snippet-sourcedate:[] //snippet-sourceauthor:[AWS] package aws.example.athe...
45.635135
136
0.76488
ddcdf7b737a09f9da8d38d253657956bc445efd0
33,092
/** * Copyright (C) 2009-2014 Dell, Inc. * See annotations for authorship information * * ==================================================================== * 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 co...
44.240642
234
0.561193
e53a09fff319b9a301213030ce4c878a457ea7d4
5,347
package BrickControlGuide; import java.nio.FloatBuffer; import javax.media.opengl.GL2; import javax.media.opengl.glu.GLU; import javax.media.opengl.glu.GLUquadric; import Builder.MainCamera; import Common.Matrix4; import Common.Ray3; import Common.Vector3f; import LDraw.Support.MatrixMath; import com.jogamp.opengl....
34.057325
83
0.721339
4838a40d86b0f51f0e5bf66c4a65bf8920f4b8a6
1,040
package my.common.utils; import org.springframework.beans.BeansException; import org.springframework.beans.factory.DisposableBean; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.stereotype.Component; @Component public class...
26.666667
97
0.805769
07a3c2a6385f53a0b272db7adb8961f3506efc39
5,638
package cz.metacentrum.perun.core.bl; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import java.util.ArrayList; import java.util.List; import javax.sql.DataSource; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframewor...
36.61039
155
0.789819
9d956ff05ce7243a2dd71900ab7c8d71a7ad15b1
12,742
/*@LICENSE@ */ package org.xtrms.regex.test; import java.util.logging.Level; import java.util.logging.Logger; import org.xtrms.regex.AbstractRxTestCase; import org.xtrms.regex.Matcher; import org.xtrms.regex.Pattern; import static org.xtrms.regex.RegexAssert.*; public class CaptureGroupTestCase extends Abstract...
34.160858
97
0.453618
78ecdc15cf38a36a42de93c82e78632dec5ed0b1
4,076
package com.airback.module.project.dao; import com.airback.db.persistence.ICrudGenericDAO; import com.airback.module.project.domain.TicketKey; import com.airback.module.project.domain.TicketKeyExample; import java.util.List; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; @Sup...
32.870968
112
0.688665
52cd692058e724e629d3897a6db4812e196d81e3
3,395
package ajedrez; public class Peon extends Piezas { String figura; public Peon() { } public Peon(boolean color) { super(color); if (color) { figura = "♙"; } else { figura = "♟"; } } public String getFigura() { return figura; ...
29.521739
80
0.279234
18979d73afec07aab5c70e1413415d1ad36d43c6
11,803
/******************************************************************************* * 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 ...
27.706573
187
0.694823
660746c8f2cd8f41b34ad006ab3150fc0663ea8e
4,219
package com.nepxion.discovery.platform.server.entity.po; /** * <p>Title: Nepxion Discovery</p> * <p>Description: Nepxion Discovery</p> * <p>Copyright: Copyright (c) 2017-2050</p> * <p>Company: Nepxion</p> * * @author Ning Zhang * @version 1.0 */ import java.io.Serializable; import org.apache.commons.lang3.bu...
24.52907
88
0.697085
f751072cc7aa1ba2dd93abf5e09d72af6b4fa8dc
1,275
/* * Copyright 2014 Netflix, 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 t...
27.717391
75
0.71451
e49e904b99abe22ffe012cc2f5ced148fd69b210
7,352
package com.inepex.ineForm.client.form.widgets.upload; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.ui.Grid; import com.google.gwt.user.client.ui.HTML; import com.google.gwt.user.client.ui.HorizontalPanel; import com.google.gwt.user.client.ui.Label; import com.google.gwt.user.client....
32.530973
99
0.586507
808364dabc816f95b8c683eed2fe1c002e5dc364
190
package index; public class BPlusTreeException extends Exception { public BPlusTreeException() { super(); } public BPlusTreeException(String message) { super(message); } }
15.833333
51
0.710526
b44374da9f1fd27512356ef2a5d0b5eee8208b77
460
package xyz.rexlin600.custom.test.service; import com.baomidou.mybatisplus.extension.service.IService; import org.apache.ibatis.annotations.Param; import xyz.rexlin600.custom.test.entity.Goods; /** * Goods service * * @author hekunlin */ public interface GoodsService extends IService<Goods> { /** * Select by ...
19.166667
62
0.706522
db8d64d1e1b631868d8844af386c6073fb3b07e6
6,509
package edu.columbia.cs.psl.test.phosphor; import static org.junit.Assert.assertTrue; import java.util.HashMap; import org.junit.Test; import edu.columbia.cs.psl.phosphor.runtime.MultiTainter; import edu.columbia.cs.psl.phosphor.runtime.Taint; import edu.columbia.cs.psl.phosphor.struct.TaintedWithObjTag; public cl...
39.448485
92
0.732678
4a0a3f1376799edc56224b650f0d9c6face0fce3
3,564
/** * Copyright (c) 2011, University of Konstanz, Distributed Systems Group * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyrigh...
33.308411
84
0.734848
2f47ae23666cf2a67a672756b98f01bb3a2a5a47
2,329
/* * Copyright (c) 2009-2020, Peter Abeles. All Rights Reserved. * * This file is part of Efficient Java Matrix Library (EJML). * * 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 * * ...
34.25
94
0.63976
5417bbe0025449e26bf046dcfb17a1d8ca6ae017
1,748
/* * Copyright 2012. Zoran Rilak * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
30.666667
98
0.744279
df5e83e4f6878b5baec5483e295ee66d43d94241
7,956
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses ...
14.571429
810
0.78997
241d790c41be3d2f14c7f60e8ed1940c0bc1e80e
1,484
package core.validation; /** * Represents a result detail indicating a mandatory element is missing. */ public class MandatoryElementMissingResultDetail extends ResultDetail{ /** * Initializes a new instance of the MandatoryElementMissingResultDetail class. * @param message The message. */ pu...
32.26087
125
0.701482
1490c7d211067aae2e6e3e332625bb8548173f6e
4,352
/* * Copyright 1998-2009 University Corporation for Atmospheric Research/Unidata * * Portions of this software were developed by the Unidata Program at the * University Corporation for Atmospheric Research. * * Access and use of this software shall impose the following obligations * and understandings on the use...
38.857143
90
0.721967
330ecd18df6aa76e95598c30a7ca9ccc906040e1
2,032
/* * Copyright 2019 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 applica...
32.253968
75
0.771654
02a117bb8ea4ff9e7d98e5b4ae3acd7723fced5e
10,788
package nz.cri.gns.NZSHM22.opensha.inversion; import java.util.ArrayList; import java.util.List; import org.apache.commons.cli.CommandLine; import org.dom4j.Element; import org.opensha.commons.metadata.XMLSaveable; import org.opensha.commons.util.XMLUtils; import org.opensha.sha.magdist.IncrementalMagFreqDis...
42.640316
146
0.737301
d0fe367c96dda570fa3c4069c73f597c42c3597e
1,133
package com.jassuncao.docmap.domain.attribute; import com.jassuncao.docmap.domain.attribute.AttributeData.AttributeDataEntity; import org.springframework.stereotype.Service; import java.util.UUID; /** * @author jonathas.assuncao - jaa020399@gmail.com * 09/09/2021 */ @Service public class AttributeEntityUseCase ...
29.815789
92
0.76699
c8aaa309611e35cf6c637dc9a30e3e2cae0dabae
435
import org.testng.Assert; import org.testng.annotations.Test; public class ContactUs extends BaseUI { String currentUrlContactUs; @Test public void ContactUsPage() { driver.findElement(Locators.Link_ContactUs).click(); currentUrlContactUs = driver.getCurrentUrl(); System.out.prin...
20.714286
76
0.721839
6c42c776d733ad335ea4c032047beecbcdc3f11d
991
package com.att.api.immn.service; import org.json.JSONException; import org.json.JSONObject; import org.json.JSONArray; public final class DeltaResponseInternal { public final String state; public final Delta[] delta; public DeltaResponseInternal(String state, Delta[] delta) { this.state = state;...
27.527778
87
0.663976
8441f60bea51fc2468d7dfad02e2223e35964d11
6,099
package com.wix.reactnativenotifications.core.notifications.actions; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.NotificationCompat; import android.support.v4.app.Rem...
43.564286
147
0.714051