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
21fee08bac7b4176b84885e1c6337711fe02fc86
242
package leetcode.S0199; import define.TreeNode; import java.util.List; /** * 给定一棵二叉树,想象自己站在它的右侧,按照从顶部到底部的顺序,返回从右侧所能看到的节点值。 */ public class Solution { public List<Integer> rightSideView(TreeNode root) { return null; } }
14.235294
55
0.702479
1a05723a761a32e4f7c5daf4f76cd61bfca083ed
7,421
package itests.net.osgiliath.sample.webapp.business.impl; /* * #%L * net.osgiliath.hello.business.impl * %% * Copyright (C) 2013 Osgiliath * %% * 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 Lic...
32.548246
102
0.689799
7ec41b31b3b29f6a260c4f57a8e1d11a9741abc7
4,793
package com.sfgassistant; import android.content.Context; import android.content.SharedPreferences; import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.app.FragmentManager; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import ...
30.922581
117
0.677655
5a460971d52bfbdb8e04f75753458ae7f133c400
2,297
package theHeart.cards; import com.megacrit.cardcrawl.actions.AbstractGameAction; import com.megacrit.cardcrawl.actions.common.ApplyPowerAction; import com.megacrit.cardcrawl.actions.common.DrawCardAction; import com.megacrit.cardcrawl.actions.common.ExhaustAction; import com.megacrit.cardcrawl.cards.AbstractCard; imp...
33.779412
97
0.75185
cd6a35a056a240d573e9fa233346a0aec8e3e73b
1,858
package com.competitiveCodes.VPCodingBlocks.Graph; import java.util.Iterator; import java.util.LinkedList; public class CheckCyclicDirectedGraph { private static int V; private static LinkedList<Integer> adj[]; static void Graph(int v){ V = v; adj = new LinkedList[V]; for (int i...
24.447368
89
0.585576
f61b288e771ea45b5e6c82f8a44c167eb651ac5b
1,817
package org.rcsb.cif.model; import java.util.List; import java.util.stream.Stream; /** * The base of all {@link Category} implementations. Provides access to child columns. */ public interface Category { /** * The name of this {@link Category}. * @return String of the name */ String getCatego...
24.226667
92
0.63071
57fae4aea3cd53a1c8de331176a6c2e44a794c72
1,107
package com.mathlayout.expressions.ast; import com.mathlayout.expressions.ExpressionParser; import com.mathlayout.expressions.ast.base.BaseBinaryOperatorAst; /** * @author Dmitry */ public class AssignAst extends BaseBinaryOperatorAst { public AssignAst(ExpressionParser expressionParser) { super(expres...
29.918919
192
0.68654
245f06c496d1033a967baac53b679c0754c72752
2,335
package com.jayqqaa12.im.gateway.protool.base; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import com.jayqqaa12.im.common.model.consts.Resp; import com.jayqqaa12.im.common.model.vo.TcpReqVO; import com.jayqqaa12.im.common.model.vo.TcpRespVO; import lombok.Data; import lombok.exte...
25.944444
84
0.656103
ea5213d418391c1dc17d17811e1588364c9a359e
1,457
package br.com.correios.webservice.rastro; import jakarta.xml.bind.annotation.XmlAccessType; import jakarta.xml.bind.annotation.XmlAccessorType; import jakarta.xml.bind.annotation.XmlElement; import jakarta.xml.bind.annotation.XmlType; /** * <p>Classe Java de RastroJsonResponse complex type. * * <p>O seguinte fr...
23.126984
100
0.625257
114115877cbd7f3a37084890e47c8cca6dbca604
3,252
package mage.cards.c; import java.util.UUID; import mage.abilities.Ability; import mage.abilities.TriggeredAbilityImpl; import mage.abilities.effects.common.AttachEffect; import mage.abilities.effects.common.counter.AddCountersTargetEffect; import mage.abilities.keyword.EnchantAbility; import mage.cards.CardImpl; imp...
32.52
115
0.708795
9f24dd72f8c2a7ba042a996ccf827ebdcba024df
1,539
package im.actor.core.api; /* * Generated by the Actor API Scheme generator. DO NOT EDIT! */ import im.actor.runtime.bser.*; import im.actor.runtime.collections.*; import static im.actor.runtime.bser.Utils.*; import im.actor.core.network.parser.*; import org.jetbrains.annotations.Nullable; import org.jet...
23.676923
66
0.60104
3557df046088b1f01a2410849b486d2110deb840
737
package binarysearch; import java.util.ArrayList; import java.util.List; public class RepeatedDeletion { public String solve(String s) { List<Character> stack = new ArrayList<>(); int i = 0; while (i < s.length()) { char c = s.charAt(i); if (!stack.isEmpt...
27.296296
72
0.451832
905f70b4cd78648e4eda9a302055dff5fcb82d28
5,485
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2021 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
36.812081
99
0.63701
c2c1148d1a1e742b8b9b92dcb386eec30a12f073
4,156
package com.franklin.sample.bankbase.atm.api; import com.franklin.sample.bankbase.atm.Application; import com.franklin.sample.bankbase.atm.model.ATM; import com.franklin.sample.bankbase.atm.repository.LocationRepository; import com.franklin.sample.bankbase.atm.service.ATMInfo; import com.google.common.collect.Immutabl...
47.770115
126
0.790664
c8ccfc5323f18d42b59b81d2d4aa86a3c226e085
195
/** * 单例模式 * * 定义: * --确保一个类只有一个实例,而且自行实例化,并向整个系统提供这个实例 * --Ensure a class has only one instance, and provide a global point of access to it */ package com.cowthan.pattern1.singleton;
24.375
86
0.687179
1f57eb5e73cc6ce9f1d29c4eedf95e139212275c
9,315
package com.chutneytesting.task.kafka; import static com.chutneytesting.task.spi.TaskExecutionResult.Status.Failure; import static com.chutneytesting.task.spi.TaskExecutionResult.Status.Success; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.ArgumentMatchers.any; import static org....
58.955696
227
0.727644
97cd3471d138ff2bdd906f21e8c959eb61cd1253
592
package com.dmall.search.service.impl.handler.mq; /** * 订单的步骤 */ public class OrderStep { private long orderId; private String desc; public long getOrderId() { return orderId; } public void setOrderId(long orderId) { this.orderId = orderId; } public String getDesc() { ...
17.939394
49
0.533784
9baecadce1eadfafab8e8a1500355583bec4bb8f
744
package de.sandstorm.junit.examples.customValidators; import java.io.UnsupportedEncodingException; /** * test entity containing a property which cannot be validated with {@link java.util.Objects#equals(Object, Object)} */ public class Utf8String { private static final String Encoding = "UTF-8"; private fi...
21.882353
116
0.658602
12336bc9951e4490745905701a65a31107ef45db
5,643
package com.simplelist; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import com.simplelist.Objects.Item; import java.sql.Timestamp; import java.util.ArrayList; /**...
42.11194
179
0.645756
cd64c21e7493d675ae3147bbb42fdfff89509839
4,455
package com.stripe.android; import android.app.Activity; import android.content.Intent; import com.stripe.android.model.PaymentIntentFixtures; import com.stripe.android.view.AuthActivityStarter; import com.stripe.android.view.StripeIntentResultExtras; import org.junit.Before; import org.junit.Test; import org.junit....
46.894737
92
0.751291
1728bfb98c1338bc1f4f8016a706a7373f79daa3
3,669
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.base.test.params; import static org.chromium.base.test.params.ParameterAnnotations.MethodParameter; import static org.chromium.base....
33.354545
92
0.675933
7fe39e07bcc1aaf2c69cb5bf6807fa24514cc484
2,056
package org.test; import com.alibaba.fastjson.JSON; import org.h819.commons.MyStringUtils; import org.h819.web.spring.jdbc.Order; import java.io.IOException; import java.util.List; /** * Description : TODO() * User: h819 * Date: 2017/8/14 * Time: 11:05 * To change this template use File | Settings | File Templa...
29.797101
107
0.618677
e84b89ec9bea4ab8ce49fe45a4cabdcbbae98269
595
package com.pj109.xkorey.share.di; import javax.inject.Scope; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * The FragmentScoped custom scoping annotation specifies that the lifespan of a dependency...
31.315789
94
0.801681
5b9132bb6782e8af3000f56a72b8e4022d7682e6
859
package com.bridgeit.Controller; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.htt...
26.030303
118
0.796275
f5ede1a70891536a7dda8d5c3a5fe5c9d93f60a5
280
package ch.uzh.ifi.hase.soprafs22.exceptions; public class PlayerNotFoundException extends Exception{ private final String token; public PlayerNotFoundException(String token) { this.token = token; } public String token() { return token; } }
20
55
0.689286
d0bd626cb3c21e1a4284585bc669fcfe3e200db1
694
/* Given two strings, base and remove, return a version of the base string where all instances of the remove string have been removed (not case sensitive). You may assume that the remove string is length 1 or more. Remove only non-overlapping instances, so with "xxx" removing "xx" leaves "x". withoutString("Hello ther...
36.526316
290
0.697406
6ac19d47ec487104798d6867446f3180a6693502
427
package ru.stqa.pft.sandbox; public class Point { private final double x; private final double y; public Point(double x, double y) { this.x = x; this.y = y; } public double distance(Point p2) { double dx = this.x - p2.x; // по формуле x2-x1 double dy = this.y - p2....
22.473684
74
0.571429
9929af19c83f00b538a9c8567f408960ee85763f
2,346
package ru.stqa.pft.mantis.tests; import org.openqa.selenium.By; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import ru.lanwen.verbalregex.VerbalExpression; import ru.stqa.pft.mantis.model.MailMessage; import ru.stqa.pft.mantis.appmanager.Ht...
36.092308
120
0.769821
f4ea96ae8a4ebd5ac2e179bd49293841dcdfd044
1,111
package com.vendomatica.vendroid.Fragment; /* This screen appears when the user press the images taken at the form. */ import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.graphics.BitmapFactory; import android.view.View; import android.widget.ImageView; im...
25.25
69
0.768677
f55f48c55be8c91c10e07f664b0306360b9c25a4
3,603
package com.cjrequena.sample; import com.cjrequena.sample.dto.BankAccountDTO; import com.cjrequena.sample.service.BankAccountCommandService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.sp...
50.746479
133
0.783236
98e08342158011ec46dbe56b4fa39d5581d955a6
386
/** * The <i>Abstract Factory</i> pattern is used to create a family of * related products (in contrast, the <i>Factory Method</i> pattern * creates one type of object). This pattern also defines an * interface for creating objects, but it lets subclasses decide * which to instantiate. * * @author Mincong Huang ...
35.090909
68
0.746114
baa353bc9c8a9d75cc51d3fe965b2e0f997cecc7
152
package com.wqp.domain; import org.springframework.stereotype.Component; @Component public class C { public C() { System.out.println("C.C"); } }
12.666667
48
0.710526
8373bca1a6ce4ced1084271eeaa26142324f7cc3
3,306
/* * #%L * BroadleafCommerce Profile * %% * Copyright (C) 2009 - 2013 Broadleaf Commerce * %% * 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...
29
102
0.666364
f15ee59aaa4297e92d070ff392afe57fbb6ea978
1,083
package org.janelia.model.access.dao.mongo.utils; import com.mongodb.MongoClient; import org.bson.codecs.configuration.CodecRegistries; import org.bson.codecs.configuration.CodecRegistry; import org.janelia.jacs2.cdi.ObjectMapperFactory; import org.janelia.model.jacs2.domain.enums.FileType; import org.janelia.model.se...
38.678571
94
0.680517
8470c9f1fb06d6d66f56f72a17025b6f88239070
12,664
package view; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.List; import java.awt.GridBagLayout; import java.awt.GridBagConstraints; import java.awt.Insets; import java.awt.GridLayout; import java.awt.Dimension; import javax.swing.border.TitledBorder; i...
30.08076
266
0.553222
794330c9d9922055fde0ff79503a3098f435f6b2
266
/* * Copyright Calvin Lee Since 2016. * All Rights Reserved. */ package org.calvin.Graph.Dijkstra; import lombok.Data; @Data public class Edge { private int t, cost; public Edge(int t, int cost) { this.t = t; this.cost = cost; } }
14
35
0.609023
86d6bf46e19bc465bfa74309eb7c3be70f9e124d
1,084
package org.robolectric.shadows; import static com.google.common.truth.Truth.assertThat; import static org.robolectric.Shadows.shadowOf; import android.app.IntentService; import android.content.Intent; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; @RunW...
30.971429
70
0.78321
d968123aa74841f9c0e85e84956f96d571a74e43
643
class Solution { public boolean XXX(TreeNode root) { if(root==null) return true; return XXX(root.left,root.right); } public boolean XXX(TreeNode root1,TreeNode root2){ if(root1==null && root2==null) return true; if(root1==null && root2!=null) return false; if(root1!=...
30.619048
139
0.611198
c2c74372069a3dfb16622a4238f5a457ad620649
4,657
/* * Copyright (C) 2016 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...
28.224242
86
0.62916
75f60361f34c06f29818135596fc083d41e6c858
1,604
package com.zsvg.vboot.module.ass.num.main; import com.zsvg.vboot.common.mvc.api.RestResult; import com.zsvg.vboot.common.mvc.dao.Sqler; import com.zsvg.vboot.common.util.lang.XstringUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; @RestController ...
26.733333
71
0.648379
a15d0f0f150e335667a08b3afc103d4ae15fdeb3
615
package com.jsky.core.ArraysAndStrings; /** * Question 1.1 IsUnique * Implement an algorithm to determine if a string has all unique characters. * What if you cannot use additional data structures? */ public class IsUnique { /** * * @param s, a string of values between A - 0... * @return boolean value ...
24.6
77
0.606504
8b292af1c4fc8f4772bbba1e1a043bdef4a63ba9
6,123
/* * The MIT License * * Copyright (c) 2011-2012, Manufacture Francaise des Pneumatiques Michelin, Daniel Petisme, Romain Seguy * Portions Copyright 2019 Lexmark * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Sof...
36.017647
127
0.715826
c5d1cbddef13ed9581bd2f93cdbbf081a28ccd15
3,797
/* * Copyright © 2010 www.myctu.cn. All rights reserved. */ package com.chinatelecom.myctu.upnsa.core.injection; import java.lang.reflect.*; import static java.lang.String.format; /** * Given a DependencyInjectingObjectFactory, injects dependencies into a class. */ public class DependencyInjector {...
43.147727
112
0.580985
d30f30891a232b356c4028a5ce91308399a3731c
122
public class Warning { public Warning() { // assertions are ignored at runtime assert false; } }
15.25
44
0.581967
3c277e0275212d140d2a6d3eb53a0187bd4f20c0
2,667
package kariminf.sentrep.ston; import java.util.regex.Pattern; public class StonBlocks { //Indentation character: it can be \t or 4 spaces or anything else public static final String INDENT = " "; // These are the characters to be ignored public static final String BL = "[\\t \\n\\r]+"; private static f...
26.67
88
0.659168
d3d0af908198ff4f07bb77a8ac605a786efe09ea
3,804
/** * 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...
29.71875
111
0.626446
2f0cca290739b7d9f39db1be146cb107f8126d7a
4,371
/* * Copyright 2017 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 applica...
30.78169
93
0.601464
74770eac5d19e26a9237501e4181253d5fa4805b
1,956
package org.frameworkset.security.session.impl; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import com.frameworkset.util.ValueObjectUtil; public class JVMSessionSerial extends BBossSession...
20.164948
68
0.638037
20e7be785e4d381c55ce80c218926812e7782f7c
19,291
/* * -\-\- * Spotify Styx Scheduler Service * -- * Copyright (C) 2017 Spotify AB * -- * 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-...
43.943052
115
0.715671
7f5c3ab8e789f605ea49052dcd30fb7f7ba0f9f6
3,430
package ca.uhn.fhir.example; import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.parser.IParser; import ca.uhn.fhir.rest.server.exceptions.UnprocessableEntityException; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databin...
33.960396
110
0.729738
4f957095ca6f3d12f6d57bc6f4a64dd8bbb1cd18
615
package com.test.list; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class CircleSingleLinkedTest { @Test void add() { CircleSingleLinked circleSingleLinked = new CircleSingleLinked(); circleSingleLinked.add(5); circleSingleLinked.list(); } ...
24.6
73
0.661789
81fe1b6db926c470eb8d452cb7d46f3301db6909
1,278
package com.niki.appbase.utils; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; /** * Created by Bob on 2018/3/16. */ public class MD5Util { /** * 对签名字符串进行MD5加密,生成16位的字符串 * @param source * @return */ public static String encryption16(Str...
26.625
66
0.498435
2286bf366b28dd05a17069c8de8053e635f4049f
6,389
package com.atjl.kafka.consumer; import com.atjl.util.common.CheckUtil; import com.atjl.util.queue.QueueManager; import com.atjl.kafka.core.KafkaConsumeContext; import com.atjl.kafka.core.thread.FetchDataMCThread; import com.atjl.kafka.core.thread.ProcessMCThread; import com.atjl.kafka.core.thread.TimingBatchEv...
33.626316
194
0.640945
4fb1188497cf3e1c61ab5701885a2e0e78f4902e
184
package com.fsck.k9.preferences; /** * Controls when to hide the subject in the notification area. */ public enum NotificationHideSubject { ALWAYS, WHEN_LOCKED, NEVER }
16.727273
62
0.711957
cac16295af0c6df872a1f4bd9e33b13adb3c925b
762
/* Sistema de Gestão de Pistas (C) 2016 Tecsidel Updated by wilson.souza (WR DevInfo) Description: */ package br.com.tk.mcs.Component; import android.content.Context; import android.widget.ListView; /** * Created by wilsonsouza on 3/2/17. */ public class CustomListView extends LinearVertical { ...
23.8125
120
0.469816
60a39b612c205b86a4a3f690c8db04e2bfe40571
5,871
/***************************************************************** * 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 yo...
35.155689
133
0.735479
ffe6076962884840b8d40cabe9a573528a25235f
471
package com.central.common.lock; import lombok.AllArgsConstructor; import lombok.Getter; /** * 锁对象抽象 * * @author zlt * @date 2020/7/28 * <p> * Blog: https://zlt2000.gitee.io * Github: https://github.com/zlt2000 */ @AllArgsConstructor public class ZLock implements AutoCloseable { @Getter private final ...
17.444444
45
0.685775
f96b0c71107cf1c4ac6c9a327e55eb9c49ec81af
586
package org.springframework.security.web.authentication.session; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; /** * Uses {@code HttpServletRequest.changeSessionId()} to protect against session fixation * attacks. This is the default implementation. * * @author Rob Winch * ...
26.636364
108
0.802048
deb5c9366380aca4c42406d1390b6749ab0d7a43
295
package obs.order; import java.rmi.RemoteException; import javax.ejb.EJBObject; import java.util.*; public interface Order extends EJBObject { public String addOrder(int userid, ArrayList items) throws RemoteException; public boolean cancelOrder(int ordid) throws RemoteException; }
21.071429
63
0.789831
74b2457eb1ba118e0e1dc90253b1614c069034f1
1,940
package net.sjava.appstore; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; import android.net.Uri; /** * Amazon Store class * * @author mcsong@gmail.com * @date Dec 10, 2014 2:04:02 PM * @version 1.0.0 */ public class AmazonStoreApp extends AppSt...
26.575342
96
0.700515
9c41146dcd62f7c0449ef7b74c1558003657b2c4
5,610
/* * 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 ...
40.071429
149
0.581462
0aa3a157167fd7466de8851d69509943a57a7884
5,295
/* * MIT License * * Copyright (c) 2018 CUTBOSS * * 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, ...
31.706587
96
0.599056
374c6570ef41a9701be13d07aa0f7cdc73601b65
17,495
package mk.ukim.finki.location.web.rest; import mk.ukim.finki.location.LocationApp; import mk.ukim.finki.location.domain.Place; import mk.ukim.finki.location.repository.PlaceRepository; import mk.ukim.finki.location.service.PlaceService; import mk.ukim.finki.location.web.rest.errors.ExceptionTranslator; import mk.uki...
37.950108
105
0.69397
15d781b72b3453edfba62b7b9026336ef58e5744
2,765
/* * 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.kie.container.services.endpoint.api; import org.kie.container.services.endpoint.exception.BusinessException; import java.u...
35
118
0.769982
da0ae7e162036926fdeb607ca42408267343a8a3
2,081
/** * */ package features.keyboard; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.Set; import java.util.TreeSet; import extractors.data.Answer; import extractors.data.DataNode; import extractors.data.Extractio...
28.902778
152
0.720327
b9fd4199baca51f2b1e95ce7fe01f2214f1f7e58
584
package com.grantburgess.creditprovider.provider1; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.math.BigDecimal; import java.util.List; @Data @Builder @NoArgsConstru...
25.391304
62
0.782534
0069737141ed6f1255329deff379a5f045ff6c68
7,325
/* * Copyright 2022 Kiritron's Space * * 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 agree...
36.083744
125
0.591126
02ea56ab261dfbb610488ee576e7253b2ac47c92
752
package util; /** * Exception to be thrown when an integer does not have an inverse. * * @author Ashkan Moatamed */ public class UndefinedInverseException extends ArithmeticException { /** * No dependencies. */ /** * Eclipse automatically generated serial version UID. */ private static ...
21.485714
92
0.667553
b0ba0d4b5e87433df9bb72fd7f91c3943a5fd50e
192
package org.xxpay.shop.module.service; import org.xxpay.shop.module.modle.Machine; public interface MachineService { Machine findByImei(String imei); void doSave(Machine terminal); }
24
43
0.776042
6bd5ead02d32af35f0291bde1b3e949cda6dfc1c
7,463
package main; import exceptions.InvalidFormatException; import exceptions.InvalidHashException; import exceptions.InvalidPublicKeyException; import org.json.simple.parser.ParseException; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.security.GeneralSecurityExceptio...
39.486772
153
0.553129
c3aea78a1498bc8dd84dfe7035ecea0a22471168
16,406
/* * Copyright (c) 2012-2014 Arne Schwabe * Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt */ package de.blinkt.openvpn.core; import android.annotation.SuppressLint; import android.content.Context; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; impor...
30.047619
155
0.677069
99eba89a38d3ec0e4d609f9f3acf2b2720597fd7
3,075
package com.goboomtown.sdk.swagger.model; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import com.goboomtown.sdk.swagger.model.Member; import com.goboomtown.sdk.swagger.model.MemberLocation; import com.goboomtown.sdk.swagger.model.MemberUser; import io.swagger.annotations.ApiModel; i...
25.204918
131
0.681951
1ce787db1f896c7021203b5d9d81f0ed7e9b7438
113
package nodebox.graphics; import java.awt.*; public interface Drawable { public void draw(Graphics2D g); }
14.125
35
0.734513
9c87863f4c50887e8f67807e04d3fe7ce02dfaef
451
package de.mickare.armortools.permission; import org.bukkit.Location; import org.bukkit.entity.ArmorStand; import org.bukkit.entity.Entity; import org.bukkit.entity.Player; public interface PermissionCheck { public boolean canModify(Player player, ArmorStand armorstand); default boolean canModify(Player player,...
23.736842
65
0.78714
a162155a16aba454aa988a6976acfa4667909b27
191
// // Decompiled by Procyon v0.5.36 // package org.codehaus.groovy.antlr; import groovyjarjarantlr.collections.AST; public interface AntlrASTProcessor { AST process(final AST p0); }
14.692308
41
0.743455
f4a990a2f738f132caa46cef78619f2188fb7db9
4,134
/* * The MIT License (MIT) * * Copyright (c) 2019 Code Technology Studio * * 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 ...
39
114
0.782777
c61c5c8c078de609fe3cc7a36e446c45e878e36e
843
package fr.lium.spkDiarization.parameter; /** * The Class ParameterModelSetInputFile2. */ public class ParameterModelSetInputFile2 extends ParameterModelSet implements Cloneable { /** * Instantiates a new parameter model set input file2. * * @param parameter the parameter */ public ParameterModelSetInput...
28.1
112
0.7414
989d307907a0d61d1e6c487be2b24d9c7a586f22
455
package com.toker.project.douyin.common.http; import lombok.Getter; import lombok.RequiredArgsConstructor; import java.io.File; /** * 文件类型的请求体 * * @author mdmbct mdmbct@outlook.com * @date 2021/3/11 14:28 * @modified mdmbct * @since 1.0 */ @Getter @RequiredArgsConstructor public class FileRequestBody { ...
14.677419
45
0.723077
8c398359bf44c331378949e22ca24043bcb0ba29
25,932
/* * (C) Copyright 2016 Nuxeo SA (http://nuxeo.com/) and others. * * 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 require...
39.231467
120
0.645882
0934845c19638825795cd5026d5c230a9b16c1be
2,676
package net.jgp.labs.spark.datasources.x.ds.exif; import org.apache.spark.sql.SQLContext; import org.apache.spark.sql.sources.BaseRelation; import org.apache.spark.sql.sources.RelationProvider; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import net.jgp.labs.spark.datasources.x.extlib.RecursiveExtensionFi...
35.68
105
0.560164
5aed9274dd857cfce18127f6416abfbf65ea5e4e
2,570
package com.debut.ellipsis.freehit.Matches.PastMatches; public class PastMatchCardItem { private String mMatchName; private String mMatchID; private String mSeriesName; private String mStadiumName; private String mTeam1LogoURL; private String mTeam1SN; private String mTeam1Innings1; ...
21.779661
303
0.666148
0bea0b1e767c9b66065ade1e9cb1b1f918d96671
327
package randomappsinc.com.sqlpractice.utils; import android.content.Context; import android.widget.Toast; import androidx.annotation.StringRes; public class ToastUtils { public static void showLongToast(Context context, @StringRes int resId) { Toast.makeText(context, resId, Toast.LENGTH_SHORT).show(); ...
23.357143
77
0.764526
4cd5ebd948f6799c4dd8309c18e684047ed43ae7
4,199
package org.telegram.telegrambots.meta.api.objects.replykeyboard; import com.fasterxml.jackson.annotation.JsonProperty; import org.telegram.telegrambots.meta.api.objects.replykeyboard.buttons.KeyboardRow; import org.telegram.telegrambots.meta.exceptions.TelegramApiValidationException; import java.util.ArrayList; imp...
33.862903
209
0.668969
c5bfa3bcb98ea81c2171b8a715e98c4b1e8f0cdf
297
/// This file was auto-generated by RegisterGenerator. Any changes to it will be overwritten! package io.treehopper.libraries.sensors.pressure.bmp280; enum Modes { Sleep (0), Forced (1), Normal (3); int val; Modes(int val) { this.val = val; } public int getVal() { return val; } }
19.8
93
0.683502
e35cc8a34fb79b2ebc20ee4c37ec5d07fcb803f4
2,226
/* * Copyright (c) 2009-2018, b3log.org & hacpai.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 b...
31.8
116
0.673854
5db3050fc74ba972dd6bc6ea31b9d45f3f8fe0ac
5,353
package cn.openwatch.internal.communication.os.google.china; import android.os.Binder; import android.os.Handler; import java.util.List; import cn.openwatch.communication.service.OpenWatchListenerService; import cn.openwatch.internal.communication.IServiceBinder; import cn.openwatch.internal.communication.event.Serv...
31.304094
120
0.639268
b0339ff5173c5780e05c15ba75332487d8829fde
2,737
/* * Copyright (c) 2014-2015 Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2019 Eclipse Krazo committers and contributors * * 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...
23.194915
77
0.649251
8110a5ced0af4ce9555ab70ec7ae82fc993506ba
1,895
/* * Copyright 2014 Frakbot (Francesco Pontillo, Sebastiano Poggi) * * 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 requi...
40.319149
99
0.719789
7ee0efb2cf0b212a59e4238b78ccd7532f7ac7b2
605
package ml.northwestwind.moreboots.init.item.boots; import ml.northwestwind.moreboots.handler.MoreBootsPacketHandler; import ml.northwestwind.moreboots.handler.packet.CShootDragonBallPacket; import ml.northwestwind.moreboots.init.ItemInit; import ml.northwestwind.moreboots.init.item.BootsItem; public class EnderDrago...
33.611111
83
0.795041
081238d7ecf2b9d77c018ae9588764987b5800dd
13,329
package com.simplicity.maged.mccobjectdetection.components.contextManager; import java.math.BigInteger; import java.util.List; import java.util.UUID; import com.simplicity.maged.mccobjectdetection.R; import com.simplicity.maged.mccobjectdetection.components.logger.SimplicityLogger; import android.content.ContentValu...
33.3225
97
0.718509
808bd4fc1698d18bc0a6d7acfdfd3af0ab8a2b57
186
package com.wangsong.system.service; import com.wangsong.common.service.BaseService; import com.wangsong.system.model.Dict; public interface DictService extends BaseService<Dict>{ }
20.666667
55
0.817204
7e1ba61049e1d86421bfb845494bfbfa247eaa12
182
package com.doublechain.flowable.formaction; import com.doublechain.flowable.BaseCandidateEntity; public class CandidateFormAction extends BaseCandidateEntity<FormAction>{ }
16.545455
73
0.835165
ee4b98ea8dc6452b5e13a9830b64de539dbbc6ea
597
package com.intellij.boot.modules.authentication.service; import com.baomidou.mybatisplus.extension.service.IService; import com.intellij.boot.entity.SysPlatform; /** * @author tian * @description 针对表【sys_platform】的数据库操作Service * @createDate 2021-12-24 10:31:57 */ public interface SysPlatformService extends IServ...
21.321429
67
0.683417
db1917908f2474cb9dfe6cb31ea3b8339abee3a2
2,239
package com.example.android.gbooksearch; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.GradientDrawable; import android.media.MediaPlayer; import android.support.v4.content.ContextCompat; import android.text.TextUtils; import androi...
31.097222
117
0.72845
a844097a72074a6ee5a9712e1bbe805eed59e4cd
4,349
package ng.prk.prkngandroid.ui.dialog; import android.app.Activity; import android.app.Dialog; import android.content.DialogInterface; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.app.DialogFragment; import android.view.LayoutInflater; import android.view.View; import ...
33.453846
99
0.645666
ffd5a4439e0c4a2c65e803a928847ba56d8b83e9
2,781
package com.google.cloud.training.flights; import java.text.DecimalFormat; import org.apache.beam.sdk.Pipeline; import org.apache.beam.sdk.io.TextIO; import org.apache.beam.sdk.io.gcp.bigquery.BigQueryIO; import org.apache.beam.sdk.transforms.DoFn; import org.apache.beam.sdk.transforms.ParDo; import org.apache.beam.s...
36.592105
101
0.665948
e9b01757e8e66b1946b95f6725871a455a8a64f0
1,670
package com.nik.base; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.Properties; /** * * @author Nikhil Nandyala * */ public class ConfigReader { private Properties properties; private final String propertyFilePath =...
21.973684
100
0.702994
b3a20180cc45a210910c52372b7bf360c7109b38
3,514
package cn.edu.hust.controller; import cn.edu.hust.domain.Product; import cn.edu.hust.domain.ShoppingItem; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRespon...
41.833333
120
0.695788
f8934cf3003009e599215085bed81902c5dfac60
7,399
package Controller.GameRelated; import Controller.AccountRelated.AccountController; import Controller.MainController; import Model.AccountRelated.Account; import Model.AccountRelated.Admin; import Model.AccountRelated.Gamer; import Model.GameRelated.BattleSea.BattleSea; import Model.GameRelated.Game; import Model.Game...
32.738938
218
0.728071
89feabe5d22ba0de195e93844f0c830a3bae7287
711
package com.navercorp.pinpoint.collector.dao.hbase.statistics; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; @Component public class MapLinkConfiguration { private final boolean enableAvg; private final boolean enableMax; public MapLinkConfigu...
28.44
100
0.691983