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
07fd1504148010244d93333e3ea87993a3e33a2f
901
package com.hzqing.common.core.rest.result; import com.fasterxml.jackson.annotation.JsonInclude; import lombok.Data; import java.io.Serializable; /** * 结果响应 * @author hzq */ @Data @JsonInclude(JsonInclude.Include.NON_NULL) public class RestResult<T> implements Serializable { private static final long serialV...
19.586957
70
0.651498
ae53bb21037e137871d79c3c34a3206c38226e05
226
package com.fairy.beans.ioc.pojo; import lombok.Data; import org.springframework.stereotype.Component; /** * @author :鹿@少年 * @date :Created in 2021/11/30 21:29 * @description: */ @Data @Component public class User { }
13.294118
48
0.70354
a54e0a04f9e76d586b46e33d61187f01c14fd24b
441
package com.zblumenf.spring.data.gremlin.conversion.source.writer; import com.zblumenf.spring.data.gremlin.conversion.source.GremlinSource; import org.springframework.lang.NonNull; import java.lang.reflect.Field; public abstract class AbstractPropertyWriter { protected static void setPropertyFromField(@NonNull ...
29.4
115
0.791383
4943fd799ff19983b21844a343d9f05be065b3e3
8,903
/*=========================================================================== Copyright (C) 2008-2011 by the Okapi Framework contributors ----------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of th...
30.7
124
0.679659
c57f5b0efd095b216fc88a0a9d186496c9431433
891
package presentation; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import service.ClientService; import service.ClientServiceImpl; public class ModifierClientServ...
30.724138
96
0.814815
e592c3bdda4812ea1b4b856c218c0cd1456807ee
878
package com.leetcode.algorithm.medium.topkfrequentwords; import java.util.*; class Solution { public List<String> topKFrequent(String[] words, int k) { HashMap<String, Integer> map = new HashMap<>(); for (String word: words) { map.put(word, map.getOrDefault(word, 0) + 1); } PriorityQueue<Stri...
23.72973
67
0.574032
a23f19e2d0a9bda980b56b4bd5967560718006cf
306
package com.iwa.iwatesting.network.task; import java.lang.reflect.Constructor; import java.util.concurrent.Future; public class CancelTask<T> { private Future<?> future; CancelTask(Future<T> future) { this.future = future; } void cancel () { future.cancel(true); } }
19.125
40
0.660131
d706e415c804427754cf6c3052780d25b21914d3
339
package com.tazine.design.decorator; /** * 装饰器 * * @author frank * @since 1.0.0 */ public class Decorator extends Component { protected Component component; public Decorator(Component component) { this.component = component; } @Override public void operation() { component.op...
15.409091
43
0.637168
e329b8eea7f4f8f7a7ba87138b0b1bd42745bb5a
7,985
/* * Copyright 2013 University of Chicago and Argonne National Laboratory * * 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 * * Unles...
33.834746
79
0.675391
a882d223b958a82dfda9423d25c4fc5b5def99dc
5,848
package com.stackroute.innovatormanagementservice.service; import com.stackroute.innovatormanagementservice.domain.Idea; import com.stackroute.innovatormanagementservice.domain.ServiceProvider; import com.stackroute.innovatormanagementservice.dto.IdeaDto; import com.stackroute.innovatormanagementservice.exception.Emai...
43.641791
182
0.688269
8e102c3ad5562b561127e47c85cee55673ef36f4
3,200
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
31.683168
110
0.662188
1ea213cff6e5d888f1ff8e92e07d7475b6035c7f
84
/** <p>Classes that provide networking functionality.</p> */ package io.auklet.net;
28
60
0.72619
8b39db19696724c644ef476b28c954ed5c9273af
1,692
package com.xinonix.hl7.fhir.stu3; import com.google.gson.annotations.Expose; /** * A collection of documents compiled for a purpose together with metadata that applies to the collection. */ public class DocumentManifestContent extends BackboneElement { @Expose private Attachment pAttachment; /** * Getter f...
38.454545
236
0.771277
a96d6901f844bc7a750fa7eb07e7bc5af17735b2
816
package com.softicar.sqml.ui.contentassist; import com.softicar.platform.common.code.java.JavaIdentifier; import com.softicar.platform.common.code.java.WordFragment; import java.util.ArrayList; import java.util.Collections; import java.util.List; class PossibleVariableNamesGenerator { private final List<WordFragmen...
27.2
74
0.769608
b8923b7d6ee5f91018a5952e674fa2df65073659
1,307
package minium.developer.web.version; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import minium.developer.utils.HttpClientUtils; public class GitHubRelease extends MiniumReleaseManager { protected static final String GITHUB_OWNER = "viltgroup"; pro...
32.675
117
0.715379
c86bb5103905141236b2a0da50a146c22150a2b7
1,326
package com.bazaarvoice.emodb.blob.db.astyanax; import com.bazaarvoice.emodb.common.cassandra.CassandraKeyspace; import com.bazaarvoice.emodb.table.db.astyanax.Placement; import com.netflix.astyanax.model.ColumnFamily; import com.netflix.astyanax.model.Composite; import java.nio.ByteBuffer; import static com.google....
27.625
79
0.711916
8cb98aab32a65f47dbf1bb74c91f69fb41ebd355
79
package Factory.FactoryMethod; public interface LipStick { void show(); }
13.166667
30
0.734177
a6c4a1a3635f669d291ec5d14a47abfabd186f6d
3,713
package fr.max2.annotated.processor.network.coder; import javax.lang.model.element.TypeElement; import javax.lang.model.type.DeclaredType; import javax.lang.model.type.TypeMirror; import fr.max2.annotated.api.processor.network.DataProperties; import fr.max2.annotated.processor.network.coder.handler.IHandlerProvider; ...
50.863014
185
0.784541
ff3e876160526d9a0c086ffe9a8bd68030cfbdc1
1,067
package com.github.syuchan1005.npmscriptrunner; import com.intellij.execution.lineMarker.ExecutorAction; import com.intellij.execution.lineMarker.RunLineMarkerContributor; import com.intellij.icons.AllIcons; import com.intellij.json.psi.JsonProperty; import com.intellij.psi.PsiElement; import org.jetbrains.annotations...
33.34375
95
0.750703
315ace0693b819c0a890e248c1d805351d4bbcb8
3,216
package com.solomatoff.mvc.model.store.memorystore; import com.solomatoff.mvc.controller.CommonTest; import com.solomatoff.mvc.controller.Controller; import com.solomatoff.mvc.entities.User; import com.solomatoff.mvc.model.PersistentDAO; import com.solomatoff.mvc.model.store.MemoryStore; import org.junit.Before; impor...
32.484848
129
0.625
618901a1511a590ee3ef58eb9c857759592edfd6
404
package com.codernauti.sweetie.pairing; interface PairingContract { interface View { void setPresenter(PairingContract.Presenter presenter); void showMessage(String message); void showLoadingProgress(); void hideLoadingProgress(); void startDashboardActivity(); } ...
22.444444
63
0.688119
b9b212906c4a5f1367d41e2291aeb18041de1e88
2,307
package org.patientview.builder; import org.apache.commons.lang.StringUtils; import org.hl7.fhir.instance.model.CodeableConcept; import org.hl7.fhir.instance.model.Procedure; import org.hl7.fhir.instance.model.ResourceReference; import org.patientview.config.utils.CommonUtils; import org.patientview.persistence.model....
35.492308
118
0.671868
35cb7c885a4cf7f0845b5f4b1b2a6ae1edb4ac38
11,186
/* * MIT Licence * Copyright (c) 2021 Simon Frankenberger * * Please see LICENCE.md for complete licence text. */ package eu.fraho.spring.securityJwt.memcache.service; import eu.fraho.spring.securityJwt.base.config.RefreshProperties; import eu.fraho.spring.securityJwt.base.dto.JwtUser; import eu.fraho.spring.secu...
40.824818
151
0.646791
992fb4d58dba9de22a5ecaa50d7d77b24e181c7f
3,660
package com.tc.controller; import com.alibaba.fastjson.JSON; import com.tc.domain.Problem; import com.tc.service.ProblemService; import com.tc.utils.Result; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.beans.factory.annotation.Autowired; import org.spr...
43.571429
117
0.691803
d1ff802d65efc03e05608c8cb294b22d416c9e84
3,002
package Chapter12.exercise17; import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.Scanner; public class Hangman { public static void main(String[] args) throws FileNotFoundException { game(); } public static void game() throws FileNotFoundException{ Fil...
20.147651
86
0.651566
6c10009d392f3fbb9b8a6ab4ee249424d3bb5add
2,967
/* * Copyright (C) 2017 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...
34.5
99
0.665319
8368e54fa056017d8fb93d6cfd2bfbe0e2b1d21a
2,908
/* * Copyright (c) 2017 - 2018 - Frank Hossfeld * * 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 o...
31.956044
90
0.720426
482a9411b3c0a696bcd49af4f9b92ea49eced817
2,957
/** * Copyright (C) 2017+ furplag (https://github.com/furplag) * * 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...
38.402597
220
0.743659
9c596c04934016eade50c2836de8beb93caea7ca
1,827
/* * Copyright 2018 Jobsz(zhucongqi.cn) * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
35.134615
124
0.773946
0cbfc586e947358c3b618942fcbba24f46dd3fa0
926
package com.defano.hypertalk.ast.expressions.functions; import com.defano.hypertalk.ast.expressions.Expression; import com.defano.hypertalk.ast.model.Value; import com.defano.hypertalk.exception.HtException; import com.defano.wyldcard.WyldCard; import com.defano.wyldcard.parts.stack.StackPart; import com.defano.wyldca...
30.866667
83
0.75054
af4bba989ce32687756adaca5140f01c5a33dc7e
992
package com.olacabs.jackhammer.models; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; import java.io.Serializable; import java.sql.Timestamp; import lombok.Getter; import lombok.Setter; @Getter @Setter @JsonInclude(value=Include.NON_NULL) public cl...
23.619048
60
0.758065
d27f8b8769550eb1e606080ef6a05c783b53195d
733
package com.naosim.someapp.infra.api.lib; import java.util.ArrayList; import java.util.List; import java.util.Optional; import java.util.function.Supplier; public final class AnyTryCatcher { private final List<Exception> exceptionList = new ArrayList<>(); public void run(Runnable r) { try { ...
23.645161
68
0.592087
b687c82f1756d44e1f491cd224a25755f6681025
3,750
/* * 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 de.quadrillenschule.azocamsyncd.astromode_old; import de.quadrillenschule.azocamsyncd.GlobalProperties; import java.io...
25
107
0.598667
feb79f23d80b3f3345119244066a23fae9cc2d40
615
// naive solution public class Solution { public String convert(String s, int nRows) { StringBuffer[] sbs = new StringBuffer[nRows]; for (int i = 0; i < nRows; i++) sbs[i] = new StringBuffer(); int i = 0, n = s.length(); while (i < n) { for (int j = 0; j < nRo...
34.166667
61
0.442276
626ac84394d801374cd299fc3707f71a528918de
125
package com.thedeanda.ajaxproxy.ui.util; public interface Reorderable { public void reorder(int fromIndex, int toIndex); }
20.833333
49
0.792
00cc8e035e9ef37b2129b6f6d882f96f422977bf
23,323
/** * This code was auto-generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.resources.commerce.catalog.admin; import com.mozu.api.ApiContext; import java.util.List; import java.util.ArrayLis...
58.017413
281
0.780517
6053c5063cc1d7df856d6865ae4c07c7615620d2
3,004
package com.github.mybatis; import java.sql.SQLException; import java.text.SimpleDateFormat; import java.util.Date; import com.github.mybatis.entity.BasisInfo; import com.github.mybatis.util.EntityInfoUtil; import com.github.mybatis.util.Generator; import com.github.mybatis.util.MySqlToJavaUtil; import lombok.extern....
39.012987
179
0.747004
1a1b1f98f2d50f55ccaacdccb3f998cfb6d9f1f6
697
package org.consensusj.bitcoin.proxy.jsonrpc; import io.micronaut.http.HttpResponse; import org.consensusj.jsonrpc.JsonRpcRequest; import org.reactivestreams.Publisher; /** * Interface for proxying JSON-RPC requests using Reactive Streams {@link Publisher} * and Micronaut {link @HttpResponse} types. */ public inte...
29.041667
84
0.747489
7a66246a4712cfc66d2fa553ba6c27f29fb47dd0
3,656
/*--------------------------------------------------------------------- * Copyright (c) 2021 Veeva Systems Inc. All Rights Reserved. * This code is based on pre-existing content developed and * owned by Veeva Systems Inc. and may only be used in connection * with the deliverable with which it was provided to Customer....
35.153846
92
0.74453
e5607512fcff75789f4c3a24362177c4b39847b4
659
class Solution { public List<List<Integer>> XXX(int[] nums) { if(nums.length<3){ return new ArrayList(); } List<Integer> temp=new ArrayList<>(); dfs(nums,temp,0); return res; } public List<List<Integer>> res=new ArrayList<>(); public void dfs(int [] ...
25.346154
67
0.500759
ef248f6595ed465dbda4bb378c3fab0c97d6b99b
372
package com.zbiljic.failure; import com.zbiljic.failure.http.HttpStatus; /** * @author Nemanja Zbiljic */ final class GenericFailures { static FailureBuilder create(final String service, final HttpStatus status) { return Failure.builder(service) .withTitle(status.getReasonPhrase()) .withStatu...
20.666667
79
0.706989
ccb00d96261524b83a421f487046b1d4abbf9b2d
18,672
package me.gopro336.zenith.feature.toggleable.render; import me.gopro336.zenith.feature.AnnotationHelper; import me.gopro336.zenith.feature.Category; import me.gopro336.zenith.feature.Feature; import me.gopro336.zenith.property.NumberProperty; import me.gopro336.zenith.property.Property; import net.minecraft.client.Mi...
46.447761
253
0.644066
a400188ba51c1e791649781a92f77d830f7159ad
217
package org.javault; /** * Internal exception for feedback to the client code */ public class VaultRunException extends Exception { public VaultRunException(String message, Throwable t){ super(message, t); } }
19.727273
55
0.751152
0676a187aa44849e4bcb2ee940672097acf017f1
821
package cc.ntechnologies.service; import cc.ntechnologies.dao.RoomDao; import cc.ntechnologies.entities.Room; import org.springframework.stereotype.Service; import javax.inject.Inject; import java.io.Serializable; import java.util.List; @Service public class RoomService implements Serializable { private static ...
21.051282
55
0.695493
1a1108b78833eee0d945608546bb8f0d8ce8b331
955
package def; public class Book { public int id = 0; public String title = ""; public String author = ""; public int year = 2020; public int pages = 0; public boolean borrow = false; public int by = 0; public int getId() { return id; } public void setId(int id) { this.id = id; } public String ge...
13.450704
40
0.633508
afd6428f1991ff9e04bc747530aebbc27ea64e9d
4,457
package au.edu.ardc.registry.igsn.validator; import au.edu.ardc.registry.common.model.User; import au.edu.ardc.registry.common.service.IdentifierService; import au.edu.ardc.registry.common.service.SchemaService; import au.edu.ardc.registry.common.service.ValidationService; import au.edu.ardc.registry.common.service.Ve...
44.128713
109
0.801885
71e23a99b176999af9e6a0233d850299120ad8c4
5,676
package org.apache.lucene.search; /** * 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, Vers...
32.62069
92
0.700317
a1a15d6ff9b9ab352d0477006229ceffe16f8915
377
package com.py.py.dto.in; import com.py.py.dto.DTO; public class SubmitMessageDTO extends DTO { /** * */ private static final long serialVersionUID = -7474746101112271197L; private String message = null; public SubmitMessageDTO() { } public String getMessage() { return message; } public void setMe...
15.08
68
0.702918
66a03719e98c2f01ffc356c7f0b24f0a18ab22ac
846
package com.smockin.admin.persistence.migration.version; import com.smockin.admin.persistence.dao.MigrationDAO; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; /** * Created by gallina. */ @Component public class MigrationPatch_200 implements Migration...
23.5
103
0.684397
9081326f7abe79bed382704e3be66ed517627cfd
1,336
package integration; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static com.codeborne.selenide.Condition.attribute; import static com.codeborne.selenide.Condition.visible; import static com.codeborne.selenide.Selectors.byText; import stati...
31.069767
78
0.75524
48b3dd7c89789efcd01ec2402bad927b1b60465b
1,195
package algoritmocyk; import java.util.ArrayList; public class Geradores { private ArrayList<String> listaGeradores; public Geradores() { super(); this.listaGeradores = new ArrayList<>(); } public void adicionarGeradores(String gerador){ if (!this.listaGeradores.contains...
24.387755
63
0.54477
021954bc793781ccaedb2e8101cc69b6a60935e3
631
package daggerok.domain.data; import com.querydsl.core.types.Predicate; import lombok.val; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.querydsl.QueryDslPredicateExecutor; import org.springframework.stereotype.Repository; import java.util.stream.Stream; import java.uti...
31.55
106
0.816165
1c3e03c3da9379a7a51a0a289be41ce2ca642049
5,888
/* * The MIT License * * Copyright (c) 2020 Iurii Shugalii * * 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.516779
106
0.634001
7e6d6993bea34d689b3bdc1c71bc12be171a749a
128
package telran.tests.perfomance; public interface JoinStringsInterface { String join(String[] strings, String delimiter) ; }
18.285714
50
0.789063
b890d260d596739713a3bb30d5e8b4a50f7804ec
679
package io.github.ggface.api.utils; import android.support.annotation.NonNull; import android.support.annotation.Nullable; /** * Класс для работы со строками. * * @author Ivan Novikov on 2018-07-31. */ public final class StringUtils { private StringUtils() { } /** * Возвращает не-{@code null}-с...
22.633333
76
0.63623
348fb1cf1095a0df4f29dae01c2140d6ac8b0d92
37,257
/* * Copyright (c) 2017, 2018 Oracle and/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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
32.397391
154
0.64294
50c09805d911866613ed2aa35e6c7169ac0a5763
1,201
package com.qidao.qidao.server.server.domain; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import org.springframework.format.annotation.DateTimeFormat; import java.time.LocalDateTime; @Data @Builder @...
14.297619
60
0.590341
1c34b5a45fb37dd312554aad64a17b808c0bcb7f
3,208
/* * 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...
50.920635
108
0.767456
2eeb6ec0c2d70dbbb2f995bdcaed56938cc8186a
250
package com.example.habitapp.enums; /** * This is the enum for the types of goals that a user can give to a habit. * * @author Maximilian Ta * @version 0.1 */ public enum Goal { DAILY_STREAK, WEEKLY_STREAK, MONTHLY_STREAK, AMOUNT, NONE; }
19.230769
75
0.7
769f0f1b4b843a8d0a92f1522af00e1ba5b20cbb
1,807
package org.zalando.baigan.s3; import com.amazonaws.services.kms.AWSKMS; import com.amazonaws.services.kms.model.DecryptRequest; import com.amazonaws.services.kms.model.DecryptResult; import org.junit.jupiter.api.Test; import java.util.Base64; import static org.junit.jupiter.api.Assertions.assertEquals; import static...
38.446809
110
0.718318
3ad93c6b8994c23fd5005b56743258f0a8e87159
1,252
/******************************************************************************* * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
29.809524
80
0.640575
2f28a1d41eeb68625ee54fad5d77eb0918b557e6
1,575
package ch.bernmobil.vibe.shared; import org.junit.Assert; import java.sql.Timestamp; public class TestHelper { private final MockProvider.QueryCollector queryCollector; public TestHelper(MockProvider.QueryCollector queryCollector) { this.queryCollector = queryCollector; } void assertBindin...
38.414634
111
0.646349
7a6d7f5eb71b01c4ee43e369644c2e8d4fd9b21b
276
package com.bizzan.bitrade.model.screen; import lombok.Data; @Data public class ExchangeTradeScreen { private String buyerUsername ; private String sellerUsername ; private String buyOrderId ; private String sellOrderId ; private String symbol ; }
14.526316
40
0.735507
a8fd429e04cb5657e751b0695de4232c3533e611
638
package top.chenqwwq.leetcode.biweek._62._3; /** * @author: chenqwwq * @date: 2021/10/4 9:50 下午 **/ public class Solution { public int maxConsecutiveAnswers(String answerKey, int k) { // 滑动窗口 if (answerKey == null || answerKey.length() == 0) { return 0; } final int n = answerKey.length(); int ans = 1;...
18.228571
60
0.529781
0ebbf9b5d991a3c08666226d897f5c7821537743
337
package org.springframework.cloud.sleuth.zipkin; /** * Contract for reporting Zipkin spans to Zipkin. * * @author Adrian Cole * @since 1.0.0 */ public interface ZipkinSpanReporter { /** * Receives completed spans from {@link ZipkinSpanListener} and submits them to a Zipkin * collector. */ void report(zipk...
21.0625
89
0.718101
9e06a27c3b8607486295862185fbad41b977279b
529
package com.skyrimmarket.backend.model; import lombok.*; import javax.persistence.*; import static javax.persistence.GenerationType.IDENTITY; @Data @NoArgsConstructor @AllArgsConstructor @RequiredArgsConstructor @EqualsAndHashCode(onlyExplicitlyIncluded = true) @Builder @Entity @Table(name = "order_status") public ...
19.592593
56
0.758034
0611cce59a5ca0599b8b4f39d954a886ff507da3
398
package edu.ksu.cs.malicious; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; public class MalOutgoingCallReceiver extends BroadcastReceiver { public MalOutgoingCallReceiver() { } @Override public void onReceive(Context context, Intent intent) ...
22.111111
64
0.736181
30e26557009f188ebd037e98b331a8f2f99b7078
621
package org.polyglotted.crypto.digest; import static org.junit.Assert.assertEquals; import static org.polyglotted.crypto.TestUtils.asStream; import org.junit.Test; public class Sha1DigestTest { @Test public void testCreateInputStream() { String checksum = new Sha1Digest().create(asStream("files/plai...
28.227273
91
0.732689
7d2ec87b4143bcecd5dc7c27cb28d39daa65b456
8,593
/** * Copyright Vitalii Rudenskyi (vrudenskyi@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
43.180905
170
0.72047
6c061e9cacd8a741a2c80dd4191d0d16c7827403
2,022
package game; import java.awt.Dimension; import java.awt.Rectangle; import java.awt.Toolkit; import java.util.ArrayList; import javax.swing.JFrame; import game.controllers.BoardGameController; import game.controllers.MainWindowController; public final class GameInstance extends JFrame { private static GameInstan...
25.275
94
0.6909
089d966cd37ed6652fd943a2f6080a8ca4612dcf
71,398
/* * Copyright 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 ...
38.635281
100
0.654612
bb5f16b5be624e3447ba5a9f8f26c2b8b9c702c6
156
package io.leopard.web.mvc.json; /** * 图片地址转换器 * * @author 谭海潮 * */ public interface ImageUrlConverter { String convert(String uri); }
12
37
0.615385
6722d584f09cb3ead9448c98a72fcedc13c50a5a
728
package com.dataflow.demo.templates.util; public class FileUtil { private FileUtil() { throw new IllegalStateException("Utility class"); } public static String getFileName(String fileNameUrl) { return fileNameUrl.substring(fileNameUrl.lastIndexOf("/") + 1); } public static String ...
28
82
0.614011
443ee2524d752129534e867057c3ab697a03043c
5,203
/* * Copyright (c) 2019-2021 TagnumElite * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, pu...
43
160
0.721891
99e5b06fae40581f9e45a9e79f09a5a8c414c368
1,255
package aQute.service.reporter; import java.util.*; /** * A base interface to represent the state of a work in progress. */ public interface Report { /** * Defines a record for the location of an error/warning */ class Location { public String message; public int line; public String file; public Stri...
23.240741
77
0.697211
971cbd0498f562d265baf2c59e7502cdec89bb4f
1,477
package softuni.OOP.encapsulation.PizzaCalories; import java.util.ArrayList; import java.util.List; public class Pizza { private String name; private Dough dough; private List<Topping> toppings; public Pizza (String name, int numberOfToppings) { this.setName (name); this.setToppi...
24.213115
121
0.614083
e7449ccf04e4fd89058ed13871740de6f3da5df2
376
package org.squiddev.plethora.core.wrapper; final class BadWrapperException extends RuntimeException { public static final BadWrapperException INSTANCE = new BadWrapperException("Error generating method wrapper"); private static final long serialVersionUID = -1429222867771289808L; private BadWrapperException(Stri...
31.333333
111
0.81117
c4f8d880532fdc60a8aa4a34edffc2d2ad683dd2
7,137
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
36.6
195
0.649152
5245eb1f11a56581d8f5ca14c8e0c337360b3f8e
2,745
/******************************************************************************* * Copyright (c) Open Connectivity Foundation (OCF), AllJoyn Open Source * Project (AJOSP) Contributors and others. * * SPDX-License-Identifier: Apache-2.0 * * All rights reserved. This program and the ...
38.661972
90
0.664845
37796593cf4a0a520ddee5fa69df6facb214ddf0
1,616
/* ### * IP: GHIDRA * * 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 writin...
33.666667
83
0.767327
5e6b3d777c215664d1cb5292b9a122cc690f58e2
1,635
/* * 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 * distribu...
29.727273
87
0.643425
3e0a31407be836cc60cc1b76f45969a6aa71e5aa
1,657
package pl.karoldabrowski.newsapp; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; imp...
33.14
94
0.697043
987e06cbdd7a988b73723c9ba948a0a899a6b749
6,538
/** * Copyright (c) 2011, The University of Southampton and the individual contributors. * 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 ...
28.30303
85
0.666106
aa81b3df0af530e554c06c84a2ea9ea3fcd13feb
124
public class MyClass extends SomeOtherClass { public void someMethod(String x) { System.out.println(x); } }
20.666667
45
0.669355
5bdf366bdbadd3e9b4103cac52ed6d9e56e5d971
149
package com.android.cglib.proxy; import java.lang.reflect.Method; public interface MethodFilter { boolean filter(Method method, String str); }
18.625
46
0.771812
7f875012e0e39a4d7e470651dd04b2bb53280079
14,214
/** * Copyright 2016 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
39.157025
136
0.679682
4764fedea04963e298d66b1027afe4ba37a5aee2
391
/* Generated by AN DISI Unibo */ package it.unibo.reqconsole; import it.unibo.qactors.QActorContext; import it.unibo.is.interfaces.IOutputEnvView; import it.unibo.qactors.akka.QActorMsgQueue; public class MsgHandle_Reqconsole extends QActorMsgQueue{ public MsgHandle_Reqconsole(String actorId, QActorContext myCtx, IO...
32.583333
96
0.808184
142069cc7f52c8e6f35769bfd129671475407688
2,157
package com.jzy.game.cluster.server; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.jzy.game.cluster.AppCluster; import com.jzy.game.engine.mina.config.MinaServerConfig; import com.jzy.game.engine.script.ScriptManager; import com.jzy.game.engine.thread.ThreadPoolExecutorConfig; import com....
32.19403
113
0.765415
31bb6f16b2b520d8a3f48203b596b2f72caa8440
2,338
/* * Copyright (c) 2012, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
27.186047
79
0.543627
0fc2487944afc9454a2826151e8b1bcba55d9bfb
2,157
/***************************************************************** * 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...
37.189655
69
0.633287
b6cdae099fb0dc2507a86f4664cfd037703b3a9d
2,707
package com.smart.sso.server.session.redis; import java.util.Set; import java.util.concurrent.TimeUnit; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.sp...
29.423913
101
0.768748
9e35786dbe9b3666125e617a44bb004b2e120bb1
770
package com.stocks_analyzer.commons.util; import org.slf4j.LoggerFactory; import ch.qos.logback.classic.Logger; /** * Class関する付属情報を提供します。 * * @author chotto-martini * @since 1.0.0 */ public class ClassUtils { /** Logger定義 */ private static Logger LOGGER = (Logger) LoggerFactory.getLogger(ClassUtils.class.get...
19.25
93
0.692208
c717de39a60cecca26fa0d54429f86652f7ae825
2,284
/* * Copyright 2015-2018 Micro Focus International plc. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ package com.hp.autonomy.hod.sso; import com.hp.autonomy.hod.client.api.authentication.AuthenticationToken; import com.hp.autonomy.hod.client....
31.722222
118
0.704466
2279317c3d1d014f9aa898bf39050da6fd195e2a
1,998
// Template Source: Enum.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -------------------------------------------------...
18
152
0.527528
2f68fe5de2a453aba6d4601cfa71f3ce83bf8b67
2,041
package com.udma.core.tools.lang; import java.security.MessageDigest; import java.util.Map; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.springframework.util.CollectionUtils; public class StringUtil { private static MessageDigest digest = null; private StringUt...
27.958904
100
0.612935
2acff4c0ee191fd6ce2c9da646044b1e66be43b3
82
package org.locationtech.geomesa.plugin.wps; public interface GeomesaProcess { }
16.4
44
0.817073
3c9f9e09c107ac9b4cd0447ad5f217e7689ff105
5,411
package beans; import java.io.Serializable; import java.sql.Timestamp; import java.util.*; import javax.faces.bean.ManagedBean; import javax.faces.bean.SessionScoped; import database.DBClinReason; import database.DBEditing; import util.CRTLogger; import beans.scripts.*; import beans.user.User; import controller.Ajax...
34.464968
110
0.760673
1e42b147dc21f5a7725d72180079ccace5cd02bb
19,144
/* * Copyright (C) 2013 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
41.258621
101
0.634141
209707e3a0d3daa12dedd47da707d09a712d1fda
206
package msifeed.misca.charstate; import net.minecraft.util.ResourceLocation; public class ItemEffectInfo { public ResourceLocation effect; public int duration = 0; public int amplifier = 0; }
20.6
43
0.757282
7bda8e2c4187e4e84026277ea4937aefc66e2ba0
628
package com.apigee.messagee; import android.app.Activity; import android.os.Bundle; /* This class is a convenience class that will automatically initialize our Apigee client * if it's not already been called. It should be extended by all Activities in the application. */ public class ApigeeActivity extends Activit...
28.545455
95
0.773885